2005-10-25 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 0.9. ---------------------------------------------------------------- 2005-10-24 Alexandre Julliard * AUTHORS: Updated the authors list. * dlls/commdlg/cdlg_Cs.rc: Michal Suchanek Make Czech font selection dialog usable. * dlls/winsock/socket.c: Eric Pouech Made accept thread safe(r). * dlls/x11drv/mouse.c: Vitaliy Margolen Fix bad mouse lag in games that do their own mouse warping. * dlls/winspool/info.c: Robert Lunnon Rename queue_t to jobqueue_t to avoid collision with library symbol queue_t. * dlls/winmm/wineesd/audio.c: Robert Lunnon Added header errno.h. * tools/winebuild/utils.c: Robert Lunnon Remove SVR4 specific pseudo-ops. * tools/winebuild/import.c: Simon Richter Fix winebuild's ppc assembly generation. 2005-10-21 Alexandre Julliard * dlls/msvcrt/exit.c: _cexit should call the atexit functions. * dlls/comctl32/listview.c: Troy Rollo Detect when the notification callback has destroyed the ListView to avoid attempts to access data that is no longer valid. * dlls/comctl32/tests/.cvsignore, dlls/comctl32/tests/Makefile.in, dlls/comctl32/tests/toolbar.c, dlls/comctl32/toolbar.c: Krzysztof Foltman Separators with group style set don't separate toolbar radio groups anymore (which broke tool selection in Front Panel Designer). * dlls/user/winproc.c: Richard Cohen Handle NULL string lparam when translating messages A->W. 2005-10-20 Alexandre Julliard * dlls/shdocvw/shdocvw_main.c: Fixed a handle leak. * dlls/shdocvw/shdocvw_main.c: Vincent Béron Allow file:/// protocol to be used to download the Mozilla ActiveX control. * programs/winecfg/drive.c, programs/winecfg/driveui.c: Added "autodetect" drive type option. * dlls/msvcrt/tests/cpp.c, dlls/msvcrt/undname.c: Vijay Kiran Kamuju Fix msvcrt symbol demangling for non MS symbols. * dlls/shdocvw/shdocvw_main.c: Vincent Béron Remove tempfile used to download Mozilla ActiveX control once it's not used anymore. * programs/winecfg/driveui.c: Enable the apply button when changing drive type. * programs/winecfg/drive.c: Always set the drive type even if nothing else changed. * dlls/user/defdlg.c: Vitaliy Margolen Restore focus to the current control without selecting text. * dlls/kernel/tests/drive.c, dlls/kernel/volume.c: Rein Klazes In GetDiskFreeSpace: - only cap the total size and available size to 2GB in Win3.x thru WinME; - in that case adjust number of clusters to be less then 65536 by increasing the cluster size; - add corresponding tests. * dlls/wininet/internet.h, dlls/wininet/netconnection.c: Aric Stewart Move the peek_msg buffers for SSL connections into the WININET_CONNECTION structure to prevent 2 threads from clobbering each other's buffers. * dlls/oleaut32/usrmarshal.c: Huw Davies Proxies and stubs for GetTypeInfoCont, GetLibAttr and ReleaseLibAttr. 2005-10-19 Alexandre Julliard * dlls/riched20/editor.c: Krzysztof Foltman - Bugfix in EM_GETTEXTEX - Additional traces helpful in diagnosing similar (text retrieval-related) bugs. * programs/winecfg/driveui.c: Vitaliy Margolen Use correct notification for drive selection change. * dlls/dsound/buffer.c, dlls/dsound/dsound.c, dlls/dsound/dsound_private.h: Robert Reif Change secondary buffer variable name to secondary. Fix AddRef and Release to use proper class. * dlls/comctl32/theming.c: Don't register classes is no theme is active to avoid trouble (based on a patch by Vitaliy Margolen). * tools/wine.inf: Jonathan Ernst Use WineHQ's mirror selection script to get the Mozilla ActiveX Control. * dlls/wininet/http.c: Mike McCormack Set the http port before figuring out whether we're using a proxy. * dlls/oleaut32/tmarshal.c: Pierre d'Herbemont Allow compilation on non-i386. * dlls/user/tests/msg.c: Vitaliy Margolen Fix a number of tests failing on windows. * AUTHORS: Marcus Meissner Added more developers/translators. * dlls/user/button.c: Markus Gömmel Misplacement of checkboxes with empty label fixed. * dlls/mshtml/nsembed.c: Jacek Caban Try using mozctlx's path if there is no registered Mozilla directory. * dlls/user/winproc.c: Krzysztof Foltman Fix CB_GETLBTEXT ANSI-Unicode calls when return value is an error code. * dlls/wininet/http.c: Aric Stewart Use debugstr_a to prevent a buffer overflow when debugging. * dlls/gdi/metafile.c, dlls/gdi/tests/metafile.c: Dmitry Timoshkov Add a test for SetMetaFileBitsEx, make it pass under Wine. 2005-10-18 Alexandre Julliard * dlls/ntdll/path.c: James Hawkins Set the file_part for \\?\ long file names too. * dlls/shell32/shell.c, dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c: Dmitry Timoshkov Use appropriate DDE APIs (ANSI or unicode) for ShellExecuteA/W, Excel 2000 depends on that. * dlls/kernel/module.c, dlls/kernel/tests/module.c: Vitaliy Margolen LoadLibrary should ignore trailing spaces in the library name. * dlls/oleaut32/usrmarshal.c: Huw Davies Implement GetContainingTypelib_{Proxy,Stub}. * dlls/oleaut32/typelib.c: Huw Davies When a dispinterface isn't dual, we should return TYPE_E_ELEMENTNOTFOUND when trying to get index -1. * programs/winecfg/driveui.c: Ivan Leo Puoti Make drive type an advanced option. * dlls/user/edit.c: Vitaliy Margolen Return 0 length line as 0 length line for EM_GETLINE. * dlls/version/tests/info.c: Paul Vriens Wine's behavior is correct now. * include/wine/debug.h, libs/wine/debug.c, libs/wine/wine.def, libs/wine/wine.map: Added a __wine_dbg_set_channel_flags function to allow changing flags from inside the code. * dlls/user/message.c, dlls/user/msg16.c, dlls/user/tests/msg.c, dlls/user/winproc.c, dlls/user/winproc.h: Frank Richter When doing A->W WM_GETTEXTLENGTH, use WM_GETTEXT behind the scenes to obtain an exact length. * dlls/kernel/file.c, dlls/kernel/tests/file.c: Revert previous change, OF_EXIST really returns HFILE_ERROR. * tools/winedump/lnk.c: Mike McCormack Make sure the component string is nul terminated. * dlls/shell32/shelllink.c: Mike McCormack Use ShellLink_QueryInterface to return the right interface in IShellLink_Constructor. * programs/winecfg/x11drvdlg.c: Rein Klazes Show desktop mode disabled if the Desktop registry value exists but starts with N,n,F,f or 0. This agrees with the logic in x11drv. * dlls/gdi/metafile.c, dlls/gdi/tests/metafile.c: Dmitry Timoshkov Add a test for CopyMetaFile, make it pass under Wine. * dlls/atl/atl_main.c, dlls/atl/atlbase.h, tools/winapi/win32.api: Vincent Béron Correct AtlModuleAddTermFunc prototype. 2005-10-17 Alexandre Julliard * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/duplex.c, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c: Robert Reif Include winuser.h so the code compiles cleanly on windows using windows headers. * dlls/kernel/time.c: Uwe Bonnes Remove unspecific FIXME. * dlls/user/tests/msg.c: Vitaliy Margolen Fix one test failing on all windows versions. * dlls/kernel/locale.c: Ignore empty environment strings. * programs/winecfg/appdefaults.c: Vitaliy Margolen Remove "Automatically detect windows version". Default to win2k. * dlls/ddraw/ddraw_user.c: Christian Costa Enumerate only requested modes by taking into account surface desc when present. * dlls/msvideo/msvideo_main.c: Christian Costa Fix installable driver removal. * dlls/shell32/brsfolder.c: Aric Stewart MSDN states that the pszDisplayName member of BROWSEINFO is assumed to be MAX_PATH in length. So when doing the A->W conversion in BrowseForFolderA do not set that member to be the size of the incoming string, instead make it MAX_PATH. * dlls/winedos/int21.c: Eric Pouech ioctl 440F only returns non mapped drives (for now). 2005-10-13 Alexandre Julliard * dlls/ntdll/directory.c: In parse_mount_entries return the loop device instead of the mounted file for loop mounts. * programs/winecfg/Bg.rc, programs/winecfg/De.rc, programs/winecfg/En.rc, programs/winecfg/Fi.rc, programs/winecfg/Fr.rc, programs/winecfg/Ja.rc, programs/winecfg/Nl.rc, programs/winecfg/No.rc, programs/winecfg/Ru.rc, programs/winecfg/resource.h, programs/winecfg/winecfg.rc: Report the correct version in the About dialog. * programs/winecfg/winecfg.c: Vitaliy Margolen Fix "Remove application" for applications that had some custom settings. * dlls/riched20/editor.c: Krzysztof Foltman Fix unnecessary (and harmful) repeated statement. * dlls/d3d8/device.c: Oliver Stieber Allow cube textures to be updated. 2005-10-12 Alexandre Julliard * server/process.c: Removed incorrect process queue check in wait_input_idle. * dlls/wined3d/directx.c: Oliver Stieber Changed the way that 24bit and 32bit Adapter and Buffer formats are reported allowing EVE online to get past the startup screen and allowing the Fur demo (amongst others) to run in a window, as under windows, instead of in fullscreen mode. * dlls/gdi/enhmetafile.c, dlls/gdi/tests/metafile.c: Huw Davies Initialize a bunch of dc values to their default before enumerating an enhmetafile. Add tests for these and for some values that don't get reset. * dlls/riched20/list.c, dlls/riched20/style.c: Krzysztof Foltman - Style trace information is written to different debug channel (it's not very useful anymore, reference counting looks correct for now). - The document dump contains the character position of the end-of-text mark. * dlls/ddraw/device_opengl.c, dlls/ddraw/texture.c: Christian Costa Disable depth test when there is no Z buffer attached. Initialise texture states at creation instead of when tex name is generated. 2005-10-11 Alexandre Julliard * dlls/wined3d/drawprim.c, dlls/wined3d/vertexshader.c: Oliver Stieber Add checks for ARB_vertex_program before allowing vertex shaders to use ARB_vertex_program. * dlls/user/tests/monitor.c: Stefan Leichter Make user test loadable on NT4. * dlls/kernel/tests/atom.c: Detlef Riekenberg NT3.51 returns ERROR_MORE_DATA. * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c: Mike O'Regan Tests commented out and FIXME-ed long ago now pass. * dlls/riched20/writer.c: Phil Krylov Fixed encoding of non-ASCII chars. * dlls/gdi/painting.c: Dmitry Timoshkov Add a safety check for number of control points in PolyBezierTo. * tools/winedump/main.c: Dmitry Timoshkov Rename struct option in order to avoid a conflict with wine/port.h. * dlls/gdi/clipping.c, dlls/gdi/tests/clipping.c: Huw Davies If the meta/clip intersection (Rao) region doesn't exist, return either the meta or clip region if they do exist. Remove the wine_todo's. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Update German and Hungarian keyboard layouts to better match X11 ones. * dlls/kernel/profile.c: Mike McCormack Make sure not to strcpy from a NULL default value pointer. * dlls/shell32/tests/shlfileop.c: James Hawkins Test that the FO_COPY action creates output directories if they don't exist. * dlls/dsound/dsound.c: Robert Reif Fix PrimaryBufferImpl pointer to deleted DirectSoundImpl. * dlls/shell32/shell32.spec: Lionel Ulmer - fix first two arguments to 'FindExecutableA' (input strings instead of pointers) - fix last argument to 'FindExecutableW' (it's an output string) 2005-10-10 Alexandre Julliard * Makefile.in: Removed non-portable ldconfig invocation and misleading warning. People who need the extra hand-holding should use wineinstall. * dlls/ddraw/ddraw_private.h: Lionel Ulmer Add an assert if both arguments to DD_STRUCT_COPY_BYSIZE are equal. * dlls/gdi/clipping.c, dlls/gdi/tests/.cvsignore, dlls/gdi/tests/Makefile.in, dlls/gdi/tests/clipping.c: Huw Davies GetRandomRgn only returns the SYSRGN in screen coordinates. Add a bunch of tests for GetRandomRgn. * dlls/riched20/editor.c: Krzysztof Foltman Removed buffer overrun error (incrementing output pointer one time too much in non-CRLF mode) making KeyNote fail to install. * dlls/wined3d/vertexshader.c: Oliver Stieber Report unrecognized opcodes as FIXMEs instead of TRACEs so that they are easier to spot and fix. * tools/wrc/wrc.c: Add current directory to default include path. * include/wine/wpp.h, libs/wpp/ppl.l, libs/wpp/preproc.c, libs/wpp/wpp_private.h, tools/widl/parser.l, tools/wrc/parser.y: Default search path for an include file should be based on the path of the parent source file, not the current directory. * dlls/ntdll/time.c: Vijay Kiran Kamuju Added PHT time zone. * tools/wineprefixcreate.in: Richard Cohen Don't create old unlocalized directories in wineprefixcreate. * dlls/riched20/editor.c: Krzysztof Foltman The previous implementation was a workaround for off-by-one bug in ME_RunOfsFromCharOfs, this one relies on correct behavior of that function introduced by the previous patch. * dlls/msvcrt/tests/string.c: Vitaliy Margolen Fix _ismbblead test to pass on windows. * dlls/kernel/file.c, dlls/kernel/tests/file.c: Maxime Bellengé In case of failure and OF_EXIST is specified, return FALSE instead of HFILE_ERROR. * programs/wineconsole/wineconsole.c: Eric Pouech Fixed changing console's windows. * dlls/riched20/run.c: Krzysztof Foltman Fixed EOL detection in ME_RunOfsFromCharOfs in 1.0 emulation mode (necessary for a non-workaround version of EM_POSFROMCHAR). * dlls/quartz/videorenderer.c: Christian Costa Make window uses black brush for background. Check format type of video stream. * dlls/kernel/volume.c: Christian Costa Add trace to DefineDosDevice. * dlls/ddraw/ddraw_main.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/ddraw_utils.c: Lionel Ulmer - do not pass private data to the application but a copy of it - add some more traces * dlls/riched20/editor.c: Krzysztof Foltman Fix a bug in 1.0 emulation mode in EM_LINELENGTH (which broke PTE installer). * tools/wmc/wmc.c, tools/wmc/wmc.h, tools/wmc/write.c, tools/wrc/wrc.c, tools/wrc/wrc.h: Set the version we report in wmc and wrc from the global Wine version. * dlls/riched20/editor.c: Krzysztof Foltman Fix 1.0 emulation mode in ME_GetTextW. * dlls/shell32/shellpath.c: Richard Cohen Don't hardcode "windows" directory. Make "My Pictures" etc. point to $HOME. * dlls/msvcrt/tests/file.c: Richard Cohen Fix an error message. * dlls/dsound/dsound.c: Robert Reif DirectSoundDevice reference count cleanup. * programs/regedit/Bg.rc: Milko Krachounov Update the Bulgarian resource file. * dlls/kernel/process.c: Marcus Meissner Pass characters to get_file_name() helper, not bytes. * dlls/ddraw/surface_main.c: Lionel Ulmer - pass a copy of the surface description to the application - increase the surface reference count when giving the surface pointer to the caller * dlls/dsound/tests/dsound8.c: Robert Reif Fix dsound8 test to deal with an installed but unregistered IDirectSound8. * programs/winhelp/hlpfile.c: Eric Pouech Ensure we always have a title for the .hlp file. * programs/winedbg/memory.c: Eric Pouech Handle error conditions for print. * dlls/winmm/mciwave/mciwave.c: Eric Pouech Fixed mmioOpenW flags for playback. * programs/wineconsole/user.c: Eric Pouech - fixed mouse double click and wheeling - also handling third mouse button (if any) - full support for control/shift modifier * programs/winepath/winepath.c: Francois Gouget Add a --windows option for converting a Unix path to a long Windows path. Fix the description of --long and --short. They are only garanteed to work on Windows paths though they will often successfully convert Unix paths to Windows paths too. 2005-10-08 Alexandre Julliard * tools/widl/widl.c: Set the widl version to be the same as the global package version. * programs/winepath/winepath.c: Set the winepath version to be the same as the global package version. * dlls/user/dialog.c: In DIALOG_FixChildrenOnChangeFocus make sure the button is a push button before making it the default. * programs/wineconsole/curses.c: Eric Pouech Function keys now work in curses mode. * dlls/msvcrt/tests/file.c: Vitaliy Margolen Add a few tests that fail under wine. * dlls/rsabase/rsabase.spec: Stefan Leichter Forward the functions DllRegisterServer and DllUnregisterServer of rsabase.dll to rsaenh.dll. * tools/winapi/win16.api, tools/winapi/win32.api: Francois Gouget Move all Unicode and Ansi string types to the %str and %wstr sections. * dlls/riched20/list.c, dlls/riched20/run.c: Krzysztof Foltman Send verbose info to different debug channels (richedit_check for output from offset checker, richedit_lists for the document list dumps). 2005-10-07 Alexandre Julliard * programs/notepad/Bg.rc, programs/notepad/Cs.rc, programs/notepad/Da.rc, programs/notepad/De.rc, programs/notepad/En.rc, programs/notepad/Es.rc, programs/notepad/Fi.rc, programs/notepad/Fr.rc, programs/notepad/Hu.rc, programs/notepad/It.rc, programs/notepad/Ja.rc, programs/notepad/Nl.rc, programs/notepad/No.rc, programs/notepad/Pl.rc, programs/notepad/Pt.rc, programs/notepad/Ru.rc, programs/notepad/Si.rc, programs/notepad/Sk.rc, programs/notepad/Sw.rc, programs/notepad/Th.rc, programs/notepad/Wa.rc, programs/notepad/Zh.rc: Jonathan Ernst Pagesetup dialog fix. * dlls/shell32/shellpath.c: Jonathan Ernst First creation of registry entries missed AppData. * dlls/msvcrt/file.c, dlls/msvcrt/tests/file.c: Vitaliy Margolen Fix initial position for files opened with O_APPEND flag. * dlls/ddraw/ddraw_utils.c, dlls/ddraw/surface_main.c: Raphael Junqueira Don't crash if pDDSD is NULL on DirectDrawSurface::Lock. 2005-10-06 Alexandre Julliard * loader/wine.man.in, programs/winedbg/.cvsignore, programs/winedbg/Makefile.in, programs/winedbg/winedbg.man, programs/winedbg/winedbg.man.in, server/wineserver.man.in, tools/.cvsignore, tools/Makefile.in, tools/widl/.cvsignore, tools/widl/Makefile.in, tools/widl/widl.man, tools/widl/widl.man.in, tools/winebuild/winebuild.man.in, tools/winedump/.cvsignore, tools/winedump/Makefile.in, tools/winedump/winedump.man, tools/winedump/winedump.man.in, tools/winegcc/.cvsignore, tools/winegcc/Makefile.in, tools/winegcc/winegcc.man, tools/winegcc/winegcc.man.in, tools/winemaker.man, tools/winemaker.man.in, tools/wmc/.cvsignore, tools/wmc/Makefile.in, tools/wmc/wmc.man, tools/wmc/wmc.man.in, tools/wrc/.cvsignore, tools/wrc/Makefile.in, tools/wrc/wrc.man, tools/wrc/wrc.man.in: Put Wine version information in all the man pages. * Make.rules.in, loader/Makefile.in, server/Makefile.in, tools/winebuild/Makefile.in: Added global rules for man pages. * dlls/ntdll/server.c: Added a critical section around the fd cache until the race conditions can be fixed properly. * dlls/atl/atl.spec, dlls/atl/atl_main.c, dlls/atl/atlbase.h: Jacek Caban Added AtlModuleAddTermFunc implementation. * include/Makefile.in, include/security.h: Peter Lemenkov Added security.h. * dlls/gdi/font.c, dlls/gdi/freetype.c, include/gdi.h: Huw Davies Add a Wine specific flag to GetRasterizeCaps that reports whether freetype's patented hinter is enabled. This will be used by winex11 to check whether it should honour the gasp table settings. * dlls/x11drv/xrender.c: Huw Davies Ignore the gasp table when we have no hinter. * dlls/ddraw/ddraw_main.c, dlls/ddraw/tests/ddrawmodes.c: Stefan Dösinger - Add handling for DDSCL_SETFOCUSWINDOW in SetCooperativeLevel. - Print a fixme for DDSCL_CREATEDEVICEWINDOW and DDSCL_SETDEVICEWINDOW. - Don't allow DDSCL_EXCLUSIVE without DDSCL_FULLSCREEN. * tools/widl/widl.man, tools/winebuild/winebuild.man.in: Fixed some nroff warnings. * dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/theming.c, dlls/commdlg/filedlg.c, dlls/commdlg/printdlg.c, dlls/ole32/tests/storage32.c, dlls/shell32/enumidlist.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/tests/shlfolder.c, programs/winefile/winefile.c: Francois Gouget Use "static const" rather than "const static" as gcc -W complains about the former. * dlls/kernel/tests/atom.c: Vitaliy Margolen Fix atom tests on win9x. * dlls/kernel/editline.c: Joshua Davies Windows is returning the length of the string, plus the CRLF delimiters, whereas wineconsole is returning one less. * dlls/rsaenh/rsaenh.c: Juan Lang When just a public key is imported, its ALG_ID should be CALG_RSA_SIGN rather than CALG_RSA_KEYX. * tools/winapi/win32.api, tools/winapi/winapi.pm: Francois Gouget winapi_check does not use the '--extension' flag so remove it. * tools/winedump/pe.c: Dmitry Timoshkov Ignore the delay load directory size. * dlls/msxml3/domdoc.c: Huw Davies Don't try to release the node if we haven't loaded one. * dlls/kernel/sync.c: Vitaliy Margolen Add brackets around (a)?b:c construct. 2005-10-04 Alexandre Julliard * dlls/kernel/except.c: Set WINEDEBUG to an empty value instead of removing it so that it gets properly cleared in the debugger. * dlls/kernel/process.c: Copy WINEDEBUG from the Windows environment to allow passing a modified value to a child process. * programs/uninstaller/main.c: Vijay Kiran Kamuju Fixed uninstaller close button. * dlls/comctl32/listview.c: Vitaliy Margolen Correct Page Up/Down handling in report mode. * dlls/ntdll/signal_i386.c: Clear the single-step flag in setup_exception instead of in the SIGTRAP handler to avoid having the assigmnent optimized out. * tools/winedump/pe.c: Fixed dumping of the import directory to ignore the directory size. * dlls/ntdll/loader.c: Ignore the size of the import directory, process imports until we find a null entry. * dlls/wined3d/directx.c: Oliver Stieber Provide looser device matching for backbuffer and depth buffer formats. It should allow some games and applications to run without X being in the correct backbuffer format (e.g. 16 bit games will run with a 24bit X backbuffer). * dlls/shell32/shellpath.c: Juan Lang Use wine_get_dos_file_name rather than relying on GetFullPathNameW hack. * dlls/comctl32/listview.c: Vitaliy Margolen Don't start dragging for a single mouse click. * tools/winedump/dump.c, tools/winedump/pe.c: Dmitry Timoshkov Add support for dumping delay load PE data. * include/windef.h: Dimi Paun Allow MSVC to use Wine's headers. * dlls/version/info.c: James Hawkins Check the size of the input buffer so we don't write past the end. * fonts/Makefile.in: Vincent Béron Sort the font filenames in alphabetical order in fonts/Makefile.in. * programs/winecfg/libraries.c: Juan Lang Remove .dll from DllOverrides entries, such entries are ignored. * programs/winetest/Makefile.in: Jonathan Ernst Make sure we only depend on ddraw_test if X support is enabled. * programs/winelauncher.in: Marcus Meissner Dropped the "using native windows libraries" comment. Replace winesetup by winecfg. Dropped config file detection. * dlls/crypt32/encode.c: Juan Lang Use correct names when loading registered OID functions. 2005-10-03 Alexandre Julliard * dlls/winspool/info.c: Maxime Bellengé Fix a cut&paste mistake. * dlls/user/win.c: Vitaliy Margolen Use GetSystemMetrics instead of hardcoding drag width & height. * dlls/ntdll/server.c: Fixed a bug where we could set the wrong handle in the fd cache when encountering the race condition in wine_server_handle_to_fd. * dlls/comctl32/tab.c: Vitaliy Margolen Don't arrange tabs if there is only one line. * programs/winetest/Makefile.in: Paul Millar Fix cross-compilation of winetest by update the makefile to use OBJS instead of the now absent ALL_OBJS. * dlls/riched20/editor.c, dlls/riched20/reader.c: Krzysztof Foltman - Remove another potential sources of infinite loops caused by EOF in the middle of the font and color tables. - Closing brace on text level is treated as EOF (effectively protecting the control from trash after the end of RTF). - Removed misleading comment about incomplete buffers (I was definitely wrong). * programs/winecfg/No.rc: Alexander N. Sørnes Fixed a few missing characters in winecfg. * dlls/ntdll/nt.c: Ivan Leo Puoti Make a stub actually say "stub". * dlls/user/input.c, dlls/user/tests/win.c: Marcus Meissner ReleaseCapture should return TRUE. * programs/winedbg/winedbg.c: Eric Pouech Now printing information when changing function while single stepping. * programs/winedbg/types.c: Eric Pouech Fixed bitfield extraction. * include/d3d9types.h, include/dsound.h: Robert Reif Fixes so d3d9.h and dsound.h can be included at the same time. * dlls/riched20/editor.c: Krzysztof Foltman Implemented EM_GETFIRSTVISIBLELINE and EM_POSFROMCHAR (basic suboptimal implementation, can be optimized to skip whole paragraphs later if it's useful at all). * programs/winefile/winefile.c: Martin Fuchs Fix font handle leak after closing the 'choose font' dialog (based on orginal patch by 'Christoph at ApiViewer.de') * dlls/shell32/shlexec.c: Martin Fuchs Simplify 'sei' structure initialization in ShellExecuteA/W. * dlls/ole32/compobj.c: Robert Shearman Pass WM_QUIT to outer modal loop. * dlls/user/misc.c, dlls/user/user32.spec: Stefan Leichter Added stub for UnregisterDeviceNotification. * programs/wcmd/wcmdmain.c: Brian Grayson Skip tabs in wcmd. * dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/dsrender.c: Vitaliy Margolen Replace registry editing instructions with winecfg. * dlls/dbghelp/stabs.c: Eric Pouech - N_PSYM stabs blocks (aka parameters) can also contain a typedef - shorten some paths * programs/winedbg/types.c: Eric Pouech Fixed array dereferencing. * dlls/winsock/Makefile.in: Dmitry Timoshkov Move user32 to delay loaded imports. * dlls/winedos/module.c: Dmitry Timoshkov Convert a WARN to a FIXME to make it visible to a user, replace an ERR by a FIXME as it's more appropriate. * dlls/dxerr8/errors.awk, dlls/dxerr9/errors.awk: Robert Reif Add support for errors with more than one name. * dlls/wined3d/directx.c: Marcus Meissner Use correct minLookup[] array entry. * programs/winelauncher.in: Marcus Meissner Do not append empty ":" in LD_LIBRARY_PATH. * dlls/riched20/editor.c: Krzysztof Foltman Fixed another case of misunderstanding MSDN wrt StreamInProc, causing license text to be truncated in Picasa installer (as well as some other programs, especially those that display long texts with NSIS). 2005-09-30 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20050930. ---------------------------------------------------------------- 2005-09-30 Alexandre Julliard * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Make CryptImport/ExportPublicKeyInfoEx behave the way MSDN describes them, and a couple of tests. * include/wincrypt.h: Juan Lang Add defines needed for installable OID functions. * include/dplay8.h: Robert Reif Added missing error code. * dlls/winedos/dosvm.c: Gerald Pfeifer We only need the relay debug channel on MZ_SUPPORTED platforms. * dlls/urlmon/sec_mgr.c, dlls/urlmon/tests/misc.c: Jacek Caban Added GetZoneActionPolicy implementation. * programs/uninstaller/Fi.rc, programs/uninstaller/rsrc.rc: Kimmo Myllyvirta Finnish resources for uninstaller. * dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/om.c: Vitaliy Margolen Add a few tests for object manager. * dlls/kernel/sync.c, dlls/kernel/virtual.c: Vitaliy Margolen Add brackets around (a)?b:c construct. * dlls/msi/action.c, dlls/msi/helpers.c, dlls/msi/msi.c, dlls/msi/msipriv.h: Mike McCormack Rename ACTION_DoTopLevelINSTALL to MSI_InstallPackage, remove its duplicate 4th parameter. Split the code to copy a package into a separate function. 2005-09-29 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Get rid of the debug channels support. * dlls/user/defwnd.c, dlls/user/tests/win.c: Jason Edmeades Always return MA_ACTIVATE for WM_MOUSEACTIVATE in DefWindowProc. * dlls/winspool/info.c, dlls/wldap32/ber.c: Kevin Koltzau Fix warnings in 64bit. * dlls/wininet/internet.c: Denis Lukianov Use ICU_BROWSER_MODE in InternetCanonicalizeUrl. * include/wine/debug.h, libs/wine/debug.c, libs/wine/wine.def, libs/wine/wine.map: Export the get_channel_flags function avoid warnings when passing a NULL format to wine_dbg_log. Removed a few no longer used functions. * dlls/msi/dialog.c: Mike McCormack Avoid UpdateWindow, it causes trouble with WS_EX_TRANSPARENT. * dlls/wined3d/device.c: Vincent Béron Don't define some functions/variables if they won't be used after in wined3d. * tools/winemaker: Removed rules for .dbg.c files. * dlls/activeds/.cvsignore, dlls/advapi32/.cvsignore, dlls/advpack/.cvsignore, dlls/amstream/.cvsignore, dlls/atl/.cvsignore, dlls/avicap32/.cvsignore, dlls/avifil32/.cvsignore, dlls/cabinet/.cvsignore, dlls/capi2032/.cvsignore, dlls/cards/.cvsignore, dlls/cfgmgr32/.cvsignore, dlls/comcat/.cvsignore, dlls/comctl32/.cvsignore, dlls/commdlg/.cvsignore, dlls/crtdll/.cvsignore, dlls/crypt32/.cvsignore, dlls/cryptdll/.cvsignore, dlls/ctl3d/.cvsignore, dlls/d3d8/.cvsignore, dlls/d3d9/.cvsignore, dlls/d3dim/.cvsignore, dlls/d3drm/.cvsignore, dlls/d3dx8/.cvsignore, dlls/d3dxof/.cvsignore, dlls/dbghelp/.cvsignore, dlls/dciman32/.cvsignore, dlls/ddraw/.cvsignore, dlls/devenum/.cvsignore, dlls/dinput/.cvsignore, dlls/dinput8/.cvsignore, dlls/dmband/.cvsignore, dlls/dmcompos/.cvsignore, dlls/dmime/.cvsignore, dlls/dmloader/.cvsignore, dlls/dmscript/.cvsignore, dlls/dmstyle/.cvsignore, dlls/dmsynth/.cvsignore, dlls/dmusic/.cvsignore, dlls/dmusic32/.cvsignore, dlls/dplay/.cvsignore, dlls/dplayx/.cvsignore, dlls/dpnet/.cvsignore, dlls/dpnhpast/.cvsignore, dlls/dsound/.cvsignore, dlls/dswave/.cvsignore, dlls/dxdiagn/.cvsignore, dlls/dxerr8/.cvsignore, dlls/dxerr9/.cvsignore, dlls/gdi/.cvsignore, dlls/glu32/.cvsignore, dlls/glut32/.cvsignore, dlls/hhctrl.ocx/.cvsignore, dlls/iccvid/.cvsignore, dlls/icmp/.cvsignore, dlls/ifsmgr.vxd/.cvsignore, dlls/imagehlp/.cvsignore, dlls/imm32/.cvsignore, dlls/iphlpapi/.cvsignore, dlls/itss/.cvsignore, dlls/kernel/.cvsignore, dlls/lzexpand/.cvsignore, dlls/mapi32/.cvsignore, dlls/mciavi32/.cvsignore, dlls/mcicda/.cvsignore, dlls/mciseq/.cvsignore, dlls/midimap/.cvsignore, dlls/mlang/.cvsignore, dlls/mmdevldr.vxd/.cvsignore, dlls/monodebg.vxd/.cvsignore, dlls/mpr/.cvsignore, dlls/msacm/.cvsignore, dlls/msacm/imaadp32/.cvsignore, dlls/msacm/msadp32/.cvsignore, dlls/msacm/msg711/.cvsignore, dlls/msacm/winemp3/.cvsignore, dlls/mscms/.cvsignore, dlls/msdmo/.cvsignore, dlls/mshtml/.cvsignore, dlls/msi/.cvsignore, dlls/msimg32/.cvsignore, dlls/msisys/.cvsignore, dlls/msnet32/.cvsignore, dlls/msrle32/.cvsignore, dlls/msvcrt/.cvsignore, dlls/msvcrt20/.cvsignore, dlls/msvcrt40/.cvsignore, dlls/msvcrtd/.cvsignore, dlls/msvidc32/.cvsignore, dlls/msvideo/.cvsignore, dlls/mswsock/.cvsignore, dlls/msxml3/.cvsignore, dlls/netapi32/.cvsignore, dlls/newdev/.cvsignore, dlls/ntdll/.cvsignore, dlls/objsel/.cvsignore, dlls/odbc32/.cvsignore, dlls/odbccp32/.cvsignore, dlls/ole32/.cvsignore, dlls/oleacc/.cvsignore, dlls/oleaut32/.cvsignore, dlls/olecli/.cvsignore, dlls/oledlg/.cvsignore, dlls/olepro32/.cvsignore, dlls/olesvr/.cvsignore, dlls/opengl32/.cvsignore, dlls/powrprof/.cvsignore, dlls/psapi/.cvsignore, dlls/qcap/.cvsignore, dlls/quartz/.cvsignore, dlls/rasapi32/.cvsignore, dlls/riched20/.cvsignore, dlls/richedit/.cvsignore, dlls/rpcrt4/.cvsignore, dlls/rsabase/.cvsignore, dlls/rsaenh/.cvsignore, dlls/secur32/.cvsignore, dlls/sensapi/.cvsignore, dlls/serialui/.cvsignore, dlls/setupapi/.cvsignore, dlls/shdocvw/.cvsignore, dlls/shell32/.cvsignore, dlls/shfolder/.cvsignore, dlls/shlwapi/.cvsignore, dlls/snmpapi/.cvsignore, dlls/stdole2.tlb/.cvsignore, dlls/stdole32.tlb/.cvsignore, dlls/sti/.cvsignore, dlls/tapi32/.cvsignore, dlls/ttydrv/.cvsignore, dlls/twain/.cvsignore, dlls/unicows/.cvsignore, dlls/url/.cvsignore, dlls/urlmon/.cvsignore, dlls/user/.cvsignore, dlls/usp10/.cvsignore, dlls/uxtheme/.cvsignore, dlls/vdhcp.vxd/.cvsignore, dlls/vdmdbg/.cvsignore, dlls/version/.cvsignore, dlls/vmm.vxd/.cvsignore, dlls/vnbt.vxd/.cvsignore, dlls/vnetbios.vxd/.cvsignore, dlls/vtdapi.vxd/.cvsignore, dlls/vwin32.vxd/.cvsignore, dlls/win32s/.cvsignore, dlls/winaspi/.cvsignore, dlls/wined3d/.cvsignore, dlls/winedos/.cvsignore, dlls/wineps/.cvsignore, dlls/wininet/.cvsignore, dlls/winmm/.cvsignore, dlls/winmm/joystick/.cvsignore, dlls/winmm/mciwave/.cvsignore, dlls/winmm/wavemap/.cvsignore, dlls/winmm/winealsa/.cvsignore, dlls/winmm/winearts/.cvsignore, dlls/winmm/wineaudioio/.cvsignore, dlls/winmm/wineesd/.cvsignore, dlls/winmm/winejack/.cvsignore, dlls/winmm/winenas/.cvsignore, dlls/winmm/wineoss/.cvsignore, dlls/winnls/.cvsignore, dlls/winsock/.cvsignore, dlls/winspool/.cvsignore, dlls/wintab32/.cvsignore, dlls/wintrust/.cvsignore, dlls/wldap32/.cvsignore, dlls/wow32/.cvsignore, dlls/wsock32/.cvsignore, dlls/wtsapi32/.cvsignore, dlls/x11drv/.cvsignore, programs/clock/.cvsignore, programs/cmdlgtst/.cvsignore, programs/control/.cvsignore, programs/expand/.cvsignore, programs/hh/.cvsignore, programs/msiexec/.cvsignore, programs/notepad/.cvsignore, programs/progman/.cvsignore, programs/regedit/.cvsignore, programs/regsvr32/.cvsignore, programs/rpcss/.cvsignore, programs/rundll32/.cvsignore, programs/start/.cvsignore, programs/taskmgr/.cvsignore, programs/uninstaller/.cvsignore, programs/view/.cvsignore, programs/wcmd/.cvsignore, programs/wineboot/.cvsignore, programs/winebrowser/.cvsignore, programs/winecfg/.cvsignore, programs/wineconsole/.cvsignore, programs/winedbg/.cvsignore, programs/winefile/.cvsignore, programs/winemenubuilder/.cvsignore, programs/winemine/.cvsignore, programs/winepath/.cvsignore, programs/winetest/.cvsignore, programs/winevdm/.cvsignore, programs/winhelp/.cvsignore, programs/winver/.cvsignore: We are no longer generating .dbg.c files. * dlls/commdlg/cdlg_Fi.rc: Kimmo Myllyvirta Bring Finnish resources up to date. * programs/regedit/treeview.c: Vincent Béron Remove unused function from regedit/treeview.c. * dlls/wininet/tests/http.c: Vincent Béron Cast the result of strlen() to DWORD and print it via %ld to get rid of warnings with gcc 3.2. * tools/winapi/winapi_check: Vincent Béron Update winapi_check for "false" HAVE_* macros. * tools/winapi/win32.api: Vincent Béron Update win32.api to current CVS. * dlls/msi/action.c: Mike McCormack Create a function to read a property as an integer. * dlls/wined3d/surface.c: Oliver Stieber Added support for backbuffer with the formats A1R5G5B5 and X1R5G5B5. * dlls/d3d8/surface.c, dlls/d3d8/utils.c: H. Verbeet Fix DXT2 & DXT4 support for d3d8. * dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/editstr.h, dlls/riched20/row.c: Krzysztof Foltman - Reimplementation of EM_LINELENGTH. - Some attempt at documentation of double-linked list of ME_DisplayItem's. * dlls/urlmon/urlmon.inf: Jacek Caban Register zones. * dlls/urlmon/sec_mgr.c, dlls/urlmon/tests/misc.c: Jacek Caban Added MapUrlToZone implementation. * dlls/ole32/defaulthandler.c: Robert Shearman Add a stubbed out implementation of IAdviseSink and advise the delegate object to use it. 2005-09-28 Alexandre Julliard * Make.rules.in, Makefile.in, dlls/Makedll.rules.in, dlls/dxerr8/Makefile.in, dlls/dxerr9/Makefile.in, dlls/kernel/process.c, dlls/ntdll/debugtools.c, include/wine/debug.h, programs/Makeprog.rules.in: Declare debug channels as static variables so that we don't need to generate an external .dbg.c file to define them. * dlls/ole32/defaulthandler.c: Robert Shearman - Make the interfaces that should be supported by the data cache explicit so their is no confusion in this file as to what it should be implementing and what this object should implement. - Delegate some IOleObject methods to the server IOleObject if it is running. * dlls/ntdll/critsection.c: Use Linux futexes instead of semaphores if possible for critical section waits. * Make.rules.in, libs/wpp/.cvsignore, libs/wpp/Makefile.in, libs/wpp/ppl.l, programs/winedbg/.cvsignore, programs/winedbg/Makefile.in, programs/winedbg/debug.l, tools/makedep.c, tools/widl/.cvsignore, tools/widl/Makefile.in, tools/widl/parser.l, tools/wmc/.cvsignore, tools/wmc/Makefile.in, tools/wmc/mcl.c, tools/wrc/.cvsignore, tools/wrc/Makefile.in, tools/wrc/parser.l: Now that we are requiring bison anyway, make the .tab.c file use the same base name as the .y file, so that we can generate correct dependencies in all cases. * dlls/ole32/datacache.c: Alex Villacís Lasso Add NULL check for sinkInterface in DataCache_GetAdvise. * dlls/ole32/defaulthandler.c: Alex Villacís Lasso Add missing ! to fix a reversed condition check in OleCreateDefaultHandler, in order to match intent in comment. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Encode RSA public key modulus as unsigned integer, with tests. * dlls/d3d8/d3d8_private.h, dlls/opengl32/opengl_ext.h, include/wine/wined3d_gl.h: H. Verbeet Fix missing prototypes when using nVidia OpenGL headers. * dlls/user/tests/msg.c: Dmitry Timoshkov Explicitly ignore WM_GETICON message in the message tests. * dlls/x11drv/opengl.c: Gerald Pfeifer Use 0 instead of NULL in create_glxpixmap(). * dlls/msi/action.c: Mike McCormack Add some more action stubs, remove forward declarations. * include/wine/debug.h, libs/wine/debug.c, libs/wine/loader.c, libs/wine/wine.def, libs/wine/wine.map, programs/taskmgr/dbgchnl.c, programs/winedbg/info.c: New scheme for keeping track of debug channels that doesn't require maintaining a list of all loaded dlls. * dlls/user/tests/msg.c, dlls/x11drv/winpos.c: Dmitry Timoshkov Make DrawMenuBar and SetMenu tests pass under Wine. * dlls/msi/action.c: Mike McCormack Split command line parsing from MSI_InstallPackage into a separate function. * dlls/msi/dialog.c: Mike McCormack Add the progress control. * server/object.c: Vitaliy Margolen Fix refcount leak and return correct error in create_named_object. * dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/sql.y, dlls/msi/table.c, dlls/msi/tests/db.c: Mike McCormack Fix and test MsiViewGetColumnInfo and binary fields. * dlls/msi/custom.c: Mike McCormack Don't quote numbers in a query, as it doesn't parse correctly. * dlls/advapi32/crypt.c, dlls/advapi32/tests/crypt.c: Vincent Béron Remove some Unicode->ANSI cross-calls in crypt functions. * dlls/mlang/mlang.c, dlls/mlang/tests/mlang.c: Aric Stewart Implement a basic beginning for fnIMLangFontLink_CodePageToCodePages, fnIMLangFontLink_CodePagesToCodePage and fnIMLangFontLink_GetFontCodePages. Also some tests for the new functions. * dlls/kernel/tests/atom.c: Eric Pouech Added a bunch of test cases for atoms. * dlls/user/misc.c, dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/monitor.c, include/winuser.h: Huw Davies EnumDisplayDevices and GetMonitorInfo should return the same device name for the primary device. Make both EnumDisplayDevicesA and GetMonitorInfoA call their unicode counterparts. Update prototype of EnumDisplayDevices. Add some tests. * dlls/setupapi/Sv.rc, dlls/setupapi/setupapi.rc: Anders Bergh Added Swedish translation. * dlls/hhctrl.ocx/help.c: James Hawkins - Store the HHInfo struct in the SizeBar hwnd. - Set the default navigation pane width if no width provided. - Handle dragging of the SizeBar. * tools/winapi/winapi_check: Vincent Béron Don't treat absence of conditional as config.h being useless if wine/port.h is included, as it's necessary in that case. * dlls/crypt32/crypt32.spec, dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Implement CryptImport/ExportPublicKeyInfo. * include/wincrypt.h: Juan Lang Add a few more missing prototypes. * dlls/gdi/font.c: Dmitry Timoshkov Draw underline and strikeout for ExtTextOut on an open path using Polygon to more closely mimic what Windows does. * dlls/Makedll.rules.in: Mike McCormack Make sure to build the def file after a make clean in a module subdir. * dlls/msi/custom.c, dlls/msi/handle.c, dlls/msi/msi.c, dlls/msi/msipriv.h: Mike McCormack Don't create MSI handles unless we have to pass one through the API. * dlls/wined3d/device.c, dlls/wined3d/stateblock.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Implement state tracking for pixel shader constants. 2005-09-27 Alexandre Julliard * dlls/kernel/ne_segment.c: Don't apply relocations a second time to self loaded segments. Fixed messed up indentation in NE_FixupSegmentPrologs. * server/.cvsignore, server/Makefile.in, server/wineserver.man.in: Initial version of a wineserver man page. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/time.c, include/msvcrt/time.h: Added implementation of _dstbias and __p__dstbias. Added macros for _dstbias, _daylight, _timezone and _tzname. * dlls/kernel/process.c, dlls/ntdll/process.c, include/winbase.h, include/wine/server_protocol.h, server/process.c, server/protocol.def, server/trace.c: Eric Pouech Implemented kernel32 process affinity handling on top on ntdll. * dlls/wined3d/drawprim.c, dlls/wined3d/surface.c: Oliver Stieber Change the format of surface_SaveSnapshot to TGA from PPM and add support for compressed textures and an alpha channel. * server/handle.c: Use the proper format to print handles in handle_table_dump. * dlls/ntdll/signal_i386.c: Fixed exception handling on MacOS. * dlls/ddraw/clipper.c: The clip list is in screen coordinates so we need to map the result of GetRandomRgn if the Windows version is win9x. * programs/winedbg/memory.c: Fixed disassembling functions to handle 16-bit code segments properly. * dlls/msvideo/msvideo16.c, dlls/ole32/ole2nls.c: Vincent Béron Use the proper calling convention for 2 16-bit functions. * dlls/wined3d/surface.c: Oliver Stieber Correct a problem with locking nonpower 2 back and front buffers. * dlls/kernel/comm.c: Alex Villacís Lasso Tolerate ioctl failure in GetCommState() in order to be capable to use softmodems. 2005-09-26 Alexandre Julliard * dlls/user/tests/win.c: Added a test to confirm the behavior of GetRandomRgn. * dlls/ntdll/debugtools.c, include/wine/debug.h, libs/wine/debug.c: Export the temp buffer functionality in the debug functions interface to allow sharing more code between libwine and ntdll. * dlls/activeds/activeds.spec, dlls/activeds/activeds_main.c, include/.cvsignore, include/Makefile.in, include/adshlp.h, include/iads.idl, tools/winapi/win32.api: Francois Gouget Add iads.idl to define the IADsContainer interface. Add adshlp.h to declare the ADs* functions. Fix the ADsOpenObject() prototype. Update win32.api to match. * dlls/riched20/editor.c: Rein Klazes When scrolling, first update the new position of the control before calling UpdateWindow(). * programs/regedit/De.rc: Henning Gerhardt Update German regedit resource file. * dlls/d3dxof/d3dxof.spec: Francois Gouget Export the Dll(Un)RegisterServer() functions to make d3dxof.dll a self-registering dll. * dlls/dxguid/dxguid.c, include/d3drm.h: Francois Gouget Define the Direct3DRM GUIDs in d3drm.h. Include d3drm.h in dxguid. * dlls/kernel/sync.c, dlls/ntdll/critsection.c, include/wine/port.h, libs/port/interlocked.c, libs/wine/debug.c, loader/kthread.c, server/change.c: Use int instead of long in interlocked_* functions for 64-bit compatibility. * dlls/kernel/path.c: Use a larger buffer in CopyFileW now that the file handle may not always be cached. * dlls/msi/table.c: Mike McCormack Create a function to determine the table's row size and use it. Fix a memory leak in the table code. * tools/winapi/c_parser.pm: Francois Gouget volatile is valid everywhere const is valid. * programs/wcmd/No.rc, programs/wcmd/wcmdrc.rc, programs/wineconsole/wineconsole_No.rc, programs/wineconsole/wineconsole_res.rc: Alexander N. Sørnes Norwegian translation of wcmd and wineconsole. * dlls/x11drv/bitmap.c, dlls/x11drv/init.c, dlls/x11drv/opengl.c, dlls/x11drv/x11drv.h: Huw Davies Add an x11drv escape that returns a glx drawable. * programs/cmdlgtst/No.rc, programs/cmdlgtst/cmdlgr.rc, programs/progman/No.rc, programs/progman/rsrc.rc, programs/regedit/No.rc, programs/regedit/rsrc.rc, programs/start/No.rc, programs/start/rsrc.rc, programs/view/No.rc, programs/view/viewrc.rc: Alexander N. Sørnes Added Norwegian translation of some programs. * dlls/kernel/sync.c, dlls/ntdll/file.c, include/wine/server_protocol.h, server/named_pipe.c, server/protocol.def, server/trace.c: Eric Pouech - now passing access rights when creating a named pipe in NTDLL - reimplemented Kernel32.CreatePipe purely on top of NTDLL APIs - anonymous pipe handles should have the SYNCHRONIZE bit set * dlls/ntdll/heap.c, dlls/ole32/defaulthandler.c, dlls/wined3d/device.c, dlls/wined3d/vertexshader.c, dlls/wined3d/wined3d_private.h: Francois Gouget Assorted spelling fixes. * dlls/mpr/mpr.rc, dlls/mpr/mpr_No.rc, dlls/msacm/msacm.rc, dlls/msacm/msacm_No.rc, dlls/msrle32/msrle_No.rc, dlls/msrle32/rsrc.rc, dlls/oledlg/oledlg_No.rc, dlls/oledlg/rsrc.rc, dlls/shdocvw/No.rc, dlls/shdocvw/shdocvw.rc, dlls/shlwapi/shlwapi.rc, dlls/shlwapi/shlwapi_No.rc, dlls/user/resources/user32_No.rc, dlls/wineps/rsrc.rc, dlls/wineps/wps_No.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_No.rc, dlls/winmm/winmm_No.rc, dlls/winmm/winmm_res.rc, dlls/wldap32/wldap32.rc, dlls/wldap32/wldap32_No.rc: Alexander N. Sørnes Added Norwegian translations. * dlls/msi/package.c, dlls/msi/select.c, dlls/msi/sql.y, dlls/msi/update.c, dlls/msi/where.c: Mike McCormack Fix various query related memory leaks. * programs/winefile/De.rc: Henning Gerhardt Update German resource file. * programs/regedit/En.rc, programs/regedit/Nl.rc, programs/regedit/Pl.rc, programs/regedit/Pt.rc, programs/regedit/childwnd.c, programs/regedit/framewnd.c, programs/regedit/main.h, programs/regedit/resource.h, programs/regedit/treeview.c: Krzysztof Foltman - Copy key name works. - Favorites (adding, removing, going to) work. - Added context sensitive graying to some menu options. - Cleanup of status bar update. * dlls/ntdll/virtual.c, dlls/user/menu.c: Francois Gouget Replace the 'if (!cond) ; else code' construct with the standard 'do { code } while (0)' construct combined with a regular 'if'. * dlls/ole32/ole2.spec, dlls/ole32/storage.spec, dlls/oleaut32/oleaut32.spec, dlls/shlwapi/shlwapi.spec: Francois Gouget Fix .spec declarations for functinos with 64bit arguments (reported by winapi_check). * dlls/msi/action.c: Mike McCormack Make a macro function for unimplemented actions. Add some more unimplemented action stubs. * dlls/ntdll/time.c: Vijay Kiran Kamuju Add MYT (Malaysian Time) and NOVST (Novosibirsk Summer Time). * dlls/msi/msiquery.c: Mike McCormack Fill out the stubs for MsiApplyTransformA/W a bit more. * dlls/user/tests/dde.c: Dmitry Timoshkov Calling DdeUninitialize hangs DDE test on XP SP1, so remove that call, and add a comment explaining it. * dlls/msi/tests/format.c, dlls/msi/tests/package.c: Mike McCormack Fix handle leaks in the test cases. * dlls/msi/string.c: Mike McCormack Make sure to set the minimum size before allocating string table memory. * dlls/msvcrt/file.c: Francois Gouget Make it clear the empty body sections are not accidental. * tools/winapi/win16.api: Francois Gouget HOLEMENU is a 'long' as far as winapi_check is concerned. * dlls/shell32/shell32_Fi.rc: Kimmo Myllyvirta Update Finnish resources. * dlls/riched20/reader.c: Krzysztof Foltman - Optional destinations in stylesheets are now skipped properly (and not treated as the "proper" styles as they were before). - EOF condition in the middle of the stylesheet is no longer putting the reader into infinite loop, - Half-full input buffers don't trigger EOF anymore (although it could, in theory, break some apps, I find it unlikely - and the change makes Out from Boneville installer display license properly). * tools/winapi/win32.api: Francois Gouget Update win32.api to match the current sources. Fix the usp10.dll name. Fix PBERVAL alphabetical order. * dlls/d3d8/shader.c, dlls/d3d9/d3d9_main.c: Francois Gouget Documentation tweaks to make winapi_check happy. * include/vfw.h: Francois Gouget Add AVISTREAMREAD_CONVENIENT. * dlls/oleaut32/tests/olefont.c, dlls/secur32/tests/main.c: Francois Gouget Add trailing '\n's to ok() calls. * tools/winapi/winapi_function.pm, tools/winapi/winapi_local.pm: Francois Gouget Update winapi_check so it considers 'longlong' (win*.api files) as compatible with 'double' (spec files). * programs/winecfg/x11drvdlg.c: Christian Costa Screen depth cannot be selected when double buffering is enabled. Disable depth selection when it's the case. 2005-09-25 Alexandre Julliard * dlls/kernel/instr.c, dlls/kernel/local16.c, dlls/kernel/ne_module.c, dlls/kernel/version.c, dlls/msvcrt/cppexcept.c, dlls/ntdll/virtual.c, dlls/opengl32/wgl.c, dlls/quartz/dsoundrender.c, dlls/quartz/transform.c, dlls/quartz/videorenderer.c, dlls/user/menu.c, dlls/x11drv/opengl.c: Replace DPRINTF by TRACE in a few places. * dlls/mshtml/No.rc, dlls/mshtml/rsrc.rc: Alexander N. Sørnes Norwegian translation of mshtml. * dlls/avifil32/avifile_No.rc, dlls/avifil32/rsrc.rc, dlls/hhctrl.ocx/No.rc, dlls/hhctrl.ocx/hhctrl.rc, dlls/serialui/No.rc, dlls/serialui/serialui_rc.rc, dlls/setupapi/No.rc, dlls/setupapi/setupapi.rc: Alexander N. Sørnes Added Norwegian translations. * dlls/ddraw/d3d_private.h, dlls/ddraw/device_main.c, dlls/ddraw/device_opengl.c: Christian Costa Implement Begin/Vertex/End rendering functions. * dlls/hhctrl.ocx/help.c: James Hawkins Correctly resize the child windows. * dlls/quartz/filtergraph.c: Christian Costa Fix function names. * dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compobj.c, dlls/ole32/moniker.c, dlls/ole32/ole16.c, dlls/ole32/ole2.c, dlls/ole32/ole2_16.c, dlls/ole32/ole2stubs.c: Robert Shearman Move all 16-bit functions to an appropriate 16-bit file. * programs/winefile/No.rc, programs/winefile/rsrc.rc, programs/winhelp/No.rc, programs/winhelp/rsrc.rc: Alexander N. Sørnes Added Norwegian translations. * dlls/user/resources/user32_Fi.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_Fi.rc: Kimmo Myllyvirta Update Finnish resources. * dlls/msi/msi.c, dlls/msi/package.c: Mike McCormack Handle copying of the install package to a temporary file in one place only. * dlls/msi/files.c: Mike McCormack Fix another memory leak. * dlls/msi/action.c: Mike McCormack Stub implementation of the IsolateComponents action. 2005-09-23 Alexandre Julliard * include/Makefile.in, include/ddk/wdm.h: Ivan Leo Puoti Added ddk/wdm.h. * dlls/msi/custom.c: Mike McCormack Fix a memory leak. * dlls/x11drv/x11drv_main.c: Huw Davies Move desktop_vi inside process_attach and remember to free it. * dlls/msi/action.c: Mike McCormack Add a stub implementation of the BindImage action. * dlls/wined3d/device.c, dlls/wined3d/surface.c, dlls/wined3d/wined3d_main.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Optionally repack nonpower 2 textures to the expected span length when a textures is locked. This is necessary for buggy games like Warhammer 40k that don't work with the odd span sizes produce by default nonpower 2 support. * dlls/msi/action.c: Mike McCormack Stub implementation of the PatchFiles action. * dlls/ntdll/debugtools.c, include/wine/debug.h, include/wine/library.h, libs/wine/debug.c, libs/wine/wine.def, libs/wine/wine.map, tools/winebuild/spec32.c: Defined a proper structure for debug channels. Also put all the function pointers inside a structure and added __wine_dbg_set_functions to change them instead of exporting the pointers directly. * dlls/msi/msi.c: Mike McCormack Implement MsiGetShortcutTargetA. * dlls/msi/action.c: Mike McCormack Stub implementation of the MoveFiles action. * dlls/wined3d/device.c: Oliver Stieber Enable dxt2 and dxt4 compressed textures to be created via Device_CreateSurface. * dlls/msi/dialog.c: Dmitry Timoshkov COLOR_3DFACE is a better choice for the dialog background. * dlls/setupapi/stringtable.c, dlls/setupapi/tests/stringtable.c: Eric Kohl - String id 0 becomes a reserved (invalid) id. - StringTableStringFromId returns a pointer to an empty string if the string id is invalid. * programs/winefile/En.rc: Steven Edwards Set text of help menu to Help. * dlls/msi/action.c: Mike McCormack Stub implementation of the RemoveIniValues action. * include/dinput.h, include/vfwmsgs.h: Robert Reif Add some missing error codes. * dlls/dxerr8/errors.awk, dlls/dxerr9/errors.awk: Robert Reif Fix dxerr awk scripts to output single quotes properly. * dlls/ole32/defaulthandler.c: Robert Shearman Implement some IRunningObject functions that actually start the server and initialize it. * dlls/ole32/ole2.c, dlls/ole32/ole2stubs.c: Robert Shearman Implement OleRegEnumVerbs. * dlls/ole32/compobj.c: Robert Shearman Don't fail in CoRegisterClassObject if the class already exists and the REGCLS_MULTIPLEUSE flag is specified. * include/winver.h: Detlef Riekenberg Definition added for VFT2_DRV_VERSIONED_PRINTER. * dlls/wined3d/device.c: Oliver Stieber Clean up all the objects bound to the device when the device is destroyed as a result of its ref count reaching zero. * dlls/msvcrt/heap.c, dlls/msvcrt/msvcrt.spec, include/msvcrt/malloc.h: Vijay Kiran Kamuju Implementation of _get_sbh_threshold and _set_sbh_threshold functions. * dlls/x11drv/xrender.c: Richard Cohen Fix compile without XRender. * dlls/dsound/tests/capture.c: Robert Reif Fix capture test to not fail when IDirectSoundCapture class is not registered. * dlls/msi/dialog.c: Mike McCormack Take advantage of the msi_get_deformatted_field function to simplify some code. * dlls/msi/files.c: Mike McCormack Avoid using static variables in the InstallFiles action. 2005-09-22 Alexandre Julliard * include/basetsd.h, include/windef.h, include/winnt.h: Define data types to the correct size on 64-bit platforms. * dlls/msi/action.c, dlls/msi/cond.y, dlls/msi/custom.c, dlls/msi/files.c, dlls/msi/helpers.c: Mike McCormack Fix various memory leaks. * dlls/msi/dialog.c: Mike McCormack Skip the first character of a font identifier if it's \ or &. * programs/winhelp/.cvsignore, programs/winhelp/Makefile.in, programs/winhelp/hlp2sgml.c: Get rid of the hlp2sgml hack. * tools/wineinstall: Leave creation of the drive symlinks to wineprefixcreate. * dlls/msi/dialog.c: Mike McCormack Fix an error introduced when converting dialog lists to standard lists. * dlls/msi/action.c: Mike McCormack Simplify the ProcessComponents action a little. * dlls/oleaut32/vartype.c: Alex Villacís Lasso Fix a scaling error in VarR4FromDec() and VarR8FromDec() that incorrectly multiplies the high 32 bits of the DECIMAL by 1e64 instead of the correct 2^64. * dlls/dmcompos/chordmaptrack.c, dlls/dmcompos/signposttrack.c, dlls/dmime/dmime_main.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/seqtrack.c, dlls/dmime/sysextrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/wavetrack.c, dlls/dmscript/scripttrack.c, dlls/dmstyle/auditiontrack.c, dlls/dmstyle/motiftrack.c, dlls/dmstyle/mutetrack.c, dlls/kernel/module.c, dlls/kernel/task.c, dlls/ole32/ole2_16.c, dlls/oleaut32/dispatch.c, dlls/shell32/shell.c, dlls/user/nonclient.c, dlls/user/win.c, dlls/wined3d/device.c, dlls/x11drv/dib.c, dlls/x11drv/wintab.c: Removed unused debug channels. * dlls/oleaut32/variant.c: Alex Villacís Lasso Modify VarDiv() and VarSub() to use the existing VarDecSub() and VarDecDiv() for DECIMAL. * documentation/README.no: Alexander N. Sørnes Norwegian translation of readme file. * dlls/ole32/storage32.c: Robert Shearman - Initialize out pointer to NULL before access check in IStorage_CreateStorage. - WriteClassStg should return E_INVALIDARG if pstg is NULL instead of asserting. - ReadClassStg should return E_INVALIDARG if pstg is NULL instead of crashing and a NULL pclsid should cause it to return the same value. * dlls/msi/table.c: Mike McCormack Load a table's column information separately from the table itself. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/helpers.c: Mike McCormack Make build_icon_path return the path directly. 2005-09-21 Alexandre Julliard * dlls/avifil32/.cvsignore, dlls/commdlg/.cvsignore, dlls/ctl3d/.cvsignore, dlls/gdi/.cvsignore, dlls/imm32/.cvsignore, dlls/kernel/.cvsignore, dlls/lzexpand/.cvsignore, dlls/msacm/.cvsignore, dlls/msvideo/.cvsignore, dlls/ntdll/.cvsignore, dlls/ole32/.cvsignore, dlls/oleaut32/.cvsignore, dlls/olecli/.cvsignore, dlls/olesvr/.cvsignore, dlls/rasapi32/.cvsignore, dlls/setupapi/.cvsignore, dlls/shell32/.cvsignore, dlls/twain/.cvsignore, dlls/user/.cvsignore, dlls/version/.cvsignore, dlls/win32s/.cvsignore, dlls/winaspi/.cvsignore, dlls/winedos/.cvsignore, dlls/wineps/.cvsignore, dlls/winmm/.cvsignore, dlls/winnls/.cvsignore, dlls/winsock/.cvsignore, dlls/wintab32/.cvsignore: We are no longer generating .spec.c files. * Make.rules.in, Makefile.in, dlls/Makedll.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/ntdll/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in, tools/winebuild/build.h, tools/winebuild/res16.c, tools/winebuild/spec16.c: Generate 16-bit spec files as assembly code too. * configure, configure.ac, dlls/setupapi/tests/.cvsignore, dlls/setupapi/tests/Makefile.in, dlls/setupapi/tests/stringtable.c: Steven Edwards Added stringtable regression test. * include/setupapi.h, dlls/setupapi/Makefile.in, dlls/setupapi/setupapi.spec, dlls/setupapi/stringtable.c: Eric Kohl Implement setupapi stringtable functions. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/relay.c, tools/winebuild/res32.c, tools/winebuild/utils.c: Factor out a couple of useful helper functions. * dlls/secur32/Makefile.in, dlls/secur32/base64_codec.c, dlls/secur32/secur32_priv.h: Kai Blin Added base64 codec for communication with ntlm_auth. * dlls/comctl32/comctl_No.rc, dlls/comctl32/rsrc.rc, dlls/shell32/shell32_No.rc: Alexander N. Sørnes Added Norwegian translation of comctl32 and shell32. * dlls/hhctrl.ocx/help.c: James Hawkins Add the SizeBar. * dlls/kernel/sync.c, dlls/kernel/virtual.c: Vitaliy Margolen Specify flag OBJ_CASE_INSENSITIVE when calling appropriate Ntxx functions creating/opening named objects. * tools/winebuild/build.h, tools/winebuild/parser.c: Make sure that values of absolute symbols fit in 16 bits. * tools/winegcc/winegcc.c: Let winebuild take care of calling the assembler. Pass -v and -save-temps options through to winebuild too. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/spec32.c, tools/winebuild/utils.c: Moved stub function generation to import.c. Added a get_stub_name function to ensure naming consistency. * dlls/msi/action.c, dlls/msi/install.c, dlls/msi/msipriv.h: Mike McCormack Implement MsiSequenceA/W. * dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Start to implement TestCooperativeLevel. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/utils.c, tools/winebuild/winebuild.man.in: Now that we have to be able to run the assembler from winebuild, added an option to generate a .spec.o file in a single step. Added --save-temps and --verbose options for easier debugging. * dlls/msi/msipriv.h, dlls/msi/table.c: Mike McCormack Don't refcount tables. * dlls/msi/action.c, dlls/msi/msiquery.c: Mike McCormack Simplify the InstallValidate action a little. * dlls/msi/dialog.c: Mike McCormack Make sure not to free a a pointer that has been modified. Check that the text identifier doesn't contain invalid characters. * dlls/wined3d/device.c, dlls/wined3d/stateblock.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Added support for state management of vertex shader constants via stateblocks. * dlls/ntdll/virtual.c: Ignore relocations for unmapped pages. * dlls/ntdll/time.c, dlls/oleaut32/typelib.c, dlls/user/text.c, programs/winemenubuilder/winemenubuilder.c: Mike McCormack Fix "empty body in an if/else-statement" warnings. * dlls/comctl32/comboex.c: Jason Edmeades Fix some off by one calculations in the comboboxex functions, and handle an out of range positive index the same as windows + unit test case. * dlls/msi/create.c, dlls/msi/dialog.c, dlls/msi/format.c, dlls/msi/helpers.c: Mike McCormack Fix some simple memory leaks. * dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_gl.h: Oliver Stieber Implemented occlusion queries using either GL_ARB_occlusion_query or GL_NV_occlusion_query. * dlls/d3d8/d3d8.spec, dlls/d3d8/shader.c: Oliver Stieber Correct the number of parameters (and partly their names) for the undocumented functions ValidatePixelShader and ValidateVertexShader. * dlls/comctl32/tests/.cvsignore, dlls/comctl32/tests/Makefile.in, dlls/comctl32/tests/comboex.c: Jason Edmeades Fix some off by one calculations in the comboboxex functions, and handle an out of range positive index the same as windows + unit test case. * include/ws2tcpip.h: Vijay Kiran Kamuju Added addrinfo structures. * dlls/gdi/font.c: Huw Davies Release the dc before drawing the underline and strikeout lines. 2005-09-20 Alexandre Julliard * dlls/msi/dialog.c, dlls/shlwapi/ordinal.c, programs/notepad/main.c: Dmitry Timoshkov Fix the usage of COLOR_xxx constants in the place of the window's class hbrBackground. * dlls/hhctrl.ocx/help.c: James Hawkins Correctly draw the navigation pane. * programs/clock/No.rc, programs/clock/rsrc.rc, programs/taskmgr/No.rc, programs/taskmgr/taskmgr.rc: Alexander N. Sørnes Added Norwegian translations. * dlls/msi/action.c, dlls/msi/appsearch.c, dlls/msi/classes.c, dlls/msi/cond.y, dlls/msi/custom.c, dlls/msi/database.c, dlls/msi/dialog.c, dlls/msi/files.c, dlls/msi/format.c, dlls/msi/helpers.c, dlls/msi/install.c, dlls/msi/msi.c, dlls/msi/msiquery.c, dlls/msi/table.c: Mike McCormack Added memory allocation inline functions (part 2). * dlls/msi/create.c, dlls/msi/delete.c, dlls/msi/distinct.c, dlls/msi/events.c, dlls/msi/handle.c, dlls/msi/insert.c, dlls/msi/msipriv.h, dlls/msi/order.c, dlls/msi/package.c, dlls/msi/preview.c, dlls/msi/record.c, dlls/msi/registry.c, dlls/msi/select.c, dlls/msi/source.c, dlls/msi/sql.y, dlls/msi/string.c, dlls/msi/suminfo.c, dlls/msi/update.c, dlls/msi/upgrade.c, dlls/msi/where.c: Mike McCormack Added memory allocation inline functions (part 1). * dlls/unicows/Makefile.in, dlls/unicows/main.c: Exported symbols now get resolved properly so we no longer need the list of dummy references. * dlls/user/dde_misc.c, dlls/user/dde_private.h: Added a magic number to the WDML_CONV structure to fix some failing tests. * tools/winebuild/relay.c: Fixed stack offset of %eax register. * dlls/comctl32/rebar.c, dlls/msi/custom.c: Mike McCormack Fix if's that are followed by semicolons. * dlls/msi/install.c, dlls/msi/msi.spec, include/msiquery.h: Jan Van Buggenhout implement stubs for MsiSequence[AW]. * include/msi.h: Mike McCormack Add INSTALLSTATE_NOTUSED to the INSTALLSTATE enumeration. * dlls/ole32/ole2.c, dlls/ole32/ole2stubs.c: Robert Shearman Implement OleIsRunning. * dlls/ole32/marshal.c: Robert Shearman - Fix a trace to refer to the object ID rather than the legacy MID. - Fix the error case of CoMarshalInterThreadInterface to release the stream. 2005-09-19 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in, tools/winegcc/winegcc.c: Create an assembly file with all undefined symbols and add it to the link command so that the symbols show up in the final undefined list. Use that list to create thunks for all exported but undefined symbols, to make sure all export RVAs point somewhere inside the module. * dlls/comctl32/comctl_Bg.rc, dlls/comctl32/rsrc.rc, dlls/commdlg/cdlg_Bg.rc, dlls/commdlg/rsrc.rc, dlls/mpr/mpr.rc, dlls/mpr/mpr_Bg.rc, dlls/mshtml/Bg.rc, dlls/mshtml/rsrc.rc, dlls/msi/msi.rc, dlls/msi/msi_Bg.rc, dlls/msrle32/msrle_Bg.rc, dlls/msrle32/rsrc.rc, dlls/oleaut32/oleaut32.rc, dlls/oleaut32/oleaut32_Bg.rc, dlls/serialui/Bg.rc, dlls/serialui/serialui_rc.rc, dlls/setupapi/Bg.rc, dlls/setupapi/setupapi.rc, dlls/shdocvw/Bg.rc, dlls/shdocvw/shdocvw.rc, dlls/shell32/shell32_Bg.rc, dlls/shell32/shres.rc, dlls/user/resources/user32.rc, dlls/user/resources/user32_Bg.rc, dlls/wineps/rsrc.rc, dlls/wineps/wps_Bg.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_Bg.rc, dlls/winspool/Bg.rc, dlls/winspool/winspool.rc, programs/notepad/Bg.rc, programs/notepad/rsrc.rc, programs/regedit/Bg.rc, programs/regedit/rsrc.rc, programs/uninstaller/Bg.rc, programs/uninstaller/rsrc.rc, programs/winecfg/Bg.rc, programs/winecfg/winecfg.rc, programs/winhelp/Bg.rc, programs/winhelp/rsrc.rc: Milko Krachounov Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw, shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui, setupapi, wininet, regedit, uninstaller, notepad, winecfg and winhelp. * dlls/x11drv/winpos.c: Dmitry Timoshkov Use the event's width and height not the translated window rect to recognize a zero sized window in the ConfigureNotify handler. * include/hlink.idl: Aric Stewart Add the IHlinkFrame interface to hlink.idl. * dlls/hhctrl.ocx/help.c: James Hawkins Add initial toolbar button handling. * dlls/wined3d/directx.c: Oliver Stieber Return the adaptor mode as X8R8G8B8 when BPP is 24 or 32 bits. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/utils.c: Don't remove ignored symbols from the undefined list, simply skip them when resolving imports. Added get_temp_file_name utility function. * include/winsock2.h: Use the default structure packing like Windows does. * include/thread.h: Fixed the structure layout to be identical to the public one also on 64-bit platforms. * libs/wine/ldt.c: Removed sysi86 prototype that is causing conflicts. * dlls/shdocvw/shdocvw.spec, dlls/shlwapi/shlwapi.spec, tools/winebuild/parser.c: Take into account -noname functions when checking for duplicate export names. Fixed a couple of issues found by the stricter check. * dlls/ole32/defaulthandler.c: Robert Shearman - Remove redunant braces. - Compact multi-line comments that fit into one line. - Remove comments that state the obvious. - Remove extra brackets that are redundant because the -> operator binds tighter than &. - Change "this" to "This" to make code more like other interface implementations. - Remove redundant comparisons with NULL for pointers. * dlls/msvcrt/heap.c, dlls/msvcrt/msvcrt.spec, include/msvcrt/malloc.h: Vijay Kiran Kamuju Added __p__amblksiz implementation. * dlls/x11drv/xrender.c: Uwe Bonnes Don't free a modified pointer. * dlls/gdi/font.c: Huw Davies Fix a problem with handling ETO_GLPYH_INDEX. Spotted by Rob Shearman. * dlls/ole32/marshal.c: Robert Shearman Fix the return codes during unmarshaling so that it returns failure codes instead of S_FALSE returned from IStream_Read. * dlls/hhctrl.ocx/help.c: James Hawkins Check for an empty string not a NULL pointer. * dlls/mciavi32/mmoutput.c: Dmitry Timoshkov Directly copy DIB bits into destination DC. * dlls/wined3d/directx.c: Oliver Stieber Prevent CheckDepthStencilMatch from causing problems if there is a current active OpenGL context. * dlls/wined3d/device.c, dlls/wined3d/stateblock.c: Oliver Stieber Stop vertex shader constants from being set at the same time as the vertex shader when a stateblock is applied. * dlls/mshtml/Fi.rc, dlls/mshtml/rsrc.rc, dlls/msi/msi.rc, dlls/msi/msi_Fi.rc: Kimmo Myllyvirta Added Finnish resources. * dlls/oleaut32/typelib.c: Marcus Meissner Support more arguments in _invoke(). * dlls/urlmon/session.c, include/urlmon.idl: Jacek Caban - Added IHttpNegotiate2 interface. - Update BINDSTRING and IInternetSession. 2005-09-18 Alexandre Julliard * dlls/comctl32/header.c: Ge van Geldorp Do some bounds checking on iOrder. * dlls/commdlg/cdlg_No.rc, dlls/msi/msi.rc, dlls/msi/msi_No.rc, programs/uninstaller/No.rc, programs/uninstaller/rsrc.rc: Alexander N. Sørnes Added Norwegian translations. * dlls/kernel/kernel16_private.h, dlls/kernel/kernel32.spec, dlls/kernel/ne_module.c, dlls/kernel/relay16.c, dlls/winedos/relay.c, include/wine/winbase16.h, tools/winebuild/import.c, tools/winebuild/relay.c, tools/winebuild/spec16.c: Moved return value handling to the individual relay thunks so that we only need one version of wine_call_from_16. Patch the wine_call_from_16 address along with the cs value directly in the 16-bit code segment to avoid the need for special magic in the import thunks. * dlls/ntdll/heap.c: Fixed some trace format strings (reported by Gerald Pfeifer). * dlls/ntdll/relay.c, include/wine/port.h, tools/winebuild/import.c, tools/winebuild/relay.c, tools/winebuild/spec32.c: Make the users of wine_call_from_32_regs save %eax so that we don't need a special hack in the import thunk. Added a get_pc_thunk_eax function to simplify the code a bit. * dlls/comctl32/animate.c: Dmitry Timoshkov Call SetDIBits with a proper DC in order to set bitmap bits. * dlls/user/sysparams.c: Kimmo Myllyvirta If HKCU\Software\Wine does not yet exist, create it as non-volatile key, instead of volatile. * dlls/winedos/int21.c: Christian Lupien Avoid overflow in the read file limit check. * dlls/ole32/marshal.c, dlls/ole32/oleproxy.c, dlls/ole32/tests/marshal.c, dlls/oleaut32/tmarshal.c, dlls/rpcrt4/cproxy.c: Robert Shearman Fix ref-counting rules to match native DCOM Dlls. 2005-09-17 Alexandre Julliard * libs/wine/loader.c, tools/winebuild/import.c, tools/winebuild/res32.c, tools/winebuild/spec32.c: Store RVAs instead of pointers wherever possible in the generated NT header and directories. * programs/notepad/No.rc, programs/notepad/rsrc.rc: Alexander N. Sørnes Added Norwegian translation. * dlls/avifil32/avifile.c: Dmitry Timoshkov Revert previous change, it should not be needed anymore since a proper fix for mmioDescend regression has been committed. * dlls/msi/msipriv.h, dlls/msi/table.c: Mike McCormack Fix memory leaks in the table code. * dlls/msi/dialog.c: Mike McCormack Read the MaskEdit template from the correct db field. * dlls/ole32/defaulthandler.c: Robert Shearman Re-arrange some functions and vtables so we don't have declarations for all of the functions in the file. * dlls/comctl32/comctl32undoc.c: Ge van Geldorp Buffer size needs to be specified in bytes on input. * dlls/user/user_main.c: Robert Shearman GetDesktopWindow can now potentially create a thread, so we shouldn't call this function from DllMain otherwise it is possible to cause a deadlock. 2005-09-16 Alexandre Julliard * dlls/ntdll/Makefile.in, dlls/ntdll/signal_x86_64.c: Preliminary implementation of signal handling for x86-64. * dlls/winmm/mmio.c, dlls/winmm/tests/.cvsignore, dlls/winmm/tests/Makefile.in, dlls/winmm/tests/mmio.c, include/mmsystem.h: Dmitry Timoshkov Add a test for mmioDescend, make it pass under Wine. * dlls/msi/dialog.c: Mike McCormack Convert the list of dialog controls to a standard list. * tools/winebuild/import.c: Implemented import thunks for x86-64. * dlls/msi/database.c, dlls/msi/msipriv.h, dlls/msi/table.c: Mike McCormack Make load_string_table return the string table. * dlls/msi/dialog.c: Mike McCormack Deformat all dialog text strings before using them. * server/Makefile.in, server/context_x86_64.c: Preliminary version of the context support for x86-64. * dlls/ntdll/heap.c, dlls/ntdll/virtual.c: Fixed a few pointer truncation bugs for 64-bit platforms. * dlls/ntdll/server.c, server/request.c: Use the proper size for the cmsg_fd structure on 64-bit plaforms. * dlls/msvcrtd/msvcrtd.spec: Forward all functions to msvcrt instead of having them link directly to libc. * dlls/gdi/freetype.c: Huw Davies Order the bitmap font list by the ansi codepage bit position. Fix a few comments. * dlls/urlmon/tests/url.c: Jacek Caban More tests of URLMoniker. * fonts/.cvsignore, fonts/Makefile.in: Huw Davies Generate Greek, Turkish, Hebrew, Arabic, Baltic and Thai versions of MS Sans Serif. * tools/sfnt2fnt.c: Huw Davies Update sfnt2fnt hack, now that Wine Courier is known as Courier. * dlls/msi/dialog.c: Mike McCormack Load riched20.dll on demand, and unload it after it's used (based on a patch by Rob Shearman). * dlls/msi/action.c: Mike McCormack Fix a bug in a previous patch spotted by Dieter Komendera. * dlls/msi/msi.c, dlls/msi/msi.spec, include/msi.h: Mike McCormack Fix the stub for MsiConfigureFeature. * dlls/shdocvw/oleobject.c, dlls/shdocvw/shdocvw.h: Jacek Caban Added SetClientSite implementation. * dlls/wintrust/wintrust.spec, dlls/wintrust/wintrust_main.c: Stefan Leichter Added stubs for DllRegisterServer, DllUnregisterServer and WintrustSetRegPolicyFlags. * dlls/advapi32/security.c: Robert Shearman Fix String SID parsing. 2005-09-15 Alexandre Julliard * programs/winetest/main.c: Ivan Leo Puoti Get winetest to detect windows server 2003 R2. * dlls/urlmon/session.c: Fixed a compiler warning. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/relay.c, tools/winebuild/spec32.c, tools/winebuild/utils.c: Added a common function to declare global symbols, and make them hidden on platforms that support it. * fonts/.cvsignore, fonts/Makefile.in: Huw Davies Generate Greek, Turkish, Hebrew, Arabic and Baltic versions of Courier. * dlls/urlmon/Makefile.in, dlls/urlmon/session.c, dlls/urlmon/umon.c: Jacek Caban Added CoInternetGetSession implementation. * libs/wine/loader.c: Use the NT descriptor address as start of the data section, since the BaseOfData field isn't present in Win64. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/custom.c, dlls/msi/dialog.c, dlls/msi/events.c, dlls/msi/files.c, dlls/msi/format.c, dlls/msi/helpers.c, dlls/msi/install.c, dlls/msi/upgrade.c: Mike McCormack Rename load_dynamic_property and remove its unused 3rd argument. * dlls/Makedll.rules.in, tools/winebuild/import.c, tools/winebuild/res32.c, tools/winebuild/spec32.c, tools/winegcc/Makefile.in, tools/winegcc/winegcc.c: Now that everything is done in assembly in the spec file, directly generate a .s file to bypass gcc inefficiency with large data structures. * fonts/.cvsignore, fonts/Makefile.in: Huw Davies Generate Greek, Turkish, Hebrew, Arabic, Baltic, Thai, Japanese and Korean versions of the System font. All the non-latin glyphs are still blanks. * dlls/msi/action.c, dlls/msi/msipriv.h: Mike McCormack Use the new msi_reg_set* macros where possible. * dlls/x11drv/dib.c: Fixed gcc 4.0 warnings. * configure, configure.ac: Set the proper build flags for Darwin based on the CPU type instead of assuming PowerPC. * tools/winebuild/build.h, tools/winebuild/res32.c, tools/winebuild/spec32.c: Output the resource data in assembly too. * configure, configure.ac, include/config.h.in: Vincent Béron Tweak the test for detecting libxslt as it didn't work correctly on RH8. * programs/taskmgr/De.rc: Henning Gerhardt Update the German resource file. * dlls/msi/classes.c: Mike McCormack Create a macro to write a value to a subkey. * dlls/hhctrl.ocx/help.c: James Hawkins Embed the browser object in the HTML window. Spotted by Jacek Caban. * dlls/crypt32/cert.c, dlls/crypt32/crypt32.spec: Stefan Leichter Added stubs for CryptInitOIDFunctionSet and CryptUnregisterDefaultOIDFunction. * dlls/advapi32/registry.c, dlls/advapi32/service.c, dlls/advapi32/tests/registry.c: Rein Klazes - Set the LastError in OpenSCManager in case of errors; - Accept machine names without a '\\' prefix in OpenSCManager and RegConnectRegistry. - Add a regression test for that. * dlls/gdi/freetype.c: Huw Davies Remember to remove a child font from the child font list. 2005-09-14 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/spec32.c, tools/winebuild/utils.c: Output constant strings in a more appropriate section than .text. * programs/taskmgr/En.rc, programs/taskmgr/optnmenu.c, programs/taskmgr/taskmgr.c, programs/taskmgr/taskmgr.h, programs/taskmgr/trayicon.c: Thomas Weidenmueller Hook up "Hide on Minimize" & Add context menu to the tray icon. * dlls/gdi/freetype.c: Huw Davies Only add Tahoma to the System font's link list if we can actually find it. * dlls/hhctrl.ocx/webbrowser.c: James Hawkins - Zero the WBInfo struct to get rid of invalid pointers. - Store object pointers in the WBInfo struct as they're created. * dlls/comctl32/toolbar.c, include/commctrl.h: Robert Shearman - Add support for navigating a toolbar with the arrow keys. - Fix WrapToolbar in the case of no parent window. - Use the newly added NMTBINITCUSTOMIZE for sending the TBN_INITCUSTOMIZE so that it is safe on 64-bit platforms. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/parser.c, tools/winebuild/spec32.c, tools/winebuild/utils.c: Generate stub functions directly in assembly. * server/thread.c: Remove an exiting thread from the process only after thread cleanup to avoid accessing freed window classes. * dlls/msi/classes.c: Mike McCormack Create a macro function to write registry values. * dlls/gdi/freetype.c: Dmitry Timoshkov Perform automatic bitmap font configuration based on the current locale. * dlls/urlmon/Makefile.in, dlls/urlmon/ftp.c, dlls/urlmon/http.c, dlls/urlmon/urlmon_main.c, dlls/urlmon/urlmon_main.h: Jacek Caban Added http and ftp protocol stub implementation. * programs/taskmgr/taskmgr.c: Filip Navara Don't kill non-existing timers. Use EndDialog to close the dialog. * programs/taskmgr/procpage.c: Michael Fritscher Hook up "End Process" button. * dlls/x11drv/x11drv.h: Avoid a redefinition warning on 64-bit platforms. * dlls/setupapi/install.c, tools/wine.inf: Ge van Geldorp Base of REG_DWORD entries must be auto-detected. * dlls/msi/msipriv.h: Mike McCormack Remove some unused values in the object header. * dlls/gdi/freetype.c: Huw Davies Cope with OpenFontFile failing. * configure.ac: Vincent Béron Require autoconf 2.53b as AC_PROG_EGREP is only defined since that version. * dlls/ntdll/ntdll_misc.h, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, dlls/ntdll/thread.c, dlls/ntdll/virtual.c: Support arbitrary sizes for the thread signal stack, and set the default size from the MINSIGSTKSZ constant. * dlls/quartz/memallocator.c: Get rid of another long long constant. * dlls/urlmon/file.c, dlls/urlmon/tests/protocol.c: Jacek Caban Added MIME type checking to FileProtocol::Start. * programs/taskmgr/applpage.c, programs/taskmgr/perfpage.c, programs/taskmgr/procpage.c: Thomas Weidenmueller Use anonymous events for synchronization. * dlls/msi/database.c, dlls/msi/msipriv.h, dlls/msi/table.c: Mike McCormack Convert the list of tables to a standard list. * dlls/crypt32/tests/encode.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/rpc.c: Robert Shearman Add exception handling for stubs. * include/wine/rpcfc.h: Robert Shearman Define RPC_FC_RANGE. * dlls/mshtml/protocol.c, dlls/mshtml/tests/protocol.c: Jacek Caban Added MIME type checking to ResProtocol::Start. * dlls/setupapi/diskspace.c: Filip Navara Fix a couple of prototypes. * programs/taskmgr/about.c, programs/taskmgr/affinity.c, programs/taskmgr/applpage.c, programs/taskmgr/column.c, programs/taskmgr/dbgchnl.c, programs/taskmgr/graph.c, programs/taskmgr/graphctl.c, programs/taskmgr/graphctl.h, programs/taskmgr/perfpage.c, programs/taskmgr/proclist.c, programs/taskmgr/procpage.c, programs/taskmgr/taskmgr.c, programs/taskmgr/taskmgr.h: Thomas Weidenmueller Filip Navara DLGPROCs return INT_PTR. 2005-09-13 Alexandre Julliard * include/winbase.h: Implemented InterlockedCompareExchangePointer and InterlockedExchangePointer for x86-64. * dlls/gdi/gdiobj.c, dlls/kernel/local16.c, dlls/kernel/process.c, dlls/kernel/tests/mailslot.c, dlls/kernel/tests/thread.c, dlls/ntdll/rtlbitmap.c, dlls/oleaut32/tests/vartest.c, dlls/shlwapi/clist.c, dlls/shlwapi/tests/clist.c, dlls/version/install.c, dlls/version/tests/info.c, dlls/wininet/http.c, include/urlmon.idl, include/wincrypt.h, include/winerror.h: Remove the 'L' suffix on a number of constants to avoid comparison errors on 64-bit platforms. * dlls/user/message.c, dlls/user/tests/msg.c, server/queue.c: Timeout 0 means infinite wait for SendMessageTimeout. Remove the message from the receiver queue if it times out before being received. * programs/taskmgr/applpage.c, programs/taskmgr/graph.c, programs/taskmgr/graphctl.c, programs/taskmgr/graphctl.h, programs/taskmgr/perfpage.c, programs/taskmgr/proclist.c, programs/taskmgr/procpage.c, programs/taskmgr/taskmgr.h: Richard Cohen Jim Tabor, Thomas Weidenmueller 64 bit fixes -- Store Window procs as WNDPROC, cast to DWORD_PTR in SendMessageTimeout. * dlls/comctl32/listview.c: Michael Jung Fixed inconsistency in LISTVIEW_DUMP macro. * dlls/urlmon/internet.c: Jacek Caban Added PARSE_SECURITY_DOMAIN action implementation. * dlls/msi/msipriv.h, programs/rpcss/rpcss_main.c, programs/taskmgr/procpage.c: Get rid of a couple of non-portable long long constants. * dlls/msi/install.c, dlls/msi/tests/package.c: Mike McCormack Fix the handling of MsiGetTargetPath args (with test case). * dlls/msi/dialog.c: Mike McCormack Make sure to release the package we grabbed on the error path. * dlls/shell32/iconcache.c: Ge van Geldorp Save a few megabytes of memory by loading the default icon only once into the image lists. * include/wine/library.h, include/wine/pthread.h, libs/unicode/cptable.c, libs/wine/ldt.c, loader/kthread.c, loader/pthread.c: Avoid some warnings on 64-bit platforms. * dlls/msi/install.c, dlls/msi/tests/package.c: Mike McCormack Fix the handling of MsiDoAction args (with test case). * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/helpers.c: Mike McCormack Eliminate fixed length buffers from the MSIFEATURE structure. * dlls/oleaut32/olefont.c, dlls/oleaut32/tests/olefont.c: Walt Ogburn Get IFontDisp type information from stdole2.tlb, instead of IDispatch information from stdole32.tlb. * dlls/crypt32/tests/encode.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/msi/dialog.c: Mike McCormack Skip dash characters in the PIDMask for a MaskedEdit control. * dlls/hhctrl.ocx/Makefile.in, dlls/hhctrl.ocx/help.c, dlls/hhctrl.ocx/webbrowser.c, dlls/hhctrl.ocx/webbrowser.h: James Hawkins - Add the WebBrowser implementation. - Load the default Url in the HTML Pane. * dlls/winspool/info.c: Detlef Riekenberg Let EnumPrinterDrivers return the number of drivers. 2005-09-12 Alexandre Julliard * dlls/comctl32/comctl32undoc.c, dlls/comctl32/propsheet.c, dlls/comctl32/toolbar.c, dlls/comctl32/treeview.c, dlls/dbghelp/minidump.c, dlls/dinput/effect_linuxinput.c, dlls/dsound/propset.c, dlls/gdi/freetype.c, dlls/oleaut32/tests/vartest.c, dlls/oleaut32/tests/vartype.c, dlls/riched20/reader.c, dlls/riched20/style.c, dlls/secur32/thunks.c, dlls/setupapi/parser.c, dlls/shlwapi/reg.c, dlls/shlwapi/string.c, dlls/winmm/message16.c, dlls/winmm/winmm.c, dlls/winsock/socket.c, dlls/x11drv/xim.c, programs/winemenubuilder/winemenubuilder.c: Marcus Meissner The last argument to MultiByteToWideChar is wide character count and not the buffer size in bytes. Fixed all places where it was wrong. * dlls/urlmon/urlmon.inf: Jacek Caban Register ZoneMap. * dlls/kernel/thread.c, dlls/ntdll/thread.c: Eric Pouech Implemented kernel32.GetThreadTimes on top of ntdll's equivalent function. * dlls/comctl32/tests/updown.c, dlls/kernel/locale.c, dlls/kernel/module.c, dlls/kernel/resource16.c, dlls/kernel/selector.c, dlls/user/dialog.c, dlls/user/menu.c, dlls/user/message.c, dlls/user/winproc.c, include/win.h, include/winnt.h: Fixed a few more pointer to integer typecast issues for 64-bit platforms. * dlls/riched20/editor.c, dlls/riched20/editstr.h, dlls/riched20/writer.c: Fixed gcc 4.0 warnings. * dlls/shdocvw/shdocvw.h, dlls/shdocvw/webbrowser.c: Jacek Caban Added IWebBrowser2 stub implementation. * dlls/ole32/tests/marshal.c, dlls/user/message.c, dlls/user/user_main.c: SendMessageTimeout takes a DWORD_PTR not a DWORD. * tools/winegcc/utils.c: Properly handle the case where vsnprintf returns -1. * dlls/avifil32/acmstream.c: Fixed gcc 4.0 warnings. * dlls/user/controls.h, dlls/user/nonclient.c: Make the non-client message handling functions return an LRESULT. * dlls/atl/registrar.c, dlls/kernel/locale.c, dlls/kernel/resource16.c, dlls/oleaut32/vartype.c, dlls/user/dialog.c, dlls/user/dialog16.c: Use MAKEINTRESOURCE instead of casts where appropriate. * dlls/avifil32/avifile.c: Alex Villacís Lasso Initialize structs for mmioDescend and FindChunkAndKeepExtras - fixes AVI file recognition. * tools/widl/header.c, tools/widl/header.h, tools/widl/parser.l, tools/widl/parser.y, tools/widl/widl.c, tools/widl/widltypes.h: Robert Shearman - Output prototypes for user marshal functions at the end of the header and by use. - Add support for range and ptr attributes and for the "small" base type. * dlls/mshtml/protocol.c: Jacek Caban Encode URL in ResProtocol::Start. * dlls/urlmon/tests/misc.c, dlls/urlmon/umon.c, dlls/urlmon/urlmon_main.c: Jacek Caban Rewrote FindMimeFromData to pass tests. * dlls/ddraw/surface_wndproc.c: Use Get/SetWindowLongPtr to access pointers in the window extra bytes. * dlls/user/listbox.c: Avoid truncating the item data to 32 bits in LB_SETITEMDATA. * dlls/kernel/process.c: Parameters to virtual memory functions need to be SIZE_T. * dlls/kernel/locale.c: Dmitry Timoshkov strcpynAtoW takes number of characters, not bytes. * dlls/avicap32/avicap32_main.c: Fixed gcc 4.0 warnings. * include/wingdi.h: Dmitry Timoshkov EXTLOGPEN.elpHatch can contain a handle as well. * dlls/crypt32/tests/encode.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/helpers.c: Mike McCormack Eliminate yet more fixed length buffers. * dlls/advapi32/registry.c, dlls/avifil32/getframe.c, dlls/dbghelp/coff.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/kernel/dosmem.c, dlls/kernel/kernel_private.h, dlls/msacm/format.c, dlls/msacm/stream.c, dlls/msvcrt/cppexcept.c, dlls/msvcrt/locale.c, dlls/ntdll/directory.c, dlls/ntdll/exception.c, dlls/ntdll/sec.c, dlls/ntdll/virtual.c, dlls/opengl32/wgl.c, dlls/setupapi/queue.c, dlls/user/caret.c, dlls/user/exticon.c, dlls/user/spy.c, dlls/version/info.c, dlls/x11drv/event.c, dlls/x11drv/keyboard.c, include/windowsx.h, tools/winebuild/res32.c, tools/winedump/debug.c, tools/wrc/newstruc.c: Fixed a number of pointer to integer conversions that wouldn't work right on a 64-bit platform. * dlls/msi/msiquery.c: Fixed memory leak introduced in previous change. * dlls/ddraw/ddraw_main.c, dlls/ddraw/surface_main.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/kernel/instr.c, dlls/kernel/local16.c, dlls/kernel/ne_module.c, dlls/kernel/resource16.c, dlls/kernel/task.c, dlls/kernel/thunk.c, dlls/msacm/driver.c, dlls/msacm/msadp32/msadp32.c, dlls/msacm/msg711/msg711.c, dlls/msacm/pcmconverter.c, dlls/msacm/tests/msacm.c, dlls/quartz/filtergraph.c, dlls/user/driver16.c, dlls/user/message.c, dlls/user/resource.c, dlls/version/resource.c, dlls/vmm.vxd/vmm.c, dlls/winaspi/winaspi32.c, dlls/wined3d/swapchain.c, dlls/wininet/utility.c, dlls/winmm/driver.c, dlls/winmm/winealsa/audio.c, dlls/winsock/socket.c, dlls/wintab32/context.c: Fixed some more traces to use the right printf format and avoid typecasts. * dlls/user/button.c, dlls/user/combo.c, dlls/user/edit.c, dlls/user/listbox.c, dlls/user/menu.c: Use Get/SetWindowLongPtr when accessing pointers in the window extra bytes. * dlls/shell32/cpanelfolder.c, dlls/shell32/shlexec.c, dlls/shell32/tests/shlexec.c: Ge van Geldorp Fix execution of Control Panel items. * include/winuser.h: Ivan Leo Puoti Added a missing define. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/helpers.c: Mike McCormack Fix more fixed length buffers. * dlls/user/tests/class.c: Use Get/SetClassLongPtr to access the module handle. * dlls/user/listbox.c: The item user data has to be a ULONG_PTR. * libs/wine/loader.c: Only add the default dlldir to the search path if that's where ntdll is found. * dlls/gdi/brush.c, dlls/gdi/enhmetafile.c, dlls/gdi/enhmfdrv/objects.c, dlls/gdi/tests/metafile.c, include/wingdi.h: LOGBRUSH.lbHatch must be a ULONG_PTR since it can contain a handle. * dlls/msi/msiquery.c: Avoid non-portable va_list manipulations. * dlls/x11drv/xrender.c: Huw Davies Use the gasp table to check whether we should trigger antialiasing. * dlls/urlmon/file.c: Jacek Caban Encode URL in file protocol. * dlls/comctl32/comctl32.h, dlls/comctl32/commctrl.c, dlls/comctl32/theming.c: Frank Richter Unregister theming subclasses at comctl32 shutdown; should fix reported re-registration errors. * dlls/urlmon/tests/protocol.c: Jacek Caban Fix protocol test. * dlls/hhctrl.ocx/Fi.rc, dlls/hhctrl.ocx/hhctrl.rc, dlls/serialui/Fi.rc, dlls/serialui/serialui_rc.rc, dlls/shdocvw/Fi.rc, dlls/shdocvw/shdocvw.rc, dlls/winspool/Fi.rc, dlls/winspool/winspool.rc, programs/winemine/Fi.rc, programs/winemine/rsrc.rc: Kimmo Myllyvirta Added Finnish resources. * include/exdisp.idl: Jacek Caban Added missing attributes. * include/exdispid.h: Jacek Caban Added more definitions. * dlls/msi/helpers.c: Mike McCormack Make sure not to access invalid components or features. * dlls/urlmon/Makefile.in: Jacek Caban Added urlmon.inf as dependency of rsrc.res. * include/shlobj.h: Fixed the binary layout gcc hacks to do the right thing for gcc 4.0. * dlls/winedos/int21.c, dlls/winmm/mci.c, dlls/winmm/message16.c, dlls/winmm/winemm.h: Fixed gcc 4.0 warnings. * dlls/ntdll/env.c, dlls/ntdll/handletable.c, dlls/ntdll/loader.c, dlls/ntdll/server.c, dlls/ntdll/thread.c: Use SIZE_T instead of ULONG for the size arguments of the virtual memory functions. * dlls/dinput/device.c, dlls/dinput/dinput_main.c, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c, dlls/dsound/buffer.c, dlls/dsound/duplex.c, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/gdi/printdrv.c, dlls/imm32/imm.c, dlls/iphlpapi/iphlpapi_main.c, dlls/kernel/change.c, dlls/kernel/except.c, dlls/msrle32/msrle32.c, dlls/ntdll/cdrom.c, dlls/ole32/ole2.c, dlls/user/cursoricon.c, dlls/x11drv/clipboard.c, dlls/x11drv/xim.c: Fixed some traces to use the right printf format and avoid typecasts. * configure, configure.ac: Only try to set -mpreferred-stack-boundary on i386. Add -Wdeclaration-after-statement warning if supported. * dlls/msi/dialog.c: Mike McCormack Fix an uninitialized variable problem. * dlls/urlmon/internet.c, dlls/urlmon/tests/misc.c: Jacek Caban Added PARSE_SECURITY_URL action implementation. * dlls/wintrust/wintrust_main.c: Paul Vriens Return ERROR_SUCCESS as default and TRUST_E_PROVIDER_UNKNOWN if asked for WINTRUST_ACTION_GENERIC_VERIFY_V2. * dlls/mshtml/protocol.c, dlls/mshtml/tests/protocol.c: Jacek Caban Added *ProtocolInfo::ParseUrl implementation. * dlls/shdocvw/events.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/webbrowser.c: Jacek Caban Make IConnectionPointContainer interface heap based. * dlls/shell32/tests/shellpath.c: Juan Lang Remove an annoying dialog when trying to clean up a directory. * dlls/user/tests/msg.c, dlls/x11drv/winpos.c: Dmitry Timoshkov Add a test for ShowWindow(SW_SHOWMAXIMIZED) called for a not visible overlapped window, which shows that WM_SHOWWINDOW is not sent in that case and that it should activate a window and bring it to top. * dlls/crypt32/cert.c, dlls/crypt32/tests/cert.c: Juan Lang When decoding a signed cert, make sure it's really a cert. 2005-09-09 Alexandre Julliard * dlls/comctl32/tests/subclass.c, dlls/gdi/tests/bitmap.c, dlls/user/tests/class.c, dlls/user/tests/menu.c, dlls/user/tests/msg.c, dlls/user/tests/win.c, programs/taskmgr/graph.c, programs/taskmgr/perfpage.c, programs/taskmgr/procpage.c, programs/wineconsole/dialog.c, programs/winedbg/gdbproxy.c, programs/winedbg/info.c, programs/winefile/winefile.c, programs/winhelp/winhelp.c: Use Get/SetWindowLongPtr instead of Get/SetWindowLong where appropriate. * dlls/comctl32/comctl32.spec, dlls/dbghelp/dbghelp.spec, dlls/kernel/kernel32.spec, dlls/mapi32/mapi32.spec, dlls/msvcrt/msvcrt.spec, dlls/ntdll/ntdll.spec, dlls/oleaut32/oleaut32.spec, dlls/shell32/shell32.spec, dlls/shlwapi/shlwapi.spec, dlls/user/user32.spec, dlls/uxtheme/uxtheme.spec, dlls/wininet/wininet.spec: Specify 64-bit integers as double instead of long long in spec files so that we get the correct number of arguments. * dlls/oleaut32/tests/vartype.c, dlls/oleaut32/vartype.c: Alex Villacís Lasso Make Single|Double->BSTR conversion use the specified locale for the decimal point even without the LOCALE_USE_NLS flag. Test supplied. * dlls/d3d8/vshaderdeclaration.c: Mike McCormack Fix gcc 4.0 warning. * dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/helpers.c: Mike McCormack Move a fixed size buffer to the heap. * dlls/msi/action.c: Mike McCormack Reduce the indent level of a function. * dlls/ntdll/virtual.c: Added descriptions for a few more machine types. * dlls/user/user_main.c: Francois Gouget If given the EWX_FORCE flag, ExitWindowsEx() should not send the WM_{QUERY}ENDSESSION messages. Add support for EWX_FORCEIFHUNG. ExitWindowsEx() should return true if it succeeds, even if the user cancels the shutdown. * dlls/advapi32/service.c, dlls/dinput/joystick_linux.c, dlls/dinput/keyboard.c, dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/duplex.c, dlls/gdi/driver.c, dlls/gdi/gdiobj.c, dlls/kernel/console.c, dlls/kernel/kernel_main.c, dlls/kernel/lcformat.c, dlls/kernel/module.c, dlls/kernel/profile.c, dlls/kernel/syslevel.c, dlls/kernel/vxd.c, dlls/mscms/handle.c, dlls/msi/handle.c, dlls/ntdll/cdrom.c, dlls/ntdll/critsection.c, dlls/ntdll/directory.c, dlls/ntdll/exception.c, dlls/ntdll/heap.c, dlls/ntdll/loader.c, dlls/ntdll/rtl.c, dlls/ntdll/time.c, dlls/ntdll/virtual.c, dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/git.c, dlls/ole32/ifs.c, dlls/ole32/rpc.c, dlls/oleaut32/typelib.c, dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpcrt4_main.c, dlls/shell32/changenotify.c, dlls/shell32/iconcache.c, dlls/user/cursoricon.c, dlls/user/dde_misc.c, dlls/user/message.c, dlls/user/user_main.c, dlls/user/winproc.c, dlls/winaspi/winaspi32.c, dlls/winedos/dosvm.c, dlls/winedos/vga.c, dlls/wininet/internet.c, dlls/winmm/winealsa/midi.c, dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/midi.c, dlls/winmm/winmm.c, dlls/winsock/async.c, dlls/winspool/info.c, dlls/x11drv/dce.c, dlls/x11drv/dib.c, dlls/x11drv/x11drv_main.c, dlls/x11drv/xdnd.c, dlls/x11drv/xfont.c, dlls/x11drv/xrender.c, include/winnt.h: Use a more portable scheme for storing the name of a critical section. * dlls/shdocvw/misc.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/webbrowser.c: Jacek Caban Make IQuickActivate interface heap based. * dlls/winmm/playsound.c: Ulrich Czekalla Display fccType as hex instead of characters in trace output. * configure, configure.ac: Added a define check for __x86_64__. * tools/winedump/dump.c: Fixed get_time_str definition to match the prototype. * tools/winapi/win32.api: Vincent Béron Update the win32.api file to current CVS. * dlls/dinput/effect_linuxinput.c: Vincent Béron Use proper ifdefs around unistd.h. * dlls/crypt32/cert.c, dlls/crypt32/tests/cert.c: Juan Lang - call CertFreeCertificateContext from CertDeleteCertificateFromStore - fix some ref counting problems * dlls/urlmon/regsvr.c, dlls/urlmon/tests/protocol.c, dlls/urlmon/urlmon_main.h, include/urlmon.idl: Jacek Caban Move protocol's CLSIDs to urlmon.idl. * dlls/urlmon/internet.c, dlls/urlmon/tests/misc.c: Jacek Caban Added PARSE_PATH_FROM_URL action implementation. * dlls/urlmon/rsrc.rc, dlls/urlmon/version.rc: Stefan Leichter Added version resource to urlmon.dll. 2005-09-08 Alexandre Julliard * dlls/ntdll/exception.c: Define GET_IP for x86_64. * libs/wine/port.c: Implemented wine_switch_to_stack for x86_64. * dlls/winmm/driver.c, dlls/winmm/lolvldrv.c: Avoid 'clobbered by longjmp' warnings. * fonts/.cvsignore, fonts/Makefile.in, fonts/courier.sfd, fonts/marlett.sfd, fonts/ms_sans_serif.sfd, fonts/system.sfd, fonts/wine_courier.sfd, fonts/wine_marlett.sfd, fonts/wine_sans_serif.sfd, fonts/wine_system.sfd: Dmitry Timoshkov Rename Wine fonts to match Windows font names. * dlls/wldap32/control.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_create_sort_control*. * dlls/crypt32/cert.c, dlls/crypt32/tests/cert.c: Juan Lang - implement system stores - remove an intermittently failing registry test * dlls/shdocvw/classinfo.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/webbrowser.c: Jacek Caban Make IProvideClassInfo2 interface heap based. * dlls/winmm/mmio.c: Ulrich Czekalla ckid not fccType specifies the form type to search for. * dlls/mshtml/protocol.c: Jacek Caban Release BINDINFO in *Protocol::Start. * dlls/gdi/font.c: Huw Davies Fix return value of ExtTextOut in the case when count == 0. * dlls/shell32/shlexec.c: Dmitry Timoshkov Pass a locally modified version of SHELLEXECUTEINFO to IShellExecuteHookW_Execute, this should pass through at least sei_tmp.nShow retrieved from an .lnk file (fStartup). * tools/winedump/lnk.c: Dmitry Timoshkov Dump more .lnk file header fields. * dlls/shell32/debughlp.c: Dmitry Timoshkov - Stop using a not initialized variable szTemp in _dbg_ILSimpleGetText, make _dbg_ILSimpleGetText return no value since nobody is using it. - Stop dereferencing a possible NULL in pdump since _dbg_ILGetDataPointer can potentially return NULL (for instance for root or desktop pidl). - Make shdebugstr_guid use standard wine_dbg_sprintf instead of the handmade solution. * dlls/ntdll/version.c: Fixed a comment. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/helpers.c: Mike McCormack Allocate memory rather than using fixed length buffers. * dlls/msi/custom.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack Convert RunningActions array into a list. * dlls/kernel/ne_module.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/gdi/font.c, dlls/gdi/freetype.c: Huw Davies Have ExtTextOut call into the font linking mechanism. GetCharWidth, GetCharABCWidths and GetTextExtentPoint should return the widths of a linked font's glyphs. * include/sqltypes.h: Phil Krylov Added typedefs SQLWCHAR and SQLTCHAR. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/parser.c, tools/winebuild/spec32.c: Added support for 64-bit format NT header and export/import tables. * dlls/crypt32/cert.c, dlls/crypt32/encode.c: Avoid a couple of 'clobbered by longjmp' warnings. * dlls/avifil32/api.c, dlls/cards/cards.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/ntdll/server.c: Fix a file descriptor leak when opening the first file on a removable device. * dlls/msi/format.c: Mike McCormack Improve a fixme message a little. * dlls/msi/classes.c: Mike McCormack - fix a bug introduced by the progid list conversion - make a fixme a little less alarmist * dlls/msi/events.c, dlls/msi/helpers.c: Mike McCormack Fix memory leaks. * dlls/msi/action.c: Mike McCormack Remove an unnecessary level of indent. * dlls/msi/custom.c: Mike McCormack Fix memory leaks in custom actions. * dlls/winmm/winealsa/midi.c: Christian Costa Improve midi trace. * dlls/rpcrt4/ndr_marshall.c, include/rpcndr.h: Ge van Geldorp Fix NdrServerContextMarshall prototype. * dlls/winmm/mmio.c: Ulrich Czekalla Remove redundant check. * dlls/shdocvw/persist.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/webbrowser.c: Jacek Caban Make IPersist* interfaces heap based. * dlls/urlmon/umon.c, dlls/urlmon/urlmon_main.c: Jacek Caban Added ReleaseBindInfo implementation. * dlls/mpr/mpr_main.c: Ge van Geldorp Fix DllCanUnloadNow prototype. * dlls/wldap32/Makefile.in, dlls/wldap32/control.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_control_free*, ldap_controls_free* and ldap_free_controls*. * dlls/crypt32/cert.c, dlls/crypt32/tests/cert.c: Juan Lang Implement system registry stores. * dlls/crypt32/tests/encode.c: Juan Lang Convert a few more constants from strings to byte arrays. 2005-09-07 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/spec32.c, tools/winebuild/utils.c: Added a bit of framework for future x86_64 support. * dlls/shell32/tests/shlfolder.c: Michael Jung Removed two todo_wine's around tests that meanwhile succeed on wine. * dlls/shell32/shfldr_unixfs.c: Michael Jung Pass correct pointer to SHFree in case of failure in UNIXFS_path_to_pidl. Return E_FAIL if we can't get the unix path in IPersistFolder3::InitializeEx. Return E_NOAGGREGATION if non-NULL pUnkOuter is given to the constructor. * dlls/dsound/tests/propset.c, programs/winecfg/driveui.c, programs/winefile/winefile.c: Replace a few more direct lpVtbl accesses by the proper macros. * dlls/gdi/freetype.c, dlls/gdi/gdi32.spec, dlls/gdi/gdi_private.h: Huw Davies Implement FontIsLinked. * tools/wine.inf: Christoph Frick Fake directx 9c instead of 9b. * dlls/msi/msi.c: Aric Stewart Implement MsiReinstallFeature. * dlls/crypt32/Makefile.in, dlls/crypt32/cert.c, dlls/crypt32/tests/Makefile.in, dlls/crypt32/tests/cert.c: Juan Lang Implement registry stores. * dlls/kernel/thread.c, dlls/ntdll/thread.c: Eric Pouech Implemented kernel32:SetThreadPriority on top of ntdll's equivalent functions. * dlls/dinput/joystick_linuxinput.c: Use the COM macros instead of accessing lpVtbl directly. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/res32.c, tools/winebuild/spec32.c: Generate the NT header in assembly instead of using a C structure. * dlls/commdlg/printdlg.c, dlls/crypt32/tests/encode.c, dlls/mlang/mlang.c, dlls/mlang/tests/mlang.c, dlls/quartz/filtergraph.c, dlls/quartz/filtermapper.c, dlls/winmm/winmm.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/urlmon/Makefile.in, dlls/urlmon/internet.c, dlls/urlmon/tests/misc.c, dlls/urlmon/urlmon.spec: Jacek Caban Added CoInternetParseUrl implementation. * dlls/gdi/freetype.c: Huw Davies get_glyph_index should return the nonexistent glyph for bitmap fonts when a unicode character cannot be represented as a single byte in the font's codepage. * programs/winecfg/Ja.rc: Vikram Kumar Update Japanese resource file to include the Theme tab. * dlls/wininet/http.c: Wrong flags were being tested for INTERNET_FLAG_NO_AUTO_REDIRECT. * include/oleidl.idl: Mike McCormack Fix a typo. * dlls/dinput/joystick_linuxinput.c: Mike McCormack Fix warnings for no force feedback case. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/files.c, dlls/msi/helpers.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack Keep temporary files in a seperate list. * dlls/user/win.c: Don't fallback to LoadMenu16 when the window is created with a null instance. * dlls/user/edit.c: Only access 16-bit stack if really necessary. * dlls/wined3d/directx.c, dlls/wined3d/surface.c, dlls/wined3d/utils.c: Karsten Elfenbein Added A2R10G10B10 and D3DFMT_D24FS8 modes to all other functions. * dlls/wldap32/misc.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec, include/winldap.h: Hans Leidekker Implement ldap_escape_filter_element*. * dlls/hhctrl.ocx/help.c: James Hawkins Call CHM_CloseCHM to avoid a memory leak. * dlls/msi/suminfo.c: Mike McCormack Don't include the terminating nul in the length in MsiSummaryInfoGetPropertyW. * dlls/msi/tests/package.c: Mike McCormack - add test for MsiGetSourcePath - don't specify drive for package path * dlls/shdocvw/oleobject.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/webbrowser.c: Jacek Caban Make IOleControl and IOleInPlaceObject interface heap based. * dlls/kernel/path.c: Aric Stewart Fix the translation of dest to DestW, having it be NULL vs "" has different meanings for MoveFileEx. * dlls/urlmon/sec_mgr.c: Jacek Caban - Added IInternetSecurityManager::[SG]etSecuritySite implementation. - Forward IInternetSecurityManager calls to custom manager. * dlls/oleaut32/tmarshal.c: Marcus Meissner VT_PTR->VT_USERDEFINED chains depend on the TKIND of the userdefined type due to our handling of COM interfaces in there. * dlls/shell32/pidl.c, dlls/shell32/tests/shlfolder.c: Michael Jung Don't clone pidlLast in SHBindToParent. * dlls/ole32/storage32.c, dlls/ole32/tests/storage32.c: Richard Cohen Relax the share mode validation for transacted storage, with a test. * dlls/gdi/freetype.c, dlls/gdi/gdi_private.h: Huw Davies Add infrastructure for font linking. WineEngGetLinkedHFont will be used by ExtTextOut to provide an HFONT that will contain a valid glyph. * documentation/PACKAGING: Marcus Meissner Remove ETCDIR mention. 2005-09-06 Alexandre Julliard * dlls/gdi/gdi16.c, dlls/wineps/escape.c, dlls/wineps/psdrv.h, include/wine/wingdi16.h, include/wingdi.h: Marcus Meissner Added DRAWPATTERNRECT Escape() 16<->32 mapper and stub in WINEPS. * include/wine/server_protocol.h, server/named_pipe.c, server/protocol.def, server/trace.c, dlls/kernel/sync.c, dlls/ntdll/file.c: Ivan Leo Puoti Added FSCTL_PIPE_LISTEN support. * dlls/shell32/tests/shlfolder.c: Saulius Krasuckas SHELL32.ILFindLastID is exported by ordinal. * dlls/msi/msi.c: Aric Stewart Be sure to null terminate the string in MsiGetProductInfoA after the W->A conversion using MsiGetProductInfoW if there is space. * dlls/gdi/freetype.c: Huw Davies Store the selected ppem in the GdiFont. * dlls/kernel/Makefile.in: Marcus Meissner Remove -DETCDIR (unused). * dlls/cfgmgr32/main.c, dlls/setupapi/devinst.c, include/Makefile.in, include/cfgmgr32.h, include/ddk/cfgmgr32.h: Detlef Riekenberg Moved cfgmgr32.h to include/ddk/. * dlls/comctl32/comctl32undoc.c: Aric Stewart Reading the MRUlist using the W functions we need to divide the size by sizeof(WCHAR) to get the count of characters. * dlls/msvcrt/tests/string.c: Vijay Kiran Kamuju Added a test for failing _ismbblead. * dlls/shdocvw/factory.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/webbrowser.c: Jacek Caban - Make WebBrowser heap based object. - Improve stubs. * dlls/kernel/ne_module.c: Alex Villacís Lasso Check against NULL libname in LoadModule16. * dlls/user/edit.c, dlls/user/tests/edit.c: Michael Kaufmann - Fix text placement. - Paint the border correctly if its size is bigger than 1 pixel. - Don't paint text over the border. - Fix the edit control placement tests: Put the edit box in a parent window. - Tidied up the edit control tests. * dlls/msi/tests/.cvsignore, dlls/msi/tests/Makefile.in, dlls/msi/tests/package.c: Mike McCormack Aric Stewart Test creating a package. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/helpers.c: Mike McCormack Avoid fixed length buffers for conditions. * dlls/msi/install.c, dlls/msi/msipriv.h, dlls/msi/suminfo.c: Mike McCormack Fixes for MsiGetSourcePath parameter handling. * dlls/msi/msi.c, dlls/msi/msi.spec, include/msi.h: Aric Stewart Added stub implementations for MsiEnumPatchesA/W. * dlls/shlwapi/shlwapi.rc, dlls/shlwapi/version.rc: Stefan Leichter Added version resource to shlwapi.dll. * dlls/dinput/effect_linuxinput.c, dlls/dinput/joystick_linuxinput.c: Daniel Remenak - Allow the creation of an FF effect while the joystick is not acquired. - Failing to download an effect after setting parameters is not a fatal error. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c, dlls/rpcrt4/ndr_ole.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/tests/rpc.c, dlls/uxtheme/system.c, programs/winhelp/hlpfile.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/kernel/process.c, dlls/kernel/toolhelp.c, dlls/ntdll/process.c, include/winternl.h, server/process.c: Eric Pouech - rewrite kernel32:{Set|Get}PriorityClass on top of ntdll equivalent - priority for process in wineserver is now the NTDLL form (no longer the kernel32 one) * dlls/msi/helpers.c: Mike McCormack Remove an unnecessary level of indent. * include/msi.h: Mike McCormack Add the INSTALLMODE enumeration. * dlls/msi/suminfo.c, dlls/msi/tests/suminfo.c: Mike McCormack - fix MsiSummaryInfoGetProperty to return ERROR_MORE_DATA if the buffer is too small (based on a patch by Aric Stewart) - add a test case to show correct behaviour * dlls/commdlg/printdlg16.c: Marcus Meissner PrintDlg16: Copy back the Flags, nFromPage, nToPage and nCopies struct members after the print dialog finishes. * dlls/dinput/joystick_linuxinput.c: Daniel Remenak - Allow enumeration of objects when the device is not yet acquired. - Flag FF-capable axes during enumeration. * dlls/kernel/thunk.c, dlls/msvcrt/misc.c, dlls/ole32/errorinfo.c, include/dbghelp.h, include/sqlext.h: Eric Pouech Fixes for function prototypes without arguments. * dlls/urlmon/Makefile.in, dlls/urlmon/file.c, dlls/urlmon/tests/.cvsignore, dlls/urlmon/tests/Makefile.in, dlls/urlmon/tests/protocol.c, dlls/urlmon/urlmon_main.c, dlls/urlmon/urlmon_main.h: Jacek Caban Added file protocol implementation. * dlls/ntdll/atom.c, include/winternl.h: James Hawkins Correct third parameter of NtQueryInformationAtom. * fonts/wine_marlett.sfd: Richard Cohen Redraw "Restore window" without overlapping splines. * dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/helpers.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack Convert progids to a standard list. * programs/winecfg/Ru.rc: Yuri Kozlov Updated Russian resources. * dlls/advpack/advpack.c, dlls/advpack/advpack.spec: Markus Amsler Add a stub for IsNtAdmin. * dlls/kernel/process.c: Ivan Leo Puoti Get ExitProcess to call NtTerminateProcess. * dlls/msi/database.c: Aric Stewart Add the GUID for Patch files so that they can be opened as well. Looks like the database structure is pretty much the same. * dlls/gdi/freetype.c: Huw Davies Build a list of font links read in from the registry. * tools/winapi/winapi_module_user.pm, tools/winapi/winapi_parser.pm: Francois Gouget 'volatile' is valid everywhere where 'const' is valid. This fixes parsing of the new InterlockedExchange() prototype. * dlls/twain/dsm_ctrl.c: Mike McCormack Don't crash if the twain device name is null. * dlls/msi/action.c, dlls/msi/source.c: Mike McCormack Make some fixme messages less alarmist. * dlls/setupapi/Fi.rc, dlls/setupapi/setupapi.rc, programs/winecfg/Fi.rc, programs/winecfg/winecfg.rc: Kimmo Myllyvirta Added Finnish resources. * dlls/kernel/instr.c: Phil Krylov Fixed compilation of kernel32.dll.so on non-x86 processors. * include/urlmon.idl: Jacek Caban - Update GetSecurityId declaration. - Add declaration of CoInternetParseUrl and INET_E_DEFAULT_ACTION. * dlls/msi/tests/db.c: Saulius Krasuckas Older platforms choke on a NULL as the third parameter to MsiViewGetError. * dlls/hhctrl.ocx/Makefile.in, dlls/hhctrl.ocx/chm.c, dlls/hhctrl.ocx/chm.h, dlls/hhctrl.ocx/help.c: James Hawkins - Add the CHM Utility API. - Load help window values from the CHM file. * dlls/wintrust/.cvsignore, dlls/wintrust/Makefile.in, dlls/wintrust/version.rc: Stefan Leichter Added version resource to wintrust.dll. * dlls/dinput/joystick_linuxinput.c: Daniel Remenak Protect FF_STATUS usage to avoid compile errors on machines with old linux/input.h. * dlls/uxtheme/msstyles.c: Gerald Pfeifer #include to get abs() prototype. 2005-09-03 Alexandre Julliard * configure, configure.ac: We shouldn't use flat namespace for dlls on Mac OS. Also don't hide undefined symbol errors. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/spec32.c: Output the delayed import table using assembly too. * tools/winegcc/winegcc.c: Implemented --image-base support for Mac OS. * dlls/kernel/pthread.c, dlls/kernel/thread.c, dlls/ntdll/server.c, dlls/ntdll/thread.c, include/wine/pthread.h, libs/wine/port.c, libs/wine/wine.def, libs/wine/wine.map, loader/kthread.c, loader/main.c, loader/main.h, loader/pthread.c: Use explicit function pointers for pthread support instead of relying on ELF symbol overriding. * dlls/winecrt0/dll_entry.c: Make sure to always call the destructors when the constructors have been called from the dll entry point. * programs/winecfg/Nl.rc: Paul Vriens Update for the 'Install theme' button. * dlls/urlmon/format.c, dlls/urlmon/tests/misc.c, dlls/urlmon/urlmon.spec: Jacek Caban Added RegisterFormatEnumerator and RevokeFormatEnumerator implementation. * dlls/crypt32/cert.c, dlls/crypt32/tests/cert.c: Juan Lang Correct a test that incorrectly showed signed certs couldn't be added to a mem store. Support signed certs in mem stores. Correct use of a freed pointer. * dlls/dinput/joystick_linuxinput.c: Daniel Remenak Implement EnumEffects, CreateEffect, EnumCreatedEffects, SendForceFeedbackCommand, and GetForceFeedbackStatus for linux input joysticks. * configure, configure.ac, dlls/msxml3/Makefile.in, dlls/msxml3/msxml_private.h, dlls/msxml3/node.c, dlls/msxml3/nodelist.c, include/config.h.in: Mike McCormack Implemented IXMLDOMNode::selectNodes. * dlls/winecrt0/drv_entry.c: There's no way to properly unload a driver, so don't try. * dlls/shell32/tests/shellpath.c: Juan Lang Fix a test failing on Windows. Reported by Katerina Nizhnik. * dlls/crypt32/main.c, dlls/crypt32/tests/main.c: Juan Lang Improve CryptAlgIdToOID/CryptOIDToAlgId tests, and prevent a crash in CryptOIDToAlgId. * dlls/wined3d/device.c: Oliver Stieber Implemented point sprites using ARB_POINT_SPRITE extension. * dlls/urlmon/tests/Makefile.in, dlls/urlmon/tests/url.c, dlls/urlmon/umon.c: Jacek Caban Added CreateAsyncBindCtxEx implementation. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Correct a bunch of lurking asn.1 decode bugs. 2005-09-02 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/spec32.c: Output the import directory using assembly instead of C structures. * dlls/winecrt0/Makefile.in, dlls/winecrt0/drv_entry.c, tools/winebuild/import.c: Added an entry point routine for native drivers. * dlls/atl/registrar.c, dlls/atl/rsrc.rc: Stefan Leichter Fixed id of the REGISTRY resource. * dlls/dinput/Makefile.in, dlls/dinput/effect_linuxinput.c: Daniel Remenak Added a linux input system force feedback effect implementation. * dlls/mshtml/nsembed.c: Fixed C99 declaration. * dlls/dbghelp/elf_module.c, dlls/dbghelp/msc.c, dlls/dbghelp/mscvpdb.h, dlls/dbghelp/pe_module.c, dlls/ntdll/cdrom.c, dlls/ntdll/loader.c, dlls/ntdll/nt.c, dlls/ntdll/tests/rtl.c, dlls/ntdll/time.c, programs/progman/grpfile.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/winecrt0/Makefile.in, dlls/winecrt0/crt0_private.h, dlls/winecrt0/dll_entry.c, dlls/winecrt0/exe_entry.c, dlls/winecrt0/exe_wentry.c, dlls/winecrt0/init.c, include/wine/library.h, tools/winebuild/spec32.c: Moved the spec file init function and constructor to winecrt0. * dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/helpers.c, dlls/msi/msipriv.h: Mike McCormack - convert verbs into a standard list - remove limitation of 100 verbs - use pointers to verbs rather than indexes * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Implement encoding/decoding RSA public keys. * dlls/crypt32/cert.c, dlls/crypt32/tests/cert.c: Juan Lang Implement CertAddSerializedElementToStore. * dlls/ntdll/server.c: Fixed a file descriptor leak. * dlls/uxtheme/Makefile.in, dlls/uxtheme/msstyles.c, dlls/uxtheme/system.c: Frank Richter Remove shlwapi dependency. * Makefile.in: Clean Makeimplib.rules too. * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/mapi32/tests/prop.c, dlls/msvcrt/data.c, dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.h, dlls/qcap/v4l.c, dlls/winmm/wavemap/wavemap.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/crypt32/encode.c, dlls/crypt32/protectdata.c, include/commctrl.h: Kevin Koltzau Fix warnings in 64bit. * dlls/mshtml/mshtml_private.h, dlls/mshtml/nsembed.c, dlls/mshtml/nsiface.idl, dlls/mshtml/persist.c: Jacek Caban Beginning implementation of onload routine. * include/.cvsignore, include/Makefile.in, include/objsafe.idl: Troy Rollo Added objsafe.idl for IObjectSafety interface. * include/guiddef.h: Troy Rollo For C++, declare initialised GUIDs to be "extern const" rather than just "const" to ensure that the initialised GUID is visible to other modules, and use EXTERN_C rather than just "extern" for the benefit of MSVC++, which does name mangling on global variables. * dlls/urlmon/Makefile.in, dlls/urlmon/format.c, dlls/urlmon/urlmon.spec, dlls/urlmon/tests/.cvsignore, dlls/urlmon/tests/Makefile.in, dlls/urlmon/tests/misc.c, include/urlmon.idl: Jacek Caban Added CreateFormatEnumerator implementation. * dlls/commdlg/cdlg32.c, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, include/shobjidl.idl, dlls/shell32/brsfolder.c, dlls/shell32/control.c, dlls/shell32/dde.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shelllink.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlexec.c, dlls/shell32/shlmenu.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, include/shellapi.h: Kevin Koltzau Fix warnings in 64bit. * dlls/msi/classes.c: Mike McCormack Add objects to lists at the right time. * include/wincrypt.h: Juan Lang More definitions and prototypes. * include/dinput.h: Daniel Remenak Add definitions for force feedback command and status flags. * dlls/quartz/filtergraph.c: Christian Costa Forward calls of IBasic* and IVideoWindow interfaces of the filtergraph to the right filter. * programs/winecfg/theme.c: Frank Richter Since uxtheme also returns a friendly display name from EnumThemeColors() and EnumThemeSizes() use that in the color/size combos. * dlls/rpcrt4/ndr_marshall.c: Robert Shearman - Implement most of the details around unmarshalling of an object pointer. - Fix allocation scheme in NdrConformantArrayUnmarshal to allocate if *ppMemory is NULL, like complex struct and user type unmarshalling. * dlls/ole32/dcom.idl: Robert Shearman The [string] attribute is only valid on byte, char and wchar_t types, so replace "unsigned short" by "WCHAR". * dlls/oleaut32/usrmarshal.c: Robert Shearman Add VT_UNKNOWN support for VARIANT marshaling by generalising the existing VT_DISPATCH code. * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/stubmanager.c: Mike Hearn Robert Shearman Change stub manager to track the number of normal marshals instead of using the state machine so that multiple marshals of the same object and interface work correctly. * dlls/mshtml/olewnd.c: Jacek Caban Make OleInPlaceObjectWindowlessVtbl const. * dlls/shell32/shfldr_unixfs.c: Dmitry Timoshkov Translate file name from unix to ANSI encoding in UnixFolder_IShellFolder2_GetDisplayNameOf. * dlls/wined3d/device.c: Oliver Stieber Added the tracking of stream frequency and flags. Stream flags and frequency aren't handled at the moment. * dlls/mshtml/oleobj.c, dlls/mshtml/tests/htmldoc.c: Jacek Caban Added exec_on_unload implementation. * dlls/wldap32/misc.c, dlls/wldap32/winldap_private.h: Hans Leidekker Fix the build without openldap headers. 2005-08-30 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20050830. ---------------------------------------------------------------- 2005-08-30 Alexandre Julliard * dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c, dlls/comctl32/header.c, dlls/comctl32/imagelist.c, dlls/comctl32/ipaddress.c, dlls/comctl32/listview.c, dlls/comctl32/propsheet.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/theming.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/treeview.c, include/commctrl.h, include/prsht.h: Frank Richter Fix warnings in 64bit. * programs/winecfg/De.rc, programs/winecfg/En.rc, programs/winecfg/resource.h, programs/winecfg/theme.c: Frank Richter Add an "Install theme" button to the appearance page to allow convenient copying of the .msstyles file to the Right Place inside the Windows dir. * programs/winecfg/No.rc, programs/winecfg/winecfg.rc: Alexander N. Sørnes Norwegian translation of winecfg. * dlls/crypt32/cert.c, dlls/crypt32/tests/cert.c: Juan Lang Implement collection stores. * dlls/uxtheme/draw.c: Frank Richter More elaborate IsThemeBackgroundPartiallyTransparent() implementation; also returns TRUE for theme parts with 32bpp images. * dlls/shell32/shfldr_unixfs.c: Michael Jung Use FIXME's in stubs instead of TRACE's. Infer pathmode from CLSID in UnixFolderConstructor. Fail in IShellFolder::BindToObject, if folder does not initialize. * dlls/dplayx/dplay.c, dlls/dsound/capture.c, dlls/dsound/primary.c, dlls/rpcrt4/cpsf.c, dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/rpc_epmap.c, dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpcrt4_main.c: Mike McCormack Fix some gcc 4.0 warnings. * dlls/mshtml/De.rc: Henning Gerhardt Update the German resource file. * dlls/secur32/secur32.c, dlls/secur32/secur32_priv.h, dlls/secur32/tests/main.c: James Hawkins Juan Lang Use a standard wine list for packages and providers. * dlls/uxtheme/system.c, dlls/uxtheme/uxtheme.spec, dlls/uxtheme/uxthemedll.h: Frank Richter EnumThemeColors() and EnumThemeSizes() actually do not return a single string with the color/size name, but rather a struct containing three strings - name, display name and tooltip. * dlls/uxtheme/draw.c: Frank Richter Since theme images are reused now it's not really a good idea to delete them in drawing functions. * programs/winecfg/Nl.rc: Paul Vriens Update to the latest theme and tab settings. * dlls/wldap32/misc.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_count_entries, ldap_count_references, ldap_first_attribute*, ldap_first_entry, ldap_first_reference, ldap_next_attribute*, ldap_next_entry and ldap_next_reference. 2005-08-29 Alexandre Julliard * dlls/winecrt0/crt0_private.h, dlls/winecrt0/dll_entry.c, dlls/winecrt0/exe_entry.c, dlls/winecrt0/exe_wentry.c, tools/winebuild/spec32.c: Avoid using common symbols, they are broken on Mac OS. * dlls/uxtheme/draw.c, dlls/uxtheme/msstyles.c, dlls/uxtheme/uxthemedll.h: Frank Richter Pass around what kind of transparency an image actually needs. Use alpha-blending for 32bpp images. * programs/winecfg/theme.c: Frank Richter Make THEME_update_color_and_size static and drop THEME_ prefix. * dlls/oleaut32/tmarshal.c: Robert Shearman Make typelib marshaler use IRpcChannelBuffer::GetBuffer if possible. * dlls/oleaut32/typelib.c: Robert Shearman - Shunt some trace statements over to the typelib channel that aren't really much use except in debugging typelib parsing. - Make sure to release a reference to being returned as VariantCopyInd takes one for us. * dlls/shell32/shell32_main.c: Michael Jung Clone pidlLast before free'ing pidl after call to SHBindToParent. * dlls/shell32/tests/shlfolder.c: Michael Jung Added test to show that Windows does not allocate a new pidl in SHBindToParent. * dlls/shell32/shfldr_unixfs.c: Michael Jung Use StringFromGUID2 instead of StringFromCLSID in UNIXFS_is_rooted_at_desktop. * tools/winebuild/parser.c: Compute the ordinal base and limit in assign_ordinals instead of doing it while parsing. * dlls/dinput8/Makefile.in, dlls/dplay/Makefile.in, dlls/newdev/Makefile.in, dlls/ntdll/loader.c, dlls/olepro32/Makefile.in, dlls/rsabase/Makefile.in, dlls/shfolder/Makefile.in, dlls/stdole2.tlb/Makefile.in, dlls/stdole32.tlb/Makefile.in, dlls/winecrt0/dll_main.c: Uncomment out DisableThreadLibraryCalls in DllMain and add the kernel32 imports that it requires. * dlls/version/info.c, dlls/version/tests/info.c: Store the result of the A/W conversions in the extra buffer space. * dlls/version/info.c, dlls/version/tests/info.c: Paul Vriens Reserve extra space for conversions. * dlls/winecrt0/Makefile.in, dlls/winecrt0/crt0_private.h, dlls/winecrt0/dll_entry.c, dlls/winecrt0/exe_entry.c, dlls/winecrt0/exe_wentry.c, tools/winebuild/import.c, tools/winebuild/spec32.c, tools/winegcc/winegcc.c: Moved more of the spec initialization code to the winecrt0 library, and get rid of implicit kernel32 imports. * dlls/wldap32/Makefile.in, dlls/wldap32/misc.c, dlls/wldap32/value.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_count_values*, ldap_get_values*, ldap_msgfree and ldap_value_free_len. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Implement encoding/decoding of CERT_ALT_NAME_INFOs and CRL_INFOs. * dlls/kernel/global16.c, dlls/kernel/kernel_main.c, dlls/kernel/system.c, dlls/kernel/system.drv.spec: Moved the implementation of a couple of system.drv entry points to system.c. * dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/surface.c, dlls/wined3d/utils.c: Oliver Stieber Added support for DXT2 and DXT4. * include/wine/list.h: Juan Lang Added a LIST_FOR_EACH_ENTRY_SAFE helper macro. * dlls/crypt32/cert.c, dlls/crypt32/tests/cert.c: Juan Lang Implemented memory cert stores. * dlls/comctl32/header.c: Phil Krylov Improved header control performance by maintaining an internal order array. * libs/wine/ldt.c: Implemented wine_ldt_alloc_fs and wine_ldt_init_fs for Mac OS. * tools/winebuild/spec16.c: Use __wine_unimplemented_stub from crt0 for 16-bit spec files too. * programs/winemine/No.rc, programs/winemine/rsrc.rc: Alexander N. Sørnes Norwegian language support. * dlls/mshtml/Fr.rc, dlls/mshtml/rsrc.rc: Jonathan Ernst French resources. * dlls/uxtheme/draw.c: Frank Richter If a MINSIZEn property is not present, fall back to actual size of nth image to determine whether it is suitable. * dlls/kernel/kernel32.spec: Removed a few no longer used 16-bit exports. * dlls/kernel/task.c, dlls/kernel/toolhelp16.c: Moved TaskFindHandle16 to toolhelp16.c. * dlls/kernel/global16.c, dlls/kernel/toolhelp.c: Moved GlobalMasterHandle to global16.c. * dlls/kernel/Makefile.in, dlls/kernel/kernel16.c, dlls/kernel/kernel_main.c, dlls/kernel/krnl386.exe.spec, dlls/kernel/wowthunk.c: Moved the kernel 16-bit initialization to a new DllEntryPoint routine in krnl386. * dlls/msi/table.c: Mike McCormack - the combination of all table keys must be unique, not each key - MsiViewExecute may not be called before MsiModifyView * dlls/uxtheme/draw.c: Frank Richter Take a common computation out of two if-branches in UXTHEME_LoadImage(). * dlls/wined3d/device.c: Oliver Stieber Implemented IWineD3DDevice_GetRenderTargetData. * dlls/mshtml/En.rc, dlls/mshtml/resource.h, dlls/mshtml/view.c: Jacek Caban Move strings to resources. * libs/wine/loader.c: Use the correct ordinal flag for Win64 support. * dlls/dbghelp/elf_module.c: Added a couple of missing stubs for the non-ELF case. * tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/utils.c: Get rid of the unused owner_name field. * programs/winecfg/Fr.rc: Jonathan Ernst Theming setings in French. * dlls/comctl32/toolbar.c: Yuri Kozlov Set default size for toolbar bitmap if not specified. * dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/helpers.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack - build a standard Wine list of extensions instead of using an array - use extension pointers instead of array indexes * dlls/crypt32/encode.c, dlls/crypt32/protectdata.c, dlls/crypt32/tests/main.c, dlls/crypt32/tests/protectdata.c, dlls/dinput/joystick_linux.c, dlls/icmp/icmp_main.c, dlls/itss/chm_lib.c, dlls/itss/lzx.c, dlls/netapi32/nbnamecache.c, dlls/netapi32/nbt.c, dlls/odbc32/proxyodbc.c, dlls/rsaenh/tests/rsaenh.c: Mike McCormack gcc 4.0 warning fixes. * dlls/wldap32/Makefile.in, dlls/wldap32/extended.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_extended_operation* and ldap_close_extended_op. * dlls/d3d8/directx.c: Oliver Stieber Use wined3dformat when calling wined3d. * dlls/uxtheme/draw.c, dlls/uxtheme/msstyles.c, dlls/uxtheme/msstyles.h: Frank Richter Implement "manual" image sharing(as opposed to using LoadImage() with LR_SHARED) by keeping the loaded images in a list. This is needed for proper alpha support later on since once-per-image preparations will be needed then. * dlls/mshtml/tests/htmldoc.c: Jacek Caban - Added IHlinkTarget::Navigate test. - Added downloading test (disabled). * programs/winecfg/Ru.rc: Yuri Kozlov Theme dialog added in Ru.rc. 2005-08-27 Alexandre Julliard * dlls/Makedll.rules.in: Fixed the checklink target to link against winecrt0 too. * dlls/kernel/instr.c, dlls/kernel/kernel16_private.h, dlls/kernel/kernel_main.c, dlls/kernel/kernel_private.h, dlls/kernel/wowthunk.c: Don't try to initialize the 16-bit thunking code if 16-bit support is disabled. * dlls/msi/classes.c: Mike McCormack Add the allocated mime type to the mime type list. * dlls/advapi32/crypt_lmhash.c, dlls/advapi32/crypt_sha.c, dlls/advapi32/registry.c, dlls/advapi32/service.c, dlls/advapi32/tests/crypt_lmhash.c, dlls/advapi32/tests/crypt_md4.c, dlls/advapi32/tests/crypt_md5.c, dlls/cabinet/cabinet.h, dlls/comctl32/rebar.c, dlls/comctl32/tab.c, programs/view/view.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/comctl32/propsheet.c: Thomas Weidenmueller It should be allowed to pass NULL handles in the phpage array of the PROPSHEETHEADER structure to PropertySheet(), just ignore them. * dlls/wined3d/device.c, dlls/wined3d/swapchain.c: Oliver Stieber Moved GetRasterStatus from device to swapchain. * dlls/comctl32/tests/Makefile.in, dlls/crypt32/tests/Makefile.in, dlls/gdi/tests/Makefile.in, dlls/iphlpapi/tests/Makefile.in, dlls/lzexpand/tests/Makefile.in, dlls/mapi32/tests/Makefile.in, dlls/msacm/tests/Makefile.in, dlls/mshtml/tests/Makefile.in, dlls/msvcrt/tests/Makefile.in, dlls/msvcrtd/tests/Makefile.in, dlls/netapi32/tests/Makefile.in, dlls/oleaut32/tests/Makefile.in, dlls/rpcrt4/tests/Makefile.in, dlls/secur32/tests/Makefile.in, dlls/shell32/tests/Makefile.in, dlls/shlwapi/tests/Makefile.in, dlls/urlmon/tests/Makefile.in, dlls/user/tests/Makefile.in, dlls/version/tests/Makefile.in, dlls/wininet/tests/Makefile.in, dlls/winsock/tests/Makefile.in, programs/winetest/Makefile.in: Explicitly import kernel32 in tests that use it. * dlls/mshtml/Makefile.in, dlls/mshtml/hlink.c, dlls/mshtml/htmldoc.c, dlls/mshtml/mshtml_private.h: Jacek Caban Added IHlinkTarget interface. * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/tests/marshal.c: Robert Shearman - Implement IMarshal on proxies so that we don't end up with proxies to proxies, causing potential deadlock issues and performance problems. - Add a test for this situation and remove the todo_wine from another test that now succeeds. * dlls/mshtml/De.rc, dlls/mshtml/rsrc.rc: Henning Gerhardt Added German resources. * dlls/user/listbox.c, dlls/user/tests/listbox.c: Jason Edmeades Listbox delete string handling should validate the range of the index. Added some tests. * dlls/wined3d/texture.c: Oliver Stieber Change SetDirty in texture to pass the value of dirty instead of always passing TRUE. * dlls/x11drv/xrender.c: Frank Richter Make AlphaBlend() respect the destination clipping region. * include/commctrl.h: Frank Richter Added WC_SCROLLBAR. * dlls/winsock/socket.c, dlls/winsock/tests/sock.c: Hans Leidekker Avoid using the obsolete inet_addr. * dlls/mshtml/tests/htmldoc.c: Jacek Caban Make pActiveObject test language specific. * dlls/sensapi/sensapi.c, include/sensapi.h: Marcus Meissner IsNetworkAlive() enhanced, always reports LAN. 2005-08-26 Alexandre Julliard * dlls/rsaenh/rsaenh.c, dlls/wined3d/swapchain.c, dlls/wined3d/wined3d_private.h: Mike McCormack Fix gcc 4.0 warnings. * dlls/mshtml/mshtml_private.h, dlls/mshtml/nsembed.c, dlls/mshtml/nsiface.idl, dlls/mshtml/view.c: Jacek Caban Beginning implementation of Gecko focus handling. * dlls/shell32/.cvsignore, dlls/shell32/Makefile.in, dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/regsvr.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/shell32/shfldr_unixfs.c, dlls/shell32/shres.rc, dlls/shell32/shresdef.h: Michael Jung Implemented 'My Documents' folder. * dlls/oleaut32/varformat.c, dlls/winedos/dosaspi.c, dlls/winedos/dosmem.c, dlls/winedos/module.c, dlls/wineps/driver.c, dlls/wineps/init.c, dlls/wineps/ps.c, dlls/wineps/type42.c, dlls/winsock/tests/sock.c, programs/winetest/send.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/Makefile.in, dlls/make_dlls: We no longer need a special case for the ntdll import library. * include/wtypes.idl: Robert Shearman Added more wtypes definitions, particularly for GDI/USER handles. * include/urlmon.idl: Robert Shearman - The output size should be *pcbPolicy for ppPolicy, not the input size. - Remove a stray semi-colon. * include/oleidl.idl: Robert Shearman Move interfaces around to satisfy MIDL. * include/msxml.idl: Robert Shearman Remove nonsense msxml IDL attributes. * dlls/x11drv/xfont.c: Pavel Roskin Extend uRelax scale so that yres is relaxed before slant, not at the same time. * dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/helpers.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack - build a standard Wine list of mime types instead of using an array - use mime type pointers instead of array indexes * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Robert Shearman Add stub for CoAllowSetForegroundWindow. * dlls/crypt32/cert.c, dlls/crypt32/crypt32.spec: Juan Lang Added a bunch of stubs. * dlls/mshtml/En.rc, dlls/mshtml/olewnd.c, dlls/mshtml/resource.h, dlls/mshtml/rsrc.rc: Jacek Caban Added default MSHTML context menu. * include/wincrypt.h: Juan Lang Correct a typo, and add more definitions. 2005-08-25 Alexandre Julliard * dlls/winecrt0/Makefile.in, dlls/winecrt0/delay_load.c, tools/winebuild/import.c, tools/winebuild/spec32.c: Moved the delay loading support code to the winecrt0 library. * include/Makefile.in, include/ddk/winsplp.h: Detlef Riekenberg Added winsplp.h header. * programs/uninstaller/Makefile.in, programs/winepath/Makefile.in, tools/winegcc/winegcc.c, tools/winegcc/winegcc.man: Added a -municode flag to winegcc for applications that have a wmain() entry point. * dlls/mshtml/mshtml_private.h, dlls/mshtml/nsembed.c, dlls/mshtml/nsiface.idl, dlls/mshtml/olewnd.c: Jacek Caban - Beginning implementation of context menu. - Set nsIWebBrowserChrome of nsIWebBrowser. * dlls/wined3d/Makefile.in, dlls/wined3d/device.c, dlls/wined3d/pixelshader.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Implemented stubbed out pixel shaders and their states in wined3d. * dlls/commdlg/printdlg.c: Vitaly Lipatov Restore paper orientation when pagesetupdlg is initializing. * dlls/ntdll/signal_i386.c: Glenn Wurster Make stack check work if stack is a small value. * dlls/ddraw/tests/d3d.c: Saulius Krasuckas - DirectDrawCreateEx fails with Standard VGA Adapter driver. - IDirect3D7::CreateDevice() returns E_OUTOFMEMORY if a card has no 3D acceleration. * programs/winecfg/De.rc, programs/winecfg/En.rc, programs/winecfg/Fr.rc, programs/winecfg/Ja.rc, programs/winecfg/Nl.rc, programs/winecfg/Ru.rc, programs/winecfg/main.c, programs/winecfg/resource.h: Frank Richter Load tab titles and property sheet caption from string resources. * dlls/msi/action.c: Mike McCormack Make sure to save the result calculated in ACTION_UpdateInstallStates. * dlls/user/sysparams.c, dlls/user/tests/sysparams.c: Vitaly Lipatov - remove return: now break loop if can't change state during test - add test for value returned by SwapMouseButton - fix SwapMouseButton return value (it returns previous state) * dlls/comctl32/header.c: Phil Krylov Draw header control items only within the header client area. * dlls/activeds/Makefile.in, dlls/d3dim/Makefile.in, dlls/d3drm/Makefile.in, dlls/msnet32/Makefile.in, dlls/msvcrt20/Makefile.in, dlls/msvcrt40/Makefile.in, dlls/ntdll/exception.c, dlls/oleacc/Makefile.in, dlls/sti/Makefile.in, dlls/url/Makefile.in, dlls/winecrt0/Makefile.in, dlls/winecrt0/stub.c, tools/winebuild/import.c, tools/winebuild/spec32.c: Moved the implementation of spec file stubs to the winecrt0 library. * dlls/comctl32/theme_dialog.c: Frank Richter Add WM_CTLCOLORSTATIC handler to dialog theming subclass so static text can appear transparent (for e.g. tab pages which commonly have a "fancy" background). * dlls/msi/files.c: Aric Stewart The file name used in the ui messages is the target name not the source name. * programs/winecfg/De.rc, programs/winecfg/En.rc: Frank Richter Add English Neutral and German appearance tab translations. * documentation/PACKAGING: Tom Wickline Removed remaining config references. * dlls/mshtml/persist.c, dlls/mshtml/tests/Makefile.in, dlls/mshtml/tests/htmldoc.c: Jacek Caban - Added test of IPersistMoniker::Load. - Fix Wine to pass the test. * dlls/Makefile.in, dlls/make_dlls: Install the static import libraries too. * configure, configure.ac, dlls/.cvsignore, dlls/Makeimplib.rules.in, dlls/dxerr8/Makefile.in, dlls/dxerr9/Makefile.in, dlls/dxguid/Makefile.in, dlls/strmiids/Makefile.in, dlls/uuid/Makefile.in, dlls/winecrt0/Makefile.in: Added a make rules file for static import libraries. * configure, configure.ac, dlls/Makefile.in, dlls/winecrt0/.cvsignore, dlls/winecrt0/Makefile.in, dlls/winecrt0/dll_main.c, dlls/winecrt0/exe_main.c, dlls/winecrt0/exe_wmain.c, programs/uninstaller/Makefile.in, programs/winepath/Makefile.in, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/spec32.c, tools/winegcc/winegcc.c: Beginnings of a crt0 library. * include/Makefile.in: Fixed installation rules for Wine-specific IDL files. * dlls/itss/itss.idl, dlls/itss/.cvsignore, dlls/itss/Makefile.in, dlls/itss/itss.c, dlls/itss/moniker.c, dlls/itss/regsvr.c, dlls/itss/storage.c, include/Makefile.in, include/wine/.cvsignore, include/wine/itss.idl: James Hawkins Moved itss.idl to include/wine. * dlls/ntdll/virtual.c: Use FILE_GetDeviceInfo in NtMapViewOfSection to avoid having to fetch the file descriptor twice. * dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/helpers.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack - build a standard Wine list of classes instead of using an array - use class pointers instead of array indexes * dlls/winsock/socket.c: Mike McCormack gcc 4.0 warning fixes. * dlls/crypt32/cert.c, dlls/crypt32/crypt32.spec, dlls/crypt32/crypt32_private.h, dlls/crypt32/main.c, dlls/crypt32/tests/.cvsignore, dlls/crypt32/tests/Makefile.in, dlls/crypt32/tests/cert.c: Juan Lang Implemented CryptHashCertificate. * dlls/msi/package.c: Mike McCormack Don't dereference variables in a trace. * include/objidl.idl, include/wtypes.idl: Robert Shearman Update to include all of the interfaces in the Platform SDK as of the XP SP2 version. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h: Robert Shearman Remove unused thread handle entry from the apartment structure. * dlls/msi/classes.c: Mike McCormack Fix a small bug introduced when converting appids to a list. * dlls/msi/action.c: Aric Stewart Display the correct text string in the action text field for the dialog boxes. Also the string should be deformatted. 2005-08-24 Alexandre Julliard * dlls/ntdll/server.c, include/wine/server_protocol.h, server/fd.c, server/handle.c, server/handle.h, server/protocol.def, server/request.h, server/trace.c: Don't cache file descriptors open on removable devices. * dlls/ntdll/file.c, dlls/ntdll/ntdll_misc.h: Moved the FileFsDeviceInformation query to a separate function. * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: Vitaly Lipatov Add missed _mbscoll function. * dlls/atl/atl_main.c: Aric Stewart Version 1 atl modules only have a structure size of 100 and no functions to call. * dlls/msi/install.c, include/msiquery.h: Johan Dahlin Implemented MsiSetComponentState*. * dlls/msi/tests/db.c: Mike McCormack Test case for MsiModifyView and MsiViewGetError. * dlls/msi/create.c, dlls/msi/delete.c, dlls/msi/insert.c, dlls/msi/msipriv.h, dlls/msi/select.c, dlls/msi/table.c: Mike McCormack Implement MsiModifyView (MSIMODIFY_INSERT_TEMPORARY). * programs/winecfg/De.rc, programs/winecfg/En.rc, programs/winecfg/Makefile.in, programs/winecfg/main.c, programs/winecfg/resource.h, programs/winecfg/theme.c, programs/winecfg/winecfg.h: Frank Richter Add an "Appearance" tab to control the currently active theme. * dlls/msi/msiquery.c, include/msiquery.h: Mike McCormack Better stub for MsiViewGetError. * dlls/msi/action.c: Johan Dahlin Added a null check for component. * dlls/msi/action.h: Mike McCormack Add include guard to header and make functions extern. * dlls/x11drv/text.c: Huw Davies Use the correct rectangle for ETO_OPAQUE - spotted by James Hawkins. * dlls/msi/install.c, dlls/msi/msi.spec: Johan Dahlin Added stubs for MsiSetComponentStateA and MsiSetComponentStateW. * dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/helpers.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack - build a standard Wine list of appids instead of using an array - use appid pointers instead of array indexes * dlls/wininet/http.c: James Hawkins Avoid heap corruption by not accessing old HeapReAlloc'ed pointer. * dlls/oleaut32/tmarshal.c: Robert Shearman - Remove redundant QueryInterface in marshal_interface - the object is always queried later on for the correct interface of the object. - Make sure to Release the marshaled pointer in the typelib marshaler once it is no longer required. * dlls/oleaut32/olepicture.c: Michael Stefaniuc Implement IPicture::get_hPal for PICTYPE_BITMAP. 2005-08-23 Alexandre Julliard * tools/winebuild/spec32.c: The exported name strings should be inside the export directory (found by Vitaliy Margolen). * dlls/ddraw/tests/d3d.c: Saulius Krasuckas Skip testing on IDirect3D7::CreateDevice() failure. * dlls/wined3d/swapchain.c: Oliver Stieber Update the implementation of GetFrontBufferData in stateblock. * configure, configure.ac, dlls/Makefile.in, dlls/mciavi32/.cvsignore, dlls/mciavi32/Makefile.in, dlls/mciavi32/info.c, dlls/mciavi32/mciavi.c, dlls/mciavi32/mciavi32.spec, dlls/mciavi32/mciavi_res.rc, dlls/mciavi32/mmoutput.c, dlls/mciavi32/private_mciavi.h, dlls/mciavi32/wnd.c, dlls/winmm/mciavi/.cvsignore, dlls/winmm/mciavi/Makefile.in, dlls/winmm/mciavi/info.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/mciavi.drv.spec, dlls/winmm/mciavi/mciavi_res.rc, dlls/winmm/mciavi/mmoutput.c, dlls/winmm/mciavi/private_mciavi.h, dlls/winmm/mciavi/wnd.c, dlls/winmm/time.c, programs/winecfg/properties.c, tools/wine.inf: Rémi Assailly Moved mciavi32 to the top-level dlls directory. * dlls/msvcrt/mbcs.c, dlls/msvideo/msvideo16.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/ntdll/om.c, dlls/ntdll/server.c, include/wine/server_protocol.h, server/handle.c, server/handle.h, server/protocol.def, server/request.h, server/trace.c: Added a separate set_handle_cached_fd request instead of abusing set_handle_info for that. * dlls/kernel/process.c: Rewrote Get/SetHandleInformation to call the corresponding ntdll functions. * dlls/itss/Makefile.in, dlls/itss/itss.c, dlls/itss/regsvr.c, tools/wine.inf: James Hawkins Register the ITStorage class. * dlls/riched20/caret.c, dlls/riched20/reader.c: Phil Krylov Fixed a RichEdit RTF reader bug which resulted in loss of text. Eliminated unneeded recursion in ME_InsertTextFromCursor(). * include/mshtmhst.idl: Jacek Caban Added more definitions. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/helpers.c, dlls/msi/install.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack - build a standard Wine list of folders instead of using an array - use folder pointers instead of array indexes * documentation/PACKAGING: Tom Wickline Remove reference to config file. Add .deb file with .rpm file for successful install. * DEVELOPERS-HINTS: Tom Wickline Remove reference to documentation/samples/. Add recently implemented dlls. * dlls/x11drv/xrender.c: Huw Davies Avoid using XRenderFindStandardFormat as older libraries don't have it. * dlls/comctl32/tab.c, dlls/comctl32/tests/tab.c: Vitaliy Margolen Fix handling of minimum tab width. Add more tests to test it. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/custom.c, dlls/msi/files.c, dlls/msi/format.c, dlls/msi/helpers.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack - build a standard Wine list of files instead of using an array - use file pointers instead of array indexes * dlls/riched20/row.c: Phil Krylov Fixed EM_EXLINEFROMCHAR to work for last row of a paragraph. * dlls/comctl32/progress.c, dlls/comctl32/tests/.cvsignore, dlls/comctl32/tests/Makefile.in, dlls/comctl32/tests/progress.c: Michael Kaufmann - Redraw immediately upon PBM_SETPOS, PBM_DELTAPOS, PBM_STEPIT. - New tests. * programs/winedbg/winedbg.c: Glenn Wurster Don't pass on EH_STACK_INVALID exceptions. * dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/graphics.c, dlls/gdi/font.c, dlls/gdi/gdi_private.h, dlls/gdi/mfdrv/metafiledrv.h, dlls/gdi/mfdrv/text.c, dlls/ttydrv/graphics.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/winetty.drv.spec, dlls/wineps/psdrv.h, dlls/wineps/text.c, dlls/wineps/wineps.drv.spec, dlls/x11drv/text.c, dlls/x11drv/winex11.drv.spec, dlls/x11drv/x11drv.h, dlls/x11drv/xrender.c: Huw Davies Move a bunch of common code from the drivers into gdi. * dlls/shell32/tests/Makefile.in, dlls/shell32/tests/shlfolder.c: Michael Jung Added some tests for CLSID_FolderShortcut objects. * dlls/msxml3/tests/domdoc.c: Mike McCormack Add some node tests. * dlls/shell32/tests/shlexec.c, dlls/twain/capability.c, dlls/version/resource.c, dlls/winaspi/winaspi16.c, dlls/winaspi/winaspi32.c: Mike McCormack Fix gcc 4.0 warnings. * include/windef.h, include/wine/debug.h: Kevin Koltzau Fix pointer cast warnings in 64bit. * dlls/d3d9/cubetexture.c, dlls/d3d9/d3d9.spec, dlls/d3d9/d3d9_main.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/indexbuffer.c, dlls/d3d9/pixelshader.c, dlls/d3d9/stateblock.c, dlls/d3d9/surface.c, dlls/d3d9/swapchain.c, dlls/d3d9/texture.c, dlls/d3d9/vertexbuffer.c, dlls/d3d9/vertexshader.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, include/wine/wined3d_types.h: Oliver Stieber Tidy up d3d9 and finalize passing d3d9 calls to wined3d for now. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/variant.c: Michael Stefaniuc - VarAdd, VarMul: I4 overflows to R8 and not I8 even if the result would fit in I8. Fix tests. - Document a brokeness in the handling of I8 numbers in VarNumFromParseNum. Fix tests. * dlls/riched20/editor.c: Phil Krylov Added support for backward search to RichEdit EM_FINDTEXT[AW], EM_FINDTEXTEX[AW] message handler. * dlls/advapi32/service.c, include/winsvc.h: Kevin Koltzau Properly declare handles. * include/commctrl.h: Michael Kaufmann Added SB_SIMPLEID. * dlls/msi/action.c: Aric Stewart Make index INT not UINT because it can be -1. 2005-08-22 Alexandre Julliard * dlls/ddraw/device_opengl.c: Saulius Krasuckas Don't leak a list of visuals (with advice of Jacek Caban). * dlls/version/tests/info.c: Add an extra test to show failing behavior. * dlls/wldap32/error.c, dlls/wldap32/init.c, dlls/wldap32/misc.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement LdapGetLastError, cldap_open*, ldap_abandon, ldap_check_filter*, ldap_cleanup, ldap_conn_from_msg and ldap_connect. * dlls/shell32/shfldr_unixfs.c: Michael Jung Initialize all members in UnixFolder constructor. Support NULL value pidls in GetDisplayNameOf method. * dlls/riched20/editor.c: Phil Krylov Fixed EM_SETEVENTMASK RichEdit message handler to return old event mask. * dlls/user/menu.c: Mike McCormack Fix magic item handling and warnings. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/events.c, dlls/msi/helpers.c, dlls/msi/install.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack - build a standard Wine list of features instead of using an array - use feature pointers instead of array indexes * dlls/kernel/vxd.c: Ivan Leo Puoti Let DeviceIoControl call the appropriate native interface. * dlls/riched20/reader.c: Phil Krylov Automatically set default font after parsing a font table in RichEdit RTF reader. * dlls/mshtml/mshtml_private.h, dlls/mshtml/oleobj.c: Jacek Caban - Call LockContainer only if it's not already locked/unlocked. - Only return S_OK in SetClientSite if IOleClientSite is not changed. * dlls/wldap32/Makefile.in, dlls/wldap32/rename.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_rename* functions. * dlls/comctl32/tab.c: Aric Stewart Fix for dreamweaver site definition dialog. Need to initialize the rect for a tab control to an empty rect if it is not visible. * dlls/atl/registrar.c: Kevin Koltzau Fix 'cast to pointer from integer of different size' warnings in 64bit. * dlls/gdi/path.c, dlls/user/sysparams.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/uxtheme/msstyles.c: Kevin Koltzau Fix 'cast to pointer from integer of different size' warnings in 64bit. * server/ptrace.c, server/thread.c, server/thread.h: Don't try to detach from a thread that is exiting, to avoid triggering a kernel race condition. * dlls/wined3d/basetexture.c, dlls/wined3d/device.c, dlls/wined3d/stateblock.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Fix quite a few texturing problems and cases where text isn't being correctly displated. * dlls/riched20/editor.c, dlls/riched20/reader.c, dlls/riched20/rtf.h: Phil Krylov Added handling of deff RTF control word. * dlls/secur32/wrapper.c: Kai Blin Fixed a couple of bugs in InitializeSecurityContext(A/W) and AcceptSecurityContext. * dlls/mshtml/nsembed.c: Jacek Caban Disable using nsWebBrowserStream. * configure, configure.ac, dlls/kernel/time.c, include/config.h.in: Gerald Pfeifer Prefer sys/limits.h over machine/limits.h. * dlls/quartz/memallocator.c, dlls/quartz/tests/.cvsignore, dlls/quartz/tests/Makefile.in, dlls/quartz/tests/memallocator.c: Christian Costa Return S_OK when committing/decomitting an already committed/decommitted allocator. Add corresponding test case. Improve traces. * dlls/ole32/stg_prop.c, dlls/shell32/regsvr.c, dlls/shell32/shellole.c, dlls/shell32/shellreg.c, dlls/user/sysparams.c, dlls/winmm/mmsystem.c: Mike McCormack Fix some gcc 4.0 warnings. * dlls/mshtml/Makefile.in, dlls/mshtml/oleobj.c, dlls/mshtml/tests/htmldoc.c: Jacek Caban - Added OnAmbientPropertyChange implementation. - Call IDispatch::Invoke when native does (with test). * dlls/msxml3/node.c: Mike McCormack Implement IXMLDOMNode::hasChildNode(). * dlls/msxml3/domdoc.c: Mike McCormack Forward IXMLDOMDocument methods to contained node. * programs/winefile/Cs.rc, programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Sv.rc: Dmitry Timoshkov Remove unnecessary #pragma code_page(xxxx) statements from winefile .rc files. * dlls/msxml3/element.c: Mike McCormack Forward IXMLDOMElement methods derived from IXMLDOMNode to the element's contained node. * dlls/kernel/sync.c: Phil Krylov Fixed InterLocked* function definitions for non-x86 platforms in accordance with the recent corresponding change of their declarations in winbase.h. * dlls/mshtml/persist.c: Jacek Caban Use pibc argument of IPersistMoniker::Load. * dlls/oleaut32/tests/olefont.c: Walt Ogburn Add tests for olefont size functions & conversions. * dlls/oleaut32/olefont.c: Walt Ogburn When applying logical / himetric ratio to olefont sizes, must divide by the standard ratio 72 / 2540. * dlls/x11drv/opengl.c: Saulius Krasuckas Don't dereference a NULL visual pointer. * dlls/mshtml/nsembed.c: Jacek Caban Always add gecko directory to the path before loading xpcom. * dlls/atl/registrar.c: Stefan Leichter Print something useful in trace and fixme. * dlls/quartz/filtergraph.c, dlls/quartz/transform.c: Christian Costa Properly allocate/release memory when adding filters to the filtergraph. When connecting pin, discard filter which is the same as the upstream one. Remove wrong extra IBaseFilter_Release. Improve traces by showing filters owing pins we want to connect or render. Properly initialize output pin of transform filter. * dlls/ddraw/surface_dib.c: Maxime Bellengé Fix regression in color keying with RGB mask. * dlls/comctl32/datetime.c: Michael Kaufmann Handle WM_GETFONT and WM_SETFONT. * dlls/winmm/wineoss/mixer.c: Robert Reif Fix mixer detection for multiple sound cards. * dlls/riched20/editor.c: Phil Krylov Added common keyboard shortcuts for Select All, Undo, Redo, Cut, Copy and Paste to RichEdit. * dlls/ole32/compobj.c: Mike McCormack - return a precomputed result for a NULL string - pass strlen an LPSTR to eliminate a sign warning * dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo_main.c, dlls/msvideo/msvideo_private.h, include/vfw.h: Kevin Koltzau Fix 'cast from pointer to integer of different size' warnings in 64bit. * dlls/advapi32/security.c: Kevin Koltzau Remove 'cast from pointer to integer of different size' warnings in 64bit, * dlls/gdi/tests/.cvsignore, dlls/gdi/tests/Makefile.in, dlls/gdi/tests/palette.c: Glenn Wurster Start to add some tests for basic palette operations. * programs/regedit/about.c: Felix Nawothnig Replace "Registry Explorer" by "Registry Editor" in about dialog. * programs/winemenubuilder/winemenubuilder.c: Maxime Bellengé Make the icon choice algorithm really choose the best icon. * dlls/wldap32/Makefile.in, dlls/wldap32/modrdn.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_modrdn* functions. * include/rpcdce.h: Kai Blin Added SEC_WINNT_AUTH_IDENTITY struct. * dlls/user/message.c, include/winuser.h: Jacek Caban Fix RegisterWindowMessage declaration and improve debug message. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/classes.c, dlls/msi/files.c, dlls/msi/format.c, dlls/msi/helpers.c, dlls/msi/install.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack - build a standard Wine list of components instead of using an array - use component pointers instead of array indexes * dlls/shell32/tests/shlfolder.c: Saulius Krasuckas Make file operations succeed on Win9x too. * dlls/x11drv/window.c: Todd Mokros Fix a focus stealing bug introduced by the managed flag changes. * dlls/wined3d/device.c: Oliver Stieber Tidy up some formatting, improve error handling and error logging and fix a couple of spelling mistakes. 2005-08-19 Alexandre Julliard * dlls/kernel/atom.c: Marcus Meissner Protect GlobalAddAtomA string handling by exception handler (for broken programs). * programs/winecfg/drive.c, programs/winecfg/winecfg.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/msxml3/Makefile.in, dlls/msxml3/node.c, dlls/msxml3/nodelist.c: Mike McCormack Implement the IXMLDOMNodeList interface for IXMLDOMNode::get_childNodes. * server/object.h, server/ptrace.c, server/signal.c: Added a watchdog mechanism to break out of the wait4 call in case it didn't return properly (can happen at thread exit). * dlls/shell32/regsvr.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/shell32/shfldr_unixfs.c: Michael Jung Added stubbed implementation of IPersistPropertyBag interface. Register unixfs as CLSID_FolderShortcut. * dlls/gdi/dib.c: Felix Nawothnig Fix GetDIBits to retrieve RGB 555 as 16bit BI_RGB and RGB 565 as 16bit BI_BITFIELDS. * dlls/user/scroll.c: Frank Richter Fix wrong structure size check in GetScrollBarInfo(). GetScrollBarInfo() failed when SCROLL_GetScrollBarRect() returned FALSE - however, this is the case if the scrollbar is horizontal, and not an error indicator. * dlls/comctl32/theme_combo.c, dlls/comctl32/theme_edit.c: Frank Richter Forward WM_DESTROY to superclass in edit & listbox theming. * dlls/comctl32/theming.c: Frank Richter Merge subclass stubs and subclass proc. Having the stub set the window proc to the subclass proc was not a good idea since that breaks subclasses of themed standard controls (e.g. what Delphi does a lot). * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/winebuild.man.in: Added a --undefined option to allow forcing some symbols to be resolved by the linker. * dlls/msxml3/domdoc.c: Mike McCormack Forward some IXMLDOMDocument methods to the implemenation's contained node. * dlls/msxml3/node.c: Mike McCormack Implement parentNode, firstChild, lastChild, previousSibling and nextSibling methods. * configure, configure.ac, dlls/Makefile.in, programs/winecfg/properties.c, tools/winapi/win32.api: Rémi Assailly Removed mcianim. * programs/winedbg/memory.c: Make sure the string is null-terminated in memory_get_string. * tools/winebuild/import.c: Added some general purpose routines for managing list of symbol names. * dlls/ntdll/ntdll.spec: Removed a few internal functions that are no longer exported on Windows. * programs/regedit/regproc.c, programs/taskmgr/dbgchnl.c, programs/wcmd/builtins.c, programs/wcmd/wcmdmain.c, programs/winedbg/debugger.h, programs/winedbg/display.c, programs/winedbg/expr.c, programs/winedbg/gdbproxy.c, programs/winedbg/info.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/comctl32/Makefile.in, dlls/comctl32/theme_dialog.c, dlls/comctl32/theming.c: Frank Richter Add theming support for dialogs (to support tab page background). * dlls/wined3d/device.c, dlls/wined3d/drawprim.c, dlls/wined3d/vertexshader.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Integrate hardware vertex shaders into the drawing pipeline. * dlls/winspool/info.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/msxml3/domdoc.c, dlls/msxml3/element.c, dlls/msxml3/msxml_private.h, dlls/msxml3/node.c, dlls/msxml3/nodemap.c: Mike McCormack Use a single function to create all IXMLDOMNode implementations. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/helpers.c: Mike McCormack Store the component information in a standard Wine list. * dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c: Jason Edmeades Handle context menu->refresh, and F5 to initiate a refresh of the file dialog. * dlls/msvcrt/string.c, dlls/msvcrt/tests/string.c: Jason Edmeades _swab failed if src == dest, plus some testcases. * dlls/shell32/pidl.c: Jason Edmeades Add the time to the file display dialog modified column. * dlls/shell32/shfldr_unixfs.c: Michael Jung Implemented IPersist::GetClassID. * programs/winecfg/Ru.rc, programs/winecfg/winecfg.rc: Yuri Kozlov Updated Russian resources. * dlls/gdi/font.c: Huw Davies Simplify ExtTextOut a bit. Should be a nop. * dlls/kernel/oldconfig.c: Gerald Pfeifer Enable SCSI_getprocentry() on non-Linux platforms which now should be safe to do. * dlls/gdi/freetype.c: Huw Davies Cope better with mixed charset fonts. * dlls/atl/atl_main.c: Aric Stewart In AtlModuleInit do not call initialization procedures that are NULL. * fonts/.cvsignore, fonts/Makefile.in, tools/sfnt2fnt.c: Huw Davies Add System font for the Chinese codepages cp936 and cp950. Of course they don't contain any ideographs (and nor should they). * dlls/user/cursoricon.c: Mike McCormack Make sure a cursor is always returned if one exists. 2005-08-18 Alexandre Julliard * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/thread.c: Added a stub for NtAlertResumeThread. * dlls/comctl32/Makefile.in, dlls/comctl32/theme_listbox.c, dlls/comctl32/theming.c: Frank Richter Add theming for listbox (and combo listbox) controls. * dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c: Mike McCormack Fix pointer type warnings. * dlls/d3d9/d3d9_private.h, dlls/d3d9/vertexshader.c: Oliver Stieber Pass all the d3d9 calls onto their wined3d equivalents. * dlls/crypt32/Makefile.in, dlls/shell32/Makefile.in: Added missing ntdll imports. * dlls/kernel/sync.c, dlls/ntdll/file.c: Ivan Leo Puoti Implement FSCTL_PIPE_DISCONNECT in NtFsControlFile and make DisconnectNamedPipe call it. * dlls/mciseq/mcimidi.c, dlls/winmm/mci.c, dlls/winmm/message16.c, include/mmsystem.h: Felix Nawothnig Make string elements of MCI_OPEN_PARMS const to match the SDK headers. * fonts/.cvsignore, fonts/Makefile.in: Pavel Roskin fontforge 20050729 insists on adding .ttf extension even if the requested output file name ends with a dot. So let's go back to names ending with ttf. * dlls/user/dialog.c, dlls/user/dialog16.c: Mike McCormack Fix uninitialized variable warnings emitted by gcc 4.0. * include/wincrypt.h: Juan Lang Add/update a few definitions. * dlls/kernel/tests/codepage.c: Saulius Krasuckas Test passing NULL source to WideCharToMultiByte. * include/winbase.h: Felix Nawothnig Make the destination pointers of Interlocked* functions volatile to match the SDK headers. * dlls/mshtml/oleobj.c, dlls/mshtml/view.c, dlls/mshtml/tests/htmldoc.c: Jacek Caban - Added IOleCommandTerget interface to the test. - Make Wine pass the test. - Fix bug reported by Saulius Krasuckas. * tools/sfnt2fnt.c: Pavel Roskin sfnt2fnt exits with code 0 for several errors, which causes make to ignore them. Use exit code 1 instead. * fonts/wine_system.sfd: Huw Davies System should be sans serif. * dlls/ntdll/cdrom.c: Vitaliy Margolen Add trace to IOCTL_CDROM_RAW_READ. * dlls/comctl32/theme_edit.c: Frank Richter Only draw a themed border when edit control has WS_EX_CLIENTEDGE style. * dlls/msxml3/domdoc.c, dlls/msxml3/element.c, dlls/msxml3/msxml_private.h, dlls/msxml3/node.c, dlls/msxml3/nodemap.c: Mike McCormack Make each IXMLDOMNode interface represent one libxml2 xmlNodePtr. * dlls/shell32/tests/shlexec.c: Francois Gouget Test "%l" and "%L". At the same time this tests alternate verbs. Test %1, %l and %L with no quotes. test->todo is a bitmask so fix the checks accordingly. 2005-08-17 Alexandre Julliard * dlls/Makefile.in, dlls/iccvid/.cvsignore, dlls/iccvid/Makefile.in, dlls/msrle32/.cvsignore, dlls/msrle32/Makefile.in, dlls/msvidc32/.cvsignore, dlls/msvidc32/Makefile.in, dlls/twain/.cvsignore, dlls/twain/Makefile.in: Removed a few more unnecessary import libraries. * dlls/iccvid/iccvid.spec, dlls/midimap/midimap.spec, dlls/msacm/imaadp32/imaadp32.acm.spec, dlls/msacm/msacm32.spec, dlls/msacm/msadp32/msadp32.acm.spec, dlls/msacm/msg711/msg711.acm.spec, dlls/msacm/winemp3/winemp3.acm.spec, dlls/msrle32/msrle32.spec, dlls/msvidc32/msvidc32.spec, dlls/winmm/joystick/joystick.drv.spec, dlls/winmm/mciavi/mciavi.drv.spec, dlls/winmm/mciwave/mciwave.drv.spec, dlls/winmm/wavemap/msacm.drv.spec, dlls/winmm/winealsa/winealsa.drv.spec, dlls/winmm/winearts/winearts.drv.spec, dlls/winmm/wineaudioio/wineaudioio.drv.spec, dlls/winmm/wineesd/wineesd.drv.spec, dlls/winmm/winejack/winejack.drv.spec, dlls/winmm/winenas/winenas.drv.spec, dlls/winmm/wineoss/wineoss.drv.spec: Make all the DriverProc entry points private. * configure, configure.ac, dlls/Makefile.in, dlls/mciseq/.cvsignore, dlls/mciseq/Makefile.in, dlls/mciseq/mcimidi.c, dlls/mciseq/mciseq.spec, tools/winapi/win32.api, tools/wine.inf: Rémi Assailly Moved mciseq to the top-level dlls directory. * programs/winecfg/appdefaults.c, programs/winecfg/properties.c, programs/winecfg/properties.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h: Vitaliy Margolen Add windows version registry entries. * dlls/avifil32/avifile.c, dlls/avifil32/editstream.c: Mike McCormack gcc 4.0 warning fixes. * dlls/wined3d/device.c, dlls/wined3d/vertexshader.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Oliver Stieber Copy the parser and cross compiler from d3d8 and update everything to vertex shaders 3.0. The Parser will now display the input shader in DirectX style, and the cross compiler now generates valid ARB_VERTEX_PROGRAM programs and outputs the result in ARB_VERTEX_PROGRAM style. Support for a number of extended attributes has been added, but this may not be complete, and dereferencing from loop counters isn't properly parsed yet. * dlls/kernel/atom16.c, dlls/kernel/format_msg.c, dlls/kernel/lzexpand.c, dlls/kernel/ne_segment.c, dlls/kernel/relay16.c, dlls/kernel/resource16.c, dlls/kernel/snoop16.c, dlls/kernel/sync.c, dlls/kernel/volume.c: Mike McCormack gcc 4.0 warning fixes. * dlls/wined3d/device.c, dlls/wined3d/stateblock.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Add support for vertex shader constants to the stateblock. * dlls/kernel/tests/process.c, dlls/msxml3/domdoc.c, dlls/secur32/tests/main.c, dlls/wined3d/drawprim.c: Francois Gouget Assorted spelling fixes. * dlls/wined3d/vertexshader.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_types.h: Oliver Stieber Tidy up vertex shaders and bring the current code inline with the rest of wined3d. * dlls/wininet/tests/http.c: Saulius Krasuckas Correct failing test and transform it into a bunch of another tests. * dlls/ntdll/tests/info.c: Francois Gouget Fix a couple of MSVC signed/unsigned warnings. * dlls/shell32/shlexec.c, dlls/shell32/tests/shlexec.c: Francois Gouget Fix ShellExecute("\"foo.doc\"") for Internet Explorer 6. Update the conformance tests accordingly. Tweak a trace because it's very confusing to see the path with no escaped quotes in ShellExecuteA() and then with escaped quotes in ShellExecuteExW32() (due to debugstr_w()). * dlls/msxml3/node.c: Mike McCormack Fix a search and replace mishap. * dlls/ddraw/surface_dib.c, dlls/ddraw/tests/dsurface.c: Christian Costa Take RGB mask into account when doing color keying. Add corresponding conformance test. * dlls/secur32/Makefile.in, dlls/secur32/ntlm.c, dlls/secur32/secur32.c, dlls/secur32/secur32_priv.h: Kai Blin Add NTLM security provider dummy. * dlls/quartz/filtergraph.c: Christian Costa Add stubbed IGraphConfig interface to the filtergraph. * dlls/quartz/videorenderer.c: Christian Costa Fix rendering of paletted video stream. 2005-08-16 Alexandre Julliard * server/queue.c: Avoid a crash in find_hardware_message_window when there's no foreground input. * dlls/comctl32/Makefile.in, dlls/comctl32/theme_combo.c, dlls/comctl32/theming.c: Frank Richter Add theming for combo boxes. * include/wincrypt.h: Juan Lang Add more missing definitions, and correct a prototype. * dlls/shell32/tests/shlfolder.c: Francois Gouget Dynamically load StrRetToBufW(). This lets shell32_test.exe run on systems that have version 4.72 of shlwapi.dll. * dlls/shell32/tests/shlexec.c: Francois Gouget Verify the parameters received by the child process using code lifted from kernel32/tests/process.c. Test passing parameters to .lnk files that point to an executable. * dlls/ntdll/version.c: There is a registry key for the service pack version (spotted by Vitaliy Margolen). * dlls/x11drv/event.c, dlls/x11drv/keyboard.c, dlls/x11drv/mouse.c, dlls/x11drv/opengl.c, dlls/x11drv/xrender.c: Mike McCormack gcc 4.0 warning fixes. * dlls/secur32/secur32.c, include/lmaccess.h, include/ntsecapi.h, include/winternl.h: Francois Gouget Declare PNTSTATUS in lmaccess.h and ntsecapi.h to match the PSDK. Protect against multiple definitions. Use PNTSTATUS where appropriate. * dlls/ole32/ole2.c, dlls/ole32/ole2_16.c, dlls/ole32/storage.c, tools/winapi/win16.api: Francois Gouget Use LPSTORAGE to better match the PSDK. Document the real SEGPTR type using the standard documentation mechanisms. Fixes winapi_check warnings. * dlls/kernel/heap.c: Dmitry Timoshkov Report swap file total/free sizes to be the same as physical memory. Make sure that we cache all calculated values. * dlls/shell32/tests/shellpath.c: Michael Jung Remove "initguid.h" include from shellpath test. * dlls/mshtml/tests/protocol.c: Jacek Caban Fix protocol test on 9x. * dlls/ntdll/file.c: Ivan Leo Puoti Improve NtCreateNamedPipe trace. * dlls/msi/action.c: Aric Stewart Fixed a memory overflow and leak identified by Mike McCormack. * dlls/user/combo.c: Frank Richter Change CB_GETCOMBOBOX to return STATE_SYSTEM_PRESSED in COMBOBOXINFO.stateButton when really the button is pressed, not when the combo is dropped down. * dlls/wininet/tests/http.c: Saulius Krasuckas Move repetitive code to two helper functions. * dlls/ntdll/version.c: Fetch the version information from the standard Windows keys if not specified otherwise. * programs/regedit/De.rc, programs/regedit/En.rc: Juan Lang Shrink the hex edit window a bit. * dlls/crypt32/tests/encode.c: Juan Lang Remove a test that fails under WinME. Reported and helpfully debugged by Saulius Krasuckas. * dlls/secur32/secur32.c: Juan Lang Fix uninitialized pointer in builtin providers. Reported by Kai Blin. * dlls/ntdll/file.c: Ivan Leo Puoti NtCreateNamedPipeFile is no longer a stub, so fix TRACE() call. * dlls/mshtml/olewnd.c: Jacek Caban Deactivate UI in InPlaceDeactivate. 2005-08-15 Alexandre Julliard * include/objidl.idl, include/ocidl.idl, include/oleidl.idl, include/windef.h: Added a WINE_NO_UNICODE_MACROS define to allow Winelib apps to switch off the Unicode macros too. * dlls/secur32/Makefile.in, dlls/secur32/negotiate.c, dlls/secur32/secur32.c, dlls/secur32/secur32_priv.h, dlls/secur32/tests/main.c: Kai Blin Added Negotiate security provider dummy. Removed todos from the test. * dlls/wldap32/misc.c: Hans Leidekker Fix the build without openldap headers. * dlls/mshtml/tests/htmldoc.c: Jacek Caban - Code cleanup. - Dissable tests after UIActivate failes (fixes tests win 9x). * include/shlguid.h: Michael Jung Added CLSID_FolderShortcut definition. * dlls/msi/action.c: Aric Stewart Add some body to ResolveSource because it is possible to need it when an install is begun but the media is not in the drive, such as in install-on-demand cases. * dlls/ntdll/heap.c: Fixed some confusion over whether HEAP_MIN_BLOCK_SIZE includes the arena headers of not. Free list sizes are constant so there's no need to store them in the heap structure. * dlls/kernel/process.c, tools/wineprefixcreate.in: Set the default system dir to windows/system32. * dlls/ntdll/version.c: Switch the default version to win2k. * dlls/gdi/freetype.c: Huw Davies A previous signed-ness fix broke display of non-ansi chars, fix this. * dlls/shell32/pidl.c: Ge van Geldorp Fix resource leak on error paths. * dlls/ntdll/virtual.c, server/mapping.c: Better handling of conflicting section information between SizeOfRawData and VirtualSize. * dlls/wldap32/misc.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_result. * dlls/x11drv/xrender.c: Frank Richter Fix AlphaBlend() to extract the right part of the source DIB. * dlls/kernel/registry16.c, dlls/ole32/compobj.c, dlls/ole32/storage32.c, dlls/shell32/shell.c: Mike McCormack Warning fixes for gcc 4.0. * dlls/avifil32/factory.c, dlls/commdlg/cdlg32.c, dlls/dplayx/dplayx_main.c, dlls/dsound/dsound_main.c, dlls/hhctrl.ocx/main.c, dlls/mapi32/mapi32_main.c, dlls/mscms/mscms_main.c, dlls/msisys/msisys.c, dlls/oleaut32/oleaut.c, dlls/snmpapi/main.c, dlls/wineps/init.c, dlls/wldap32/main.c: Vincent Béron Uniformize DllMain TRACEing across dlls. * dlls/advpack/tests/advpack.c: Saulius Krasuckas Remove trailing backslash. * dlls/x11drv/codepage.c, dlls/x11drv/dib.c: Mike McCormack gcc 4.0 warning fixes. * dlls/comctl32/Makefile.in, dlls/comctl32/theme_edit.c, dlls/comctl32/theming.c: Frank Richter Subclass edit control to draw themed border. * dlls/comctl32/trackbar.c: Frank Richter Improved trackbar theming. * dlls/uxtheme/system.c: Frank Richter Compare result of RegQueryValueExW() with ERROR_SUCCESS. * dlls/mshtml/protocol.c: Jacek Caban - Added support for aggregation to res protocol. - Fix AboutProtocol_Release. - Use *_THIS macros in protocol objects. * dlls/wldap32/add.c: Hans Leidekker Improve parameter handling for the ldap_add* functions. * dlls/shell32/tests/shellpath.c: Saulius Krasuckas Fix some SHGetSpecialFolderPathA exceptions on WinME: - pass pointer to valid buffer as lpszPath. - disable check passing NULL as lpszPath. * dlls/hhctrl.ocx/help.c: James Hawkins Handle resizing the help viewer window. * dlls/uxtheme/draw.c: Frank Richter Whatever TrueSizeStretchMark is for - it's not what Wine uxtheme used it for. Native uxtheme always stretches "truesize" parts when the destination is smaller than the part image size, but TrueSizeStretchMark doesn't seem to have an influence. * dlls/riched20/context.c, dlls/riched20/editor.c, dlls/riched20/editstr.h, dlls/riched20/paint.c, include/richedit.h: Phil Krylov Added EM_SETRECT, EM_SETRECTNP, and WM_SETREDRAW message handling. Added support for GT_SELECTION flag in EM_GETTEXTEX handler. * dlls/ole32/compobj.c, dlls/ole32/compobj.spec, dlls/ole32/ole2.spec, dlls/ole32/ole2_16.c: Marcus Meissner Added CoCreateInstance16, CoGetClassObject16, OleLoad16 stubs. * dlls/gdi/font.c, dlls/gdi/gdi32.spec: Vikram Kumar Added stub for EnableEUDC. * include/commctrl.h: Frank Richter Add WC_EDIT and WC_LISTBOX. * dlls/advapi32/crypt.c, dlls/tapi32/phone.c, dlls/user/dde_client.c: Vincent Béron Change some TRACEing formats to make more sense. * dlls/msxml3/msxml_private.h: Vincent Béron Protect libxml/parser.h with proper autoconf definition. * dlls/shlwapi/ordinal.c: Vincent Béron Correct typo in format string. * dlls/setupapi/parser.c: Ge van Geldorp index is 1-based at this point, index == line->nb_fields is the last field and is valid. * dlls/winaspi/aspi.c: Gerald Pfeifer set_last_error() is only used on Linux. * dlls/wldap32/Makefile.in, dlls/wldap32/modify.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_modify* functions. * dlls/kernel/instr.c: Vitaliy Margolen Add entry for int 2 handler. * dlls/shell32/shfldr_desktop.c: Michael Jung Ge van Geldorp - Prepend Desktop folder path for files/directories stored in the filesystem Desktop folder when GetDisplayNameOf is called with the SHGDN_FORPARSING flags. - Add testcases. * dlls/mshtml/mshtml_private.h, dlls/mshtml/tests/htmldoc.c, dlls/mshtml/view.c: Jacek Caban Activate window in IOleDocumwnrView::Show. * dlls/mshtml/tests/protocol.c: Jacek Caban Fix protocol test on winxp. * dlls/shell32/tests/shlfolder.c: Saulius Krasuckas XP returns E_INVALIDARG on failure. * dlls/hhctrl.ocx/help.c: James Hawkins - Paint spacing around the tab control. - Use COLOR_MENU to standardize the colors of the viewer. * dlls/msvcrtd/Makefile.in: Mike McCormack Fix gcc 4.0 builtin function warnings. * programs/winecfg/Ja.rc, programs/winecfg/winecfg.rc: Vikram Kumar Added Japanese resources. * dlls/uxtheme/draw.c: Frank Richter Better computations to have uniformly sized parts scaled in both directions. * dlls/comctl32/progress.c: Frank Richter Instead of adding the border via WM_NCPAINT and WM_NCCALCSIZE, do what native does: just clear WS_EX_STATICEDGE when themed and reduce the area the actual bar is painted in to the progress bar theme part content rect. * dlls/x11drv/winpos.c: Frank Richter Invalidate DCEs when a window region is set. 2005-08-12 Alexandre Julliard * dlls/ntdll/heap.c: Converted the process heap list to a standard list. * dlls/setupapi/misc.c, dlls/setupapi/setupapi.spec: Added stubs for pSetupGet/SetGlobalFlags. * dlls/kernel/tests/thread.c, dlls/ntdll/cdrom.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/drawprim.c, dlls/wined3d/vertexdeclaration.c, dlls/wininet/tests/wininet_test.h, tools/winapi/winapi.pm: Francois Gouget Assorted spelling fixes. * dlls/ntdll/heap.c: Converted the heap free lists to standard lists. * dlls/ntdll/loader.c: Removed a redundant and possibly wrong warning. * dlls/kernel/kernel32.spec, dlls/kernel/module.c, tools/winebuild/import.c: Implemented DelayLoadFailureHook and use it in the winebuild-generated delay load code. * dlls/comctl32/theming.c: Frank Richter Determining the superclass for a window subclassed for theming doesn't work - e.g. Delphi buttons have the classname "TButton" for which no superclass will be found. Instead, use initial subclass window procs that have the subclass hardcoded and store it for the "real" subclass window proc. * include/mshtmhst.idl: Jacek Caban Fix Show*HTMLDialog declarations. * programs/winecfg/En.rc: Richard Cohen Update English neutral version of winecfg graphics tab, and make the groupboxes not overlap. * dlls/wldap32/option.c, dlls/wldap32/wldap32.h: Hans Leidekker Implement LDAP_OPT_API_FEATURE_INFO and LDAP_OPT_API_INFO. * dlls/mshtml/oleobj.c: Jacek Caban - Added IOleObject::Close implementation. - OLEIVERB_INPLACEACTIVATE is the same as OLEIVERB_UIACTIVATE. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Huw Davies Implement SHLoadRegUIStringW. * dlls/shlwapi/tests/shreg.c: Richard Cohen Blame ExpandEnvironmentStringsA for the failing NT4 test. * dlls/uxtheme/msstyles.c, dlls/uxtheme/msstyles.h, dlls/uxtheme/system.c: Frank Richter Enhance uxtheme to store the themed system metrics in the registry and also backup the old metrics. That way, themed system colors are set even uxtheme was not loaded and initialized yet, and when a theme is deactivated, the colors prior to the activation are restored as well. Also, not having to set the system colors in uxtheme startup works around weird problems where SetSystemColors() ended up being called from inside window creation and this seemingly led to some creation message being sent twice. * dlls/kernel/module.c: Add the 16-bit system directory if any to the module search path. * configure, configure.ac, dlls/msxml3/Makefile.in, dlls/msxml3/tests/.cvsignore, dlls/msxml3/tests/Makefile.in, dlls/msxml3/tests/domdoc.c: Mike McCormack Add some msxml3 tests. * dlls/ntdll/virtual.c: Don't map data beyond the virtual size of a section. * dlls/msxml3/main.c, tools/wine.inf: Mike McCormack Partial implementation of DllRegisterServer. * dlls/winmm/winealsa/audio.c: Alex Villacís Lasso Remove crackling in DirectSound/ALSA playback with full hardware acceleration. * dlls/comctl32/trackbar.c: Frank Richter Add initial theming support for trackbars. * dlls/comctl32/toolbar.c: Frank Richter Add theming for toolbar control. * dlls/x11drv/clipboard.c, dlls/x11drv/xdnd.c, dlls/x11drv/xfont.c, dlls/x11drv/xrandr.c, dlls/x11drv/xrender.c: Mike McCormack Fix some gcc 4.0 warnings. * configure, configure.ac, dlls/msxml3/domdoc.c, include/config.h.in: Mike McCormack Add a configure test for xmlReadMemory. * dlls/msvcrtd/tests/Makefile.in, dlls/msvcrtd/tests/debug.c: Saulius Krasuckas Don't import MSVCRTD.DLL and don't fail when it could not be loaded. * dlls/shell32/tests/shlfolder.c: Saulius Krasuckas Win98 returns HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)) on failure. * dlls/mshtml/main.c, dlls/mshtml/mshtml.spec: Jacek Caban Added RNIGetCompatibleVersion implementation. * dlls/commdlg/filedlg.c: Michael Jung Check the GetPidlFromDataObject's doSelected parameter before calling a method on it. * dlls/shell32/shfldr_unixfs.c: Michael Jung Use wine_get_dos_file_name instead of GetFullPathName. 2005-08-11 Alexandre Julliard * dlls/mshtml/mshtml_private.h, dlls/mshtml/nsembed.c, dlls/mshtml/nsiface.idl, dlls/mshtml/persist.c: Jacek Caban Use nsIWebBrowserStream to load html. * dlls/kernel/task.c: Make 16-bit task properly inherit the current directory of their parent (based on a patch by Richard Cohen). * dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c: Huw Davies Implement SHLoadIndirectString. * dlls/comctl32/tab.c: Frank Richter Fix text color for "button" style tabs when theming is enabled. * dlls/comctl32/status.c: Frank Richter Add theming for status bar control. * dlls/comctl32/progress.c: Frank Richter Add theming for the progress control. * Make.rules.in, configure, configure.ac, dlls/crtdll/Makefile.in, dlls/msvcrt/tests/Makefile.in, dlls/msvcrtd/tests/Makefile.in, programs/notepad/Makefile.in, programs/regedit/Makefile.in, programs/taskmgr/Makefile.in: Mike McCormack Turn off gcc 4.0's builtin wchar inlines. * dlls/secur32/tests/main.c, include/winerror.h: Kai Blin Added more secur32.dll tests and fixed missing constants in winerror.h. * dlls/wldap32/Makefile.in, dlls/wldap32/delete.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_delete* functions. Add missing spec file entries. * include/commctrl.h: Frank Richter Add WC_COMBOBOX. * dlls/kernel/oldconfig.c: Frank Richter Fix a crash on startup when /proc/ide does not exist. * dlls/comctl32/rebar.c: Frank Richter Add theming for the rebar control. * dlls/comctl32/monthcal.c: Frank Richter Add theming for the monthcal control. * dlls/mshtml/protocol.c: Jacek Caban Added support for aggregation in about protocol. * dlls/shell32/shlexec.c: Francois Gouget Fix the return value of SHELL_Argify() so it once again returns true if a '%1' or equivalent placeholder was found. This fixes ShellExecuteEx(lpFile="foo.txt", lpClass="txtfile"). * dlls/ntdll/tests/atom.c: Francois Gouget Define WIN32_NO_STATUS so we don't get 'duplicate macro' errors when compiling with the PSDK and MSVC. Add some types that are not defined by the PSDK. * dlls/kernel/kernel32.spec, dlls/kernel/path.c, include/winbase.h: Added a wine_get_dos_file_name function in kernel32 as a wrapper around the new wine_unix_to_nt_file_name. * programs/msiexec/msiexec.c, programs/msiexec/msiexec.h: Removed a useless header file. * dlls/lzexpand/lzexpand.spec, dlls/lzexpand/lzexpand16.c: Vincent Béron Implement LZDone in lzexpand, as the 32 bit one moved to kernel. * dlls/msxml3/domdoc.c: Mike McCormack Increment the document's refcount when creating the root element. * dlls/msxml3/element.c: Mike McCormack Implement IXMLDOMElement::get_tagName. * dlls/ddraw/device_opengl.c, dlls/wined3d/directx.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/wined3d/device.c: Oliver Stieber Allow the palette to be set and retrieved. * dlls/ntdll/directory.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, dlls/ntdll/path.c, include/winternl.h: Added a wine_unix_to_nt_file_name function to do proper pathname conversions instead of relying on GetFullPathName hacks. * dlls/user/message.c: Set remove to TRUE in accept_hardware_message for messages that should go to a different thread. Simplify the code a bit. * include/winldap.h: Dmitry Timoshkov Add some missing LDAP definitions. * tools/winedump/lnk.c: Steven Edwards Correct size check. * dlls/shell32/shfldr_desktop.c, dlls/shell32/tests/shlfolder.c, include/shobjidl.idl: Steven Edwards Correct definition of SFGAO_STORAGEANCESTOR. * dlls/msxml3/domdoc.c: Mike McCormack Implement IXMLDOMDocument::loadXML. * dlls/sensapi/sensapi.c: Steven Edwards Remove redundant include. * tools/winapi/winapi_local.pm: Vincent Béron Correct a typo in winapi_local.pm. * tools/winapi/win32.api: Vincent Béron Another update to win*.api. * dlls/wined3d/device.c, dlls/wined3d/stateblock.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Track the state of softwareVertexProcessing. * dlls/wined3d/basetexture.c: Oliver Stieber Correct the starting values of MIN, MAX and MIP filter, they now match the initial values in opengl. * dlls/riched20/writer.c: Phil Krylov Fixed a bug in EM_STREAMOUT RichEdit message handler which truncated some streamed text. * dlls/mshtml/htmldoc.c, dlls/mshtml/main.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/nsembed.c, dlls/mshtml/oleobj.c, dlls/mshtml/olewnd.c, dlls/mshtml/persist.c, dlls/mshtml/protocol.c, dlls/mshtml/service.c, dlls/mshtml/view.c: Jacek Caban Move includes of interfaces to mshtml_private.h. * dlls/shell32/shlexec.c: Francois Gouget Fix handling of SEE_MASK_CLASSNAME and SEE_MASK_CLASSKEY. They are not disjoint flags. * dlls/ntdll/tests/reg.c: Francois Gouget Remove unneeded wine/library.h include. Use lstrlenW() instead of the Wine-specific strlenW(). This also lets us get rid of the wine/unicode.h include. Define the InitializeObjectAttributes() macro if not using Wine's winternl.h header. 2005-08-10 Alexandre Julliard * dlls/kernel/version.c: Directly use the PEB version fields in GetVersion. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Huw Davies Partial implementation of DeleteMenuWrap. * dlls/user/tests/dce.c: Francois Gouget Define DCX_USESTYLE if it is not defined already. Fixes the compilation with the PSDK. * dlls/ntdll/tests/rtl.c: Francois Gouget Define RTL_HANDLE and RTL_HANDLE_TABLE if not using Wine's winternl.h header. Fixes the compilation with the PSDK. * include/winldap.h: Hans Leidekker Synchronize winldap.h with winldap_private.h. * dlls/ntdll/rtl.c, dlls/ntdll/version.c: Implemented RtlGetNtProductType. * dlls/dmband/dmband_main.c, dlls/dmloader/dmloader_main.c, dlls/dmscript/dmscript_main.c, dlls/dmsynth/dmsynth_main.c, dlls/dmusic/dmusic_main.c, dlls/dswave/dswave_main.c: Francois Gouget Correct more mismatches between spec files and comments about export number. * dlls/kernel/tests/comm.c: Francois Gouget Add trailing '\n's to trace() call. * dlls/comctl32/tests/treeview.c: Francois Gouget The PSDK does not define a TreeView_InsertItemA() macro so use TreeView_InsertItem() instead. * dlls/winmm/wineesd/audio.c: Francois Gouget Unicodify wineesd. Fixes WIDM_GETDEVCAPS and WODM_GETDEVCAPS. Call Unicode functions instead of their Ansi equivalent when possible. * dlls/wldap32/Makefile.in, dlls/wldap32/add.c, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_add* functions. * dlls/kernel/process.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, dlls/ntdll/version.c: Moved the version initialization to ntdll. Properly set the version fields in the PEB. Removed some no longer used structures. * tools/winebuild/res32.c: Byteswap the resources if we detect that the header is in the wrong endianness. * dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplayx.spec, dlls/dplayx/dplayx_main.c, dlls/dpnhpast/dpnhpast.spec, dlls/dpnhpast/main.c, dlls/msi/msi.c, dlls/msi/msi.spec, dlls/msi/regsvr.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/regsvr.c: Francois Gouget Change some Dll* functions so they are exported by name like on Windows. Update the documentation accordingly. * dlls/wldap32/wldap32.rc, dlls/wldap32/wldap32_Fr.rc: Jonathan Ernst French localization for wldap32. * dlls/kernel/lzexpand.c: Francois Gouget Update the documentation to reflect the fact that the LZ* functions are implemented in kernel32.dll now. * dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.h: Hans Leidekker Add helpers for converting (arrays of) LDAPMod structures into different encodings. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Huw Davies Implement IUnknown_EnumObjects. * dlls/kernel/profile.c, dlls/kernel/tests/profile.c: Richard Cohen - Fix regression in GetPrivateProfileString16 for key=NULL. - Check return values in Profile tests. * dlls/gdi/metafile.c, dlls/kernel/kernel_main.c, dlls/kernel/local16.c, dlls/kernel/resource16.c, dlls/kernel/task.c, dlls/ole32/ole16.c, dlls/ole32/storage.c, dlls/user/edit.c, dlls/user/user16.c, dlls/winmm/mmsystem.c, dlls/wow32/wow_main.c, include/wine/winbase16.h, include/wownt32.h: Use the proper WOW functions everywhere instead of the K32WOW variant. * dlls/winaspi/Makefile.in, dlls/winaspi/aspi.c, dlls/winaspi/winescsi.h: Vitaliy Margolen Make use of now full and correct HKLM\HARDWARE\DEVICES\Scsi. * dlls/kernel/oldconfig.c: Vitaliy Margolen Use /proc filesystem to create HKLM\HARDWARE\DEVICEMAP\Scsi entries. * programs/winelauncher.in: Marcus Meissner Fixed harmless /tmp problem. * dlls/user/driver.c, dlls/user/user_main.c, dlls/user/user_private.h: Make sure we don't call the graphics driver after process detach. * dlls/msxml3/Makefile.in, dlls/msxml3/domdoc.c, dlls/msxml3/element.c, dlls/msxml3/msxml_private.h, dlls/msxml3/node.c, dlls/msxml3/nodemap.c: Mike McCormack Create a node object and use it to hold libxml2 pointers. * dlls/mshtml/mshtml_private.h, dlls/mshtml/nsembed.c, dlls/mshtml/persist.c, dlls/mshtml/view.c: Jacek Caban Init nsWebBrowser window while creating nscontainer. * dlls/atl/registrar.c, dlls/dmband/dmband_main.c, dlls/dmloader/dmloader_main.c, dlls/dmscript/dmscript_main.c, dlls/dmsynth/dmsynth_main.c, dlls/dmusic/dmusic_main.c, dlls/dswave/dswave_main.c, dlls/mlang/mlang.c, dlls/mshtml/main.c, dlls/msi/msi.c, dlls/msxml3/factory.c, dlls/ole32/ole2.c, dlls/ole32/ole2.spec, dlls/ole32/storage.c: Vincent Béron Correct mismatches between spec files and comments about export number. * dlls/usp10/usp10.c, include/msacmdrv.h, include/msi.h, include/msxml.idl, include/msxml2.idl, include/odbcinst.h, include/strmif.idl, include/xmldom.idl: Vincent Béron Use #include "foo.h" for including Windows headers in dlls/, use #include for including Windows headers in include/. * dlls/commdlg/filedlg.c: Troy Rollo Browse to the directory if a directory name is typed into the edit box of a file dialog and the confirmation button (or Enter key) is hit. Return any file name in the edit box if OFN_NOVALIDATE is set and OFN_FILEMUSTEXIST is not, even if that file name includes a path name or is the name of a folder. * dlls/wldap32/bind.c, dlls/wldap32/init.c, dlls/wldap32/search.c: Vincent Béron Use HAVE_LDAP_H when checking if ldap.h is available. * dlls/opengl32/wgl.c, dlls/opengl32/wgl_ext.c: Mike McCormack gcc 4.0 warning fixes. * tools/winapi/win16.api, tools/winapi/win32.api: Vincent Béron Another update to the win*.api files. * tools/winapi/winapi_check: Vincent Béron Since windows/ is gone, headers for user are only in dlls/user/. Remove kludge from winapi_check. * dlls/mapi32/prop.c, dlls/ole32/ole16.c: Vincent Béron Remove local declarations already in included public headers. * include/wine/winbase16.h: Mike McCormack Fix gcc 4.0 warnings. 2005-08-09 Alexandre Julliard * dlls/shell32/debughlp.c: Use ERR instead of DPRINTF in dump_pidl_hex. * tools/winegcc/utils.c, tools/winegcc/utils.h, tools/winegcc/winegcc.c: Ignore prelink failures. * dlls/mshtml/Makefile.in, dlls/mshtml/mshtml_private.h, dlls/mshtml/persist.c: Jacek Caban - Beginning implementation of true IPersistMoniker::Load. - THIS macros cleanup. * dlls/ntdll/loader.c: Don't call process attach notification during process shutdown. Make sure we don't insert a module in the same list twice. * dlls/mshtml/protocol.c, dlls/mshtml/tests/protocol.c: Jacek Caban Report BINDSTATUS_MIMETYPEAVAILABLE in AboutProtocol::Start. * dlls/wldap32/Makefile.in, dlls/wldap32/option.c, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_{get,set}_option{A,W}. * dlls/shlwapi/shlwapi.spec, dlls/shlwapi/thread.c: Huw Davies _CreateAllAccessSecurityAttributes takes three parameters. * dlls/Makedll.rules.in, dlls/kernel/Makefile.in, dlls/ntdll/Makefile.in: Specify a base address for kernel and ntdll. * dlls/msxml3/main.c, dlls/msxml3/msxml_private.h: Mike McCormack Initialize and clean up libxml2 in DllMain. * Make.rules.in, configure, configure.ac, tools/winegcc/Makefile.in, tools/winegcc/winegcc.c: Added support for the --image-base linker option in winegcc using the prelink tool. * dlls/ntdll/ntdll_misc.h, dlls/ntdll/thread.c, dlls/ntdll/virtual.c: Added a VIRTUAL_alloc_teb function to allocate TEBs while making sure they don't end up above the address space limit. * dlls/oleaut32/oleaut.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/tmarshal.h, dlls/oleaut32/typelib.h: Get rid of the almost empty tmarshal.h file. * server/named_pipe.c, server/registry.c, server/request.c, server/sock.c, server/thread.c: Mike McCormack Fix some gcc 4.0 warnings. * server/registry.c: The temp buffer always stores WCHARs, fixed its type and got rid of a number of casts. * dlls/oleaut32/variant.h, dlls/oleaut32/vartype.c: Moved a number of definitions that are not needed in other files into vartype.c * dlls/Makefile.in, dlls/itss/.cvsignore, dlls/itss/Makefile.in: itss doesn't need an import library. * dlls/advpack/advpack.spec, dlls/dciman32/dciman32.spec, dlls/itss/itss.spec, dlls/msimg32/msimg32.spec: Mark DllMain and similar exports as private. * tools/winebuild/parser.c: Added a warning for DllGetVersion and DllInstall not being declared private. Also warn when one of the Dll* functions is using a different internal name. * dlls/user/menu.c, dlls/user/tests/win.c, dlls/user/win.c: Dmitry Timoshkov Make CreateWindow with invalid menu handle test pass on Wine. * dlls/d3d8/directx.c: Mike McCormack Fix gcc 4.0 warnings. * include/winbase.h: Mike McCormack Correct OFSTRUCT declaration. * dlls/shlwapi/ordinal.c, dlls/shlwapi/tests/ordinal.c: Huw Davies Implement and add tests for the FDSA functions. 2005-08-08 Alexandre Julliard * dlls/gdi/dib.c, dlls/x11drv/dib.c: Michael Kaufmann Fix for BI_BITFIELDS: The color masks are at the same position in all the bitmap headers that support this flag (BITMAPINFO: The first color mask is in bmiColors[0], that's the same position as bV4RedMask in BITMAPV4HEADER). * dlls/oleaut32/safearray.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c: Mike McCormack gcc 4.0 warning fixes. * configure, configure.ac: Mike McCormack Use pkg-config in the libxml configure check. * dlls/msxml3/domdoc.c: Mike McCormack Use xmlParseMemory instead of xmlReadIO. * dlls/Makefile.in, dlls/richedit/.cvsignore, dlls/richedit/Makefile.in: riched32 doesn't need an import library. * dlls/dmcompos/dmcompos.spec, dlls/dmime/dmime.spec, dlls/dmstyle/dmstyle.spec, dlls/shdocvw/shdocvw.spec: Fixed DllGetClassObject spec entries. * dlls/shell32/tests/shlfileop.c, dlls/shell32/tests/shlfolder.c: Saulius Krasuckas Remove trailing backslash. * dlls/msxml3/nodemap.c: Jacek Caban Fixed msxml compilation when libxml2 is not available. * dlls/kernel/comm.c: Gerald Pfeifer Fix autoconf-related #ifdefs in Comm_CheckEvents(). * dlls/wined3d/stateblock.c: Oliver Stieber Fix stateblock loop errors. * tools/winedump/pe.c: Mike McCormack gcc 4.0 warning fix. * dlls/shlwapi/ordinal.c: Huw Davies IUnknown_SetSite calls IObjectWithSite_SetSite or IInternetSecurityManager_SetSecuritySite. * dlls/oleaut32/tests/vartype.c: Saulius Krasuckas Comment out VarDateFromStr() calls that generate exceptions on WinME. * dlls/richedit/riched32.spec, dlls/richedit/richedit.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/shlwapi_main.c, dlls/wininet/wininet.spec, dlls/wininet/wininet_main.c: Don't prefix the functions DllInstall and DllGetVersion with the dll name so that the compiler can check the prototypes. * include/shlwapi.h: Added a prototype for DllGetVersion to enable type checking in the Wine source. * dlls/mapi32/mapi32.spec, dlls/mapi32/mapi32_main.c, dlls/mlang/mlang.c, dlls/mlang/mlang.spec, dlls/mlang/regsvr.c, dlls/mpr/mpr.spec, dlls/mpr/mpr_main.c, dlls/mshtml/main.c, dlls/mshtml/mshtml.spec, dlls/msi/msi.c, dlls/msi/msi.spec, dlls/msi/msipriv.h, dlls/msi/regsvr.c, dlls/msisys/msisys.c, dlls/msisys/msisys.ocx.spec, dlls/msxml3/factory.c, dlls/msxml3/main.c, dlls/msxml3/msxml3.spec, dlls/ole32/ole32.spec, dlls/ole32/oleproxy.c, dlls/oleacc/main.c, dlls/oleacc/oleacc.spec, dlls/qcap/qcap.spec, dlls/qcap/qcap_main.c, dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c, dlls/shell32/regsvr.c, dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/urlmon/regsvr.c, dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c, dlls/amstream/amstream.spec, dlls/amstream/main.c, dlls/amstream/regsvr.c, dlls/atl/atl.spec, dlls/atl/registrar.c, dlls/avifil32/avifil32.spec, dlls/avifil32/factory.c, dlls/avifil32/regsvr.c, dlls/cabinet/cabinet.spec, dlls/cabinet/cabinet_main.c, dlls/comcat/comcat.spec, dlls/comcat/comcat_main.c, dlls/comcat/regsvr.c, dlls/comctl32/comctl32.spec, dlls/comctl32/commctrl.c, dlls/d3dxof/d3dxof.spec, dlls/d3dxof/main.c, dlls/d3dxof/regsvr.c, dlls/ddraw/ddraw.spec, dlls/ddraw/main.c, dlls/ddraw/regsvr.c, dlls/dinput/dinput.spec, dlls/dinput/dinput_main.c, dlls/dinput/regsvr.c, dlls/dinput8/dinput8.spec, dlls/dinput8/dinput8_main.c, dlls/dmband/dmband.spec, dlls/dmband/dmband_main.c, dlls/dmband/regsvr.c, dlls/dmloader/dmloader.spec, dlls/dmloader/dmloader_main.c, dlls/dmloader/regsvr.c, dlls/dmscript/dmscript.spec, dlls/dmscript/dmscript_main.c, dlls/dmscript/regsvr.c, dlls/dmsynth/dmsynth.spec, dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/regsvr.c, dlls/dmusic/dmusic.spec, dlls/dmusic/dmusic_main.c, dlls/dmusic/regsvr.c, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplayx.spec, dlls/dplayx/dplayx_main.c, dlls/dplayx/regsvr.c, dlls/dpnet/dpnet.spec, dlls/dpnet/dpnet_main.c, dlls/dpnet/regsvr.c, dlls/dpnhpast/dpnhpast.spec, dlls/dpnhpast/main.c, dlls/dswave/dswave.spec, dlls/dswave/dswave_main.c, dlls/dswave/regsvr.c, dlls/dxdiagn/dxdiagn.spec: Don't prefix the functions DllCanUnloadNow, DllGetClassObject and Dll(Un)RegisterServer with the dll name so that the compiler can check the prototypes. * include/wine/server_protocol.h, server/change.c, server/fd.c, server/file.c, server/mapping.c, server/protocol.def, server/request.h, server/trace.c: Added an unmount_device request that invalidates all file descriptors open on a given Unix device. * dlls/oleaut32/variant.h, dlls/oleaut32/vartype.c: Removed some unnecessary macros, and make some functions static. * dlls/amstream/main.c, dlls/avifil32/factory.c, dlls/d3dxof/main.c, dlls/ddraw/main.c, dlls/dplayx/dpclassfactory.c, dlls/msisys/msisys.c, dlls/msxml3/factory.c, dlls/urlmon/urlmon_main.c: Francois Gouget Add missing WINAPI to MSXML_DllGetClassObject(). Standardize the DllGetClassObject() prototypes so they match the MSDN definition. * dlls/msxml3/Makefile.in, dlls/msxml3/element.c, dlls/msxml3/msxml_private.h, dlls/msxml3/nodemap.c: Mike McCormack Implement the IXMLDOMNamedNodeMap interface. * dlls/gdi/driver.c, dlls/gdi/font.c, dlls/gdi/freetype.c, dlls/gdi/tests/metafile.c: Mike McCormack Warning fixes for gcc 4.0. * tools/Makefile.in: Detlef Riekenberg Added exe extensions for mingw32. * dlls/shlwapi/shlwapi.spec: Huw Davies Forward ordinals 457,458 to GetLongPathNameW,A. * include/winspool.h: Detlef Riekenberg - Access rights for Printserver, Printers and Printjobs added. - Defines for bidirectional communication added. * dlls/msxml3/element.c, dlls/msxml3/msxml_private.h: Jacek Caban Fixed msxml compilation when libxml is not available. * dlls/wldap32/wldap32.rc, dlls/wldap32/wldap32_Ru.rc: Dmitry Timoshkov Added Russian resources to wldap32. * dlls/user/tests/win.c: Francois Gouget CreateWindow(parent=NULL, ctlid!=0) should fail. * configure, configure.ac, dlls/dinput/joystick_linuxinput.c, dlls/winmm/wineoss/midi.c, dlls/winmm/wineoss/oss.c, dlls/winmm/wineoss/oss.h, include/config.h.in: Removed some unused or redundant configure checks. A few cleanups in configure.ac. * dlls/uuid/uuid.c, include/.cvsignore, include/Makefile.in, include/hlink.idl: Jacek Caban Added hlink.idl. * dlls/mshtml/htmldoc.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/oleobj.c: Jacek Caban Added stub implementation of IOleControl. * dlls/gdi/tests/gdiobj.c: Dmitry Timoshkov Add a test showing that Windows doesn't tie GDI objects to a particular thread. * dlls/msi/msipriv.h: Yuri Kozlov Remove duplicate declaration of MSI_SetPropertyW. * programs/winetest/Makefile.in: Kai Blin Add secur32.dll tests to winetest. * dlls/atl/atl_main.c, dlls/atl/registrar.c: Stefan Leichter Basic implementation of AtlModuleUpdateRegistryFromResourceD. * tools/winapi/winapi_parser.pm: Vincent Béron Remove WINE_PACKED recognition. Update various winapi parser regular expressions to let it understand some Wine constructs. * tools/winapi/win16.api, tools/winapi/win32.api: Vincent Béron Update win16.api/win32.api to current CVS. * tools/winapi/c_parser.pm: Vincent Béron Remove WINE_UNUSED checks. * dlls/riched20/reader.c: Phil Krylov Fixed UTF-8 RTF parsing. * include/dinput.h: Daniel Remenak Add some definitions necessary for force feedback. * dlls/ole32/ole2.c, dlls/ole32/ole2.spec, dlls/ole32/storage.c, dlls/ole32/storage.spec: Marcus Meissner Implemented ILockBytes16 (memorystream) support for the 16bit compound storage implementation. Added ReadClassStg, OleDoAutoConvert, GetConvertStg implementations/stubs. * dlls/shell32/tests/shlfolder.c: Saulius Krasuckas Wine and NT4 returns E_FAIL on failure. * dlls/oleaut32/typelib.c: Robert Shearman Revert to previous behaviour of detecting names with non-alphanumeric characters as ones with offsets, but add in a special case for an empty name. * dlls/wldap32/wldap32.rc, dlls/wldap32/wldap32_De.rc, dlls/wldap32/wldap32_Nl.rc: Hans Leidekker Add Dutch resource translation. Small fix for the German translation. * dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.h: Hans Leidekker Add helpers for converting (arrays of) LDAPSortKey, LDAPAPIInfo, and LDAPAPIFeatureInfo structures into different encodings. * dlls/user/listbox.c, dlls/user/tests/listbox.c: Francois Gouget The listbox test shows that the control id must be stored in WPARAM for the WM_DRAWITEM message. Fix the listbox test so CreateWindow() does not fail on Windows. * dlls/ntdll/cdrom.c: Tobias Gruetzmacher Reverse the direction of raw SCSI commands. * dlls/shlwapi/ordinal.c: Huw Davies Fix call to GetMenuItemInfo and unicodify while we're at it. * dlls/msi/table.c: Mike McCormack Handle loading strings over 64k from the string table. * dlls/hhctrl.ocx/De.rc: Henning Gerhardt Update German resource file. * dlls/hhctrl.ocx/help.c: James Hawkins - Don't keep track of the number of TB buttons. - Call the W version of SetWindowLongPtr. * dlls/wined3d/stateblock.c: Oliver Stieber Allow the WINED3DSBT_IMPL to be applied so that states can be synced between render target contexts. * dlls/wined3d/Makefile.in: Oliver Stieber Remove dxguid dependency. 2005-08-03 Alexandre Julliard * dlls/mshtml/nsembed.c: Jacek Caban Fix comment about hack. * dlls/mshtml/oleobj.c, dlls/mshtml/tests/htmldoc.c: Jacek Caban Added IOleCommandTarget::Exec implementation. * configure, configure.ac, dlls/advapi32/crypt.c, dlls/avicap32/avicap32_main.c, dlls/d3d8/surface.c, dlls/dbghelp/elf_module.c, dlls/ddraw/surface_dib.c, dlls/ddraw/surface_main.c, dlls/ddraw/texture.c, dlls/iphlpapi/ipstats.c, dlls/ntdll/path.c, dlls/qcap/v4l.c, dlls/shell32/shfldr_unixfs.c, dlls/winaspi/aspi.c, dlls/winaspi/winaspi16.c, dlls/winedos/ppdev.c, dlls/wineps/ppd.c, dlls/wineps/type1afm.c, dlls/winmm/joystick/joystick.c, dlls/winmm/wineoss/midi.c, dlls/winmm/wineoss/mixer.c, dlls/winmm/wineoss/mmaux.c, include/config.h.in, include/wine/port.h, programs/winecfg/drivedetect.c, server/fd.c, tools/fnt2bdf.c, tools/fnt2fon.c, tools/sfnt2fnt.c, tools/widl/proxy.c, tools/widl/widl.c, tools/winedump/dump.c, tools/winedump/main.c, tools/wmc/wmc.c, tools/wmc/write.c, tools/wrc/parser.y: Removed the broken mmap64 configure check, and moved the _FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that need the define include it. * dlls/wined3d/surface.c: Oliver Stieber Set the apha channel to opaque when locking X8R8G8B8 backbuffers. * dlls/uxtheme/draw.c: Frank Richter Implement DrawThemeEdge(). * dlls/wined3d/basetexture.c, dlls/wined3d/cubetexture.c, dlls/wined3d/device.c, dlls/wined3d/drawprim.c, dlls/wined3d/texture.c, dlls/wined3d/utils.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Moved support for non power 2 texture to hardware. Fix for the texture state separation patches, ApplyTextureStates is now called instead of being commented out. * dlls/uxtheme/draw.c: Frank Richter Set some default values for truesize sizing that seem closer to Windows. * configure, configure.ac, programs/regedit/Makefile.in: Get rid of the no longer used regedit test. * configure, configure.ac, dlls/wineps/ppd.c, dlls/winsock/socket.c, include/config.h.in, programs/wineconsole/curses.c: Merged some of the header checks to reduce the size of the generated configure script a bit. * dlls/user/painting.c: Call the USER driver directly to check for X events on RDW_UPDATENOW instead of calling MsgWaitForMultipleObjects. * Makefile.in: Detlef Riekenberg Added description for crosstest. * dlls/wined3d/drawprim.c: Oliver Stieber Improve on a fixup for the difference between opengl and directx pixel centering of vertexes. * dlls/dsound/mixer.c: Alex Villacís Lasso Correction to earlier assertion patch to allow for buf_mixpos == buflen in non-looping case, fixes looping of one-off mixed samples introduced by previous patch. * dlls/wininet/internet.c: Robert Shearman As per MSDN, INTERNET_OPTION_CONNECTED_STATE should take a DWORD instead of the INTERNET_CONNECTED_INFO structure. * dlls/uxtheme/draw.c: Frank Richter The default image layout is HORIZONTAL, not VERTICAL. * dlls/ntdll/critsection.c, dlls/ntdll/heap.c: Hack to make the main heap critical section have a proper debug info structure. * configure, configure.ac, dlls/Makefile.in, dlls/winmm/wineesd/.cvsignore, dlls/winmm/wineesd/Makefile.in, dlls/winmm/wineesd/audio.c, dlls/winmm/wineesd/esound.c, dlls/winmm/wineesd/esound.h, dlls/winmm/wineesd/wineesd.drv.spec, include/config.h.in, programs/winecfg/audio.c, programs/winecfg/properties.c: Peter Åstrand Implemented an Esound driver. * dlls/x11drv/event.c: Don't call WaitForMultipleObjectsEx if we are just polling for pending X events. * dlls/kernel/tests/comm.c: Uwe Bonnes More comm tests. * dlls/kernel/comm.c: Uwe Bonnes Implement WaitCommEvent by polling the appropriate data sources. * dlls/uxtheme/draw.c: Frank Richter Another fix to use magenta as the default transparent color. * dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/rpcrt4.spec, include/rpcndr.h, include/wine/rpcfc.h: Robert Shearman Add stubs for NdrMapCommAndFaultStatus, conformant string marshaling and context handle functions. * tools/widl/header.c, tools/widl/header.h: Robert Shearman - The header global variable is NULL when not generating a header so don't try to use it in functions that may be called by the client code. - Make the functions that take char * take const char *. * dlls/rpcrt4/rpc_message.c: Robert Shearman Don't free previous buffer in NdrGetBuffer. * libs/unicode/wctomb.c: Mike McCormack Fix a gcc 4.0 -Wpointer-sign warning. * dlls/uxtheme/draw.c: Frank Richter Add support for horizontal & vertical alignment when doing truesize sizing. * configure, configure.ac, dlls/secur32/Makefile.in, dlls/secur32/tests/.cvsignore, dlls/secur32/tests/Makefile.in, dlls/secur32/tests/main.c: Kai Blin Set up tests for secur32. * dlls/hhctrl.ocx/help.c: James Hawkins Free the allocated command line string. * dlls/uxtheme/draw.c: Frank Richter Add support for the BT_NONE background type. * dlls/hhctrl.ocx/En.rc, dlls/hhctrl.ocx/help.c, dlls/hhctrl.ocx/hhctrl.rc, dlls/hhctrl.ocx/resource.h: James Hawkins Add a tab control to the navigation pane. * dlls/comctl32/header.c: Frank Richter Add hottracking support for the header control. * dlls/uxtheme/draw.c: Frank Richter Implement GetThemeBackgroundExtent(). * dlls/version/info.c: Don't convert the return value on failure in VerQueryValueA/W. * dlls/shell32/tests/shellpath.c, dlls/winspool/info.c: Mike McCormack gcc 4.0 RegSetValueEx warning fixes. * dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick_linux.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c, dlls/dxdiagn/dxdiag_private.h, dlls/oleaut32/tests/safearray.c, dlls/oleaut32/tests/vartype.c, dlls/quartz/enummoniker.c, dlls/riched20/richole.c, include/wine/wined3d_gl.h: Mike McCormack gcc 4.0 warning fixes for Interlocked* functions. * dlls/x11drv/opengl.c: Oliver Stieber Back out the previous stencil patch and slightly improve on the old functionality. * dlls/wined3d/basetexture.c, dlls/wined3d/cubetexture.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/texture.c, dlls/wined3d/volumetexture.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Oliver Stieber Move the setting of states from device to basetexture, states that relate to the opengl texture object will only be updated when they are out of sync, this reduces the number of texture object state changes during game play in Axis and allies from several hundreds to 0 or 1. * dlls/msxml3/Makefile.in, dlls/msxml3/domdoc.c, dlls/msxml3/element.c, dlls/msxml3/msxml_private.h: Mike McCormack Implemented the IXMLDOMElement interface. * dlls/wldap32/Makefile.in, dlls/wldap32/dn.c, dlls/wldap32/misc.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement LdapUnicodeToUTF8, LdapUTF8ToUnicode, ldap_dn2ufn*, ldap_explode_dn*, ldap_get_dn*, ldap_memfree*, ldap_ufn2dn* and ldap_value_free*. * dlls/hhctrl.ocx/De.rc, dlls/hhctrl.ocx/hhctrl.rc: Henning Gerhardt Add German resourced for hhctrl.ocx. * dlls/hhctrl.ocx/help.c: James Hawkins - Add the HH Child window class. - Create the Navigation and HTML panes as HH Child windows. * dlls/msi/msi.c, dlls/msi/msi.spec: Steven Edwards Add real stub for MsiConfigureFeatureW. * dlls/mshtml/protocol.c, dlls/mshtml/tests/protocol.c: Jacek Caban Added about protocol implementation. * dlls/comctl32/listview.c: Frank Richter Remove unneeded theming check. * dlls/uxtheme/draw.c: Frank Richter Implement support for the ST_TILE background stretching mode. * dlls/ntdll/cdrom.c: Vitaliy Margolen Implement IOCTL_SCSI_GET_INQUIRY_DATA. 2005-08-02 Alexandre Julliard * dlls/kernel/kernel32.spec, dlls/kernel/module.c: Implemented Get/SetDllDirectory. * dlls/hhctrl.ocx/.cvsignore, dlls/hhctrl.ocx/En.rc, dlls/hhctrl.ocx/Makefile.in, dlls/hhctrl.ocx/help.c, dlls/hhctrl.ocx/hhctrl.rc: James Hawkins - Add the toolbar to the viewer window. - Load the toolbar button text from the resource file. * dlls/ntdll/version.c: Removed a noisy trace. * dlls/wldap32/bind.c, dlls/wldap32/compare.c, dlls/wldap32/init.c, dlls/wldap32/search.c: Hans Leidekker Use WLDAP32_LDAP_NO_MEMORY instead of LDAP_NO_MEMORY. * dlls/shell32/tests/shlfolder.c: Saulius Krasuckas Added test for IShellFolder_ParseDisplayName. * dlls/Maketest.rules.in: Robert Shearman Move TESTLIST from EXTRA_SRCS to C_SRCS in test makefiles to free up EXTRA_SRCS for other purposes. * dlls/hhctrl.ocx/Makefile.in, dlls/hhctrl.ocx/main.c: James Hawkins Implement DllMain and store the Dll hinstance. * dlls/ntdll/ntdll.spec, dlls/ntdll/process.c, dlls/ntdll/rtl.c, include/winternl.h: Implemented a few trivial ntdll functions that have been added in recent Windows versions. * configure, configure.ac, dlls/Makefile.in, dlls/msxml3/.cvsignore, dlls/msxml3/Makefile.in, dlls/msxml3/domdoc.c, dlls/msxml3/factory.c, dlls/msxml3/main.c, dlls/msxml3/msxml3.spec, dlls/msxml3/msxml_private.h, include/config.h.in: Mike McCormack Initial implementation of msxml3 based on libxml2. * dlls/kernel/profile.c: Fixed white space handling on the last line (reported by Jeremy White). Avoid parsing the same line twice when it contains trailing spaces. * dlls/user/tests/win.c: Lauri Tulmin Add tests for repainting windows with CS_PARENTDC class style. * dlls/kernel/thread.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, dlls/ntdll/server.c, dlls/ntdll/thread.c, include/wine/server.h, include/winternl.h: Use the new RtlExitUserThread function instead of exporting wine_server_exit_thread. * dlls/mshtml/oleobj.c, dlls/mshtml/tests/htmldoc.c: Jacek Caban Added QueryStatus implementation. * dlls/wldap32/compare.c, dlls/wldap32/winldap_private.h: Hans Leidekker Don't rely on ldap structure when headers are not available. * dlls/wldap32/wldap32.rc, dlls/wldap32/wldap32_De.rc: Henning Gerhardt Add German resource file for WLDAP32. * dlls/mshtml/htmldoc.c, dlls/mshtml/main.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/protocol.c: Jacek Caban Added DllCanUnloadNow implementation. * dlls/dsound/mixer.c: Alex Villacís Lasso Prevent dsb->buf_mixpos from ever remaining past dsb->buflen even if not in DSBPLAY_LOOPING case, to prevent assertion failure in DSOUND_MixInBuffer. * dlls/comctl32/listview.c: Vitaly Lipatov Use STATEIMAGEINDEX / INDEXTOSTATEIMAGEMASK instead of bit operations. 2005-08-01 Alexandre Julliard * dlls/advapi32/advapi32.spec, dlls/gdi/gdi32.spec, dlls/kernel/kernel32.spec, dlls/ntdll/ntdll.spec, dlls/user/user32.spec: Added commented out stubs for a bunch of new functions. * include/winbase.h: Properly sort the function prototypes. * dlls/mshtml/Makefile.in: Fixed the build without make depend. * dlls/usp10/usp10.spec: Properly sort the spec file entries. * dlls/wldap32/Makefile.in, dlls/wldap32/compare.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_compare* functions. * dlls/ntdll/cdrom.c: Vitaliy Margolen Fixed IOCTL_SCSI_GET_ADDRESS. * dlls/comctl32/dpa.c, dlls/comctl32/tests/dpa.c: Fixed regression in DPA_Search. * dlls/mshtml/.cvsignore, dlls/mshtml/Makefile.in, dlls/mshtml/htmldoc.c, dlls/mshtml/main.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/nsembed.c, dlls/mshtml/nsiface.idl, dlls/mshtml/persist.c, dlls/mshtml/view.c: Jacek Caban - Use Gecko to render HTML. - Get rid of Mozilla ActiveX Control in MSHTML. * dlls/wldap32/.cvsignore, dlls/wldap32/Makefile.in, dlls/wldap32/error.c, dlls/wldap32/main.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.rc, dlls/wldap32/wldap32.spec, dlls/wldap32/wldap32_En.rc: Hans Leidekker Implement ldap_err2string. * dlls/wined3d/device.c, dlls/wined3d/drawprim.c, dlls/wined3d/stateblock.c, dlls/wined3d/utils.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Separate the setting of the DirectX texture and sampler states from the setting of OpenGL states (now in applyTextureStateState and applySamplerState). * dlls/kernel/tests/sync.c: Felix Nawothnig Fix sync tests on Win98/ME. * dlls/kernel/tests/module.c: Felix Nawothnig Fix module tests on Win9x. * dlls/winsock/ws2_32.spec: Andreas Mohr Sync ws2_32.spec with XP. * dlls/ddraw/device_opengl.c, dlls/ddraw/surface_dib.c, dlls/ddraw/texture.c: Mike McCormack Warning fixes. * dlls/hhctrl.ocx/Makefile.in, dlls/hhctrl.ocx/help.c, dlls/hhctrl.ocx/hhctrl.c: James Hawkins Add beginnings of the Help viewer. * libs/unicode/mbtowc.c: Mike McCormack gcc 4.0 warning fix. * dlls/wined3d/basetexture.c, dlls/wined3d/device.c, dlls/wined3d/drawprim.c, dlls/wined3d/stateblock.c: Oliver Stieber Separate the management of DirectX states and openGL states. * dlls/usp10/usp10.c, dlls/usp10/usp10.spec, include/usp10.h: Oliver Stieber Added stubbed support for ScriptGetFontProperties. * dlls/comctl32/dpa.c, dlls/comctl32/tests/dpa.c: Felix Nawothnig Fix DPA_Search for sorted arrays. 2005-07-30 Alexandre Julliard * dlls/wined3d/directx.c: Oliver Stieber Fixed an off by one error in enumdisplaymodes, allowing sims 2 to start up. * server/fd.c: Added a separate device object to keep track of inodes that are on the same device. * dlls/wined3d/drawprim.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Tidy up some of the formatting in drawprim and add missing strided data. * dlls/wined3d/device.c, dlls/wined3d/directx.c: Oliver Stieber Validate that the texture is no larger than the graphics cards largest supported texture. * dlls/kernel/tests/comm.c: Felix Nawothnig Fix comm tests on Win9x. * programs/regsvr32/regsvr32.c: Andreas Mohr Improve regsvr32 output. * dlls/version/info.c: Paul Vriens Remove the no longer used ConvertVersionInfo32To16 function. Add a (forgotten) RtlFreeUnicodeString. * dlls/kernel/tests/thread.c: Felix Nawothnig Fix remaining thread tests on WinME. * dlls/shell32/shlview.c: Jozef Stefanka Fixed browsing to other directories in Word 2003 file open dialog. Double clicking on a folder in the File->Open dialog works now. 2005-07-29 Alexandre Julliard * programs/winecfg/Fr.rc: Jonathan Ernst Fixed control size and placement. * programs/winecfg/De.rc: Stefan Dösinger Correct the sizes of some controls in the German resources. * server/trace.c, tools/make_requests: Automatically generate the list of error names in make_requests. * dlls/dbghelp/dbghelp.c, dlls/dbghelp/dbghelp.spec, include/dbghelp.h: Peter Oberndorfer Added stub for SymSetParentWindow. * dlls/user/listbox.c, dlls/user/tests/listbox.c: Dmitry Timoshkov - Add an ownerdrawn listbox test, which confirms that on WM_DRAWITEM parent receives a clipbox equal to a listbox's client area. - WM_DRAWITEM message contains 0 in wparam (at least on win2k). * dlls/dinput/joystick_linuxinput.c: Daniel Remenak Correctly enumerate evdev joysticks when enumeration is restricted with DIEDFL_FORCEFEEDBACK. * server/queue.c: Removed a no longer used variable. * server/handle.c, server/thread.c: Fixed a couple of error codes. * configure, configure.ac, dlls/dinput/joystick_linuxinput.c, include/config.h.in: Daniel Remenak Detect force-feedback-capable linux event device joysticks and return DIDC_FORCEFEEDBACK when queried for capabilities. * dlls/shlwapi/istream.c, dlls/shlwapi/regstream.c, dlls/shlwapi/tests/shreg.c: Mike McCormack gcc 4.0 warning fixes. * dlls/version/info.c: Paul Vriens Cleanup whitespace. Conversion fixes. * dlls/msacm/winemp3/interface.c, dlls/msacm/winemp3/mpegl3.c, dlls/msacm/winemp3/mpglib.h, dlls/winmm/winealsa/midi.c, dlls/winmm/wineoss/dsrender.c, dlls/winmm/wineoss/midi.c: Mike McCormack gcc 4.0 warning fixes. 2005-07-28 Alexandre Julliard * dlls/ntdll/error.c: Added names for a bunch of status values. * include/winerror.h: Added a few error codes. * dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/surface.c: Mike McCormack Signed warning fixes. * include/xmldom.idl: Mike McCormack Fix some typos in the idl definitions. * dlls/version/info.c: Paul Vriens New function VersionInfo32_QueryValue. Made functions static. * server/fd.c: Renamed fd to unix_fd in the closed_fd structure to make the code a bit clearer. * include/xmldom.idl: Mike McCormack Add a definition for the IXMLDOMElement interface. * dlls/kernel/lcformat.c: Dmitry Timoshkov Implement EnumDateFormatsEx. * dlls/version/info.c, include/winver.h: Paul Vriens VerQueryValue returns BOOL not DWORD. * dlls/ole32/storage32.c: Remove duplicate definition of FILE_BEGIN. * dlls/advapi32/registry.c, dlls/comctl32/comctl32undoc.c, dlls/shlwapi/reg.c, include/winreg.h: Steven Edwards Correct RegCreateKeyEx[A/W] prototype to match the PSDK. * dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/drawprim.c, dlls/d3d8/surface.c: Mike McCormack Fix sign warnings. * dlls/d3d9/d3d9_private.h, dlls/wined3d/wined3d_private.h: Mike McCormack gcc 4.0 -Wpointer-sign fixes. * dlls/kernel/lcformat.c, dlls/kernel/tests/locale.c: Dmitry Timoshkov - Reimplement EnumTimeFormats, make it work for all available locales. - Add a test for EnumTimeFormats * dlls/wined3d/vertexdeclaration.c: Oliver Stieber Return all elements when getDeclaration is called with pnumelements set to 0. * dlls/comctl32/treeview.c: Frank Richter Add theming for treeview control. * dlls/comctl32/tab.c: Frank Richter Add theming support for the tab control. * dlls/oleaut32/typelib.c: Robert Shearman - A name in an SLTG typelib only beginning with 0xff is the indicator of an offset, instead of any non alpha-numeric character. - Any dispatch interface should have the fixed vtable size, not just dual ones. - Warn when ITypeInfo_GetDocumentation fails. * dlls/version/info.c: Paul Vriens Cleanup print_vffi_debug. 2005-07-27 Alexandre Julliard * configure, configure.ac, dlls/Makefile.in, dlls/mcicda/.cvsignore, dlls/mcicda/Makefile.in, dlls/mcicda/mcicda.c, dlls/mcicda/mcicda.spec, tools/winapi/win32.api, tools/wine.inf: Rémi Assailly Moved mcicda to the top-level dlls directory. * dlls/uxtheme/draw.c: Frank Richter Implementation for GetThemePartSize() (not entirely equivalent to native uxtheme, but sensibly useable). * dlls/wined3d/device.c, dlls/wined3d/swapchain.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Oliver Stieber Changed swapchains held by the device from an array to a linked list. Also provide a notification function that that the swapchain can be removed when it is released. * dlls/x11drv/window.c: There's no need to update the event mask in X11DRV_sync_window_style, it never changes. * dlls/devenum/mediacatenum.c, dlls/qcap/capturegraph.c, dlls/quartz/filesource.c, dlls/quartz/filtermapper.c, dlls/quartz/parser.c, dlls/quartz/pin.c: Replace the ICOM_THIS_From macros by inline functions. * dlls/comctl32/header.c, dlls/comctl32/listview.c: Frank Richter Since OpenThemeData() should return 0 in case theming is disabled globally or for the application we don't need to check that when calling OpenThemeData(). * dlls/wldap32/Makefile.in, dlls/wldap32/error.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_perror, ldap_result2error and LdapMapErrorToWin32. * dlls/uxtheme/property.c: Frank Richter Make GetThemeMargins() return default values (0 margin) if the function does not succeed. * dlls/kernel/lcformat.c, dlls/kernel/tests/locale.c: Dmitry Timoshkov - Reimplement EnumDateFormats, make it work for all available locales. - Add a test for EnumDateFormats. * dlls/version/info.c: Paul Vriens Remove 32bit references/checks in VERSION_GetFileVersionInfo_16. * dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c: Replace the ICOM_THIS_From macros by inline functions. * dlls/ole32/antimoniker.c, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/errorinfo.c, dlls/ole32/filemoniker.c, dlls/ole32/ftmarshal.c, dlls/ole32/itemmoniker.c, dlls/ole32/moniker.c, dlls/ole32/moniker.h, dlls/ole32/stg_prop.c: Replace the _ICOM_THIS_From macros by inline functions the way it's already done in shelllink.c. * dlls/comctl32/progress.c: Frank Richter Split up the drawing code into a set of smaller functions and also moved some common computations into helper functions. All that to facilitate the implementation of the forthcoming theming support. * dlls/winmm/winealsa/midi.c: Johannes Koch Fixed pitch bending in the midi driver. * dlls/version/info.c: Paul Vriens Remove wrong check. * dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filedlgbrowser.h, dlls/shell32/autocomplete.c, dlls/shell32/cpanelfolder.c, dlls/shell32/folders.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlview.c: Replace the _ICOM_THIS_From macros by inline functions the way it's already done in shelllink.c. * configure, configure.ac, dlls/Makefile.in, dlls/usp10/.cvsignore, dlls/usp10/Makefile.in, dlls/usp10/usp10.c, dlls/usp10/usp10.spec, include/usp10.h: Steven Edwards Add stub implementation of the Uniscribe Script Processor. * dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.h, dlls/comctl32/commctrl.c, dlls/comctl32/theming.c: Frank Richter Added some generic code to allow subclassing (for the purpose of theming) of standard controls. * dlls/kernel/tests/module.c: Paul Vriens Fix some tests for win9x and winME. * dlls/winmm/winealsa/audio.c: Vitaliy Margolen Remove all wait_for_poll associated stuff that is no longer needed. * include/winnt.h: Huw Davies Add the 'flag' types: FCHAR, FSHORT and FLONG. 2005-07-26 Alexandre Julliard * dlls/d3dxof/d3dxof_private.h, dlls/ddraw/clipper.c, dlls/ddraw/ddraw_hal.c, dlls/ddraw/ddraw_main.c, dlls/ddraw/ddraw_thunks.c, dlls/ddraw/ddraw_user.c, dlls/ddraw/device_opengl.c, dlls/ddraw/direct3d_opengl.c, dlls/ddraw/executebuffer.c, dlls/ddraw/light.c, dlls/ddraw/material.c, dlls/ddraw/palette_hal.c, dlls/ddraw/palette_main.c, dlls/ddraw/surface_dib.c, dlls/ddraw/surface_fakezbuffer.c, dlls/ddraw/surface_gamma.c, dlls/ddraw/surface_hal.c, dlls/ddraw/surface_main.c, dlls/ddraw/surface_thunks.c, dlls/ddraw/surface_user.c, dlls/ddraw/texture.c, dlls/ddraw/vertexbuffer.c, dlls/ddraw/viewport.c, include/objbase.h: Make CONST_VTABLE the default in the Wine source. * dlls/shell32/shelllink.c: Get rid of the _ICOM_THIS macros and call the inline function directly instead. * dlls/wined3d/device.c, dlls/wined3d/utils.c, dlls/wined3d/wined3d_private.h: Oliver Stieber DirectX uses a R/Z transform to translate a texture but under OpenGL a Q transform must be used instead. * tools/winebuild/spec32.c: Print a warning when a generated import library doesn't export anything useful. * dlls/wined3d/cubetexture.c, dlls/wined3d/device.c, dlls/wined3d/surface.c, dlls/wined3d/swapchain.c, dlls/wined3d/texture.c, dlls/wined3d/volumetexture.c: Oliver Stieber Remove a load of IWineD3DSurface * casts that are no longer required. * dlls/d3d9/stateblock.c, dlls/wined3d/basetexture.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/stateblock.c, dlls/wined3d/volumetexture.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h, include/wine/wined3d_types.h: Oliver Stieber Makes sure any internal reference counting is passed onto the parent, any objects referenced by the internal stateblock are released when the stateblock is released (we don't reference count while a stateblock is recording, so recorded stateblocks have no references to clean up). * dlls/avifil32/editstream.c, dlls/dmime/segment.c, dlls/dmloader/dmloader_private.h, dlls/dmloader/loader.c, dlls/dmloader/loaderstream.c, dlls/dplayx/dplaysp.h, dlls/dplayx/lobbysp.h, dlls/ole32/ifs.h, dlls/shell32/shellfolder.h, include/d3d.h, include/d3d8.h, include/d3d9.h, include/d3dx8core.h, include/ddraw.h, include/dinput.h, include/dmplugin.h, include/dmusicc.h, include/dmusici.h, include/dmusics.h, include/dpaddr.h, include/dplay.h, include/dplay8.h, include/dplobby.h, include/dsdriver.h, include/dsound.h, include/dxdiag.h, include/dxfile.h, include/mapidefs.h, include/mapiutil.h, include/mapix.h, include/objbase.h, include/objsel.h, include/oledlg.h, include/shlobj.h, include/shlwapi.h, include/vfw.h, include/wine/wined3d_interface.h: Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of duplicate typedefs. * dlls/comctl32/header.c: Filip Navara Use ReleaseDC instead of DeleteDC on DC handle. * dlls/version/info.c: Paul Vriens Rename bText to wType. * dlls/wldap32/init.c: Hans Leidekker Improve error handling for the init functions. * dlls/user/message.c: Phil Krylov Translate the whole wparam to/from Unicode. * dlls/Makefile.in, dlls/amstream/.cvsignore, dlls/amstream/Makefile.in, dlls/comcat/.cvsignore, dlls/comcat/Makefile.in, dlls/devenum/.cvsignore, dlls/devenum/Makefile.in, dlls/dmband/.cvsignore, dlls/dmband/Makefile.in, dlls/dmcompos/.cvsignore, dlls/dmcompos/Makefile.in, dlls/dmime/.cvsignore, dlls/dmime/Makefile.in, dlls/dmloader/.cvsignore, dlls/dmloader/Makefile.in, dlls/dmscript/.cvsignore, dlls/dmscript/Makefile.in, dlls/dmstyle/.cvsignore, dlls/dmstyle/Makefile.in, dlls/dmsynth/.cvsignore, dlls/dmsynth/Makefile.in, dlls/dmusic/.cvsignore, dlls/dmusic/Makefile.in, dlls/dpnhpast/.cvsignore, dlls/dpnhpast/Makefile.in, dlls/dswave/.cvsignore, dlls/dswave/Makefile.in, dlls/dxdiagn/.cvsignore, dlls/dxdiagn/Makefile.in, dlls/msnet32/.cvsignore, dlls/msnet32/Makefile.in, dlls/qcap/.cvsignore, dlls/qcap/Makefile.in: Don't generate import libraries for dlls that don't export anything. * dlls/winspool/Ru.rc: Dmitry Timoshkov Avoid an orthographic error by rephrasing the message. * dlls/wldap32/search.c, dlls/wldap32/winldap_private.h, include/winldap.h: Hans Leidekker Correct prototype for ldap_search_ext_s. Improve error handling for the search functions. * dlls/version/info.c: Paul Vriens Forward GetFileVersionInfoA to GetFileVersionInfoW. * DEVELOPERS-HINTS, configure, configure.ac, dlls/Makefile.in, dlls/objsel/.cvsignore, dlls/objsel/Makefile.in, dlls/objsel/factory.c, dlls/objsel/objsel.c, dlls/objsel/objsel.rc, dlls/objsel/objsel.spec, dlls/objsel/objsel_private.h, dlls/objsel/regsvr.c, dlls/uuid/uuid.c, include/Makefile.in, include/objsel.h: Thomas Weidenmueller Added stubs for objsel.dll and objsel.h. * dlls/wined3d/wined3d_main.c: Oliver Stieber Correct a regression issue with per-app settings. * dlls/winspool/Ru.rc, dlls/winspool/winspool.rc: Dmitrij Sinukov Added Russian resources. * dlls/wined3d/device.c, dlls/wined3d/resource.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Oliver Stieber Implement resource tracking, require for reset and evict managed resources and provides extra sanity checks. * dlls/version/tests/info.c: Paul Vriens Cleanup and some additional tests. * DEVELOPERS-HINTS: Dimi Paun Resync with the latest DLLs that were added and/or moved. * dlls/riched20/caret.c, dlls/riched20/editor.c, dlls/riched20/editor.h: Phil Krylov Implemented EM_CHARFROMPOS RichEdit message. * dlls/riched20/writer.c: Phil Krylov Generate ending \par in RTF output of RichEdit when streaming out a whole document. * dlls/mshtml/tests/htmldoc.c: Jacek Caban Tests crash fix. * dlls/winmm/winealsa/audio.c: Robert Shearman wait_for_poll can go into an infinite loop. Remove it and replace it with snd_pcm_drain which is more likely to do what the original author intended. * dlls/wldap32/bind.c, dlls/wldap32/winldap_private.h: Hans Leidekker Improve error handling for the bind functions. 2005-07-25 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20050725. ---------------------------------------------------------------- 2005-07-25 Alexandre Julliard * dlls/comctl32/updown.c: Frank Richter Add theming for the up/down control. * configure, configure.ac: Anderson Lizardo Fixed "broken OpenGL setup" configure check, which used to report false errors on some systems. * dlls/wldap32/init.c, dlls/wldap32/search.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_search_ext* and ldap_start_tls_s* functions. * dlls/comctl32/listview.c: Frank Richter Use theming for the ListView non-client area. * dlls/comctl32/header.c: Frank Richter Add theming support for header controls. * dlls/user/mdi.c: Dmitry Timoshkov Take into account CS_NOCLOSE window class style and SC_CLOSE system menu item state while adding MDI system menu buttons and generating WM_SYSCOMMAND messages. * dlls/x11drv/event.c: Dmitry Timoshkov Take into account CS_NOCLOSE window class style and SC_CLOSE system menu item state while handling WM_X11DRV_DELETE_WINDOW request. * dlls/kernel/Makefile.in, dlls/kernel/kernel32.spec, dlls/kernel/lzexpand.c, dlls/lzexpand/lz32.spec, dlls/lzexpand/lzexpand_main.c: Steven Edwards Move and forward lz32 functions to kernel32. * dlls/kernel/tests/thread.c: Felix Nawothnig Fix thread tests on WinME. 2005-07-24 Alexandre Julliard * dlls/shell32/tests/string.c: Paul Vriens Skip test that crashes on W2K/WinXP/W2K. * dlls/ole32/storage32.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_message.c, dlls/rpcrt4/rpc_message.h: Stefan Huehner Fix some missing-declarations warnings. * dlls/wined3d/directx.c, dlls/wined3d/drawprim.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/wined3d_main.c, dlls/wined3d/wined3d_private.h: Raphael Junqueira - add a new settings for vbo support - use a struct to handle wined3d settings - prepare VBO using some abstraction APIs * dlls/uxtheme/system.c: Frank Richter OpenThemeData() now always sets the window theme to the handle returned (even if that is NULL) - previously, it could happen that when no theme was active or the theme data could not be opened that the window theme remained became then-dangling (and hence subsequent calls to GetWindowTheme() would return that bogus theme). * dlls/wldap32/bind.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_sasl_bind* functions. * dlls/x11drv/clipboard.c, dlls/x11drv/desktop.c, dlls/x11drv/dib.c: Stefan Huehner Fix missing-declarations warnings. * include/odbcinst.h: Matthew Davison Added some definitions to odbcinst.h. * dlls/uxtheme/draw.c: Frank Richter GetThemeBackgroundContentRect() does not use the content margins alone, it also falls back to the border size or sizing margins, and if it can't find any possible margins at all, it returns the original rectangle. * tools/winapi/winapi_parser.pm: Vincent Béron Make winapi_check learn to parse some constructs with some rarely used keywords. * dlls/shell32/tests/.cvsignore, dlls/shell32/tests/Makefile.in, dlls/shell32/tests/shell32_test.h, dlls/shell32/tests/shelllink.c, dlls/shell32/tests/shlexec.c: Francois Gouget Get started testing ShellExecute(). * dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/editstr.h, dlls/riched20/paint.c, dlls/riched20/style.c: Phil Krylov Added EM_GETZOOM and EM_SETZOOM RichEdit message handlers. * dlls/commdlg/cdlg16.h, dlls/ddraw/ddraw_private.h, dlls/kernel/toolhelp.h, dlls/shell32/undocshell.h, include/msi.h, include/objbase.h, include/ole2.h, include/oleauto.h, include/winbase.h, include/wininet.h: Vincent Béron Remove multiple declarations of the same function, keeping the public one as reference. * dlls/ole32/compobj.spec, dlls/ole32/memlockbytes16.c, dlls/ole32/ole16.c, dlls/ole32/ole2_16.c: Marcus Meissner Implemented IsValidInterface16, CoMemAlloc. Added debug to HGLOBALLockBytes16_QueryInterface. * dlls/ntdll/file.c: Vincent Béron Use proper macro for using IOKit includes. * tools/winapi/winapi_parser.pm: Vincent Béron Remove old stuff from winapi_check. 2005-07-22 Alexandre Julliard * dlls/wldap32/wldap32.spec: Francois Gouget Fix the ldap_search_s prototypes (reported by winapi_check). * dlls/comctl32/toolbar.c: Robert Shearman - Call SetBkMode with the correct value from the NMTBCUSTOMDRAW structure. - Don't fill the NMTBCUSTOMDRAW structure in again for CDDS_POSTPAINT. - Remove redundant bBtnTransprnt value. * dlls/comctl32/toolbar.c: Robert Shearman - Height is now calculated based on the number of rows, not on the bounding rect. - Only call CalcToolbar in AutoSize if it has TBSTYLE_WRAPABLE or TBSTYLE_EX_UNDOC1 set. - Remove a bad test in SetButtonWidth that fixes a regression from the above change in IE. - Remove unnecessary nHeight data. - Remove duplicated code in Size by calling AutoSize. - Remove unnecessary bAutoSize value because SetWindowPos doesn't generate WM_SIZE when there is nothing to do on both Windows and Wine. * dlls/comctl32/toolbar.c: Robert Shearman TBSTATE_INDETERMINATE only takes effect if the button is enabled, otherwise it should just appear like any other disabled button. * dlls/comctl32/toolbar.c: Robert Shearman Native autosizes on inserting/adding buttons, so we should too. * dlls/kernel/relay16.c, dlls/ntdll/relay.c: Added small assembly wrapper to call entry points without having to worry about their calling convention. * dlls/wow32/wow_main.c, include/wownt32.h: Francois Gouget Tweak some prototypes to be closer to the PSDK. * tools/winapi/win32.api: Francois Gouget Update win32.api to match the current sources. * dlls/ntdll/tests/info.c: Paul Vriens Use current process if assigned process cannot be opened. * dlls/comctl32/toolbar.c: Robert Shearman The IsValidImageList test is not needed because if it isn't a valid image list we will have set the bitmap width and height to 1 and it does the wrong thing when no buttons are present. * dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.h: Hans Leidekker Add helper functions for converting LDAPControl structures. * dlls/user/winpos.c: Store the SysIP property using a string to avoid trouble with 16-bit apps that don't expect an atom. * dlls/user/property.c: Fixed get_window_properties to correctly specify the output buffer in the server request (spotted by Marcus Meissner). * dlls/setupapi/parser.c: Preserve the spaces before an opening quote in the middle of a token (reported by Matthew Davison). * dlls/ole32/ole2.spec, dlls/ole32/ole2_16.c: Marcus Meissner Added OleSetMenuDescriptor16 stub. * dlls/ole32/ole2.c, dlls/ole32/ole32.spec: Marcus Meissner OleInitializeWOW gets 2 arguments. * dlls/comctl32/toolbar.c: Robert Shearman The calculated button height should include the text height when no buttons are present. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec, include/winspool.h: Huw Davies Implement the undocumented StartDocDlg[A|W]. These will be used by StartDoc. * dlls/msi/appsearch.c: Aric Stewart Bail out if the reg key is empty. This prevents us from writing garbage to the property table. * dlls/riched20/run.c: Phil Krylov Fixed EM_GETCHARFORMAT for selection containing a single character. * dlls/riched20/writer.c: Phil Krylov Fixed an off-by-one error in EM_STREAMOUT handler for non-Unicode plain text output. * dlls/wined3d/drawprim.c: Gerald Pfeifer Remove unused variable in primitiveConvertToStridedData(). * dlls/riched20/editor.c: Phil Krylov Added some missing but useful items to the TODO list. * dlls/ole32/memlockbytes16.c: Marcus Meissner 16bit COM interfaces are cdecl, not WINAPI. * dlls/wined3d/wined3d_main.c: Raphael Junqueira - cleanup wined3d settings init (now closing opened registry keys) - support per application settings * libs/unicode/wctomb.c: Faster implementation of wcstombs that handles overlapping buffers properly (based on a patch by Dmitry Timoshkov). * dlls/wow32/wow32.spec, dlls/wow32/wow_main.c: We cannot use forwards anymore now that kernel functions are only exported by ordinal (reported by Marcus Meissner). * dlls/kernel/tests/module.c, dlls/wined3d/device.c, dlls/wined3d/surface.c, dlls/wined3d/wined3d_private.h: Francois Gouget Assorted spelling fixes. * dlls/dinput/joystick_linuxinput.c: Daniel Remenak Correct dinput handling of sliders and non-zero-based axes through the linux input system. * dlls/x11drv/opengl.c: Oliver Stieber Allow running opengl and DirectX applications without stencil support, an earlier patch assumed that stencil support was available, but it isn't in all cases. * include/shellapi.h: Francois Gouget Add some missing SEE_MASK_* flags. * dlls/winspool/info.c: Francois Gouget Make the unistd.h include conditional. * dlls/rpcrt4/rpcrt4.spec: Francois Gouget Fix the NdrVaryingArrayUnmarshall prototype (reported by winapi_check). * dlls/ole32/ifs.h, dlls/ole32/ole16.c, dlls/ole32/storage.c: Marcus Meissner 16bit interfaces are cdecl, so drop the WINAPI. * dlls/kernel/ne_module.c: Felix Nawothnig Convert long to short path in GetModuleFileName16. * dlls/wldap32/Makefile.in, dlls/wldap32/search.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_search* functions. 2005-07-21 Alexandre Julliard * dlls/riched20/writer.c, dlls/wineps/download.c, tools/widl/parser.y: Stefan Huehner Change some char* to const char* to fix warnigns. * tools/winedump/le.c, tools/winedump/minidump.c: Stefan Huehner Fix some -Wsign-compare warnings. * dlls/riched20/editor.c: Phil Krylov Added some useful TRACEs. * configure, configure.ac, dlls/Makefile.in, dlls/midimap/.cvsignore, dlls/midimap/Makefile.in, dlls/midimap/midimap.c, dlls/midimap/midimap.spec, dlls/winmm/winemm.h, tools/winapi/win32.api: Rémi Assailly Moved midimap to the top-level dlls directory. * dlls/riched20/editor.c: Phil Krylov Allow NULL parameter for WM_SETTEXT in RichEdit. * dlls/kernel/relay16.c: Register functions with no arguments should still be called as stdcall because of the extra CONTEXT arg. * dlls/wldap32/Makefile.in, dlls/wldap32/init.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_init* and ldap_open* functions. * dlls/riched20/editor.c: Phil Krylov Implemented EM_LINELENGTH RichEdit message. * dlls/wldap32/wldap32.h: Hans Leidekker Add helper functions for converting string arrays into different encodings. * dlls/wined3d/drawprim.c: Oliver Stieber Correct a problem with the way that FVF vertex arrays containing blends or orthographic is calculated. * dlls/shell32/shfldr_unixfs.c: Troy Rollo Return attributes for the correct file in the unixfs ParseDisplayName. * dlls/msvcrtd/Makefile.in, dlls/msvcrtd/debug.c, dlls/msvcrtd/tests/debug.c, include/msvcrt/crtdbg.h: Saulius Krasuckas - Declare implemented functions inside #ifndef _DEBUG block. - Make MSVCRTD_operator_new_dbg recognize types of memory blocks. * dlls/riched20/caret.c, dlls/riched20/editor.c, dlls/riched20/editstr.h, dlls/riched20/para.c, dlls/riched20/run.c, dlls/riched20/writer.c: Phil Krylov Added emulation of RichEdit 1.0 behaviour when the 1.0 window class is being used. This emulation (introduced in M$ RichEdit 3.0) counts paragraph endings as 2 characters (CR+LF) instead of 1 (CR). * include/mshtmhst.idl: James Hawkins Define the DOCHOSTUIDBLCLK enumeration. * dlls/wined3d/drawprim.c: Oliver Stieber Fixed regression that occurred because changes to texture loading were committed before changes to textures and states to support the change were committed. * dlls/msi/files.c: Aric Stewart Use SOURCEDIR instead of PackagePath. Because the PackagePath may be local, while SOURCEDIR is more proper and will be a full directory. 2005-07-20 Alexandre Julliard * configure, configure.ac, dlls/Makefile.in, dlls/stdole2.tlb/.cvsignore, dlls/stdole2.tlb/Makefile.in, dlls/stdole2.tlb/rsrc.rc, dlls/stdole2.tlb/std_ole_v2.idl, dlls/stdole2.tlb/stdole2.tlb.spec: Huw Davies Implement stdole2.tlb. * dlls/winspool/info.c: Huw Davies Lookup the port in the spooler registry key and map it to a unix filename or a pipe like OpenJob16 does. * Make.rules.in, fonts/.cvsignore, fonts/Makefile.in, fonts/genttf.ff: Robert Shearman ttf files for bitmap fonts should be generated with an extension of just "." to work around a quirk in fontforge (with thanks to George Williams for helping me fix this). * dlls/wldap32/bind.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_simple_bind* and ldap_unbind* functions. * dlls/shell32/shfldr_unixfs.c: Michael Jung Initial support for the IPersistFolder3 interface. * dlls/oleaut32/olepicture.c, dlls/user/cursoricon.c, dlls/user/exticon.c, dlls/user/user16.c, dlls/user/user_private.h, include/cursoricon.h: Get rid of cursoricon.h. * dlls/ole32/stubmanager.c: Robert Shearman Hack around broken state management so InstallShield works. * programs/winhelp/En.rc: Daniel Remenak Changed winhelp file->exit accelerator key from "e" to "x". * dlls/version/info.c, dlls/version/tests/info.c: Paul Vriens Add tests for VerQueryValue[AW]. Don't convert the struct to a win16 one in GetFileVersionInfoA. Convert the struct to win16 in VerQueryValueA (for now). * dlls/shell32/shlfolder.c: Michael Jung Only initialize shell folders via the IPersistFolder3 interface in SHELL32_CoCreateInitSF if the pidl which specifies the child is of type 'Folder'. Otherwise fall back to IPersistFolder. * dlls/riched20/editor.c, include/richedit.h: Daniel Remenak Basic handling of EM_SETTEXTEX. * dlls/ntdll/cdrom.c: Vitaliy Margolen Fix IOCTL_CDROM_RAW_READ ioctl. 2005-07-19 Alexandre Julliard * dlls/wldap32/Makefile.in, dlls/wldap32/bind.c, dlls/wldap32/winldap_private.h, dlls/wldap32/wldap32.h, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ldap_bind* functions. * dlls/oleaut32/typelib.c: Robert Shearman - Fix VT_BYREF|VT_UNKNOWN return values by comparing the correct value with VT_UNKNOWN and VT_DISPATCH. - Better tracing. * dlls/oleaut32/typelib.c: Robert Shearman Return DISP_E_EXCEPTION from ITypeInfo_Invoke on an error in the called function. * dlls/oleaut32/tmarshal.c: Robert Shearman - IRpcStubBuffer_Disconnect can be called multiple times. - Release TypeLib when freeing stub buffer. * dlls/ole32/marshal.c, dlls/ole32/stubmanager.c: Robert Shearman - Always query for the correct stub interface, otherwise we will be pointing to the completely wrong object when a proxy does a queryinterface. - Remove assumption that the stub buffer will handle the lifetime of the object. * server/class.c: Create the desktop class when needed without requiring a client request. * dlls/oleaut32/oleaut.c, dlls/oleaut32/regsvr.c: Robert Shearman Activate ITypeLib, ITypeInfo and IEnumVARIANT Marshalers. * dlls/oleaut32/typelib.c: Robert Shearman Remove RegisterTypeLib hack. * dlls/ole32/oleproxy.c: Robert Shearman Marshal return value from IRemUnknown_RemQueryInterface. * dlls/oleaut32/tmarshal.c: Robert Shearman Fix confusion between number of characters and number of bytes in unmarshaling BSTRs. Convert it all to characters for consistency with the BSTR_User* routines. * dlls/ole32/rpc.c, dlls/ole32/stubmanager.c: Robert Shearman Silence now noisy error messages caused by changes in the way we call ipid_to_stubmanager. Move the error message to the one place it is needed. * dlls/user/message.c: Save the scope window for mouse events before overwriting it. * dlls/oleaut32/typelib.c: Robert Shearman Support VT_BYREF|VT_I4 in _copy_arg. * dlls/oleaut32/tmarshal.c: Robert Shearman Marshal and unmarshal TKIND_ENUM and TKIND_ALIAS. * dlls/ole32/oleproxy.c: Robert Shearman - We should be starting with 1 reference. - IRpcStubBuffer_Disconnect can be called more than once. * dlls/rpcrt4/cstub.c: Robert Shearman IRpcStubBuffer_Disconnect can be called more than once. * dlls/ole32/rpc.c, dlls/ole32/tests/marshal.c: Robert Shearman By-pass the RPC runtime if possible when calling an STA by posting a message directly to the apartment window for it to process. Fixes a deadlock in InstallShield caused by having to create a thread when freeing an object that comes from an STA apartment. Added tests that fail without this fix. * dlls/ole32/stubmanager.c: Robert Shearman Delete the stub manager outside of the apartment critical section because the deletion may require the object to re-enter the apartment. * dlls/winspool/info.c: Huw Davies Printer handles referring to the same printer should have the same job queue. * dlls/user/controls.h, dlls/user/menu.c, dlls/user/user_main.c, dlls/user/win.c: Initialize the various menu global variables on demand instead of at startup time. * tools/winedump/pe.c: Kevin Koltzau Add support for dumping 64bit PE files. * dlls/ntdll/loader.c, include/winnt.h: Kevin Koltzau Define 64bit PE structures. * dlls/x11drv/window.c: Don't set win gravity, the default should work fine. * dlls/shell32/shfldr_unixfs.c: Troy Rollo When using PATHMODE_UNIX, all files are in the file system. * dlls/ole32/compobj.c: Alex Villacís Lasso Initialize RegisteredClass properly in CoRegisterClassObject to prevent crash in CoRevokeClassObject when accessing (uninitialized) pMarshalledData. * dlls/wined3d/device.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Implement the use of PBuffers for offscreen textures. * dlls/oleaut32/olepicture.c: Alex Villacís Lasso Fix GIF palette allocation, by relying on ColorCount instead of SColorResolution. * dlls/oleaut32/tests/vartype.c, dlls/oleaut32/vartype.c: Alex Villacís Lasso Ensure that underflowing negative float is represented as a positive 0, just as native oleaut32. 2005-07-18 Alexandre Julliard * dlls/gdi/tests/gdiobj.c: Huw Davies Test to show that the height returned by GetTextExtentPoint is the same as tmHeight. * dlls/wldap32/Makefile.in, dlls/wldap32/ber.c, dlls/wldap32/wldap32.spec: Hans Leidekker Implement ber_* functions. * include/wincrypt.h: Juan Lang Added a bunch more definitions. * dlls/user/controls.h, dlls/user/dialog.c, dlls/user/dialog16.c, dlls/user/menu.c: Robert Shearman Replace calls to DIALOG_GetCharSize with code to do the equivalent using GdiGetCharDimensions. * dlls/gdi/font.c, dlls/gdi/gdi32.spec, dlls/gdi/tests/gdiobj.c, include/wingdi.h: Robert Shearman Implement and test GdiGetCharDimensions. * dlls/ttydrv/Makefile.in, dlls/ttydrv/user.c, dlls/ttydrv/winetty.drv.spec: Remove some no longer needed stub functions. * dlls/user/Makefile.in, dlls/user/clipboard.c, dlls/user/cursoricon.c, dlls/user/defwnd.c, dlls/user/display.c, dlls/user/driver.c, dlls/user/focus.c, dlls/user/input.c, dlls/user/message.c, dlls/user/nonclient.c, dlls/user/painting.c, dlls/user/sysparams.c, dlls/user/user_main.c, dlls/user/user_private.h, dlls/user/win.c, dlls/user/winpos.c: Load the USER driver on demand instead of at user32 load time. Provide a fallback implementation for all the functions to avoid having to check for NULL functions everywhere. * dlls/mscms/handle.c, dlls/mscms/icc.c, dlls/mscms/mscms_priv.h, dlls/mscms/profile.c, dlls/mscms/transform.c: Hans Leidekker Make lcms support depend on headers _and_ libraries, not just the headers. * dlls/advapi32/advapi32.spec, dlls/advapi32/registry.c, include/winreg.h: Felix Nawothnig Implement RegGetValueA/W. * dlls/ntdll/nt.c, include/wine/server_protocol.h, server/protocol.def, server/registry.c, server/request.h, server/security.h, server/token.c, server/trace.c: Robert Shearman - Change the default user SID to match what was previously returned by NtQueryInformationToken. - Implement TokenUser for NtQueryInformationToken. - Add a function for getting the user's registry path from a SID. * dlls/user/sysparams.c, dlls/user/user_main.c, dlls/user/user_private.h, dlls/x11drv/clipboard.c, dlls/x11drv/dce.c, dlls/x11drv/settings.c, dlls/x11drv/window.c, dlls/x11drv/winex11.drv.spec: Fixed a few prototypes in the USER driver. * dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/rpcrt4.spec: Robert Shearman Add stubs for most of the NDR marshaling functions. * dlls/shell32/shfldr_unixfs.c: Michael Jung Use CP_UNIXCP instead of CP_ACP when converting paths (Pointed out by Troy Rollo). * dlls/winspool/info.c: Huw Davies Partial implementation of GetJob. * dlls/shell32/classes.c: Michael Jung Release shell folders only if they were successfully acquired. * dlls/oleaut32/tests/vartype.c: Alex Villacís Lasso Test for behavior of negative underflow formatting. * dlls/wined3d/device.c: Oliver Stieber Implemented a tidied up IWineD3Device_ColorFill. * dlls/comctl32/Makefile.in, dlls/comctl32/propsheet.c: Frank Richter Enabled "tab" dialog texture for property sheet pages. * dlls/advapi32/tests/registry.c: Felix Nawothnig Rewrote the RegGetValue tests for REG_SZ / REG_EXPAND_SZ. * dlls/user/sysparams.c: Load system metrics on demand instead of initializing everything at user32 load time. * dlls/mshtml/Makefile.in, dlls/mshtml/mshtml_private.h, dlls/mshtml/oleobj.c, dlls/mshtml/olewnd.c, dlls/mshtml/tests/htmldoc.c, dlls/mshtml/view.c: Jacek Caban - Added more tests. - Make tests pass under Wine. * dlls/user/user32.spec, dlls/user/win.c: Felix Nawothnig Add stub for SetLayeredWindowAttributes. * include/odbcinst.h: Hans Leidekker Fix some -Wmissing-declarations warnings. * dlls/shell32/shfldr.h, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_unixfs.c: Michael Jung Append filename extension if necessary in IShellFolder::SetNameOf. * libs/port/interlocked.c: Kevin Koltzau Add x86_64 interlocked functions. * include/basetsd.h, include/winnt.h: Kevin Koltzau Define x86_64 context. * dlls/secur32/secur32.c, dlls/secur32/secur32.spec, include/ntsecapi.h: Hans Leidekker Stub implementations for GetUserNameEx{A,W}, TranslateName{A,W}, LsaCallAuthenticationPackage, LsaConnectUntrusted and LsaDeregisterLogonProcess. * dlls/tapi32/line.c, include/tapi.h: Hans Leidekker Fix pointer signedness and missing declarations warnings. * dlls/comctl32/listview.c: Dimi Paun Silence uninitialized warnings. * include/mscat.h, include/winspool.h: Hans Leidekker Fix some -Wmissing-declarations warnings. * dlls/wsock32/service.c, dlls/wsock32/wsock32.spec, include/nspapi.h: Hans Leidekker Stubs for GetAddressByName{A,W}. * programs/winetest/Makefile.in: Hans Leidekker Include the mshtml test. * dlls/user/tests/winstation.c: Paul Vriens Don't run tests on platforms that don't support WindowStation calls. * dlls/mscms/tests/profile.c: Paul Vriens Set size before calling pSetColorProfileElement. * dlls/advapi32/tests/registry.c: Felix Nawothnig Fix registry tests on Win95. * dlls/urlmon/umon.c: Felix Nawothnig Fix misuse of UrlCombineW. * dlls/advapi32/crypt.c, include/wincrypt.h: Juan Lang Add/correct a couple definitions, allow hashing nothing. * dlls/wined3d/basetexture.c, dlls/wined3d/drawprim.c: Oliver Stieber Set mipmap levels correctly (even with ATI's buggy drivers). * dlls/wined3d/device.c: Oliver Stieber Dirty the surface (instead of the texture) when a render targets is send and endscene is called to make sure that the correct surface is updated. * dlls/mshtml/tests/protocol.c: Felix Nawothnig Skip futile tests if CoGetClassObject fails. 2005-07-15 Alexandre Julliard * configure, configure.ac, dlls/wldap32/Makefile.in, include/config.h.in: Hans Leidekker Configure checks for OpenLDAP headers and libraries. * dlls/user/sysparams.c: Added a bunch of utility functions to factor out a lot of the repeated code in SystemParametersInfoW. * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/dsound8.c, dlls/x11drv/xrender.c: Stefan Huehner Fix some sign-compare warnings by choosing correct datatypes. * dlls/winmm/winenas/audio.c, dlls/x11drv/scroll.c: Stefan Huehner Add some consts to fix discard-qual warnings. * dlls/kernel/tests/codepage.c: Dmitry Timoshkov Add a test for handling overlapped buffers by WideCharToMultiByte. * dlls/version/tests/info.c: Paul Vriens Added a test, specifically for NT/W2K/XP/W2K3. * dlls/uxtheme/draw.c, dlls/uxtheme/system.c: Frank Richter Make dialog theme texture setting non-global (ie a per-window setting). * dlls/wined3d/device.c: Oliver Stieber Fixed a division by 0 in setup_light that occurs with range is zero. * dlls/user/nonclient.c, include/wingdi.h: Frank Richter Add support for drawing gradient captions. * dlls/ntdll/heap.c: Dmitry Timoshkov Avoid unnecessary casts. * include/winuser.h: Sort the SPI_* constants and remove some duplicates. * dlls/shell32/shfldr_unixfs.c: Michael Jung Add file type column in detailed shell view. Make the order of shell view columns 'prefix-compatible' with shfldr_fs. Don't remove filename extensions for path pidls in GetDisplayNameOf. * dlls/ntdll/ntdll_misc.h, dlls/ntdll/virtual.c: Dmitry Timoshkov Make VIRTUAL_HandleFault return an NTSTATUS. * dlls/comctl32/listview.c: Kevin Koltzau Forward some header notifications to parent of listview. * dlls/comctl32/propsheet.c: Thomas Weidenmueller Support PSM_IDTOINDEX. * configure, configure.ac, dlls/mscms/Makefile.in, dlls/mscms/icc.c, dlls/mscms/lcms_api.h, dlls/mscms/mscms_main.c, dlls/mscms/profile.c, dlls/mscms/tests/profile.c, dlls/mscms/transform.c, include/config.h.in: Hans Leidekker Link directly to liblcms. Fix typo in test. * dlls/kernel/virtual.c, dlls/ntdll/heap.c, dlls/ntdll/process.c, dlls/ntdll/virtual.c, include/winnt.h, include/winternl.h: Dmitry Timoshkov Use SIZE_T type for size variables in NTDLL when appropriate. * dlls/comctl32/comctl_Cn.rc, dlls/comctl32/comctl_Cs.rc, dlls/comctl32/comctl_De.rc, dlls/comctl32/comctl_En.rc, dlls/comctl32/comctl_Es.rc, dlls/comctl32/comctl_Fr.rc, dlls/comctl32/comctl_It.rc, dlls/comctl32/comctl_Ja.rc, dlls/comctl32/comctl_Ko.rc, dlls/comctl32/comctl_Nl.rc, dlls/comctl32/comctl_Pl.rc, dlls/comctl32/comctl_Pt.rc, dlls/comctl32/comctl_Ru.rc, dlls/comctl32/comctl_Si.rc, dlls/comctl32/comctl_Sv.rc, dlls/comctl32/comctl_Th.rc, dlls/comctl32/comctl_Uk.rc, dlls/comctl32/propsheet.c: Thomas Weidenmueller - Support PSH_WIZARDHASFINISH in wizards. - Correct tab order of the wizard buttons. * dlls/dsound/dsound.c, dlls/dsound/tests/ds3d.c, dlls/winsock/tests/sock.c, programs/rundll32/rundll32.c: Stefan Huehner Fix some write-strings warnings. * dlls/shell32/shfldr_unixfs.c: Michael Jung Do filename postprocessing in GetDisplayNameOf (Hide filename extensions if appropriate). * dlls/wined3d/device.c: Oliver Stieber Correct a missplaced #if in IWineD3DDeviceImpl_CleanRender. * dlls/comctl32/toolbar.c: Aric Stewart When adding an image copy the full previous buffer. Implement replacing an icon with one from a resource. * include/wintrust.h: Paul Vriens Add missing member to WINTRUST_DATA struct. * dlls/wininet/internet.c: Robert Shearman Fix return value of InternetQueryDataAvailable. * dlls/winmm/driver.c, dlls/winmm/lolvldrv.c: Eric Pouech Get rid of HeapValidate as it's not properly handled by some memory management tools (Microquill for example). * programs/wcmd/wcmdmain.c: Eric Pouech Ensure msvcrt's io block is passed down from wcmd's parent process to child process. * dlls/gdi/tests/metafile.c: Felix Nawothnig Fix the EnumEnhMetaFile tests. * dlls/winspool/info.c: Huw Davies Set the default doc title to that of Windows. Pass cups the doc title. * dlls/wined3d/resource.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Implemented Get/Set/Free private data in resource. * dlls/wintrust/wintrust_main.c: Paul Vriens Return TRUST_E_PROVIDER_UNKNOWN until implemented. 2005-07-14 Alexandre Julliard * programs/rundll32/rundll32.c: Detlef Riekenberg Space is valid between module name and entry point. * dlls/kernel/process.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/path.c, dlls/ntdll/thread.c: Moved initialization of the default user process parameters to ntdll. * dlls/wined3d/cubetexture.c: Oliver Stieber Fixed a bug in Preload caused be a missing brace around a for loop, slightly improved the way that errors are handled by passing back hr from some function calls. * dlls/d3d8/device.c, dlls/d3d8/drawprim.c, dlls/wined3d/device.c, dlls/wined3d/drawprim.c: Stefan Huehner Fix some missing-declarations warnings. * dlls/mshtml/oleobj.c, dlls/mshtml/tests/Makefile.in, dlls/mshtml/tests/htmldoc.c: Jacek Caban - Added more tests. - Make tests pass under Wine. * tools/widl/typelib.c: Stefan Huehner Fix a -Wsign-compare warning. * dlls/mshtml/main.c, dlls/mshtml/mshtml.inf, include/mshtml.idl: Jacek Caban Added MSHTML library declaration. * server/fd.c, server/file.h, server/mailslot.c: Robert Shearman Make mailslots use as much of the default async fd implementation as possible. * dlls/kernel/kernel_main.c, dlls/kernel/process.c, dlls/ntdll/nt.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/server.c, dlls/ntdll/time.c, include/wine/server_protocol.h, server/object.h, server/process.c, server/protocol.def, server/request.c, server/request.h, server/thread.c, server/trace.c: Moved the server start time to the init_thread request and got rid of the init_process request (based on a patch by Felix Nawothnig). * dlls/comctl32/imagelist.c: Robert Shearman Handle CopyImage and other functions failing by not adding the icon and notifying the caller. * dlls/gdi/dib.c: Juan Lang Release DC in error condition on StretchDIBits. * include/richedit.h: Kevin Koltzau Define GCM_RIGHTMOUSEDROP. * programs/winecfg/Nl.rc: Paul Vriens Update the Dutch translations. * programs/winedbg/stack.c: Robert Shearman Remove additional current process tracking in backtrace_all as it can refer to freed memory. * dlls/mshtml/htmldoc.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/olewnd.c, dlls/mshtml/view.c: Jacek Caban - Better handling of UI and InPlace active state. - Implemented InPlaceDeactivate. - THIS macros cleanup. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Encode/decode certs, with tests. 2005-07-13 Alexandre Julliard * dlls/kernel/process.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/server.c, dlls/ntdll/thread.c, include/wine/server_protocol.h, server/process.c, server/process.h, server/protocol.def, server/thread.c, server/trace.c: Return the startup info size in the init_thread request, and allocate the process parameters structure in ntdll instead of kernel. * dlls/wined3d/directx.c, dlls/wined3d/utils.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Correct a few formats that were incorrect. * include/wincrypt.h: Juan Lang Add more missing definitions. * programs/winecfg/Fr.rc: Jonathan Ernst Updated winecfg French resources. * server/security.h, server/token.c: Robert Shearman Store the default DACL in the token. * dlls/uuid/uuid.c, include/.cvsignore, include/Makefile.in, include/downloadmgr.idl: Jacek Caban Added downloadmgr.idl. * dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/relay.c: Initialize relay debugging earlier on now that the registry is loaded by the server. * dlls/kernel/process.c, include/wine/server_protocol.h, server/protocol.def, server/request.h, server/thread.c, server/trace.c: Get rid of the boot_done request. * dlls/wined3d/basetexture.c, dlls/wined3d/cubetexture.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/drawprim.c, dlls/wined3d/indexbuffer.c, dlls/wined3d/resource.c, dlls/wined3d/stateblock.c, dlls/wined3d/surface.c, dlls/wined3d/swapchain.c, dlls/wined3d/texture.c, dlls/wined3d/utils.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/vertexdeclaration.c, dlls/wined3d/vertexshader.c, dlls/wined3d/volume.c, dlls/wined3d/volumetexture.c, dlls/wined3d/wined3d_main.c: Oliver Stieber Tidy up some comments and formatting. * dlls/winspool/info.c: Huw Davies Partial implementation of SetJobW. Set the document title in StartDocPrinter. * dlls/kernel/process.c, dlls/ntdll/server.c, include/wine/server_protocol.h, server/process.c, server/process.h, server/protocol.def, server/thread.c, server/trace.c: Already initialize the process in the first init_thread request instead of waiting for the init_process request. * server/handle.c: Avoid potential crashes when there is no handle table. * dlls/msi/action.c, dlls/msi/files.c, dlls/msi/msi.c, dlls/msi/source.c, dlls/msi/upgrade.c, include/msi.h: Use the official names for the Unicode string constants. * dlls/dplayx/dplay.c, dlls/dplayx/dplay_global.h, dlls/itss/itss.c, dlls/itss/moniker.c, dlls/itss/storage.c, dlls/qcap/pin.h, dlls/quartz/enumfilters.c, dlls/quartz/enumregfilters.c, dlls/quartz/filesource.c, dlls/quartz/filtermapper.c, dlls/quartz/pin.h, dlls/rpcrt4/rpc_binding.h, dlls/rpcrt4/rpc_server.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/shdocvw_main.c, dlls/shlwapi/tests/clist.c, dlls/urlmon/tests/url.c, dlls/wininet/internet.c, dlls/winmm/mciavi/private_mciavi.h, dlls/winmm/mciwave/mciwave.c, dlls/winmm/playsound.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winemm.h, dlls/winmm/wineoss/dscapture.c: Mike McCormack Interlocked LONG* gcc warning fixes. * DEVELOPERS-HINTS, configure, configure.ac, dlls/Makefile.in, dlls/wldap32/.cvsignore, dlls/wldap32/Makefile.in, dlls/wldap32/main.c, dlls/wldap32/wldap32.spec: Hans Leidekker Beginnings of WLDAP32. * tools/winebuild/import.c: Steve Zellers Fixed leftover import table name in output_import_thunk. * dlls/ntdll/critsection.c: Ignore high bit of spin count. * dlls/wined3d/device.c, dlls/wined3d/resource.c, dlls/wined3d/surface.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/wined3d_main.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_gl.h: Oliver Stieber Added basic memory management and tracking to wined3d. * include/Makefile.in, include/winldap.h: Hans Leidekker Added winldap.h header. * dlls/mshtml/mshtml_private.h, dlls/mshtml/olewnd.c: Jacek Caban THIS macros cleanup. * dlls/mshtml/view.c: Jacek Caban Call ShowUI and HideUI in UIActivate. * dlls/winspool/De.rc, dlls/winspool/winspool.rc, programs/winecfg/De.rc: Henning Gerhardt - Added German winspool resource file. - Updated German winecfg resource file. * tools/widl/write_msft.c: Stefan Huehner Fix some -Wsign-compare warnings. 2005-07-12 Alexandre Julliard * configure, configure.ac, programs/Makefile.in, programs/hh/.cvsignore, programs/hh/Makefile.in, programs/hh/main.c: Jacek Caban Added hh.exe. * dlls/kernel/process.c, include/wine/server_protocol.h, server/console.c, server/process.c, server/process.h, server/protocol.def, server/trace.c: Moved the fields that depends on startup info from the init_process request to get_startup_info. * dlls/user/cursoricon.c: Mike McCormack Clean up CURSORICON_Load. * dlls/ntdll/tests/string.c: Aric Stewart Both wcschr and wcsrchr should be able to find the terminating character. * include/wine/unicode.h: Fixed strchrW and strrchrW for a null character (spotted by Aric Stewart). * dlls/dmusic/dmusic_private.h, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplaysp.c, dlls/dplayx/dplobby.c, dlls/dplayx/lobbysp.c, dlls/dpnet/dpnet_main.c, dlls/dpnet/dpnet_private.h, dlls/dsound/dsound_private.h, dlls/dswave/dswave_private.h, dlls/itss/itss.c, dlls/itss/moniker.c, dlls/mlang/mlang.c, dlls/msdmo/dmoreg.c, dlls/netapi32/netbios.c, dlls/qcap/capturegraph.c, dlls/qcap/enummedia.c, dlls/qcap/enumpins.c, dlls/qcap/qcap_main.c, dlls/qcap/vfwcapture.c, dlls/quartz/dsoundrender.c, dlls/quartz/enummedia.c, dlls/quartz/enumpins.c, dlls/quartz/filtergraph.c, dlls/quartz/main.c, dlls/quartz/memallocator.c, dlls/quartz/parser.h, dlls/quartz/systemclock.c, dlls/quartz/transform.h, dlls/quartz/videorenderer.c: Mike McCormack Interlocked LONG* gcc warning fixes. * dlls/winspool/info.c: Huw Davies Forward SetJobA -> SetJobW. * dlls/msi/custom.c: Aric Stewart Further testing shows that when CustomActionData needs to be blank it is an empty string not ' '. * dlls/user/cursoricon.c: Mike McCormack Remove CURSORICON_SimulateLoadingFromResourceW. * dlls/user/cursoricon.c: Mike McCormack Modify CURSORICON_FindBestIcon/Cursor to use enumerator functions. * dlls/user/listbox.c: Robert Shearman Call SetLastError on errors. * dlls/user/text.c: Robert Shearman - Support right-aligned text in TabbedTextOut. - Add documentation. * programs/winecfg/En.rc, programs/winecfg/Fr.rc, programs/winecfg/resource.h, programs/winecfg/x11drvdlg.c: Raphael Junqueira - add direct3d configuration on winecfg graphics panel - resync Fr libraries dialog (based on En.rc) * dlls/ntdll/wcstring.c: Use the unicode.h functions where possible. * dlls/msi/msi.c: Aric Stewart Use the SourceList functions to get the source path in ConfigureProductExW. * dlls/msi/files.c: Aric Stewart When working toward install on demand support we need to reset all the constant values so that multiple install process do not get confused by leftover values from the previous install. * include/commctrl.h: Frank Richter Added WC_STATIC. * dlls/user/listbox.c: Robert Shearman - Implement LB_SETLOCALE. - Remove incorrect FIXMEs for LB_USETABSTOPS. * dlls/uxtheme/draw.c: Frank Richter Better viewport origin in DrawThemeParentBackground(). * dlls/d3dxof/d3dxof_private.h, dlls/d3dxof/main.c, dlls/dinput/device_private.h, dlls/dinput/joystick_linuxinput.c, dlls/dmband/dmband_private.h, dlls/dmcompos/dmcompos_private.h, dlls/dmime/dmime_private.h, dlls/dmscript/dmscript_private.h, dlls/dmstyle/dmstyle_private.h, dlls/dmsynth/dmsynth_private.h: Mike McCormack Interlocked LONG* gcc warning fixes. * dlls/wined3d/device.c, dlls/wined3d/drawprim.c, dlls/wined3d/surface.c: Oliver Stieber Implement UpdateTexture and UpdateSurface in wined3d. Allow NULL members of WINED3DSURFACE_DESC to be set to Surface_GetDesc so that the whole structure doesn't have to be filled just to get back one value. * dlls/winspool/.cvsignore, dlls/winspool/En.rc, dlls/winspool/Makefile.in, dlls/winspool/info.c, dlls/winspool/winspool.rc, dlls/winspool/wspool.c, dlls/winspool/wspool.h: Huw Davies ScheduleJob for 'file' ports. * dlls/msi/dialog.c: Mike McCormack Display icons in buttons that have them. * dlls/mshtml/htmldoc.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/oleobj.c, dlls/mshtml/olewnd.c, dlls/mshtml/persist.c, dlls/mshtml/protocol.c, dlls/mshtml/service.c, dlls/mshtml/view.c: Jacek Caban - Added stub implementation of IOleCommandTarget. - Store IDocHostUIHandler in HTMLDocument. - ActivateMe should be called even if GetContainer failed. * dlls/shell32/shfldr_unixfs.c: Michael Jung Don't cache child pidls in UnixFolder, but create them on the fly. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang - encode/decode CERT_INFO, with tests - a few more tests and bugfixes * dlls/uxtheme/draw.c: Frank Richter Correct border rectangle drawing. * dlls/uxtheme/system.c: Frank Richter Don't crash if NULL is passed as the class list to OpenThemeData(). 2005-07-11 Alexandre Julliard * dlls/kernel/oldconfig.c, include/wine/server_protocol.h, server/protocol.def, server/registry.c, server/request.h, server/trace.c: Load the HKEY_CURRENT_USER branch at server startup too. * dlls/ntdll/reg.c, dlls/ntdll/sec.c: Use an SID instead of the user name for the path of the HKEY_CURRENT_USER key (based on an old patch by Juan Lang). * dlls/d3d9/cubetexture.c, dlls/d3d9/surface.c, dlls/d3d9/texture.c, dlls/wined3d/cubetexture.c, dlls/wined3d/device.c, dlls/wined3d/surface.c, dlls/wined3d/texture.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h, include/wine/wined3d_types.h: Oliver Stieber Move parameters relating to opengl on the surface structure on to a glDesciption member. Removed Level and Target from LoadTexture, and reduced the dependency on surface->device. Fixed a couple of compiler warnings in d3d9. * dlls/msi/registry.c: Aric Stewart Properly resize the buffer based on ERROR_MORE_DATA. Also remember to free the allocated buffer. * dlls/kernel/tests/module.c: Paul Vriens Basic tests for LoadLibraryA and GetProcAddress. * dlls/kernel/module.c: A NULL module handle means 'main exe' in GetProcAddress too. * server/hook.c, server/request.c, server/user.h, server/winstation.c: Store the global hooks table in the desktop object. * dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c: Detlef Riekenberg Printers_RegisterWindowW / Printers_UnregisterWindow implemented as stub. Show the FIXME in Printer_LoadIconsW only when needed. * dlls/advpack/advpack.c, dlls/advpack/advpack.spec, include/advpub.h: Stefan Leichter Added stubs for ExecuteCab and TranslateInfString. * dlls/msi/action.c, dlls/msi/msi.c, dlls/msi/upgrade.c: Aric Stewart Use the strings defined in msi.h. * dlls/msi/source.c: Aric Stewart Correct an error where I was not properly advancing a pointer. * dlls/mshtml/mshtml.inf: Jacek Caban - Remove licence header. - Fix typos. * include/msi.h: Aric Stewart Remove some duplicate prototypes and reformat the SourceList APIs a bit more to fit with the style of the rest of the file. * include/commctrl.h: Frank Richter Added BST_HOT, WC_BUTTON. * dlls/dinput/tests/joystick.c: Francois Gouget Only print the joystick state when it changes so the user does not get 300 lines of traces. * dlls/gdi/gdi32.spec: Make GetKerningPairs an alias for GetKerningPairsA. * dlls/wined3d/device.c, dlls/wined3d/drawprim.c, dlls/wined3d/surface.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Implemented basic non-power 2 texture in wined3d. Also fixed a typo in drawprim that was causing vertex declarations to crash. * dlls/amstream/amstream.c, dlls/amstream/main.c, dlls/atl/registrar.c, dlls/comcat/comcat_main.c, dlls/comcat/comcat_private.h, dlls/comcat/information.c, dlls/devenum/devenum_private.h, dlls/devenum/mediacatenum.c: Mike McCormack Interlocked LONG* gcc warning fixes. * dlls/dinput/tests/joystick.c, dlls/dinput/tests/keyboard.c, dlls/dinput/tests/mouse.c: Francois Gouget Remove unnecessary STRICT defines. * dlls/kernel/file.c: Uwe Bonnes STATUS_TIMEOUT is no error for Read|WriteFile. * dlls/ntdll/file.c: Uwe Bonnes Wait for the object multiple times until TIMEOUT is met. * dlls/user/listbox.c: Robert Shearman The units passed into LB_SETTABSTOPS are dialog units, not logical units. * dlls/msi/package.c: Aric Stewart If MsiGetProperty(A/W) is called with a NULL for the value buffer but a value in the size for the value buffer, then Msi fills in the size of the value into the pointer for size. This is tested and confirmed with native MSI. * dlls/msvcrt/locale.c: Vijay Kiran Kamuju Fix _setmbcp behavior for unreal codepages. * server/queue.c, server/user.h, server/window.c, server/winstation.c: Tie windows and thread input structures to a specific desktop. Support multiple desktop windows (one per desktop object). Use the window desktop to find the window station to use for property atoms. * dlls/ntdll/loadorder.c: Also look for the plain module specification in WINEDLLOVERRIDES for modules that contain a path, for better consistency with the registry entries. * dlls/msi/files.c, dlls/msi/source.c, include/msi.h: Aric Stewart Add the string constants located in msi.h and make use of them in files.c and source.c. * dlls/winspool/info.c: Huw Davies ScheduleJob for (as yet unused) 'cups' ports. * dlls/user/cursoricon.c: Mike McCormack Replace CURSORICON_CreateFromResource by CreateIconFromResourceEx. * dlls/d3d8/d3d8_private.h, dlls/d3dx8/d3dx8core_private.h, dlls/ddraw/d3d_private.h, dlls/ddraw/ddraw_private.h, dlls/ddraw/main.c: Mike McCormack Interlocked LONG* gcc warning fixes. * dlls/kernel/tests/heap.c, dlls/ntdll/heap.c: Robert Shearman - Make the value returned from HeapSize always match the requested size passed into HeapAllocate/HeapReAllocate. - Add a test for this behaviour. * dlls/advapi32/lsa.c, dlls/comctl32/tests/dpa.c, dlls/d3d8/device.c, dlls/d3d9/stateblock.c, dlls/ddraw/surface_dib.c, dlls/dmime/tempotrack.c, dlls/shell32/shlexec.c, dlls/shell32/tests/shlfolder.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/drawprim.c, dlls/wined3d/stateblock.c, dlls/wined3d/surface.c, dlls/wined3d/swapchain.c, dlls/wined3d/vertexdeclaration.c, programs/winedbg/winedbg.man: Francois Gouget Assorted spelling fixes. * tools/winapi/win32.api: Francois Gouget Add missing types to win32.api. * dlls/mshtml/oleobj.c, dlls/mshtml/tests/htmldoc.c: Jacek Caban - Added test of IOleObject::[SG]etClientSite. - Fix IOleObject_SetClientSite to pass tests. * dlls/user/cursoricon.c: Mike McCormack Remove unused function args. * server/atom.c, server/clipboard.c, server/user.h, server/winstation.c: Export the winstation and desktop structures to avoid having to write too many accessor functions. * dlls/oleaut32/connpt.c, dlls/oleaut32/dispatch.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/recinfo.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c: Mike McCormack Interlocked LONG* gcc warning fixes. * programs/winecfg/En.rc, programs/winecfg/Fr.rc, programs/winecfg/audio.c, programs/winecfg/resource.h: Raphael Junqueira Add some basic dsound configuration on Audio panel. * dlls/shell32/shfldr_unixfs.c: Michael Jung Don't use unix filesystem specific attributes in UnixFolder's pidls. * dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c: Michael Jung Release parent shell folder in GetAttributesOf. * programs/wcmd/builtins.c: Detlef Riekenberg Do not print an error message when deleting a nonexistent variable. * dlls/urlmon/umon.c: Uwe Bonnes URLMonikerImpl_BindToStorage: Don't use a HeapAllocated pointer for other purposes. * dlls/riched20/editor.c: Felix Nawothnig Check structure size and fix return values in EM_GETCHARFORMAT. 2005-07-10 Alexandre Julliard * dlls/setupapi/queue.c, dlls/setupapi/setupapi.spec: Detlef Riekenberg SetupSetFileQueueAlternatePlatform{AW} implemented as stub. * dlls/wined3d/device.c: Oliver Stieber Check to see if the vertex declaration is null before trying to reference it. * dlls/kernel/kernel32.spec: The ordinal functions should not be exported by name. * dlls/d3d8/shader.c: Marcus Meissner Fixed signedness issues. * dlls/wined3d/directx.c, include/wine/wined3d_gl.h: Oliver Stieber Tidy up the way caps are managed in GetDeviceCaps and FillGlCaps. * dlls/urlmon/umon.c: Uwe Bonnes URLMonikerImpl_BindToStorage: Escape special characters. * dlls/cabinet/fci.c: Gerold Jens Wucherpfennig The fci_get_little_endian... and fci_set_little_endian... functions don't really set and unset little endianes, they do the same thing: merely swapping bytes from one endianes to the other. * dlls/msvcrt/file.c: Felix Nawothnig Allow reading 0 bytes in fread. * libs/wine/loader.c, tools/winebuild/res16.c, tools/winebuild/res32.c, tools/wrc/dumpres.c, tools/wrc/genres.c: Marcus Meissner Fixed signedness warnings. * dlls/user/button.c: Felix Nawothnig Fix a typo. * dlls/ntdll/env.c: Detlef Riekenberg Fixed traces. * programs/winecfg/En.rc: Brian Vincent Describe tabs being linked together. * include/winternl.h: Mike McCormack Define the remaining Nt* functions. * configure, configure.ac, dlls/ntdll/cdrom.c, include/config.h.in: Gerald Pfeifer Add a configure check for struct request_sense. Use this in CDROM_ScsiPassThroughDir() and CDROM_ScsiPassThrough() to unbreak the build on FreeBSD. * dlls/setupapi/diskspace.c: Thomas Weidenmueller Fixed enumerating the drive strings. * dlls/msi/install.c, dlls/msi/msi.spec: Aric Stewart Implement MsiGetLanguage. * dlls/winspool/info.c: Huw Davies ScheduleJob for 'lpr' ports. 2005-07-08 Alexandre Julliard * server/atom.c, server/class.c, server/object.h, server/window.c: Explicitly pass the winstation to the atom functions so that they can be used even when current is not set. * dlls/winspool/info.c: Huw Davies Implement {Start,End}DocPrinter and WritePrinter. {Start,End}PagePrinter are still stubs but return TRUE. * dlls/msi/action.c, dlls/msi/package.c: Aric Stewart InstallShield does a number of actions using DoAction before the Install starts so the PackageCode needs to be loaded on OpenPackage instead of the beginning of the install process. * dlls/shell32/pidl.c: Michael Jung Fail in SHGetDataFromIDList when called on special folder. * dlls/shell32/shfldr_unixfs.c: Michael Jung Partially implemented UnixFolder's ISFHelper::CopyItems method. * dlls/user/user_main.c, dlls/user/user_private.h, dlls/user/win.c, dlls/user/winstation.c, include/win.h, include/wine/server_protocol.h, server/protocol.def, server/request.h, server/trace.c, server/user.h, server/window.c: Put in place the basic infrastructure to allow supporting multiple desktop windows. * dlls/user/dde_client.c, dlls/user/dde_misc.c, dlls/user/dde_private.h, dlls/user/dde_server.c, dlls/user/ddeml16.c, dlls/user/tests/dde.c: Dmitry Timoshkov Add DDE transaction test, make it pass under Wine. * dlls/commdlg/cdlg_De.rc, programs/cmdlgtst/De.rc, programs/winecfg/De.rc: Henning Gerhardt Update German resource files. * dlls/setupapi/Pl.rc, dlls/setupapi/setupapi.rc: Sebastian Gasiorek Added Polish resources. * include/msvcrt/mbctype.h: Vijay Kiran Kamuju Add _MB_CP_* defines. * dlls/psapi/psapi_main.c, dlls/psapi/tests/psapi_main.c: Felix Nawothnig Make GetProcessMemoryInfo fail if the passed buffer is too small. * include/wincrypt.h: Juan Lang Add a few more missing defines. * dlls/user/sysparams.c: Frank Richter Always zero destination buffer in SYSPARAMS_LoadRaw(). Remove now-superfluous memory zeroing in some other places. * dlls/comctl32/dpa.c, dlls/comctl32/tests/dpa.c: Felix Nawothnig Fix some DPA functions so they pass the new tests. * dlls/shell32/shfldr_unixfs.c, dlls/shell32/tests/shlfolder.c: Michael Jung Return correct HRESULT code in UnixFolder's IEnumIDList::Next. Corresponding test. * dlls/msi/msi.c: Robert Shearman In MsiLocateComponent pcchBuf can be NULL so don't try to dereference it. * include/textserv.h: Maarten Lankhorst ITextServices_OnTxInplaceDeactivate does not take a parameter. * dlls/d3d9/d3d9_private.h, dlls/d3d9/pixelshader.c: Oliver Stieber Relay all the pixel shader calls from d3d9 to wined3d. 2005-07-07 Alexandre Julliard * dlls/d3d9/vertexdeclaration.c, dlls/wined3d/device.c, dlls/wined3d/drawprim.c, dlls/wined3d/vertexdeclaration.c, include/wine/wined3d_interface.h: Oliver Stieber Added support for vertex declarations to wined3d, it's the last patch to give wined3d basic functionality. * dlls/d3d9/device.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/surface.c, dlls/wined3d/utils.c, dlls/wined3d/wined3d_private.h: Oliver Stieber Implement render targets using either textures, swapchains or standalone surfaces. * dlls/ttydrv/winetty.drv.spec, dlls/ttydrv/wnd.c, dlls/user/user_main.c, dlls/user/user_private.h, dlls/user/win.c, dlls/x11drv/window.c, dlls/x11drv/winex11.drv.spec, dlls/x11drv/winpos.c: Moved initialization of the desktop window in the graphics driver to a separate CreateDesktopWindow entry point instead of overloading CreateWindow. * dlls/user/menu.c: Removed creation of the no longer used shading brush. * dlls/crypt32/cert.c, dlls/crypt32/crypt32.spec, dlls/crypt32/tests/main.c: Juan Lang Implement a few utility functions, with tests. * include/wincrypt.h: Juan Lang Correct a typo. * programs/winefile/winefile.c: Martin Fuchs - move ID_ABOUT_WINE into #ifdef __WINE__ - support for refresh in shell namespace windows * dlls/msi/action.c, dlls/msi/helpers.c: Aric Stewart Fill and use the ProductCode part of the MSIPACKAGE structure. * dlls/netapi32/access.c, dlls/netapi32/netapi32.spec: Detlef Riekenberg NetUserAdd + NetUserDel implemented as stub. Made some FIXME more informative. Marked some FIXME as stub. Added comments before some functions. * dlls/ntdll/loadorder.c: Use the same defaults for modules with and without an explicit path. * dlls/user/sysparams.c: Frank Richter Add support for proper saving of the "FLATMENU" and "GRADIENTCAPION" system parameters to the registry. * dlls/user/uitools.c: Frank Richter Wine has now a Marlett font, hence the window buttons can now be drawn using that and not some polylines. * fonts/wine_marlett.sfd: Frank Richter Added a real "window restore" glyph to Wine Marlett. * dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_Ru.rc, dlls/commdlg/printdlg.c: Eugeny Gorelov Implement most functionality of PageSetupDlg function. * programs/cmdlgtst/En.rc, programs/cmdlgtst/Ru.rc, programs/cmdlgtst/cmdlgtst.c, programs/cmdlgtst/cmdlgtst.h: Eugeny Gorelov Added PageSetupDlg test. * dlls/x11drv/window.c, dlls/x11drv/x11drv_main.c: Moved most initializations out of the create_desktop function and into process_attach. * dlls/user/win.c, dlls/user/winpos.c, include/winpos.h: Delay creation of the internal pos atom until needed. * dlls/mscms/tests/Makefile.in, dlls/mscms/tests/profile.c: Hans Leidekker Dynamically load mscms. * programs/winecfg/De.rc: Frank Richter Update German translation for changes to the DLL overrides UI. * include/commdlg.h: Eugeny Gorelov Added PSD_NONETWORKBUTTON define. * dlls/ole32/memlockbytes.c, dlls/ole32/storage32.c: Vitaly Lipatov Added some documentation. * dlls/msi/dialog.c: Mike McCormack Use LoadImage to load bitmaps and icons. * dlls/user/tests/msg.c: Dmitry Timoshkov Add a MsgWaitForMultipleObjects test. * dlls/advapi32/registry.c, dlls/advapi32/tests/crypt.c, dlls/devenum/mediacatenum.c, dlls/dmusic/dmusic.c, dlls/dplayx/dplay.c, dlls/dplayx/dplobby.c, dlls/dsound/dsound_main.c, dlls/iphlpapi/iphlpapi_main.c, dlls/mpr/pwcache.c, dlls/netapi32/nbt.c, dlls/oledlg/insobjdlg.c, dlls/powrprof/powrprof.c, dlls/setupapi/virtcopy.c, dlls/shlwapi/reg.c, dlls/tapi32/line.c, dlls/uxtheme/system.c, dlls/wininet/urlcache.c, dlls/winmm/winealsa/audio.c, programs/regedit/edit.c, programs/winebrowser/main.c, programs/winedbg/winedbg.c: Mike McCormack gcc 4.0 -Wpointer-sign fixes (Reg* functions). * server/mapping.c: Convert the shared mapping list to a standard list. * dlls/dbghelp/elf_module.c: We no longer have thunks in the data section. * dlls/user/win.c, include/wine/server_protocol.h, server/protocol.def, server/trace.c, server/window.c: Dmitry Timoshkov Make IsWindowUnicode work in the case when window belongs to another process. * programs/winefile/Makefile.in, programs/winefile/winefile.c, programs/winefile/winefile.h: Martin Fuchs - remove and header usage by switching to WIN32 API string manipulation functions as far as possible - switch to UNICODE compilaton - remove launch_fileA() and tcscpyn - don't crash in set_curdir() for NULL in the 'entry' pointer * programs/winecfg/Nl.rc: Paul Vriens Update the Dutch translations. * server/atom.c, server/object.h, server/request.c, server/user.h, server/winstation.c: Store the global atom table in the process window station. * include/winternl.h: Mike McCormack Add more Nt* functions. * dlls/user/combo.c: Felix Nawothnig Update TODO list. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Encode/decode CERT_PUBLIC_KEY_INFO, with tests. * dlls/comctl32/tests/dpa.c: Felix Nawothnig Add another failing DPA test. 2005-07-06 Alexandre Julliard * dlls/winaspi/aspi.c: Gerald Pfeifer SCSI_Linux_CheckDevices() is Linux-only as well. * dlls/mscms/mscms_main.c: Hans Leidekker Fail loading when compiled without lcms support. * dlls/advapi32/crypt.c, dlls/advapi32/service.c, dlls/advapi32/tests/registry.c, dlls/d3d8/d3d8_main.c, dlls/msvideo/msvideo16.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib16.c, dlls/opengl32/wgl.c, dlls/setupapi/setupx_main.c, dlls/shell32/classes.c, dlls/shell32/dialogs.c, dlls/user/tests/sysparams.c, dlls/winaspi/aspi.c, dlls/winaspi/winaspi16.c, dlls/wineps/init.c, dlls/x11drv/x11drv_main.c, dlls/x11drv/xfont.c, programs/wineconsole/registry.c: Mike McCormack gcc 4.0 -Wpointer-sign fixes (Reg* functions). * programs/winecfg/En.rc, programs/winecfg/libraries.c, programs/winecfg/resource.h: Felix Nawothnig Changed layout of libraries tab, moved load-order setting into extra dialog. * dlls/comctl32/propsheet.c: Felix Nawothnig Don't invalidate the whole propsheet when the page is switched. * dlls/user/menu.c: Rein Klazes - when sending the WM_DRAWITEM message in case of a menu item with hbmpItem = HBMMENU_CALLBACK, move the drawing origin to the top left of the item rectangle - at the same time also make sure that the itemState field of the DRAWITEMSTRUCT is properly initialized - do the drawing of the check mark before sending the WM_DRAWITEM message, some application likes to "overdraw" the checkmark. * dlls/wined3d/drawprim.c: Oliver Stieber Change all references to updateStateBlock to references to stateBlock in drawprim. * dlls/riched20/paint.c, dlls/riched20/wrap.c, dlls/twain/capability.c, dlls/x11drv/xfont.c, dlls/x11drv/xrandr.c: Stefan Huehner Make functions static to fix -Wmissing-declarations warnings. * dlls/user/painting.c, dlls/user/tests/dce.c: Restore the clip region after GetDCEx in send_erase as if it had been a BeginPaint. * programs/winemenubuilder/winemenubuilder.c: Moved the configuration key to HKCU\Software\Wine\WineMenuBuilder. * dlls/comctl32/tests/treeview.c, dlls/dinput/tests/joystick.c, dlls/ntdll/tests/info.c, dlls/oleaut32/tests/vartest.c, dlls/psapi/tests/psapi_main.c, dlls/user/tests/menu.c, dlls/user/tests/win.c: Francois Gouget Add trailing '\n's to ok() calls. * dlls/msi/action.c: Mike McCormack Stop the install when cancelling from a modeless dialog. * include/winternl.h: Mike McCormack Add more Nt* functions. * dlls/winspool/Makefile.in, dlls/winspool/info.c: Huw Davies Add an implementation of AddJob and a partial one of ScheduleJob. * dlls/shell32/shfldr_unixfs.c: Michael Jung Implemented UnixFolder's ISFHelper::DeleteItems interface. * include/winuser.h: Frank Richter Add missing DC_GRADIENT and DC_BUTTONS, as used by DrawCaption. * dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/row.c: Phil Krylov Fixed EM_LINEINDEX handler and added EM_LINEFROMCHAR handler. * dlls/msi/events.c: Mike McCormack Don't crash when cancelling out of a modeless dialog. * dlls/user/sysparams.c: Felix Nawothnig Clear buffer before querying the registry in SYSPARAMS_Load. * dlls/shell32/shfldr_unixfs.c: Michael Lin Michael Jung Implemented UnixFolder's ISFHelper::AddFolder. * dlls/advapi32/Makefile.in, dlls/advapi32/lsa.c, dlls/advapi32/security.c: James Hawkins Branch the LSA functions from security.c to lsa.c. * dlls/user/dde_client.c, dlls/user/dde_misc.c, dlls/user/defwnd.c, dlls/user/driver16.c, dlls/user/hook.c, dlls/user/hook16.c, dlls/user/message.c, dlls/user/spy.c, dlls/user/sysparams.c, dlls/user/text.c, dlls/user/user_main.c, dlls/user/winproc.c: Mike McCormack -Wpointer-sign fixes for gcc 4.0. * dlls/msi/action.c, dlls/msi/msipriv.h, dlls/msi/string.c, dlls/msi/suminfo.c: Mike McCormack gcc 4.0 -Wpointer-sign fixes. * dlls/mshtml/main.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/protocol.c: Mike McCormack Fix gcc 4.0 -Wpointer-sign warnings. * dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/row.c: Phil Krylov Implemented EM_EXLINEFROMCHAR, EM_LINEINDEX, EM_FINDTEXT, EM_FINDTEXTW, EM_FINDTEXTEX, and EM_FINDTEXTEXW messages. * include/winnt.h: Mike McCormack Define PVOID64 and FILE_SEGMENT_ELEMENT. * dlls/uxtheme/system.c: Frank Richter Every window needs to receive WM_THEMECHANGED (esp. controls), so also send it to child windows. * dlls/comctl32/Makefile.in, dlls/comctl32/comctl32undoc.c, dlls/comctl32/dpa.c, dlls/comctl32/dsa.c: Felix Nawothnig Move DPA and DSA functions out of comctl32undoc.c as they are documented by now. 2005-07-05 Alexandre Julliard * tools/winebuild/relay.c: Don't depend on ELF features for PIC code. A couple of optimizations. * dlls/msi/Makefile.in, dlls/msi/files.c, dlls/msi/msipriv.h, dlls/msi/source.c, include/msi.h: Aric Stewart Add source.c to start handling the various MsiSourceList apis used in v3 of MSI, and now internally. Update files.c to use the MsiSourceList apis to make sure our SourceList keys in the registry are included and correct. * dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c: Detlef Riekenberg Printer_LoadIconsW: implemented minimal version. * dlls/riched20/wrap.c: Phil Krylov Fixed an off-by-one error in EM_GETLINECOUNT handler. * dlls/riched20/writer.c: Phil Krylov Fixed another couple of EM_STREAMOUT bugs. * include/textserv.h: Paul Vriens Fixed typo. * dlls/shell32/shfldr_unixfs.c: Michael Lin Michael Jung ISFHelper interface support for UnixFolder (currently only stubs). * dlls/avifil32/acmstream.c, dlls/avifil32/avifile.c, dlls/avifil32/editstream.c, dlls/avifil32/getframe.c, dlls/avifil32/icmstream.c, dlls/avifil32/tmpfile.c, dlls/avifil32/wavfile.c: Mike McCormack gcc 4.0 -Wpointer-sign fixes. * dlls/msi/dialog.c: Mike McCormack Set the initial focus on the control specified by Control_First in the Dialog table. * dlls/riched20/writer.c: Phil Krylov Removed junk from UTF-8 RTF output. * include/textserv.h: Maarten Lankhorst Added txtbit declarations. * programs/winecfg/libraries.c: Hajime Segawa Fix for debug message buffer overflow in library tab. * dlls/shell32/shfldr_unixfs.c: Michael Lin Michael Jung Implemented UnixFolder's IShellFolder::SetNameOf. * dlls/d3d9/d3d9_private.h, dlls/d3d9/pixelshader.c, dlls/d3d9/stateblock.c, dlls/d3d9/vertexshader.c: Oliver Stieber Strip out stateblocks from d3d9 and relay all stateblock calls to wined3d. * tools/sfnt2fnt.c, tools/winebuild/spec16.c, tools/winedump/le.c, tools/winedump/lnk.c, tools/winedump/ne.c, tools/winedump/winedump.h, tools/wrc/readres.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/fontdlg.c, dlls/commdlg/fontdlg16.c, dlls/commdlg/printdlg.c, dlls/commdlg/printdlg16.c: Mike McCormack gcc 4.0 -Wpointer-sign fixes. * include/msxml.idl: Vijay Kiran Kamuju Add IXMLElementNotificationSink definition for IE4 compatibility. * dlls/msvcrt/process.c: Eric Pouech Fixed erroneous file flag in _popen. * dlls/urlmon/.cvsignore, dlls/urlmon/Makefile.in, dlls/urlmon/regsvr.c, dlls/urlmon/rsrc.rc, dlls/urlmon/urlmon.inf, dlls/urlmon/urlmon_main.h: Jacek Caban Register protocols. * dlls/ntdll/process.c, dlls/ntdll/virtual.c: Felix Nawothnig Replace stubs for information classes in NtQueryVirtualMemory and NtQueryInformationProcess by more descriptive messages. * dlls/uxtheme/draw.c: Frank Richter UXTHEME_LoadImage(): Set default image count to 1 to avoid division by zero in case image count property is not given. Properly support 0 state IDs. * dlls/wined3d/device.c, dlls/wined3d/drawprim.c, dlls/wined3d/stateblock.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Oliver Stieber Implemented stateblocks in wined3d. * dlls/user/edit.c, dlls/user/tests/edit.c: Vitaliy Margolen Fix some failing tests. * tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/spec32.c: Get rid of the global debugging flag. * dlls/kernel/kernel16_private.h, dlls/kernel/ne_module.c, dlls/kernel/relay16.c, tools/winebuild/relay.c: Intercept functions for 16-bit relay debugging by patching the CALLFROM16 table instead of having the wine_call_from_16 functions call out the relay functions explicitly. * dlls/dplayx/dplay.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/name_server.c, dlls/gdi/enhmetafile.c, dlls/msvidc32/msvideo1.c, dlls/netapi32/access.c, dlls/riched20/editor.c, dlls/rpcrt4/ndr_ole.c, dlls/uxtheme/msstyles.c: Stefan Huehner Fix -Wmissing-declarations warnings. * dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compobj_private.h, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/errorinfo.c, dlls/ole32/filemoniker.c, dlls/ole32/ftmarshal.c, dlls/ole32/hglobalstream.c, dlls/ole32/ifs.c, dlls/ole32/itemmoniker.c, dlls/ole32/marshal.c, dlls/ole32/memlockbytes.c, dlls/ole32/memlockbytes16.c, dlls/ole32/moniker.c, dlls/ole32/ole16.c, dlls/ole32/ole2.c, dlls/ole32/oleobj.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/stg_prop.c, dlls/ole32/storage.c, dlls/ole32/storage32.h, dlls/ole32/stubmanager.c: Mike McCormack Fix gcc 4.0 -Wpointer-sign warnings. * dlls/user/cursoricon.c: Detlef Riekenberg LoadImageW: Fix type of TRACE parameter. * include/.cvsignore, include/Makefile.in, include/mimeinfo.idl: Vijay Kiran Kamuju Added declaration for IMimeInfo interface. * dlls/kernel/relay16.c, include/wine/winbase16.h, tools/winebuild/relay.c, tools/winebuild/spec16.c: Added vararg argument type so that the relay code can distinguish from a normal cdecl function. Don't rely on the relay thunk preserving the stack pointer. * dlls/ntdll/tests/info.c: Paul Vriens Added some tests for other information classes. Correct comment for test 0x3. * dlls/ntdll/nt.c: Paul Vriens Improved stubs to show the correct behavior. * programs/winecfg/En.rc: Huw Davies Add an English neutral version of the graphics tab. * dlls/kernel/toolhelp.c: Mike McCormack Fix some gcc 4.0 warnings. * dlls/uxtheme/msstyles.c, dlls/uxtheme/msstyles.h: Frank Richter Opening some theme class data now also increases the reference count of the theme file, so as long as theme class data is still opened somewhere, the theme file won't get freed. Otherwise, it could happen that invalid class data was used, which could lead to problems. * dlls/uxtheme/draw.c: Frank Richter Changed the default transparent color in case none was explicitly specified from the upper left pixel color to magenta. Empirically gives better results. * dlls/user/menu.c: Frank Richter Add support for drawing menus in "flat" style. * dlls/advapi32/crypt.c, dlls/cabinet/fdi.c, dlls/dinput/joystick_linux.c, dlls/iphlpapi/tests/iphlpapi.c, dlls/msvcrt/tests/headers.c, dlls/oleaut32/typelib.c, dlls/setupapi/virtcopy.c, dlls/winaspi/aspi.c, dlls/winedos/soundblaster.c, dlls/winedos/vga.c, dlls/winsock/socket.c: Stefan Huehner Fix some more -Wmissing-declarations warnings. * dlls/dmloader/dmloader_main.c, dlls/dmloader/dmloader_private.h, dlls/dmloader/loader.c: Mike McCormack Fix gcc 4.0 -Wpointer-sign warnings. * dlls/gdi/driver.c, dlls/gdi/freetype.c, dlls/gdi/printdrv.c: Mike McCormack -Wpointer-sign fixes for gcc 4.0. * dlls/oleaut32/oleaut.c, dlls/oleaut32/variant.c: Robert Shearman Document active object and variant functions. * dlls/comctl32/tests/dpa.c: Felix Nawothnig Fix DPA tests on Win95. * include/winternl.h: Paul Vriens Removed 4 bytes from the SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION struct. Changed some dwSpare into liKernelTime and liUserTime. * include/textserv.h: Maarten Lankhorst Added missing declaration for ITextServices->OnTxInPlaceDeactivate. * dlls/commdlg/cdlg_En.rc: Huw Davies Add English neutral version of IDS_COLOR_GRAY. * programs/winefile/Fr.rc: Jonathan Ernst Updated winefile French resources. * programs/winecfg/Fr.rc, programs/winecfg/winecfg.rc: Jonathan Ernst - Updated winecfg French resources. - Fixed control size and placement. * dlls/winspool/info.c: Huw Davies Add one more level of indirection to the printer handle array to allow more information than just the name to be stored. Wrap accesses to the printer handle array in a critsec. * dlls/user/tests/win.c: Dmitry Timoshkov Add a test case for IsWindowUnicode. * dlls/shell32/shell32_Pt.rc: Marcelo Duarte Update shell32 resources for Portuguese. * programs/winemine/Pl.rc: Marcelo Duarte Remove double SEPARATOR. * dlls/x11drv/opengl.c: Oliver Stieber Make sure that the OpenGL visual created for a window has a stencil buffer. * tools/wineinstall: Vincent Béron Clean wineinstall from config file references. * dlls/shell32/shfldr_unixfs.c: Michael Jung Return correct attributes in ParseDisplayName. * dlls/kernel/version.c: Mike McCormack Fix gcc 4.0 warnings. * dlls/comctl32/propsheet.c: Frank Richter Let property sheets update the cached system colors upon receiving WM_SYSCOLORCHANGE. * dlls/uxtheme/system.c: Frank Richter Write WCHAR strings to registry with correct size. * dlls/mscms/profile.c, dlls/mscms/tests/profile.c: Hans Leidekker Fix color directory handling. * dlls/uxtheme/draw.c, dlls/uxtheme/uxtheme.spec, include/uxtheme.h: Thomas Weidenmueller IsThemeDialogTextureEnabled should have one parameter to match the prototype in the official headers. * dlls/user/sysparams.c: Frank Richter Add support for SPI_[SG]ETFLATMENU in SystemParametersInfo (although without saving of the setting). * dlls/uxtheme/msstyles.c: Frank Richter Enable/disable "flat menus" based on the setting from the active theme. 2005-07-03 Alexandre Julliard * dlls/urlmon/sec_mgr.c, dlls/urlmon/umon.c, dlls/urlmon/umstream.c, dlls/urlmon/urlmon_main.c, dlls/urlmon/urlmon_main.h: Mike McCormack Fix -Wpointer-sign warnings. * dlls/shell32/autocomplete.c, dlls/shell32/classes.c, dlls/shell32/cpanelfolder.c, dlls/shell32/dataobject.c, dlls/shell32/dde.c, dlls/shell32/dragdrophelper.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shell32_main.h, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shfldr_unixfs.c, dlls/shell32/shlfsbind.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c: Mike McCormack -Wpointer-sign fixes. * dlls/comctl32/tests/Makefile.in, dlls/comctl32/tests/dpa.c: Felix Nawothnig Rewrote the DPA testsuite. * include/winternl.h: Mike McCormack Define more Nt* functions. * dlls/kernel/kernel16_private.h, dlls/kernel/syslevel.c, dlls/kernel/wowthunk.c, tools/winebuild/relay.c: Moved all 16-bit relay code to the text section. Changed a few symbol names for better consistency. * libs/wine/ldt.c: Added error message for missing LDT support on i386. * dlls/ntdll/signal_i386.c: Some fixes for the Darwin build. * dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/dsrender.c: Vitaliy Margolen Change messages about config file to registry. * dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, dlls/rpcrt4/tests/generated.c, dlls/shell32/tests/generated.c, dlls/shlwapi/tests/generated.c, dlls/urlmon/tests/generated.c, dlls/user/tests/generated.c, dlls/wininet/tests/generated.c, tools/winapi/winapi_test: Mike McCormack Avoid warnings in generated tests by casting sizeof(x) to an int. * dlls/mshtml/Makefile.in, dlls/mshtml/htmldoc.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/service.c: Jacek Caban Added stub implementation of IServiceProvider. * DEVELOPERS-HINTS: Mike McCormack Fix DEVELOPER_HINTS to reflect make configure doesn't run autoconf. * dlls/ddraw/device_opengl.c: Marcus Meissner Make check fails in dlls/ddraw/tests/d3d, because a heap allocate is fed to wrong size. (sizeof(BOOLEAN) is 1 , but ative_lights is a DWORD array). * dlls/x11drv/desktop.c: Lionel Ulmer Add some resolutions to what Desktop mode supports. * include/winternl.h: Felix Nawothnig Add some values to the PROCESS_INFORMATION_CLASS enumeration. * dlls/urlmon/umon.c: Jacek Caban Fix handling of pmkContext in CreateURLMoniker. * programs/winemine/main.c, programs/winemine/main.h: Jacek Caban Make registry compatible with winmine. * include/commctrl.h: Frank Richter Add missing NMBCHOTITEM struct. * dlls/msvcrt/wcs.c: Marcus Meissner char pointer must be 11 byte to fit 10 characters + \0. * dlls/advapi32/tests/registry.c, include/winreg.h: Felix Nawothnig Added unit tests for RegGetValue. 2005-07-02 Alexandre Julliard * dlls/ntdll/virtual.c, server/mapping.c: Vitaliy Margolen Load all dll sections no matter what attributes say. * dlls/urlmon/sec_mgr.c, dlls/urlmon/umon.c, dlls/urlmon/urlmon_main.c: Jacek Caban Better module locking. * dlls/avifil32/Makefile.in, dlls/avifil32/api.c: Marcus Meissner Use CoCreateInstance instead of SHCoCreateInstance, drop shell32 from imports. Call OleInitialize() on AVIFileInit. * dlls/mshtml/main.c, include/mshtmhst.idl: Jacek Caban - Added more definitions. - Fixed RunHTMLApplication declaration. * include/msxml.idl: Vijay Kiran Kamuju Add missing declarations for IXMLDocument2 and IXMLElement2. 2005-07-01 Alexandre Julliard * server/registry.c: Don't bother loading the config file anymore. * tools/winedump/ne.c: Added dumping of NE segments and relocations. * tools/winebuild/import.c: Don't use the full 32 bits of %esp when called from 16-bit code. * dlls/user/ddeml.spec: Andreas Mohr HCONV and HCONVLIST are 32bit handles. * programs/winecfg/De.rc, programs/winefile/De.rc: Henning Gerhardt Update German resource files. * dlls/d3d9/device.c: Oliver Stieber Check for a null surface returned from CreateSurface. Relay GetCreationParameters call to wined3d. * configure, configure.ac, dlls/ntdll/cdrom.c, include/config.h.in: Phil Krylov Fixed dlls/ntdll/cdrom.c compilation in Darwin by adding HAVE_IOKit detection to configure and defining SENSEBUFLEN as kSenseDefaultSize (which is corresponding IOKit enum value). * include/Makefile.in, include/textserv.h: Mike McCormack Added textserv.h. * dlls/kernel/kernel16_private.h, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, tools/winebuild/relay.c: Moved most of the implementation of CALL32_CBClient(Ex) to the C code. * tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/winebuild.man.in: Added a --target option to allow cross-compilation. * dlls/x11drv/window.c: Set the class resource name to the name of the main binary (suggested by Rasterman). * include/.cvsignore, include/Makefile.in, include/xmldso.idl, include/xmldsodid.h: Vijay Kiran Kamuju Added xmldso.idl. * dlls/ntdll/relay.c, tools/winebuild/import.c: Improve a bit the assembly generated for import thunks. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang - implement encoding/decoding of cert extensions - remove some unnecessary parameters to internal functions - tests for cert extensions * dlls/cabinet/cabextract.c, dlls/riched20/caret.c, dlls/uxtheme/draw.c, dlls/uxtheme/uxini.c: Stefan Huehner Make some function static. * programs/winecfg/drivedetect.c: Michael Jung Added binfmt_misc to the filesystem blacklist. * dlls/uxtheme/msstyles.c: Frank Richter Have the theme INI file parsed upon theme activation and not just when the first theme data is requested; that way, the themed system colors are set correctly from the start, and not just after some theme data was requested. * include/wincrypt.h: Juan Lang - add more prototypes - rearrange prototypes according to the DLL they're in, to make comments correct * dlls/user/dialog.c, dlls/user/tests/dialog.c: Robert Shearman GetDlgItemText should always try to NULL terminate the string. 2005-06-30 Alexandre Julliard * include/wine/test.h, include/winsock.h: Attempt at a better fix for the winsock.h problems on Darwin. * programs/winecfg/Nl.rc: Paul Vriens Update the Dutch translations. * dlls/mshtml/protocol.c, dlls/mshtml/rsrc.rc: Use proper symbols instead of magic number 23 for HTML resource type. * tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/newstruc.h, tools/wrc/parser.l, tools/wrc/parser.y, tools/wrc/wrctypes.h: Added support for HTML resource type. * dlls/wininet/tests/http.c: Added missing LGPL header. * include/.cvsignore, include/Makefile.in, include/msxml.idl, include/msxml2.idl: Vijay Kiran Kamuju Added msxml2.idl. * configure, configure.ac: Vitaliy Margolen Fix test for arts. * dlls/shell32/Makefile.in, dlls/shell32/dde.c, dlls/shell32/shell32_main.c: Robert Shearman Implement ShellDDEInit. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/custom.c, dlls/msi/helpers.c, dlls/msi/upgrade.c: Aric Stewart Keep track of what sequence we are in and register unique actions. This allows us to make sure actions and custom actions flagged to run only once, actually run only once. Also clean up some of the numeric constants in custom.c using the defined values from msidefs.h. * configure, configure.ac, include/config.h.in: Removed some no longer used asm checks. * dlls/cabinet/fci.c, dlls/d3d8/directx.c, dlls/rpcrt4/rpcrt4_main.c, dlls/shlwapi/ordinal.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/wined3d_private.h, documentation/PACKAGING, tools/winedump/README, tools/winedump/winedump.h, tools/winedump/winedump.man: Francois Gouget Assorted spelling fixes. * dlls/user/sysparams.c, dlls/user/tests/sysparams.c: Revert SPI_SETMOUSEBUTTONSWAP changes. * dlls/mshtml/tests/.cvsignore, dlls/mshtml/tests/Makefile.in, dlls/mshtml/tests/protocol.c: Jacek Caban Added res protocol test. * dlls/user/dde_misc.c: Dmitry Timoshkov Fix a typo in ReuseDDElParam: GlobalLock supposed to be GlobalUnlock. * dlls/comctl32/header.c: Vitaliy Margolen Send CDDS_ITEMPOSTERASE | CDDS_PREPAINT notify. * dlls/winspool/info.c: Huw Davies Forward StartDocPrinterA to StartDocPrinterW. Improve trace in the unicode version. * dlls/mshtml/rsrc.rc: Jacek Caban Fix blank.htm resources. * dlls/riched20/editor.c, dlls/riched20/editstr.h, dlls/riched20/wrap.c: Phil Krylov Implemented EM_GETLINECOUNT RichEdit message. * tools/wrc/genres.c, tools/wrc/genres.h, tools/wrc/wrctypes.h, tools/wrc/writeres.c: Stefan Huehner Fix some -Wsign-compare warnings. * tools/wrc/parser.l: Jacek Caban '.' is a valid char of tIDENT. * programs/winedbg/winedbg.c: Francois Gouget Improve the winedbg usage. * programs/winecfg/audio.c: Francois Gouget Remove unneeded casts. * dlls/kernel/tests/directory.c: Francois Gouget for Mandriva Test the behavior of CreateDirectory() when it has one or two trailing dots or spaces. Tweak the previous CreateDirectory() tests so we get more information in case of a failure. * tools/winapi/win32.api: Francois Gouget Update win32.api to match current sources. * tools/winebuild/utils.c: Phil Krylov Fixed winebuild operation in Darwin. * dlls/shell32/regsvr.c: Michael Jung Register unixfs at desktop level in DllRegisterServer. * dlls/shell32/shfldr_unixfs.c: Michael Jung Fix two more corner cases in UNIXFS_get_unix_path and UNIXFS_path_to_pidl. * dlls/msi/dialog.c: Mike McCormack Move to the next mask edit field when the current one becomes full. * include/wincrypt.h: Juan Lang Add more missing OIDs. * dlls/shell32/tests/shlfolder.c: Saulius Krasuckas Prepare for adding new tests. - Put OleInitialize and OleUninitialize in the main block. - Move test_BindToObject before test_EnumObjects_and_CompareIDs. * dlls/mshtml/protocol.c: Jacek Caban Implemented res protocol. * dlls/msi/dialog.c: Mike McCormack Make the tab order in msi dialogs right. * dlls/ntdll/cdrom.c: Gerald Pfeifer Avoid unused variable warnings in CDROM_ScsiPassThroughDir() and CDROM_ScsiPassThrough(). * programs/winemenubuilder/winemenubuilder.c: Sven Paschukat Repaired extraction of icons when config file is missing. * dlls/wininet/internet.c: Robert Shearman Add stubs for some InternetSetOption options. 2005-06-29 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/spec32.c, tools/winebuild/utils.c: Replace configure macros by explicit platform checks (probably not correct on all platforms yet). * dlls/oleaut32/oleaut.c, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/regsvr.c: Robert Shearman Rename OLEAUT32_Dll* Functions to Dll*. * dlls/oleaut32/tests/vartype.c, dlls/oleaut32/variant.c: Robert Shearman for Mandriva - Conversions between variants types of the same size should ignore overflows. - Tests for this behaviour. * dlls/oleaut32/typelib.c: Robert Shearman for Mandriva Add a generic TYPEDESC VT to VARIANT VT mapper so we can use the standard Variant* routines. Use this new function to properly copy & de-reference the return value. * dlls/advapi32/tests/security.c, dlls/ntdll/sec.c: James Hawkins - Fix calculation of generic pointers. - Minor cleanups. * dlls/winmm/winealsa/audio.c: Vitaliy Margolen Sync comments with configuration location changes. * server/clipboard.c, server/user.h, server/winstation.c: Make the clipboard information local to the process window station. * server/process.c: Clear the process handle table before releasing it to avoid potential problems with destructors trying to access handles. * dlls/x11drv/init.c, dlls/x11drv/opengl.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c: Delay OpenGL and GDI initialization until they are needed. * dlls/kernel/oldconfig.c: Get rid of the old config conversion code. * dlls/riched20/editor.c: Aric Stewart Implementation for EM_GETTEXTEX. * include/Makefile.in, include/msxml2did.h: Vijay Kiran Kamuju Added defines for XMLDOM stuff. * dlls/msi/action.h, dlls/msi/files.c, dlls/msi/helpers.c: Aric Stewart Handle installs off multiple volumes and properly pull the prompt string from the error table. * dlls/ntdll/cdrom.c: Mike Hearn Fix GCC4 warning. * tools/widl/typelib_struct.h, tools/widl/write_msft.c: Huw Davies for Mandriva Update the import table code to eliminate a few magic constants. * dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h, dlls/oleaut32/typelib2.c: Huw Davies for Mandriva Cope with the index in a import table entry being a typeinfo index rather than a guid offset. * dlls/cabinet/fci.c: Gerold Jens Wucherpfennig Support for big-endian systems. * programs/regedit/listview.c: Gerald Pfeifer Avoid compiler warning in AddEntryToList(). * dlls/shell32/shell32_main.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_unixfs.c: Michael Jung If the unixfs is rooted at the Desktop folder, forward ParseDisplayName calls to it instead of to MyComputer. * include/Makefile.in, include/basetyps.h: Steven Edwards Add basetyps.h based on the public domain mingw header by Anders Norlander. * include/wincrypt.h: Paul Vriens Correct some OIDs. * dlls/shell32/tests/shlfolder.c: Vitaliy Margolen ILFree is not available on all versions. * dlls/ntdll/cdrom.c: Dmitry Timoshkov A workaround for missing struct request_sense on FreeBSD. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang - fix decoding of long-form data lengths - use exception handling in decoding - tests for these changes * programs/winetest/Makefile.in: Jacek Caban Added mshtml test. 2005-06-28 Alexandre Julliard * tools/Makefile.in: Run make clean in the winapi subdir too. * dlls/user/tests/winstation.c, server/hook.c, server/thread.c, server/thread.h, server/window.c, server/winstation.c: Keep track of the windows and hooks used by a thread to properly refuse to change the thread desktop when it's in use. * dlls/commdlg/cdlg16.h, dlls/commdlg/colordlg.c, dlls/commdlg/colordlg16.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg16.c, dlls/commdlg/filedlg31.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filetitle.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c: Mike McCormack Fix declarations. * documentation/Makefile.in: The samples subdirectory no longer exists. * dlls/gdi/freetype.c: Fixed HKLM/HKCU mixup for the external fonts key. * dlls/msi/action.c, dlls/msi/helpers.c, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/package.c: Aric Stewart Relocate the msi file to prevent cd locking, corrected to properly not try to relocated #nnnn handles as files. * dlls/commdlg/Makefile.in, dlls/commdlg/filedlg.c: Michael Jung Don't expand MyComputer in the file dialogs without user interaction, if unixfs is rooted at desktop. * programs/winecfg/En.rc, programs/winecfg/Makefile.in, programs/winecfg/audio.c, programs/winecfg/resource.h: Robert Reif - Add an audio configure button with code to display the selected audio driver's configure dialog. - Add an audio control panel launch button. * dlls/riched20/editor.c: Phil Krylov Fixed a comment about EM_STREAMIN. * VERSION, configure, ANNOUNCE, ChangeLog: Release 20050628. ---------------------------------------------------------------- 2005-06-28 Alexandre Julliard * dlls/gdi/printdrv.c: Moved spooler configuration to HKCU\Software\Wine\Printing\Spooler. * dlls/oleaut32/typelib.h, tools/widl/typelib_struct.h: Huw Davies Add comments describing the first DWORD in an import table entry. * dlls/advapi32/tests/security.c: Mark as todo a couple of tests that currently fail. * dlls/riched20/caret.c, dlls/riched20/editor.c, dlls/riched20/editor.h: Phil Krylov Implemented EM_GETTEXTLENGTHEX RichEdit message. * dlls/wineps/init.c, dlls/winspool/info.c: Moved ppd file configuration to HKCU\Software\Wine\Printing\PPD Files. * dlls/ntdll/sec.c: James Hawkins Forward RtlAddAccess* to add_access_ace. * tools/winapi/win32.api: James Hawkins Add some missing types to win32.api. * dlls/oleaut32/variant.c: Michael Stefaniuc - VarCmp: handle comparision of VT_EMPTY with an integer - small comment fix * dlls/mshtml/Makefile.in, dlls/mshtml/htmldoc.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/oleobj.c, dlls/mshtml/olewnd.c: Jacek Caban Added stub implementation of IOleInPlaceObjectWindowless. * include/winternl.h: Mike McCormack Declare some Nt* functions. 2005-06-27 Alexandre Julliard * dlls/winmm/lolvldrv.c: Get rid of the WaveMapper and MidiMapper options, the defaults should be good enough in all cases. * dlls/kernel/tests/comm.c: Uwe Bonnes Added test cases. However most added tests need a loopback plug and need to be enabled in the code. * dlls/advapi32/tests/security.c: Robert Shearman Test ACCESS_SYSTEM_SECURITY AccessCheck behaviour. * dlls/crypt32/encode.c: Juan Lang - use exception handling in encoding - consolidate integer encoders * dlls/mshtml/Makefile.in, dlls/mshtml/blank.htm, dlls/mshtml/rsrc.rc: Jacek Caban Added blank.htm. * dlls/psapi/tests/.cvsignore, dlls/psapi/tests/Makefile.in, dlls/psapi/tests/module.c, dlls/psapi/tests/psapi_main.c: Felix Nawothnig Rewrote the psapi test suite. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/relay.c, tools/winebuild/spec32.c, tools/winebuild/utils.c: Replaced all uses of the __ASM_NAME macro by the asm_name function to allow run-time determination of the correct format. * dlls/wineps/type1afm.c: Moved AFM dirs configuration to a single AFMPath key under HKCU\Software\Wine\Fonts. * dlls/winedos/ppdev.c: Moved port configuration to HKCU\Software\Wine\VDM\ppdev. * dlls/winedos/ioports.c: Moved I/O port configuration to HKCU\Software\Wine\VDM\Ports. * dlls/shell32/brsfolder.c: Aric Stewart Fix the BrowseForFolder dialog so that when it does the callbacks it uses the correct message instead of always sending BEFM_INITIALIZED. * dlls/shell32/shfldr_unixfs.c: Michael Jung Precisely compute the necessary pidl length in UNIXFS_path_to_pidl. * dlls/msi/dialog.c: Mike McCormack Repaint the area behind the "transparent" text control when it changes. * configure, configure.ac, dlls/ntdll/cdrom.c, include/config.h.in: Dmitry Timoshkov Add a check for sg_io_hdr_t and (not tested) check for scsireq_t presence. * dlls/itss/itss.spec: Jacek Caban Export DllMain as native does. * dlls/kernel/thread.c: Eric Pouech Implemented OpenThread on top of NtOpenThread. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/relay.c, tools/winebuild/spec32.c, tools/winebuild/utils.c: Beginnings of an infrastructure to allow specifying the target CPU and platform at run-time. * configure, configure.ac, dlls/mshtml/Makefile.in, dlls/mshtml/tests/.cvsignore, dlls/mshtml/tests/Makefile.in, dlls/mshtml/tests/htmldoc.c: Jacek Caban Added tests. * dlls/kernel/process.c, dlls/ntdll/ntdll.spec, dlls/ntdll/process.c, include/winternl.h: Eric Pouech Implemented OpenProcess on top of NtOpenProcess. * dlls/mlang/mlang.c, dlls/mlang/mlang.spec, include/mlang.idl: Vitaly Lipatov Changes stub to FIXME for GetGlobalFontLinkObject. * dlls/gdi/tests/bitmap.c: Felix Nawothnig Report a todo and skip DIB tests when they fail at a non-truecolor screen depth. * include/winnt.h: Mike McCormack Add pointer types for token structures. * dlls/msvcrt/tests/time.c, dlls/ntdll/tests/path.c, dlls/ntdll/tests/string.c, dlls/oleaut32/tests/olepicture.c, dlls/shlwapi/tests/string.c, dlls/urlmon/tests/url.c, dlls/user/tests/menu.c, programs/start/start.c: Stefan Huehner Fix some -Wstrict-prototypes warnings. * dlls/kernel/console.c, dlls/kernel/tests/process.c, dlls/msvcrt/console.c: Eric Pouech - OpenConsole: try to open the Unix console if we fail with wineserver - kernel32: simplifying code for opening a console handle - msvcrt: now correctly initializing the handles to the Windows console * dlls/d3d9/device.c, dlls/dbghelp/dwarf.c, dlls/dmstyle/commandtrack.c, dlls/iphlpapi/iphlpapi_main.c, dlls/ole32/stg_prop.c, dlls/user/win.c, dlls/winsock/socket.c, dlls/x11drv/dib.c, libs/unicode/cptable.c, tools/wrc/parser.y: Eric Pouech Const correctness fixes. * dlls/mshtml/Makefile.in, dlls/mshtml/main.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/protocol.c: Jacek Caban Added stub implementation of about and res protocols. * include/basetsd.h: Mike McCormack Define KAFFINITY. * dlls/rasapi32/rasapi.c, include/ras.h: Mike McCormack Declare and fix function prototypes. * dlls/kernel/tests/file.c: Jacek Caban Fix test on NT 4. * programs/wcmd/builtins.c, programs/wcmd/wcmdmain.c: Andreas Mohr Constify wcmd. * programs/winecfg/appdefaults.c, programs/winecfg/audio.c, programs/winecfg/drivedetect.c, programs/winecfg/properties.c, programs/winecfg/properties.h: Andreas Mohr Constify all needlessly non-const winecfg structs. * dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.c, dlls/opengl32/opengl_norm.c: Eric Pouech Now generating argument-less functions as (void) instead of (). * dlls/winmm/mciavi/wnd.c: Eric Pouech Fixed window size computation for non child windows. * include/winternl.h: Mike McCormack Declare some Nt* functions. * include/winbase.h, include/winnt.h: Mike McCormack DUPLICATE_* flags should be defined in winnt.h. * dlls/shdocvw/shdocvw_main.c: cjacek Fix typo in comment about Wine registry key. * programs/winemine/main.c: Jacek Caban Added winemine debug channel. * dlls/user/edit.c: Jacek Caban Better notify macro * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang - implement encode and decode of BasicConstraints2, sequence of any - fix encoding of integer value 0 - more tests * dlls/shell32/tests/shlfolder.c: Saulius Krasuckas Additional test cases for IShellFolder_BindToObject. 2005-06-25 Alexandre Julliard * dlls/winsock/async.c, dlls/winsock/protocol.c, dlls/winsock/socket.c, include/ws2spi.h: Hans Leidekker Fix some -Wmissing-declarations warnings. "errno" is not a good choice for a parameter name. * dlls/kernel/kernel16_private.h, tools/winebuild/spec16.c: Remove some i386 ifdefs for 16-bit entry points since they are no longer used by default on other platforms anyway. * dlls/user/ddeml.spec: Andreas Mohr Fix some 16-bit return values. * dlls/shell32/shlfolder.c: Michael Jung Fix a lurking infinite loop in SHGetPathFromIDList. * dlls/user/edit.c, dlls/user/tests/edit.c: Michael Kaufmann - Remove the old margins from the format rectangle before adding the new margins. - Adjust the format rectangle and repaint the control after the margins have been set. - New tests. * dlls/ntdll/critsection.c: Mike McCormack - use STATUS_TIMEOUT instead of WAIT_TIMEOUT - add RTL_ to one more CRITICAL_SECTION_DEBUG * dlls/ntdll/rtl.c: Mike McCormack - NtWaitForSingleObject doesn't return WAIT_FAILED. - Use STATUS_WAIT_0 not WAIT_OBJECT_0. * dlls/ntdll/exception.c: Mike McCormack Use NT status codes for exceptions. * dlls/mshtml/main.c: Jacek Caban Changed message about Mozilla ActiveX Control. * dlls/ntdll/cdrom.c, dlls/ntdll/directory.c, dlls/ntdll/exception.c, dlls/ntdll/heap.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/rtl.c, dlls/ntdll/time.c, dlls/ntdll/virtual.c: Mike McCormack Use RTL_CRITICAL_SECTION instead of CRITICAL_SECTION. * tools/wine.inf: Jacek Caban Added mshtml.dll registration to wine.inf. Removed keys that are registered by mshtml.dll. * dlls/mshtml/.cvsignore, dlls/mshtml/Makefile.in, dlls/mshtml/main.c, dlls/mshtml/mshtml.inf, dlls/mshtml/mshtml.spec, dlls/mshtml/rsrc.rc: Jacek Caban Implemented Dll[Un]RegisterServer. * dlls/msvcrt/file.c, dlls/msvcrt/tests/file.c: Paul Rupe Make ungetc(EOF) a no-op. * include/wine/server.h: Mike McCormack Don't include winreg.h. * dlls/psapi/psapi_main.c: Felix Nawothnig Don't dump content of output buffers. * include/wincrypt.h: Juan Lang Add more missing definitions. * dlls/shell32/regsvr.c, dlls/shell32/shfldr_unixfs.c: Michael Jung Use the CallForAttributes registry value, instead of promoting the root folder's SFGAO_FILESYSTEM flag to the registry. * dlls/shell32/classes.c, dlls/shell32/shell32_main.h, dlls/shell32/shlfolder.c: Michael Jung Support for shellfolder's CallForAttributes registry value. * dlls/comctl32/toolbar.c: Robert Shearman - Document how the native lays out the internal components of buttons. - Fix control to follow these rules. - Don't redraw disabled buttons. - Padding is never less that GetSystemMetrics(SM_{CX,CY}EDGE). - Change default iListGap value to 4 to match native. * dlls/comctl32/pager.c: Robert Shearman Fix a regression in IE where the Favourites menu didn't appear correctly because the height and width were swapped in the pager control. 2005-06-24 Alexandre Julliard * dlls/ntdll/sec.c: James Hawkins Implement RtlAddAuditAccessAce. * dlls/cabinet/cabinet.h, dlls/cabinet/fci.c: Gerold Jens Wucherpfennig Some FCI work. * dlls/msi/action.c: Aric Stewart Perform ExecuteAction at UILevel 2. * dlls/msi/files.c: Aric Stewart Redo how we extract files from a cabinet in order to dramatically improve performance, especially if picking and choosing files out of the cabinet. * dlls/msi/action.c: Aric Stewart Rework CreateShortcuts to use MSI_IterateRecords. * dlls/ntdll/path.c, dlls/ntdll/tests/path.c: RtlGetFullPathName_U should remove the trailing dot on directory names. * dlls/advapi32/security.c, include/winioctl.h: James Hawkins - Define FSCTL_PIPE_IMPERSONATE. - Implement ImpersonateNamedPipeClient. * dlls/wined3d/basetexture.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/resource.c, dlls/wined3d/utils.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_gl.h, include/wine/wined3d_interface.h, include/wine/wined3d_types.h: Oliver Stieber Add support for samplers. Switch from using d3d9 constants to wined3d constants so that there's no recursive dependencies. * dlls/msi/action.c: Aric Stewart Properly handle -1 as a registry key root. * dlls/ntdll/ntdll.spec: Paul Vriens Correct the entries for [Nt|Zw]OpenSymbolicLinkObject. * dlls/msi/dialog.c: Mike McCormack Implement transparency in the text control. * dlls/ntdll/reg.c, include/winternl.h: Mike McCormack Add prototype and fix RtlpNtCreateKey. * tools/make_ctests.c: Pierre d'Herbemont Change headers to in order to prevent a compilation failure with generated files on Darwin. * dlls/shell32/tests/shlfolder.c: Michael Jung Added tests for ShellFolder's CallForAttributes value. * dlls/user/edit.c: Michael Kaufmann Paint the background with the correct color if WS_BORDER. * dlls/msi/action.c: Aric Stewart Rework SelfRegModules to use MSI_IterateRecords. 2005-06-23 Alexandre Julliard * tools/winebuild/parser.c: Allocate ordinals in the order of the declarations in the spec file. * dlls/commdlg/printdlg.c: Vitaly Lipatov - Add some descriptions for PageSetupDlg functions. - Implement user paint hook support and PSD_ENABLEPAGEPAINTHOOK checking. * dlls/mshtml/htmldoc.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/view.c: Jacek Caban Added stub implementation of IViewObject[2] interface. * dlls/itss/itss.c, dlls/itss/itss.idl: Jacek Caban Use GUIDs from itss.idl. * dlls/wined3d/basetexture.c, dlls/wined3d/device.c, dlls/wined3d/texture.c: Oliver Stieber Make all newly created surfces dirty, so that they are loaded properly the first time around. Replace some calls to cubetexture in basetexture to calls to basetexture. Check that the level isn't out of bounds in calls to texture. * dlls/msi/Makefile.in, dlls/msi/dialog.c, dlls/msi/msipriv.h, dlls/msi/record.c: Mike McCormack Make the MSI icon control work. * dlls/msi/action.c: Aric Stewart Rework component, feature and file loading to use MSI_IterateRecords. * include/msidefs.h: Mike McCormack Define the msidbControlAttributes enumeration. * programs/winecfg/appdefaults.c, programs/winecfg/audio.c, programs/winecfg/driveui.c, programs/winecfg/libraries.c, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c: Michael Jung Made the registry cache more general. * dlls/psapi/psapi_main.c: Felix Nawothnig - Replaced server requests by native APIs in EnumProcessModules, GetModuleBaseNameW, GetModuleFileNameExW and GetModuleInformation. - Make EnumProcessModules return modules in load order - Set ERROR_INSUFFICIENT_BUFFER in GetModuleInformation when failing due to (cb < sizeof(MODULEINFO)). * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: James Hawkins Add stub implementations for BuildSecurityDescriptorA/W. * dlls/d3d8/d3d8_private.h, dlls/d3d8/directx.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/swapchain.c, dlls/wined3d/Makefile.in, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/swapchain.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Oliver Stieber Implement swapchains. * dlls/msi/action.c: Aric Stewart Rework RegisterFonts to use MSI_IterateRecords. * dlls/advapi32/security.c: James Hawkins Forward AddAuditAccessAce to its Rtl counterpart. * dlls/ntdll/ntdll.spec, dlls/ntdll/sec.c, include/winternl.h: James Hawkins Add stub implementation of RtlAddAuditAccessAce. * dlls/d3dim/d3dim.spec, dlls/dbghelp/dbghelp.spec, dlls/icmp/icmp.spec, dlls/imagehlp/imagehlp.spec, dlls/kernel/kernel32.spec, dlls/mpr/mpr.spec, dlls/msacm/msacm32.spec, dlls/netapi32/netapi32.spec, dlls/rpcrt4/rpcrt4.spec, dlls/shdocvw/shdocvw.spec, dlls/shell32/shell32.spec, dlls/shlwapi/shlwapi.spec, dlls/user/user32.spec: Sort entry points in the same order as Windows. * tools/winedump/emf.c, tools/winedump/lnk.c: Mike McCormack Fix declarations. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/varformat.c: Michael Stefaniuc - more VarFormat fixes for number formats (exponent, mixed '#' and '0' in formats, rounding, etc). Simplify the code. - previous VarFormat todo_wine tests pass now + add more tests * dlls/ntdll/tests/info.c: Paul Vriens NT4 doesn't support ProcessIoCounters. * programs/regedit/regedit.c: Steven Edwards Remove an outdated comment in the command line options. * dlls/ntdll/om.c: Paul Vriens Return STATUS_OBJECT_NAME_NOT_FOUND in NtOpenSymbolicLinkObject (until implemented). * dlls/msi/action.c: Aric Stewart Rework WriteIniValues to use MSI_IterateRecords. 2005-06-22 Alexandre Julliard * dlls/msi/action.c: Aric Stewart Rework PublishProduct to use MSI_IterateRecords. * dlls/advapi32/advapi32.spec, dlls/cards/cards.spec, dlls/crypt32/crypt32.spec, dlls/d3dim/d3dim.spec, dlls/d3dx8/d3dx8.spec, dlls/ddraw/ddraw.spec, dlls/dinput/dinput.spec, dlls/glu32/glu32.spec, dlls/glut32/glut32.spec, dlls/imm32/imm32.spec, dlls/msvcrtd/msvcrtd.spec, dlls/ntdll/ntdll.spec, dlls/ole32/ole32.spec, dlls/opengl32/opengl32.spec, dlls/setupapi/setupapi.spec, dlls/tapi32/tapi32.spec, dlls/wininet/wininet.spec, dlls/winmm/winealsa/winealsa.drv.spec, dlls/winmm/winearts/winearts.drv.spec, dlls/winmm/winejack/winejack.drv.spec, dlls/winmm/winmm.spec, dlls/winspool/winspool.drv.spec, dlls/wintrust/wintrust.spec: Sort entry points alphabetically. * dlls/wined3d/directx.c: Oliver Stieber Correct GetDeviceCaps so that it uses wined3dcaps as required by the earlier device caps patch. * include/msxml.idl: Vijay Kiran Kamuju Add definition for IXMLAttribute. * dlls/msi/action.c: Aric Stewart Rework RegisterTypeLibraries to use MSI_IterateRecords. * dlls/msvcrtd/msvcrtd.spec, dlls/msvcrt/locale.c, dlls/msvcrt/msvcrt.spec: Fix duplication of _Getnames and _Gettnames, only the latter actually exists. * dlls/user/clipboard.c, dlls/user/listbox.c, dlls/user/msgbox.c, dlls/user/sysparams.c: Mike McCormack Fix declarations, remove unused code. * include/msxml.idl: Vijay Kiran Kamuju Add missing guids and declarations. * dlls/shell32/tests/shlfolder.c: Saulius Krasuckas - Move test init code back to START_TEST(shlfolder). - Move creation and cleanup of a test-folders nearer to test_EnumObjects. * dlls/gdi/tests/metafile.c: Felix Nawothnig - Use smaller numbers as coordinates for mapping tests to avoid rounding-errors. - Simplify calculation of mapped coordinates for MM_TEXT. * dlls/msi/action.c: Aric Stewart Rework LaunchConditions to use MSI_IterateRecords. * dlls/x11drv/xfont.c: Moved font settings to HKCU\Software\Wine\X11 Driver\Fonts. * dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_private.h, dlls/dmband/dmutils.c: Mike McCormack Fix up declarations. * dlls/ntdll/rtlstr.c, include/winternl.h: Mike McCormack Declare RtlGUIDFromString and RtlStringFromGUID. * programs/regedit/regproc.c, programs/regedit/regproc.h: Stefan Huehner Remove some more -Wstrict-prototypes warnings. * dlls/atl/atlbase.h: Mike McCormack Add some missing declarations. * dlls/advapi32/tests/security.c: Felix Nawothnig Skip ACL tests on Win9x. * dlls/winmm/lolvldrv.c: Mike McCormack Make a function static. * include/winbase.h: Mike McCormack Declare ProcessIdToSessionId. * tools/wrc/translation.c, tools/wrc/wrc.c, tools/wrc/wrc.h: Mike McCormack Move function prototypes to header. 2005-06-21 Alexandre Julliard * dlls/ntdll/heap.c: Don't require execute permission on the process heap. * dlls/comctl32/tests/subclass.c, dlls/dinput/tests/dinput_test.h, dlls/dinput/tests/mouse.c, dlls/dsound/tests/capture.c, dlls/gdi/tests/metafile.c, dlls/msacm/tests/msacm.c, dlls/mscms/mscms_main.c, dlls/msvcrt/tests/time.c, dlls/ole32/oleobj.c, dlls/ole32/tests/moniker.c, dlls/oleaut32/typelib.c, dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/shlwapi/path.c, dlls/shlwapi/tests/ordinal.c, dlls/urlmon/urlmon_main.h, dlls/user/static.c, dlls/user/tests/msg.c, dlls/uxtheme/system.c, dlls/winedos/devices.c, dlls/winmm/tests/capture.c: Stefan Huehner Fix some more -Wstrict-prototypes warnings. * dlls/msi/action.c: Aric Stewart Rework CostFinalize to use MSI_IterateRecords. * dlls/advapi32/security.c: James Hawkins Implement IsTokenRestricted. * dlls/ntdll/virtual.c: Add PAGE_GUARD flag to the returned protection of guard pages. * dlls/ntdll/process.c, dlls/ntdll/tests/info.c: Paul Vriens Change ProcessBasicInformation to the same behavior as the rest. Use KERNEL_USER_TIMES for ProcessTimes. Add tests for vm, io, times and handlecount info classes. Fixes for -Wstrict-prototypes warnings. * dlls/dsound/tests/capture.c: Felix Nawothnig Accept DSERR_NODRIVER from IDirectSoundCapture_CreateCaptureBuffer. * dlls/msi/helpers.c: Aric Stewart Fix situations where TARGETDIR is set to a non \ terminated path. Fixes a few installers. * dlls/msi/action.c: Aric Stewart Rework WriteRegistryValues to use MSI_IterateRecords. * include/amstream.idl: Vijay Kiran Kamuju Add definitions for AMMSF_STOPIFNOSAMPLES and AMMSF_NOSTALL. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: James Hawkins Implement GetTrustee* functions. * dlls/shell32/tests/shlfolder.c: Saulius Krasuckas Cleanup the shlfolder test a bit more. * dlls/d3d9/device.c: Oliver Stieber Call wined3d for GetDirect3D instead of using the ->direct3D instance, which is no longer valid. * dlls/msi/action.c: Aric Stewart Rework CreateFolders to use MSI_IterateRecords. * dlls/msi/files.c: Aric Stewart Duplicate files should not fail if unable to get Destination Directory. * dlls/opengl32/wgl.c: Vitaly Lipatov Initialize extensions after correct context is created. * dlls/user/sysparams.c: Rein Klazes In reg_get_logfont: - handle the case that the registry value is a LOGFONT16; - if the lfHeight field is positive, it represents the font's point size and must be converted to logical units. * dlls/wininet/http.c: Maarten Lankhorst Changed setting default port number from HTTP_Connect to HttpOpenRequestW. * dlls/wininet/internet.c, include/wininet.h: Maarten Lankhorst - Added new INTERNET_OPTION* defines. - Fixed InternetSetOptionW unknown option handling, and added INTERNET_OPTION_DISABLE_PASSPORT_AUTH. * dlls/kernel/fiber.c, dlls/kernel/thread.c, dlls/ntdll/thread.c: Don't require execute permission for thread stacks. * dlls/ntdll/atom.c, dlls/ntdll/cdrom.c, dlls/ntdll/critsection.c, dlls/ntdll/debugbuffer.c, dlls/ntdll/debugtools.c, dlls/ntdll/directory.c, dlls/ntdll/env.c, dlls/ntdll/error.c, dlls/ntdll/exception.c, dlls/ntdll/handletable.c, dlls/ntdll/heap.c, dlls/ntdll/large_int.c, dlls/ntdll/loader.c, dlls/ntdll/loadorder.c, dlls/ntdll/nt.c, dlls/ntdll/om.c, dlls/ntdll/path.c, dlls/ntdll/process.c, dlls/ntdll/reg.c, dlls/ntdll/relay.c, dlls/ntdll/resource.c, dlls/ntdll/rtl.c, dlls/ntdll/rtlbitmap.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c, dlls/ntdll/server.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, dlls/ntdll/string.c, dlls/ntdll/sync.c, dlls/ntdll/version.c, dlls/ntdll/virtual.c, dlls/ntdll/wcstring.c: Mike McCormack Don't include winbase.h or winerror.h when not necessary. * server/context_i386.c, server/context_powerpc.c, server/context_sparc.c, server/debugger.c, server/fd.c, server/file.c, server/handle.c, server/mailslot.c, server/mapping.c, server/named_pipe.c, server/process.c, server/registry.c, server/serial.c, server/sock.c, server/thread.c: Mike McCormack Don't include winbase.h when it's not necessary. * dlls/urlmon/urlmon_main.c: Maarten Lankhorst Improved ObtainUserAgentString stub. * dlls/dmime/audiopath.c, dlls/dmime/dmime_private.h, dlls/dmime/graph.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/segtriggertrack.c, dlls/dmime/seqtrack.c, dlls/dmime/sysextrack.c, dlls/dmime/tempotrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/tool.c, dlls/dmime/wavetrack.c: Mike McCormack - use interfaces rather than internal functions - remove declaration of AddRef and QueryInterface functions from headers * include/wine/test.h: Pierre d'Herbemont Fix winsock.h and stdlib.h collision by including windows.h instead of the previous headers. * dlls/dsound/mixer.c: Robert Reif Fix a typo. * include/winternl.h: Paul Vriens Added KERNEL_USER_TIMES struct. * programs/winecfg/Nl.rc, programs/winecfg/winecfg.rc: Paul Vriens Update Dutch resource file. * dlls/shell32/shfldr_unixfs.c: Michael Jung Propagate the root folder's attributes to the registry. 2005-06-20 Alexandre Julliard * programs/winefile/license.c, programs/winefile/splitpath.c: Martin Fuchs Remove superfluous include statements. * dlls/quartz/control.c, dlls/quartz/enummedia.c, dlls/quartz/enummoniker.c, dlls/quartz/filesource.c, dlls/quartz/transform.c: Mike McCormack Make functions static, fix declarations. * dlls/kernel/time.c, dlls/ntdll/time.c, include/winternl.h: Mike McCormack - avoid winternl.h depending on winbase.h - define RTL versions of TIME_ZONE_INFORMATION and SYSTEMTIME * dlls/winmm/lolvldrv.c, dlls/winmm/winemm.h, programs/winecfg/audio.c, programs/winecfg/properties.c: Moved the audio driver configuration to HKCU\Software\Wine\Drivers and changed it a bit to follow the model of the graphics driver. * dlls/d3d8/d3d8_main.c, dlls/gdi/driver.c, dlls/shdocvw/shdocvw_main.c, dlls/user/user_main.c, dlls/wined3d/wined3d_main.c: Moved a few registry keys from HKLM\Software\Wine to HKCU\Software\Wine for consistency. * dlls/winmm/winealsa/audio.c: Moved configuration data to HKCU\Software\Wine\Alsa Driver. * dlls/dmime/audiopath.c, dlls/dmime/dmutils.c, dlls/dmime/graph.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/segtriggertrack.c, dlls/dmime/seqtrack.c, dlls/dmime/sysextrack.c, dlls/dmime/tempotrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/tool.c, dlls/dmime/wavetrack.c: Mike McCormack Make functions static. * configure, configure.ac: Pierre d'Herbemont Also check for /usr/X11R6/lib/libGL.dylib. * dlls/user/sysparams.c, dlls/user/tests/sysparams.c: Vitaly Lipatov Fix returned value for SPI_SETMOUSEBUTTONSWAP. * dlls/ddraw/tests/ddrawmodes.c, dlls/iphlpapi/tests/iphlpapi.c, dlls/kernel/tests/pipe.c, dlls/msvcrt/tests/headers.c, dlls/msvcrtd/tests/debug.c, dlls/netapi32/tests/access.c, dlls/netapi32/tests/apibuf.c, dlls/rpcrt4/tests/rpc.c: Stefan Huehner Make some function static. * dlls/winmm/winealsa/audio.c, include/mmsystem.h: Jeremy White Revamp the initialization for Alsa. * dlls/shell32/shellord.c, include/shellapi.h: Vitaly Lipatov - Realize DoEnvironmentSubstA via ExpandEnvironmentStringsA. - Fix types and return values. - Add prototype into shellapi.h. * dlls/msi/files.c: Aric Stewart Use MSI_IterateRecords for DuplicateFiles. * dlls/msi/action.c: Aric Stewart Use MSI_IterateRecords for processing actions. Some whitespace cleanup and replace a comment block I did not want to remove. * dlls/advapi32/tests/crypt.c, dlls/advapi32/tests/crypt_lmhash.c, dlls/advapi32/tests/registry.c, dlls/advpack/tests/advpack.c, dlls/comctl32/listview.c, dlls/comctl32/tests/imagelist.c, dlls/ddraw/tests/d3d.c, dlls/ddraw/tests/ddrawmodes.c, dlls/ddraw/tests/dsurface.c, dlls/dinput/tests/joystick.c, dlls/dinput/tests/keyboard.c, dlls/dmband/dmband_private.h, dlls/dmcompos/dmcompos_private.h, dlls/dmime/dmime_private.h, dlls/dmscript/dmscript_private.h, dlls/dmstyle/dmstyle_private.h, dlls/dmsynth/dmsynth_private.h, dlls/dmusic/dmusic_private.h, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/propset.c, dlls/dswave/dswave_private.h, dlls/dxdiagn/dxdiag_private.h, dlls/gdi/tests/brush.c, dlls/kernel/tests/environ.c, dlls/kernel/tests/file.c, dlls/kernel/tests/locale.c, dlls/kernel/tests/mailslot.c, dlls/mscms/tests/profile.c, dlls/msi/action.c, dlls/msi/tests/db.c, dlls/msvcrt/tests/headers.c, dlls/ntdll/tests/large_int.c, dlls/ntdll/tests/reg.c, dlls/ole32/compobj.c, dlls/ole32/ifs.c, dlls/ole32/tests/marshal.c, dlls/ole32/tests/propvariant.c, dlls/oleaut32/tests/safearray.c, dlls/qcap/qcap_main.c, dlls/quartz/tests/filtergraph.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/shdocvw_main.c, dlls/shell32/tests/shelllink.c, dlls/shlwapi/tests/clist.c, dlls/shlwapi/tests/shreg.c, dlls/user/combo.c, dlls/user/tests/edit.c, dlls/wineps/afm.c, dlls/winsock/tests/protocol.c, dlls/winspool/info.c, dlls/wintab32/context.c, programs/notepad/dialog.h, programs/progman/grpfile.c, tools/winegcc/winegcc.c: Stefan Huehner Fix more -Wstrict-prototypes warnings. * dlls/user/menu.c, dlls/user/tests/menu.c: Rein Klazes Owner drawn menu item size calculation fixes: - Correct width calculation of owner drawn menu items; - Set the height value in the MEASUREITEM struct to the same value as Windows (NT/2k/XP) does (problem debugged by Felix Nawothnig); - Add tests for the fixes above; - Also add tests for menu bars with owner drawn items. * dlls/dsound/mixer.c: Robert Reif Fix roundoff error to prevent negative length. * dlls/msi/dialog.c: Mike McCormack Make tabs work in msi dialogs. * tools/winebuild/import.c, tools/winebuild/relay.c: Wolfgang Thaller Use __ASM_NAME and HAVE_ASM_DOT_SIZE in a few places in winebuild where they have been missing (needed for Darwin/x86). * dlls/ntdll/thread.c, include/wine/server_protocol.h, server/protocol.def, server/security.h, server/thread.c, server/token.c, server/trace.c: Robert Shearman Add support for impersonating a token. * dlls/ole32/compobj.c, dlls/ole32/ole16.c, dlls/ole32/ole2.c: Robert Shearman Convert some registry helper functions to use unicode versions of CLSID & registry functions (untested). * dlls/gdi/tests/bitmap.c: Lauri Tulmin - add some tests for {Get|Set}Pixel - skip tests that fail in win9x * programs/winefile/Cs.rc, programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Es.rc, programs/winefile/Fr.rc, programs/winefile/Hu.rc, programs/winefile/It.rc, programs/winefile/Nl.rc, programs/winefile/Pl.rc, programs/winefile/Pt.rc, programs/winefile/Ru.rc, programs/winefile/Si.rc, programs/winefile/Sv.rc, programs/winefile/Zh.rc, programs/winefile/resource.h, programs/winefile/winefile.h: Martin Fuchs - Sync with ReactOS repository, re-indent and remove tabs in resource scripts and header files. - Add #ifdef __WINE__ for the Wine About dialog. * dlls/user/menu.c, dlls/user/user32.spec, include/winuser.h: Hans Leidekker Stub implementation for GetMenuBarInfo. * dlls/advapi32/security.c, dlls/ntdll/sec.c, include/winternl.h: Robert Shearman Implement RtlImpersonateSelf, RevertToSelf and MapGenericMask. * dlls/winmm/mci.c, dlls/winmm/message16.c, dlls/winmm/winemm.h: Rein Klazes In MCI_(Un)MapMsg16To32W with wMsg == MCI_OPEN(_DRIVER) only do strdupAtoW on those parameters that are flagged to be a string. * libs/wine/mmap.c: Wolfgang Thaller Implement try_mmap_fixed for Darwin. * tools/winebuild/spec32.c, tools/winebuild/utils.c: Wolfgang Thaller Winebuild darwin/x86-specific fixes: - Assembler interprets .align as power-of-two - Add .weak_reference to output where gcc 3.3 swallows it * dlls/riched20/editor.c: Vitaly Lipatov Allow null pointers for EM_GETSEL message (as MSDN says). * dlls/shell32/shfldr_unixfs.c: Michael Jung Use stat's dev/inode to compare paths instead of comparing the strings. Defer building a folder's children SHITEMIDS until explicitly asked for. * dlls/ntdll/process.c: Paul Vriens Stub implementations for ProcessVmCounters, ProcessTimes and ProcessHandleCount. Changed ProcessIoCounters to match windows behavior. * dlls/kernel/change.c, dlls/kernel/computername.c, dlls/kernel/cpu.c, dlls/kernel/dosmem.c, dlls/kernel/except.c, dlls/kernel/fiber.c, dlls/kernel/file.c, dlls/kernel/file16.c, dlls/kernel/format_msg.c, dlls/kernel/global16.c, dlls/kernel/heap.c, dlls/kernel/kernel_main.c, dlls/kernel/lcformat.c, dlls/kernel/local16.c, dlls/kernel/locale.c, dlls/kernel/module.c, dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/oldconfig.c, dlls/kernel/path.c, dlls/kernel/process.c, dlls/kernel/profile.c, dlls/kernel/pthread.c, dlls/kernel/relay16.c, dlls/kernel/resource.c, dlls/kernel/snoop16.c, dlls/kernel/sync.c, dlls/kernel/syslevel.c, dlls/kernel/system.c, dlls/kernel/thunk.c, dlls/kernel/time.c, dlls/kernel/utthunk.c, dlls/kernel/virtual.c, dlls/kernel/volume.c, dlls/kernel/vxd.c, dlls/kernel/wowthunk.c: Mike McCormack - don't include winreg.h - include kernel_private.h to get declaration for convert_old_config() * server/fd.c, server/file.c, server/named_pipe.c, server/registry.c, server/serial.c, server/trace.c: Mike McCormack Remove unnecessary includes. * dlls/ntdll/ntdll.spec, dlls/ntdll/sec.c, include/winternl.h: James Hawkins Implement RtlCopySecurityDescriptor. * dlls/ole32/rpc.c: Robert Shearman Change the RPC code to use the unicode versions of the CLSID & registry functions. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/tests/.cvsignore, dlls/ole32/tests/Makefile.in, dlls/ole32/tests/compobj.c: Robert Shearman - Change some of the registry helper functions to use the unicode versions of the CLSID & registry functions. - Reindent CoGetClassObject and output an error message if the class isn't registered. - Add tests for the touched functions. * dlls/user/scroll.c: Rein Klazes In SCROLL_DrawScrollbar allocate the internal info if needed. * include/winnt.h: Marcus Meissner Added PF_NX_ENABLED definition. * include/wingdi.h: Dmitry Timoshkov Enable MAKEPOINTS usage in Wine. * dlls/riched20/writer.c: Krzysztof Foltman - Fix a warning caused by the TAB patch. - Initialize *pcb to a large value before calling the stream-out callback (to make applications that don't set *pcb at all happy). - Don't flush the output stream when error condition is set. * dlls/shell32/tests/shlfolder.c: Stefan Leichter Make shell32 tests loadable on NT4. * dlls/ntdll/file.c: Pierre d'Herbemont Move the (Mac OS X) IOKit headers to the top of the file to prevent a compilation failure. * dlls/winsock/socket.c: Troy Rollo Change WS_bind to accept an sa_family of 0 as "don't care". * tools/winapi/msvcmaker: Saulius Krasuckas Sync msvcmaker with make_ctests to generate valid code. * dlls/iccvid/iccvid.c, dlls/itss/storage.c, dlls/shell32/shlmenu.c, dlls/shell32/systray.c, dlls/shell32/tests/shlfileop.c, dlls/winmm/tests/timer.c: Mike McCormack Make functions static. 2005-06-17 Alexandre Julliard * tools/winapi/win16.api, tools/winapi/win32.api: Francois Gouget Update the win(16|32).api files to match the current sources. * dlls/msi/events.c, dlls/msi/msipriv.h, dlls/msi/preview.c: Aric Stewart Allow control events to return codes to halt the processing of event. Needed for the SetTargetPath Event. * dlls/crypt32/crypt32.spec, dlls/crypt32/encode.c, include/wincrypt.h: Francois Gouget Fix the CryptEncodeObjectEx() prototype. Fixes winapi_check warnings. * dlls/odbccp32/odbccp32.c, dlls/odbccp32/odbccp32.spec, include/odbcinst.h, tools/winapi/win32.api: Francois Gouget Fix the prototypes of SQLCreateDataSource*(), SQLGetPrivateProfileString*(). Fix the return type of SQLInstallerError*() and SQLPostInstallerError*(). Fix the SQLInstallDriver() and SQLInstallDriverEx() prototypes in the spec file. Add an odbccp32 section to win32.api for winapi_check. * dlls/msi/install.c: Aric Stewart A long overdue fix to MSI_SetTargetPath. This should fix an error with some installers that where unable to change the target path. * dlls/msi/action.c: Aric Stewart Flesh out the remaining keys in RegisterProduct. * programs/winecfg/appdefaults.c, programs/winecfg/driveui.c, programs/winecfg/winecfg.c: Updated paths of ShowDirSymlinks, ShowDotFiles and Version options. * dlls/ntdll/directory.c: Moved directory options to HKCU\Software\Wine. * dlls/ntdll/version.c: Moved version key to HKCU\Software\Wine. * dlls/user/tests/msg.c, dlls/x11drv/winpos.c: Vitaliy Margolen Deactivate active window in ShowWindow(,SW_HIDE). * dlls/ddraw/tests/dsurface.c, dlls/oleaut32/tests/olepicture.c, dlls/oleaut32/variant.c, dlls/qcap/v4l.c, dlls/shell32/tests/shlfolder.c: Francois Gouget Assorted spelling fixes. * dlls/dmcompos/dmcompos_main.c, dlls/dmime/dmime_main.c, dlls/dmstyle/dmstyle_main.c, dlls/dsound/dsound_main.c, dlls/olepro32/olepro32stubs.c, dlls/shell32/iconcache.c, dlls/winmm/mmsystem.c: Francois Gouget Fix winapi_check documentation warnings. * dlls/user/defwnd.c, dlls/user/win.c: Vitaliy Margolen ShowOwnedPopups and WM_SHOWWINDOW should handle non-WS_POPUP style windows as well. * dlls/msi/Makefile.in, dlls/msi/action.c, dlls/msi/action.h, dlls/msi/files.c: Aric Stewart Break out all the file related actions and helper functions into files.c * dlls/activeds/activeds_main.c, tools/winapi/win32.api: Francois Gouget Fix the FreeADsMem() prototype. Add an activeds section to win32.api for winapi_check. Fix a documentation warning. * dlls/advapi32/crypt.c, dlls/shell32/shfldr_unixfs.c: Francois Gouget Protect the unistd.h and sys/stat.h includes. Include config.h. Fixes warnings reported by winapi_check. * dlls/ntdll/tests/info.c: Francois Gouget Remove an unneeded variable in test_query_timeofday(). Rename a variable to 'is_nt' to make its meaning clearer. * dlls/quartz/videorenderer.c: Francois Gouget Remove unneeded NULL cast. * tools/winapi/config.pm: Francois Gouget Remove a check for obsolete directory and file special cases. * tools/winapi/winapi_check: Francois Gouget We should set the global $all_modules variable otherwise there's no point. * dlls/msi/dialog.c: Marcus Meissner Use a simpler expression for the "RichEdit20W" string to workaround compiler bug. * dlls/kernel/cpu.c: Marcus Meissner Specify enough buffer for id[] (20 chars are not enough). * dlls/advapi32/registry.c, dlls/kernel/computername.c, dlls/kernel/cpu.c, dlls/kernel/except.c, dlls/kernel/locale.c, dlls/kernel/oldconfig.c, dlls/kernel/path.c, dlls/kernel/process.c, dlls/kernel/relay16.c, dlls/kernel/volume.c, dlls/ntdll/cdrom.c, dlls/ntdll/critsection.c, dlls/ntdll/debugbuffer.c, dlls/ntdll/debugtools.c, dlls/ntdll/directory.c, dlls/ntdll/env.c, dlls/ntdll/error.c, dlls/ntdll/exception.c, dlls/ntdll/handletable.c, dlls/ntdll/heap.c, dlls/ntdll/large_int.c, dlls/ntdll/loader.c, dlls/ntdll/loadorder.c, dlls/ntdll/nt.c, dlls/ntdll/om.c, dlls/ntdll/process.c, dlls/ntdll/reg.c, dlls/ntdll/relay.c, dlls/ntdll/resource.c, dlls/ntdll/rtl.c, dlls/ntdll/rtlbitmap.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, dlls/ntdll/string.c, dlls/ntdll/time.c, dlls/ntdll/version.c, dlls/ntdll/virtual.c, dlls/ntdll/wcstring.c, dlls/winedos/ioports.c, dlls/winedos/ppdev.c, include/winternl.h: Mike McCormack Use HANDLE instead of HKEY in the NT API. * dlls/gdi/dib.c: Michael Kaufmann Initialize more structure members, including biSizeImage if bits == NULL and biBitCount != 0. * dlls/ntdll/thread.c: The TEB doesn't need execute permissions. * dlls/user/user32.spec: Dmitry Timoshkov DdeCreateStringHandleA/W takes a pointer to a const string, accordingly fix the spec entries. * dlls/shell32/shfldr_unixfs.c: Michael Jung Remove trailing backslash from DOS paths in GetDisplayNameOf. * programs/winefile/Cs.rc: Martin Fuchs Corrections of Czech translation by Denzil. * dlls/ntdll/om.c, include/winternl.h: Mike McCormack Declare Nt directory functions. * configure, configure.ac, loader/Makefile.in: Move the loader a bit higher in memory to leave more space for ntdll and kernel32. * dlls/oleaut32/tests/vartype.c, dlls/urlmon/tests/url.c, dlls/user/tests/win.c, dlls/winedos/soundblaster.c, dlls/winmm/tests/timer.c, dlls/winmm/tests/wave.c, dlls/winsock/tests/sock.c, dlls/wintab32/wintab32.c, dlls/x11drv/xim.c, programs/winefile/winefile.c: Stefan Huehner Remove some -Wstrict-prototypes warnings. * dlls/d3d8/d3d8_private.h, dlls/d3d8/directx.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/wined3d/device.c, include/wine/wined3d_interface.h, include/wine/wined3d_types.h: Oliver Stieber Change the way caps are sent between d3d9/d3d8 and wined3d to make it easier for wined3d to support additional versions of Direct3D. * dlls/shell32/iconcache.c: Marcus Meissner ExtractAssociatedIconA needs to allocate enough space to have EAIW fill in lpIconPathW. * dlls/msi/action.h: Marcus Meissner Remove cszbs from msi/action.h. * dlls/advapi32/security.c: James Hawkins Forward GetPrivate/KernelObjectSecurity to NtQuerySecurityObject. * include/windef.h: Dmitry Timoshkov Fixed POINTS definition for WORDS_BIGENDIAN case. * dlls/crypt32/encode.c: Juan Lang Add a few traces and comments. * include/wincrypt.h: Juan Lang Add more missing defs. 2005-06-16 Alexandre Julliard * dlls/ntdll/relay.c, tools/winebuild/import.c: Make import thunks position-independent to avoid text relocations. * dlls/wineps/truetype.c: Use the standard font path to look for TrueType fonts. * dlls/wined3d/directx.c, include/d3d9caps.h: Oliver Stieber Rename _D3DCAPS9.MaxPixelShaderValue to the correct _D3DCAPS9.PixelShader1xMaxValue. * dlls/msi/Makefile.in, dlls/msi/action.c, dlls/msi/install.c: Aric Stewart Break out all the top level apis into install.c. * programs/winecfg/driveui.c: Paul Vriens Hide <-> Show Advanced. * dlls/msi/dialog.c: Mike McCormack Added support for the MSI MaskEdit control. * dlls/d3d9/vertexdeclaration.c: Oliver Stieber Disable the creation of invalid vertex declarations in d3d9 preventing some applications from crashing. * dlls/d3d9/texture.c: Oliver Stieber Added relay tracing to texture. * include/d3d9types.h: Oliver Stieber Define some more flags * dlls/advapi32/tests/registry.c, server/registry.c: Robert Shearman - All versions of Windows ignore the access rights of the passed in parent handle to RegCreateKey(Ex). - Add a test that shows this. * dlls/msi/custom.c: Aric Stewart A simple cleanup to only track the temp file if we need to have it laying around because the action is going on asynchronously. Otherwise clean up the temp file as the action finishes. * programs/winecfg/winecfg.c: Use RegOpenKey instead of RegOpenKeyEx to avoid trouble with handle access rights. * programs/winecfg/main.c, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c: Fixed registry paths to edit the real config, and removed the startup warning message. * dlls/x11drv/x11drv_main.c: Moved configuration keys to HKCU\Software\Wine\X11 Driver. * dlls/ntdll/loadorder.c: Moved configuration keys to HKCU\Software\Wine\DllOverrides. * dlls/msi/upgrade.c: Aric Stewart Add UI messages to FindRelatedProducts. Reduce unneeded includes. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang - implement encoding and decoding of enumerated types, unsigned integers, octet strings, and bit strings - correct length handling - the usual tests * programs/wineboot/wineboot.c, programs/winecfg/drive.c, programs/winecfg/drivedetect.c, programs/winecfg/winecfg.h: Stefan Huehner Fix some -Wstrict-prototypes warnings. * tools/winebuild/relay.c: Generate proper PIC code for CALL32_CBClient. * dlls/msvcrt/cpp.c: Store vtables in the data segment to avoid text relocations. * dlls/comctl32/tests/treeview.c, dlls/comctl32/updown.c, dlls/mshtml/view.c, dlls/ntdll/tests/rtl.c, dlls/ntdll/tests/rtlbitmap.c, dlls/rsabase/tests/rsabase.c, dlls/rsaenh/tests/rsaenh.c: Stefan Huehner Fix some -Wstrict-prototypes warnings. * dlls/msi/Makefile.in, dlls/msi/action.c, dlls/msi/action.h, dlls/msi/classes.c: Aric Stewart Break out all the class registration actions into classes.c. This includes RegisterClassInfo, RegisterProgIds, RegisterExtensions and RegisterMIMETypes. * include/wincrypt.h: Juan Lang Define some more OID strings. * dlls/ntdll/relay.c, include/wine/port.h, tools/winebuild/relay.c: Store a relative pointer for registry entry points to avoid some text relocations. * dlls/ntdll/nt.c, dlls/ntdll/om.c, include/winternl.h: Mike McCormack Add/fix more NT native API declarations. * dlls/crypt32/tests/encode.c, dlls/ntdll/heap.c, dlls/oleaut32/tests/typelib.c, dlls/winmm/tests/mixer.c, dlls/winmm/winealsa/audio.c, libs/unicode/mbtowc.c, programs/msiexec/msiexec.c, programs/winetest/util.c: Mike McCormack Fix some declaration and write string warnings. * dlls/shell32/shelllink.c: Mike McCormack - forward AddRef, Release, QueryInterface and GetClassID to internal implementations - implement GetClassID properly * tools/winebuild/spec32.c: Output the exported names as a C string so that they end up in the correct section. * dlls/ntdll/relay.c: Use the DEFINE_REGS_ENTRYPOINT macro to define register functions instead of doing it by hand. * dlls/kernel/version.c: Removed the DOS version option, specifying the Windows version should be enough to achieve the same results. * dlls/shell32/Makefile.in, dlls/shell32/memorystream.c, dlls/shell32/shell32_main.h: Mike McCormack SHCreateStreamOnFileW is implemented in shlwapi, so we don't need another implementation in shell32. * dlls/shell32/shelllink.c, dlls/shlwapi/istream.c: Mike McCormack Switch IShellLink to use shlwapi.SHCreateStreamOnFileW. * include/winreg.h: Mike McCormack Define RegOpenUserClassesRoot. * include/winnt.h: Steven Edwards Removed duplicated ALPHA platform context definitions. Added ARM context definitions. * dlls/shell32/tests/shlfolder.c: Michael Jung Test GetAttributesOf on the MyComputer shellfolder. * dlls/ntdll/nt.c: Paul Vriens ProcessName should be without the path. * dlls/ntdll/tests/info.c: Paul Vriens W2K3 returns STATUS_INVALID_HANDLE instead of STATUS_ACCESS_VIOLATION. * dlls/msvideo/msvideo_main.c: Maarten Lankhorst - Implemented ICSeqCompressFrame{Start,,End} - Modified ICCompressorFree to properly free the initialized variables from ICSeqCompressFrameStart. * tools/wine.inf: Maarten Lankhorst Register qcap.dll on wine initialisation. 2005-06-15 Alexandre Julliard * dlls/comctl32/propsheet.c: Huw Davies For modal propsheets we should run our own message loop rather than use a modal dialogbox just like Windows does. This helps apps that subclass the propsheet's wndproc. * dlls/msi/Makefile.in, dlls/msi/action.c, dlls/msi/action.h, dlls/msi/helpers.c: Aric Stewart Break out all the helper functions into helpers.c. * Makefile.in, documentation/Makefile.in: Moved the API doc rules to the documentation makefile. * tools/bin2res.c, tools/sfnt2fnt.c, tools/widl/header.c, tools/widl/proxy.c, tools/widl/server.c: Stefan Huehner Fix some -Wmissing-declarations by making functions static. * dlls/shell32/tests/shlfolder.c: Michael Jung Added tests for SHGetPathFromIDList. * dlls/shell32/classes.c: Huw Davies Unquote the icon file path if it's quoted. * dlls/user/tests/win.c: Dmitry Timoshkov Add a test case for WM_[L|R|M|X]BUTTONDBLCLK generation behaviour. * dlls/psapi/psapi_main.c: Felix Nawothnig - Replaced server requests in EnumProcesses by native APIs - Fixed third parameter (should return the amount of used and not needed memory). * documentation/.cvsignore, documentation/Makefile.in, documentation/wine.man.in, loader/.cvsignore, loader/Makefile.in, loader/wine.man.in: Moved the wine manpage to the loader/ directory. * dlls/user/combo.c, include/winuser.h: Robert Shearman Implement GetComboBoxInfo and CB_GETCOMBOBOXINFO. * include/wine/test.h, tools/make_ctests.c: Avoid static forward declaration that doesn't work on MSVC. * dlls/shell32/shelllink.c: Mike McCormack Remove some uses of wine/unicode.h functions. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Add encode/decode support for multi-byte integers. * dlls/user/tests/class.c, dlls/user/tests/edit.c, dlls/user/tests/listbox.c, dlls/user/tests/sysparams.c, dlls/user/tests/win.c, dlls/rsaenh/rsaenh.c, dlls/rsaenh/tests/rsaenh.c: Mike McCormack Fix declarations. * dlls/ole32/tests/stg_prop.c, dlls/ole32/tests/storage32.c: Mike McCormack Fix declarations in the tests. * dlls/advapi32/security.c: Robert Shearman MSDN states that DuplicateToken should create a new token with the TOKEN_QUERY | TOKEN_IMPERSONATE rights, not 0. * dlls/shell32/pidl.c, dlls/shell32/pidl.h: Michael Jung Implement SHGetPathFromIDList based on GetDisplayNameOf. * dlls/ntdll/nt.c, dlls/ntdll/tests/info.c: Paul Vriens Only exact buffer size gives STATUS_SUCCESS. 2005-06-14 Alexandre Julliard * documentation/Makefile.in, documentation/wine.conf.man, documentation/wine.man.in: Get rid of the wine.conf man page. * server/process.c: Remove the process locks in process_killed, not process_destroy. * dlls/kernel/relay16.c, dlls/ntdll/relay.c, dlls/user/spy.c: Moved debugging config options to HKCU\Software\Wine\Debug. * dlls/shell32/tests/shlfolder.c: Michael Jung Replace magic error constant. * dlls/mapi32/tests/prop.c: Saulius Krasuckas Avoid accessing uninitialized data on WinME (based on an old patch by Ferenc Wagner). * dlls/user/nonclient.c, dlls/user/win.c: Stefan Huehner Remove include "cursoricon.h" from nonclient.c and win.c. * dlls/shell32/clipboard.c, dlls/shell32/shelllink.c, dlls/shell32/shlexec.c: Michael Jung Use SHGetPathFromIDList instead of SHELL32_GetPathFromIDList. * server/handle.c: Call the close_handle notification for all objects when releasing a handle table. * server/token.c, server/trace.c: Robert Shearman Fix size used to validate the sids in aces. * dlls/x11drv/init.c: Removed the check for the old Resolution option. * dlls/x11drv/palette.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c: Merged palette option processing into the main configuration code. * dlls/shell32/shfldr_desktop.c, dlls/shell32/tests/shlfolder.c: Michael Jung Return the correct attributes for the desktop folder. Corresponding tests. * server/token.c: Robert Shearman Add TokenType attribute to specify whether the token is a primary or impersonation token. * dlls/user/sysparams.c: Use a better location than HKCU\Wine for saving the temporary parameters. * dlls/x11drv/xfont.c: Avoid repeatedly opening the configuration registry key. * dlls/iphlpapi/iphlpapi_main.c, dlls/kernel/computername.c, dlls/netapi32/nbt.c: Moved network configuration parameters to HKCU\Software\Wine\Network. * dlls/shell32/tests/shlfolder.c: Michael Jung Added tests to compare SHGetPathFromIDList and GetDisplayNameOf. * dlls/shlwapi/tests/path.c, dlls/shlwapi/tests/string.c: Mike McCormack Fixes for -Wmissing-declaration and -Wwrite-string warnings. * dlls/dinput/joystick_linux.c: Moved config parameters to HKCU\Software\Wine\DirectInput. * dlls/dsound/dsound_main.c: Moved config parameters to HKCU\Software\Wine\DirectSound. * dlls/gdi/freetype.c: Moved all font config parameters to HKCU\Software\Wine\Fonts. Replaced the FontDirs key enumeration by a simple Path value. * dlls/ntdll/cdrom.c: Ivan Leo Puoti Reimplement IOCTL_SCSI_PASS_THROUGH_DIRECT and IOCTL_SCSI_PASS_THROUGH on top of the linux scsi driver. * dlls/oleaut32/tests/vartest.c: Saulius Krasuckas Change (long long) to (LONGLONG) to compile with MSVC. * dlls/ntdll/process.c, dlls/ntdll/tests/info.c: Paul Vriens Return STATUS_INVALID_INFO_CLASS for non-implemented classes. Return STATUS_ACCESS_VIOLATION if no buffer given. Added tests for ProcessBasicInformation. * dlls/user/edit.c, dlls/user/tests/edit.c: Lauri Tulmin - EM_CHARFROMPOS should return the closest char (clicking on the first half of a character should return current char and clicking on the second half should return next char) - EM_POSFROMCHAR should return -1 if character index is greater or equal to text length * dlls/gdi/gdiobj.c: Removed the Tweak.Fonts configuration hack. * dlls/x11drv/bitblt.c: Get rid of the PerfectGraphics option, that's not really useful. * dlls/winedos/dosconf.c: Hardcode the location of config.sys, no need for a config parameter for that. * include/winbase.h: Mike McCormack Add a couple of missing functions. * dlls/ntdll/nt.c, include/winternl.h: Mike McCormack Declare port functions and fix prototypes. * dlls/kernel/computername.c, dlls/kernel/console.c, dlls/kernel/environ.c, dlls/kernel/kernel_main.c, dlls/kernel/kernel_private.h, dlls/kernel/lcformat.c, dlls/kernel/process.c, dlls/kernel/profile.c, dlls/kernel/thread.c, dlls/kernel/version.c, dlls/kernel/win87em.c: Mike McCormack Fix warnings from -Wmissing-declarations. * server/file.h, server/handle.h, server/process.c: Mike McCormack Call remove_process_locks when a process ends, fix declarations. * dlls/kernel/tests/profile.c, dlls/kernel/tests/thread.c, dlls/kernel/tests/time.c, dlls/kernel/tests/timer.c: Mike McCormack Fix declaration warnings in the test cases. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/varformat.c: Michael Stefaniuc - Fix VarFormat for formats that mix '0' and '#' in the whole number part. - Fix VarFormat for negative exponent formats. - Add tests for the above + a couple of "todo_wine"'s. * dlls/shell32/shelllink.c: Mike McCormack Add the IContextMenu interface to the ShellLink object. * dlls/crypt32/crypt32.spec, dlls/crypt32/main.c, dlls/crypt32/tests/.cvsignore, dlls/crypt32/tests/Makefile.in, dlls/crypt32/tests/main.c: Juan Lang Add CertAlgIdToOID and CertOIDToAlgId, with tests. * dlls/dmloader/loaderstream.c: Alex Villacís Lasso Avoid one more access to pcbRead. 2005-06-13 Alexandre Julliard * dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/tests/http.c, dlls/wininet/urlcache.c: Mike McCormack Fix some warnings. * dlls/dmloader/loaderstream.c: Alex Villacís Lasso Prevent crash on IDirectMusicLoaderResourceStream_IStream_Read. * dlls/msi/msi.c: Aric Stewart A "1" is returned not a 1 for AssignmentType. Also as a bit more to the FIXME message. * dlls/shell32/shelllink.c: Mike McCormack Implement ShellLink's IShellExtInit::Initialize() method. * dlls/d3d8/d3d8_main.c, dlls/dinput/joystick_linux.c, dlls/dsound/dsound_main.c, dlls/gdi/driver.c, dlls/gdi/freetype.c, dlls/gdi/gdiobj.c, dlls/gdi/printdrv.c, dlls/iphlpapi/iphlpapi_main.c, dlls/kernel/computername.c, dlls/kernel/oldconfig.c, dlls/kernel/relay16.c, dlls/kernel/version.c, dlls/kernel/volume.c, dlls/mpr/pwcache.c, dlls/netapi32/nbt.c, dlls/ntdll/directory.c, dlls/ntdll/loadorder.c, dlls/ntdll/relay.c, dlls/ntdll/version.c, dlls/rsaenh/rsaenh.c, dlls/shdocvw/shdocvw_main.c, dlls/user/spy.c, dlls/user/sysparams.c, dlls/user/user_main.c, dlls/wined3d/wined3d_main.c, dlls/winedos/dosconf.c, dlls/winedos/ioports.c, dlls/winedos/ppdev.c, dlls/wineps/init.c, dlls/wineps/truetype.c, dlls/wineps/type1afm.c, dlls/winmm/lolvldrv.c, dlls/winmm/winealsa/audio.c, dlls/winspool/info.c, dlls/x11drv/bitblt.c, dlls/x11drv/init.c, dlls/x11drv/palette.c, dlls/x11drv/x11drv_main.c, dlls/x11drv/xfont.c, programs/taskmgr/taskmgr.c, programs/winebrowser/main.c, programs/winedbg/winedbg.c, programs/winemenubuilder/winemenubuilder.c, programs/winemine/main.c: Added magic comments to all Wine-specific registry accesses to make them easier to grep. * programs/winecfg/appdefaults.c, programs/winecfg/audio.c, programs/winecfg/driveui.c, programs/winecfg/libraries.c, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c: Changed registry access functions to use more meaningful names. * dlls/winedos/int11.c: Removed references to obsolete configuration entries. * dlls/user/cursoricon.c: Huw Davies When loading a bitmap we should stretch the image to the requested size. * dlls/comctl32/tests/.cvsignore, dlls/comctl32/tests/Makefile.in, dlls/comctl32/tests/treeview.c: Krzysztof Foltman Test when TVN_SELCHANGING and TVN_SELCHANGED are really sent. * dlls/ddraw/tests/d3d.c, dlls/ddraw/tests/ddrawmodes.c, dlls/ddraw/tests/dsurface.c, dlls/kernel/tests/file.c, dlls/ole32/tests/propvariant.c, dlls/ole32/tests/stg_prop.c, dlls/oleaut32/tests/vartest.c, dlls/oleaut32/tests/vartype.c, dlls/urlmon/tests/url.c, dlls/winmm/tests/mixer.c, include/wine/test.h: Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they can be used in all the test. * dlls/shell32/shelllink.c: Mike McCormack - add the IShellExtInit interface to the ShellLink object - use inline functions rather than macros to resolve the implementation pointer from an interface pointer * configure, configure.ac, dlls/Makefile.in, dlls/activeds/.cvsignore, dlls/activeds/Makefile.in, dlls/activeds/activeds.spec, dlls/activeds/activeds_main.c: Detlef Riekenberg Added activeds.dll with some stubs to get the native printui.dll to load. * programs/rpcss/epmap_server.c, programs/rpcss/np_server.c, programs/winefile/license.c, programs/winefile/splitpath.c: Mike McCormack More warning fixes. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang - encode/decode X509_NAMEs for simple string encodings, with tests - more tests and some fixes to other types * dlls/comctl32/treeview.c: Krzysztof Foltman Don't send TVN_SELCHANGING nor TVN_SELCHANGED if the same item is selected again. * programs/winefile/winefile.c: Martin Fuchs Remove duplicate toolbar button. * dlls/quartz/Makefile.in, dlls/quartz/videorenderer.c: Christian Costa Added window support to the video renderer: - replaced ddraw code by window code. - implemented IBasicVideo and IVideoWindow interfaces. * dlls/ntdll/nt.c, dlls/ntdll/tests/info.c, include/winternl.h: Paul Vriens Fixed size of our SYSTEM_TIMEOFDAY_INFORMATION struct. Fixed return codes and ReturnLength/buffer for SystemTimeOfDayInformation. Added tests for SystemTimeOfDayInformation. * dlls/ntdll/sec.c: James Hawkins Implement RtlAbsoluteToSelfRelativeSD. * programs/winefile/winefile.c: Martin Fuchs - use const parameter in find_entry_shell() - rename ExecuteDialogWndProg() to ExecuteDialogDlgProc() - remove old comment - add missing call to CtxMenu_reset() * include/aclapi.h, include/ntsecapi.h, include/winbase.h, include/winsvc.h, include/winuser.h: Mike McCormack Declare some missing functions. * dlls/ntdll/tests/rtl.c, dlls/ntdll/tests/rtlstr.c: Mike McCormack Fix warnings in tests, remove pointless comments. * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/sync.c, include/winternl.h: Mike McCormack Add and fix function prototypes. * dlls/ole32/tests/propvariant.c: Robert Shearman Fix PropVariant tests on Windows 2000 and above. * dlls/winmm/winealsa/audio.c: Robert Shearman Remove needless call to Sleep. * dlls/ole32/regsvr.c: Robert Shearman - Add registry entries for local-only OLE interfaces. - Change IUnknown to local interface. * dlls/riched20/editor.c: Robert Shearman Richedit classes should be global. * dlls/iphlpapi/ifenum.c: Robert Shearman Fix size passed to lstrcpynA function - sizeof(string) == 4 not 16 as needed. * include/wingdi.h: Mike McCormack Correct GdiIsPlayMetafileDC prototype. * dlls/advapi32/service.c, dlls/advapi32/tests/crypt_md4.c, dlls/advapi32/tests/crypt_md5.c: Mike McCormack Silence some -Wmissing-declarations warnings. * include/wincrypt.h: Juan Lang Add/correct a few more definitions. * include/icm.h: Hans Leidekker Declare missing functions. * dlls/oleaut32/typelib.c: Marcus Meissner Corrected string length method in ITypeLib::IsName() and FindName() for LPOLESTR type. 2005-06-12 Alexandre Julliard * configure, configure.ac: Adrian Harvey Added sys/types.h to configure check for videodev.h. * dlls/riched20/writer.c: Krzysztof Foltman Emit \tx for user-defined TABs. * programs/winefile/winefile.c: Martin Fuchs Remove unnecessary paint code. * dlls/opengl32/wgl_ext.c: Lionel Ulmer Remove some FIXMEs and replace them with TRACEs. * programs/winefile/winefile.h: Martin Fuchs Move __WINE__ ifdef directive. * dlls/ntdll/sec.c: James Hawkins Remove stub status. Check for correct revision value. * dlls/ntdll/ntdll.spec, include/winternl.h: James Hawkins Add RtlAnsiCharToUnicodeChar definition. Correct stub status of RtlAnsiCharToUnicodeChar. * dlls/setupapi/queue.c, dlls/setupapi/setupapi.spec: Matthew Davison Stub out the error dialog functions. Modify the default callbacks to call these for Delete and Rename errors. Modify the default callbacks to ignore file missing errors when deleting files. * dlls/ntdll/ntdll.spec, dlls/ntdll/sec.c, include/winternl.h: Eric Kohl Implement RtlAdjustPrivilege. * programs/winefile/winefile.c: Martin Fuchs Fix file size in property dialog by using _stprintf() instead of wsprintf(). * dlls/riched20/editor.c, dlls/riched20/paint.c, dlls/riched20/style.c: Krzysztof Foltman - added support for \ulnone (turning underline off) - support for basic subscript and superscript - untested support for text offset * dlls/ddraw/d3d_private.h, dlls/ddraw/d3d_utils.c, dlls/ddraw/device_opengl.c, dlls/ddraw/gl_api.h, dlls/ddraw/gl_private.h, dlls/ddraw/opengl_private.h, dlls/ddraw/vertexbuffer.c: Lionel Ulmer Support all possible texture coordinates sizes. * dlls/oleaut32/usrmarshal.c: Robert Shearman - Don't print out cryptic message if IDispatch or IUnknown object is just NULL. - puArgErr is a ref pointer so we have to provide a dummy pointer if it is NULL. - Fail gracefully and notify caller if we ran out of memoy or if variant copying failed. * dlls/advapi32/tests/registry.c: Robert Shearman Fix registry test for Win9x by skipping a section that fails, but succeeds on NT. * dlls/shdocvw/events.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/shdocvw.h: Marcus Meissner Move static variables out of header file, also the local interface implementations. * dlls/dsound/tests/capture.c: Robert Reif Make dsound tests loadable on NT4. * dlls/x11drv/x11drv.h: Glenn Wurster Add declaration of X11DRV_GetDIBColorTable to avoid compile warning. * dlls/kernel/path.c: Felix Nawothnig Add a workaround for Win9x apps which pass the parameters for GetCurrentDirectoryA in wrong order. 2005-06-10 Alexandre Julliard * tools/winebuild/spec32.c: Pierre d'Herbemont Use .mod_*_func sections on Mac OS X/i386 instead of the elf constructor/destructor. * tools/winebuild/spec32.c: Reuse output_dll_init for the constructor of debug files. * server/change.c, server/fd.c, server/mailslot.c, server/named_pipe.c, server/registry.c, server/thread.c, server/token.c: Robert Shearman Change code style of form "if( x )" to "if (x)" for consistency. * include/setupapi.h: Matthew Davison Added some definitions to setupapi. * dlls/ntdll/nt.c, dlls/ntdll/tests/info.c: Paul Vriens Fixed ReturnLength of SystemCpuInformation. Added first test for SystemCpuInformation. * dlls/msi/msi.spec, dlls/msi/msiquery.c, include/msiquery.h: Mike McCormack Create a stub implementation for MsiViewGetError. * dlls/kernel/sync.c, dlls/ntdll/reg.c, dlls/ntdll/sync.c, include/winternl.h: Mike McCormack Dependency fixes for winternl.h. * programs/regedit/listview.c, programs/taskmgr/perfpage.c, programs/winebrowser/main.c, programs/winefile/winefile.c, programs/winefile/winefile.h: Mike McCormack Fix more warnings. * dlls/shell32/shfldr_unixfs.c: Michael Jung Set the FILESYSANCESTOR and FILESYSTEM flags correctly in GetAttributesOf. * dlls/oleaut32/typelib.c: Robert Shearman Clear out parameters to stop bad pointers lying around in memory if the function doesn't set them to anything. * dlls/x11drv/palette.c: Glenn Wurster Adds support for the DIBINDEX type of COLORREF. * dlls/ntdll/rtlstr.c: James Hawkins Implement RtlAnsiCharToUnicodeChar. * include/wininet.h: Mike McCormack Include missing AW macro. * include/msiquery.h: Mike McCormack Declare the MSIDBERROR enumeration. * dlls/urlmon/urlmon_main.c, include/urlmon.idl: Mike McCormack Declare functions and correct prototypes. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Cryp{En|De}codeObjectEx should return success if the input buffer is NULL, some MS sample programs depend on that. Fix functions and tests. 2005-06-09 Alexandre Julliard * dlls/user/edit.c: Lauri Tulmin Bottom edge of the update region should be relative to the top edge of the format rect. * dlls/ddraw/tests/d3d.c: Stefan Leichter Make ddraw tests loadable on NT4. * server/registry.c: Store the process along with the key handle in notifications. * dlls/ntdll/nt.c: Paul Vriens Reduce our buffer by 1 SYSTEM_THREAD_INFORMATION per process. Minimize some calculations. * dlls/user/edit.c, dlls/user/tests/edit.c: Lauri Tulmin Add more tests for text placement in single and multiline edit controls. Some of the tests are marked as todo. * dlls/msi/action.c: Aric Stewart Extending upon Mike McCormack's cleanup to use MSI_RecordGetString. * dlls/msi/action.c: Aric Stewart Register the Product Version also. Also help plug some memory leaks pointed out by Mike McCormack. * dlls/user/tests/winstation.c, server/atom.c, server/change.c, server/console.c, server/debugger.c, server/event.c, server/fd.c, server/file.c, server/handle.c, server/hook.c, server/mailslot.c, server/mapping.c, server/mutex.c, server/named_pipe.c, server/object.c, server/object.h, server/process.c, server/queue.c, server/registry.c, server/request.c, server/semaphore.c, server/serial.c, server/signal.c, server/snapshot.c, server/sock.c, server/thread.c, server/timer.c, server/token.c, server/winstation.c: Added a close_handle method to the object operations, and use it to implement registry notifications and the strange behavior of CloseHandle on winstation/desktop handles. * dlls/msi/action.c: Aric Stewart Avoid a loop where a parent's parent refers to itself as its parent. * dlls/user/tests/winstation.c, server/handle.c, server/process.c, server/process.h, server/thread.c, server/user.h, server/winstation.c: The desktop of a new thread should be set from the process initial desktop, not from the parent thread. Fixed a couple of bugs in the desktop name handling. * include/wininet.h: Mike McCormack Declare some missing functions. * dlls/shell32/tests/shlfolder.c: Saulius Krasuckas Get current directory during tests on win9x too. * dlls/shell32/shelllink.c: Mike McCormack Add the IShellLinkDataList interface to the ShellLink object. * dlls/msi/Makefile.in, dlls/msi/action.c, dlls/msi/action.h, dlls/msi/upgrade.c, include/msidefs.h: Aric Stewart Added module upgrade.c and implemented FindRelatedProducts. * tools/winapi/config.pm, tools/winapi/msvcmaker, tools/winapi/winapi_cleanup: Fixed a number of references to removed directories. * configure, configure.ac, dlls/user/Makefile.in, dlls/user/dde_client.c, dlls/user/dde_misc.c, dlls/user/dde_private.h, dlls/user/dde_server.c, dlls/user/ddeml16.c: Moved dde files to the main directory and got rid of the dlls/user/dde subdirectory. * DEVELOPERS-HINTS, configure, configure.ac, dlls/user/Makefile.in, dlls/user/misc.c: Moved monitor functions to dlls/user/misc.c and finally got rid of the windows/ directory. * dlls/ntdll/tests/info.c: Paul Vriens Added test for SystemProcessInformation. * dlls/advapi32/tests/security.c: Robert Shearman Added test for AccessCheck. * dlls/comctl32/comctl32.h, dlls/comctl32/commctrl.c, dlls/comctl32/flatsb.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/propsheet.c, dlls/comctl32/tests/dpa.c, dlls/comctl32/tests/tab.c, dlls/comctl32/tests/updown.c: Mike McCormack Warning fixes for -Wmissing-declarations and -Wwrite-strings. * dlls/user/Makefile.in, dlls/user/driver16.c: Moved windows/driver.c to dlls/user/driver16.c. * dlls/winmm/winealsa/audio.c: Jeremy White Combine WINE_WAVEOUT and WINE_WAVEIN into a single structure. * include/objbase.h, include/ole2.h: Mike McCormack Added some function declarations. * dlls/advapi32/tests/crypt.c, dlls/advapi32/tests/security.c: Mike McCormack Fix some warnings. * tools/winedump/lnk.c: Mike McCormack Dump out the msi information in more detail. * dlls/ole32/moniker.h: Marcus Meissner Removed CLSID_CompositeMoniker (conflicting with static definition). * server/token.c: Robert Shearman - Avoid evil signed bitfields. - Fix bug with using wrong revision in security_sid_alloc. - Add all builtin groups present in the Administrator token on Windows to the default token. * dlls/wined3d/wined3d_private.h: Marcus Meissner Fixed definition/declaration mismatches of newly static vtables. * server/named_pipe.c: Robert Shearman Fix a regression in the performance of named pipes by only making the fd non-blocking when overlapped I/O is requested for the fd (reported by Ivan Leo Puoti). * dlls/dbghelp/dwarf.c, dlls/dbghelp/storage.c: Mike McCormack Fix warnings exposed by -Wmissing-declarations and -Wwrite-strings. * dlls/shell32/shv_item_cmenu.c: Mike McCormack Add a cast to get rid of a warning. * dlls/user/tests/winstation.c: Dmitry Timoshkov Added a couple of CloseHandle calls. * dlls/ole32/marshal.c, dlls/ole32/stubmanager.c: Robert Shearman IUnknown isn't a remotable interface so the stub manager shouldn't need a marshaller for it. * dlls/ntdll/file.c: Robert Shearman - Don't free the fileio object because it will be freed anyway in fileio_terminate on error. - Print out statuses in hex, rather than decimal. * tools/widl/typelib.c, tools/widl/write_msft.c: Robert Shearman Add more struct types for TLB generation. * dlls/advapi32/security.c: Mike McCormack Make ADVAPI_IsLocalComputer static and simplify it a little. * dlls/advapi32/advapi.c: Mike McCormack Include appmgmt.h where its functions are used. * dlls/dmcompos/chordmap.c, dlls/dmcompos/chordmaptrack.c, dlls/dmcompos/composer.c, dlls/dmcompos/signposttrack.c: Mike McCormack Make interface methods static. * server/winstation.c: Mike McCormack Include user.h in the new winstation.c to avoid a warning from -Wmissing-declarations. * dlls/oleaut32/tmarshal.c: Robert Shearman - The typelib marshaler should only free the memory it actually allocated. - Add special cases for two lesser used types that aren't sizeof(DWORD) sized. * dlls/shell32/shfldr_unixfs.c: Michael Jung Use shell icon cache instead of an own IExtractIcon implementation. * dlls/kernel/tests/drive.c: Uwe Bonnes Don't try to access floppy if it's not mounted. * dlls/comctl32/ipaddress.c: Alex Zorach Fixed SetFocus behavior. 2005-06-08 Alexandre Julliard * dlls/msi/action.c: Aric Stewart Set the Preselected property if appropriate (relevant to MigrateFeatureStates when implemented). * dlls/msi/action.c: Aric Stewart Write out Product Language and Product Icon to the registry. * dlls/ntdll/file.c, include/wine/server_protocol.h, server/named_pipe.c, server/protocol.def, server/trace.c: Robert Shearman Implement overlapped I/O with named pipes. * dlls/msi/action.c: Aric Stewart Write out UpgradeCodes to the registry to allow for future upgrades. * dlls/user/Makefile.in, dlls/user/misc.c, dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/winstation.c, dlls/user/user32.spec, dlls/user/winstation.c, include/wine/server_protocol.h, include/winuser.h, server/Makefile.in, server/object.c, server/object.h, server/process.c, server/process.h, server/protocol.def, server/request.h, server/thread.c, server/thread.h, server/trace.c, server/user.h, server/winstation.c: Beginnings of support for window stations and desktops. * dlls/msi/msi.c: Aric Stewart Add Language to the values we can query with MsiGetProductInfo. * dlls/wined3d/device.c, dlls/wined3d/directx.c: Felix Nawothnig - Output a FIXME when a surface with dimensions not being a power of two is requested. - Fail gracefully when IWineD3DImpl_CreateDevice fails to create the front- or backbuffer. * dlls/user/sysparams.c: Huw Davies Read the entire logfont from the registry if it exists. * dlls/msi/action.c: Mike McCormack Use MSI_RecordGetString in more actions. * dlls/oleaut32/varformat.c: Michael Stefaniuc - implement handling of exponents (e+,e-,E+,E-) when parsing number formats - fix a small cut'n'paste error in the comments * dlls/rpcrt4/rpc_server.c: Robert Shearman Fix an RPC server startup race introduced by me. * dlls/dsound/dsound_main.c: Michael Jung Fixed confusing indentation. * dlls/oleaut32/typelib.c: Marcus Meissner Fixed IType::Invoke in regards to handling propertyget variables longer than 4 bytes (like VT_DATE). * dlls/rpcrt4/rpc_binding.c: Robert Shearman - Don't pass the PROFILE_SERVER flag in to CreateNamedPipe as it is bogus. - Call FlushFileBuffers to make sure the other end of the pipe doesn't get cut off prematurely. - Don't call CancelIo as we should never have async I/O pending. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Implement asn.1 encoding/decoding of times, with tests. 2005-06-07 Alexandre Julliard * dlls/ddraw/tests/.cvsignore, dlls/ddraw/tests/Makefile.in, dlls/ddraw/tests/d3d.c: Antoine Chavasse Test cases for the direct3d7 light api. * dlls/ddraw/d3d_private.h, dlls/ddraw/device_main.c, dlls/ddraw/device_opengl.c: Antoine Chavasse Rewrote the light management API to allow for an unlimited amount of lights to be set, and only a subset of them to be enabled. * dlls/msi/action.c: Mike McCormack Use MSI_RecordGetString where possible. * dlls/shell32/debughlp.c, dlls/shell32/shell32_main.h, dlls/shell32/shfldr_fs.c, dlls/shell32/shlview.c, dlls/shell32/shv_item_cmenu.c, dlls/shell32/tests/shlfolder.c: Mike McCormack Warning fixes for -Wmissing-declarations and -Wwrite-strings. * dlls/msi/dialog.c: Mike McCormack Use a richedit control for license text. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/msipriv.h: Mike McCormack Fixes for -Wmissing-declarations and -Wwrite-strings warnings. * dlls/quartz/avidec.c, dlls/quartz/parser.c, dlls/quartz/videorenderer.c: Christian Costa Don't use fullscreen mode in video renderer for now and improve error handling a bit. Improved a bit Run/Pause/Stop methods of parser template. * dlls/user/tests/msg.c: Dmitry Timoshkov Add a test for window state when a window receives WM_ENABLE message. * dlls/user/win.c: Still send a message in SetWindowText for the inter-process case even though it's not fully correct (reported by Jason Campbell). * server/fd.c, server/file.c, server/file.h: Robert Shearman - Add a default asynchronous I/O implementation. - Make file objects use it. * dlls/setupapi/devinst.c, include/setupapi.h: Mike McCormack Declare some functions. * dlls/rpcrt4/ndr_ole.c: Robert Shearman Make NdrInterfacePointer* more reliable. * programs/winefile/Cs.rc, programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Es.rc, programs/winefile/Fr.rc, programs/winefile/Hu.rc, programs/winefile/It.rc, programs/winefile/Nl.rc, programs/winefile/Pl.rc, programs/winefile/Pt.rc, programs/winefile/Ru.rc, programs/winefile/Si.rc, programs/winefile/Sv.rc, programs/winefile/Zh.rc: Martin Fuchs Synchronize resource scripts IDs of the different languages and adjust INFO entries. * dlls/cabinet/cabextract.c, dlls/cabinet/cabinet_main.c: Thomas Weidenmueller Removed local variables only used in TRACE statements. * include/aclapi.h: Mike McCormack Define GetExplicitEntriesFromAcl. * include/winbase.h: Mike McCormack Added some security related functions to winbase.h. * include/Makefile.in, include/appmgmt.h: Mike McCormack Added the appmgmt.h header. * dlls/msi/dialog.c: Mike McCormack Fix radio button groups. Don't add the WS_GROUP style to every window. * include/olectl.h: Mike McCormack Declare OleLoadPictureEx. * dlls/shell32/shlfolder.c: Juan Lang Const-ify a mask. * dlls/commdlg/filedlg.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filedlgbrowser.h: Juan Lang Fix return code abuse (don't use HRESULT when it isn't meant), make functions static where possible, remove unused prototypes. * dlls/msi/msipriv.h, dlls/msi/registry.c: Aric Stewart Add functions to add the User UpgradeCodes. * dlls/msi/msi.c: Aric Stewart Correct a crash if the length buffer is NULL. * dlls/ntdll/nt.c: Paul Vriens Fixed typo. Zero the thread information before use. * include/winternl.h: Paul Vriens Add another (unknown) member to SYSTEM_THREAD_INFORMATION. 2005-06-06 Alexandre Julliard * dlls/kernel/console.c, dlls/kernel/environ.c, dlls/kernel/except.c, dlls/kernel/fiber.c, dlls/kernel/heap.c, dlls/kernel/process.c, dlls/ntdll/error.c, dlls/ntdll/exception.c, dlls/ntdll/heap.c, dlls/ntdll/resource.c, dlls/ntdll/virtual.c, dlls/winedos/relay.c: Removed some unnecessary inclusions of thread.h * dlls/ntdll/debugtools.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/server.c, dlls/ntdll/signal_i386.c, dlls/ntdll/sync.c, dlls/ntdll/thread.c, include/thread.h, include/winternl.h: Moved the ntdll per-thread data out of the TEB into a private structure stored in TEB.SystemReserved2. * dlls/kernel/change.c, dlls/kernel/global16.c, dlls/kernel/kernel_main.c, dlls/kernel/kernel_private.h, dlls/kernel/local16.c, dlls/kernel/locale.c, dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/pthread.c, dlls/kernel/relay16.c, dlls/kernel/snoop16.c, dlls/kernel/syslevel.c, dlls/kernel/system.c, dlls/kernel/task.c, dlls/kernel/vxd.c: Moved the kernel per-thread data out of the TEB into a private structure stored in TEB.SystemReserved1. * dlls/kernel/thunk.c: Fetch the stack selector to use from the previous stackframe instead of the TEB. * dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/errorinfo.c, dlls/ole32/filemoniker.c, dlls/ole32/ftmarshal.c, dlls/ole32/git.c, dlls/ole32/hglobalstream.c, dlls/ole32/ifs.c, dlls/ole32/itemmoniker.c, dlls/ole32/memlockbytes.c, dlls/ole32/memlockbytes16.c, dlls/ole32/moniker.c, dlls/ole32/ole16.c, dlls/ole32/oleobj.c, dlls/ole32/oleproxy.c, dlls/ole32/regsvr.c, dlls/ole32/stg_prop.c, dlls/ole32/stg_stream.c, dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/ole32/storage32.h, dlls/ole32/tests/marshal.c, dlls/oleaut32/connpt.c, dlls/oleaut32/dispatch.c, dlls/oleaut32/oaidl_p.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/recinfo.c, dlls/oleaut32/tests/safearray.c, dlls/oleaut32/tests/vartype.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c, dlls/olecli/olecli16.c, dlls/olecli/olecli_main.c, dlls/olesvr/olesvr_main.c, dlls/qcap/qcap_main.c, dlls/qcap/vfwcapture.c, dlls/quartz/enummoniker.c, dlls/quartz/filesource.c, dlls/quartz/filtergraph.c, dlls/quartz/filtermapper.c, dlls/quartz/main.c, dlls/quartz/memallocator.c, dlls/quartz/parser.c, dlls/quartz/pin.c, dlls/quartz/systemclock.c, dlls/quartz/videorenderer.c, dlls/riched20/richole.c, dlls/rpcrt4/cproxy.c, dlls/rpcrt4/cpsf.c, dlls/rpcrt4/ndr_ole.c, dlls/shdocvw/classinfo.c, dlls/shdocvw/events.c, dlls/shdocvw/factory.c, dlls/shdocvw/misc.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/persist.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/shdocvw_main.c, dlls/shdocvw/webbrowser.c, dlls/shell32/autocomplete.c, dlls/shell32/cpanelfolder.c, dlls/shell32/dataobject.c, dlls/shell32/dragdrophelper.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlfsbind.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shell32/tests/shellpath.c, dlls/shlwapi/assoc.c, dlls/shlwapi/istream.c, dlls/shlwapi/regstream.c, dlls/urlmon/sec_mgr.c, dlls/urlmon/tests/url.c, dlls/urlmon/umon.c, dlls/urlmon/urlmon_main.c, dlls/wined3d/basetexture.c, dlls/wined3d/cubetexture.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/indexbuffer.c, dlls/wined3d/query.c, dlls/wined3d/resource.c, dlls/wined3d/stateblock.c, dlls/wined3d/surface.c, dlls/wined3d/texture.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/vertexdeclaration.c, dlls/wined3d/vertexshader.c, dlls/wined3d/volume.c, dlls/wined3d/volumetexture.c, dlls/wined3d/wined3d_private.h, dlls/winmm/winealsa/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/wineoss/dscapture.c, dlls/winmm/wineoss/dsrender.c: Dmitry Timoshkov Make remaining OLE interface vtables const. * dlls/shell32/shfldr_unixfs.c: Michael Jung Allow for unixfs folders to be rooted at desktop level. Moved dos->unix path conversion into canonicalize_path. Fail in BindToObject, if called with empty pidl. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c: Moved all assembly code to the end of the generated C files to avoid conflicting with the compiler over section changes. * configure, configure.ac, dlls/ddraw/Makefile.in, dlls/ddraw/d3d_utils.c, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/ddraw_main.c, dlls/ddraw/device_main.c, dlls/ddraw/device_opengl.c, dlls/ddraw/direct3d_main.c, dlls/ddraw/direct3d_opengl.c, dlls/ddraw/executebuffer.c, dlls/ddraw/light.c, dlls/ddraw/main.c, dlls/ddraw/material.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h, dlls/ddraw/opengl_private.h, dlls/ddraw/opengl_utils.c, dlls/ddraw/surface_main.c, dlls/ddraw/texture.c, dlls/ddraw/vertexbuffer.c, dlls/ddraw/viewport.c: Christian Costa Moved d3ddevice and direct3d objects files to ddraw root dir. Renamed all remaining files. * dlls/ntdll/nt.c, include/winternl.h: Felix Nawothnig Make SYSTEM_THREAD_INFORMATION.pszProcessName a UNICODE_STRING. * dlls/msi/dialog.c, dlls/msi/events.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack Use standard lists in the event subscription code. * dlls/msi/action.c: Aric Stewart Don't get caught in loops on parent progids. * include/wincrypt.h: Mike McCormack Define some Cert* functions. * dlls/ntdll/version.c: Mike Hearn Delete version sniffing logic. * dlls/shell32/brsfolder.c, dlls/shell32/shlfolder.c, dlls/shell32/tests/shlfolder.c: Michael Jung Let BindToObject fail, if called with empty relative pidl. Tests to show that it should do so. Fix SHBrowseForFolder to not pass an empty pidl to BindToObject. * dlls/oleaut32/olepicture.c, dlls/oleaut32/tests/.cvsignore, dlls/oleaut32/tests/Makefile.in, dlls/oleaut32/tests/olepicture.c: Marcus Meissner Added testcases for OLE Picture handling. Implemented PICTYPE_NONE loading. Cleaned up stream loading, handle "lt" magic. Fixed some small problems exposed by tests against native. * dlls/winmm/winealsa/audio.c: Robert Reif Don't open device if already open. Don't need opened device to get/set volume. * dlls/comctl32/tab.c: James Hawkins Audit the Tab control. * programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Makefile.in, programs/winefile/resource.h, programs/winefile/resource.rc, programs/winefile/winefile.c: Martin Fuchs Implement file properties dialog (partly based on Rob D.'s winfile code). 2005-06-05 Alexandre Julliard * tools/winebuild/import.c, tools/winebuild/spec32.c: Switch back to .data at the end of asm sections to work around an optimization in recent gcc versions. * dlls/rpcrt4/ndr_midl.c: Mike Hearn Initialize DataRepresentation in NdrClientInitializeNew, not NdrSendReceive. * dlls/wininet/internet.c: Mike Hearn - Don't return NULL for proxy details if there is no proxy. - Remove stub message, it seems to be complete. * dlls/ole32/marshal.c: Rob Shearman Don't disconnect proxies flagged with SORFP_NOLIFETIMEMGMT. It makes no sense and only causes trouble for proxies that depend on these proxies being available. * dlls/user/edit.c, dlls/user/tests/edit.c: Lauri Tulmin Don't truncate text on WM_SETTEXT and send EN_MAXTEXT. * dlls/winmm/winealsa/audio.c: Robert Reif Fix a problem where actual sample rate doesn't exactly match requested. * dlls/quartz/acmwrapper.c, dlls/quartz/enummedia.c, dlls/quartz/filesource.c, dlls/quartz/parser.c, dlls/quartz/pin.c, dlls/quartz/transform.c: Christian Costa Fixed clock release in transform template. AddRef pUnk in CopyMediaType. Added CreateMediaType helper function and use it. Replaced some DeleteMediaType calls to FreeMediaType to be in line with recent changes. Fixed IEnumMediaTypesImpl_Next. Clear media type when initializing pins. Added some AddRef/Release traces. * programs/winefile/winefile.c: Martin Fuchs Refresh window content after context menu popups only if any command has been executed. * dlls/kernel/thread.c, dlls/ntdll/ntdll.spec, dlls/ntdll/server.c, include/wine/server.h: Moved the server part of the ExitThread functionality to ntdll. * tools/winebuild/res32.c, tools/winebuild/spec32.c: Generate the resource data directly inside the resource directory. * dlls/kernel/except.c: Don't bother looking for a resource directory in free memory areas. * dlls/kernel/task.c, dlls/ntdll/thread.c: Avoid accessing the htask16 TEB field from ntdll. * dlls/ntdll/loader.c: Allocate the system view for builtin modules earlier in load_builtin_callback so that we also create one for the main executable. * include/winuser.h: Vitaliy Margolen Match names for WM_SHOWWINDOW status codes to MSDN. * dlls/ole32/oleproxy.c: Mike Hearn Add some tracing to the IRemUnknown RpcProxyBuffer implementation. * dlls/winmm/winealsa/audio.c: Robert Reif Return proper error code. Change ERR to WARN for failed requests. * dlls/oleaut32/tests/typelib.c: Jacek Caban Test only stdole32.tlb as we don't have olepro32.dll in Wine. * dlls/kernel/sync.c: Mike Hearn Suppress the noisy SetNamedPipeHandleState fixme. * programs/winefile/winefile.c, programs/winefile/winefile.h: Martin Fuchs Sync winefile's header between WINE and ReactOS. * dlls/kernel/tests/pipe.c: Uwe Bonnes Added more pipe tests. * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c: Robert Reif Fix tests to work with drivers that don't support a primary buffer. * dlls/wintrust/wintrust.spec, dlls/wintrust/wintrust_main.c: Paul Vriens Added a stub for CryptCATAdminCalcHashFromFileHandle. * include/winerror.h: Paul Vriens Added some error codes. * configure, configure.ac, dlls/ddraw/Makefile.in, dlls/ddraw/surface_dib.c, dlls/ddraw/surface_fakezbuffer.c, dlls/ddraw/surface_gamma.c, dlls/ddraw/surface_hal.c, dlls/ddraw/surface_main.c, dlls/ddraw/surface_thunks.c, dlls/ddraw/surface_user.c, dlls/ddraw/surface_wndproc.c: Christian Costa Moved dsurface object files to ddraw root dir. * dlls/dsound/capture.c, dlls/dsound/tests/capture.c: Robert Reif Add tests to check DirectSoundCapture creation. Fix dsound/capture.c to pass tests. 2005-06-04 Alexandre Julliard * programs/cmdlgtst/cmdlgtst.c, programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/listview.c, programs/regedit/main.c, programs/regedit/regedit.c, programs/regedit/regproc.c, programs/regedit/regproc.h, programs/regedit/treeview.c, programs/regsvr32/regsvr32.c, programs/rpcss/rpcss_main.c, programs/winedbg/dbg.y, programs/winetest/main.c, programs/winetest/send.c: Mike McCormack Fixes for -Wmissing-declarations and -Wwrite-strings warnings. * dlls/commdlg/filedlg.c: Huw Davies If a folder is selected on Open then browse into it, otherwise we should return the path in the edit box whether that be a folder or a file. Don't add extensions to a folder. * dlls/comctl32/listview.c: Felix Nawothnig Fix some missed invalidations after column resize. * dlls/crypt32/encode.c, dlls/crypt32/tests/encode.c: Juan Lang Implement asn.1 decoding of integers, with tests. * dlls/commdlg/filedlg.c: Huw Davies Use DWLP_MSGRESULT to return values from the dialog proc. * dlls/qcap/Makefile.in, dlls/qcap/capture.h, dlls/qcap/v4l.c, dlls/qcap/vfwcapture.c: Maarten Lankhorst Implemented VfwCapture interface. * dlls/msi/action.h, dlls/msi/dialog.c: Aric Stewart Mike McCormack Allow dialog controls to subscribe to installer events. * dlls/dsound/capture.c, dlls/dsound/dsound.spec, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/propset.c, include/dsound.h: Robert Reif Finish DirectSoundCapture/DirectSoundCapture8 split. Add tests to verify split. * dlls/quartz/videorenderer.c: Christian Costa Release clock only when one is set. * dlls/comctl32/tab.c: James Hawkins - Factor out common text shifting logic. - Shift selected tab text up instead of down. * include/winerror.h: Juan Lang Added a bunch of crypto error codes. * dlls/msi/format.c: Aric Stewart Make sure the TRACE statements do not spew garbage by using debugstr_wn. * dlls/commdlg/filedlg.c: Huw Davies Send CDN_FOLDERCHANGE whenever we change folder. * dlls/mlang/tests/Makefile.in: Hans Leidekker Remove ntdll from imports. * dlls/msi/dialog.c: Mike McCormack Take the dialog frame into account when calculating the dialog size. * dlls/msi/action.c: Aric Stewart Since multiple progids can refer to 1 class we need to check if that class is isntalled instead of just relying on having it set the InstallMe variable. * configure, configure.ac, dlls/ddraw/Makefile.in, dlls/ddraw/ddraw_hal.c, dlls/ddraw/ddraw_main.c, dlls/ddraw/ddraw_thunks.c, dlls/ddraw/ddraw_user.c: Christian Costa Moved ddraw object files to ddraw root dir. 2005-06-03 Alexandre Julliard * configure, configure.ac, dlls/ddraw/Makefile.in, dlls/ddraw/clipper.c, dlls/ddraw/palette_hal.c, dlls/ddraw/palette_main.c: Christian Costa Moved clipper and palette objects files to ddraw root dir. * tools/wine.inf: Lionel Ulmer Added keys to install all known DPlay service providers. * dlls/capi2032/capi2032.spec: Troy Rollo Remove CR characters. * dlls/crypt32/cert.c: Juan Lang Get rid of a magic number, and improve stubs of CertOpenSystemStoreA/W. * dlls/crypt32/encode.c: Juan Lang Rearrange Crypt{De|En}codeObjectEx to make error handling more natural. * programs/winefile/winefile.c: Martin Fuchs Fix position of column header labels. * dlls/msi/msi.c: Aric Stewart Locate where a buffer size is not being set and correctly handle the buffer size conversion from W to A (with help from Robert Shearman). * dlls/ntdll/nt.c, include/winternl.h: Paul Vriens Change SYSTEM_PROCESS_INFORMATION to reflect W2K/WinXP/W2K3 structure. * dlls/msi/action.c: Aric Stewart Add install_on_demand for Extension servers also. currently defaulting to TRUE. Extension need to have 1 verb to mark the given progid to be installed. 2005-06-02 Alexandre Julliard * dlls/ole32/tests/moniker.c: Richard Cohen - Don't assume the ROT is already empty. - Test that IEnum::Clone doesn't also do a Reset. * dlls/ole32/moniker.c: Richard Cohen IEnum::Clone shouldn't do a Reset. * dlls/msi/action.c, dlls/msi/action.h: Aric Stewart Do not loop if a ProgId's Parent Index it itself. Add a VersionIndIndex for tracking version independent fields for the ProgIds properly. * dlls/msdmo/dmoreg.c: Marcus Meissner Drop duplicate definition of IID_IEnumDMO. * dlls/ole32/tests/moniker.c: Richard Cohen Added tests for file monikers. * dlls/ole32/filemoniker.c: Richard Cohen - Base FileMonikerImpl_Save() on XP. - Correct handling of Unicode strings & multibyte locales. - More error checking. - Change ERR to WARN. - Match Windows quick & dirty estimate for GetSizeMax(). * dlls/msi/dialog.c: Mike McCormack Use MSI_QueryGetRecord in one more place. * include/wincrypt.h: Juan Lang Added a couple missing prototypes. * dlls/msi/action.c: Aric Stewart Print a message for skipped actions in ProcessExecSequence like in the UISequence. * dlls/shell32/shellpath.c, dlls/shell32/tests/shellpath.c: Juan Lang Set default for "My Documents" to $HOME, and "Desktop" to ~/Desktop. * dlls/msi/action.c: Aric Stewart Do not change a features state to Advertise if it explicitly disallows it. * dlls/msi/action.c: Aric Stewart For typelibs index 1 do not add \\1 to the path. This cleans up registry diffs with native MSI. * programs/winecfg/appdefaults.c, programs/winecfg/audio.c, programs/winecfg/drive.c, programs/winecfg/drivedetect.c, programs/winecfg/driveui.c, programs/winecfg/libraries.c, programs/winecfg/main.c, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c, programs/winemenubuilder/winemenubuilder.c, programs/winemine/main.c, programs/winetest/gui.c, programs/winhelp/macro.c: Mike McCormack Fixes for -Wmissing-declarations and -Wwrite-strings warnings. * dlls/msi/action.c: Aric Stewart Register the FileType and correct short vs long path problems with InprocServer32. Also add install_on_demand boolean for future expansion. * programs/winecfg/De.rc, programs/winecfg/winecfg.rc, programs/winefile/De.rc: Henning Gerhardt Update German resource files. * dlls/user/message.c: Dmitry Timoshkov Update internal state only if the message is being removed. * dlls/Makefile.in: Temp hack to clean up .def files and hopefully avoid more bug reports about failed builds. * dlls/crypt32/encode.c, dlls/crypt32/tests/.cvsignore, dlls/crypt32/tests/Makefile.in, dlls/crypt32/tests/encode.c, include/wincrypt.h: Juan Lang - add some tests for OID functions - implement encoding integers * dlls/ddraw/ddraw_private.h: Christian Costa Merged remaining header files in DirectDraw objects folders into ddraw_private.h. * dlls/kernel/tests/locale.c: Mike McCormack Make sure that unused code gets compiled to avoid warnings. * dlls/kernel/kernel32.spec, dlls/kernel/volume.c: Marcus Meissner Added stubs for GetVolumePathName(A,W). * loader/preloader.c: Marcus Meissner Elf32_auxv_t.a_un.a_ptr no longer exists in HEAD glibc CVS, use a_val. * dlls/msi/action.c, dlls/msi/custom.c: Mike McCormack Use the new helper function MSI_QueryGetRecord. * dlls/msi/dialog.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c: Mike McCormack Create a helper function to fetch a single record from a query. * programs/wineboot/wineboot.c: Juan Lang Print command that fails to make error message a little more comprehensible. * dlls/dsound/Makefile.in, dlls/dsound/capture.c, dlls/dsound/duplex.c: Robert Reif Move FullDuplex code from capture.c to duplex.c. * include/Makefile.in, include/snmp.h: Juan Lang Added snmp.h. 2005-06-01 Alexandre Julliard * dlls/win32s/w32skernel.c: Avoid dependency on thread.h. * dlls/dsound/propset.c: Robert Reif Fix property set description for more than one capture device bug. Add better traces messages. * dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/dmsynth_private.h, dlls/dmsynth/synth.c, dlls/dmsynth/synthsink.c, dlls/dmusic/buffer.c, dlls/dmusic/clock.c, dlls/dmusic/collection.c, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/download.c, dlls/dmusic/downloadedinstrument.c, dlls/dmusic/instrument.c, dlls/dmusic/port.c, dlls/dmusic/portdownload.c, dlls/dmusic/thru.c, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplay.c, dlls/dplayx/dplay_global.h, dlls/dplayx/dplaysp.c, dlls/dplayx/dplobby.c, dlls/dplayx/lobbysp.c, dlls/dpnet/address.c, dlls/dpnet/client.c, dlls/dpnet/dpnet_main.c, dlls/dpnet/dpnet_private.h, dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c, dlls/dswave/dswave.c, dlls/dswave/dswave_main.c, dlls/dswave/dswave_private.h, dlls/dxdiagn/container.c, dlls/dxdiagn/dxdiag_main.c, dlls/dxdiagn/dxdiag_private.h, dlls/dxdiagn/provider.c, dlls/itss/itss.c, dlls/itss/moniker.c, dlls/itss/storage.c, dlls/mapi32/prop.c, dlls/mlang/mlang.c, dlls/msdmo/dmoreg.c, dlls/mshtml/htmldoc.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/oleobj.c, dlls/mshtml/persist.c, dlls/mshtml/view.c, dlls/msi/msi.c: Dmitry Timoshkov Make more of the OLE interface vtables const. * dlls/ddraw/d3d_private.h: Christian Costa Merged d3ddevice/main.h and direct3d/main.h into d3d_private.h. Fixed Thunk_IDirect3DImpl_2_CreateViewport. * include/commctrl.h: Dimi Paun Minor formattting fixes. * include/winuser.h: Dimi Paun Add definitions for IDTRYAGAIN and IDCONTINUE. * dlls/wintrust/wintrust.spec, dlls/wintrust/wintrust_main.c: Mike McCormack Add stubs and stub implementations. * include/wintrust.h: Mike McCormack Define some functions and structures. * dlls/msi/dialog.c: Aric Stewart Mike McCormack Fix handling of checkbox properties. * dlls/x11drv/desktop.c, dlls/x11drv/event.c, dlls/x11drv/init.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c: Use standard TLS functions instead of a TEB internal field to access per-thread data. * dlls/gdi/gdi_main.c: Always load 16-bit gdi.exe at init time. * dlls/setupapi/parser.c: Revert previous change, it shouldn't be necessary (reported by Rob Shearman). * dlls/shell32/tests/shelllink.c, dlls/shell32/tests/shlfileop.c, dlls/shell32/tests/shlfolder.c: Mike McCormack Eliminate some -Wwrite-strings warnings. * dlls/rpcrt4/ndr_marshall.c: Robert Shearman - Improve tracing. - Implement FC_UP and partially FC_OP. - Don't needlessly marshal 4 bytes in NdrPointer*. * dlls/oleaut32/tmarshal.c: Robert Shearman If we are accessing a method from a superclass then we need to use the superclass's ITypeInfo otherwise we could get errors when accessing hreftypes that aren't present in the subclass. * dlls/oleaut32/typelib.c: Robert Shearman - Fix the return values from QueryPathOfRegTypeLib. - Open registry key with least access rights necessary. - Documentation updates. * dlls/oleaut32/dispatch.c: Robert Shearman DispInvoke is correct so there is no need to print a fixme. * dlls/msi/format.c: Mike McCormack Clean up headers and make some functions static. * dlls/msvideo/drawdib.c: Richard Cohen - Add static, const. - Don't change the passed in bitmap header. * dlls/msi/msipriv.h: Mike McCormack - avoid unicode.h - add a missing function prototype 2005-05-31 Alexandre Julliard * dlls/user/tests/win.c: Jason Edmeades Added test case for infinite loops on RDW_REDRAWNOW. * dlls/user/painting.c, include/wine/server_protocol.h, server/protocol.def, server/trace.c, server/window.c: Added a from_child parameter to the get_update_region request to allow restarting the search from a given child, in order to avoid looping forever on windows that don't repaint correctly. * dlls/setupapi/parser.c: Skip the Unicode signature if present. * dlls/kernel/instr.c: Ivan Leo Puoti Added IDT emulation. * dlls/ntdll/directory.c: Detlef Riekenberg Mark links to dir with FILE_ATTRIBUTE_REPARSE_POINT, so modern applications can use this additional information. * dlls/advapi32/advapi.c, dlls/advapi32/advapi32.spec, dlls/kernel/profile.c, dlls/ntdll/rtlstr.c, include/winbase.h, include/winternl.h: Fixed RtlIsTextUnicode prototype, and made it properly take into account the results of the tests to determine the return value. * include/commctrl.h: Andreas Mohr TV_ITEM is the old name of TVITEM, shouldn't be used any more. * dlls/msi/action.c, dlls/msi/query.h: Mike McCormack Remove some unused code. * dlls/winspool/Makefile.in: Remove import lib on make clean. * dlls/wineps/Makefile.in: Fixed install rule (reported by Vincent Béron). * dlls/version/tests/.cvsignore, dlls/version/tests/Makefile.in, dlls/version/tests/info.c, dlls/version/tests/version.rc: Stefan Leichter Test GetFileVersionInfoSizeA with executables. * dlls/ddraw/Makefile.in, dlls/ddraw/convert.c, dlls/ddraw/ddraw_utils.c, dlls/ddraw/helper.c, dlls/ddraw/struct_convert.c: Christian Costa Merged convert.c, struct_convert.c and helper.c into ddraw_utils.c. * dlls/ntdll/sec.c: Evan Deaubl Robert Shearman - Implement RtlGetControlSecurityDescriptor. - Fix NtAccessCheck so it works with relative SECURITY_DESCRIPTORs. * dlls/crypt32/crypt32.spec, dlls/crypt32/encode.c, dlls/crypt32/main.c: Juan Lang - implement Crypt{Get|Set}OIDFunctionValue - fix bug and memory leak in last patch * dlls/dsound/buffer.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/sound3d.c: Robert Reif Add multiple DIRECTSOUND object support (multiple sound cards can play at the same time). Fix CoCreateInstance when no sound card is present. Fix create bug found by Mike Hearn. * dlls/kernel/tests/drive.c, dlls/kernel/tests/format_msg.c, dlls/kernel/tests/locale.c, dlls/kernel/tests/path.c: Mike McCormack Some warning fixes for the regression tests. * dlls/msi/database.c, dlls/msi/dialog.c, dlls/msi/events.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/package.c, dlls/msi/record.c, dlls/msi/table.c: Mike McCormack More -Wmissing-declarations and -Wwrite-strings warning fixes. * dlls/msi/sql.y: Mike McCormack Improve number parsing and avoid unicode.h. 2005-05-30 Alexandre Julliard * dlls/ntdll/directory.c: Francois Gouget On some systems (linux 2.6.8) AFS fails to set d_reclen to 0 or does not support VFAT_IOCTL_READDIR_BOTH but returns 0 (success) anyway. So set d_reclen to 65535 (an impossible value) before the ioctl() and check it afterwards to work around this bug. * dlls/msi/insert.c, dlls/msi/query.h, dlls/msi/sql.y: Mike McCormack Remove more types from the parser. * dlls/msi/msi.c, dlls/msi/suminfo.c, include/msi.h, include/msiquery.h: Mike McCormack Add and correct some function declarations. * dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/audio.h: Robert Reif Add support for more than 2 audio channels. * dlls/ddraw/tests/.cvsignore, dlls/ddraw/tests/Makefile.in, dlls/ddraw/tests/dsurface.c: Antoine Chavasse - Implemented the implicit creation of mipmaps for surfaces that have DDSCAPS_COMPLEX, DDSCAPS_MIPMAP and for which the mipmap count is not specified. - Implemented test cases for mipmap textures creation. * dlls/comctl32/listview.c: Kouji Sasaki Added the feature to change row height in owner draw controls. * dlls/user/edit.c: Kouji Sasaki Corrected the determination of capturing inside EDIT_WM_MouseMove function. * dlls/devenum/createdevenum.c, dlls/devenum/devenum_private.h, dlls/devenum/factory.c, dlls/devenum/mediacatenum.c, dlls/devenum/parsedisplayname.c, dlls/dinput/device_private.h, dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c, dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_main.c, dlls/dmband/dmband_private.h, dlls/dmcompos/chordmap.c, dlls/dmcompos/chordmaptrack.c, dlls/dmcompos/composer.c, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/dmcompos_private.h, dlls/dmcompos/signposttrack.c, dlls/dmime/audiopath.c, dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmime/graph.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/segtriggertrack.c, dlls/dmime/seqtrack.c, dlls/dmime/sysextrack.c, dlls/dmime/tempotrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/tool.c, dlls/dmime/wavetrack.c, dlls/dmloader/classfactory.c, dlls/dmloader/container.c, dlls/dmloader/dmloader_private.h, dlls/dmloader/loader.c, dlls/dmloader/loaderstream.c, dlls/dmscript/dmscript_main.c, dlls/dmscript/dmscript_private.h, dlls/dmscript/script.c, dlls/dmscript/scripttrack.c, dlls/dmstyle/auditiontrack.c, dlls/dmstyle/chordtrack.c, dlls/dmstyle/commandtrack.c, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/motiftrack.c, dlls/dmstyle/mutetrack.c, dlls/dmstyle/style.c, dlls/dmstyle/styletrack.c: Dmitry Timoshkov Make more of the OLE interface vtables const. * dlls/comctl32/monthcal.c, dlls/crypt32/protectdata.c, dlls/msi/action.h, dlls/opengl32/make_opengl, dlls/wined3d/vertexdeclaration.c, dlls/winmm/winmm_En.rc: Francois Gouget Assorted spelling fixes. * programs/msiexec/version.rc: Stefan Leichter Update version resource of msiexec.exe to current version shipped from Windows Update. * programs/winefile/Cs.rc, programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Es.rc, programs/winefile/Fr.rc, programs/winefile/Hu.rc, programs/winefile/It.rc, programs/winefile/Nl.rc, programs/winefile/Pl.rc, programs/winefile/Pt.rc, programs/winefile/Ru.rc, programs/winefile/Si.rc, programs/winefile/Sv.rc, programs/winefile/Zh.rc, programs/winefile/resource.h, programs/winefile/resource.rc, programs/winefile/winefile.c: Martin Fuchs - implement commands 'copy' and 'delete' - fix 'move' command for the left pane 2005-05-29 Alexandre Julliard * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/varformat.c: Marcus Meissner Added VarMonthName() implementation. * dlls/msi/create.c, dlls/msi/insert.c, dlls/msi/order.c, dlls/msi/query.h, dlls/msi/select.c, dlls/msi/sql.y, dlls/msi/update.c: Mike McCormack Get rid of some redundant parser types. * programs/winefile/winefile.c: Martin Fuchs Refresh display after executing a context menu command. * dlls/msi/cond.y, dlls/msi/format.c, dlls/msi/tests/db.c, dlls/msi/tests/record.c, dlls/msi/tokenize.c, dlls/msi/where.c: Mike McCormack -Wmissing-declarations and -Wwrite-strings warning fixes. * programs/winefile/Cs.rc, programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Es.rc, programs/winefile/Fr.rc, programs/winefile/Hu.rc, programs/winefile/It.rc, programs/winefile/Makefile.in, programs/winefile/Nl.rc, programs/winefile/Pl.rc, programs/winefile/Pt.rc, programs/winefile/Ru.rc, programs/winefile/Si.rc, programs/winefile/Sv.rc, programs/winefile/Zh.rc, programs/winefile/resource.h, programs/winefile/winefile.c: Martin Fuchs Implement file filtering (matching of file name patterns and file types). * dlls/msvcrt/dir.c, dlls/msvcrt/msvcrt.spec: Eric Pouech _findclose() exists on MinGW, so prefix it. * programs/winedbg/gdbproxy.c: Eric Pouech Reindented parts to be conform to the rest of the code. * programs/winedbg/stack.c: Eric Pouech Rewrote all stack backtrace code (more code sharing, easier to follow, and less bugs). * include/winbase.h: Mike McCormack - always declare the lstr* functions, even if they're inline - add prototype for ReadDirectoryChangesW * dlls/winmm/winealsa/alsa.h: Marcus Meissner #undef interface before including alsa headers. * dlls/winmm/wineoss/audio.c: Robert Reif Fix a multiple sound card interface bug. Add better error messages. * dlls/dbghelp/dbghelp.spec, dlls/dbghelp/module.c: Paul Vriens Add SymLoadModule64. * dlls/comctl32/listview.c: Felix Nawothnig Pass the right hwnd to ReleaseDC(). * dlls/winmm/winealsa/audio.c: Robert Reif Fix volume control. * dlls/d3d8/d3d8_private.h: Kristiaan Lenaerts gcc 4.0 compile fix. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Fix Estonian keyboard layout to better match the X11 one. * dlls/qcap/dllsetup.c: Francois Gouget Remove unneeded cast. * dlls/oleaut32/tests/vartest.c: Michael Stefaniuc Tests for VarAdd. * dlls/oleaut32/variant.c: Michael Stefaniuc - Reimplement VarAdd, had missing functionality and wrong behaviour. - Fix a typo in VarMul. * dlls/kernel/local16.c: Dimi Paun Fix indentation. * programs/winetest/Makefile.in: Stefan Leichter Include crypt32 tests into winetest. * dlls/crypt32/encode.c: Juan Lang Use registered DLLs for encode/decode. * include/wincrypt.h: Juan Lang Add a few missing defines. 2005-05-27 Alexandre Julliard * dlls/amstream/amstream.c, dlls/amstream/main.c, dlls/atl/registrar.c, dlls/avifil32/acmstream.c, dlls/avifil32/avifile.c, dlls/avifil32/editstream.c, dlls/avifil32/factory.c, dlls/avifil32/getframe.c, dlls/avifil32/icmstream.c, dlls/avifil32/tmpfile.c, dlls/avifil32/wavfile.c, dlls/comcat/comcat_private.h, dlls/comcat/factory.c, dlls/comcat/information.c, dlls/comcat/manager.c, dlls/comcat/register.c, dlls/commdlg/filedlgbrowser.c, dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/indexbuffer.c, dlls/d3d8/resource.c, dlls/d3d8/surface.c, dlls/d3d8/swapchain.c, dlls/d3d8/texture.c, dlls/d3d8/vertexbuffer.c, dlls/d3d8/volume.c, dlls/d3d8/volumetexture.c, dlls/d3d9/basetexture.c, dlls/d3d9/cubetexture.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/indexbuffer.c, dlls/d3d9/pixelshader.c, dlls/d3d9/query.c, dlls/d3d9/resource.c, dlls/d3d9/stateblock.c, dlls/d3d9/surface.c, dlls/d3d9/swapchain.c, dlls/d3d9/texture.c, dlls/d3d9/vertexbuffer.c, dlls/d3d9/vertexdeclaration.c, dlls/d3d9/vertexshader.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, dlls/d3dx8/d3dx8core_private.h, dlls/d3dx8/d3dxbuffer.c, dlls/d3dxof/d3dxof.c, dlls/d3dxof/d3dxof_private.h, dlls/d3dxof/main.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/main.c, include/objbase.h: Dmitry Timoshkov Make some of the OLE interface vtables const. * include/wine/test.h, programs/winetest/main.c: Added --list option to the tests and use that in winetest. * dlls/kernel/instr.c: Ivan Leo Puoti Added some privileged instructions emulation. * dlls/gdi/gdiobj.c, programs/winevdm/winevdm.c: Dimi Paun Move remaining GDI objects to the large heap. * dlls/ntdll/loadorder.c, dlls/user/msgbox.c, dlls/user/nonclient.c, dlls/user/text.c: Richard Cohen Fix some obsolete comments * dlls/msi/tests/.cvsignore, dlls/msi/tests/Makefile.in, dlls/msi/tests/db.c, dlls/msi/tests/format.c: Mike McCormack Aric Stewart Add format record tests. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/custom.c, dlls/msi/events.c, dlls/msi/msipriv.h: Aric Stewart Introduce really basic scripting of actions. This is primarily to get the order of execution of the action correct since some custom actions can be scripted and others are run during the script building phase. * dlls/msi/format.c: Aric Stewart Restrict deformating of nested index keys [[1]]. Introduce the beginning of group deformating {}. * dlls/rsaenh/Makefile.in, dlls/rsaenh/rsaenh.c: Michael Jung Use the Data Protection API to protect the users private keys. * dlls/crypt32/protectdata.c: Michael Jung It's sufficienct for Crypt[Un]ProtectData to acquire the crypto context with the CRYPT_VERIFY_CONTEXT flag set. * dlls/qcap/Makefile.in, dlls/qcap/capture.h, dlls/qcap/qcap_main.c, dlls/qcap/vfwcapture.c: Maarten Lankhorst Implemented VfwCapture interface. * dlls/rsaenh/implglue.c: Michael Jung Use SystemFunction036 to generate random bytes. * include/vfw.h: Rolf Kalbermatter Add declarations for AVICAP and SDK part of Video Capture Driver Interface. * dlls/msi/record.c, dlls/msi/tests/record.c: Mike McCormack Test and fix the size of stream fields in a record. * dlls/msi/Makefile.in, dlls/msi/action.c, dlls/msi/action.h, dlls/msi/events.c, dlls/msi/msipriv.h: Aric Stewart Mike McCormack Implement dialog events and hook up the dialog code. * dlls/uuid/uuid.c: Mike McCormack Add xmldom guids. * dlls/amstream/amstream.c: Peter Oberndorfer Use proper return values in amstream stub functions. 2005-05-26 Alexandre Julliard * dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c: Stefan Dösinger *Handle cidl==0 in shfldr_desktop, shfldr_fs and shfldr_mycomp. *Remove the dwAttributes member from the IGenericSFImpl class, it's not needed and can't be initialised in Initialize and InitializeEx. * dlls/msi/action.c, dlls/msi/action.h: Aric Stewart First pass at writing out CurVer keys for ProgIds. Also print a message for the actions we skip. Lines up with native MSI output logs for ease of comparison. * dlls/odbccp32/odbccp32.c, dlls/odbccp32/odbccp32.spec, include/odbcinst.h: Rein Klazes Add a stub for ODBCCPlApplet. * dlls/powrprof/powrprof.c, dlls/powrprof/powrprof.spec: Rein Klazes Add a stub for IsAdminOverrideActive. * dlls/ntdll/file.c: Uwe Bonnes Call fileio_terminate for FILE_AsyncWriteService. * server/window.c: Crop the update region to the new window rectangle when resizing a window. * dlls/user/spy.c: Don't fetch the window class name if it's not needed to compute the message name. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/msipriv.h: Aric Stewart A big rewrite of the whole RegisterClass, RegisterProgId, RegisterExtension and RegisterMIME actions. We now handle verbs properly, handle dependancies and such properly and keep track of what we need to register and what we do not properly. * dlls/commdlg/filedlg.c, dlls/commdlg/filedlgbrowser.c: Michael Jung Use IShellFolder::GetDisplayNameOf instead of SHGetPathFromIDList to be able to browse shell namespace extensions. * dlls/comctl32/listview.c: Kouji Sasaki Added the callback item processing for LISTVIEW_EndEditLabelT function. * include/.cvsignore, include/Makefile.in, include/xmldom.idl, include/xmldomdid.h: Mike McCormack Added some idl definitions. * tools/widl/parser.y: Workaround to allow using the async keyword as method name. 2005-05-25 Alexandre Julliard * dlls/user/Makefile.in, dlls/user/cursoricon.c, dlls/user/misc.c, dlls/user/sysparams.c, dlls/user/user_main.c: Moved functions from windows/user.c to more appropriate places, and get rid of that file. * server/console.c, server/fd.c, server/file.c, server/mailslot.c, server/main.c, server/named_pipe.c, server/process.c, server/queue.c, server/region.c, server/registry.c, server/request.c, server/signal.c, server/snapshot.c, server/sock.c, server/timer.c: Robert Shearman - Use NULL instead of 0 for all non-handle pointers. - Fix non-ANSI function declarations. - Make a function static. * dlls/user/user16.c: Moved a couple of 16-bit functions to dlls/user/user16.c. * dlls/user/sysparams.c: Rein Klazes Use the screen resolution to convert from twips (1440 twips is one inch) to pixels. * dlls/user/Makefile.in, dlls/user/sysparams.c, dlls/user/user16.c, dlls/user/user_private.h: Moved the syscolor functions to dlls/user/sysparams.c. * dlls/msi/format.c: Aric Stewart Implement the [!file] format to produce the short filename. * include/winbase.h: Uwe Bonnes Fix small typo. * include/Makefile.in, include/idispids.h, include/xmldomdid.h: Mike McCormack Add some more headers. * include/wine/test.h, tools/make_ctests.c: Better support for building stand-alone tests. * dlls/gdi/gdi32.spec, dlls/gdi/gdiobj.c: Dimi Paun Turn a GDI object into a system object via an explicit Wine extension rather then through magical pokes in memory. * dlls/kernel/tests/mailslot.c, dlls/kernel/tests/pipe.c, dlls/lzexpand/tests/lzexpand_main.c: Removed STANDALONE ifdefs. * dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec: Mike McCormack Stub implementation for GetSoftwareUpdateInfo. * server/trace.c: Robert Shearman - Print commas between ACE's. - Dump access masks from all ACE's. * dlls/comctl32/listview.c: Kouji Sasaki Corrected the priority of operators for LISTVIEW_GetNextItem function. 2005-05-24 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20050524. ---------------------------------------------------------------- 2005-05-24 Alexandre Julliard * dlls/qcap/Makefile.in, dlls/qcap/qcap_main.h, dlls/qcap/yuv.c: Maarten Lankhorst Added YUV routines needed for v4l driver, and in the future possibly other capture drivers too. * dlls/kernel/file.c: Rein Klazes Work around a problem where WriteFile is asked to write memory protected by DIBSection code. * dlls/comctl32/datetime.c, dlls/itss/chm_lib.c, dlls/kernel/instr.c, dlls/wineps/truetype.c, dlls/wintab32/context.c, programs/winedbg/break.c, tools/winedump/pe.c: Hans Leidekker Fix uninitialized warnings. * dlls/ntdll/sec.c, include/wine/server_protocol.h, server/protocol.def, server/request.h, server/token.c, server/trace.c: Robert Shearman Implement NtAccessCheck. * dlls/urlmon/sec_mgr.c, include/urlmon.idl: Mike McCormack Add the missing interface method PromptAction to IInternetZoneManager. * configure, configure.ac, dlls/msvcrt/time.c, include/config.h.in: Phil Krylov Added detection of platforms which don't have external timezone and daylight variables, and emulation of these variables. * dlls/comctl32/listview.c: Kouji Sasaki Added handling of WM_ENABLE message. * programs/winedbg/Makefile.in, programs/winedbg/be_alpha.c, programs/winedbg/be_cpu.h, programs/winedbg/be_i386.c, programs/winedbg/be_ppc.c, programs/winedbg/break.c, programs/winedbg/debugger.h, programs/winedbg/gdbproxy.c, programs/winedbg/memory.c, programs/winedbg/tgt_active.c, programs/winedbg/types.c, programs/winedbg/winedbg.c: Eric Pouech - started infrastructure for proper multi-target support (active process, minidump...) - all read/write memory ops are now done thru a centralized process_io facility - minor fixes & cleanups in CPU backends * dlls/shell32/folders.c, dlls/shell32/regsvr.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/shell32/shfldr_unixfs.c: Michael Jung Add a new CLSID for UnixDosFolder, which is identical to UnixFolder, but does unix <-> dos path conversion for GetDisplayNameOf and ParseDisplayName. * tools/winedump/dump.c, tools/winedump/minidump.c, tools/winedump/pe.c: Dmitry Timoshkov Print data offset additionally to prefix while dumping data. * dlls/x11drv/window.c: Dmitry Timoshkov SetParent needs to clear 'managed' flag for former top level window. * dlls/mshtml/oleobj.c: Jacek Caban Added OLEIVERB_UIACTIVATE handling. * include/urlmon.idl: Mike McCormack Define GetSoftwareUpdateInfo and ISoftDistExt. * dlls/wininet/internet.c, dlls/wininet/tests/http.c: Uwe Bonnes Handle more Escape situations. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/spec32.c: Free delayed import modules on PROCESS_DETACH. * dlls/kernel/Makefile.in, dlls/kernel/toolhelp.c, dlls/kernel/toolhelp16.c: Steven Edwards Split Win16 and Win32 toolhelp functions. Compile out win87em and 16bit toolhelp functions if 16 bit support is disabled. * programs/winedbg/gdbproxy.c: David Welch Added the ability to break into the program when using the gdb proxy. * dlls/riched20/paint.c: Hannu Valtonen Use correct background color for the whole richedit control. * dlls/user/button.c: Vitaly Lipatov Add BUTTON_NOTIFY_PARENT macro (as in edit.c). Notify parent about WM_KILL/SETFOCUS events. * configure, configure.ac, dlls/crypt32/Makefile.in, dlls/crypt32/tests/.cvsignore, dlls/crypt32/tests/Makefile.in, dlls/crypt32/tests/protectdata.c: Kees Cook Create basic test suite for CryptProtectData/CryptUnprotectData. * dlls/user/nonclient.c, dlls/user/tests/win.c: Richard Cohen Fix off-by-one in menu height calculation (& therefore AdjustWindowRect) + test. * dlls/comctl32/listview.c: James Hawkins Audit the List-View control. * programs/winedbg/gdbproxy.c: David Welch Fix decoding of thread IDs in the gdbproxy. * dlls/uxtheme/draw.c: Kevin Koltzau Use uniformsizing theme property. * include/exdisp.idl: Mike McCormack Define CLSID_ShellWindows. * dlls/msi/sql.y: Mike McCormack Simplify parsing of the FROM keyword. 2005-05-23 Alexandre Julliard * include/wine/server_protocol.h, server/protocol.def, server/trace.c: Robert Shearman - Add new server type "struct security_descriptor". - Add tracing for this new type. * dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shfldr_unixfs.c: Michael Jung More robustly query the SHGDN_FORPARSING flag in the shell32's folders GetDisplayNameOf methods. * dlls/ole32/oleobj.c: Mike McCormack Remove forward declarations. * dlls/msi/action.c: Aric Stewart Double terminate SZ_MULTI properly. ClassInfo and ExtensionInfo are also written for ADVERTISED components. * dlls/msi/msi.c: Aric Stewart Fix a leaking handle. Make MsiCollectUserInfo more internally consistent. Thanks to Mike McCormack. * include/winnt.h: Ivan Leo Puoti Update LDT_ENTRY definition. * dlls/msi/sql.y: Mike McCormack Improve parser error checking. * dlls/shlwapi/tests/path.c, dlls/shlwapi/url.c: Uwe Bonnes Test cases for URL_UNESCAPE and small fix. * programs/winedbg/Makefile.in, programs/winedbg/dbg.y, programs/winedbg/debug.l, programs/winedbg/debugger.h, programs/winedbg/tgt_minidump.c, programs/winedbg/winedbg.c: Eric Pouech - now storing exception info (if any) in thread structure - added minidump function in winedbg (write only) * dlls/kernel/kernel16_private.h, dlls/kernel/ne_module.c: Support unloading 16-bit builtin modules, and properly manage the refcount of the 32-bit owner module. * dlls/kernel/kernel32.spec, dlls/kernel/toolhelp.c: Kevin Koltzau Implement Module32FirstW/NextW. * dlls/msi/create.c, dlls/msi/insert.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/query.h, dlls/msi/sql.y, dlls/msi/update.c, dlls/msi/where.c: Mike McCormack Track memory allocations in the SQL parser. * dlls/advapi32/advapi32.spec, dlls/advapi32/crypt.c: Uwe Bonnes Implemented SystemFunction036. * dlls/kernel/kernel16_private.h, dlls/kernel/ne_module.c, include/wine/winbase16.h, tools/winebuild/spec16.c: Moved the generated code segment for 16-bit builtins inside the module structure. Get rid of the BUILTIN16_DESCRIPTOR structure and directly register the MZ header instead. * dlls/msi/sql.y: Mike McCormack Simplify parsing of select query. * dlls/dplayx/dplay.c: Lionel Ulmer Rewrite DirectPlayEnumerateA and add W version at the same time. * dlls/oleaut32/tests/vartest.c: Michael Stefaniuc Tests for VarMul(). * dlls/oleaut32/variant.c: Michael Stefaniuc Reimplement VarMul(). It can multiply now all variants that the native (WinXP) function supports too. * dlls/dbghelp/stack.c, include/dbghelp.h: Eric Pouech - fixed ReadProcessMemoryProc prototype - made StackWalk work when dbghelp is run against a non running process * dlls/ddraw/dsurface/main.c: Antoine Chavasse Added traces in GetPrivateData and SetPrivateData. Made SetPrivateData actually store the data from the buffer as well as its size. * dlls/ntdll/loader.c: Moved the loaddll trace into the load_builtin_dll function so that it gets printed even when we don't get the expected so file. * tools/winedump/lnk.c, tools/winedump/minidump.c, tools/winedump/msmangle.c, tools/winedump/pe.c, tools/winedump/winedump.h, tools/wmc/lang.h, tools/wmc/write.c: Robert Shearman Fix -Wwrite-strings warnings. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/string.c: Uwe Bonnes Implement minimal _stricoll. * dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c: Robert Shearman - Add error messages on failure in file moniker load function. - Fix incorrect pointer check in both monikers. - Fix max size calculation of item moniker to match native. * dlls/ole32/marshal.c: Robert Shearman - Add a useful trace message. - Fix more places where custom header size was calculated exclusive of the data size member. - Optimize custom marshaling by getting size before calling the custom marshaler so we can write the header before and not use a second stream. * dlls/msi/order.c, dlls/msi/query.h, dlls/msi/sql.y: Mike McCormack Create the ORDER BY view in a single call. * programs/winefile/winefile.c, programs/winefile/winefile.h: Martin Fuchs Bug fixes for _NO_EXTENSIONS mode. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/variant.c: Richard Cohen - Remove unused macro. - Check for VT_I8 before testing it. - VarMod returns DISP_E_OVERFLOW not E_INVALIDARG. * programs/winedbg/debugger.h, programs/winedbg/memory.c, programs/winedbg/symbol.c: Eric Pouech Removed the macros for verbose memory read/write operations. * dlls/avifil32/avifile.spec, dlls/kernel/comm.drv.spec, dlls/kernel/windebug.spec, dlls/ole32/ole2thk.spec, dlls/setupapi/setupx.spec, dlls/shell32/shell.spec, dlls/user/keyboard.drv.spec, dlls/win32s/win32s16.spec: Comment out stub WEP entry points so that we can call WEP for builtin dlls too. * dlls/commdlg/Makefile.in, dlls/commdlg/commdlg.spec, dlls/commdlg/generic.c, dlls/msacm/msacm.spec, dlls/msacm/msacm_main.c, dlls/msvideo/msvideo.spec, dlls/msvideo/msvideo16.c, dlls/ole32/ole16.c, dlls/setupapi/virtcopy.c, dlls/shell32/shell.c, dlls/winmm/mmsystem.c, dlls/winmm/mmsystem.spec: Removed unnecessary code in the 16-bit DllEntryPoint function of some dlls, and also fixed its ordinal in a few places. * dlls/ole32/moniker.c, dlls/ole32/tests/marshal.c: Robert Shearman - Marshal objects & monikers into the ROT. - Test for this behaviour. * dlls/riched20/editor.c: Hannu Valtonen - Implement EM_LINESCROLL message handling - Fix a problem with scrolling over the end of the text in WM_WHEELMOUSE. * include/wincrypt.h: Kees Cook Add defines for dwFlags in pPromptStruct and calls to CryptProtectData. * include/ntddscsi.h: Ivan Leo Puoti Added some structs to ntddscsi.h. * dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/query.h, dlls/msi/sql.y: Mike McCormack - remove the unused utf8 field of an expression - make the parse result a single assignment at top level of parsing - abort parsing on a memory allocation failure * dlls/urlmon/tests/url.c, dlls/urlmon/umon.c: Jacek Caban Separated IBinding and IMoniker interfaces. * server/registry.c, server/window.c: Rob Shearman Fix several memory leaks. * programs/winefile/Cs.rc, programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Es.rc, programs/winefile/Fr.rc, programs/winefile/Hu.rc, programs/winefile/It.rc, programs/winefile/Nl.rc, programs/winefile/Pl.rc, programs/winefile/Pt.rc, programs/winefile/Ru.rc, programs/winefile/Si.rc, programs/winefile/Sv.rc, programs/winefile/Zh.rc, programs/winefile/resource.h, programs/winefile/winefile.c: Martin Fuchs Implement ID_VIEW_SPLIT command. * dlls/x11drv/settings.c: Daniel Schepler Implement CDS_TEST flag in ChangeDisplaySettings. * dlls/ole32/compositemoniker.c: Kevin Koltzau Implement Hash function on composite moniker. * programs/winedbg/dbg.y, programs/winedbg/debug.l, programs/winedbg/debugger.h, programs/winedbg/expr.c, programs/winedbg/stack.c, programs/winedbg/types.c, programs/winedbg/winedbg.c: Eric Pouech - no longer store internally the " for strings - misc clean-ups - activate symbol demangling by default * tools/fnt2fon.c: Dmitry Timoshkov Small fix for the font directory resource written by fnt2fon. * dlls/ntdll/virtual.c: Mike McCormack Use LIST_FOR_EACH_ENTRY in virtual memory code. * dlls/oleaut32/variant.c: Michael Stefaniuc Fix VariantChangeType: calls to VarDecFromCy and VarDecFromDisp had source and destination swapped. * dlls/crypt32/protectdata.c: Kees Cook Correct crypt context init in CryptProtectData/CryptUnprotectData. * dlls/dbghelp/dwarf.c: Raphael Junqueira - fixme when unexpected children found - no more dwarf2_check_sibling errors (ie perfect parsing count) :) - dwarf2_parse_inlined_subroutine, dwarf2_parse_variable * dlls/msi/version.rc: Stefan Leichter Update version resource of msi.dll to current version shipped from windows update. 2005-05-20 Alexandre Julliard * dlls/crypt32/Makefile.in, dlls/crypt32/crypt32.spec, dlls/crypt32/encode.c, dlls/crypt32/main.c: Juan Lang - more fully implement CryptRegisterOIDFunction - implement CryptUnregisterOIDFunction - add stubs for CryptEncodeObject(Ex)/CryptDecodeObject(Ex) * dlls/ntdll/directory.c: Gerald Pfeifer Avoid compiler warning in parse_mount_entries(). * dlls/crypt32/crypt32.spec, dlls/crypt32/protectdata.c: Kees Cook Implement CryptUnprotectData counterpart to CryptProtectData. * dlls/kernel/ne_module.c, dlls/kernel/resource16.c, tools/winebuild/build.h, tools/winebuild/res16.c, tools/winebuild/spec16.c: Generate 16-bit resources in the proper format inside the module data, and get rid of the special case for builtins in NE_DefResourceHandler. * dlls/msi/table.c: Juan Lang Turn handled errors from ERRs to WARNs or TRACEs. * dlls/ntdll/file.c: Juan Lang Implement NtQueryVolumeInformationFile for type FileFsDeviceInformation on FreeBSD. * dlls/comctl32/listview.c: James Hawkins Select the item under the point (x,y) in MouseHover. * dlls/crypt32/main.c, dlls/crypt32/protectdata.c: Kees Cook Implement CryptProtectData with best-guess encryption. * dlls/oleaut32/tests/safearray.c: Richard Cohen Check if VT_R8 and VT_INT_PTR are supported before testing them. * dlls/gdi/gdiobj.c: David Hemmo GDI_ReleaseObj was not called with the right parameter. * dlls/msi/msi.spec: Aric Stewart We have a stub for MsiGetUserInfoA we should use it. * dlls/msi/msi.c: Aric Stewart Fix a leaking handle in MsiConfigureProductExW. Implement MsiGetProductCodeW. Implement MsiGetUserInfoW. Implement MsiCollectUserInfoA/W. * dlls/msi/action.c: Aric Stewart Write the RegOwner and RegCompany keys as blank if they do not exist when doing the RegisterUser action. * dlls/shell32/iconcache.c: Michael Jung Consider only the GIL_FORSHORTCUT flag in SIC_CompareEntries. * dlls/gdi/tests/gdiobj.c: Richard Cohen Fix gdiobj test on NT4, remove asserts. * dlls/opengl32/make_opengl: Francois Gouget Add 'use strict' and fix make_opengl accordingly. Add function prototypes. Write "$a $b" rather than the more complex $a . " " . $b. Document which OpenGL spec files need to be downloaded. Update the documentation of the list of supported OpenGL versions. Tweak the usage so it always reports the right command name. * include/wincrypt.h: Juan Lang Add a bunch of missing declarations and definitions. * dlls/crypt32/protectdata.c: Kees Cook Implement serialization and helper functions for CryptProtectData. * include/commctrl.h: James Hawkins Update LVGROUP struct to match MSDN. * tools/fnt2fon.c: Dmitry Timoshkov Make .fon files generated by fnt2fon slightly more compatible with fontforge, freetype and Windows font viewer. * tools/sfnt2fnt.c: Dmitry Timoshkov - Always initialize width table. - FT_Get_Next_Char for some reason returns too high number (1040) if the wine_courier font has been generated by fontforge, use 32 as the 1st char instead. * tools/winedump/ne.c: Dmitry Timoshkov Print also flags and length of NE resources. * dlls/dbghelp/dwarf.c: Raphael Junqueira - better traces - handle inclusion "levels" - better parsing of subprogram, typedef, pointer, ... entries - arrays, enums, const_type, reference_type parsing - checks parsing cursors errors (when sibling value available) - more utilities functions (dwarf2_parse_attr_as_data) * dlls/ntdll/nt.c, include/winternl.h: Ivan Leo Puoti Rename SystemDriverInformation to SystemModuleInformation. * dlls/msi/action.c: Aric Stewart Fix quoting on queries. Respect '+' and '*' in WriteRegistryValues to only create the key if it does not already exist. Prevents overwriting values with NULL. * dlls/msi/package.c: Aric Stewart Quoting fixes. * dlls/msi/custom.c: Aric Stewart Correct query quoting based on Mike's patch. Also more error messages about return codes from custom actions and ignore an error that we should be ignoring. 2005-05-19 Alexandre Julliard * dlls/Makefile.in, dlls/winedos/.cvsignore, dlls/winedos/Makefile.in: Revert previous patch, we still need the winedos import lib for now. * configure, configure.ac: Disable Win16 support by default on non-x86 platforms. * dlls/Makefile.in, dlls/winedos/.cvsignore, dlls/winedos/Makefile.in: We no longer need a winedos import library. * programs/winevdm/Makefile.in, programs/winevdm/winevdm.c: Fail more gracefully if 16-bit support is missing. * programs/winefile/winefile.c: Martin Fuchs The call to ScreenToClient() changes the content of the 'pt' variable, so it can't be used for the following ShellFolderContextMenu() call. * dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c, dlls/ole32/moniker.c, dlls/ole32/moniker.h, dlls/ole32/oleproxy.c: Robert Shearman - Add a generic moniker marshaler that works by saving & loading monikers to & from the stream. - Use the generic moniker marshal in the file & item monikers and add a class factory for each. * dlls/comctl32/listview.c: Dimi Paun Do not compute the hit test if we don't really need it. * dlls/msvcrt/except.c: Juan Lang Implement _XcptFilter using signal handlers, and add a couple traces. * dlls/winedos/dosexe.h, dlls/winedos/dosmem.c, dlls/winedos/dosvm.c: Refuse to load if 16-bit support is missing. * tools/winebuild/spec16.c: Use RaiseException instead of RtlRaiseException in 16-bit spec files since they already depend on kernel32. * dlls/kernel/kernel32.spec, dlls/kernel/ne_module.c, tools/winebuild/spec16.c: Renamed __wine_(un)register_dll_16 to __wine_dll_(un)register_16 for consistency with the 32-bit version, and also make the register function use the same prototype as the 32-bit one. * dlls/kernel/kernel16_private.h, dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/resource16.c: Use a memory mapping instead of file I/O to load 16-bit modules. * dlls/ole32/marshal.c: Robert Shearman - Change remaining blocks of code with 2-space indentation to 4-space indentation. - Make vtables const. - Remove an unnecessary memcpy and let the compiler do the work. * dlls/ole32/marshal.c: Robert Shearman Write custom header up to and including size, not excluding. * dlls/msi/package.c, dlls/msi/sql.y, dlls/msi/tests/db.c, dlls/msi/tokenize.c: Mike McCormack Only tables can be backquoted, strings must be single quoted. * dlls/msi/action.c: Juan Lang Don't fail in RegisterFonts if the Fonts table is missing. * programs/winecfg/En.rc, programs/winecfg/driveui.c, programs/winecfg/resource.h: James Hawkins Load Show/Hide Advanced strings from resources. * dlls/dbghelp/dwarf.c: Raphael Junqueira - basic parsing of subprogram, typedef, pointer, class, struct, enum entries - indirect strings support - utilities functions (parse_byte, parse_u2, ...) * include/wine/rpcfc.h: Eric Kohl Define RPC_FC_IGNORE. * include/shlobj.h: Kevin Koltzau Added missing AW define. * include/richole.idl: Kevin Koltzau Add missing typedefs. * dlls/kernel/local16.c, include/local.h: Dimi Paun Rename back local_compact to LOCAL_Compact for consistency. Get rid of no longer used local.h. * dlls/user/user_private.h, windows/syscolor.c, windows/user.c: Dimi Paun Remove LOCAL_*() calls from USER, use Local*16() instead. * tools/wineprefixcreate.in: Stefan Leichter Create link for msiexec.exe in system directory. * dlls/ntdll/directory.c: Juan Lang Implement get_default_drive_device for FreeBSD. 2005-05-18 Alexandre Julliard * dlls/ntdll/heap.c, include/thread.h: Removed last dependencies on 16-bit headers from ntdll. * dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c: Robert Shearman Implement IROTData::GetComparisonData for file & item monikers. * dlls/kernel/kernel16_private.h, dlls/ntdll/loader.c, include/module.h: Moved entry point definitions from module.h to kernel16_private.h. * dlls/devenum/Makefile.in, dlls/devenum/createdevenum.c: Maarten Lankhorst Add vfwindex when enumerating devices, and make sure every device has a unique registry key, so multiple devices with same name are allowed. * dlls/kernel/ne_module.c, tools/winebuild/build.h, tools/winebuild/res16.c, tools/winebuild/spec16.c: Generate the 16-bit module header in the standard on-disk format, so that winebuild doesn't need to know about kernel internal structures. * dlls/devenum/mediacatenum.c: Maarten Lankhorst Pass property bag to IPersistPropertyBag, if supported. * configure, configure.ac, dlls/kernel/cpu.c, dlls/kernel/time.c, include/config.h.in: Emmanuel Maillard Added Darwin 8.0 specific headers. * dlls/kernel/ne_module.c: Split the module building functionality of NE_LoadExeHeader into separate functions. * dlls/msi/cond.y: Aric Stewart A few small fixes. * dlls/msi/action.c: Aric Stewart We cannot internally load the files in FileCost because that action may be skipped or not called. So do it in CostInitialize. Quote the file path in SelfRegModules. Do not write squished null guids to the feature registration. * dlls/qcap/capturegraph.c: Maarten Lankhorst Fixed SetFilterGraph failure. Added debug info. Added ObjectRefCount info for DllCanUnloadNow. * dlls/kernel/kernel32.spec, dlls/user/cursoricon.c, dlls/user/user16.c, include/module.h: Removed implementation of LoadDIBIconHandler16 and LoadDIBCursorHandler16 since they are no longer used, and stop exporting NE_DefResourceHandler. * dlls/qcap/Makefile.in, dlls/qcap/pin.c, dlls/qcap/pin.h: Maarten Lankhorst Add pin functions from quartz. * dlls/crypt32/Makefile.in, dlls/crypt32/protectdata.c: Kees Cook Define structures for CryptProtectData/CryptUnprotectData calls. * dlls/kernel/tests/pipe.c, dlls/oleaut32/tests/olefont.c, dlls/oleaut32/tests/safearray.c, dlls/oleaut32/tests/vartest.c, dlls/shlwapi/tests/clsid.c, dlls/shlwapi/tests/ordinal.c, dlls/shlwapi/tests/path.c, dlls/shlwapi/tests/shreg.c, dlls/shlwapi/tests/string.c, programs/expand/expand.c, programs/rpcss/rpcss_main.c, programs/uninstaller/main.c, programs/winecfg/drive.c, programs/winemine/main.c, programs/winhelp/hlp2sgml.c: Pierre d'Herbemont Remove stdlib.h inclusion if winsock.h is included. * dlls/qcap/enumpins.c, dlls/qcap/qcap_main.c: Maarten Lankhorst DllCanUnloadNow fix. Fixed ObjRefCount for EnumPins. * dlls/comctl32/listview.c: James Hawkins - Store the click point in LISTVIEW_INFO. - Move mouse tracking to MouseMove. - Use DragDetect instead of TrackMouse. - Remove the unused TrackMouse function. * dlls/dbghelp/msc.c: Fixed a couple of warnings. * dlls/quartz/filtergraph.c: Maarten Lankhorst Added reconnect function for filtergraph. * dlls/quartz/memallocator.c: Maarten Lankhorst Fixed freeing of mediatype. * include/wine/list.h: Dimi Paun Document the more convenient iteration method. * include/wincrypt.h: Kees Cook Define CryptProtectData/CryptUnprotectData crypt32.dll calls. * dlls/msi/action.c, dlls/msi/action.h: Aric Stewart Correctly use short filenames from uncompressed file sources. Also default feature and component install states to ABSENT instead of UNKNOWN. * dlls/kernel/kernel16_private.h, dlls/kernel/ne_module.c, dlls/kernel/snoop16.c: Changed SNOOP16_RegisterDLL to take a module handle instead of pointer. Moved snoop function prototypes to kernel16_private.h. * dlls/ntdll/loader.c: Moved import tracing to a separate channel so that +module traces don't contain too much noise. * dlls/gdi/gdiobj.c: Dimi Paun Remove the LOCAL_*() functions from GDI. * programs/winecfg/driveui.c: James Hawkins Add handling for drive options. * dlls/kernel/toolhelp.c: Dimi Paun Remove the LOCAL_*() function calls from KERNEL. * dlls/comctl32/listview.c: Felix Nawothnig Resize listview column to autofit on a doubleclick on the header-divider. * dlls/dbghelp/dwarf.c: Raphael Junqueira - add some Dwarf2 enums - abbrev entries parser (with attributes) - debug info parser skeleton (see big tag swith in dwarf2_parse). * dlls/ntdll/exception.c: Dimi Paun Use the more idiomatic form of iterating through the list. * dlls/ntdll/virtual.c: Dimi Paun Make the argument comments out-of-line. * dlls/msi/action.c: Aric Stewart Some error messages and strcmp changes suggested by Dmitry. * dlls/ole32/storage32.c: Pierre d'Herbemont Big Endian specific code fixes in order to conform with NONAMELESSSTRUCT. * dlls/shell32/shlfolder.c: Kouji Sasaki Added the processing for determination of SFGAO_HASSUBFOLDER flag in SHELL32_GetItemAttribute function. * include/commctrl.h: Kouji Sasaki Exchanged the values for LVA_ALIGNLEFT style and LVA_DEFAULT style. * programs/winhelp/hlpfile.c: Kouji Sasaki Corrected RLE decompression processing. * dlls/dbghelp/msc.c, dlls/dbghelp/path.c: Raphael Junqueira Fix open_pdb_file (used for locate/open pdbs): - pdb_match heuristic now only stop when "first file" exists - SymFindFileInPath now fill output buffer with a valid value on success. 2005-05-17 Alexandre Julliard * dlls/devenum/devenum.spec, dlls/devenum/devenum_main.c, dlls/dmcompos/dmcompos.spec, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/regsvr.c, dlls/dmime/dmime.spec, dlls/dmime/dmime_main.c, dlls/dmime/regsvr.c, dlls/dmstyle/dmstyle.spec, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/regsvr.c, dlls/dsound/dsound.spec, dlls/dsound/dsound_main.c, dlls/dsound/regsvr.c, dlls/hhctrl.ocx/hhctrl.ocx.spec, dlls/hhctrl.ocx/regsvr.c, dlls/olepro32/olepro32.spec, dlls/olepro32/olepro32stubs.c, dlls/quartz/main.c, dlls/quartz/quartz.spec, dlls/quartz/regsvr.c, dlls/rsaenh/rsaenh.c, dlls/rsaenh/rsaenh.spec, dlls/shdocvw/regsvr.c, dlls/shdocvw/shdocvw.spec, dlls/shdocvw/shdocvw_main.c: Robert Shearman Rename MODULENAME_Dll* functions to Dll* for better consistency and type checking. * dlls/kernel/kernel16_private.h, dlls/kernel/local16.c, dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/relay16.c, dlls/kernel/resource16.c, dlls/kernel/snoop16.c, dlls/kernel/task.c: Renamed some fields in NE_MODULE to use the same name as in the exported IMAGE_OS2_HEADER structure. * dlls/gdi/gdiobj.c: Dimi Paun Use standard TRACE macro. * programs/msiexec/msiexec.c: Robert Shearman Rename DllRegisterServer and DllUnregisterServer to avoid confusion with the COM functions of different signatures. * include/objbase.h: Robert Shearman Add Wine-only type checking for DllRegisterServer and DllUnregisterServer. * dlls/dbghelp/Makefile.in, dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/dwarf.c, dlls/dbghelp/elf_module.c: Raphael Junqueira Beginning of dbghelp dwarf2 support: - add elf_module entry for dwarf2_parse - stubbed dwarf2_parse in new dwarf.c file * dlls/user/edit.c: Dimi Paun Use standard Local*16() functions instead of LOCAL_*() ones. * dlls/qcap/Makefile.in, dlls/qcap/enumpins.c: Maarten Lankhorst Added EnumPins from quartz for internal use. * dlls/kernel/kernel16_private.h, dlls/kernel/ne_module.c, include/module.h, tools/winebuild/spec16.c: Use the exported IMAGE_OS2_HEADER to generate the module header in the spec file, and moved the NE_MODULE structure definition to kernel16_private.h. * programs/winecfg/En.rc, programs/winecfg/resource.h: James Hawkins Add ShowDirSymLink and ShowDotFiles to the drive ui. * dlls/comctl32/tab.c: James Hawkins Fixed centering of tab text. * dlls/qcap/dllsetup.c: Maarten Lankhorst Fixed initialisation crash on loading qcap dll. * dlls/ole32/ole2.c: Juan Lang Obvious fixes to PropVariantClear and PropVariantCopy for vector types. * dlls/qcap/enummedia.c: Maarten Lankhorst Fixed qcap's inherited enummedia bugs. 2005-05-16 Alexandre Julliard * dlls/ole32/stg_prop.c: Juan Lang Add a comment, and a no-op cleanup. * dlls/msi/action.c, include/msidefs.h: Aric Stewart Correct a problem with parse_data if binary data was not in full bytes. More properly handle uncompressed file sources, fix the creating and parsing of Source Directories. * programs/winefile/Cs.rc, programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Es.rc, programs/winefile/Fr.rc, programs/winefile/Hu.rc, programs/winefile/It.rc, programs/winefile/Makefile.in, programs/winefile/Nl.rc, programs/winefile/Pl.rc, programs/winefile/Pt.rc, programs/winefile/Ru.rc, programs/winefile/Si.rc, programs/winefile/Sv.rc, programs/winefile/Zh.rc, programs/winefile/resource.h, programs/winefile/winefile.c: Martin Fuchs Implement connecting and disconnecting of network drives. * dlls/kernel/atom16.c, dlls/kernel/debugger.c, dlls/kernel/global16.c, dlls/kernel/instr.c, dlls/kernel/kernel16_private.h, dlls/kernel/kernel_main.c, dlls/kernel/kernel_private.h, dlls/kernel/local16.c, dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/relay16.c, dlls/kernel/resource16.c, dlls/kernel/snoop16.c, dlls/kernel/system.c, dlls/kernel/task.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, include/module.h: Moved a bunch of definitions out of module.h into a new kernel16_private.h header. * configure, configure.ac, dlls/Makefile.in, dlls/odbccp32/.cvsignore, dlls/odbccp32/Makefile.in, dlls/odbccp32/odbccp32.c, dlls/odbccp32/odbccp32.spec: Mike McCormack Initial mostly stub implementation of ODBC control panel. * server/token.c: Robert Shearman Add user attribute to token objects. * dlls/ole32/stg_prop.c: Juan Lang Differentiate between version 0 and version 1 property storages. * dlls/dbghelp/stack.c, dlls/kernel/comm.c, dlls/kernel/instr.c, dlls/kernel/kernel_main.c, dlls/kernel/locale.c, dlls/kernel/syslevel.c, dlls/kernel/task.c, dlls/kernel/thread.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, dlls/ntdll/file.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/path.c, dlls/ntdll/signal_i386.c, dlls/ntdll/sync.c, dlls/user/winproc.c, include/winternl.h: Removed the special casing of kernel32 and ntdll for the TEB definition in winternl.h. * dlls/kernel/atom16.c, dlls/kernel/debugger.c, dlls/kernel/error16.c, dlls/kernel/global16.c, dlls/kernel/kernel_main.c, dlls/kernel/kernel_private.h, dlls/kernel/local16.c, dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/relay16.c, dlls/kernel/snoop16.c, dlls/kernel/system.c, dlls/kernel/task.c, dlls/kernel/thunk.c, dlls/kernel/toolhelp.c, dlls/kernel/wowthunk.c, include/local.h, include/stackframe.h: Moved the remaining stack frame definitions to kernel_private.h and removed stackframe.h. * dlls/dbghelp/stack.c, dlls/user/winproc.c, dlls/user/wnd16.c, programs/winedbg/stack.c, tools/winebuild/relay.c, tools/winebuild/spec16.c: Avoid referencing stackframe.h from outside kernel32. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/ole2.c, dlls/ole32/ole2_16.c, dlls/ole32/ole32_main.c, dlls/ole32/ole32_main.h: Marcus Meissner Move the Dll init function to compobj.c to avoid having global variables. Remove need of ole32_main.h. * programs/winefile/Cs.rc, programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Es.rc, programs/winefile/Fr.rc, programs/winefile/Hu.rc, programs/winefile/It.rc, programs/winefile/Nl.rc, programs/winefile/Pl.rc, programs/winefile/Pt.rc, programs/winefile/Ru.rc, programs/winefile/Si.rc, programs/winefile/Zh.rc, programs/winefile/resource.h, programs/winefile/winefile.c: Martin Fuchs Implement menu entry "format disk" (derived from Robert Dickenson's code). * dlls/advapi32/registry.c, dlls/ntdll/reg.c: Robert Shearman Implement RegNotifyChangeKeyValue on top of NtNotifyChangeKey. * dlls/kernel/local16.c: Dimi Paun Use the standard Local*16() instead of LOCAL_*() functions. * dlls/dinput/device.c: Robert Reif Effect objects are not supported yet so don't crash when trying to enumerate them. * dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/relay16.c, dlls/kernel/snoop16.c, dlls/winedos/relay.c, include/builtin16.h, include/stackframe.h, include/wine/winbase16.h, tools/winebuild/spec16.c: Moved data structures for 16-bit relay calls to winbase16.h and removed builtin16.h. * dlls/rsaenh/rsaenh.c: Kees Cook Avoid segfault in hash update with corrupted decrypt data. * dlls/riched20/run.c: Michael Stefaniuc Change an assert to a WARN. * dlls/gdi/path.c: Felix Nawothnig Keep width for cosmetic pens, don't use LPtoDP() for widths and convert the dashes for PS_USERSTYLE pens into device units. * dlls/advapi32/eventlog.c, dlls/riched20/editor.c, dlls/richedit/richedit.c, dlls/rpcrt4/ndr_stubless.c: Vincent Béron Provide minimal API documentation in advapi/eventlog.c to silence some winapi_check output. Move around functions in riched20, richedit and rpcrt4 to achieve the same goal. * dlls/rsaenh/rsaenh.c: Kees Cook Avoid segfault when detecting decryption buffer size. * dlls/msvcrt/file.c, dlls/msvcrt/tests/file.c: Uwe Bonnes Correct return value of fsetpos. * dlls/setupapi/queue.c: Ivan Leo Puoti Minor fix in SetupQueueCopySectionW. * dlls/kernel/local16.c: Dimi Paun Avoid using some LOCAL_*() functions. * programs/winefile/Sv.rc, programs/winefile/rsrc.rc: Martin Fuchs Swedish translation of winefile resources by David Nordenberg, proofread by Andreas Bjerkeholt. * programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Es.rc, programs/winefile/Fr.rc, programs/winefile/Hu.rc, programs/winefile/It.rc, programs/winefile/Nl.rc, programs/winefile/Pt.rc, programs/winefile/Ru.rc, programs/winefile/Si.rc, programs/winefile/Zh.rc, programs/winefile/resource.h, programs/winefile/winefile.c: Martin Fuchs Implement switching of file sort order. * include/shlobj.h: Martin Fuchs Define flags for SHFormatDrive(). * dlls/dbghelp/stabs.c: Hans Leidekker Silence some unknown stab type messages. * dlls/ole32/ole16.c: Marcus Meissner Make _xmalloc16() static. * dlls/ole32/ftmarshal.c: Marcus Meissner Staticify FTMarshalImpl definition. * dlls/ole32/hglobalstream.c: Marcus Meissner Make HGLOBALStream_* functions static. * include/.cvsignore, include/Makefile.in, include/msxml.idl, include/msxmldid.h: Mike McCormack Added some xml headers. * tools/winapi/win16.api, tools/winapi/win32.api: Vincent Béron Update win16.api and win32.api to keep up with current Wine development. * dlls/ntdll/ntdll.spec, dlls/unicows/unicows.spec: Vincent Béron Correct arg count for 3 functions in ntdll.spec and unicows.spec. * dlls/user/sysparams.c, include/winuser.h: Michael Stefaniuc Add some SystemParametersInfo SPI_* defines. * dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c, dlls/dinput/tests/joystick.c: Robert Reif Pass around real version and do correct thing based on it. Change cooperative level to pass on windows. * dlls/ole32/stg_prop.c: Juan Lang Store property names in the code page of the property set. 2005-05-14 Alexandre Julliard * programs/winefile/resource.h, programs/winefile/resource.rc, programs/winefile/winefile.c: Martin Fuchs - spelling fixes (prefered -> preferred) - add ", {0, 0}, 0, 0" in comment lines - update copyright statement * dlls/ole32/moniker.c, dlls/ole32/tests/moniker.c: Jeff Latimer Implement the IEnumMoniker interface for the ROT and provide tests to exercise the interface. * dlls/gdi/path.c: Felix Nawothnig Convert pen width to DP in StrokePath(). * dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/midi.c: Mike McCormack Set thread priorities to time critical. * dlls/user/tests/win.c, dlls/user/win.c: Paul Vriens Check for a NULL pointer in GetWindowTextA/W. * dlls/ntdll/directory.c: Robert Lunnon Implement get_default_drive_device for Solaris. * dlls/gdi/gdiobj.c, dlls/kernel/kernel32.spec, dlls/kernel/local16.c, include/local.h, windows/user.c: Dimi Paun Make LOCAL_*() just wrappers around Local*16() functions. * dlls/dbghelp/stack.c, dlls/kernel/kernel_main.c, dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/system.c, dlls/kernel/task.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, dlls/ntdll/signal_i386.c, dlls/user/winproc.c, include/stackframe.h, include/thread.h, tools/winebuild/build.h: Store the 16-bit stack pointer in the WOW32Reserved TEB field. * dlls/ntdll/atom.c, server/atom.c: Fixed a number of atom test failures. * dlls/winsock/socket.c, include/thread.h: Store the winsock per-thread data in NtCurrentTeb()->WinSockData instead of using TlsAlloc. * server/queue.c: Fixed another case where a mouse message could get assigned to a different thread input. * programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/resource.h, programs/winefile/winefile.c: Martin Fuchs Display free and total disk space in status bar. * dlls/gdi/path.c: Felix Nawothnig Draw each figure as a single primitive in StrokePath(). * dlls/msvcrt/data.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/time.c: Juan Lang - move _timezone to time.c, and correct its type - implement _tzset, and initialize _daylight, _timezone, and _tzname from libc values * dlls/shell32/shlexec.c: Juan Lang - only log unsupported flags in ShellExecute - environment variables are expanded, so SEE_MASK_DOENVSUBST is supported * dlls/ole32/stg_prop.c, dlls/ole32/storage32.c, dlls/ole32/storage32.h: Juan Lang - maintain proper byte order - maintain PROPSETFLAG_ANSI flag based on codepage - update comments * dlls/cabinet/cabinet.h, dlls/cabinet/fci.c: Gerold Jens Wucherpfennig Initial FCI work (FCICreate and FCIDestroy). * dlls/qcap/Makefile.in, dlls/qcap/enummedia.c, dlls/qcap/qcap_main.h: Rolf Kalbermatter Add IEnumMediaType object for use by other class objects. This is taken from quartz with only minor adaptions. * dlls/comctl32/header.c: Felix Nawothnig Rewrote item layouting - new code fixes bitmap/image position for non-left-aligned text, prevents jumping when resizing non-left-aligned text, implements clipping for images and correctly aligns bitmaps when an image is already there. 2005-05-13 Alexandre Julliard * dlls/commdlg/fontdlg.c: Don't convert the template name to Unicode, it's not used by the dialog anyway. Clear the window property on WM_DESTROY. * dlls/shell32/.cvsignore, dlls/shell32/Makefile.in, dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shres.rc, dlls/shell32/shresdef.h, tools/wine.inf: Ge van Geldorp Overlay icons for .lnk files with a small arrow in the lower left corner. * programs/winefile/winefile.c: Martin Fuchs Display source path in "move file" dialog. * dlls/ole32/git.c: Mike McCormack Remove function prototypes. * dlls/riched20/editor.c: Krzysztof Foltman Added stubs for a couple of missing 2.0 and 3.0 messages. * programs/winefile/Cs.rc, programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Es.rc, programs/winefile/Fr.rc, programs/winefile/Hu.rc, programs/winefile/It.rc, programs/winefile/Nl.rc, programs/winefile/Pl.rc, programs/winefile/Pt.rc, programs/winefile/Ru.rc, programs/winefile/Si.rc, programs/winefile/Zh.rc, programs/winefile/resource.h: Martin Fuchs Replace numeric resource identifiers by their defined constants. * dlls/secur32/Makefile.in, dlls/secur32/schannel.c, dlls/secur32/secur32.c, dlls/secur32/secur32_priv.h: Juan Lang Begin stubs of built-in schannel provider. * dlls/msvcrt/except.c, dlls/msvcrt/main.c, dlls/msvcrt/msvcrt.h, include/Makefile.in, include/msvcrt/float.h, include/msvcrt/signal.h: Juan Lang Implement signals. * dlls/ole32/tests/Makefile.in: Hans Leidekker Don't import from ntdll. * dlls/user/painting.c: Process the pending expose events on RDW_UPDATENOW before doing the redraw_window server call so that the parent windows get properly validated if necessary. * server/queue.c: Only set the new window of a hardware message if the window belongs to the same thread input, otherwise just drop the message. * dlls/shell32/shelllink.c: Mike McCormack Remove some unused include files. * dlls/opengl32/opengl_ext.h: Added yet another missing OpenGL define. * dlls/ole32/storage32.c, dlls/ole32/storage32.h, dlls/ole32/tests/storage32.c: Mike McCormack Make sure a stream can't be created in read only storage. * dlls/user/win.c: Dmitry Timoshkov Avoid a crash in free_window_handle() on an invalid window handle. * dlls/Makefile.in, dlls/make_dlls: Build import libraries also when only doing an install-lib. * dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick_linux.c, dlls/dinput/tests/joystick.c: Robert Reif Fix SetProperty error returned. Add EnumDevice joystick version check. Test multiple versions. * dlls/ntdll/exception.c: Mike Hearn Make unimplemented function message a bit prettier. * dlls/msi/action.c, dlls/msi/msipriv.h: Aric Stewart - ExecuteAction runs the whole Execute table and not just from InstallValidate onward. To do this make sure we do not do the costing initialization work again if it is already done (by checking the CostingComplete Property). - A lot of work to refine feature states, setting the state affects the state of all child features and also respect features that want to default to something other than LOCAL. * dlls/ntdll/nt.c: Paul Vriens Added (stubbed) SystemDriverInformation and SystemInterruptInformation. * programs/notepad/main.c: Kevin Koltzau Enable/disable menu items based on edit control state. * dlls/rpcrt4/rpc_server.c: Robert Shearman - Fix RpcServerListen so that it doesn't return RPC_S_ALREADY_LISTENING when the only interfaces it is listening on are auto listens. - Only synchronize with server thread when necessary and move this into RpcMgmtWaitServerListen. * dlls/shell32/shfldr_unixfs.c: Michael Jung Replace '\\' by '/' in strings passed to ParseDisplayName to be able to handle DOS-style relative paths. 2005-05-12 Alexandre Julliard * dlls/ole32/compobj_private.h, dlls/ole32/filemoniker.c: Mike McCormack Remove unnecessary declarations and make functions static. * dlls/comctl32/tab.c: Aric Stewart Handle WM_NCCALCSIZE in the tab control. * dlls/shell32/shell32_main.c: Mike McCormack Split SHGetFileInfoW into two functions. * dlls/x11drv/clipboard.c: Dmitry Timoshkov Do not pass an invalid target buffer info to WideCharToMultiByte. * dlls/commdlg/filedlgbrowser.c: Mike Hearn Fix return code abuse. * dlls/shell32/shfldr_unixfs.c: Michael Lin - Implement IPersistFolder2. - Retrieve the correct attributes in ParseDisplayName(). * dlls/opengl32/wgl.c, dlls/opengl32/wgl_ext.c: Raphael Junqueira - better robustness of pbuffer code (checks, SetLastError as specs, etc...). - better heuristic for WGL_render_texture and first try of WGL_render_texture "emulation" using Pbuffers (deactivated by default) - more traces * include/Makefile.in, include/schannel.h, include/schnlsp.h: Juan Lang Added schannel header files. * dlls/msvcrt/file.c: Flush output buffers from _close() rather than MSVCRT_fclose(). * dlls/ntdll/time.c: Gabriel Gambetta Added UYT to TZ_INFO. 2005-05-11 Alexandre Julliard * dlls/user/property.c, include/wine/server_protocol.h, server/protocol.def, server/trace.c, server/window.c: Allow passing a string to the window property server requests instead of an atom to avoid redundant server round-trips. * server/atom.c, server/object.h: Changed atom handling to use counted strings instead of null-terminated ones, avoiding the need for a temporary buffer. * documentation/README.pt_br: Dimi Paun Fix spelling errors discovered by Marcelo Duarte. * include/winternl.h: Paul Vriens Sorted some of the structs and made them consistent. * programs/winefile/winefile.c: Martin Fuchs Improved version of Piotr Caban's bugfix patch "Fixed display bug". * include/evntrace.h: Added a few missing structure names. * dlls/oleaut32/tmarshal.c: Robert Shearman Use I_RpcGetBuffer instead of HeapReAlloc for getting the Buffer memory. * dlls/ole32/moniker.c: Mike McCormack Make functions static and remove unnecessary declarations. * dlls/riched20/run.c, dlls/riched20/style.c: Ivan Leo Puoti Fix crash in ME_GetRunSizeCommon(). Turn a FIXME into a TRACE. * dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/atom.c: Eric Pouech Some tests for NTDLL atom support (by György 'Nog' Jeney). * dlls/ntdll/Makefile.in, dlls/ntdll/atom.c, dlls/ntdll/ntdll.spec, include/winternl.h: Eric Pouech Implemented NTDLL atom support. * dlls/user/hook.c, dlls/user/message.c, dlls/user/user_private.h, include/wine/server_protocol.h, server/hook.c, server/protocol.def, server/queue.c, server/trace.c, server/user.h: Store a bitmap of active hooks on the client side to try to avoid server calls for hooks that are not set. * dlls/advapi32/advapi32.spec, dlls/advapi32/eventlog.c, include/evntrace.h: Aric Stewart Add a stub implementation of RegisterTraceGuids. * dlls/msi/msiquery.c, dlls/msi/table.c: Mike McCormack Avoid some non-standard str functions. * dlls/kernel/kernel32.spec, dlls/kernel/locale.c: Mike McCormack Stub implementation for GetGeoInfo. * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Mike McCormack Add a stub implementation of CoIsHandlerConnected. * dlls/msvideo/msvideo_main.c: Mike McCormack Correct the function name in a comment. * configure, configure.ac, dlls/dinput/Makefile.in, dlls/dinput/tests/.cvsignore, dlls/dinput/tests/Makefile.in, dlls/dinput/tests/dinput_test.h, dlls/dinput/tests/joystick.c, dlls/dinput/tests/keyboard.c, dlls/dinput/tests/mouse.c, programs/winetest/Makefile.in: Robert Reif Added dinput tests. * dlls/gdi/enhmfdrv/bitblt.c: Mike McCormack Check that GetObject is successful. * dlls/ntdll/ntdll.spec: Mike McCormack ZwQueryTimer should forward to NtQueryTimer. * dlls/kernel/kernel32.spec: Mike McCormack Add Module32FirstW and Module32NextW exports. * dlls/comctl32/updown.c: Dimi Paun Make it more explicit how we deal with WS_DISABLED. * dlls/msi/msi.c: Stefan Leichter Added minimal implementation of MsiCreateAndVerifyInstallerDirectory. * include/winbase.h, programs/taskmgr/perfdata.h: Dimitrie O. Paun Move {ABOVE,BELOW}_NORMAL_PRIORITY_CLASS to winbase.h. * dlls/msvcrt/tests/printf.c: Add test for correctly interpreting %% printf format string conversion specifier. 2005-05-10 Alexandre Julliard * documentation/README.de, documentation/README.es, documentation/README.fr, documentation/README.it, documentation/README.pt, documentation/README.pt_br: Dimitrie O. Paun Update README translations to match the latest changes to the English README. * programs/Makefile.in, programs/make_progs: Michael Stefaniuc Install msiexec in the bin directory. * dlls/kernel/kernel_main.c, dlls/kernel/selector.c, dlls/kernel/wowthunk.c, dlls/winedos/dosaspi.c, dlls/winedos/int09.c, dlls/winedos/int10.c, dlls/winedos/int16.c, dlls/winedos/int19.c, dlls/winedos/int1a.c, dlls/winedos/int29.c, dlls/winedos/int2f.c, dlls/winedos/int33.c, dlls/winedos/int67.c, dlls/winedos/ppdev.c, dlls/winedos/vga.c, include/miscemu.h: Eric Pouech Get rid of include/miscemu.h. * dlls/msi/database.c: Mike McCormack - make sure to free the string table when closing the database - don't free szPersist in MsiOpenDatabase if it's not a string * dlls/ole32/storage32.c: Mike McCormack Fix a memory leak in the ole storage implementation. * dlls/kernel/dosmem.c, dlls/kernel/global16.c, dlls/kernel/instr.c, dlls/kernel/kernel32.spec, dlls/kernel/kernel_private.h, dlls/winedos/Makefile.in, dlls/winedos/dosexe.h, dlls/winedos/dosmem.c, dlls/winedos/dosvm.c, dlls/winedos/int21.c, dlls/winedos/int31.c, dlls/winedos/module.c, dlls/winedos/winedos.spec, include/miscemu.h: Eric Pouech Moved DOS memory handling to winedos. * dlls/kernel/atom.c, include/wine/server_protocol.h, server/atom.c, server/process.c, server/process.h, server/protocol.def, server/request.h, server/trace.c: Eric Pouech - changed ATOM support in wineserver to match NTDLL needs - adapted accordingly kernel32 atom support * libs/wine/loader.c: Robert Lunnon Add RTLD_FIRST flag to dlopen calls. * README, configure, configure.ac, documentation/.cvsignore, documentation/Makefile.in, documentation/address-space.sgml, documentation/architecture.sgml, documentation/bugs.sgml, documentation/configuring.sgml, documentation/ddraw.sgml, documentation/debugger.sgml, documentation/debugging.sgml, documentation/documentation.sgml, documentation/faq.sgml, documentation/fonts.sgml, documentation/getting.sgml, documentation/glossary.sgml, documentation/introduction.sgml, documentation/multimedia.sgml, documentation/ole.sgml, documentation/opengl.sgml, documentation/patches.sgml, documentation/printing.sgml, documentation/registry.sgml, documentation/running.sgml, documentation/testing.sgml, documentation/wine-devel.sgml, documentation/wine-faq.sgml, documentation/wine-user.sgml, documentation/winedev-coding.sgml, documentation/winedev-graphical.sgml, documentation/winedev-kernel.sgml, documentation/winedev-otherdebug.sgml, documentation/winedev-windowing.sgml, documentation/winelib-bindlls.sgml, documentation/winelib-intro.sgml, documentation/winelib-mfc.sgml, documentation/winelib-porting.sgml, documentation/winelib-toolkit.sgml, documentation/winelib-user.sgml: Dimi Paun Moved the SGML documentation over to SourceForge. * dlls/Makedll.rules.in, dlls/Makefile.in, dlls/Maketest.rules.in, dlls/make_dlls, programs/Makeprog.rules.in, programs/avitools/Makefile.in: Build and load import libraries directly from the dll directory where possible, and only create symlinks for directories that don't have the correct name. * dlls/user/menu.c, dlls/user/tests/menu.c: Rein Klazes Multi column popup menus have 4 pixel space between the columns. With conformance test. * dlls/dinput/device.c, dlls/dinput/dinput_main.c, dlls/dinput/joystick_linux.c: Robert Reif Fix joystick crash when a button guid is specified in the data format. Add some parameter checking. * dlls/ntdll/tests/info.c: Paul Vriens Added SystemHandleInformation tests. Removed HeapAlloc in test_basic. Renamed test_basic to test_query_basic. * dlls/ntdll/nt.c: Paul Vriens Added (stubbed) SystemHandleInformation. Sorted the list. * include/winternl.h: Paul Vriens Changed SystemHandleList into SystemHandleInformation Unknown18 is now SystemPageFileInformation Some consistency (added numbers to the definitions). * dlls/opengl32/wgl.c: Raphael Junqueira Fix allocated buffer size to avoid buffer overflow. * programs/winecfg/driveui.c: James Hawkins - Remove useless LVN_ITEMACTIVATE notification handling. - Update controls in response to a NM_CLICK notification. * programs/winecfg/driveui.c: James Hawkins Remove old listbox code from driveui. * programs/winecfg/En.rc: James Hawkins Set listview style LVS_SINGLESEL so only one drive can be selected. * include/mapidefs.h: Juan Lang Fix FILETIME to match winbase.h on big-endian machines. * dlls/shell32/cpanelfolder.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c: Juan Lang Fixes to IShellFolder::GetAttributesOf implementations, spotted by silverblade_: - a count of zero is allowed to GetAttributesOf if apidl is NULL - SFGAO_VALIDATE must be cleared upon return * dlls/msvcrt/wcs.c: Interpret %% correctly in printf format string. * dlls/shell32/pidl.c: Mike Hearn Fix SHELL_GetPathFromIDList[AW] to return the desktop path given an empty PIDL. * dlls/msi/appsearch.c, include/msidefs.h: Juan Lang Partially implement AppSearch for RegLocator-type searches. * dlls/x11drv/opengl.c: Raphael Junqueira Fix X11DRV_ChoosePixelFormat to choose 24 bpp as 32 bpp for depth buffers (needed as many X11 drivers only support 24bpp). * dlls/ntdll/time.c: Juan Lang Added Irish Summer Time. 2005-05-09 Alexandre Julliard * dlls/msi/action.c, dlls/msi/dialog.c: Aric Stewart Fix a few leaking object handles. * dlls/commdlg/filedlg.c: Michael Jung Detect drive letters, which have to have a backslash appended, in a more robust way. * dlls/shell32/shfldr_unixfs.c: Michael Jung Support folder relative paths in UnixFolders' ParseDisplayName method. * dlls/wined3d/directx.c: Daniel Lund Added D3DDEVCAPS_HWRASTERIZATION to the DevCaps for scene rasterization. Allows GuildWars to start. * dlls/kernel/comm.c, include/winbase.h: Andreas Mohr Fix for CommConfigDialog*() hwnd argument. * include/winternl.h: Paul Vriens Remove HANDLEINFO struct. Add SYSTEM_HANDLE_INFORMATION and SYSTEM_HANDLE_ENTRY structs. * dlls/opengl32/wgl_ext.c: Aric Cyr Fix WGL_ACCELERATION_ARB queries from applications. * dlls/winsock/socket.c: Eric Pouech Some fixes on async shutdown. * dlls/opengl32/opengl_ext.h: Francois Gouget Define GLX_SAMPLE_BUFFERS_ARB and GLX_SAMPLES_ARB if they were not defined by the OpenGL headers. * dlls/Makedll.rules.in, dlls/Makefile.in, dlls/advapi32/Makefile.in, dlls/advpack/Makefile.in, dlls/amstream/Makefile.in, dlls/atl/Makefile.in, dlls/avicap32/Makefile.in, dlls/avifil32/Makefile.in, dlls/cabinet/Makefile.in, dlls/capi2032/Makefile.in, dlls/cards/Makefile.in, dlls/cfgmgr32/Makefile.in, dlls/comcat/Makefile.in, dlls/comctl32/Makefile.in, dlls/make_dlls, dlls/commdlg/Makefile.in, dlls/crtdll/Makefile.in, dlls/crypt32/Makefile.in, dlls/cryptdll/Makefile.in, dlls/ctl3d/Makefile.in, dlls/d3d8/Makefile.in, dlls/d3d9/Makefile.in, dlls/d3dim/Makefile.in, dlls/d3drm/Makefile.in, dlls/d3dx8/Makefile.in, dlls/d3dxof/Makefile.in, dlls/dbghelp/Makefile.in, dlls/dciman32/Makefile.in, dlls/ddraw/Makefile.in, dlls/devenum/Makefile.in, dlls/dinput/Makefile.in, dlls/dinput8/Makefile.in, dlls/dmband/Makefile.in, dlls/dmcompos/Makefile.in, dlls/dmime/Makefile.in, dlls/dmloader/Makefile.in, dlls/dmscript/Makefile.in, dlls/dmstyle/Makefile.in, dlls/dmsynth/Makefile.in, dlls/dmusic/Makefile.in, dlls/dmusic32/Makefile.in, dlls/dplay/Makefile.in, dlls/dplayx/Makefile.in, dlls/dpnet/Makefile.in, dlls/dpnhpast/Makefile.in, dlls/dsound/Makefile.in, dlls/dswave/Makefile.in, dlls/dxdiagn/Makefile.in, dlls/gdi/Makefile.in, dlls/glu32/Makefile.in, dlls/glut32/Makefile.in, dlls/iccvid/Makefile.in, dlls/icmp/Makefile.in, dlls/imagehlp/Makefile.in, dlls/imm32/Makefile.in, dlls/iphlpapi/Makefile.in, dlls/itss/Makefile.in, dlls/kernel/Makefile.in, dlls/lzexpand/Makefile.in, dlls/mapi32/Makefile.in, dlls/mlang/Makefile.in, dlls/mpr/Makefile.in, dlls/msacm/Makefile.in, dlls/mscms/Makefile.in, dlls/msdmo/Makefile.in, dlls/mshtml/Makefile.in, dlls/msi/Makefile.in, dlls/msimg32/Makefile.in, dlls/msnet32/Makefile.in, dlls/msrle32/Makefile.in, dlls/msvcrt/Makefile.in, dlls/msvcrt20/Makefile.in, dlls/msvcrt40/Makefile.in, dlls/msvcrtd/Makefile.in, dlls/msvidc32/Makefile.in, dlls/msvideo/Makefile.in, dlls/mswsock/Makefile.in, dlls/netapi32/Makefile.in, dlls/newdev/Makefile.in, dlls/ntdll/Makefile.in, dlls/odbc32/Makefile.in, dlls/ole32/Makefile.in, dlls/oleacc/Makefile.in, dlls/oleaut32/Makefile.in, dlls/olecli/Makefile.in, dlls/oledlg/Makefile.in, dlls/olepro32/Makefile.in, dlls/olesvr/Makefile.in, dlls/opengl32/Makefile.in, dlls/powrprof/Makefile.in, dlls/psapi/Makefile.in, dlls/qcap/Makefile.in, dlls/quartz/Makefile.in, dlls/rasapi32/Makefile.in, dlls/riched20/Makefile.in, dlls/richedit/Makefile.in, dlls/rpcrt4/Makefile.in, dlls/rsabase/Makefile.in, dlls/rsaenh/Makefile.in, dlls/secur32/Makefile.in, dlls/sensapi/Makefile.in, dlls/serialui/Makefile.in, dlls/setupapi/Makefile.in, dlls/shdocvw/Makefile.in, dlls/shell32/Makefile.in, dlls/shfolder/Makefile.in, dlls/shlwapi/Makefile.in, dlls/snmpapi/Makefile.in, dlls/sti/Makefile.in, dlls/tapi32/Makefile.in, dlls/twain/Makefile.in, dlls/unicows/Makefile.in, dlls/url/Makefile.in, dlls/urlmon/Makefile.in, dlls/user/Makefile.in, dlls/uxtheme/Makefile.in, dlls/vdmdbg/Makefile.in, dlls/version/Makefile.in, dlls/win32s/Makefile.in, dlls/winaspi/Makefile.in, dlls/wined3d/Makefile.in, dlls/winedos/Makefile.in, dlls/wininet/Makefile.in, dlls/winmm/Makefile.in, dlls/winnls/Makefile.in, dlls/winsock/Makefile.in, dlls/winspool/Makefile.in, dlls/wintab32/Makefile.in, dlls/wintrust/Makefile.in, dlls/wow32/Makefile.in, dlls/wsock32/Makefile.in, dlls/wtsapi32/Makefile.in: Added rules for building import libraries in the individual dll makefiles, and added support for building a .def.a static import library too. * tools/winegcc/winegcc.c: For each imported dll, check if there is a static library with the same base name as the import library, and if yes add it to the library list. * include/winternl.h: Paul Vriens Remove the not used PROCESS_INFO struct. * programs/winecfg/En.rc, programs/winecfg/driveui.c: James Hawkins Use a listview instead of a listbox for drives list. * tools/wineshelllink: Laurent Blume Replace the test of the which command for type command to get similar behaviour on all OSes. * dlls/ole32/stg_prop.c: Juan Lang Correct/improve error checking in IPropertyStorage. * server/token.c, tools/wrc/wrctypes.h: Michael Stefaniuc Change the type of 1 bit wide bitfields to unsigned. * dlls/shell32/shfldr_unixfs.c: Michael Jung Always pass fully qualified paths to stat system call. * server/named_pipe.c: Eric Pouech Fixed a wrong ops when creating named pipe client. * dlls/shell32/shres.rc: Huw Davies It makes no sense to have a left pointing arrow as the desktop icon. Replace it with something more appropiate. * dlls/dinput/mouse.c: Lionel Ulmer - Windows reports 0x80 on pressed buttons not 0xFF - trace the events reported to the application * dlls/comctl32/ipaddress.c: Felix Nawothnig Implemented WM_ENABLE. * dlls/dsound/buffer.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c: Robert Reif Remove dead code and redundant variables from DSOUND_CalcPlayPosition and callers. * programs/notepad/De.rc, programs/regedit/De.rc, programs/uninstaller/De.rc: Henning Gerhardt Update German resource files. 2005-05-07 Alexandre Julliard * tools/winebuild/import.c, tools/winebuild/parser.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Removed no longer used support for 32-bit register entry points. * dlls/Makedll.rules.in, tools/c2man.pl: William Poetra Yoga H Support building man pages outside of the source directory. * dlls/kernel/heap.c, dlls/kernel/kernel32.spec, dlls/kernel/krnl386.exe.spec, dlls/kernel/ne_module.c, dlls/kernel/selector.c, dlls/kernel/thunk.c, dlls/kernel/vxd.c: Converted all the kernel32 register functions to the DEFINE_REGS_ENTRYPOINT mechanism. * dlls/qcap/Makefile.in, dlls/qcap/capturegraph.c, dlls/qcap/qcap_main.c: Rolf Kalbermatter Implement ICaptureGraphBuilder and IcaptureGraphBuilder2 based on Maarten Lankhorst's patch. * dlls/msvcrt/cppexcept.c, dlls/msvcrt/except.c, dlls/ntdll/exception.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/rtl.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, include/wine/port.h: Prefix the internal name of all register functions with __regs_ for better consistency and to make automated checking possible. * programs/winecfg/En.rc, programs/winecfg/appdefaults.c, programs/winecfg/properties.c, programs/winecfg/resource.h: Get rid of the DOS version combobox, normal users should never need to change it. * dlls/qcap/Makefile.in, dlls/qcap/dllsetup.c, dlls/qcap/dllsetup.h, dlls/qcap/qcap.spec, dlls/qcap/qcap_main.c, dlls/qcap/qcap_main.h: Rolf Kalbermatter Implement DLL registering and unregistering functions, class factory and server locking based on how it is done with DirectX samples. * dlls/x11drv/graphics.c: Rein Klazes Don't set the pen width to 1 in X11DRV_PolyLine. * tools/winebuild/import.c: Use RaiseException instead of RtlRaiseException for delayed entry points load failure to avoid creating a dependency on ntdll. * dlls/user/win.c, server/user.c: Treat 0xffff the same as 0 for the handle generation field to avoid sign extension problems. * configure, configure.ac, include/config.h.in, libs/port/futimes.c: Robert Lunnon Implement futimes for Solaris using futimesat. * dlls/ntdll/time.c: Francois Gouget Add the 'Western European Summer Time' (WEST) timezone (reported by José Melo). * programs/winemenubuilder/winemenubuilder.c: Francois Gouget winemenubuilder.c is the only Wine source file checking for HAVE_STRING_H. Remove that check for consistency. * programs/winecfg/De.rc, programs/winecfg/En.rc, programs/winecfg/driveui.c, programs/winecfg/resource.h: Michael Jung The unixfs extension doesn't have a distinguished '/' node anymore. Moved UI string into the resources. * dlls/shell32/shfldr_unixfs.c: Robert Lunnon Make references to NAME_MAX refer to PATH_MAX instead. * Make.rules.in, dlls/Makedll.rules.in, dlls/Makefile.in, dlls/Maketest.rules.in, dlls/advapi32/.cvsignore, dlls/advpack/.cvsignore, dlls/amstream/.cvsignore, dlls/atl/.cvsignore, dlls/avicap32/.cvsignore, dlls/avifil32/.cvsignore, dlls/cabinet/.cvsignore, dlls/capi2032/.cvsignore, dlls/cards/.cvsignore, dlls/cfgmgr32/.cvsignore, dlls/comcat/.cvsignore, dlls/make_dlls, dlls/comctl32/.cvsignore, dlls/commdlg/.cvsignore, dlls/crtdll/.cvsignore, dlls/crypt32/.cvsignore, dlls/cryptdll/.cvsignore, dlls/ctl3d/.cvsignore, dlls/d3d8/.cvsignore, dlls/d3d9/.cvsignore, dlls/d3dim/.cvsignore, dlls/d3drm/.cvsignore, dlls/d3dx8/.cvsignore, dlls/d3dxof/.cvsignore, dlls/dbghelp/.cvsignore, dlls/dciman32/.cvsignore, dlls/ddraw/.cvsignore, dlls/devenum/.cvsignore, dlls/dinput/.cvsignore, dlls/dinput8/.cvsignore, dlls/dmband/.cvsignore, dlls/dmcompos/.cvsignore, dlls/dmime/.cvsignore, dlls/dmloader/.cvsignore, dlls/dmscript/.cvsignore, dlls/dmstyle/.cvsignore, dlls/dmsynth/.cvsignore, dlls/dmusic/.cvsignore, dlls/dmusic32/.cvsignore, dlls/dplay/.cvsignore, dlls/dplayx/.cvsignore, dlls/dpnet/.cvsignore, dlls/dpnhpast/.cvsignore, dlls/dsound/.cvsignore, dlls/dswave/.cvsignore, dlls/dxdiagn/.cvsignore, dlls/gdi/.cvsignore, dlls/glu32/.cvsignore, dlls/glut32/.cvsignore, dlls/iccvid/.cvsignore, dlls/icmp/.cvsignore, dlls/imagehlp/.cvsignore, dlls/imm32/.cvsignore, dlls/iphlpapi/.cvsignore, dlls/itss/.cvsignore, dlls/kernel/.cvsignore, dlls/lzexpand/.cvsignore, dlls/mapi32/.cvsignore, dlls/mlang/.cvsignore, dlls/mpr/.cvsignore, dlls/msacm/.cvsignore, dlls/mscms/.cvsignore, dlls/msdmo/.cvsignore, dlls/mshtml/.cvsignore, dlls/msi/.cvsignore, dlls/msimg32/.cvsignore, dlls/msnet32/.cvsignore, dlls/msrle32/.cvsignore, dlls/msvcrt/.cvsignore, dlls/msvcrt20/.cvsignore, dlls/msvcrt40/.cvsignore, dlls/msvcrtd/.cvsignore, dlls/msvidc32/.cvsignore, dlls/msvideo/.cvsignore, dlls/mswsock/.cvsignore, dlls/netapi32/.cvsignore, dlls/newdev/.cvsignore, dlls/ntdll/.cvsignore, dlls/odbc32/.cvsignore, dlls/ole32/.cvsignore, dlls/oleacc/.cvsignore, dlls/oleaut32/.cvsignore, dlls/olecli/.cvsignore, dlls/oledlg/.cvsignore, dlls/olepro32/.cvsignore, dlls/olesvr/.cvsignore, dlls/opengl32/.cvsignore, dlls/powrprof/.cvsignore, dlls/psapi/.cvsignore, dlls/qcap/.cvsignore, dlls/quartz/.cvsignore, dlls/rasapi32/.cvsignore, dlls/riched20/.cvsignore, dlls/richedit/.cvsignore, dlls/rpcrt4/.cvsignore, dlls/rsabase/.cvsignore, dlls/rsaenh/.cvsignore, dlls/secur32/.cvsignore, dlls/sensapi/.cvsignore, dlls/serialui/.cvsignore, dlls/setupapi/.cvsignore, dlls/shdocvw/.cvsignore, dlls/shell32/.cvsignore, dlls/shfolder/.cvsignore, dlls/shlwapi/.cvsignore, dlls/snmpapi/.cvsignore, dlls/sti/.cvsignore, dlls/tapi32/.cvsignore, dlls/twain/.cvsignore, dlls/unicows/.cvsignore, dlls/url/.cvsignore, dlls/urlmon/.cvsignore, dlls/user/.cvsignore, dlls/uxtheme/.cvsignore, dlls/vdmdbg/.cvsignore, dlls/version/.cvsignore, dlls/win32s/.cvsignore, dlls/winaspi/.cvsignore, dlls/wined3d/.cvsignore, dlls/winedos/.cvsignore, dlls/wininet/.cvsignore, dlls/winmm/.cvsignore, dlls/winnls/.cvsignore, dlls/winsock/.cvsignore, dlls/winspool/.cvsignore, dlls/wintab32/.cvsignore, dlls/wintrust/.cvsignore, dlls/wow32/.cvsignore, dlls/wsock32/.cvsignore, dlls/wtsapi32/.cvsignore: Added rules to build import libraries in the individual dll makefiles. Generate import libraries with the right name right away instead of using an intermediate .spec.def file. * dlls/x11drv/keyboard.c: Robert Lunnon Avoid passing NULL buffer elements and status pointers to XmbLookupString. * dlls/winsock/socket.c: Robert Lunnon Added a conditionally compiled definition of INADDR_NONE for platforms that don't define it. * dlls/ddraw/ddraw/user.c: Lionel Ulmer '0' means 'default refresh rate' and not a real refresh rate of '0'. * dlls/winmm/wineaudioio/audio.c: Robert Lunnon Fix segmentation fault caused by incorrect referencing of client audio format specifications array. * dlls/shell32/regsvr.c, dlls/shell32/shfldr_unixfs.c: Michael Jung Make the root of the shell extension map to the root of the unix filesystem. * dlls/ntdll/file.c: Robert Lunnon Implement NtQueryVolumeInformation for Solaris. * server/mailslot.c: Robert Lunnon Include on platforms that support it. * programs/notepad/dialog.c: Kevin Koltzau Handle notepad log feature. * programs/notepad/En.rc, programs/notepad/rsrc.rc: Kevin Koltzau Add a few missing accelerators. * dlls/msi/record.c: Aric Stewart Add a missing msiobj_release that was resulting in a leaked object with each MsiCreateRecord call. * dlls/msi/tests/db.c: Aric Stewart Correct a missing MsiCloseHandle(). * dlls/quartz/enummedia.c: Maarten Lankhorst Fixed two small memory leaks. * dlls/ole32/tests/stg_prop.c: Stefan Leichter Make ole32 tests loadable on NT4. 2005-05-06 Alexandre Julliard * dlls/Makefile.in, dlls/wineps/.cvsignore, dlls/wineps/Makefile.in, dlls/wineps/wineps.drv.spec, dlls/wineps/wineps.spec, dlls/winspool/info.c: Renamed wineps.dll to wineps.drv for consistency. * dlls/wineps/driver.c, dlls/wineps/init.c, dlls/wineps/psdrv.h: Store the module instance we get in DllMain to avoid extra LoadLibrary calls. * dlls/Makefile.in, dlls/d3d8/d3d8_main.c, dlls/d3d9/d3d9_main.c, dlls/ddraw/main.c, dlls/gdi/driver.c, dlls/imm32/imm.c, dlls/make_dlls, dlls/opengl32/wgl.c, dlls/ttydrv/.cvsignore, dlls/ttydrv/Makefile.in, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/winetty.drv.spec, dlls/user/user_main.c, dlls/wined3d/wined3d_main.c, dlls/wintab32/wintab32.c, dlls/x11drv/.cvsignore, dlls/x11drv/Makefile.in, dlls/x11drv/winex11.drv.spec, dlls/x11drv/x11drv.spec, documentation/samples/config: Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively to follow the namespace conventions and make it clear that they are drivers and not dlls. Moved the graphics driver configuration to HKLM\Software\Wine\Drivers. * tools/winedump/output.c: Removed a bunch of obsolete makefile hacking sed code. * dlls/dsound/dsound.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c: Robert Reif Move initialization to IDirectSound_Initialize. Fix error paths to handle a failed IDirectSound_Initialize. Add tests for IDirectSound_Initialize. * dlls/shell32/brsfolder.c: Michael Jung Return a cloned PIDL by SHBrowseForFolder to avoid heap corruption. * dlls/shell32/folders.c: Michael Jung Display a drive icon for the unix root directory. * dlls/winmm/time.c: Robert Reif Change FIXME to WARN. * dlls/crtdll/crtdll_main.c, dlls/dbghelp/elf_module.c, dlls/dbghelp/stabs.c, dlls/gdi/freetype.c, dlls/kernel/comm.c, dlls/kernel/kernel_main.c, dlls/kernel/oldconfig.c, dlls/kernel/vxd.c, dlls/msacm/winemp3/common.c, dlls/ntdll/cdrom.c, dlls/ntdll/directory.c, dlls/ntdll/path.c, dlls/ntdll/server.c, dlls/shell32/shfldr_unixfs.c, dlls/winaspi/winaspi16.c, dlls/winaspi/winaspi32.c, dlls/winedos/int21.c, dlls/winedos/module.c, dlls/winedos/ppdev.c, dlls/winedos/vxd.c, dlls/winsock/socket.c, loader/preloader.c, tools/winapi/nativeapi.pm, tools/winapi/winapi_check: Francois Gouget Fix nativeapi.pm so it knows about AC_HEADER_STAT(). Make the error message about unexpected '#ifdef HAVE_XXX' clearer. Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX' check. * dlls/Makedll.rules.in, programs/Makeprog.rules.in, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/utils.c, tools/winebuild/winebuild.man.in: Added support in winebuild for specifying import libraries directly on the command line without the -l option. Changed the -d option to only mark the library as delayed, the actual loading is now done separately. * dlls/comctl32/comctl32undoc.c, dlls/comctl32/hotkey.c, dlls/comctl32/imagelist.c, dlls/comctl32/listview.c, dlls/comctl32/toolbar.c, dlls/dsound/buffer.c, dlls/dsound/primary.c, dlls/gdi/bitblt.c, dlls/gdi/palette.c, dlls/kernel/profile.c, dlls/kernel/tests/file.c, dlls/kernel/volume.c, dlls/kernel/wowthunk.c, dlls/ntdll/rtlstr.c, dlls/odbc32/proxyodbc.c, dlls/opengl32/wgl_ext.c, dlls/shell32/shell32_En.rc, dlls/shell32/shlfileop.c, dlls/shell32/tests/shlfileop.c, dlls/shlwapi/reg.c, dlls/winspool/info.c, dlls/x11drv/palette.c, documentation/configuring.sgml, documentation/debugging.sgml, documentation/opengl.sgml, documentation/winedev-coding.sgml, documentation/winedev-otherdebug.sgml, documentation/winelib-mfc.sgml, programs/notepad/En.rc, programs/wineconsole/wineconsole.c, tools/winegcc/utils.c: Francois Gouget Assorted spelling fixes. * dlls/setupapi/misc.c, dlls/setupapi/setupapi.spec, include/setupapi.h, include/winnt.h: Eric Kohl Implement CaptureAndConvertAnsiArg, CaptureStringArg, OpenAndMapForRead, RetreiveFileSecurity, StampFileSecurity, TakeOwnershipOfFile, and UnmapAndCloseFile. * dlls/quartz/filtergraph.c, dlls/quartz/pin.c: Maarten Lankhorst Fixed a dozen of reference (and some memory) leaks. Implemented filtergraph_pause/stop. * dlls/quartz/enummedia.c, dlls/quartz/quartz_private.h: Maarten Lankhorst Fixed {Copy/Delete/Free}MediaType functions to show proper behaviour. Fixed EnumMediaTypes to copy pbFormat too. Added FreeMediaType. * tools/winapi/winapi_check: Francois Gouget HAVE_V4L2 is not an autoconf define so tell winapi_check not to complain complain about it. * dlls/rpcrt4/rpcss_np_client.c: Hartmut Birr Clean up if named pipe is not available. * dlls/msi/registry.c, dlls/x11drv/opengl.c: Francois Gouget Tweak the documentation to make winapi_check happy. * dlls/urlmon/urlmon_main.c, include/urlmon.idl, tools/winapi/win32.api: Francois Gouget Update win32.api to match the current sources. Declare CoGetClassObjectFromURL() in urlmon.h. * dlls/ole32/ole32.spec, dlls/ole32/storage32.c: Matthew Mastracci Replace stub entry for StgOpenStorageEx with call to StgOpenStorage. 2005-05-05 Alexandre Julliard * server/registry.c: Robert Shearman - Fix access rights for RegOpenKeyEx and RegCreateKeyEx calls. - Add privilege checks for RegLoadKey, RegUnloadKey & RegSaveKey calls. * dlls/user/painting.c: Don't retrieve a window DC in GetUpdateRect if there is nothing to erase, to avoid setting a null update region in an owned DC. Avoid potential double delete of the update region on return from send_erase. * dlls/msvcrt/file.c: Return ENOENT rather than EBADF from MSVCRT_fopen() when file doesn't exist. * dlls/advapi32/registry.c: Robert Shearman Fix RegDeleteKey{A,W} to open the specified key with the DELETE access right. * tools/winegcc/winegcc.c: output_name already contains .exe extension, don't add it again for -F option. * dlls/ole32/storage32.c, include/objbase.h: Matthew Mastracci Replace StgCreateStorageEx stub with call to StgCreateDocfile and add required STGFMT_* enumerations. * dlls/gdi/bitblt.c: Rein Klazes In MaskBlt delete correct bitmap. * dlls/user/winproc.c, include/wine/winuser16.h: Rein Klazes Add 16<->32 bit message mappings for WM_COPYDATA messages. * dlls/winedos/module.c: Rein Klazes - In MZ_DoLoadImage if an environment segment is specified in the parameter block, use that and do not inherit from the calling process. - Call FreeEnvironmentStrings when the strings are no longer used. * dlls/shell32/shfldr_fs.c: Michael Jung Fixed GetDisplayNameOf method to not depend on incorrect behaviour regarding the SHGDN_INFOLDER flag. * dlls/shell32/shfldr_mycomp.c: Michael Jung Fixed MyComputer's GetDisplayNameOf method. * dlls/dinput/mouse.c: Lionel Ulmer - do not flush the buffer when the application only wants to peek the number of elements in the queue - trace the GetDeviceState values before they are reset * dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c: Christian Costa Added stub implementation for CoGetClassObjectFromURL. * dlls/urlmon/umon.c: Troy Rollo Correct bug truncating downloaded files to 4096 bytes. * dlls/quartz/filtergraph.c, dlls/quartz/main.c, dlls/quartz/quartz_private.h, dlls/quartz/regsvr.c: Christian Costa Forward CLSID_FilterGraphNoThread to CLSID_FilterGraph. * dlls/dbghelp/elf_module.c: Emmanuel Maillard Fix compile on non-ELF host. * dlls/dinput/device.c: Lionel Ulmer - more pretty print for the types flag - more Windows-aligned check for object instances * dlls/winsock/socket.c: Marcus Meissner Initialize iosb. * dlls/ntdll/version.c: Ivan Leo Puoti Set win2k3 service pack number to 1. * dlls/ntdll/signal_powerpc.c: Emmanuel Maillard - Fix NTDLL_wait_for_multiple_objects call in usr1_handler. - Fix an error due to "invalid lvalue in assignment" with gcc 4 on Darwin 8.0. 2005-05-04 Alexandre Julliard * tools/winapi/config.pm, tools/winapi/make_parser.pm, tools/winapi/modules.pm, tools/winapi/nativeapi.pm, tools/winapi/setup.pm, tools/winapi/winapi_extract, tools/winapi/winapi_fixup, tools/winapi/winapi_test: Get rid of the winapi_check_dir config parameter. * dlls/comctl32/comboex.c: Felix Nawothnig Set iItem to index before notifying callback items. * dlls/msi/package.c: Marcus Meissner Set PhysicalMemory property from system data. * dlls/urlmon/Makefile.in, dlls/urlmon/umon.c, dlls/urlmon/umstream.c, dlls/urlmon/urlmon_main.h: Troy Rollo Implement URLMonikerImpl_BindToStorage. * dlls/wininet/urlcache.c: Troy Rollo Create URL Cache if it does not already exist. * Make.rules.in, tools/Makefile.in, tools/winapi/modules.pm, tools/winapi/nativeapi.dat, tools/winapi/nativeapi.pm, tools/winapi/preprocessor.pm, tools/winapi/setup.pm, tools/winapi/winapi_c_parser.pm, tools/winapi/winapi_check, tools/winapi/winapi_documentation.pm, tools/winapi/winapi_function.pm, tools/winapi/winapi_global.pm, tools/winapi/winapi_local.pm, tools/winapi/winapi_parser.pm: Hans Leidekker Move all files from winapi_check/ to winapi/, and remove references to winapi_check directory. Merge winapi_check programs. * dlls/msi/msi_Fr.rc, dlls/oleaut32/oleaut32_Fr.rc, dlls/oledlg/oledlg_Fr.rc, dlls/shdocvw/Fr.rc, programs/taskmgr/Fr.rc, programs/winecfg/Fr.rc: Vincent Béron Use SUBLANG_NEUTRAL for French resources. * programs/winecfg/Cs.rc, programs/winecfg/De.rc, programs/winecfg/En.rc, programs/winecfg/Es.rc, programs/winecfg/Fr.rc, programs/winecfg/It.rc, programs/winecfg/Nl.rc, programs/winecfg/Pt.rc, programs/winecfg/Ru.rc, programs/winecfg/Si.rc: James Hawkins Enlarge the license text control length. * dlls/shell32/brsfolder.c: Mike McCormack Remove static variables in SHBrowseForFolder implementation. * programs/winecfg/drive.c: James Hawkins Remove the corresponding registry entry when deleting a drive. * programs/winecfg/appdefaults.c: James Hawkins Don't add the same program in AppDefaults more than once. * dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c: Hans Leidekker Stub implementation for SetupCopyOEMInfW. * dlls/kernel/version.rc: Hans Leidekker Bump version number to XP SP2. * programs/winefile/winefile.c: Martin Fuchs Implement owner drawn context menus. * dlls/dsound/propset.c: Robert Reif Set driver type properly. * include/axextend.idl: Maarten Lankhorst Added IAMVideoProcAmp. * dlls/dinput/mouse.c: James Dean Anderson Report an error if trying to get data from an unacquired mouse. * dlls/ntdll/time.c: Ivan Wong Added Hong Kong Standard Time (HKT). * dlls/user/edit.c: Ulrich Czekalla Let the default winproc handle WM_MOUSEACTIVATE. 2005-04-28 Alexandre Julliard * dlls/opengl32/Makefile.in, dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.h, dlls/opengl32/opengl_norm.c, dlls/opengl32/wgl.c, dlls/opengl32/wgl.h, dlls/opengl32/wgl_ext.c, dlls/opengl32/wgl_ext.h: Raphael Junqueira - implement wglGetCurrentReadDCARB, wglMakeContextCurrentARB on openGL32 (wgl_ext) - add code to disable some openGL extensions support using wine registry key HKLM\Software\Wine\OpenGL\DisabledExtensions (list separated by spaces) - valid/robust implementation of wglChoosePixelFormatARB and wglGetPixelFormatAttribivARB (wgl_ext) * dlls/x11drv/opengl.c, dlls/x11drv/xrandr.c: Raphael Junqueira - valid implementation of X11DRV_ChoosePixelFormat using GLX1.3 API (ie. using real card caps and not ugly way using visuals array) to be compatible with opengl32 pixel formats (wgl*PixelFormat* APIs) as they need to be the same - add more traces to xrandr * dlls/msi/action.c, dlls/msi/msi.c, dlls/msi/registry.c: Aric Stewart Correct user component publication. Implement MsiEnumComponentQualifiers. * dlls/winsock/socket.c: Marcus Meissner Fixed stack overwrite by using sizeof(WS_sockaddr_ipx). * dlls/shell32/brsfolder.c: Mike McCormack Split up the window procedure. * dlls/user/input.c, dlls/user/message.c, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/request.h, server/trace.c: Mike McCormack Implemented GetLastInputInfo. * dlls/wined3d/directx.c: Raphael Junqueira - implement memory access APIs to VertexBuffers - more valid implementation for IWineD3DImpl_Check* APIs (not more S_OK for all cases) * include/wine/unicode.h: Jeff Latimer Define strncpyW to ensure that users know why it is not present. * dlls/msi/msi.c: Aric Stewart Implement MsiQueryFeatureStateW. 2005-04-27 Alexandre Julliard * dlls/user/misc.c, dlls/user/user_main.c, windows/user.c: Moved the USER syslevel to dlls/user/user_main.c. Moved a bunch of stubs to dlls/user/misc.c. * dlls/kernel/dosmem.c, dlls/kernel/kernel32.spec, dlls/kernel/kernel_main.c, dlls/winedos/int31.c, dlls/winedos/module.c, include/miscemu.h: Eric Pouech - delayed initialisation of BIOS and SYSTEM information until someone actually needs it - now using some manifest constants to make code clearer * dlls/devenum/Makefile.in, dlls/devenum/createdevenum.c, dlls/devenum/devenum_private.h: Maarten Lankhorst Added the video input device category. * dlls/user/combo.c, dlls/user/cursoricon.c, dlls/user/defwnd.c, dlls/user/edit.c, dlls/user/hook.c, dlls/user/hook16.c, dlls/user/input.c, dlls/user/listbox.c, dlls/user/mdi.c, dlls/user/message.c, dlls/user/message.h, dlls/user/msg16.c, dlls/user/scroll.c, dlls/user/spy.c, dlls/user/user_main.c, dlls/user/user_private.h, dlls/user/win.c, dlls/user/winpos.c, dlls/user/winproc.c, windows/user.c: Moved remaining messaging definitions to user_private.h and removed message.h. * dlls/msi/action.c, dlls/msi/custom.c, dlls/msi/dialog.c, dlls/msi/msipriv.h: Mike McCormack Make sure that dialogs are only created and destroyed in a single thread. * configure, configure.ac, dlls/avicap32/Makefile.in, dlls/avicap32/avicap32_main.c, include/config.h.in: Maarten Lankhorst Implemented capGetDriverDescription. * dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/mmsystem.c, dlls/winmm/playsound.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/midi.c, dlls/winmm/winmm.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winenas/audio.c: Mike McCormack Make multimedia threads high priority. * dlls/advpack/advpack.c, dlls/advpack/tests/advpack.c: Sami Aario Added initial version of Delnode plus some tests. * dlls/kernel/task.c, dlls/ntdll/thread.c, dlls/user/Makefile.in, dlls/user/cursoricon.c, dlls/user/hook.c, dlls/user/hook16.c, dlls/user/input.c, dlls/user/message.c, dlls/user/message.h, dlls/user/user16.c, dlls/user/user_main.c, dlls/user/user_private.h, dlls/user/wnd16.c, include/thread.h, windows/queue.c: Removed the MESSAGEQUEUE structure, and store the corresponding information directly in the TEB, in the Win32ClientInfo field. * include/winternl.h: Added proper names for the remaining TEB fields. * dlls/winmm/mci.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/playsound.c, dlls/winmm/time.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Mike McCormack Make WINMM_IData statically allocated. * dlls/d3d8/drawprim.c: Raphael Junqueira Fix crash on drawStridedSlow. * dlls/shell32/shfldr_unixfs.c: Gerald Pfeifer Include to get a definition of NAME_MAX. * dlls/msi/msi.c: Aric Stewart Correct a leaking hkey handle. 2005-04-26 Alexandre Julliard * programs/taskmgr/graphctl.c, programs/winemine/main.c, programs/winhelp/hlp2sgml.c, programs/winhelp/hlpfile.c: Removed a few more strncpy calls. * server/queue.c, server/user.h, server/window.c: Make sure a thread has a queue as soon as it creates a window. * dlls/msi/msi.c: Aric Stewart Expand some handling of special properties in MsiGetProductInfo. * dlls/msi/database.c, dlls/msi/msi.spec: Mike McCormack Declare MsiExportDatabase* in the spec file, and fix a typo. * dlls/winmm/mciavi/info.c: Christian Costa Fixed flags handling in MCIAVI_mciInfo. * dlls/user/input.c, dlls/user/message.c, windows/queue.c: Moved some messaging and input functions to message.c and input.c respectively. * dlls/user/tests/win.c, dlls/x11drv/window.c: Ulrich Czekalla SetParent should not remove menu from non-child windows. * dlls/user/combo.c: Huw Davies The ansi version of CB_ADDSTRING shouldn't overwrite the string if converting case. * dlls/devenum/mediacatenum.c: Maarten Lankhorst Fixed a reference leak. 2005-04-25 Alexandre Julliard * include/winbase.h: Define strncpy to an error to make sure it doesn't creep back in. * dlls/user/Makefile.in, dlls/user/painting.c, windows/scroll.c: Moved the ScrollWindow and ScrollDC functions to dlls/user/painting.c, and removed windows/scroll.c. * dlls/gdi/dc.c: Maxime Bellengé Prevent CreateDCA from crashing if a bad lpInitData parameter is provided. * dlls/ntdll/file.c: Ivan Leo Puoti Add parameter checking to NtReadFile/NtWriteFile. * dlls/msvcrt/mbcs.c, dlls/ntdll/file.c, include/wine/library.h, libs/wine/debug.c, libs/wine/loader.c, tools/sfnt2fnt.c, tools/winedump/dump.c: Remove a few more instances of strncpy. * dlls/user/Makefile.in, dlls/user/class.c, dlls/user/clipboard.c, dlls/user/cursoricon.c, dlls/user/defdlg.c, dlls/user/defwnd.c, dlls/user/dialog.c, dlls/user/input.c, dlls/user/mdi.c, dlls/user/msgbox.c, dlls/user/nonclient.c, dlls/user/spy.c, dlls/user/win.c, dlls/user/winhelp.c, dlls/user/winpos.c, dlls/user/winproc.c, windows/class.c, windows/clipboard.c, windows/cursoricon.c, windows/defdlg.c, windows/defwnd.c, windows/dialog.c, windows/input.c, windows/mdi.c, windows/msgbox.c, windows/nonclient.c, windows/spy.c, windows/win.c, windows/winhelp.c, windows/winpos.c, windows/winproc.c: Moved most files from the windows directory to dlls/user. * dlls/shell32/shell32_De.rc, dlls/shell32/shell32_En.rc, dlls/shell32/shfldr_unixfs.c, dlls/shell32/shresdef.h: Michael Jung Support for regular files (as opposed to directories). * dlls/quartz/dsoundrender.c: Christian Costa Improved errors handling a bit in dsound renderer. * include/msvcrt/conio.h, include/msvcrt/io.h, include/msvcrt/process.h: Marcus Meissner gcc4 alias fixes. * dlls/ddraw/ddraw/hal.c, dlls/dinput/device.c, dlls/msacm/tests/msacm.c: Marcus Meissner Fixed 3 memset()s which used the wrong size (too large). 2005-04-24 Alexandre Julliard * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/sync.c: Mike McCormack Tests for SignalObjectAndWait. * dlls/kernel/sync.c: Mike McCormack Implemented SignalObjectAndWait. * dlls/ntdll/ntdll_misc.h, dlls/ntdll/signal_i386.c, dlls/ntdll/sync.c, include/wine/server_protocol.h, include/winternl.h, server/atom.c, server/change.c, server/console.c, server/debugger.c, server/event.c, server/fd.c, server/file.c, server/handle.c, server/handle.h, server/hook.c, server/mailslot.c, server/mapping.c, server/mutex.c, server/named_pipe.c, server/object.c, server/object.h, server/process.c, server/protocol.def, server/queue.c, server/registry.c, server/request.c, server/semaphore.c, server/serial.c, server/signal.c, server/snapshot.c, server/sock.c, server/thread.c, server/timer.c, server/token.c, server/trace.c: Mike McCormack Implemented NtSignalAndWaitForSingleObject. * dlls/winmm/tests/timer.c: Robert Reif Remove priority boost stuff. * dlls/ddraw/ddraw/user.c: Dylan Taft Set display frequency too in SetDisplayMode. * tools/wineinstall: Paul Vriens --update is no longer needed with wineprefixcreate. * dlls/ole32/storage32.c, dlls/ole32/storage32.h: Juan Lang Define and use endian conversion macros for big-endian machines. 2005-04-23 Alexandre Julliard * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/time.c: Juan Lang Export _tzname, expected by Mozilla. * dlls/advapi32/tests/crypt.c: Stefan Leichter Excluded tests crashing on NT4 from compiling. * dlls/ole32/stg_prop.c, dlls/ole32/tests/stg_prop.c: Juan Lang - convert strings between property storage's code page and system code page - add tests for setting code page - fix tests and behavior to match WinXP * dlls/winmm/tests/timer.c, dlls/winmm/time.c: Robert Reif Set thread priority for timer thread. Add timer thread priority test. 2005-04-22 Alexandre Julliard * dlls/shell32/shfldr_unixfs.c: Michael Jung Use the shell32 typical binary format for ITEMIDLISTs. * dlls/comctl32/tests/dpa.c: Stefan Leichter Import DPA_Search by ordinal like other DPA functions. * tools/winapi/win32.api: Francois Gouget Add a powrprof section. Update win32.api to match the current source. * dlls/advapi32/security.c: Robert Shearman Implement PrivilegeCheck. * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, include/wine/server_protocol.h, include/winnt.h, include/winternl.h, server/object.h, server/process.c, server/protocol.def, server/request.h, server/security.h, server/thread.c, server/thread.h, server/token.c, server/trace.c: Robert Shearman - Clean up well-known privileges. - Implement checking tokens for privileges in the server. - Implement NtPrivilegeCheck. * dlls/shell32/brsfolder.c: Michael Jung Fixed incorrect IShellFolder::EnumOjects API usage. * dlls/x11drv/dib.c: Huw Davies If XShmAttach fails then reset shmid to -1 so that we don't try to use it later. * dlls/shell32/shelllink.c: Mike McCormack MSI advertised shortcuts don't require a product ID. * dlls/ole32/tests/stg_prop.c: Stefan Leichter Make ole32 tests loadable on NT4. * dlls/winmm/winealsa/audio.c: Alex Villacís Lasso Perform one more commit in ALSA non-emulation if there are still frames to be transmitted. * dlls/oleaut32/olepicture.c: Alex Villacís Lasso - Fix leftover negative sign in height parameter for transparent bitmap. - Properly announce whether bitmap is transparent in get_Attributes. - GIF transparency is now palette-index based, instead of RGB based. - Keep original bitmap and XOR mask separate, so that get_Handle returns original bitmap. * dlls/msi/msi.c: Francois Gouget Tweak the API documentation to silence winapi_check warnings. * dlls/atl/atl_main.c, dlls/atl/atlbase.h, tools/winapi/win32.api: Francois Gouget Add a definition for _ATL_REGMAP_ENTRY in atlbase.h. Fix the prototype of AtlModuleUpdateRegistryFromResourceD() so it uses the right pointer types. 2005-04-21 Alexandre Julliard * dlls/x11drv/clipboard.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c, documentation/samples/config: Moved the UsePrimary config parameter to the x11drv section, renamed as UsePrimarySelection. * dlls/msi/msi.c: Aric Stewart Fix for the return codes for the Qualified component calls. They are not INSTALLSTATEs but rather success values. * dlls/advapi32/security.c, dlls/ntdll/time.c, dlls/ntdll/wcstring.c, dlls/wininet/ftp.c, dlls/wininet/utility.c, include/wine/unicode.h: Get rid of the remaining calls to strncpyW, and remove that function from wine/unicode.h. * dlls/shell32/shell.c: Peter Berg Larsen Rewritten DoEnvironmentSubst16. * dlls/ntdll/nt.c, include/winternl.h: Paul Vriens Remove THREAD_INFO struct. Rename THREADINFO into SYSTEM_THREAD_INFORMATION. 2005-04-20 Alexandre Julliard * DEVELOPERS-HINTS, configure, configure.ac, dlls/Makefile.in, dlls/powrprof/.cvsignore, dlls/powrprof/Makefile.in, dlls/powrprof/powrprof.c, dlls/powrprof/powrprof.spec: Benjamin Cutler Added partial implementation of powrprof.dll. * dlls/user/message.c: Handle posted internal messages directly in PeekMessageW to avoid having to return them to the application. Call NtYieldExecution for nicer behavior when PM_NOYIELD is not specified. * dlls/x11drv/dib.c, dlls/x11drv/x11drv.h: Avoid a compiler warning. * dlls/dciman32/dciman_main.c, include/Makefile.in, include/dciddi.h, include/dciman.h, tools/winapi/win32.api: Francois Gouget Fix the DCICreatePrimary() prototype. It's supposed to return an int so have it return DCI_FAIL_UNSUPPORTED. Add the needed error codes and the DCISURFACEINFO definition to dciddi.h. Add dciman.h and put the function prototypes there. dciddi.h and dciman.h should be installed with the other Windows headers. * dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, dlls/ntdll/virtual.c: Remove all traces of the VIRTUAL_SetFaultHandler support. * dlls/x11drv/dib.c, dlls/x11drv/x11drv.h: Dimitrie O. Paun Use vectored exceptions to get rid of VIRTUAL_SetFaultHandler(). * dlls/ole32/ole2.c: Francois Gouget Specify the proper call convention in the PropSysFreeString() implementation. * DEVELOPERS-HINTS, configure, configure.ac, dlls/kernel/Makefile.in, dlls/kernel/oldconfig.c, dlls/kernel/process.c, dlls/kernel/volume.c: Move all the old config conversion code to a new oldconfig.c file, and get rid of misc/registry.c and the misc directory. * dlls/advapi32/crypt.c, dlls/advapi32/security.c, dlls/gdi/palette.c, dlls/mshtml/main.c, dlls/msi/action.c, dlls/msi/msi.c, dlls/ole32/ole2.c, dlls/rpcrt4/rpcrt4_main.c, dlls/user/misc.c, dlls/wininet/ftp.c, dlls/x11drv/xrender.c: Francois Gouget Tweak the API documentation to silence winapi_check warnings. * tools/wineprefixcreate.in: Properly support out-of-tree builds (based on patch by Paul Millar). * dlls/riched20/editor.c: Phil Krylov Fixed an error in my previous commit which caused an infinite loop in IE6 installer. * tools/winapi/winapi_fixup_documentation.pm: Francois Gouget Try to clarify the 'no translation defined' error. Remove an unused variable. * dlls/msi/tests/suminfo.c: Mike McCormack Test MsiSummaryInfoGetProperty reading an empty property. * dlls/msi/suminfo.c: Mike McCormack Fix loading of the summary information. * dlls/ntdll/server.c, tools/wineprefixcreate.in, tools/winewrapper: Replace the wineprefixcreate --update option by a --wait option, and make the non-wait behavior the default. * dlls/user/message.c, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/trace.c: Allow nested hardware message processing by storing a unique id in every message and using it to manage the current queue position. Better filtering of hardware messages to avoid returning messages that have no chance to match the filter. * server/registry.c: Load system.reg and userdef.reg at server init time. * dlls/gdi/gdiobj.c, dlls/x11drv/brush.c: Richard Cohen Dither solid colours on monochrome bitmaps. * include/Makefile.in, include/evntrace.h, include/wmistr.h: Mike McCormack Added evntrace.h and wmistr.h. * include/guiddef.h: Mike McCormack Define LPCGUID. * tools/winapi/win32.api: Francois Gouget Update win32.api to match the current source. * dlls/comctl32/monthcal.c: Duane Clark Misc rectangle fixes. The date should be initialized from local time. * dlls/kernel/sync.c: Gerald Pfeifer Fix compilation problem caused by ULONG_MAX. * dlls/msi/action.c, dlls/msi/msi.c, dlls/msi/msi.spec, dlls/msi/msipriv.h, dlls/msi/registry.c: Aric Stewart Implement Publish Components in order for MsiGetQualifiedComponent apis to work. Also implement MsiGetQualifiedComponent, or at least some of the functionality as it is supposed to install stuff if it is absent, which it does not do yet. 2005-04-19 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20050419. ---------------------------------------------------------------- 2005-04-19 Alexandre Julliard * dlls/wtsapi32/wtsapi32.c, dlls/wtsapi32/wtsapi32.spec, include/wtsapi32.h: Huw Davies WTSFreeMemory stub. * dlls/advapi32/tests/registry.c: James Hawkins Set the backup/restore privilege. * dlls/kernel/tests/file.c: Stefan Leichter Exclude crashing CreateFileW test on NT4. * server/file.c, server/file.h, server/mapping.c: Cleaned up handling of 64-bit file sizes. * dlls/ntdll/virtual.c: Troy Rollo Fix SEGVs in NtCreateSection and NtMapViewOfSection. * dlls/advpack/reg.c: Troy Rollo Prevent SEGV in RegInstall when pstTable is NULL. * dlls/advapi32/service.c: Troy Rollo Correct test of BOOL return value in ControlService. * dlls/advapi32/tests/registry.c: James Hawkins Remove two unnecessary traces. Break up one test into two. * dlls/ntdll/tests/info.c, dlls/ntdll/tests/rtlstr.c, dlls/shell32/shellord.c, dlls/twain/twain.h, documentation/ole.sgml, include/custcntl.h: Francois Gouget Assorted spelling fixes. * dlls/shell32/shlfileop.c: Troy Rollo Fix SEGV for non-fully-qualified destination paths. Don't fail ShFileOperationW if FOF_ALLOWUNDO is passed. * dlls/msi/tests/db.c, dlls/msi/tests/record.c, dlls/shell32/tests/shelllink.c, dlls/user/tests/msg.c: Francois Gouget Add trailing '\n's to ok() calls. * dlls/dplayx/dplay.c: Francois Gouget DPSET_REMOTE is 0 so we cannot do (flags & DPSET_REMOTE). Instead check that the DPSET_LOCAL flag is not set. * dlls/commdlg/filedlgbrowser.c: Francois Gouget SBSP_ABSOLUTE is 0 so we cannot do (wFlags & SBSP_ABSOLUTE). Add COMDLG32_DumpSBSPFlags(). * documentation/winedev-otherdebug.sgml: Aaron Arvey Added section "Which code has been tested?" describing gcov usage. * dlls/advapi32/tests/registry.c: James Hawkins Add RegUnLoadKey test. * dlls/user/menu.c: Jose Alonso Change the order of DispatchMessage and message removal. 2005-04-18 Alexandre Julliard * tools/widl/widl.c: Juan Lang Always initialize header file name, to prevent "#include (null)" statements in generated files. * tools/wine.inf: Benjamin Cutler Add default registry entries for power management. * dlls/kernel/tests/atom.c: Eric Pouech Copied the atom tests for global atom so that we can test local atoms too. * dlls/kernel/locale.c: Removed unused data fields in the LANG_FIND_DATA structure. * dlls/ntdll/sync.c, include/wine/server_protocol.h, server/protocol.def: Eric Pouech Removed the no longer user APC_ASYNC kind of APC. * windows/syscolor.c: Rein Klazes Fix addressing the magic GDIOBJHDR field in SYSCOLOR_MakeObjectSystem. * dlls/user/text.c: Peter Berg Larsen Eliminate strncpy. Correct a \0 assingment to the modstr variable. * dlls/msi/format.c: Peter Berg Larsen Remove 2 identicals calls to strlenW. * dlls/dmloader/container.c, dlls/dmusic/collection.c, dlls/kernel/task.c, dlls/rsaenh/rsaenh.c, dlls/shlwapi/path.c, dlls/shlwapi/url.c, dlls/winedos/devices.c, dlls/wininet/urlcache.c: Peter Berg Larsen Strncpy elimination. * dlls/dbghelp/type.c: Peter Berg Larsen Eliminate strncpy and correct some NameLen bugs. * dlls/dbghelp/module.c: Peter Berg Larsen Elimination of lstrcpyn, and corrected a potential pointer bug. * dlls/cabinet/cabextract.c: Peter Berg Larsen Eliminate a strncpy and remove unused variable. * dlls/kernel/sync.c, dlls/ntdll/file.c, include/wine/server_protocol.h, include/winternl.h, server/named_pipe.c, server/protocol.def, server/trace.c: Eric Pouech - moved named pipe creation to ntdll - server now handles the named pipe flags as the NTDLL values (not the KERNEL32 ones) - named pipes in server now use the async IO mechanism for connect/wait ops * dlls/dinput/data_formats.c: Robert Reif Added keyboard data format. * dlls/comctl32/tooltips.c, dlls/commdlg/filedlg.c, dlls/devenum/parsedisplayname.c, dlls/dmband/band.c, dlls/dmcompos/chordmap.c, dlls/dmime/audiopath.c, dlls/dmime/graph.c, dlls/dmime/segment.c, dlls/dmloader/loaderstream.c, dlls/dmscript/script.c, dlls/dmstyle/style.c, dlls/gdi/font.c, dlls/gdi/freetype.c, dlls/itss/chm_lib.c, dlls/msi/cond.y, dlls/msvcrt/locale.c, dlls/msvideo/mciwnd.c, dlls/msvideo/msvideo16.c, dlls/oledlg/insobjdlg.c, dlls/quartz/filtermapper.c, dlls/shell32/debughlp.c, dlls/shell32/shelllink.c, dlls/shell32/shellpath.c, dlls/shell32/shlexec.c, dlls/shell32/systray.c, dlls/user/edit.c, dlls/winedos/int21.c, dlls/wininet/dialogs.c, dlls/wininet/internet.c, dlls/wininet/utility.c, dlls/winmm/wineoss/audio.c, programs/winecfg/drivedetect.c, tools/sfnt2fnt.c: Peter Berg Larsen Replace strncpy with memcpy or lstrcpyn. * dlls/comctl32/treeview.c: Vitaliy Margolen Don't redraw if no information has changed. Fixed endless redraw loop if app using callback for images and/or text. Keep color changes made by app for the current draw cycle. * dlls/commdlg/printdlg.c, include/commdlg.h: Eric Pouech Added proper definition for PRINTDLGEX[AW] structures. * programs/winetest/gui.c, programs/winetest/main.c, programs/winetest/util.c, programs/winetest/winetest.h, programs/winetest/winetest.rc: Ferenc Wagner Enforce valid tag syntax during input. * dlls/msacm/imaadp32/imaadp32.c, dlls/msvcrt/mbcs.c, programs/winecfg/winecfg.c: Eric Pouech Fixed some signed / unsigned pointer casts. * documentation/architecture.sgml, documentation/winedev-kernel.sgml: Eric Pouech - Using uniform DocBook tags for DLLs, commands, environment vars... - Moved detailed memory management from archi to kernel(s) part. - Enhanced process handling description. - Added section about 16 bit processes' support. - Added section about DOS support. * documentation/debugger.sgml: Eric Pouech Minor cleanups. * dlls/advapi32/tests/registry.c: Jakob Eriksson Fail gracefully on permission denied. * dlls/ntdll/nt.c: Benjamin Cutler Add semi-stub for NtPowerInformation(SystemPowerCapabilities, ...). * dlls/comctl32/datetime.c: Duane Clark The datetime should be initialized with local time. * dlls/advpack/advpack.c, dlls/advpack/advpack.spec, include/advpub.h: Sami Aario Added stubs for RunSetupCommand and DelNode. * dlls/x11drv/clipboard.c: Eric Pouech Correctness for const pointer casts. * programs/progman/dialog.c, programs/progman/program.c: Eric Pouech Removed a couple of unneeded casts. 2005-04-16 Alexandre Julliard * dlls/ntdll/ntdll.spec, dlls/ntdll/sync.c, include/winternl.h: Mike McCormack Declare and define a stub for NtSignalAndWaitForSingleObject. * dlls/gdi/gdi16.c: Richard Cohen CreateBitmap16 should use only the first byte of planes & bpp. * dlls/advapi32/registry.c, dlls/advapi32/tests/registry.c: James Hawkins RegDeleteKey fails if the lpSubKey param is NULL. * dlls/riched20/caret.c, dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/editstr.h, dlls/riched20/paint.c, dlls/riched20/para.c, dlls/riched20/run.c, dlls/riched20/style.c, dlls/riched20/wrap.c: Krzysztof Foltman - removed trailing spaces from some files - tab support - indent support * dlls/comctl32/datetime.c: Duane Clark Add support for direct keyboard input to numeric fields. * dlls/hhctrl.ocx/hhctrl.c: Mike Hearn - Add text dumping of the requested command. - Make the stub message appear for more commands. * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, include/winternl.h: Benjamin Cutler - Correct args for NtPowerInformation. - Add stub for NtInitiatePowerAction. 2005-04-15 Alexandre Julliard * loader/preloader.c: Aaron Arvey Added __bb_init_func for linking purposes. * dlls/mshtml/htmldoc.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/oleobj.c, dlls/mshtml/view.c: Jacek Caban - More implementation of view - Added IOleInPlaceActiveObject * dlls/advapi32/tests/registry.c: Jakob Eriksson ERROR_PRIVILEGE_NOT_HELD can be returned for NT4. * dlls/advapi32/tests/crypt.c: Jakob Eriksson Win98 can return ERROR_CALL_NOT_IMPLEMENTED. * dlls/dciman32/dciman32.spec, dlls/dciman32/dciman_main.c: Brian Vincent Add stub for DCICreatePrimary. * dlls/shell32/shfldr_fs.c: Huw Davies When we're hiding file extensions then SetNameOf should append the original extension if SHGDN_FORPARSING isn't set. The flags passed to SetNameOf refer to the dst string not the src pidl. * dlls/ole32/moniker.c: Dmitry Timoshkov Zero out an invalidated runningObjectTableInstance pointer. * tools/winedump/main.c: Francois Gouget Mention the 'emf' and 'lnk' modes in the usage summary. Add -? and --help synonyms for -h as is customary. puts("") already prints a '\n' so we don't need a second one. * programs/winemenubuilder/winemenubuilder.c: Francois Gouget If winemenubuilder is given a list of menus to recreate, it should not give up on the first menu that fails. * dlls/comctl32/datetime.c: Duane Clark Hour '0' corresponds to 12AM. * dlls/ntdll/nt.c, dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/info.c: Paul Vriens Start of unit tests for *Info* functions. Check needed length regardless of given length. Return STATUS_INVALID_INFO_CLASS for non-implemented classes. Return STATUS_ACCESS_VIOLATION if no buffer given. * dlls/gdi/tests/metafile.c: Mike McCormack Simple unit tests for GdiIs*DC functions. * include/wtsapi32.h: Mike McCormack Add some more Windows Terminal Server API definitions. * tools/widl/client.c, tools/widl/server.c: Juan Lang Put space between include directive and include file. * tools/widl/widl.man: Juan Lang Add proxy/stub options to widl man page. * dlls/ole32/ole32.spec, dlls/ole32/stg_prop.c, dlls/ole32/tests/stg_prop.c: Juan Lang Implement FmtIdToPropStgName & PropStgNameToFmtId, with tests. * dlls/comctl32/toolbar.c: Robert Shearman Fix TB_GETBUTTONSIZE to return the correct width/height for no buttons. * dlls/comctl32/datetime.c: Robert Shearman - Use SetWindowPos to move the buddy window into position instead of destroying it and recreating it at the new position. - Clear the background in WM_VSCROLL to avoid problems with antialiased text drawing on top of itself multiple times. * include/wingdi.h: Mike McCormack Add prototypes for some Gdi* functions. 2005-04-14 Alexandre Julliard * dlls/comctl32/updown.c: Dimitrie O. Paun Keep track of WS_DISABLED explicitely, as it doesn't generate a WM_STYLECHANGED message. * dlls/comctl32/listview.c: Dimitrie O. Paun Add support for LVN_ODSTATECHANGED. Minor typo fixes. * dlls/gdi/dc.c, dlls/gdi/gdi32.spec: Mike McCormack Implement GdiIs*DC functions. * dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/menu.c: Robert Shearman Add a test for a menu problem I found. * dlls/user/menu.c: Robert Shearman Recalculate the menu on calling ModifyMenu so that the menu items are shown at the correct width. * dlls/comctl32/treeview.c: Vitaliy Margolen Send notifies after invalidating changed areas. Don't use custom draw returned colors for control. * dlls/ole32/stg_prop.c: Fixed a buffer overflow. * dlls/x11drv/dib.c: Rein Klazes In X11DRV_DIB_SetImageBits avoid BadMatch errors when calling XGetSubImage. * dlls/x11drv/opengl.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c, dlls/x11drv/xvidmode.c: Include Xmd.h in x11drv.h with the proper defines to make it work, and remove related hacks in various C files. * dlls/msvcrt/wcs.c: Rein Klazes Fix decoding printf format in case the field width specifier is a '*'. * tools/wrc/parser.y: Michael Lin Change menu item options to use optional comma. * include/winuser.h: Michael Lin Define WINUSERAPI. * dlls/oleaut32/typelib.c: Daniel Remenak Remove unused variable in _copy_arg. * dlls/wininet/internet.c: Benjamin Cutler Better handling of hInternet == NULL for INTERNET_OPTION_PROXY in INET_QueryOptionHelper. MSDN says to return 'global proxy info' when hInternet == NULL. Thanks to Juan Lang for helping with this. * dlls/comctl32/datetime.c, dlls/comctl32/monthcal.c: Duane Clark Monday is day number '1'. Set day of week when a day is selected in the calender. Use fixed width fields in datetime. DTS_TIMEFORMAT is a two bit field, so test accordingly. Reposition and resize the updown control when the datetime control is resized. Respond to updown inputs. * dlls/mshtml/Makefile.in, dlls/mshtml/htmldoc.c, dlls/mshtml/main.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/view.c: Jacek Caban Added more implementation of IDocumentView. * programs/regedit/En.rc, programs/regedit/Makefile.in, programs/regedit/edit.c, programs/regedit/hexedit.c, programs/regedit/main.c, programs/regedit/main.h, programs/regedit/resource.h: Robert Shearman - Add neutral English resources. - Add a control for editing binary data. - Add a binary value editor dialog. * dlls/kernel/console.c, programs/wineconsole/user.c, programs/wineconsole/winecon_private.h, programs/wineconsole/wineconsole.c: Rein Klazes In AllocConsole() pass the wShowWindow value and STARTF_USESHOWWINDOW flag from the calling process to the console process. Make wineconsole use the CmdShow parameter in the ShowWindow call. 2005-04-13 Alexandre Julliard * dlls/user/controls.h, dlls/user/text.c, dlls/user/uitools.c, dlls/user/user_private.h, windows/defwnd.c, windows/nonclient.c, windows/syscolor.c: Moved handling of the 55AA pattern brush to syscolor.c so that it can be made a system object (found by Rein Klazes). * dlls/wininet/internet.c: Benjamin Cutler Check for an invalid hInternet handle in INET_QueryOptionHelper for INTERNET_OPTION_PROXY before attempting to use it. * dlls/gdi/bitmap.c, dlls/gdi/gdi_private.h, dlls/gdi/wing.c, include/gdi.h: Moved the BITMAPOBJ structure to gdi_private.h. * dlls/x11drv/xim.c: Marcus Meissner Terminate XCreateIC() argument list with NULL instead of just 0. * dlls/x11drv/bitmap.c: Use an X context to associate the phys bitmap data to a bitmap handle instead of directly accessing the bitmap structure. * dlls/x11drv/x11drv.spec: Huw Davies RegisterClipboardFormat takes a unicode string now. * dlls/oleaut32/olepicture.c: Alex Villacís Lasso - Fix leftover negative sign in height parameter for transparent bitmap. - Properly announce whether bitmap is transparent in get_Attributes. - GIF transparency is now palette-index based, instead of RGB based. - Keep original bitmap and XOR mask separate, so that get_Handle returns original bitmap. * dlls/shell32/shellole.c: Martin Fuchs Correct comments of some export ordinals. * dlls/gdi/gdi32.spec, dlls/ole32/ole2_16.c, dlls/x11drv/clipboard.c: Dimitrie O. Paun Remove the need for the non-standard (Close|Delete)MetaFile16(). * dlls/gdi/dib.c, dlls/gdi/gdi_private.h, dlls/x11drv/dib.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv.spec: Moved the driver-independent part of CreateDIBSection into GDI. * dlls/mshtml/Makefile.in, dlls/mshtml/htmldoc.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/oleobj.c, dlls/mshtml/view.c: Jacek Caban - Added IOleDocumentView interface. - Added implementation of DoVerb and CreateView. * dlls/advapi32/tests/registry.c: James Hawkins Pass an empty string instead of NULL to RegDeleteKey to delete hKey. * windows/spy.c: Vitaliy Margolen Dump whole NMHEADERA notify structure for TreeViews. * dlls/comctl32/tab.c: Vitaliy Margolen Draw only visible tabs. * dlls/dsound/propset.c: Robert Reif Fully implement WAVEDEVICEMAPPING property set. * dlls/shell32/debughlp.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shelllink.c: Huw Davies Add a unicode pidl type. Improve support for PT_YAGUID. Improve IShellLink debugging. * dlls/x11drv/bitmap.c, dlls/x11drv/dib.c, dlls/x11drv/x11drv.h: Store DIB section information directly in the phys bitmap structure and get rid of the X11DRV_DIBSECTION structure. Get rid of the unused AuxMod DIB state. * tools/winebuild/relay.c: Marcus Meissner Use correct movw instead of movl when handling segment registers. * dlls/ole32/ole2.c, dlls/ole32/ole32.spec: Juan Lang Implement PropSys{Alloc|Free}String, and support BSTRs in PropVariant{Clear|Copy} using them. * dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/editstr.h, dlls/riched20/reader.c, dlls/riched20/rtf.h: Phil Krylov Make RTF reader fall back to simple text if a correct RTF header is not detected. This should fix some installers. * dlls/shell32/regsvr.c, include/shlguid.h: Steven Edwards Register Shell Drag and Drop Helper. * dlls/comctl32/comctl_Sv.rc, dlls/comctl32/rsrc.rc: Andreas Bjerkeholt Swedish translation. * dlls/advapi32/security.c: Steven Edwards Partially implement CreateProcessAsUser. * dlls/shell32/shfldr_unixfs.c: Michael Jung Implemented the UnixFolder's IShellFolder2::CompareIDs method. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Daniel Remenak Implemented VarIdiv. * dlls/gdi/enhmetafile.c, dlls/gdi/tests/metafile.c: Robert Shearman - Fix scaling when converting MF -> EMF. - Tests for conversions (although not for the above bug). 2005-04-12 Alexandre Julliard * dlls/shell32/folders.c, dlls/shell32/shres.rc, dlls/shell32/shresdef.h: Huw Davies Better icon handling for some special folders. Identify and add defines for a bunch of shell icons. * dlls/x11drv/bitblt.c, dlls/x11drv/bitmap.c, dlls/x11drv/dib.c, dlls/x11drv/init.c, dlls/x11drv/x11drv.h, dlls/x11drv/xrender.c: Store a pointer to the currently selected phys bitmap in the device structure. Create a phys bitmap for the default stock bitmap too. * include/winnt.h: Ivan Leo Puoti Added typedef for DEVICE_POWER_STATE. * dlls/shell32/shfldr_unixfs.c: Michael Jung Implemented enough of IShellFolder2 to make UnixFolder work within the open/save-dialogs. * dlls/mshtml/Makefile.in, dlls/mshtml/htmldoc.c, dlls/mshtml/main.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/oleobj.c, dlls/mshtml/persist.c: Jacek Caban Stub implementation of IOleObject and IOleDocument. * dlls/x11drv/bitmap.c, dlls/x11drv/dib.c, dlls/x11drv/x11drv.h: Store the bitmap handle in the phys bitmap structure, and avoid a few more GDI_GetObjPtr calls. * dlls/shell32/shlview.c: Huw Davies If ICommDlgBrowser_OnDefaultCommand returns anything other than S_OK then we should call the default handler. * dlls/comctl32/listview.c: Robert Shearman Use ES_AUTOHSCROLL for edit box. * dlls/oleaut32/variant.c: Daniel Remenak Return DISP_E_DIVBYZERO instead of crashing when asked to divide a variant by zero. * dlls/shell32/shfldr_desktop.c: Juan Lang Use Unicode string result from GetDisplayNameOf if it isn't representable using ANSI. * dlls/msi/format.c: Juan Lang Log missing environment vars for easier debugging. * dlls/winmm/wavemap/wavemap.c: Robert Reif Stub out DRVM_MAPPER_RECONFIGURE support. 2005-04-11 Alexandre Julliard * dlls/x11drv/bitmap.c, dlls/x11drv/brush.c, dlls/x11drv/dib.c, dlls/x11drv/x11drv.h: Store the pixmap depth and the DIBSECTION pointer in the phys bitmap structure. Avoid a few GDI_GetObjPtr calls. * include/Makefile.in: Add new powrprof.h header. * dlls/quartz/memallocator.c: Robert Shearman Return an error instead of crashing later on a divide by zero exception when an alignment of 0 is specified. * dlls/ole32/stg_prop.c, dlls/ole32/tests/stg_prop.c: Juan Lang - add write support to IPropertyStorage, with tests - misc. cleanups the tests turned up * include/shobjidl.idl: Huw Davies Add some missing SFGAO_ defines and fix SFGAO_GHOSTED. * dlls/shell32/shlfolder.c, dlls/shell32/tests/shlfolder.c: Huw Davies Directory items should have the SFGOA_FILESYSANCESTOR attribute. Add a test for this and cleanup the shlfolder test a bit. * dlls/mscms/profile.c, dlls/mscms/tests/profile.c: Vincent Béron Don't reference c:\windows directly. * tools/wine.inf: Juan Lang Register control\class\{GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR}. * include/powrprof.h, include/winnt.h: Benjamin Cutler Added function/enum/structs for power management API. * dlls/mshtml/Makefile.in, dlls/mshtml/htmldoc.c, dlls/mshtml/mshtml_private.h, dlls/mshtml/persist.c: Jacek Caban Stub implementation od IPersist, IPersistMoniker, IPersistFile, IMonikerProp. * dlls/kernel/tests/mailslot.c, server/mailslot.c: Mike McCormack Calculate the size of the next mailslot message correctly. * dlls/wininet/internet.c, dlls/wininet/tests/http.c: Jason Edmeades Ensure A->W version of InternetCrackURL passes correct length values, and associated tests. * dlls/msi/action.c, dlls/msi/custom.c, dlls/msi/format.c: Steven Edwards Avoid using ver.h in favor of winver.h. * programs/winetest/gui.c, programs/winetest/main.c, programs/winetest/winetest.h: Ferenc Wagner Use the same maximum length for tags given on the command line and tags entered in the GUI. * dlls/ole32/dictionary.c, dlls/ole32/dictionary.h, dlls/ole32/stg_prop.c, dlls/ole32/tests/.cvsignore, dlls/ole32/tests/Makefile.in, dlls/ole32/tests/stg_prop.c: Juan Lang Add traces, add unit tests for IPropertyStorage, and fix the problems they caught. * dlls/wininet/internet.c: Juan Lang - set size required correctly for all supported options - tidy up a few lines of indenting in INET_QueryOptionHelper - implement querying INTERNET_OPTION_PROXY * dlls/ddraw/dsurface/dib.c: Matthew Mastracci Correctly lock and unlock surface for a single-surface Blt() and BltFast() call. * dlls/advapi32/security.c: Hans Leidekker Implement GetNamedSecurityInfo. * dlls/x11drv/dib.c: Rein Klazes Fix X11DRV_DIB_SetImageBits_RLE(4|8) when an non-zero x-offset (argument left) is specified. * dlls/opengl32/opengl_ext.c: Tom Wickline Sync to the latest opengl specs. * dlls/riched20/editor.c: Hannu Valtonen Added mousewheel support. * dlls/ntdll/tests/reg.c: Paul Vriens Flags should be or-ed. * dlls/comctl32/tab.c: Dimitrie O. Paun Tab unicodification. * dlls/comctl32/monthcal.c: Dimitrie O. Paun MonthCal unicodification. * dlls/kernel/sync.c, dlls/ntdll/file.c, include/winternl.h: Mike McCormack Move mailslot set and query info implementation to ntdll. * dlls/shell32/.cvsignore, dlls/shell32/Makefile.in, dlls/shell32/classes.c, dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/shell32_main.c, dlls/shell32/shres.rc, dlls/shell32/shresdef.h: Huw Davies Fix the icon resource ids (most were off by one). Fix IExtractIcon_{GetIconLocation,Extract} to use -ve icon resource ids and fix bugs relating to confusion between resource ids and the system imagelist indicies. Extend the system imagelist initialization hack to load both +ve and -ve resource ids. Add a printer icon (that'll be used by an upcoming printer folder patch). * dlls/mpr/mpr_Es.rc, dlls/msi/msi_Es.rc, dlls/shdocvw/Es.rc, dlls/shdocvw/shdocvw.rc, dlls/wininet/wininet_Es.rc, dlls/winmm/winmm_Es.rc: José Manuel Ferrer Ortiz Spanish translations updated. * include/ole2.h: Michael Lin Added missing OleDraw() declaration. * dlls/gdi/freetype.c: Vincent Béron Make static some functions used only in a single file. * dlls/dsound/primary.c: Robert Reif Initialize primary buffer on open. * dlls/setupapi/devinst.c, include/cfgmgr32.h: Juan Lang Implement SetupDiClassNameFromGuidExA. * include/propidl.idl: Juan Lang Add a few missing declarations. * programs/regedit/listview.c, programs/regedit/main.c, programs/regedit/treeview.c: Marcus Meissner Removed inclusion of process.h (not needed and breaks with gcc4). * dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c: Mike McCormack Add stub for FaultInIEFeature. * include/wtypes.idl: Mike McCormack Add uCLSSPEC, CSPLATFORM and QUERYCONTEXT structures. * dlls/comctl32/syslink.c: Dimitrie O. Paun Audit the code against Comctl32.dll version 6.0. Handle notification and styles as in the other controls. Maintain the const for strings throughout parsing. * include/Makefile.in: Dimitrie O. Paun Remove reference to nonexistant strmif.h. * dlls/comctl32/monthcal.c: Ulrich Czekalla Clear systemtime struct so we don't return garbage in uninitialized fields. * programs/uninstaller/En.rc: Hannu Valtonen Fix a typo in uninstaller's english appname. * tools/wine.inf: Hannu Valtonen Run msi files with msiexec. Change Control Panel\Desktop to correct case. * dlls/x11drv/dib.c: Glenn Wurster Fix array index crash in buidling GDI palette from logical palette. * dlls/advapi32/crypt.c, dlls/advapi32/crypt.h, dlls/advapi32/tests/crypt.c: Michael Jung Make crypt functions more robust in case of incorrect api usage. * server/window.c: Raphael Junqueira Fix potential region leak. * dlls/advapi32/tests/registry.c: James Hawkins Create the 'Test' value in a temporary subkey to avoid conflicts between tests. * DEVELOPERS-HINTS: Dimitrie O. Paun Added cryptdll/ and stdole32.tlb/. * dlls/dsound/tests/dsound8.c, include/dsound.h: James Hawkins Remove nonstandard type LPLPVOID. * documentation/ole.sgml: Mike Hearn More notes about the inner workings of DCOM. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Create the GL texture id at texture-binding time. * dlls/riched20/editor.c: Krzysztof Foltman - EM_CANPASTE implemented - updated TODO list (including list of (un)implemented messages) - fixed WM_PASTE (the previous version might not close the clipboard if it didn't contain a usable format) - scrollbar operations (like clicking on arrows) should update scrollbar's current position * include/windef.h: Vincent Béron Fix a typo in a comment. * dlls/gdi/metafile.c, dlls/gdi/mfdrv/init.c: Dimitrie O. Paun Cleanup the API docs. Few indentation/formatting fixes. * dlls/winmm/tests/capture.c, dlls/winmm/tests/wave.c, dlls/winmm/tests/winmm_test.h: Robert Reif Changed regression test to make sure position is correctly checked when a different type is returned. Added Jeremy White's WAVE_FORMAT_DIRECT/WAVE_MAPPER fix. Added waveInGetPosition checks. * dlls/winmm/wavemap/wavemap.c: Robert Reif Correctly handle where waveOutGetPosition changes timepos.wType because the requested type is not supported. Added Jeremy White's waveOutGetPosition fix to waveInGetPosition. * dlls/hhctrl.ocx/hhctrl.c: Mike Hearn Only do unicode conversion in HTML Help control when filename is specified. * dlls/msi/dialog.c, dlls/msi/msipriv.h, dlls/msi/record.c: Mike McCormack Load and display bitmaps in the dialogs. * dlls/user/tests/win.c, windows/scroll.c: Rein Klazes In ScrollWindowEx, if the window already has an update region then add this to hrgnUpdate. With a conformance test. * programs/winetest/gui.c, programs/winetest/main.c: Ferenc Wagner Silence some signedness warnings. 2005-03-31 Alexandre Julliard * dlls/x11drv/bitmap.c, dlls/x11drv/dib.c, dlls/x11drv/x11drv.h: Introduced an X_PHYSBITMAP structure to allow storing more x11drv information about a bitmap than just the pixmap id. * dlls/kernel/tests/file.c, dlls/user/tests/msg.c, dlls/user/tests/win.c: Rein Klazes Fix some incorrect uses of the ok macro where the result depends on the evaluation order of its arguments. * dlls/msvcrt/file.c, dlls/msvcrt/tests/file.c: Hans Leidekker Implement and test _chsize. * dlls/x11drv/xrender.c: Avoid directly accessing the BITMAPOBJ structure. * dlls/x11drv/window.c, dlls/x11drv/x11drv.h: Removed the no longer needed X11DRV_get_client_area_offset function. * dlls/x11drv/dce.c, include/wine/server_protocol.h, server/protocol.def, server/trace.c, server/window.c: Return the coordinates information needed to setup the DC parameters in the get_visible_region request instead of requiring the client to compute it again. * dlls/user/tests/win.c, windows/scroll.c: Rein Klazes If ScrollWindowEx do not use the DCX_USESTYLE to get a DC. Instead calculate DCX_CLIPSIBLINGS, DCX_PARENTCLIP and DCX_CLIPCHILDREN. The DCX_CLIPCHILDREN is not used when ScrollWindowEx is called with a SW_SCROLLCHILDREN flag. With a couple of regression tests. * dlls/winsock/socket16.c: Rein Klazes Fix a copy&paste bug in get_buffer_pe. * dlls/ole32/stg_prop.c, dlls/ole32/stg_stream.c, dlls/ole32/storage32.c, dlls/ole32/storage32.h: Mike McCormack Eliminate forward declarations, make functions static. * programs/winetest/gui.c, programs/winetest/main.c, programs/winetest/resource.h, programs/winetest/winetest.h, programs/winetest/winetest.rc: Ferenc Wagner Ask for a tag if one was not given on the command line. * dlls/gdi/clipping.c, dlls/gdi/dc.c, dlls/gdi/gdi_private.h: Added support for the DC meta region. * dlls/mshtml/Makefile.in, dlls/mshtml/htmldoc.c, dlls/mshtml/main.c, dlls/mshtml/mshtml_private.h: Jacek Caban Stub implementation of HTMLDocument2 interface. * dlls/user/tests/text.c: Paul Vriens Use textlen instead of len. Use textheight as the return value of DrawTextA. * dlls/advapi32/tests/security.c: Stefan Leichter Fix GetFileSecurityA test on Win98. * dlls/winmm/winealsa/audio.c: Paul van Schayck Don't stop looking for devices if one can't be opened. * dlls/winspool/info.c: Huw Davies Set the registry keys under HCU\Software\Microsoft\Windows NT\CurrentVersion to mimic the win.ini values. * dlls/shell32/debughlp.c: Mike McCormack Fix up PIDL dumping code. * dlls/x11drv/keyboard.c: Aric Cyr Japanese 106 Keyboard fix. 2005-03-30 Alexandre Julliard * dlls/kernel/file.c, dlls/kernel/sync.c, dlls/kernel/tests/mailslot.c, dlls/ntdll/file.c, include/wine/server_protocol.h, server/Makefile.in, server/mailslot.c, server/protocol.def, server/request.h, server/trace.c: Mike McCormack Implement mailslots. * dlls/user/menu.c, dlls/user/tests/msg.c, windows/nonclient.c, windows/win.c: Dmitry Timoshkov - Make GetSystemMenu respect CS_NOCLOSE. - EnableMenuItem should not generate WM_WINDOWPOSCHANGING message. - Make nonclient code check for presence of SC_CLOSE, not CS_NOCLOSE window class style. - Add a test case. * dlls/advapi32/crypt.c: Michael Jung Removed the incomplete signature checking code. * dlls/user/painting.c, dlls/user/tests/dce.c, dlls/x11drv/dce.c, server/window.c, windows/nonclient.c: The update region passed in WM_NCPAINT and the clipping region passed to GetDCEx have to be in screen coordinates. * dlls/comctl32/syslink.c, dlls/gdi/palette.c, dlls/kernel/comm.c, dlls/msi/dialog.c, dlls/ntdll/rtlstr.c, dlls/ole32/compobj.c, dlls/ole32/tests/marshal.c, dlls/oleaut32/typelib.h, dlls/rpcrt4/rpc_binding.c, dlls/rsaenh/mpi.c, dlls/shell32/shfldr_unixfs.c, dlls/wininet/internet.c, dlls/winsock/tests/sock.c, dlls/x11drv/xfont.c, programs/regedit/regproc.c, tools/widl/typelib_struct.h: Francois Gouget Assorted spelling fixes. * include/urlmon.idl: Jacek Caban Added IMonikerProp and IInternetPriority interfaces. * include/mshtmdid.h: Jacek Caban Added some definitions. * dlls/kernel/computername.c: Hans Leidekker Return a computername constructed from the hostname. * dlls/kernel/ne_module.c: Better handling of 16-bit native dlls when a 32-bit builtin with the same name exists; should help with the 16-bit cards.dll issue. Replace some magic error numbers by the corresponding names. * dlls/user/painting.c, dlls/user/tests/dce.c, dlls/user/user_private.h, dlls/x11drv/dce.c, dlls/x11drv/x11drv.spec, include/win.h: Only reset the clip region in GetDC() if a new region is specified. Don't release the clip region for window DCs in ReleaseDC(), except when called from EndPaint(). Added a bunch of tests. * dlls/user/menu.c: Uwe Bonnes Zero out return string in GetMenuStringA/W. * dlls/ntdll/ntdll.spec, dlls/ntdll/sec.c: Mike McCormack Stub implementation of RtlAbsoluteToSelfRelativeSD. * dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c: Robert Reif Keep dsound8.c and dsound.c in sync. * dlls/oleaut32/olepicture.c: Alex Villacís Lasso Initialize [orig|himetric][Width|Height] for PICTYPE_ICON case. * dlls/advapi32/registry.c, dlls/ntdll/reg.c: Robert Shearman Move save_registry and unload_key server calls to ntdll. * dlls/msi/action.c: Aric Stewart Make sure the GUID of the typelib we are registering matches the guid requested from MSI. If not search the given typelib file to find the typelib requested to register. 2005-03-29 Alexandre Julliard * programs/winetest/main.c: Ferenc Wagner Try using a stable temporary directory at first to silence ZoneAlarm warnings. * dlls/advapi32/service.c: Mike McCormack Implement ChangeServiceConfig. * dlls/msacm/format.c, dlls/psapi/psapi_main.c, dlls/user/text.c, dlls/wininet/netconnection.c: Peter Berg Larsen Janitorial: Get rid of strncpy/strncpyW. * dlls/winmm/winealsa/audio.c: Jerry Jenkins Improve winealsa dsound driver by accessing sound driver's buffer directly in an undocumented way. * dlls/d3d8/directx.c, dlls/d3d9/cubetexture.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/texture.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, dlls/wined3d/basetexture.c, dlls/wined3d/cubetexture.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/drawprim.c, dlls/wined3d/indexbuffer.c, dlls/wined3d/resource.c, dlls/wined3d/surface.c, dlls/wined3d/texture.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/volume.c, dlls/wined3d/volumetexture.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Oliver Stieber - Volume now inherits Resource. This isn't the way Microsoft implements the interface but it is more correct way (Microsoft even have a resource type of volume). - Moved usage, format, allocatedMemory and size onto the resource class structure. - Refactored Preload for classes that inherit BaseTexture, preload now binds the texture instead of bind texture calling preload, bindTexture allocated a glTexture if there isn't one. - Added two new class static members BaseTexture_CleanUp and Resource_CleanUp that should be called by classes that implement BaseTexture or Resource. * dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/dce.c, dlls/x11drv/dce.c: Only restore the DC attributes on the next GetDC, and add support for the DCX_NORESETATTRS flag. Get rid of the DCE flags, simplify the code a bit. Add some test cases. * dlls/oleaut32/olepicture.c: Alex Villacís Lasso Fix failure to notice the use of a GIF palette index greater or equal to 128 for transparency. * programs/regedit/Cs.rc, programs/regedit/De.rc, programs/regedit/En.rc, programs/regedit/Es.rc, programs/regedit/Fr.rc, programs/regedit/It.rc, programs/regedit/Ja.rc, programs/regedit/Pl.rc, programs/regedit/Pt.rc: Jacek Caban Added ES_AUTOHSCROLL style to the edittext changing text data. * dlls/gdi/enhmetafile.c, dlls/gdi/tests/metafile.c: Huw Davies In a call to EnumEnhMetaFile when hdc is NULL, lpRect may be NULL. Add a test for this. * dlls/ole32/storage32.c: Huw Davies WriteFmtUserTypeStg doesn't pull a CLSID from the registry - it's unclear when (if at all) this gets written. * dlls/user/kbd16.c, dlls/user/lstr.c, dlls/user/user16.c: Moved 16-bit string functions to user16.c and kbd16.c. * dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/elf_module.c, dlls/dbghelp/minidump.c, dlls/dbghelp/module.c, dlls/dbghelp/path.c, dlls/dbghelp/pe_module.c, include/dbghelp.h: Eric Pouech - Various improvements for minidump module information . added timestamp & checksum in PE module . added size & checksum in ELF module . wine loader now appears with its pathname. - Implemented PE & ELF timestamp & checksum validation in SymFindFileInPath. * dlls/user/Makefile.in, dlls/user/uitools.c, windows/rect.c: Moved rectangle functions to uitools.c and removed rect.c. * dlls/winspool/info.c: Dimitrie O. Paun Unicodify WINSPOOL_OpenDriverReg(). * dlls/ole32/compobj.c: Huw Davies Don't close reg key if the open failed. * dlls/oleaut32/tmarshal.c: Marcus Meissner Serialize NULL pointer interfaces correctly. * dlls/user/tests/msg.c, windows/scroll.c: Rein Klazes ScrollWindow should call ScrollWindowEx with the SW_ERASE flag set. With conformance test. * server/fd.c, server/file.c, server/file.h, server/serial.c, server/sock.c: Eric Pouech Clean-up async IO internal functions. * dlls/advapi32/registry.c, dlls/ntdll/reg.c, include/winternl.h, server/registry.c: James Hawkins - Implement NtLoadKey. - Forward RegLoadKey to NtLoadKey. * dlls/user/user16.c, windows/rect.c: Moved 16-bit rectangle functions to user16.c. * dlls/kernel/kernel32.spec, dlls/kernel/locale.c: Troy Rollo Implement SetCPGlobal (an undocumented Win32 API). * dlls/advapi32/tests/crypt.c: Michael Jung Added a test for advapi32, which documents a crash in wine triggered by incorrect api usage. * dlls/ole32/clipboard.c, dlls/ole32/ole2.c: Vincent Béron Change prototypes so gcc with some warnings doesn't bark. * tools/winapi/win32.api: Vincent Béron rsabase doesn't use any types now, so remove it. * dlls/advapi32/security.c, dlls/advapi32/tests/security.c: Stefan Leichter Fix GetFileSecurityW for not existing directories/files. * dlls/dbghelp/msc.c, dlls/dbghelp/symbol.c: Eric Pouech - PDB: better checking for error conditions - Fixed name demangling (when activated) when searching for a symbol * dlls/ntdll/tests/reg.c: Jacek Caban Fixed ntdll:reg test on win9x. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Handle control characters in VkKeyScanEx similar to what Windows does. * dlls/user/scroll.c, dlls/user/tests/win.c: Rein Klazes - GetScrollRange should return an empty range, both upper and lower limit zero, if the window has no scrollbars (msdn). - GetScrollInfo's return value is TRUE is nBar is SB_CTL or if anything is filled in the SCROLLINFO structure, otherwise the return value is FALSE. * dlls/oleaut32/tmarshal.c: Marcus Meissner Fixed VT_BSTR|VT_BYREF marshalling. Added VT_I4|VT_BYREF marshalling. * dlls/msi/Makefile.in, dlls/msi/database.c, dlls/msi/msi.c: Mike McCormack Split out database functions, remove dependence on wine/unicode.h. 2005-03-28 Alexandre Julliard * dlls/commdlg/filedlg.c, dlls/dmband/band.c, dlls/dmcompos/chordmap.c, dlls/dmime/audiopath.c, dlls/dmime/graph.c, dlls/dmime/segment.c, dlls/iphlpapi/ifenum.c, dlls/iphlpapi/iphlpapi_main.c, dlls/kernel/atom16.c, dlls/kernel/profile.c, dlls/rsaenh/rsaenh.c, dlls/shlwapi/path.c, dlls/shlwapi/string.c, dlls/shlwapi/url.c, dlls/wininet/cookie.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/dbghelp/dbghelp.c, dlls/dbghelp/module.c, dlls/dbghelp/symbol.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/propset.c, dlls/dswave/dswave.c, dlls/gdi/env.c, dlls/kernel/tests/process.c, dlls/msi/action.c, dlls/msi/appsearch.c, dlls/msi/dialog.c, dlls/msi/format.c, dlls/msvcrt/dir.c, dlls/msvideo/msvideo16.c, dlls/opengl32/wgl.c, dlls/quartz/dsoundrender.c, dlls/quartz/parser.c, dlls/quartz/transform.c, dlls/quartz/videorenderer.c, dlls/quartz/waveparser.c, dlls/setupapi/devinst.c, dlls/setupapi/setupcab.c, dlls/tapi32/assisted.c, dlls/wineps/afm2c.c, dlls/winsock/socket.c, programs/msiexec/msiexec.c, programs/regedit/regproc.c, programs/winecfg/drive.c, programs/winedbg/memory.c, programs/winemine/main.c, windows/spy.c: Peter Berg Larsen Janitorial: Get rid of strncpy/strncpyW. * dlls/x11drv/bitmap.c, dlls/x11drv/clipboard.c, dlls/x11drv/dib.c, dlls/x11drv/x11drv.h: Merged X11DRV_BITMAP_CreateBitmapHeaderFromPixmap into X11DRV_DIB_CreateDIBFromPixmap and simplified the code a bit. * dlls/kernel/sync.c, dlls/kernel/tests/mailslot.c, dlls/ntdll/file.c, dlls/ntdll/nt.c, include/winternl.h: Mike McCormack Implement CreateMailslot using NtCreateMailslotFile. * dlls/ole32/compositemoniker.c: Mike McCormack Remove function prototypes, make functions static. * programs/wcmd/batch.c: Vincent Béron Native wcmd.exe accepts CALLs to .exe files. * tools/widl/widltypes.h: Vincent Béron Keep types sorted in alphabetical order. * tools/widl/parser.l, tools/widl/parser.y: Vincent Béron Add support for single in idl files. * dlls/advapi32/tests/security.c: Stefan Leichter Added a test for GetFileSecurityA. * dlls/oleaut32/tmarshal.c: Marcus Meissner Fixed ppvObject serializer (deref twice instead of once). Actually pass back return value of remote call in type marshaller. * dlls/kernel/tests/time.c: Jakob Eriksson Remove tests that fail badly on Windows 98. * dlls/ntdll/tests/error.c: Saulius Krasuckas Fix an error code for ME. * include/axextend.idl: Vladdy Impaler Define the IAMStreamConfig interface. * configure, configure.ac: Jacek Caban Added checking for artsc library. 2005-03-27 Alexandre Julliard * dlls/x11drv/bitmap.c, dlls/x11drv/brush.c, dlls/x11drv/dib.c, dlls/x11drv/window.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv.h: Added X11DRV_get_pixmap and X11DRV_set_pixmap functions to avoid direct accesses to the physBitmap field of the bitmap structure. * dlls/ole32/bindctx.c: Mike McCormack Remove function prototypes, make functions static. * dlls/oleaut32/tmarshal.c: Mike Hearn Fix BSTR tracing in the typelib marshaller. * dlls/gdi/gdi_private.h, dlls/x11drv/bitmap.c, dlls/x11drv/init.c, dlls/x11drv/x11drv.h, include/gdi.h: Store the handle to the stock bitmap when the first DC is created to avoid exporting the DEFAULT_BITMAP define. * dlls/oleaut32/tmarshal.c: Marcus Meissner Format VT_UI1, VT_I1, VT_UI2, VT_I2 correctly. * dlls/ole32/datacache.c: Mike McCormack Remove unnecessary function prototypes. * dlls/ole32/antimoniker.c: Mike McCormack Remove function prototypes, make functions static. * dlls/x11drv/dce.c, dlls/x11drv/init.c, dlls/x11drv/x11drv.h: Store the DCE pointer in the DC physDev structure using an x11drv GDI escape. * dlls/shell32/shelllink.c: Mike McCormack Use api definitions, remove duplicate code. * dlls/setupapi/stubs.c: Hans Leidekker Remove stray 8bit character. * dlls/winmm/winealsa/audio.c: Jerry Jenkins Don't mistake frames for bytes. * dlls/comctl32/rebar.c: Robert Shearman Fix size passed to SPI_NONCLIENTMETRICS. * dlls/oleaut32/tmarshal.c: Marcus Meissner Added IDispatch::GetIDsOfNames() special case serializing. Handle VT_PTR / NULL marshalling correctly. * windows/nonclient.c, windows/winpos.c: Ulrich Czekalla When computing nonclient area take into consideration that a child windows with the WS_POPUP style can have a menu bar. 2005-03-25 Alexandre Julliard * dlls/gdi/dc.c, dlls/gdi/gdi_private.h, dlls/gdi/gdiobj.c, include/gdi.h: Explicitly store the stack of saved DCs in the DC structure instead of using the 16-bit hNext field in the object header. * dlls/gdi/clipping.c, dlls/gdi/dc.c, dlls/gdi/gdi_private.h: Maintain the stack of saved vis regions in the DC structure instead of storing it directly in the region objects. * dlls/comctl32/animate.c, dlls/comctl32/commctrl.c, dlls/comctl32/imagelist.c, dlls/comctl32/listview.c, dlls/comctl32/propsheet.c, dlls/comctl32/syslink.c, dlls/comctl32/toolbar.c: Dimitrie O. Paun Use {Alloc,ReAlloc,Free}() instead of Heap{Alloc,ReAlloc,Free}(). * dlls/shell32/tests/shlfileop.c: Paul Vriens Print retval in decimal to avoid confusion. NT4 fails with ERROR_INVALID_TARGET_HANDLE instead of ERROR_REDIR_PAUSED. Use some correct messages on error. Extra tracing. * dlls/user/menu.c, dlls/user/tests/win.c: Ulrich Czekalla Child windows with the WS_POPUP style are allowed to have a menu. * dlls/uuid/uuid.c, include/.cvsignore, include/Makefile.in, include/mshtmhst.idl: Jacek Caban Added mshtmhst.idl. * programs/winetest/main.c: Ferenc Wagner Check desktop visibility after processing command line arguments. * dlls/user/tests/msg.c, dlls/user/tests/win.c, dlls/x11drv/scroll.c, windows/scroll.c: Rein Klazes ScrollDC and X11DRV_SCROLLDC should scroll only pixels coming from within the visible region, clipped to the clipping region if that exists. Add the destination of pixels coming from the outside of this region to the update region. With tests that depend on this. * dlls/user/Makefile.in, dlls/user/painting.c, dlls/user/user16.c, dlls/user/user32.spec, dlls/user/user_main.c, dlls/user/user_private.h, dlls/x11drv/Makefile.in, dlls/x11drv/dce.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv.spec, include/dce.h, include/win.h, windows/class.c, windows/dce.c, windows/nonclient.c, windows/win.c: Moved DCE support to the X11 driver. * dlls/kernel/virtual.c: Mike Hearn Don't fault on NULL pointers in Is*Ptr functions. * dlls/oleaut32/tmarshal.c: Mike Hearn Fix PARAMFLAG_FOUT typo in the tmarshaller. * dlls/msi/msi.c, dlls/msi/record.c: Mike McCormack Use strdup, implement MsiDatabaseImportA. * dlls/user/menu.c: Ulrich Czekalla Don't map point to parent's client window because the rest of the code assumes screen coordinates. * dlls/user/user32.spec, dlls/x11drv/window.c, include/win.h, include/wine/server_protocol.h, server/protocol.def, server/request.h, server/trace.c, server/window.c, windows/win.c: Replace the link_window request by a set_parent request since that is all link_window is used for at this point. Get rid of the WIN_LinkWindow/UnlinkWindow functions. * dlls/comctl32/updown.c: Dimitrie O. Paun Proper handling for GWL_STYLE. Minor cleanups. * dlls/comctl32/toolbar.c: Dimitrie O. Paun Fix a memory leak in toolbar. Avoid casts. * dlls/advapi32/tests/registry.c: James Hawkins Replace a trace with a previously removed test. * dlls/comctl32/propsheet.c, dlls/comctl32/syslink.c: Dimitrie O. Paun Handle wParam in WM_PAINT properly: if non-null, it is the hdc we are supposed to use to draw into. * dlls/comctl32/pager.c: Dimitrie O. Paun Add Robert Shearman's explanation about WM_NCPAINT. Move testing comments in a more appropriate place. * dlls/quartz/tests/filtergraph.c: Jakob Eriksson Don't run FilterGraph tests if FilterGraph functionality is not available. * dlls/kernel/tests/thread.c: Jakob Eriksson Fix thread affinity test for SMP machines. * dlls/netapi32/tests/access.c: Jakob Eriksson No need continuing tests if no NetUserGetInfo. 2005-03-24 Alexandre Julliard * dlls/x11drv/init.c, dlls/x11drv/xrender.c: Try a TrueColor visual if Xrender fails with a DirectColor one. * dlls/comctl32/propsheet.c, dlls/commdlg/filedlg.c, dlls/commdlg/printdlg.c, dlls/commdlg/printdlg16.c, dlls/d3d8/surface.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/dsurface/dib.c, dlls/dinput/device.c, dlls/dinput/dinput_main.c, dlls/dinput/mouse.c, dlls/dmstyle/commandtrack.c, dlls/dplayx/dplay.c, dlls/dplayx/dplaysp.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplobby.c, dlls/dplayx/lobbysp.c, dlls/dplayx/name_server.c, dlls/gdi/enhmfdrv/init.c, dlls/gdi/font.c, dlls/gdi/gdi16.c, dlls/gdi/mfdrv/bitblt.c, dlls/gdi/mfdrv/graphics.c, dlls/gdi/mfdrv/init.c, dlls/gdi/palette.c, dlls/gdi/path.c, dlls/imagehlp/access.c, dlls/imm32/imm.c, dlls/iphlpapi/ifenum.c, dlls/iphlpapi/iphlpapi_main.c, dlls/iphlpapi/ipstats.c, dlls/kernel/comm.c, dlls/kernel/format_msg.c, dlls/kernel/heap.c, dlls/kernel/local16.c, dlls/kernel/ne_segment.c, dlls/kernel/resource16.c, dlls/kernel/toolhelp.c, dlls/lzexpand/lzexpand_main.c, dlls/mapi32/util.c, dlls/mpr/wnet.c, dlls/msacm/internal.c, dlls/mscms/profile.c, dlls/msdmo/dmoreg.c, dlls/msi/action.c, dlls/msi/custom.c, dlls/msvcrt/process.c, dlls/msvideo/msvideo_main.c, dlls/netapi32/nbcmdqueue.c, dlls/netapi32/nbnamecache.c, dlls/netapi32/nbt.c, dlls/netapi32/netbios.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/typelib.c, dlls/oledlg/insobjdlg.c, dlls/quartz/filtergraph.c, dlls/riched20/editor.h, dlls/rpcrt4/rpcrt4_main.c, dlls/rsaenh/handle.c, dlls/rsaenh/implglue.c, dlls/rsaenh/rsaenh.c, dlls/secur32/secur32.c, dlls/setupapi/devinst.c, dlls/setupapi/diskspace.c, dlls/shell32/shelllink.c, dlls/shlwapi/istream.c, dlls/shlwapi/reg.c, dlls/shlwapi/regstream.c, dlls/shlwapi/string.c, dlls/shlwapi/url.c, dlls/ttydrv/palette.c, dlls/user/dde/misc.c, dlls/user/exticon.c, dlls/user/listbox.c, dlls/user/lstr.c, dlls/vnbt.vxd/vnbt.c, dlls/winaspi/winaspi32.c, dlls/wined3d/surface.c, dlls/wineps/glyphlist.c, dlls/wineps/init.c, dlls/wineps/ps.c, dlls/wininet/internet.c, dlls/wininet/urlcache.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/midi.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/wineoss/dscapture.c, dlls/winmm/wineoss/dsrender.c, dlls/winmm/winmm.c, dlls/winsock/socket.c, dlls/x11drv/bitblt.c, dlls/x11drv/clipboard.c, dlls/x11drv/dib.c, dlls/x11drv/palette.c, dlls/x11drv/xdnd.c, dlls/x11drv/xfont.c, windows/winproc.c: Jakob Eriksson Get rid of HeapAlloc casts. * dlls/ttydrv/wnd.c, dlls/user/user32.spec, dlls/x11drv/event.c, dlls/x11drv/winpos.c, windows/winpos.c: Avoid calling WIN_ListChildren from the graphics drivers. * server/queue.c, windows/nonclient.c, windows/spy.c: Added support for xbuttons. * dlls/user/message.c, dlls/x11drv/mouse.c, include/winuser.h: Kevin Koltzau Added full support for xbuttons (side mouse buttons). * dlls/kernel/tests/pipe.c: Take into account the more correct behavior of recent Linux kernels. * dlls/msi/msi.c, dlls/msi/msiquery.c, dlls/msi/package.c, dlls/msi/preview.c: Mike McCormack Replace instances of HeapAlloc/MultiByteToWideChar with the internally defined strdupAtoW. * dlls/msi/action.c: Aric Stewart If running in UI mode, then display the UI mode dialogs at the end of the installs. * dlls/oleaut32/vartype.c: Alex Villacís Lasso After Float->string conversion via sprintfW(), VarDecFromR[4|8] is forced to use US locale for string->Decimal conversion, to agree with sprintfW(). * dlls/advapi32/tests/registry.c: Jakob Eriksson Fix some Windows 95 issues. * dlls/ttydrv/wnd.c, dlls/user/menu.c, dlls/user/message.c, dlls/user/msg16.c, dlls/user/painting.c, dlls/user/scroll.c, dlls/x11drv/desktop.c, dlls/x11drv/winpos.c, include/win.h, windows/class.c, windows/dce.c, windows/defdlg.c, windows/dialog.c, windows/mdi.c, windows/nonclient.c, windows/win.c, windows/winpos.c: Don't maintain a client-side WND structure for the desktop window. Made WIN_GetPtr return WND_DESKTOP in that case. * dlls/msi/dialog.c: Mike McCormack Make sure there's only one place we allocate dialog controls. * dlls/msi/registry.c: Mike McCormack Clean up registry functions. * dlls/riched20/writer.c: Phil Krylov Fixed \u keyword to output signed 16-bit values. Also fixed CP_SYMBOL conversion and the detection of the default font's codepage. * dlls/wtsapi32/wtsapi32.c: Hans Leidekker Pretend there are 0 terminal server sessions and processes. * dlls/ntdll/relay.c: Rein Klazes Support relay tracing of functions with 18 arguments. * dlls/dinput/keyboard.c, dlls/dinput/mouse.c: Raphael Junqueira - use WINE_DINPUT_KEYBOARD_MAX_KEYS instead hard-coded 256 value - better use of critical section - some cleanup to better understand code paths - logic correction on SetWindowsHookExA/UnhookWindowsHookEx on keyboard. * tools/widl/parser.y: Jacek Caban Added handling of unsigned type. * dlls/comctl32/imagelist.c: Huw Davies The depth of the colour bitmap needs to match that of the screen. * dlls/comctl32/comctl32undoc.c: Dimitrie O. Paun Complete the unicodification of comctl32undoc. 2005-03-23 Alexandre Julliard * dlls/user/hook.c, dlls/user/message.c, include/win.h, windows/user.c, windows/win.c, windows/winproc.c: Get rid of the window lock suspend mechanism. * dlls/comctl32/comboex.c, dlls/comctl32/header.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/rebar.c, dlls/comctl32/tab.c, dlls/commdlg/colordlg.c, dlls/commdlg/colordlg16.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlgbrowser.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d9/surface.c, dlls/dbghelp/elf_module.c, dlls/dbghelp/minidump.c, dlls/dmband/band.c, dlls/dmstyle/styletrack.c, dlls/dplayx/dplay.c, dlls/dplayx/dplobby.c, dlls/gdi/enhmetafile.c, dlls/kernel/instr.c, dlls/mapi32/prop.c, dlls/mscms/profile.c, dlls/msi/appsearch.c, dlls/msrle32/msrle32.c, dlls/ntdll/file.c, dlls/ntdll/server.c, dlls/ole32/errorinfo.c, dlls/ole32/hglobalstream.c, dlls/ole32/memlockbytes.c, dlls/ole32/memlockbytes16.c, dlls/ole32/oleproxy.c, dlls/ole32/storage32.h, dlls/oleaut32/safearray.c, dlls/oleaut32/typelib.c, dlls/shell32/autocomplete.c, dlls/shell32/cpanelfolder.c, dlls/shell32/memorystream.c, dlls/shell32/pidl.c, dlls/shell32/shellfolder.h, dlls/shell32/shellole.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlexec.c, dlls/shell32/shlfolder.c, dlls/shell32/shlmenu.c, dlls/shell32/shv_bg_cmenu.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/user/edit.c, dlls/user/tests/sysparams.c, dlls/wined3d/basetexture.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wineps/escape.c, dlls/wininet/http.c, dlls/winmm/winealsa/midi.c, dlls/winmm/wineoss/midi.c, documentation/ole.sgml, documentation/winedev-kernel.sgml, include/objbase.h, include/winnt.h, libs/wine/loader.c, programs/winedbg/break.c, tools/font_convert.sh, tools/wrc/newstruc.c: Francois Gouget Assorted spelling fixes. * dlls/advapi32/eventlog.c: Hans Leidekker Pretend there are 0 log records. Improve traces. * dlls/x11drv/clipboard.c: Ron Jensen Avoid bad visual errors in thread_selection_wnd(). * dlls/ttydrv/wnd.c, dlls/user/user32.spec, dlls/x11drv/winpos.c: Get rid of the remaining WIN_FindWndPtr calls. * dlls/advapi32/tests/registry.c: James Hawkins Add RegSaveKey, RegLoadKey tests. * dlls/comctl32/treeview.c: Jason Edmeades Make the treeview correctly search when the top index is selected. * dlls/kernel/tests/pipe.c: Alex Villacís Lasso Test for PeekNamedPipe with zero-length buffer. * dlls/winmm/winealsa/audio.c: Robert Reif Don't fail when opening a device in direct sound mode. Rather, try alternate formats first before failing. * dlls/ntdll/version.c: C. Scott Ananian Teach VERSION_GetLinkedDLLVersion about Mingw32 applications. * dlls/user/message.c, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/request.h, server/trace.c: Create a new server request for accepting hardware messages instead of abusing reply_message. Allow passing the determined window for a hardware message back to the server to have it redispatch the message to the correct thread. * dlls/user/tests/win.c, dlls/x11drv/window.c, windows/win.c: Robert Shearman - Window styles passed to CreateWindowEx must the same as passed in CREATESTRUCT for WM_CREATE/WM_NCCREATE. - Fix cases where WS_EX_WINDOWEDGE style is applied. - Tests for the above. * dlls/msi/msi.c, dlls/msi/msi.spec: Marcus Meissner Fixed MsiDatabaseImportA, MsiDatabaseImportW, and MsiCreateAndVerifyInstallerDirectory stub parameter counts. * dlls/comctl32/treeview.c: Dimitrie O. Paun Complete unicodification of the treeview common control. * dlls/comctl32/tooltips.c: Dimitrie O. Paun Complete unicodification of the tooltips common control. * dlls/comctl32/toolbar.c: Dimitrie O. Paun Complete unicodification of the toolbar common control. Move a header comment for consistency with the other controls. Very small alignment fixes. * dlls/comctl32/rebar.c: Dimitrie O. Paun Complete unicodification of the rebar common control. * dlls/comctl32/propsheet.c: Dimitrie O. Paun Complete unicodification of the propsheet common control. * dlls/comctl32/header.c: Dimitrie O. Paun Complete unicodification of the header common control. * dlls/comctl32/flatsb.c: Dimitrie O. Paun Complete unicodification of the flatsb common control. * dlls/comctl32/commctrl.c: Dimitrie O. Paun Complete unicodification. * dlls/winmm/winealsa/audio.c: Jeremy White Revamp the volume logic to be more self contained, fix a few bugs so that the volume is correctly read, and is correctly converted to windows style volume numbers. 2005-03-22 Alexandre Julliard * dlls/user/message.c: Simplify hardware message processing by merging the "raw" and "cooked" processing into a single function. * dlls/x11drv/desktop.c, dlls/x11drv/mouse.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c: Hans Leidekker Fix some -Wsign-compare and -Wuninitialized warnings. * dlls/kernel/virtual.c: Mike Hearn Log to +seh when an IsBad* function faults. * dlls/shell32/tests/shlfileop.c: Jakob Eriksson If the device gets interrupted, we just give up. * dlls/dsound/tests/dsound8.c: Jakob Eriksson Test fix. * windows/cursoricon.c, windows/winproc.c: Dimitrie O. Paun Eliminate useless HeapAlloc() casts. * dlls/kernel/tests/file.c: Fetch again the file time to compare against to avoid rounding errors. * dlls/kernel/tests/pipe.c: Jakob Eriksson Abort if we can't create a named pipe at all. * dlls/advapi32/security.c, dlls/comcat/information.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c, dlls/ole32/tests/marshal.c, dlls/shlwapi/tests/path.c, dlls/wininet/tests/http.c: Jakob Eriksson Eliminate HeapAlloc casts. * dlls/kernel/sync.c: Alex Villacís Lasso PeekNamedPipe now checks both for a NULL buffer and a zero-length buffer before trying to recv() from the pipe. * dlls/shlwapi/tests/shreg.c: Jakob Eriksson More trace info. * dlls/shell32/tests/string.c: Jakob Eriksson StrRetToStrNAW returns ok on NT4, though it should return FALSE. * dlls/ole32/tests/storage32.c: Jakob Eriksson More trace info from storage32 test. * dlls/ntdll/tests/env.c: Jakob Eriksson More trace info. * windows/winpos.c: Ulrich Czekalla Use GetAncestor instead of GetParent. * dlls/ntdll/time.c: Rustam Chernotkach Added support for ANAT (Anadyr Standard Time) to TZ_INFO. * dlls/kernel/tests/environ.c: Jakob Eriksson If the variable does not exist, just return. * dlls/msi/tests/record.c: Jakob Eriksson Windows 98 doesn't like it when we delete the tempfile. * dlls/msi/tests/db.c: Aric Stewart Test package creation. * dlls/user/tests/msg.c, windows/mdi.c: Dmitry Timoshkov If an MDI child becomes active restore previously maximized MDI child. * dlls/kernel/tests/file.c: Jakob Eriksson Fix patching error in file time test. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Add support for Serbian cyrillic X11 keyboard layout. * loader/preloader.c: Mike Hearn Increase PE reserve area size to 512Mb. * dlls/riched20/editor.c, dlls/riched20/editstr.h, dlls/riched20/reader.c, dlls/riched20/rtf.h, dlls/riched20/writer.c: Phil Krylov Made RTF reader and writer handle codepages mostly similar to the original riched20.dll. * dlls/user/edit.c, dlls/user/tests/edit.c: C. Scott Ananian EDIT_EM_SetSel: Old/new selection range ordering code would break when old_end < start < end < old_start. Reset EF_UPDATE flag after we've sent the update. * dlls/msi/msi.rc, dlls/msi/msi_Nl.rc, dlls/shdocvw/Nl.rc, dlls/shdocvw/shdocvw.rc: Hans Leidekker Dutch resource translation. * dlls/advapi32/tests/security.c: Jakob Eriksson Fix for NT4 behaviour. 2005-03-21 Alexandre Julliard * dlls/x11drv/mouse.c, dlls/x11drv/winpos.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c, include/wine/server_protocol.h, server/protocol.def, server/request.h, server/trace.c, server/window.c: Try to always keep the server window Z-order in sync with the X11 one using a heuristic based on mouse and expose events. * dlls/wininet/urlcache.c, include/wininet.h: Troy Rollo Implement CreateUrlCacheEntryW and CommitUrlCacheEntryW. Replace the existing 'A' versions with calls to the 'W' versions. * dlls/winmm/winealsa/audio.c: Robert Reif Fix direct sound capabilities to match hardware. * programs/winebrowser/main.c: Huw Davies Fix usage printf. * dlls/winmm/winealsa/audio.c: Fixed a missing patch chunk. * dlls/comctl32/animate.c: Dimitrie O. Paun Pull the WM_TIMER handling into its own function. ANIMATE_DrawFrame shouldn't worry about locking, the lock should be held by the caller. * dlls/ole32/clipboard.c, dlls/ole32/compobj.c, dlls/ole32/errorinfo.c, dlls/ole32/ftmarshal.c, dlls/ole32/oleobj.c, dlls/ole32/stg_bigblockfile.c, dlls/ole32/storage32.c, dlls/shell32/autocomplete.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/shell.c, dlls/shell32/shellole.c, dlls/shell32/shlmenu.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c: Mike McCormack Eliminate casts of the return value of HeapAlloc. * dlls/riched20/reader.c, dlls/riched20/rtf.h: Mike McCormack Remove casts and unused code. * programs/regedit/childwnd.c, programs/regedit/framewnd.c, programs/regedit/main.h: Robert Shearman Always display path in status bar. * programs/winebrowser/main.c: Hans Leidekker Prevent crash when no URL is specified. * dlls/winsock/tests/sock.c: Thomas Kho Added tests for sendto, recvfrom, and getservbyname. * dlls/winmm/winealsa/audio.c: Robert Reif Clean up handle usage. * dlls/x11drv/winpos.c: Don't try to resync Z-order on ConfigureNotify events, this cannot work right anyway. * dlls/avifil32/api.c, dlls/itss/itss.c, dlls/ole32/compobj.c, dlls/twain/twain16_main.c, dlls/winmm/mmsystem.c: Vincent Béron Correct and complete some api documentation. * dlls/shlwapi/tests/path.c, dlls/shlwapi/url.c: Troy Rollo Corrections to UrlIsW and UrlIsA. URL_IS_OPAQUE results depend only on the scheme, not on the URL. URL_IS_FILEURL also only depends on the scheme ("file:"). * dlls/x11drv/palette.c: Glenn Wurster Remove break statements missed in last patch. * tools/winapi/win16.api, tools/winapi/win32.api: Vincent Béron Teach winapi about types newly used in various dlls. * tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_parser.pm: Vincent Béron Teach winapi_check about other calling convention shorthands (they all are really stdcall). * dlls/wined3d/wined3d.spec: Vincent Béron WineDirect3DCreate has 3 args in the source. * dlls/ntdll/loader.c, dlls/riched20/editor.c: Vincent Béron Use "" for Windows includes in dlls, instead of <>. * dlls/atl/registrar.c: Jacek Caban Key words and replacements are case insensitive. * dlls/comctl32/treeview.c: Robert Shearman iSelectedImage is allowed to be 0. * dlls/shlwapi/reg.c: Robert Shearman Fix SHCopyKey to treat string parameter correctly as source path instead of destination path. * dlls/advapi32/security.c, dlls/avifil32/api.c, dlls/wininet/urlcache.c, dlls/wtsapi32/wtsapi32.c, include/aclapi.h, include/vfw.h, include/wtsapi32.h: Vincent Béron Fixed some calling conventions. * dlls/comctl32/comboex.c: Dimitrie O. Paun Complete unicodification. * dlls/comctl32/pager.c: Dimitrie O. Paun Proper handling for GWL_STYLE. Store and use hwndSelf in the PAGER_INFO. Pass the infoPtr around instead of hwnd. Use proper types in the function signatures. Fix a few return statements. * dlls/ole32/storage32.c: Troy Rollo Fix test for STGM_SHARE_EXCLUSIVE on nameless DocFiles. * programs/regedit/listview.c: Robert Shearman - Add icons for the value pane. - Display REG_MULTI_SZ values. - Make the lack of support for certain value types more noticeable to the user. * programs/regedit/edit.c: Robert Shearman - Display an error message if any edit operation fails. - Make key renaming fail if the destination key already exists. - Better error recovery in the case where SHCopyKey fails. * dlls/ddraw/dclipper/main.c: Christian Costa Removed wrong FIXMEs. * dlls/winmm/driver.c, dlls/winmm/mci.c: Filip Navara Specify correct buffer size in GetPrivateProfileStringW calls. * dlls/ntdll/file.c: Ivan Leo Puoti Improve parameter checking in NtCreateFile. Add documentation for ea_buffer and ea_length. * dlls/ddraw/dsurface/dib.c: Matthew Mastracci If a FOURCC surface specifies DDSD_PITCH, use that instead of dwLinearSize. * dlls/comctl32/animate.c: Dimitrie O. Paun Delete the critical section when freeing up the infoPtr. * dlls/winmm/winealsa/audio.c: Robert Reif Print out message name to make reading traces easier. * dlls/riched20/caret.c, dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/editstr.h, dlls/riched20/paint.c: Krzysztof Foltman - PageUp key support. - Support for "normal" scroll bar functionality (line and page scrolling). 2005-03-19 Alexandre Julliard * dlls/kernel/process.c, dlls/ntdll/thread.c, include/thread.h, include/winnt.h, include/winternl.h: Added support for the TLS expansion slots, adding an extra 1024 entries. * dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/audio.c: Robert Reif Fall back to default prepare/unprepare header functions. * dlls/dsound/mixer.c: Robert Reif Fix block align error message to show length before fix up. * dlls/shell32/memorystream.c: Mike McCormack Fix usage of STGM_ enumerations, remove forward declaration. * dlls/shell32/dataobject.c: Mike McCormack Remove forward declarations of interface methods. * dlls/shell32/cpanelfolder.c, dlls/shell32/shell32_main.h: Mike McCormack Remove an unused function. * dlls/msi/suminfo.c, dlls/msi/tests/.cvsignore, dlls/msi/tests/Makefile.in, dlls/msi/tests/suminfo.c: Mike McCormack - test cases for summary information - fix memory leaks * configure, configure.ac: Francois Gouget Issue a warning if no sound system was found. * dlls/riched20/caret.c, dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/editstr.h, dlls/riched20/paint.c, dlls/riched20/run.c, dlls/riched20/string.c, dlls/riched20/wrap.c: Krzysztof Foltman - made string operations consistent wrt whitespace handling (which should greatly improve stability of the wrap code and eliminate regressions of the most recent versions) - completely new scrollbar handling (much more reliable) and related redraw fixes - Page Down handler (no Page Up yet, fixing wrap/redraw/scrollbar bugs was of higher priority) * dlls/rpcrt4/rpc_server.c: Robert Shearman Fix deadlock caused by not leaving the critical section on all code paths. * dlls/ole32/ole2impl.c: Robert Shearman Fix memory leak in OleDuplicateData on error path (found by Smatch). * dlls/kernel/locale.c: Ulrich Czekalla GetCPInfo should return FALSE if called with NULL info buffer. * dlls/atl/registrar.c: Jacek Caban Added implementation of File[Un]Register and Resource[Un]RegisterSz. * tools/wine.inf: Paul Millar Bring default registry in line with implicit default behaviour by using the --auto option with winedbg. * dlls/version/install.c: Jon Griffiths Avoid a magic number. 2005-03-18 Alexandre Julliard * programs/winetest/util.c, tools/winegcc/utils.c: Fixed other instances of the xrealloc(0) bug. * dlls/comctl32/tests/updown.c, dlls/comctl32/updown.c: C. Scott Ananian UPDOWN_GetBuddyInt should not fail when the control is empty. * tools/winebuild/build.h, tools/winebuild/res16.c, tools/winebuild/res32.c: Jon Griffiths -Wunsigned fixes. * tools/winebuild/utils.c: Don't crash on xrealloc(0) (found by Jon Griffiths). * dlls/oleaut32/tests/vartype.c: Jacek Caban Fixed vartype test. * dlls/msi/msipriv.h, dlls/msi/suminfo.c, include/msi.h, include/msiquery.h: Mike McCormack Implement summary information loading and saving. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Jon Griffiths Implement @188,190,195,200,256,478,481. IUnknown_EnableModeless() also handles IOleInPlaceActiveObject. * dlls/comctl32/animate.c: Revert changes to the painting code, the WM_CTLCOLORSTATIC message should not be sent from the animation thread. * dlls/winmm/winealsa/audio.c: Robert Reif Add support for more than one sound card. Fix wave out support when no volume control is present. Use proper structure for wave in device caps. * dlls/winmm/tests/wave.c: Robert Reif Check wave out volume support. * dlls/atl/atl.rgs: Jacek Caban Fixed atl.rgs. * dlls/atl/registrar.c: Jacek Caban Keys may have only one of attributes. * dlls/dinput/joystick_linuxinput.c: Gerald Pfeifer Fix compilation of the case without proper Linux joystick support. * dlls/riched20/editor.c, dlls/riched20/reader.c, dlls/riched20/rtf.h: Phil Krylov Fixed support for RTF documents using ANSI charset and added support for multibyte charsets, so that BIG5 and UTF-8 RTF documents are working now. 2005-03-17 Alexandre Julliard * dlls/kernel/format_msg.c, dlls/kernel/tests/heap.c, dlls/mapi32/imalloc.c, dlls/ole32/ifs.c, dlls/shell32/cpanelfolder.c, dlls/shell32/dragdrophelper.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shlwapi/reg.c: Jon Griffiths Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc). * server/queue.c: Revert the previous change, this is not working right yet. * dlls/shell32/shlexec.c: Aric Stewart For ShellExecuteExA we need to copy out the hProcess value from the W structure. * dlls/ole32/Makefile.in, dlls/ole32/dictionary.c, dlls/ole32/dictionary.h, dlls/ole32/stg_prop.c: Juan Lang Begin implementing IPropertyStorage. * dlls/x11drv/winpos.c, include/wine/server_protocol.h, server/protocol.def, server/trace.c, server/window.c: Make the server know about the visible area of a window, which is the window rect minus the caption and borders when they are handled by the window manager. * dlls/kernel/comm.c, dlls/kernel/file.c, dlls/kernel/tests/file.c, dlls/kernel/tests/generated.c, dlls/ntdll/loader.c, dlls/quartz/filesource.c, dlls/wininet/urlcache.c, dlls/winsock/socket.c, include/winbase.h, include/wininet.h, include/winnt.h: Dmitry Timoshkov Match OVERLAPPED structure to the SDK definition. * dlls/winmm/wineoss/audio.c: Robert Reif Fall back to default header prepare and unprepare functions. * dlls/shell32/shlfolder.c: Mike McCormack Remove some dead code and some ifdefs. * dlls/wininet/internet.c, dlls/wininet/tests/http.c: Hans Leidekker Add more tests and fix InternetTimeToSystemTimeW accordingly. * dlls/shell32/debughlp.c: Mike McCormack Fix a regression in the file open dialog. * dlls/ntdll/reg.c: Ivan Leo Puoti Add parameter checking and remove last fixme. * dlls/kernel/tests/time.c: Jakob Eriksson More trace info. * dlls/winmm/winealsa/audio.c: Robert Reif Use real device name. * dlls/ttydrv/wnd.c, dlls/x11drv/winpos.c, include/wine/server_protocol.h, server/protocol.def, server/trace.c, server/window.c: Compute the top clipping window directly on the server side. * dlls/winsock/tests/sock.c: Jakob Eriksson More trace info. * dlls/atl/Makefile.in: Mike McCormack Fix dependencies. * dlls/shell32/shfldr_desktop.c: Mike McCormack Convert path to unicode, rearrange to remove forward declaration. * dlls/riched20/editor.c, dlls/riched20/reader.c, dlls/riched20/rtf.h: Phil Krylov Replaced slow and outdated character set handling in RTF reader by Unicode/codepages support. Added charset->codepage conversion. * include/winbase.h: Mike McCormack Declare inline string function WINAPI (found by Krzysztof Foltman). * include/shlguid.h, include/shlobj.h: Jon Griffiths Add some missing interfaces. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c, include/objbase.h: Robert Shearman - Add critsec debugging info. - Move the modal loop called during RPCs into CoWaitForMultipleHandles. - Use a mutex for long remoting calls to IRemUnknown methods. - Remove locking in apartment_disconnectproxies as it is not needed. - Use PostMessage instead of SendMessage so we can run the message loop or not as appropriate. * dlls/winmm/lolvldrv.c, dlls/winmm/winemm.h: Jeremy White Do not fallback to defaults if a driver, mapper, or midi is specified in the registry; consolidate MMDRV_Init() into a single function. * dlls/ole32/storage32.c, dlls/ole32/storage32.h: Juan Lang Add a comment about byte order, change types to reduce casting and not cast away constness. * dlls/atl/atl.spec, dlls/atl/registrar.c: Jacek Caban Added implementation of DllCanUnloadNow. * dlls/riched20/caret.c, dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/paint.c, dlls/riched20/para.c, dlls/riched20/reader.c, dlls/riched20/richole.c, dlls/riched20/rtf.h, dlls/riched20/run.c, dlls/riched20/string.c, dlls/riched20/wrap.c: Krzysztof Foltman - RTF reader doesn't use RichEdit messages anymore (which saves on unnecessary repaints) - added unicode character support to RTF import (like: \u12345 ?) - small fixes - fixed whitespace identification bug - removed drawing of paragraph marks - improved stub implementations for IRichEditOle 2005-03-16 Alexandre Julliard * dlls/riched20/writer.c: Phil Krylov Improved RTF export. * include/richedit.h: Phil Krylov Added missing PFE_ and PFA_ definitions. * dlls/wininet/tests/http.c: Jakob Eriksson Test failed before on 98, NT4, 2000 and XP. * dlls/x11drv/keyboard.c, dlls/x11drv/mouse.c: Don't force injected hardware messages to be queued in the current thread. * server/queue.c: Queue hardware messages even if we don't find a window for them the first time around. * Make.rules.in, dlls/Maketest.rules.in, tools/.cvsignore, tools/Makefile.in, tools/make_ctests, tools/make_ctests.c: Converted the make_ctests script to C (based on a patch by Royce Mitchell III). * server/window.c: Converted the window children lists to standard lists. * dlls/atl/.cvsignore, dlls/atl/Makefile.in, dlls/atl/atl.rgs, dlls/atl/atl_main.c, dlls/atl/registrar.c, dlls/atl/regsvr.c, dlls/atl/rsrc.rc: Jacek Caban Use ATLRegistrar to register atl.dll. * dlls/comctl32/tests/.cvsignore, dlls/comctl32/tests/Makefile.in, dlls/comctl32/tests/updown.c: C. Scott Ananian Started a unit test case for the updown control. * dlls/shell32/debughlp.c: Filip Navara _dbg_ILGetNext returns NULL if pidl->mkid.cb is zero, fix the loops accordingly. * dlls/riched20/editor.h: Jason Edmeades Correct memory allocation macro. * include/msidefs.h, include/propidl.idl: Mike McCormack Add property IDs for MSI summary information. * dlls/kernel/tests/path.c: Jakob Eriksson Fix broken test. * dlls/ddraw/tests/ddrawmodes.c: Jakob Eriksson SetDisplayMode can return DDERR_UNSUPPORTED. If it does, we shouldn't try to restore something either. * dlls/ntdll/directory.c, dlls/ntdll/file.c: Ulrich Czekalla Don't mark a file as readonly if it has any write bit set. * programs/uninstaller/main.c: Dmitry Timoshkov GetDlgItemTextW takes buffer length in WCHARs not bytes. * dlls/comctl32/animate.c: Dimitrie O. Paun Audit the control against Comctl32.dll version 6.0. Proper handling of GWL_STYLE. Implement WM_CLOSE. Fix WM_SIZE implementation. Small cleanups. * dlls/shlwapi/tests/clist.c: Jon Griffiths Fix two failures and (hopefully) a crash with early versions. * dlls/shell32/shellpath.c: Juan Lang Correct registering shell folders (values in Shell Folders key weren't getting written). * include/shlobj.h: Mike McCormack Add defines for SLDF flags. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/custom.c, dlls/msi/dialog.c, dlls/msi/format.c, dlls/msi/msipriv.h, dlls/msi/table.c: Mike McCormack - Rename dupstrW to strdupW, and remove duplicate definition. - Move definition of string manipulation functions to msipriv.h. * dlls/user/tests/win.c: Dmitry Timoshkov Actually print dwExStyle in case of a mismatch. * dlls/winmm/winmm.c: Robert Reif Provide default implementation of waveInPrepareHeader and waveInUnprepareHeader if driver doesn't support them. * dlls/dsound/capture.c: Robert Reif waveInPrepareHeader and waveInUnprepareHeader are not really needed because the contents don't change. * documentation/getting.sgml: Francois Gouget Fix a link to Wine's HowTo. * dlls/riched20/editor.c, dlls/riched20/reader.c, dlls/riched20/rtf.h: Krzysztof Foltman - Unknown destinations are now correctly skipped (so loading an RTF file generated by, for example, OpenOffice doesn't produce lots of garbage anymore). - Format stack for RTF groups (so that RTF reader can correctly read what RTF writer wrote :) ) * dlls/wtsapi32/wtsapi32.c, dlls/wtsapi32/wtsapi32.spec, include/wtsapi32.h: Hans Leidekker Stub implementations for WTSCloseServer, WTSDisconnectSession, WTSEnumerateProcesses{A,W}, WTSEnumerateSessions{A,W}, WTSQuerySessionInformationA. 2005-03-15 Alexandre Julliard * dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c: Build a static list of devices instead of relying on ELF constructors. * dlls/kernel/tests/environ.c: Jakob Eriksson More trace info. * dlls/advapi32/tests/crypt.c: Jakob Eriksson CryptAcquireContextA() can return NTE_FAIL on Windows 98. * dlls/dbghelp/msc.c: Filip Navara Initialize the "toc" field in the pdb_lookup structure in order to prevent pdb_free_lookup from trying to delete invalid pointers. * dlls/dsound/propset.c: Robert Reif Unconditionally free memory. Should make smatch happy. * dlls/riched20/reader.c, dlls/riched20/rtf.h: Phil Krylov Implemented hash table lookup for RTF keywords in RTF reader. * tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/spec32.c, tools/winebuild/utils.c: Use the correct file name in the "generated automatically" comments. * dlls/riched20/editor.c, dlls/riched20/writer.c: Krzysztof Foltman - WM_COPY (and WM_CUT) can now put both Unicode and RTF format (thanks to Phil Krylov's RTF generator code). - New message implemented - WM_PASTE. - RTF reader: rtfPlain implemented (kind of). - RTF writer: rewritten main loop (the old one crashed in some circumstances when SFF_SELECTION was used). * dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c: Robert Reif Change some global variable names. Cleanup usage of global dsound variable to not use local variable of same name. Almost ready to add support for more than one sound card at the same time. * DEVELOPERS-HINTS: Tom Wickline Add three missing dlls to the list. * dlls/comctl32/animate.c: Dimitrie O. Paun Cleanup and simplify the painting code. Fix a potential bug along the way. * dlls/winmm/wavemap/wavemap.c, dlls/winmm/mci.c: Robert Reif Fix memory leak in error path. * dlls/winmm/lolvldrv.c: Robert Reif Fix memory leak when there are too many drivers. * dlls/winmm/winmm.c: Jason Edmeades Avoid trap in mixerGetLineControlsA when cControls is uninitialized and MIXER_GETLINECONTROLSSF_ONEBYTYPE requested. 2005-03-14 Alexandre Julliard * dlls/mlang/tests/mlang.c: Stefan Leichter Make mlang_test.exe loadable on NT 4.0. * dlls/riched20/Makefile.in, dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/editstr.h, dlls/riched20/writer.c: Phil Krylov Initial implementation of EM_STREAMOUT and RTF writer. * dlls/riched20/reader.c, dlls/riched20/rtf.h: Phil Krylov Added "generator" RTF destination handling. * include/richedit.h: Phil Krylov Added missing PFA_JUSTIFY definition. * dlls/advapi32/tests/security.c: Avoid accessing an uninitialized string in the failure case. * documentation/samples/config, documentation/wine.conf.man, misc/registry.c: Get rid of the remaining registry configuration parameters. * server/queue.c: Avoid returning hardware messages if they have no chance to match the filter. * dlls/advpack/advpack.c, dlls/advpack/advpack.spec: Matthew Mastracci Implement RegisterOCX. Stub for DelNodeRunDLL32. * dlls/user/tests/msg.c, dlls/user/tests/win.c, windows/win.c: Dmitry Timoshkov Do not release capture before sending WM_NCDESTROY message, update the tests to reflect that. * include/shlguid.h, include/shlobj.h, include/shobjidl.idl: Mike McCormack Move interface declarations to shobjidl.idl. * dlls/user/lstr.c, dlls/user/message.c: Peter Berg Larsen Assorted memleak fixes. Found on Michael Stefaniuc smatch list. * documentation/samples/config, misc/registry.c, server/registry.c: Get rid of the registry saving level hack. Make periodic saving the default behavior. * dlls/rpcrt4/rpcrt4_main.c: Ralf S. Engelschall Fix incorrect random multicast MAC address creation. * dlls/ntdll/ntdll.spec: Ivan Leo Puoti Update ntdll.spec against current Microsoft build. * dlls/atl/.cvsignore, dlls/atl/Makefile.in, dlls/atl/atliface.idl, dlls/atl/registrar.c, dlls/atl/regsvr.c: Jacek Caban Added implementation of ATLRegistrar. * dlls/comctl32/treeview.c: Evan Deaubl TREEVIEW_DoSelectItem should not do any of the TVGN_FIRSTVISIBLE work if the newSelect parameter is NULL. * dlls/shell32/shell32_main.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c: Martin Fuchs - switch to correct shell desktop context menu - launch desk.cpl when activating the desktop context menu entry "properties" - don't send WM_COMMAND if we didn't get a shell view window * programs/winedbg/dbg.y: C. Scott Ananian Add tSTRING to the pathname production, so that you can quote a pathname which contains 'odd' characters. * programs/winedbg/debug.l: C. Scott Ananian Move definition of 'tPATH' token up, so that '/', '.' and '0xA' (etc) are lexed as paths (in the appropriate contexts) instead of as operator or number tokens. Add '-' to the set of characters legal in a pathname. * documentation/winedev-kernel.sgml: Eric Pouech - reorganisation of full chapter - rewrote the console part - added FS documentation * dlls/ole32/clipboard.c: Joris Huizer A few memory checks avoiding memory leaks. * dlls/wined3d/basetexture.c, dlls/wined3d/cubetexture.c, dlls/wined3d/device.c, dlls/wined3d/surface.c, dlls/wined3d/texture.c, dlls/wined3d/volume.c, dlls/wined3d/volumetexture.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Oliver Stieber Encapsulate texture, surface encapsulated. Added BindTexture, GetTextureDimensions, UnBindTexture. Proper GetContainer support for surface. SetContainer added to surface and volume. SetInPbufferState added to surface (until gl context management is implemented). Minor changes: - BaseTexture no longer 'holds' a reference to IWineD3DDevice to prevent circular referencing. - Better managment of referinging for texture. - Some TODO's for implementing a context manager. - Better preload implementation. - Fix compile warning in device.c Set/GetSamplerState. - Add QueryInterface support for surface. - Format X8R8G8B8 added to locking. * dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_message.c, dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Robert Shearman - RpcMgmtStopServerListen should not affect auto-listen interfaces. - Implement stub for RpcRevertToSelfEx. - Change the more verbose files to use a new debug channel, "rpc." * dlls/comctl32/tests/mru.c: Jon Griffiths Comment out a test that crashes on early versions. * dlls/shlwapi/path.c, dlls/shlwapi/tests/path.c: Jon Griffiths Tests and small fix for PathMakePretty(). Fix a crash and test failure with early native dlls. * dlls/comctl32/animate.c: Dimitrie O. Paun Unicodification and typesafe interfaces. * dlls/oleaut32/tmarshal.c: Mike Hearn Robert Shearman - Implement VT_BYREF | VT_BSTR marshalling. - Add more integer types for marshaling and unmarshaling. - Implement VT_BYREF | VT_BSTR unmarshaling. - Don't allocate memory for TKIND_DISPATCH/TKIND_INTERFACE unmarshaling as it will be lost in the success case and interferes with the failure case. * dlls/ntdll/reg.c: Ivan Leo Puoti Make Rtl*Registry* functions case insensitive. * dlls/riched20/caret.c: Gerald Pfeifer Make ME_ArrowLeft() return a value in every case. * include/npapi.h: Martin Fuchs Fix function definitions for msvc build. * dlls/commdlg/printdlg.c: Juan Lang Change a fixme to a warn, and use W version of call. * dlls/gdi/metafile.c: Ulrich Czekalla If a zero index is passed to META_SELECTCLIPREGION reset the clip region. * programs/winetest/main.c: Dmitry Timoshkov Special case Win9x platforms in the desktop visibility test, in Win98 GetUserObjectInformation is a stub returning ERROR_CALL_NOT_IMPLEMENTED. * dlls/netapi32/tests/wksta.c: Juan Lang Fix a test to pass under XP. * dlls/user/tests/msg.c, dlls/user/tests/win.c: Dmitry Timoshkov Fix some msg.c and win.c failures running on NT4 and XP. * programs/winecfg/drive.c, programs/winecfg/driveui.c: Steven Edwards Porting fixes. * dlls/mscms/mscms.spec: Steven Edwards Correct CheckBitmapBits entry. * dlls/mapi32/Makefile.in: Steven Edwards Link mapi32 to ntdll. * dlls/ntdll/time.c: Alex Villacís Lasso Add ECT to timezone list. * dlls/dsound/tests/propset.c: Robert Reif Private property sets do not exist in early versions of Direct Sound so skip tests if not supported. Add tests for A, W and 1 variations of data. * dlls/dsound/propset.c: Robert Reif Add missing functionality. Add more and better error messages. Add checks for failed HeapAlloc. * dlls/x11drv/clipboard.c, dlls/x11drv/xrender.c: Peter Berg Larsen Assorted memleak fixes. Found on Michael Stefaniuc smatch list. 2005-03-11 Alexandre Julliard * dlls/wsock32/socket.c: Replace calloc() by HeapAlloc(). * include/dinput.h: Get rid of version #ifdefs. * dlls/ole32/storage32.c, dlls/ole32/tests/storage32.c: Mike McCormack StgOpenStorage shouldn't open zero length storage files. * programs/uninstaller/Cs.rc, programs/uninstaller/De.rc, programs/uninstaller/Es.rc, programs/uninstaller/Fr.rc, programs/uninstaller/It.rc, programs/uninstaller/Pt.rc, programs/uninstaller/rsrc.rc: Jonathan Ernst Internationalization. * documentation/samples/config, misc/registry.c: Get rid of the Windows registry loading on startup, this needs to be done differently. * dlls/winsock/tests/sock.c: Thomas Kho Added select_server() test that uses select() in serving clients. * dlls/wsock32/socket.c, dlls/winmm/driver.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/time.c: Peter Berg Larsen Assorted memleak fixes. Found on Michael Stefaniuc smatch list. * programs/uninstaller/En.rc, programs/uninstaller/Makefile.in, programs/uninstaller/main.c, programs/uninstaller/rsrc.rc: Jonathan Ernst Add search field with find-as-you-type function. * tools/winegcc/winegcc.c: Dimitrie O. Paun Use -isystem for system includes as they should be processed after the -I includes. Spotted by Boaz Harrosh. * dlls/d3d9/basetexture.c, dlls/d3d9/cubetexture.c, dlls/d3d9/indexbuffer.c, dlls/d3d9/resource.c, dlls/d3d9/surface.c, dlls/d3d9/texture.c, dlls/d3d9/vertexbuffer.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, dlls/d3d9/vshaderdeclaration.c: Oliver Stieber Change AddRef in queryInterface to IUnknown_AddRef. Move ppVoulme to d3d9voloumeimpl structure. Some minor stylistic changes (making everything the same). * dlls/riched20/editor.c, dlls/riched20/reader.c, dlls/riched20/run.c, dlls/riched20/style.c, dlls/riched20/undo.c: Krzysztof Foltman - EM_STREAMIN can now deal with undo in a reasonable manner (no multiple undo actions in one EM_STREAMIN). - Related changes to undo code (umIgnore mode is now handled correctly). - Numerous improvements in the RTF reader: it reads some character attributes now (you will have proper small print in license agreements now). - Fixed a memory overwrite bug in conversion from CHARFORMAT2A to CHARFORMAT2W. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c: Robert Shearman - Rename apartment functions to become more object-oriented. - Rename register_ifstub to marshal_object to more accurately describe what it does. - Add new function, apartment_getoxid, to prepare for a possible future patch where remoting is started on demand. * dlls/oleaut32/tmarshal.c: Robert Shearman Add outer unknown support for typelib marshaler. 2005-03-10 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20050310. ---------------------------------------------------------------- 2005-03-10 Alexandre Julliard * dlls/shdocvw/shdocvw_main.c: Juan Lang Fix a crash if the Mozilla ActiveX control doesn't implement DllCanUnloadNow. * dlls/ole32/compobj.c: Juan Lang Fix the calling convention of DllCanUnloadNow. * dlls/msi/appsearch.c: Juan Lang Fix a regression in AppSearch. * dlls/msi/msipriv.h, dlls/msi/registry.c: Juan Lang Implement MsiEnumRelatedProducts. * dlls/user/message.c, server/window.c: Clear the internal paint flag in the server before returning a WM_PAINT message to avoid an extra server round-trip. * programs/winetest/main.c: Dmitry Timoshkov Implement a test for the desktop visibility based on the MSDN article pointed out by Robert Shearman. * dlls/user/tests/listbox.c, windows/winproc.c: Marcus Meissner Use 512 byte buffer for buffer of LB_GETTEXT and CB_GETLBTEXT. Added testcase with > 256 byte string in listbox. * tools/wineshelllink: Brouard Nicolas Fix menu backslash escaping. * dlls/kernel/tests/environ.c: Uwe Bonnes Test for %Systemroot%. * dlls/user/scroll.c, dlls/user/user32.spec: Phil Krylov Implemented GetScrollBarInfo() function and SBM_GETSCROLLBARINFO message. * dlls/user/Makefile.in, dlls/user/message.c, dlls/user/message.h, windows/message.c: Merge the rest of the messaging code into dlls/user/message.c and get rid of windows/message.c. * programs/uninstaller/En.rc, programs/uninstaller/main.c, programs/uninstaller/main.h, programs/uninstaller/resource.h, programs/uninstaller/rsrc.rc: Jonathan Ernst Use a dialog instead of a normal window. * dlls/user/message.c, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/trace.c: Properly cope with get_message being called recursively while processing a hardware message. * dlls/x11drv/wintab.c: Raphael Junqueira - XListInputDevices spec say that device list should be freed using XFreeDeviceList - better robustness on X11DRV_AttachEventQueueToTablet * dlls/msvcrt/scanf.h, dlls/msvcrt/tests/scanf.c: C. Scott Ananian Allow scanf to continue parsing format string after a '%n'. * windows/message.c: Take message filtering into account when updating the static data for double click support. * dlls/gdi/gdiobj.c: Allocate fonts and regions from the large heap too. * server/registry.c: Peter Berg Larsen Tmp was not freed in case of errors in save_branch(). * dlls/richedit/Makefile.in, dlls/richedit/ansi_gen.h, dlls/richedit/ansi_sym.h, dlls/richedit/reader.c, dlls/richedit/riched32.h, 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: Mike McCormack Forward the RichEdit 1.0 control to the RichEdit 2.0 control. * dlls/msi/action.c, dlls/msi/format.c, dlls/msi/msi.c, dlls/msi/msiquery.c, dlls/msi/package.c, dlls/msi/preview.c, dlls/msi/record.c, dlls/msi/suminfo.c: Juan Lang - make sure msihandle2msiinfo is correctly matched with msiobj_release - don't do redundant NULL checks * include/propidl.idl: Juan Lang Add some missing declarations. * dlls/wininet/http.c: Robert Shearman - Fully delete custom headers on connection opening. - Free unneeded memory on clearing of standard headers. - Fix index sanity test in delete function. * dlls/advapi32/service.c: Alexander Yaworsky Correct incorrect use of arguments to QueryServiceConfigA. Spotted by Troy Rollo. * dlls/opengl32/wgl.c, dlls/opengl32/wgl_ext.c, dlls/opengl32/wgl_ext.h: Raphael Junqueira - implements WGL_ARB_render_texture support (no more stubs) - pass glXGetProcAddressARB ptr to initialise function * dlls/ddraw/dsurface/dib.c: Paul Vriens Check always if destination surface is locked. 2005-03-09 Alexandre Julliard * dlls/x11drv/event.c, dlls/x11drv/x11drv.h: Added WM_X11DRV_DELETE_WINDOW message to handle close requests so that we can send the WM_SYSCOMMAND with SendMessage instead of PostMessage. Added missing NONAMELESSUNION define. * dlls/riched20/caret.c, dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/editstr.h, dlls/riched20/paint.c, dlls/riched20/run.c, dlls/riched20/wrap.c: Krzysztof Foltman - Optimized repaint of the area below the text. - ME_JoinRuns didn't mark the paragraph for rewrapping, fixed. - Removed PostQuitMessage(0) from WM_DESTROY handler (duh!). - Use of EM_GETOLEINTERFACE is reported with FIXME instead of TRACE (any app using this message is likely to encounter major problems). * dlls/mscms/mscms.spec, dlls/mscms/mscms_main.c, dlls/mscms/profile.c, dlls/mscms/stub.c: Hans Leidekker - Implementation stubs for GenerateCopyFilePaths, SpoolerCopyFileEvent. - Call DisableThreadLibraryCalls on process attach. - Document more functions. * dlls/ddraw/dsurface/dib.c: Paul Vriens Check for NULL before touching src. * dlls/user/user_main.c, dlls/user/user_private.h, dlls/x11drv/event.c, dlls/x11drv/keyboard.c, dlls/x11drv/mouse.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c, include/win.h, windows/input.c: Moved SendInput and related functions to the USER driver to avoid a number of dll separation hacks. * windows/win.c: Remove a trace that's causing too much output. * programs/winecfg/Makefile.in, programs/winecfg/driveui.c, programs/winecfg/main.c: Michael Jung Implemented 'Browse' functionality for the drive mapping property sheet. * dlls/shell32/Makefile.in, dlls/shell32/regsvr.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/shell32/shfldr_unixfs.c: Michael Jung Beginning of a shell namespace extension to browse the unix filesystem. * windows/defwnd.c: Krzysztof Foltman WM_CANCELMODE resets menu flag in the default window procedure. * dlls/riched20/editor.c: Phil Krylov Changed buffer size for EM_STREAMIN message to 4096, as it's what M$ uses. * include/richedit.h: Robert Shearman Remove duplicate message defines in header. * dlls/user/menu.c, include/winuser.h: Maxime Bellengé Implemented MIIM_BITMAP state. Handle MNS_CHECKORBMP style. * dlls/user/sysparams.c, windows/input.c: Make the SwapMouseButton function and the SPI_SETMOUSEBUTTONSWAP parameter work on the same flag. * server/window.c: Don't check children of minimized windows in get_update_region. * dlls/riched20/caret.c, dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/editstr.h, dlls/riched20/list.c, dlls/riched20/paint.c, dlls/riched20/para.c, dlls/riched20/run.c, dlls/riched20/wrap.c: Krzysztof Foltman The meaning of the rewrap flag got inverted (MEPF_REWRAP instead of MEPF_WRAPPED) for consistency. Major code cleanups in rewrap/repaint code, leading to "smarter" behaviour wrt repainting selections. * dlls/dplayx/dplobby.c: Raphael Junqueira Avoid ConvertToGlobalHandle calls. * dlls/ole32/storage32.c, dlls/ole32/tests/storage32.c: Mike McCormack Shared reading of storage files requires STGM_TRANSACTED. * dlls/kernel/console.c: Gabriel Buades Rubio When sending multi-line boxes to console throgh WineConsoleOutputA, only the first line was being translated into wide-chars. * dlls/oleaut32/recinfo.c: Jacek Caban More implementation of IRecordInfo. * windows/spy.c: Robert Shearman Add message spy support for RichEdit20W control. 2005-03-08 Alexandre Julliard * dlls/user/painting.c: Process only pending expose events during RDW_UPDATENOW, not all the other X events. * dlls/x11drv/event.c: Take into account the event mask passed to MsgWaitForMultipleObjectsEx to allow processing only a subset of the available X events. * tools/wrc/parser.y: Allow specifying extended control styles also in standard dialogs (reported by Michael Lin). * dlls/riched20/caret.c, dlls/riched20/editor.c, dlls/riched20/editor.h: Krzysztof Foltman - specialized handler for SF_TEXT (ANSI or Unicode), simple and fast - clears control's text on EM_STREAMIN with no SFF_SELECTION * dlls/riched20/reader.c: Krzysztof Foltman - Single quotes are now handled properly (previously they were inserted as [[']]). - Better handling of callback function's results. * dlls/mscms/lcms_api.h, dlls/mscms/mscms_main.c, dlls/mscms/stub.c, dlls/mscms/transform.c: Hans Leidekker - Implement TranslateBitmapBits. - Don't pass bogus intent values to lcms. * programs/winetest/main.c: Dmitry Timoshkov Make running tests on a visible desktop a mandatory requirement. * dlls/x11drv/window.c: Maxime Bellengé - Fix unmovable windows if the window style is set to WS_POPUP | WS_VISIBLE and WS_EX_APPWINDOW. - Fix metacity displaying decorations where it should not. * dlls/dinput/keyboard.c, dlls/user/message.c, dlls/winmm/mciavi/mciavi.c, windows/queue.c: Make sure to always pass valid QS_* flags to MsgWaitForMultipleObjects. * Make.rules.in, dlls/Makedll.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in, tools/winebuild/main.c, tools/winebuild/winebuild.man.in, tools/winegcc/winegcc.c: Dimitrie O. Paun Add support for .exe's with exported functions. * dlls/x11drv/xfont.c: Added support for iso8859-16 charset. * dlls/riched20/Makefile.in, dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/richole.c, dlls/uuid/uuid.c: Aric Stewart Implement EM_GETOLEINTERFACE. * dlls/msi/action.c: Ulrich Czekalla Allocate space for terminating null. * dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/editstr.h, dlls/riched20/paint.c, dlls/riched20/run.c, dlls/riched20/style.c, dlls/riched20/wrap.c: Krzysztof Foltman Old font management replaced by the cache-based one, which keeps maximum of 10 HFONTs at once, instead of one per a couple of runs. * include/winsock.h: Fixed WS_FD_CLR and WS_FD_SET macros (spotted by Thomas Kho). * dlls/urlmon/urlmon.spec: Francois Gouget Add a comment explaining why CDLGetLongPathName[AW] and IsJITInProgress have hardcoded ordinals. * dlls/msi/action.c: Ulrich Czekalla Fix a memory leak. 2005-03-07 Alexandre Julliard * dlls/x11drv/x11drv.h: Added a missing prototype. * dlls/x11drv/clipboard.c, dlls/x11drv/event.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c, include/wine/server_protocol.h, server/clipboard.c, server/protocol.def: Ulrich Czekalla Create a thread-specific selection window to make sure we receive the selection events in the correct thread. * dlls/kernel/ne_module.c, dlls/kernel/process.c, programs/winevdm/Makefile.in, programs/winevdm/winevdm.c: Rein Klazes Support execution of pif files. * dlls/user/tests/sysparams.c: Justin Chevrier Paul Vriens - Consolidate error message handling. - Add error checking to all initial SystemParametersInfoA calls in each parameter test to make sure that if a given parameter isn't supported or has failed in some other way that we return and don't continue on with the test. - SetLastError before calling test_error_msg. - SPI_{GET,SET}ICONTITLEWRAP is supported on Win98. * dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut.c, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/recinfo.c: Jacek Caban - Implemented GetRecordInfoFromTypeInfo and GetRecordInfoFromGuid. - Beginnig implementation of IRecordInfo. * dlls/user/message.c, dlls/user/user_main.c, dlls/user/user_private.h, windows/message.c: Moved TranslateMessage and DispatchMessage to dlls/user/message.c. Added support for posting internal messages. Added support for driver-specific internal messages. * dlls/user/sysparams.c: Set SM_DBCSENABLED according to the current locale instead of hardcoding it to 0 (found by Mike McCormack). * dlls/riched20/Makefile.in, dlls/riched20/editor.c, dlls/riched20/reader.c, dlls/riched20/rtf.h: Mike McCormack Port the RTF parser to the richedit 2.0 control. * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c: Robert Shearman Make each ifproxy have its own channel buffer to fix a bug where a proxy with multiple interfaces could invoke the wrong stub buffer on the server. * dlls/x11drv/window.c: Dmitry Timoshkov Avoid unnecessary window locking in X11DRV_DestroyWindow. * dlls/user/tests/win.c, windows/input.c: Dmitry Timoshkov - Call SetCursorPos for an injected mouse message only if we really need to move mouse pointer. - Add a test case for mouse click handling. * programs/winedbg/winedbg.c: Make output line-buffered to avoid messing up log files. * dlls/ole32/stg_bigblockfile.c, dlls/ole32/stg_stream.c, dlls/ole32/storage32.c, dlls/ole32/storage32.h: Mike McCormack Fix more incorrect uses of STGM_ enumerations. * dlls/dbghelp/dbghelp.c: Eric Pouech When initializing a live target, ask to load module file names, not module names (spotted by Robert Reif). * dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/main.c: Matthew Mastracci Added surface locking. * dlls/user/painting.c: Retry sending a WM_PAINT in update_now after we sent an erase message. * dlls/shell32/dialogs.c, dlls/shell32/folders.c, dlls/shell32/shellpath.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c: Mike McCormack Use lstrcmpiA in preference to strcasecmp. * dlls/riched20/editor.c: Fixed DLL_PROCESS_DETACH handler to actually unregister the window classes. * tools/winedump/Makefile.in, tools/winedump/debug.c, tools/winedump/dump.c, tools/winedump/minidump.c, tools/winedump/pe.c, tools/winedump/pe.h, tools/winedump/winedump.h: Eric Pouech Created dump.c as a central point for file dumping (includes header analysis, utility funcs...). Added support for dumping minidump files. * dlls/dbghelp/dbghelp.spec, dlls/dbghelp/elf_module.c, dlls/dbghelp/minidump.c, include/dbghelp.h: Eric Pouech Added support for minidump (read & write). * dlls/atl/atl.spec, dlls/atl/regsvr.c: Jason Edmeades Add stub for GetClassObject function. * dlls/ddraw/ddraw/user.c: Matthew Mastracci Add DDCAPS_OVERLAY and DDCAPS_OVERLAYSTRETCH to GetCaps(). * dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.h: Jason Edmeades Make msvcrt printf use the internal routines which understand %S and %C. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Jason Edmeades Add stub for SetSecurityInfo. * dlls/riched20/paint.c: Krzysztof Foltman Added a check for empty scrollbar range. * dlls/winmm/wineoss/mixer.c: Vincent Béron Make wineoss's mixer know about DST_HEADPHONES, DST_LINE and DST_VOICEIN. Use proper constants instead of 0 and 1. * dlls/ole32/ole32.spec, dlls/ole32/storage32.c: Juan Lang Implement StgCreatePropSetStg. * programs/winetest/Makefile.in, programs/winetest/main.c: Dmitry Timoshkov Another attempt of a test for a visible desktop. * windows/msgbox.c: Dmitry Timoshkov Call ReleaseDC() with correct window handle. * dlls/user/message.c: Ulrich Czekalla Print out error message if we fail to remove message from queue. 2005-03-05 Alexandre Julliard * dlls/riched20/richole.c: Fixed DOS line endings. * tools/winegcc/Makefile.in: Vincent Béron Create symlinks named wineg++ and winecpp while building winegcc. * configure, configure.ac, dlls/Makefile.in, dlls/riched20/.cvsignore, dlls/riched20/Makefile.in, dlls/riched20/caret.c, dlls/riched20/context.c, dlls/riched20/editor.c, dlls/riched20/editor.h, dlls/riched20/editstr.h, dlls/riched20/list.c, dlls/riched20/paint.c, dlls/riched20/para.c, dlls/riched20/riched20.spec, dlls/riched20/richole.c, dlls/riched20/row.c, dlls/riched20/run.c, dlls/riched20/string.c, dlls/riched20/style.c, dlls/riched20/undo.c, dlls/riched20/wrap.c: Krzysztof Foltman Initial implementation of riched20. * dlls/dsound/tests/dsound.c: Robert Reif Don't consider no sound device a failure. * server/queue.c: Avoid potential crash when freeing a message queue. Properly initialize newly allocated messages. * windows/spy.c: Robert Shearman WM_USER messages should be dumped in the format "WM_USER + %d" to make it easier to see what message it is for unknown classes. * tools/widl/header.c, tools/widl/header.h, tools/widl/parser.y: Jacek Caban Write uuid of library in header. * dlls/dsound/tests/Makefile.in, dlls/dsound/tests/capture.c, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/dsound_test.h, dlls/dsound/tests/propset.c: Robert Reif Print dsound.dll version from file versioninfo resource. * dlls/ole32/storage32.c, dlls/ole32/tests/storage32.c: Mike McCormack Test and fix grfMode handling in StgOpenDocfile. * programs/Makeprog.rules.in: Vincent Béron APPMODE can now be one of -mwindows or -mconsole. * dlls/user/tests/sysparams.c: Paul Vriens LastError is not set on failure for *MOUSEHOVER* on Win98. * dlls/advapi32/tests/security.c: Jakob Eriksson Account for permissions on Win2k. * include/objbase.h: Mike McCormack Declare the value of STGM_DIRECT_SWMR. * dlls/msvcrt/tests/printf.c, dlls/msvcrt/wcs.c: Mike McCormack Handle %ls in sprintf. * dlls/advapi32/security.c: Troy Rollo Make GetFileSecurityW return a standard SECURITY_DESCRIPTOR instead of an uninitialised (and invalid) one. 2005-03-04 Alexandre Julliard * configure, configure.ac, dlls/kernel/sync.c, dlls/ntdll/sync.c, dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/dscapture.c, dlls/winmm/wineoss/dsrender.c, dlls/winmm/wineoss/midi.c, dlls/winsock/socket.c, include/config.h.in, server/fd.c, server/file.c, server/named_pipe.c, server/process.c, server/request.c, server/serial.c, server/signal.c, server/thread.c: Steven Edwards Added a check for poll.h. * programs/winedbg/memory.c: Avoid a compiler warning. * dlls/advapi32/service.c: Troy Rollo Return an empty string for service dependencies when there are no dependencies, rather than a NULL pointer, which causes some apps to SEGV. * dlls/msi/dialog.c: Ulrich Czekalla Add support for radio buttons. * dlls/user/tests/sysparams.c: Justin Chevrier Expand conformance registry entry test to handle registry entries that differ both in Key and Value from the norm. Take advantage of expanded registry test to allow SPI_{GET,SET}SCREENREADER and SPI_{GET,SET}KEYBOARDPREFERENCE to pass on Win9x. * dlls/ole32/rpc.c, dlls/ole32/tests/marshal.c: Rob Shearman Mike Hearn - Add re-entrancy tests to the test suite. - Run RPCs on a new thread client side so we can pump the message loop. * dlls/oleaut32/Makefile.in, dlls/oleaut32/olepicture.c: Maxime Bellengé Implements OleLoadPicturePath. * dlls/user/message.c: Support sending WM_PAINT across processes when it doesn't contain an HDC. * dlls/ole32/storage32.c: Mike McCormack Implement StgSetTimes. * dlls/richedit/richedit.c: Mike McCormack Don't clear ES_AUTO[HV]SCROLL in the edit control created by richedit. * dlls/advapi32/service.c: Troy Rollo Correct incorrect use of arguments to QueryServiceConfigW. * dlls/msvcrt/tests/printf.c, dlls/msvcrt/wcs.c: Mike McCormack Handle the printf %F format modifier. * include/richedit.h: Krzysztof Foltman - added missing CFM_ constants to make RichEdit 2.0 implementation possible - added a missing structure PARAFORMAT2 * dlls/kernel/profile.c, dlls/kernel/tests/profile.c: Huw Davies Fix regression in GetPrivateProfileSection for lines without an '='. Add test. * dlls/rpcrt4/rpc_binding.c: Mike Hearn Suppress some useless warnings in the RPC runtime, and make a few TRACEs that were reporting problems into WARNs. * dlls/user/tests/sysparams.c: Paul Vriens Better way of handling non-existent SystemParametersInfoW. SetLastError if GetLastError is checked after a call. 2005-03-03 Alexandre Julliard * programs/winedbg/dbg.y, programs/winedbg/debugger.h, programs/winedbg/display.c, programs/winedbg/memory.c, programs/winedbg/stack.c, programs/winedbg/winedbg.c: Fixed a few regressions in the handling of segmented addresses. * dlls/d3d9/d3d9_private.h, dlls/d3d9/query.c, dlls/wined3d/Makefile.in, dlls/wined3d/device.c, dlls/wined3d/drawprim.c, dlls/wined3d/query.c, dlls/wined3d/stateblock.c, dlls/wined3d/surface.c, dlls/wined3d/utils.c, dlls/wined3d/wined3d_private.h, include/d3d9types.h, include/wine/wined3d_interface.h, include/wine/wined3d_types.h: Oliver Stieber Added a stubbed out version of query to d3d9 and wined3d. Update the d3d9 headers and creates wined3d types where d3d9 and d3d8 are incompatible. * dlls/shell32/classes.c: Huw Davies Don't prepend '\\' to the subkey name. * dlls/comctl32/draglist.c, include/commctrl.h: Dimitrie O. Paun Unicodification. Small cleanups. * dlls/ntdll/heap.c: Uwe Bonnes Dump HeapWalk entries. * programs/winetest/main.c: Dmitry Timoshkov Use IsWindowVisible instead of GetWindowLong(GWL_STYLE) & WS_VISIBLE as a test for desktop visibility. * dlls/winmm/tests/wave.c: Francois Gouget Warn the user if he is running the test in interactive mode but the sound is turned off. 2005-03-02 Alexandre Julliard * dlls/comctl32/rebar.c, dlls/comctl32/syslink.c, dlls/gdi/region.c, dlls/kernel/process.c, dlls/kernel/tests/file.c, dlls/msi/action.c, dlls/msi/msi.c, dlls/msvcrt/file.c, dlls/ntdll/reg.c, dlls/ole32/clipboard.c, dlls/oleaut32/typelib.c, dlls/oleaut32/varformat.c, dlls/richedit/reader.c, dlls/richedit/richedit.c, dlls/shell32/clipboard.c, dlls/shell32/shelllink.c, dlls/shell32/shfldr_fs.c, dlls/user/dde/dde_private.h, dlls/user/tests/sysparams.c, dlls/winedos/vxd.c, dlls/winmm/wineoss/audio.c, documentation/architecture.sgml, documentation/getting.sgml, include/objbase.h, programs/cmdlgtst/cmdlgtst.c, programs/wcmd/wcmdmain.c, programs/wineboot/wineboot.c, programs/winedbg/db_disasm.c, programs/winevdm/winevdm.c, tools/widl/client.c, tools/winebuild/winebuild.man.in, tools/winedump/pe.c, tools/winedump/symbol.c, tools/wrc/parser.y: Francois Gouget Assorted spelling fixes. * dlls/d3d9/d3d9_main.c, dlls/d3d9/surface.c, dlls/wined3d/basetexture.c, dlls/wined3d/cubetexture.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/indexbuffer.c, dlls/wined3d/resource.c, dlls/wined3d/stateblock.c, dlls/wined3d/texture.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/vertexdeclaration.c, dlls/wined3d/volume.c, dlls/wined3d/volumetexture.c, dlls/wined3d/wined3d_main.c, include/wine/wined3d_interface.h: Oliver Stieber Implemented guids for wined3d. * dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/audio.c: Francois Gouget Apply Jeremy White's SMPTE calculation fix to each audio driver. * dlls/d3d8/d3d8_private.h, dlls/kernel/local16.c, dlls/kernel/tests/thread.c, dlls/mscms/mscms_main.c, dlls/msi/action.c, dlls/ntdll/cdrom.c, dlls/ntdll/file.c, dlls/ole32/clipboard.c, dlls/quartz/main.c, dlls/rpcrt4/ndr_marshall.c, dlls/twain/twain.h, dlls/wined3d/utils.c, dlls/wineps/graphics.c, dlls/winmm/joystick/joystick.c, dlls/wsock32/socket.c, dlls/x11drv/clipboard.c, include/dmusicc.h, include/wine/rpcfc.h, programs/rpcss/rpcss_main.c, programs/taskmgr/perfdata.c, programs/taskmgr/procpage.c, programs/wineconsole/curses.c, programs/winemine/main.h, tools/wrc/parser.y: Avoid spaces before preprocessor directives, that's not portable. * Makefile.in, tools/Makefile.in: wineprefixcreate and related files need to be installed when doing an install-lib. * dlls/winmm/wavemap/wavemap.c: Jeremy White Aggressively round up to the proper alignment when reporting position on streams where we are converting up. * windows/mdi.c, windows/win.c: Dmitry Timoshkov Ask for an MDI child id in all cases. * dlls/user/menu.c: Dmitry Timoshkov DestroyMenu should not destroy system menu popup owner. * dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/surface.c, dlls/d3d9/vertexdeclaration.c, dlls/wined3d/device.c, dlls/wined3d/surface.c, dlls/wined3d/vertexshader.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Oliver Stieber Put all the stubs in wined3d in place, with some functionality copied across from d3d9. Make sure all d3d9 device function call their wined3d counterpart (or perform a function). * include/dce.h, windows/dce.c: Beginnings of inter-process GetDC support. Use a standard list for the DCE list. Small cleanups. * server/debugger.c, server/process.c, server/process.h: Convert the process dll list to a standard list. * dlls/shell32/shfldr.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c: Juan Lang Convert more API calls to Unicode. * tools/wine.desktop: Scott Ritchie Add all known windows executables to MIME type in wine.desktop. * dlls/comctl32/rebar.c: Robert Shearman - Fix one more place where the code assumes row indices are zero-based. - Document a known bug in the layout code. * dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/dsrender.c: Jeremy White More correctly establish cases where the OSS input buffer should not be enabled. * dlls/quartz/avisplit.c, dlls/quartz/dsoundrender.c, dlls/quartz/filtergraph.c, dlls/quartz/pin.c, dlls/quartz/tests/filtergraph.c, dlls/quartz/transform.c, dlls/quartz/videorenderer.c, dlls/quartz/waveparser.c: Christian Costa Handle End Of Stream notifications. Some AVI Splitter fixes. * dlls/rsaenh/tests/rsaenh.c: Stefan Leichter Make rsaenh_crosstest.exe loadable on NT 4.0. * dlls/kernel/tests/locale.c: Jakob Eriksson Accept (shorter) date format in Win NT and Win 95. * dlls/user/tests/msg.c, dlls/user/tests/win.c, windows/win.c: Dmitry Timoshkov Protect SetParent from creating circular window dependencies. Add a test case. * dlls/comctl32/status.c: Dimitrie O. Paun Fix indentation for consistency with the rest of the file. * dlls/kernel/profile.c, dlls/kernel/tests/profile.c: Rein Klazes When enumerating keys using Get(Private)ProfileString do not include lines without an '=' character. Added a test that shows the behavior. 2005-03-01 Alexandre Julliard * dlls/x11drv/event.c, dlls/x11drv/x11drv.h, dlls/x11drv/xdnd.c: Use a dispatch table to handle X client messages. * server/fd.c, server/object.c, server/object.h, server/queue.c, server/thread.c: Convert the object wait queue to a standard list. * programs/regedit/Cs.rc, programs/regedit/De.rc, programs/regedit/En.rc, programs/regedit/Es.rc, programs/regedit/Fr.rc, programs/regedit/It.rc, programs/regedit/Ja.rc, programs/regedit/Nl.rc, programs/regedit/Pl.rc, programs/regedit/Pt.rc, programs/regedit/Ru.rc, programs/regedit/Si.rc, programs/regedit/resource.h: Paul Vriens Change Favourite(s) into Favorite(s). Change variables containing FAVOURITE into FAVORITE. * dlls/user/tests/sysparams.c: Justin Chevrier - Created SPI_{GET,SET}KEYBOARDPREF and SPI_{GET,SET}SCREENREADER unit tests. - Removed a trace that shouldn't have been there. - Add return checking to SPI_{GET,SET}WHEELSCROLLLINES and SPI_{GET,SET}MENUSHOWDELAY unit tests so they no longer run on Windows 95 where they aren't supported. - Changed minimum hovertime in SPI_{GET,SET}MOUSEHOVERTIME to 10 as Windows XP defaults to 10 any value below that. * dlls/shell32/brsfolder.c: Michael Jung Fixed parsing of ITEMIDLIST in InitializeTreeView. Added some documentation. Fixed a crash occuring when the user double-clicks a leaf item. * dlls/msi/action.c: Aric Stewart Text reformatting patch to clean up all the static strings. * dlls/comctl32/status.c: Filip Navara Implement SB_SETBORDERS. * dlls/setupapi/devinst.c, include/winioctl.h: Juan Lang Implement SetupDiGetClassDevsA/W, SetupDiEnumDeviceInterfaces, SetupDiDestroyDeviceInfoList, and SetupDiGetDeviceInterfaceDetailA for serial ports. * server/request.c: Francois Gouget Fix a race condition in create_dir(). * server/console.c, server/debugger.c, server/process.c, server/process.h, server/ptrace.c, server/request.c, server/thread.h: Convert the per-process thread list to a standard list. * configure, configure.ac: Emmanuel Maillard Add '-read_only_relocs warning' to LDDLLFLAGS on Darwin. * dlls/comctl32/rebar.c: Robert Shearman - Make row number be zero-based. - Improvements to dumping functions to not dump out fields that may not have been filled in. * dlls/x11drv/clipboard.c: Ulrich Czekalla If unexpected condition occurs just report an error. * dlls/x11drv/bitmap.c, dlls/x11drv/dib.c: Huw Davies If the dibsection is based on a file-mapping object, then make sure that the section is in sync when the dibsection is deleted. * dlls/kernel/path.c: Marcelo Duarte CopyFile needs to retain timestamp. * dlls/kernel/tests/file.c: Dmitry Timoshkov Add another test case for file sharing. * dlls/msi/action.c: Juan Lang Don't hardcode windows or system directories, correct a typo. * dlls/ole32/stg_prop.c: Juan Lang Move vtbl to end of file and get rid of unnecessary prototypes. * dlls/shell32/shfldr_fs.c: Juan Lang Convert tabs to space, wrap long lines, make indenting consistent. * dlls/dbghelp/dbghelp.c, dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/elf_module.c, dlls/dbghelp/module.c, dlls/dbghelp/pe_module.c, dlls/dbghelp/stabs.c: Eric Pouech Memory consumption optimization while loading ELF debug info: - don't map twice an ELF file for symbol lookup (in non deferred mode) - no longer entirely map an ELF file into memory, but only the sections we need. Added support for loading ELF modules thru SymLoadModule in a non life process. Factorisation of code for ELF module handling. Fixes to ELF symbol loading - drops symbols from symtab which are neither funcs nor global variables - fixes some incorrect size computation for latest GCC versions. Several cleanups and fixes. * tools/wineinstall: Jeff Smith Avoids a shift warning thrown by older versions of bash. 2005-02-26 Alexandre Julliard * dlls/x11drv/clipboard.c, dlls/x11drv/dga2.c, dlls/x11drv/event.c, dlls/x11drv/keyboard.c, dlls/x11drv/mouse.c, dlls/x11drv/winpos.c, dlls/x11drv/wintab.c, dlls/x11drv/x11drv.h: Use a table of handlers to dispatch X events and get rid of the special casing for DGA and tablet events. Unify the declarations of all the event handlers. * dlls/kernel/volume.c: Fixed regression in QueryDosDeviceA when passed a NULL device name. * server/debugger.c: Converted the debug event queue to a standard list. * configure, configure.ac: Pierre d'Herbemont Syntax fix in configure.ac. * dlls/msi/tests/db.c: Dmitry Timoshkov Remove a temporary msi database file. * dlls/shell32/shfldr_mycomp.c: Juan Lang Convert a few calls to Unicode. * dlls/winmm/mci.c: Christian Costa Added some more cases to MCI_MapMsgAtoW. * windows/cursoricon.c: Jason Edmeades Make LR_LOADTRANSPARENT work and give transparent images. 2005-02-25 Alexandre Julliard * server/console.c: Converted the global screen buffer list to a standard list. * server/queue.c: Replaced the message_list structure by a standard list. * dlls/x11drv/clipboard.c, dlls/x11drv/event.c, dlls/x11drv/x11drv.h: Moved clipboard event handling functions and some private data structures to clipboard.c. * server/thread.c, server/thread.h: Convert the global thread list to a standard list. * server/process.c, server/process.h: Convert the global process list to a standard list. * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound_test.h: Robert Reif Add secondary buffer SetFrequency test. * dlls/dsound/mixer.c: Robert Reif Use nBlockAlign rather than calculating it. Add a buffer length alignment error message. * dlls/msvcrt/tests/printf.c, dlls/msvcrt/wcs.c: Uwe Bonnes Advance over * argument for precision. Honor precision argument for strings. * server/mutex.c, server/thread.c, server/thread.h: Convert the per-thread mutex list to a standard list. * dlls/advapi32/registry.c, dlls/advapi32/tests/registry.c: James Hawkins Fix RegOpen/CloseKey. * dlls/user/edit.c: Lauri Tulmin Make sure that last line is at the bottom of the edit control. * dlls/dsound/dsound.c: Robert Reif Change SetCooperativeLevel FIXME to WARN. * tools/winedump/lnk.c: Mike McCormack Dump the pidl of a lnk file. * dlls/shell32/shelllink.c, dlls/shell32/tests/shelllink.c: Mike McCormack - implement loading and saving of MSI advertised shortcut info - make more test cases pass - read and write the location block - improve the binary compatibility of lnk files * libs/wpp/ppl.l: Ge van Geldorp Treat already preprocessed code just like normal #include'ed code. * dlls/version/tests/info.c: Stefan Leichter Exclude two tests crashing on WinNT4. * dlls/comctl32/tab.c: Jon Griffiths Remove unneeded calls to TAB_GetInfoPtr(), const fixes, inline small funcs & remove unused parameters. * dlls/comctl32/string.c, dlls/commdlg/cdlg32.c, dlls/kernel/comm.c, dlls/kernel/editline.c, dlls/kernel/process.c, dlls/kernel/thunk.c, dlls/kernel/time.c, dlls/msi/msi.c, dlls/msvcrt/mbcs.c, dlls/ntdll/heap.c, dlls/ntdll/large_int.c, dlls/ntdll/rtlbitmap.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c, dlls/ole32/ole2.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/tests/vartype.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c, dlls/oleaut32/varformat.c, dlls/shell32/shell32_main.c, dlls/shlwapi/assoc.c, dlls/shlwapi/string.c, dlls/win32s/w32sys.c, dlls/wineps/graphics.c, dlls/wininet/netconnection.c, programs/regedit/regproc.c, programs/rundll32/rundll32.c, programs/winefile/winefile.c, tools/widl/write_msft.c, tools/wrc/newstruc.c, windows/cursoricon.c, windows/spy.c, windows/user.c: Jon Griffiths Documentation spelling fixes. * server/fd.c: Regular files are always ready for I/O, no need to poll on them. * server/thread.c, server/thread.h: Convert the APC queues to use standard lists. * dlls/commdlg/fontdlg.c: Troy Rollo Fix stack object overrun when an application calls ChooseFontA. * dlls/msi/action.c: Aric Stewart Implement the action RegisterFonts. * dlls/user/edit.c: Lauri Tulmin Implemented !ES_AUTO[HV]SCROLL. * dlls/gdi/freetype.c: TANABE Hiroshi wrote: Remove (buf && !buflen) checking. Fixed outline rendering with GGO_GRAY?_BITMAP option. Improved fixed-pitch fonts detection. * programs/winecfg/drivedetect.c, programs/winecfg/properties.h: Paul van Schayck As last option for drive type detection we try the device node name. * dlls/ole32/storage32.c: Paul Vriens Added some TRACE statements. 2005-02-24 Alexandre Julliard * server/registry.c: Convert the key notifications list to a standard list. * dlls/user/painting.c: Repaint the non-client area to work around broken WM_PAINT handlers also when doing a synchronous update with RDW_UPDATENOW. * dlls/ole32/stg_prop.c, dlls/ole32/storage32.c, dlls/ole32/storage32.h: Mike McCormack Add struct StorageBaseImpl at the start of derived structures instead of trying to keep the first members the same. * dlls/user/scroll.c: Vitaly Lipatov - Fix scrollbar show/update conditions in SCROLL_SetScrollInfo: we DO NOT show scroll bar if only page parameter changing when scrollbar is disabled. - Removed bChangeParams from SCROLL_SetScrollInfo as unneeded flag. * documentation/faq.sgml: Dimitrie O. Paun Shorten the id of the question to avoid jade error. * programs/taskmgr/Fr.rc, programs/taskmgr/taskmgr.rc, programs/winecfg/Fr.rc, programs/winecfg/winecfg.rc: Jonathan Ernst French localization. * server/fd.c, server/file.c, server/file.h, server/serial.c, server/sock.c: Convert async I/O queues to standard lists. * dlls/richedit/richedit.c: Mike McCormack Remove unused declaration. * dlls/user/tests/msg.c, windows/win.c: Mike McCormack Dmitry Timoshkov Release capture before sending WM_NCDESTROY message, do not send WM_CAPTURECHANGED in that case. Add a test case for that behaviour. * dlls/user/tests/win.c: Dmitry Timoshkov GetWindowRect and GetClientRect do not change RECT contents if the passed window handle is invalid. * dlls/dsound/tests/capture.c: Robert Reif Try old buffer description structure on failure with new one. * dlls/kernel/except.c, dlls/ntdll/critsection.c, dlls/ntdll/exception.c, dlls/ntdll/loader.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, dlls/ntdll/tests/generated.c, include/winbase.h, include/winnt.h: Dmitry Timoshkov Match RaiseException and EXCEPTION_RECORD to SDK definitions. * dlls/opengl32/wgl_ext.c: Raphael Junqueira - implement partial PBuffer support - minimal pixel format support * dlls/msdmo/dmort.c: Mike McCormack Remove tabs, reformat, merge comments. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/msipriv.h: Aric Stewart Add the ExecuteAction handler. Store the keypath, and do refcounting and registration of SharedDLLs. Fix a bug with handing dword values in the registry. Fix bugs with writing registry keys where value == NULL. Make use of msidefs.h. Lay some groundwork for uninstalls. * dlls/comctl32/imagelist.c: Michael Stefaniuc - ImageList_LoadImage{A,W} were basicaly a cut'n'paste of each other. Removed the A variant and did a A->W translation. - ImageList_LoadImageW: get the bitmap size from the image itself and not from the mask (ImageList_LoadImageA did that). * documentation/winedev-kernel.sgml: Brian Vincent Clean up references to threading in Developer's Guide. * documentation/faq.sgml: Dimitrie O. Paun Can we bundle everthing together? Suggested by Graham Toal . * documentation/debugging.sgml: Dimitrie O. Paun Add info on building dynamic strings for logging. Reorder some points for a more logical organization. * dlls/msi/msi.c: Aric Stewart Do some basic work with registry component paths. * include/msidefs.h: Aric Stewart Define msidbComponentAttributes. * dlls/msi/action.c: Ulrich Czekalla Prevent accessing freed memory in failure case. * dlls/d3d8/directx.c, dlls/wined3d/device.c: Jason Edmeades Correct handling of unusual vendor strings in d3d8, and check for a stateblock before trying to release it in wined3d. * dlls/user/edit.c: Lauri Tulmin Controls with ES_RIGHT or ES_CENTER shouldn't have ES_AUTOHSCROLL. 2005-02-23 Alexandre Julliard * dlls/x11drv/event.c: Revert SC_CLOSE change, this is causing deadlocks. * documentation/threading.sgml: Removed no longer used threading.sgml. * documentation/winedev-kernel.sgml: Bill Medland Correct a couple of minor documentation typos. * tools/widl/client.c, tools/widl/parser.y, tools/widl/proxy.h, tools/widl/server.c, tools/widl/widl.c, tools/widl/widl.h: Removed the useless proxy.h header file. Fixed a couple of warnings. * dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/audio.h: Jeremy White More correct fix for dsp empty case. * programs/winefile/De.rc: Henning Gerhardt Small fix for the German resource file. * programs/taskmgr/De.rc, programs/taskmgr/taskmgr.rc, programs/winecfg/De.rc, programs/winecfg/winecfg.rc: Henning Gerhardt Added German language support. * tools/wineinstall: Jon Griffiths Suggest make uninstall in case the user tried make install. * tools/widl/Makefile.in, tools/widl/client.c, tools/widl/header.c, tools/widl/parser.l, tools/widl/parser.y, tools/widl/server.c, tools/widl/widl.c, tools/widl/widl.h, tools/widl/widltypes.h: Eric Kohl - Add basic support for creating client and server stub files. - Support implicit_handle attribute in IDL files. - Build mixed-mode stub files. * dlls/rsabase/Makefile.in, dlls/rsabase/main.c, dlls/rsabase/rsabase.spec: Michael Jung Made rsabase forward everything to rsaenh. * dlls/kernel/cpu.c, dlls/ntdll/nt.c: Rein Klazes NtQueryPerformanceCounter should return a frequency of 1193182Hz and counts like in Windows. Some applications depend on that. Simplify QueryPerformanceCounter a bit. * dlls/winmm/tests/wave.c: Jeremy White An interactive test should have volume, else a rational user will decide it is broken. * dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlfsbind.c: Mike McCormack Remove tabs and reformat. * dlls/comctl32/comctl32.spec, dlls/shell32/shell32.spec: Francois Gouget Add the -noname flag to match the Platform SDK. * dlls/winmm/wineoss/audio.c: Jeremy White In calculating the SMPTE time, we would round incorrectly (0:0:4.30 instead of 0:0:5.0 [the last column only goes to 29]). * dlls/shell32/enumidlist.c, dlls/shell32/enumidlist.h, dlls/shell32/pidl.h, dlls/shell32/shfldr.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c: Mike McCormack - handle IFileSystemBindData in ISF_Desktop_fnParseDisplayName - more Unicode conversion * dlls/shell32/shell32.spec: Francois Gouget Don't hardcode ordinals if which are not hardcoded on Windows. * dlls/msi/format.c: Aric Stewart Make sure formats like [\\]] and [\\[] work properly. * dlls/advapi32/tests/crypt.c: Jakob Eriksson Apparently NT4 can also return ERROR_ENVVAR_NOT_FOUND. * dlls/user/tests/msg.c: Dmitry Timoshkov - Pass original wParam to CallNextHookEx. - Avoid playing games with focus in a newly created thread, that leads to all kinds of misbehaviours and failures in window activation under Windows. * dlls/dsound/tests/capture.c, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/propset.c: Robert Reif Fix tests for win9x and old versions of DirectX. * dlls/wintrust/wintrust.spec, dlls/wintrust/wintrust_main.c: Michael Stefaniuc Stub for CryptCATAdminReleaseContext. * dlls/winmm/wineoss/audio.c: Jeremy White When we get down to the last fragment or two in our output to the DSP, we should use the SND_DSP_POST ioctl to let the sound card know to flush those fragments. This allows us to precisely know when the buffer is empty, and fixes another set of winmm tests. * dlls/winmm/tests/wave.c: Jeremy White When testing the WAVE_MAPPER device, it seems inappropriate (to me) to demand WAVE_FORMAT_DIRECT; this fixes another slew of tests. * dlls/winmm/wavemap/wavemap.c: Jeremy White When we are converting from one sample rate to another, we do have to adjust when calculating TIME_SAMPLES. * dlls/x11drv/xrender.c: Jason Edmeades Take into account additional requested spacing on break characters. * dlls/wined3d/directx.c: Jason Edmeades Enable parsing of vendor strings not matching the expected template. * dlls/comctl32/header.c: Maxime Bellengé Correctly displays the text with ellipsis when there is not enough room in a header item and an image from an imagelist is displayed on the right of the text. * programs/winemine/Pl.rc: Jacek Caban Translation update. * dlls/msi/msi.rc, dlls/msi/msi_Es.rc: José Manuel Ferrer Ortiz Added MSI Spanish resources. 2005-02-22 Alexandre Julliard * server/region.c, server/user.h: Removed no longer used create_region function, and directly export create_empty_region instead. * dlls/user/tests/win.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, server/window.c: Allow the client rectangle to be of arbitrary size and dimensions, regardless of the window rectangle. * dlls/gdi/font.c: TANABE Hiroshi Added Multibyte character set support in GetGlyphOutlineA. * dlls/gdi/dib.c: Huw Davies Don't hold the GDI lock when calling DC_GetDCUpdate. * dlls/cryptdll/Makefile.in, dlls/cryptdll/cryptdll.spec: Hans Leidekker Forward MD5{Final,Init,Update} to advapi32. * dlls/ntdll/handletable.c, dlls/ntdll/heap.c, dlls/ntdll/loader.c, dlls/ntdll/relay.c, dlls/ntdll/thread.c, dlls/ntdll/virtual.c: Ivan Leo Puoti Replace GetCurrentProcess() with NtCurrentProcess() in ntdll. * include/winbase.h, include/winnt.h: Ivan Leo Puoti Added a couple of defines. * dlls/msi/action.c: Mike McCormack Make sure strings are null terminated. * programs/winemenubuilder/winemenubuilder.c: Mike McCormack When running a second time, don't fail if we can't extract an icon. * dlls/comctl32/treeview.c: Martijn Vernooij Scroll instead of repainting when expanding/collapsing trees. Don't repaint on hover if 'hot tracking' isn't on. * dlls/itss/itss.c: Jacek Caban Added implementation of LockServer. * dlls/oleaut32/typelib.c: Huw Davies The typelib cache should take the typelib resource index into account. * dlls/user/tests/msg.c: Cosmetic fixes. * dlls/kernel/string.c, dlls/shell32/shell32.spec, include/winbase.h: Mike McCormack Make lstr* functions inline inside Wine. * dlls/shell32/pidl.h, dlls/shell32/shfldr_fs.c: Mike McCormack - handle IFileSystemBindData in IShellFolder::ParseDisplayName - convert IShellFolder::ParseDisplayName to use Unicode * dlls/msi/action.c: Aric Stewart Update the installed state for components during CostFinalize. Laying groundwork to be able to start processing uninstall logic as well. * dlls/user/tests/win.c, windows/nonclient.c: Rein Klazes DefWindowProc's WM_NCCALC handler must not subtract space for scrollbars if there is not enough space for it anyway. With tests to confirm the behavior. * dlls/user/tests/msg.c: Stefan Leichter Make user32_crosstest.exe loadable on NT 3.51. * dlls/user/tests/msg.c, windows/message.c: DispatchMessage needs to repaint the non-client area if the WM_PAINT handler didn't do it. * dlls/user/tests/class.c, windows/class.c: Jason Edmeades Make RegisterClassExA check that reserved bytes is a valid value. Tests to confirm this behaviour. * dlls/user/sysparams.c: Justin Chevrier Point KEYBOARDPREF and SCREENREADER to registry keys and values that match native. * dlls/oleaut32/olepicture.c, dlls/oleaut32/typelib.c, dlls/oleaut32/usrmarshal.c, dlls/oleaut32/variant.c: Jon Griffiths Use variant macros instead of accessing the union directly. * dlls/msi/action.c: Steven Edwards Correct typo. * programs/winedbg/dbg.y, tools/winedump/emf.c, tools/winedump/lnk.c: Jon Griffiths Use config.h & HAVE_ where needed, -W fixes. * dlls/mapi32/prop.c: Jon Griffiths Fix race in IMAPIProp_Release(), -W fixes. * dlls/shell32/pidl.c: Mike McCormack Cleanup, create unicode versions of _ILCreateFromPath, _ILCreateGuidFromStr, and _ILCreateFromFindData. * dlls/quartz/acmwrapper.c: Christian Costa Fixed ACM Wrapper. * dlls/ntdll/time.c: Darryl Dixon Added support for NZDT (New Zealand Daylight Time) to TZ_INFO. * dlls/unicows/Makefile.in, dlls/unicows/main.c, dlls/unicows/unicows.spec: Hans Leidekker Add IsDestinationReachableW. 2005-02-21 Alexandre Julliard * dlls/kernel/kernel32.spec, dlls/kernel/thread.c: Hans Leidekker Implementation stub for QueueUserWorkItem. * dlls/ole32/Makefile.in, dlls/ole32/stg_prop.c, dlls/ole32/storage32.c, dlls/ole32/storage32.h, dlls/ole32/tests/storage32.c: Mike McCormack Implement and test IPropertySetStorage. * dlls/kernel/kernel32.spec, dlls/kernel/toolhelp.c: Lionel Ulmer Implement 'W' variants of Process32First / Next APIs * dlls/gdi/font.c, dlls/gdi/gdi16.c: Alex Villacís Lasso Implemented GetGlyphOutline16. * dlls/user/sysparams.c, dlls/user/tests/sysparams.c: Justin Chevrier - Implement SPI_{GET,SET}POWEROFFACTIVE and SPI_SETLOWPOWERACTIVE. - Corrected SPI_GETLOWPOWERACTIVE to use an index (instead of its SPI value) to avoid an out of bounds condition. - Created unit tests for SPI_{GET,SET}POWEROFFACTIVE and SPI_{GET,SET)SETLOWPOWERACTIVE. * include/winuser.h: Vincent Béron Add a definition for OpenInputDesktop(). Add constants for PBT_APM* parameters. * dlls/user/edit.c: Lauri Tulmin Horizontal scrollbar is hidden when edit control is emptied. * programs/winemine/Pl.rc: Marcelo Duarte Sync Polish resources. * dlls/comctl32/listview.c: Maxime Bellengé Take into account the new size of a column when the header size change. * dlls/quartz/acmwrapper.c, dlls/quartz/avidec.c, dlls/quartz/transform.c, dlls/quartz/transform.h: Christian Costa Improved AVIDec. Added 2 new callback functions to the transform template and moved all of them into a funcs table. * dlls/advapi32/registry.c, dlls/advapi32/tests/registry.c: James Hawkins Add RegOpenKey, RegCloseKey tests. * dlls/mpr/mpr_De.rc, dlls/mpr/mpr_En.rc, dlls/mpr/mpr_Fr.rc, dlls/mpr/mpr_Pt.rc, dlls/shdocvw/De.rc, dlls/shdocvw/En.rc, dlls/shdocvw/Fr.rc, dlls/shdocvw/Pt.rc, dlls/user/resources/user32_Si.rc, programs/winecfg/En.rc, programs/winecfg/Nl.rc: Marcelo Duarte Use "MS Shell Dlg" everywhere except for Japanese. * dlls/mscms/Makefile.in, dlls/mscms/handle.c, dlls/mscms/lcms_api.h, dlls/mscms/mscms_main.c, dlls/mscms/mscms_priv.h, dlls/mscms/profile.c, dlls/mscms/stub.c, dlls/mscms/transform.c, include/icm.h: Hans Leidekker - Add support for color transform handles. - Implement CreateColorTransform{A,W}, CreateMultiProfileTransform, DeleteColorTransform. - Don't depend on lcms for the implementation of IsColorProfileTagPresent. * dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c, dlls/shell32/shlfileop.c: Hans Leidekker - Revert wrong -noname markup for Drag*, DoEnvironmentSubst and SHGetNewLinkInfo{A,W}. - Also mark stub exports -noname when they are exported by ordinal only on win98/2k. - Implementation level stubs for SheChangeDirA, SheGetDirA, SHHelpShortcuts_RunDLL{A,W}. - New spec file stubs for Control_RunDLLAsUserW, FixupOptionalComponents, OCInstall, SHChangeNotifySuspendResume, SHCreateProcessAsUserW, SHExtractIconsW, SHInvokePrinterCommand{A,W}, SHIsFileAvailableOffline, SHLoadNonloadedIconOverlayIdentifiers, SHPathPrepareForWrite{A,W}, ShellExec_RunDLL{,A,W}, SHGetIconOverlayIndex{A,W}. * dlls/shell32/pidl.c, dlls/shell32/shfldr_desktop.c: Mike McCormack Remove tabs and make formatting consistent. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/olepicture.c, include/olectl.h: Vincent Béron Add a stub for OleLoadPicturePath(). * include/winuser.h: Vincent Béron Add LWA_ constants, used in {S/G}LayeredWindowAttributes(). * dlls/ole32/marshal.c: Mike Hearn Avoid infinite loop when doing a typelib marshalled IUnknown::QueryInterface by only doing an extra QI if requested IID is not equal to marshalled IID. * dlls/oleaut32/typelib.c: Mike Hearn Allow loading of builtin typelibs. * dlls/comctl32/header.c: Maxime Bellengé Fix SetItem so that items don't get wrongly re-ordered. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec, include/winspool.h: Hans Leidekker Stub implementations for AbortPrinter, AddPortEx{A,W}, AddPrinterConnection{A,W}, ConnectToPrinterDlg, DeletePrinterConnection{A,W}, EnumForms{A,W}, EnumPrinterData{A,W], ExtDeviceMode, Find{Close,First,Next}PrinterChangeNotification, FreePrinterNotifyInfo, ScheduleJob. * dlls/user/menu.c, dlls/user/tests/msg.c, dlls/user/tests/resource.rc: Dmitry Timoshkov Take Shift key state into account while processing an accelerator. Add a couple of test cases. * programs/taskmgr/En.rc, programs/taskmgr/taskmgr.rc: Marcelo Duarte Cleanup taskmgr resource file (get rid of C++ style coments, use "MS Shell Dlg" for dialogs, etc). Preparation for translators (move english resources to En.rc). * dlls/user/listbox.c: Maxime Bellengé Reverse the order for deleting the items in resetcontent to correctly empty a comboboxex. * include/wtypes.idl: Vincent Béron Added LPDWORD definition. * tools/winemaker: Francois Gouget Only 'fix' the names of source files and directories (this way documentation files are unharmed). Better handle Makefiles generated by Winemaker. In particular, don't rename them to makefile.win! * programs/msiexec/msiexec.c: Aric Stewart The values are quoted and spaces added, so having spaces in the properties results in spaces in the values which is incorrect. * include/richole.idl: Vincent Béron Added IRichEditOleCallback. * include/commctrl.h: Vincent Béron Correct the number of args of SNDMSGA in ListView_GetSubItemRect. * dlls/ntdll/nt.c: Juan Lang Fix NtQueryPerformanceCounter parameter checking. Spotted by Alex Woods. 2005-02-18 Alexandre Julliard * dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c: Robert Shearman - Better tracing. - Small cleanup of creation functions. * dlls/shell32/shell32.spec: Hans Leidekker Mark exports -noname when they are exported by ordinal only on win98/2k. * Makefile.in: Francois Gouget dlls/__install-lib__ and programs/__install__ should not force the installation of the Wine headers as this is contrary to the purpose of install-lib. * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/stubmanager.c, dlls/ole32/tests/marshal.c: Robert Shearman - Move marshaling state machine into stub manager from ifstub. - Add additional needed states for table-weak marshaling, as shown by tests. - Protect external reference count from underflows/overflows. * server/queue.c: Krzysztof Foltman Ensure that caret position is not reset to (0, 0) when CreateCaret is called second time with the same window. * dlls/user/tests/msg.c, windows/win.c: Dmitry Timoshkov - Always unlink children before sending WM_NCDESTROY message. - Fix order of WM_DESTROY messages for the children's recursion. - DestroyWindow should hide only visible windows. - Add a test case for the above fixes. * dlls/x11drv/event.c: Ulrich Czekalla Duplicate Windows behaviour and use SendMessage for the SC_CLOSE system command instead of PostMessage. * dlls/msi/action.c: Aric Stewart Fixed problems with my code for finding the PackageCode. * tools/winedump/lnk.c: Gerald Pfeifer Use stdlib.h instead of non-standard malloc.h. * include/basetsd.h, include/winnt.h: James Hawkins Conditionally add DECLSPEC_ALIGN(8) to wine's 64-bit types and leave the modifier off when compiling with msvc. * dlls/winmm/mci.c: Christian Costa Fixed offsets calculations. * tools/winedump/lnk.c: Mike McCormack Dump out more details on the target of a link. * include/Makefile.in, include/odbcinst.h: Mike McCormack Added odbcinst.h. * programs/winemenubuilder/winemenubuilder.c: Mike McCormack Small indentation fixes. * dlls/dsound/tests/capture.c: Robert Reif Fix capture test to pass on windows 98 when no sound card present or device already in use. * dlls/winmm/tests/timer.c: Robert Reif Fix timer tests to pass on windows 98. * dlls/dsound/tests/dsound.c: Robert Reif Fix block align test. * dlls/oleaut32/olefont.c: Alex Villacís Lasso Implement OleFontImpl_QueryTextMetrics. * dlls/msvcrt/dir.c: Gunnar Dalsnes When getting current directory on a drive different from the working drive, _getdcwd incorrectly passed "X:\" (X = any drive) as path to GetFullPathName. "X:" (without the backslash) is the correct thing to use. 2005-02-17 Alexandre Julliard * dlls/user/scroll.c: Vitaly Lipatov Rename SCROLL_GetScrollBarInfo to SCROLL_GetInternalInfo and make allocation of a new info structure optional. Add some descriptions. * dlls/shell32/shelllink.c, programs/winemenubuilder/winemenubuilder.c: Dmitry Timoshkov Convert winemenubuilder to unicode. * tools/winedump/Makefile.in, tools/winedump/lnk.c, tools/winedump/main.c, tools/winedump/winedump.h: Mike McCormack Add dumping of lnk files. * dlls/msvideo/msvideo_main.c: David Smith Fix for ICInfo() in msvideo when it is used to ask for a codec by index. * dlls/advapi32/tests/crypt.c: Jakob Eriksson Apparently NT4 can also return ERROR_ENVVAR_NOT_FOUND. * dlls/shell32/shlfileop.c: Joris Huizer - renamed file_operation_delete and to shfileops_delete - renamed file_operation_checkFlags to shfileops_check_flags - added helper function shfileops_do_operation() - added helper function shfileops_get_parent_attr() - added helper function shfileops_get_parent_attr2() - various cleanups in SHFileOperationW using these functions 2005-02-16 Alexandre Julliard * dlls/avifil32/avifile_Es.rc, dlls/comctl32/comctl_Es.rc, dlls/commdlg/cdlg_Es.rc, dlls/mpr/mpr_Es.rc, dlls/msacm/msacm_Es.rc, dlls/msrle32/msrle_Es.rc, dlls/oleaut32/oleaut32_Es.rc, dlls/oledlg/oledlg_Es.rc, dlls/serialui/Es.rc, dlls/setupapi/Es.rc, dlls/shell32/shell32_Es.rc, dlls/shlwapi/shlwapi_Es.rc, dlls/user/resources/user32_Es.rc, dlls/wineps/wps_Es.rc, dlls/wininet/wininet_Es.rc, dlls/winmm/winmm_Es.rc, programs/clock/Es.rc, programs/cmdlgtst/Es.rc, programs/notepad/Es.rc, programs/progman/Es.rc, programs/regedit/Es.rc, programs/start/Es.rc, programs/view/Es.rc, programs/wcmd/Es.rc, programs/winecfg/Es.rc, programs/wineconsole/wineconsole_Es.rc, programs/winefile/Es.rc, programs/winemine/Es.rc, programs/winhelp/Es.rc: Alex Villacís Lasso Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all resources, so that Spanish locales other than Spain also use Spanish resources. * dlls/msi/msi.rc, dlls/msi/msi_Fr.rc, dlls/shdocvw/Fr.rc, dlls/shdocvw/shdocvw.rc: Jonathan Ernst Add French resources. * dlls/msi/msi.c, dlls/msi/registry.c: Mike McCormack Move product, feature and component enumeration functions to registry.c. * dlls/winmm/tests/wave.c: James Hawkins Fix improper type-conversions. * include/winnt.h: Ivan Leo Puoti Add EVENT_QUERY_STATE define. * dlls/user/painting.c, dlls/user/tests/win.c: Rein Klazes Calling ValidateRect or ValidateRgn on a windows also validates the children. Add a test to show the behavior. * programs/winecfg/audio.c: Paul van Schayck Change detection order to: OSS-ALSA-ARTS-JACK. * dlls/user/edit.c: Ulrich Czekalla Implement ES_CENTER and ES_RIGHT alignment styles. * dlls/shell32/shelllink.c, dlls/shell32/tests/shelllink.c: Huw Davies SetPath("") should return S_OK. SetPath("nonexistent_path") should return S_FALSE. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Thomas Weidenmueller Forward to user32 when appropriate. * dlls/dsound/mixer.c, dlls/dsound/primary.c: Robert Reif Some block align cleanups. * dlls/msi/dialog.c: Mike McCormack Add a border to the edit control, add some more controls. * dlls/msi/suminfo.c: Mike McCormack Fix up the summary information code a little. * dlls/msi/msi.c, dlls/msi/msi.spec: Aric Stewart Stubs for MsiUseFeature. * dlls/dsound/buffer.c, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/dsound_test.h: Robert Reif Fixed invalid buffer size by rounding up to next multiple of nBlockAlign. Added test to verify buffer rounding behavior. * dlls/x11drv/winpos.c: Lauri Tulmin Make minimized windows stay minimized. * dlls/msi/package.c: Mike McCormack Remove const declaration from non-const function. * dlls/msi/table.c, dlls/msi/where.c: Mike McCormack Allow MsiViewExecute to be called twice on the same query. * dlls/msi/msiquery.c: Mike McCormack Implement MsiDatabaseGetPrimaryKeys. * dlls/msi/msi.c: Mike McCormack MsiGetComponentPath should allow null pointers for pcchBuf and lpPathBuf. * programs/winemenubuilder/winemenubuilder.c: Mike McCormack Small fixes, indentation and comments. 2005-02-15 Alexandre Julliard * dlls/comctl32/listview.c, dlls/commdlg/colordlg.c, dlls/commdlg/colordlg16.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg16.c, dlls/serialui/confdlg.c, dlls/shell32/dialogs.c, dlls/shlwapi/msgbox.c, dlls/shlwapi/ordinal.c, dlls/user/controls.h, dlls/user/desktop.c, dlls/user/dialog16.c, dlls/user/icontitle.c, dlls/wineps/driver.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, include/windowsx.h, include/winuser.h, programs/taskmgr/applpage.c, programs/taskmgr/proclist.c, programs/winecfg/appdefaults.c, programs/winecfg/audio.c, programs/winecfg/driveui.c, programs/winecfg/x11drvdlg.c, programs/wineconsole/dialog.c, windows/class.c, windows/defdlg.c, windows/defwnd.c, windows/dialog.c, windows/mdi.c, windows/nonclient.c, windows/win.c, windows/winproc.c: Dmitry Timoshkov - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and SetClassLongA/W according to SDK definitions. - Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_ constants from using in Wine or in _WIN64 mode. - Fix all places in Wine affected by the above changes. * dlls/ole32/compobj.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c: Robert Shearman - Use I_RpcGetBuffer, instead of our own buffer routines to fix an occasional test crash caused by heap corruption. - Zero the memory block passed to RpcServerRegisterIfEx so we don't pass garbage in some of the fields we don't fill in. - Return the correct error code from create_server and fix two handle leaks. - TODO update. * dlls/ntdll/rtlstr.c: Uwe Bonnes Use local buffer in RtlUpcaseUnicodeStringToCountedOemString, if appropriate. * dlls/ntdll/reg.c, dlls/ntdll/tests/reg.c, include/winternl.h: Ivan Leo Puoti Move Rtl*Registry* structs, defines and prototypes to winternl.h. Fix two function declarations. * dlls/msi/msi.rc, dlls/msi/msi_De.rc, dlls/shdocvw/De.rc, dlls/shdocvw/shdocvw.rc, programs/winefile/De.rc: Henning Gerhardt Add/updated German resources. * dlls/shell32/shell32_main.c: Mike McCormack Reindent some code to improve readability. * dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_message.c, dlls/rpcrt4/rpcrt4.spec: Robert Shearman - Add a stub implementation of RpcImpersonateClient. - More tracing, particularly on error paths. * dlls/kernel/volume.c: Paul van Schayck Only stop writing a volume label if we found a non writable fat partition. * dlls/ole32/git.c: Robert Shearman The Global Interface Table should do table-strong marshaling instead of normal marshaling so that an interface can be retrieved more than one time. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c: Robert Shearman - Remove cruft left over from previous RPC backend implementation in the apartment structure. - Don't pass an IPID by value for proxy_manager_create_ifproxy. - Disable more of RPC_UnregisterInterface to prevent the RPC runtime using freed memory. - Rename various external RPC backend functions so that they all have the same "RPC_" prefix. - Reduce the timeout of the function that connects to a local server to 30s, like native. * dlls/shell32/shell32_main.c, include/shellapi.h: Mike McCormack Define some extra SHFGI values. * dlls/user/sysparams.c, include/winuser.h: Mike McCormack Add some more SPI values. * dlls/rpcrt4/rpc_server.c: Robert Shearman Fix RPC server thread race. * dlls/rpcrt4/rpc_binding.c: Robert Shearman ERROR_IO_PENDING is expected, so don't return an error. * dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c: Christian Costa Implemented GetProperty method for keyboard device. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c: Robert Shearman Make COM use the RPC runtime as the backend for RPC calls. Based on a patch by Ove Kåven. 2005-02-14 Alexandre Julliard * dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/reg.c: Brad DeMorrow Tests for the ntdll registry functions. * dlls/ntdll/ntdll.spec, dlls/ntdll/reg.c: Ivan Leo Puoti Add implementation for RtlQueryRegistryValues, RtlCheckRegistryKey and RtlDeleteRegistryValue. * dlls/advapi32/tests/security.c, dlls/gdi/tests/metafile.c, dlls/mlang/tests/mlang.c, dlls/msvcrt/tests/file.c, dlls/ntdll/tests/path.c: Francois Gouget Cast the GetProcAddress() return value to avoid warnings about the function pointer being of the wrong type. Fix assorted signed/unsigned comparison warnings. * dlls/richedit/reader.c, dlls/richedit/rtf.h, dlls/richedit/stdcharnames.h, dlls/richedit/text_map.h: Rémi Assailly char -> const char fixes. * programs/winecfg/main.c: Michael Jung Added support for command line parameter '/D' to do drive detection from wineprefixcreate. * programs/winecfg/drivedetect.c: Michael Jung Include config.h to reenable reading /etc/fstab on platforms that support it. Implemented a black list of mount directories, which should not be mapped. Ensure that the user's home directory is mapped. * dlls/rsaenh/rsaenh.c: Michael Jung Check pdwDataLen param for non NULL'ness. Implemented PP_IMPLTYPE and PP_VERSION provider params. * programs/winecfg/drive.c: Michael Jung Set pointers to NULL in delete_drive to prevent heap corruption in load_drives. * dlls/winmm/tests/timer.c: Robert Reif Add some missing \ns. * dlls/mscms/handle.c, dlls/mscms/icc.c, dlls/mscms/mscms_priv.h, dlls/mscms/profile.c, dlls/mscms/tests/profile.c: Hans Leidekker Implement and test access flags for color profiles. Write the color profile back to disk when it was opened for writing. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/tests/printf.c, dlls/msvcrt/wcs.c: Mike McCormack Add handling of %ws, %S and %C to _vns(w)printf, improve sprintf tests. * dlls/user/dde/client.c, dlls/user/dde/dde_private.h, dlls/user/dde/ddeml16.c, dlls/user/dde/misc.c, dlls/user/dde/server.c: Dmitry Timoshkov Make DDE implementation always work internally in Unicode. * dlls/advapi32/tests/security.c: Vincent Béron Suppress a warning. * dlls/shell32/tests/shelllink.c: Francois Gouget Test the interaction between IShellLink::SetIDList() and IShellLink::SetPath(). Check what default values one gets on a fresh IShellLink object. Add some more tests verifying nothing is lost in an IShellLink save/load cycle. Merged the empty shelllink test with these. * dlls/gdi/region.c: Rein Klazes REGION_FrameRgn computes the frame region inside the original region. * dlls/user/edit.c: Lauri Tulmin Update scroll info on WM_SETTEXT. * programs/notepad/dialog.c: Lauri Tulmin Implement word wrap. * documentation/README.pt, documentation/README.pt_br: Marcelo Duarte Update README for Pt_br and Pt. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c: Robert Shearman Invoke objects in STA's in the correct thread by sending messages to the hidden apartment window. * dlls/richedit/richedit.c: Jason Edmeades Make the edit field created from a richedit control which was created with ES_DISABLENOSCROLL, not have the ES_NUMBER style and hence accept alphanumeric input. * dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_Pt.rc, dlls/commdlg/cdlg_xx.rc, dlls/mpr/mpr_Pt.rc, dlls/msi/msi.rc, dlls/msi/msi_Pt.rc, dlls/oleaut32/oleaut32.rc, dlls/shdocvw/En.rc, dlls/shdocvw/Pt.rc, dlls/shdocvw/shdocvw.rc, dlls/shell32/shell32_Pt.rc, dlls/wininet/wininet_Pt.rc, programs/winecfg/Pt.rc, programs/winefile/Pt.rc: Marcelo Duarte Update the resources for Portuguese. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/dsurface/main.c: Christian Costa Handle more properly versions for Direct3D and Direct3DDevice objects. * documentation/getting.sgml: Vincent Béron Add 2 missing tags in getting.sgml. * dlls/gdi/dib.c, dlls/oleaut32/olepicture.c, dlls/wineps/ps.c, windows/cursoricon.c: Marcus Meissner Check for overflows with ClrUsed. * dlls/msi/action.c, dlls/ole32/errorinfo.c, dlls/shell32/shellpath.c: Marcus Meissner Output some more informations. Mark one global variable static. * dlls/msi/Makefile.in, dlls/msi/delete.c, dlls/msi/query.h, dlls/msi/sql.y: Mike McCormack Implement SQL delete query. * dlls/shell32/shlview.c: Filip Navara Don't crash if ShellFolder doesn't implement the IID_ISFHelper interface. * dlls/advapi32/tests/crypt.c, dlls/advapi32/tests/security.c: Stefan Leichter Make advapi32_test.exe loadable on NT 3.51. * tools/widl/typelib.c: Vincent Béron A RPC_FC_ENUM16 is a VT_USERDEFINED. * dlls/setupapi/misc.c, dlls/setupapi/setupapi.spec, include/setupapi.h: Eric Kohl Implement DelayedMove and FileExists. * programs/winedbg/info.c: Oliver Stieber Mention bt [all | ]. * dlls/gdi/tests/brush.c: Rémi Assailly Small char -> const char fix. * dlls/shell32/shlexec.c: Ge van Geldorp Error numbers >= 32 are to be expected. * dlls/ntdll/time.c: Marcelo Duarte - Correct time zone for BRT and BRST. - Better explained fixme. * dlls/advpack/tests/Makefile.in, dlls/advpack/tests/advpack.c: Francois Gouget Load advpack.dll at runtime to avoid link problems with the platform sdk. * dlls/winsock/tests/protocol.c: Francois Gouget Tests cannot use wine/debug.h because it does not exist on Windows. * dlls/user/tests/edit.c: Francois Gouget ES_COMBO is not defined in the Windows headers. So define it if necessary so the test can be compiled on Windows. * dlls/ole32/tests/marshal.c: Robert Shearman Make Ole tests run on Windows 95. * programs/wcmd/builtins.c: Jason Edmeades Make 'exist' in wcmd handle both file and directories. * programs/winecfg/drivedetect.c, programs/winecfg/winecfg.h: Michael Jung Fixed automatic drive detection for the case that the root directory is not already mapped. * dlls/winmm/tests/.cvsignore, dlls/winmm/tests/Makefile.in, dlls/winmm/tests/timer.c, dlls/winmm/time.c: Robert Reif Added parameter checking to timeGetDevCaps. Added timer tests. * dlls/commdlg/fontdlg.c: Mike Hearn Respect the flags member of the CHOOSEFONT structure, and don't attempt to process bogus strings. 2005-02-11 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20050211. ---------------------------------------------------------------- 2005-02-11 Alexandre Julliard * documentation/Makefile.in, documentation/compiling.sgml, documentation/getting.sgml, documentation/installing.sgml, documentation/introduction.sgml, documentation/wine-user.sgml: Scott Ritchie User Guide Chapter 2 rewrite. * dlls/advapi32/security.c, dlls/ntdll/nt.c, include/wine/server_protocol.h, include/winnt.h, include/winternl.h, server/object.h, server/process.c, server/protocol.def, server/request.h, server/token.c, server/trace.c: Robert Shearman - Implement AdjustTokenPrivileges, DuplicateTokenEx and GetTokenInformation (for the TokenPrivileges case). - Return STATUS_NO_TOKEN for OpenThreadToken when there is no token set for the thread. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c: Robert Reif Removed printing of thread id for AddRef and Release because WINEDEBUG=+tid gives the same result. General consistency cleanup. 2005-02-10 Alexandre Julliard * dlls/kernel/profile.c: Fixed profile cache flushing when no filename is specified (reported by Mike Hearn). * dlls/dsound/tests/ds3d8.c: Francois Gouget Don't link with DirectSoundCreate8 as this prevents running with older versions of DirectX. * dlls/ntdll/version.c: Mike Hearn Alter the version heuristics a bit. * programs/winedbg/gdbproxy.c: Oliver Stieber Added vCont support. * dlls/opengl32/opengl_ext.c: Tom Wickline Sync to latest OpenGL specifications. * programs/msiexec/msiexec.c: Mike McCormack Set full UI mode by default. * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c: Robert Reif Print info about primary buffer format. * dlls/d3d9/device.c: Paul Vriens Check that ppZStencilSurface is not null. * aclocal.m4, dlls/advapi32/tests/crypt.c, dlls/comctl32/tests/imagelist.c, dlls/dplayx/name_server.c, dlls/kernel/tests/directory.c, dlls/kernel/tests/file.c, dlls/kernel/tests/mailslot.c, dlls/kernel/tests/path.c, dlls/lzexpand/tests/lzexpand_main.c, dlls/mapi32/tests/prop.c, dlls/msi/table.c, dlls/msrle32/msrle32.c, dlls/msvcrt/environ.c, dlls/msvcrt/tests/environ.c, dlls/quartz/acmwrapper.c, dlls/rsaenh/rsaenh.c, dlls/shell32/pidl.c, dlls/shell32/shellpath.c, dlls/shell32/tests/shellpath.c, dlls/shell32/tests/shlfileop.c, dlls/shlwapi/tests/clist.c, dlls/wined3d/directx.c, dlls/winedos/ppdev.c, documentation/configuring.sgml, programs/wcmd/En.rc, programs/wcmd/Ru.rc, programs/wcmd/Si.rc, tools/winebuild/spec32.c: Francois Gouget Assorted spelling fixes. * configure, configure.ac: Alex Woods Handle host_cpu of x86_64 like other x86s. * programs/msiexec/Makefile.in, programs/msiexec/msiexec.c: Mike McCormack Read args from the registry when passed the /@ flag. * dlls/msi/msi.c, include/msi.h: Mike McCormack Update headers, add MsiGetUserInfoA stub implementation. * dlls/serialui/Pt.rc, dlls/setupapi/Pt.rc, programs/clock/Pt.rc, programs/cmdlgtst/Pt.rc, programs/notepad/Pt.rc, programs/progman/Pt.rc, programs/regedit/Pt.rc, programs/start/Pt.rc, programs/view/Pt.rc, programs/wcmd/Pt.rc, programs/winecfg/Pt.rc, programs/winefile/Pt.rc, programs/winemine/Pt.rc, programs/winhelp/Pt.rc: Américo José Melo Francois Gouget Translate the Wine resources to Portuguese. * dlls/quartz/Makefile.in, dlls/quartz/main.c, dlls/quartz/quartz_private.h, dlls/quartz/regsvr.c, dlls/quartz/waveparser.c, include/uuids.h: Christian Costa Added WAVE parser. * programs/msiexec/msiexec.c: Mike McCormack Convert to Unicode. * dlls/dsound/mixer.c: Robert Reif Signed/unsigned fix and code cleanup. * dlls/shlwapi/tests/path.c: Paul Vriens Use aliases for calls to ordinals. * dlls/msi/msi.c, dlls/msi/msi.spec: Aric Stewart Added stubs for MsiGetShortcutTargetA/W. * dlls/commdlg/filedlg.c, dlls/commdlg/filedlg16.c: Dmitry Timoshkov Do not forget to allocate internal OPENFILENAMEW structure for 16-bit GetOpenFileName, initialize it by zeros for 16/A cases. * dlls/msi/action.c: Aric Stewart Add the RegisterUser action. * dlls/dsound/buffer.c: Robert Reif Always allocate an empty buffer. 2005-02-09 Alexandre Julliard * dlls/winmm/Makefile.in, dlls/winmm/driver.c, dlls/winmm/mci.c, dlls/winmm/mcianim/mcianim.c, dlls/winmm/mciavi/info.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/mciavi_res.rc, dlls/winmm/mciavi/private_mciavi.h, dlls/winmm/mciavi/wnd.c, dlls/winmm/mcicda/Makefile.in, dlls/winmm/mcicda/mcicda.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/message16.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/mmsystem.spec, dlls/winmm/winemm.h, dlls/winmm/winmm.c, dlls/winmm/winmm.spec, dlls/winmm/winmm_res.rc, dlls/winmm/mciwave/mciwave.c, include/mmsystem.h: Eric Pouech - rewrite MCI interfaces as Unicode interface (as it should be) - made some winmm APIs rely on the Unicode version for the core implementation (instead of Ansi flavor) * dlls/rsaenh/rsaenh.c, dlls/rsaenh/tests/rsaenh.c: Michael Jung Implemented CPGetProvParam's PP_ENUMCONTAINERS parameter type. Added corresponding test. Removed some tabs that slipped in with the last patch. * dlls/msi/action.c, dlls/msi/format.c: Ulrich Czekalla Handle 0 length buffers in MSI_FormatRecordW. Remove unused buffer in deformat_string. * dlls/dbghelp/msc.c: Mike Hearn Change an ERR to a WARN. * tools/winebuild/import.c: Marcus Meissner Put generated import table code into .text segment. * programs/msiexec/msiexec.c: Mike McCormack - Quote the parameter strings passed to MsiInstallProduct. - Return the error code that the Msi* function returned when we quit. * dlls/msi/custom.c: Aric Stewart Do not track the temp files for custom actions based on the name from the table because then we get conflicts and files not tracked or cleaned up. * dlls/dsound/buffer.c, dlls/dsound/primary.c: Robert Reif Fill new software buffers with silence. * dlls/x11drv/window.c, dlls/x11drv/winpos.c: Make the win data pointer only available in the thread that owns the window. * tools/config.guess, tools/config.sub: Upgrade to the latest version. * programs/msiexec/msiexec.c: Mike McCormack - Fix msiexec's command line parsing. - Don't allocate memory for fixed size structure. - Remove a few non-tab indents, since the rest of the file uses tabbed indent. * dlls/msi/action.c: Aric Stewart Implement RegisterExtensionInfo and RegisterMIMEInfo. * dlls/msi/custom.c: Mike McCormack Handle a number as a parameter for custom action 19. * dlls/ntdll/directory.c: Consider any character above 0x7f to be invalid in a DOS short name. * dlls/itss/moniker.c: Tom Fogal Simple aggregation fix. * dlls/msi/cond.y: Aric Stewart Do not limit properties to 256 characters when evaluating them. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Add support for Turkish (tr) X11 keyboard layout. * dlls/shell32/cpanelfolder.c: Ge van Geldorp - Fix quoting of .cpl filename. - Use "cplopen" verb to execute .cpl files. * dlls/msi/action.c, dlls/msi/custom.c, dlls/msi/dialog.c: Mike McCormack - add support for Edit boxes in MSI dialogs - run the message loop when waiting for threads or processes * dlls/msi/msi.c: Mike McCormack Fix a memory leak in MsiConfigureProductExW. 2005-02-08 Alexandre Julliard * include/wine/wined3d_gl.h: Jason Edmeades Avoid compile warnings. * tools/widl/write_msft.c: Huw Davies Add support for modules. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/ole32.spec, dlls/ole32/regsvr.c, dlls/ole32/stubmanager.c, dlls/ole32/tests/marshal.c: Robert Shearman - Implement CoDisconnectObject. - Change CoLockObjectExternal so that it does the correct action now and eliminate a fair few lines of now redundant code. - Rename OLE32_Dll{Register,Unregister}Server to Dll{Register,Unregister}Server. * tools/widl/write_msft.c: Huw Davies Check if we've already added the ptr to iface typedesc before adding a new one. * dlls/user/tests/msg.c, windows/scroll.c: Rein Klazes ScrollWindowEx when called with the SW_ERASE flag does not send a WM_ERASEBKGND message, it just sets the erase flag. With some tests that show this behavior. * dlls/msi/custom.c: Aric Stewart Make a temp file for each dll saved for custom actions. This prevents name collisions from causing custom actions to fail. * dlls/msi/action.c: Aric Stewart Add logic to be able to resolve the SourceDir based on CurrentPath. Also add logic to get the source locations of a file if it is not in a cabinet. * dlls/ole32/marshal.c: Robert Shearman Move object-to-stub-manager mapping rule to register_ifstub. * dlls/msi/create.c, dlls/msi/distinct.c, dlls/msi/insert.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/order.c, dlls/msi/select.c, dlls/msi/table.c, dlls/msi/update.c, dlls/msi/where.c: Mike McCormack Fix MsiModifyView and MsiViewGetColumnInfo to use MSIRECORD* not MSIHANDLE. * dlls/quartz/Makefile.in, dlls/quartz/avisplit.c, dlls/quartz/parser.c, dlls/quartz/parser.h: Christian Costa Added parser template and made AVISplitter use it. * dlls/version/tests/info.c: Stefan Leichter Fixed GetFileVersionInfoSizeA tests on Win95. * tools/widl/write_msft.c: Vincent Béron Support some more attributes for interface properties. * dlls/wininet/internet.c, dlls/wininet/urlcache.c, dlls/wininet/wininet.spec: Hans Leidekker Stub implementations for DeleteUrlCacheContainer{A,W}, CreateCacheContainer{A,W}, FindFirstUrlCacheContainer{A,W}, FindNextUrlCacheContainer{A,W}. Handle the case where the supplied buffer size is too small in InternetQueryOption. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/ole32_main.c, dlls/ole32/rpc.c, dlls/ole32/tests/marshal.c: Robert Shearman - Split up apartment creation so that the long code paths that don't need locking no longer have locking. - Add special cases for the threads that join apartments but can't increase the refcount of the apartment. - Free TLS storage on thread destruction (including releasing the apartment the thread is in, if any, and so making another test pass). * dlls/oleaut32/oleaut.c: Paul Vriens Add WinXP to OaBuildVersion. * tools/widl/write_msft.c: Vincent Béron Support ATTR_READONLY for interface properties. * include/msidefs.h: Mike McCormack Add the msidbCustomAction and msidbFeatureAttributes enumerations. * dlls/msi/dialog.c, dlls/msi/msipriv.h: Mike McCormack - fix the dialog font - allow waiting on a handle while running the message loop * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c: Mike Hearn Robert Shearman - Rework RPC dispatch layer to be simpler and not get confused by server/client duality. - Make threads shut down at the right time and not access freed memory after apartment destruction. - Rename stub_dispatch_thread to client_dispatch_thread. - Add some more tracing - Check return value of WaitNamedPipe. - Change named pipe timeouts to 0.5s, which should be enough for even the slowest machines. * server/named_pipe.c: Robert Shearman Support WaitNamedPipe timeouts. * dlls/msi/cond.y: Juan Lang Identifiers evaluate to true if they are non-empty, regardless of value. * dlls/ntdll/time.c: Robert Shearman Replace 10000000 with TICKSPERSEC to make it more obvious what the code is doing. * Make.rules.in: Vincent Béron Make tlb generation from idl files dependent on widl. * documentation/faq.sgml: Scott Ritchie Remove two ancient FAQ entries that did more harm than good. Replace a reference to wine.conf with ~/.wine/config. * dlls/oleaut32/oleaut.c: Mike Hearn Return OLE automation build value as win2k by default. * dlls/msi/.cvsignore, dlls/msi/Makefile.in, dlls/msi/msi.c, dlls/msi/msi.rc, dlls/msi/msi_En.rc: Mike McCormack Implement and document MsiLoadString. * dlls/msi/action.c: Mike Hearn Correctly ensure properties set from resolved directory paths are backslash terminated. * dlls/dinput/device.c: Carlos Lozano Fix regression in Fallout game. * dlls/d3d8/device.c, dlls/wined3d/device.c: Carlos Lozano Check that pstream is not null. * dlls/wininet/wininet.spec: Steven Edwards Correct spec entry for FindFirstUrlCacheEntryEx. * tools/widl/typelib.c, tools/widl/typelib_struct.h, tools/widl/write_msft.c: Huw Davies Add VARIANT_BOOL. Fix CURRENCY alignment. A function with a [retval] param has a bit set in the FKCCIC bitfield. Two functions with the same name share the same id. The param names of propput and propputref functions don't go into the typelib. * dlls/user/tests/sysparams.c: Paul Vriens Extra tracing for SPI_GETICONTITLEWRAP. * dlls/msi/appsearch.c: Juan Lang If a full path isn't specified, search across all fixed drives. * programs/winecfg/En.rc, programs/winecfg/driveui.c: Kris Marsh Fixed window height to show all data properly. Cleaned up drives->advanced information visuals. * dlls/kernel/sync.c: Robert Shearman Convert last error from NTSTATUS to a DOS error code in WaitNamedPipe and ConnectNamedPipe. * server/window.c: Robert Shearman Don't overwrite last byte of the window structure as we might not have allocated the memory for it if extrabytes was 0. 2005-02-03 Alexandre Julliard * dlls/commdlg/filedlg.c, dlls/commdlg/filedlg16.c, dlls/commdlg/filedlg31.c, dlls/commdlg/filedlg31.h: Dmitry Timoshkov Make GetOpenFileNameW with an old style open file dialog work with the original OPENFILENAMEW structure, making sure that all changes are passed back to the caller. * dlls/shlwapi/tests/shreg.c: Paul Vriens More verbosity of errors. * dlls/urlmon/sec_mgr.c, dlls/urlmon/umon.c, dlls/urlmon/urlmon_main.c, dlls/urlmon/urlmon_main.h: James Hawkins Properly implement DllCanUnloadNow ref counting. * dlls/kernel/Makefile.in, dlls/kernel/atom.c, dlls/kernel/atom16.c: Eric Pouech Moved 16 bit atom support to dlls/kernel/atom16.c. * dlls/ttydrv/wnd.c, dlls/user/hook.c, dlls/user/message.c, dlls/user/tests/msg.c, dlls/x11drv/window.c, include/wine/server_protocol.h, server/hook.c, server/protocol.def, server/queue.c, server/thread.c, server/trace.c, server/user.h, windows/nonclient.c: Dmitry Timoshkov Add support for winevent hooks. * dlls/ttydrv/wnd.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h, include/wine/server_protocol.h, server/protocol.def, server/trace.c, server/window.c: Properly compute the client area valid rects and pass them to the server in set_window_pos to avoid invalidating areas that remain valid. * dlls/setupapi/devinst.c, dlls/setupapi/setupapi_private.h, dlls/setupapi/setupcab.c: Eric Kohl - Implement SetupDiBuildClassInfoListExA, SetupDiClassGuidsFromNameExA, SetupDiCreateDeviceInfoListExA and SetupDiOpenClassRegKeyExA using MultiByteToUnicode. - Retrieve OS version upon process attach. * tools/widl/parser.l, tools/widl/parser.y, tools/widl/typelib.c, tools/widl/widltypes.h, tools/widl/write_msft.c: Huw Davies Coclass support. * dlls/shlwapi/path.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/tests/path.c: Hans Leidekker Implement and test PathIsValidChar{A,W}. * server/named_pipe.c: Fixed refcount handling (waiting clients must not increase the refcount of the pipe). Converted linked lists to use the standard functions. Small cleanups. * server/main.c, server/request.c: Make sure leaked objects are printed even if a file descriptor is still open. * server/fd.c: Fixed potential crash in fd_dump function. * dlls/kernel/sync.c: Async callback function must be stdcall. * dlls/msi/dialog.c, dlls/msi/msiquery.c: Mike McCormack - implement checkboxes in dialogs - use TextStyle enumeration instead of numbers - fix MSI_IterateRecords to return the correct count * dlls/msi/appsearch.c: Juan Lang Simplify AppSearch error checking. * programs/winecfg/En.rc: Paul van Schayck Clean up about dialog. Remove groupbox, position logo correctly. 2005-02-02 Alexandre Julliard * dlls/ole32/marshal.c: Robert Shearman - Pass the original IID to IMarshal_UnmarshalInterface and query for the requested interface. - Unmarshaling IID_NULL means use the IID the interface was originally marshaled with. * dlls/user/listbox.c, dlls/user/tests/listbox.c: Lauri Tulmin Add test for LB_SELITEMRANGE and make it pass. * include/mmsystem.h: Lauri Tulmin Added some more defines. * tools/widl/parser.y, tools/widl/typelib.c, tools/widl/typelib.h, tools/widl/widltypes.h, tools/widl/write_msft.c: Huw Davies Add support for typedefs. * dlls/setupapi/misc.c, dlls/setupapi/setupapi.spec, include/setupapi.h: Eric Kohl - Implement DoesUserHavePrivilege, EnablePrivilege, IsUserAdmin, MultiByteToUnicode and UnicodeToMultiByte. - Sort prototypes in setupapi.h and a few function in spec. * dlls/wininet/http.c: David McCullough HTTP_HttpSendRequestW was getting invoked with a null verb, default to the GET method. * dlls/msi/dialog.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/package.c, dlls/msi/preview.c: Mike McCormack Add more dialog controls, do something when they're clicked on. * include/msidefs.h: Mike McCormack Add the msidbTextStyleStyleBits enumeration. * dlls/user/tests/win.c, include/win.h, windows/mdi.c, windows/win.c: Dmitry Timoshkov Use the idFirstChild specified in the MDIClient's CLIENTCREATESTRUCT when creating MDI children. Add a test case for the desired behaviour. * dlls/dmscript/dmscript_main.c, dlls/dmscript/dmscript_private.h, dlls/dmscript/script.c, dlls/dmscript/scripttrack.c: James Hawkins Properly implement DllCanUnload ref counting. * dlls/dmime/audiopath.c, dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmime/graph.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/segtriggertrack.c, dlls/dmime/seqtrack.c, dlls/dmime/sysextrack.c, dlls/dmime/tempotrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/tool.c, dlls/dmime/wavetrack.c: James Hawkins Properly implement DllCanUnloadNow ref counting. * dlls/msi/format.c: Aric Stewart Cleanup processing a bit more. Allow for nested keys to work properly. * dlls/msi/appsearch.c: Aric Stewart Fix a copy and paste error, check for a null value and discard unneeded errors. * dlls/msi/cond.y: Mike McCormack MsiEvaluateCondition returns an error when passed NULL as a condition. * dlls/msi/action.c: Aric Stewart Finish up the framework by stubbing out all the remaining Standard actions. A fix to deformat_string so it only returns a null return if you provided a null buffer. 2005-02-01 Alexandre Julliard * dlls/user/user32.spec, include/win.h, windows/win.c: Removed the no longer used WIN_SetExStyle function. * dlls/comctl32/status.c, dlls/user/focus.c, dlls/user/menu.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h, include/winuser.h, windows/winpos.c: Store the "managed" flag as a window property instead of the Wine-specific WS_EX_MANAGED style bit. * dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/urlcache.c, dlls/wininet/wininet.spec, include/wininet.h: Hans Leidekker - Stub implementations for FtpGetFileSize, FtpCommand{A,W}, HttpSendRequestExW, InternetGetLastResponseInfoW, InternetConfirmZoneCrossing{A,W}, InternetDial{A,W}, InternetGoOnline{A,W}, InternetHangUp, CreateMD5SSOHash, InternetClearAllPerSiteCookieDecisions, InternetEnumPerSiteCookieDecision{A,W}, InternetGetCookieEx{A,W}, InternetGetPerSiteCookieDecision{A,W}, InternetSetPerSiteCookieDecision{A,W}, InternetSetCookieEx{A,W}, ResumeSuspendedDownload, RetrieveUrlCacheEntryFileW, UnlockUrlCacheEntryFileW, {Create,Delete}UrlCacheEntryW, CommitUrlCacheEntryW, RetrieveUrlCacheEntryStreamW, FindCloseUrlCache, FindFirstUrlCacheEntryEx{A,W}, FindFirstUrlCacheGroup, FindNextUrlCacheEntry{,Ex}{A,W}, FindNextUrlCacheGroup, SetUrlCacheEntryGroup{A,W}, {Get,Set}UrlCacheGroupAttribute{A,W}, SetUrlCacheConfigInfo{A,W}. - Spec file stubs for new undocumented functions ForceNexusLookup{,ExW}, Ftp{Get,Put}FileEx, HttpCheckDavCompliance, InternetAlgIdToString{A,W}, InternetFortezzaCommand, InternetGetCertByURLA, InternetQueryFortezzaStatus, InternetSecurityProtocolToString{A,W}, InternetSetDialState{A,W}, InternetShowSecurityInfoByURL{A,W}, IsUrlCacheEntryExpired{A,W}, Privacy{Get,Set}ZonePreferenceW, RegisterUrlCacheNotification, UrlZonesDetach. - Use memcpy instead of strncpy in InternetGetLastResponseInfoA. - Add and improve some traces. - Fix my own coding style in InternetTimeToSystemTimeW. - Fix a couple of signedness warnings. * tools/widl/parser.l, tools/widl/parser.y, tools/widl/typelib_struct.h, tools/widl/widltypes.h, tools/widl/write_msft.c: Huw Davies Add support for dispinterfaces (slightly hacked because we force the import of stdole2.tlb). Add propputref attribute. * dlls/user/dde/client.c, dlls/user/dde/dde_private.h, dlls/user/dde/misc.c, dlls/user/dde/server.c: Dmitry Timoshkov Handle CBR_BLOCK in EXECUTE and ADVISE DDE transactions. * dlls/dsound/dsound.c: Robert Reif Fix primary buffer memory leak. * dlls/user/sysparams.c: Justin Chevrier - SPI_GETWORKAREA: Read work area information from system metrics initially only and not from a WINE specific registry entry. - SPI_SETWORKAREA: Don't save work area information to registry. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/custom.c: Aric Stewart Continued work to simplify the ProcessAction call, also split it into a ProcessAction and ProcessUIAction for future dialog box work. Also fix a bug in deformat_string where i was not freeing the created record. * Make.rules.in: Don't clean all tlb files, only the ones we generated. * dlls/dxdiagn/container.c, dlls/dxdiagn/dxdiag_main.c, dlls/dxdiagn/dxdiag_private.h, dlls/dxdiagn/provider.c: James Hawkins Properly implement DllCanUnloadNow ref counting. * dlls/msi/Makefile.in, dlls/msi/action.c, dlls/msi/action.h, dlls/msi/appsearch.c: Juan Lang Partially implement AppSearch action. * dlls/quartz/Makefile.in, dlls/quartz/acmwrapper.c, dlls/quartz/avidec.c, dlls/quartz/main.c, dlls/quartz/quartz_private.h, dlls/quartz/regsvr.c: Christian Costa Added ACM Wrapper filter. Cleaned up AVIDec. * dlls/dswave/dswave.c, dlls/dswave/dswave_main.c, dlls/dswave/dswave_private.h: James Hawkins Properly implement DllCanUnloadNow ref counting. * documentation/fonts.sgml: Tom Wickline Fix a broken link. * dlls/msi/msi.spec, dlls/msi/suminfo.c, include/msi.h: Aric Stewart Added some more suminfo stubs. * dlls/ole32/compobj.c, dlls/ole32/marshal.c, dlls/ole32/ole32_main.h, dlls/ole32/tests/marshal.c: Robert Shearman - Add code for destroying the thread-local storage data, but don't use it yet. - Don't release apartment on changing modes because we didn't add a reference anywhere. - Quieten the RPC_E_DISCONNECTED error message as it is an expected return code. - Treat IID_NULL the same as IID_IUnknown. - Make tests compile on Win95 again. - Fix copy+paste error where the test failure should be from the CoUnmarshalInterface function. 2005-01-31 Alexandre Julliard * dlls/msi/format.c: Aric Stewart A reworking of format.c to remove the recursion, clean things up and stabilize behavior to match windows. * dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_main.c, dlls/dmband/dmband_private.h, dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/dmsynth_private.h, dlls/dmsynth/synth.c, dlls/dmsynth/synthsink.c: James Hawkins Properly implement DllCanUnloadNow ref counting. * dlls/user/user32.spec, include/win.h, windows/win.c: WIN_ListParents no longer needs to be exported, make it static. * dlls/d3d8/directx.c, dlls/wined3d/directx.c, dlls/x11drv/mouse.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h: Only create an X window for top-level windows, not for child windows. Get rid of the X client window too, it's no longer needed. * dlls/dbghelp/elf_module.c: Silence a noisy FIXME. * tools/widl/write_msft.c: Huw Davies Dynamically allocate the type data storage. Split the function and variable type data into two - this will be needed for dispinterfaces. * dlls/quartz/Makefile.in, dlls/quartz/avidec.c, dlls/quartz/regsvr.c, dlls/quartz/transform.c, dlls/quartz/transform.h: Christian Costa Added transform filter template and made AVIDec use it. Fixed memory leak in register_filters function. * dlls/kernel/change.c, dlls/kernel/kernel32.spec: Hans Leidekker Stub implementation for ReadDirectoryChangesW. * dlls/msi/action.c: Aric Stewart Eliminate the giant if.. else if block from ACTION_ProcessAction in favor of a table of handlers. Return code of the install should not depend on the return code of the final action. Update component installed states as they are installed so that conditions based on component states are at least a little more correct. Add icon and argument when regestering clsids. Add a stub for ResolveSource because we do that work just not in ResolveSource like we should. When quering a Component state return the correct state. * programs/winedbg/info.c: Mike Hearn Show window owner thread in winedbg. * dlls/dbghelp/symbol.c, include/dbghelp.h, programs/winedbg/break.c, programs/winedbg/dbg.y, programs/winedbg/debug.l, programs/winedbg/memory.c, programs/winedbg/source.c, programs/winedbg/stack.c, programs/winedbg/symbol.c, programs/winedbg/types.c: Eric Pouech Cleanup of dbghelp.h (and a couple of definition fixes). The displacements (in most of the functions) are not optional. * dlls/oleaut32/olefont.c, dlls/oleaut32/typelib.c: Vincent Béron Remove message telling users to copy native stdole32.tlb over as we now provide it. Better trace in LoadTypeLib. Change debug messages type to reflect we provide stdole32.tlb. * include/Makefile.in, include/msidefs.h: Mike McCormack Add the msidefs.h header. * documentation/faq.sgml, documentation/introduction.sgml: Tom Wickline Remove outdated information from the introduction page and the FAQ. * include/dxdiag.h: Troy Rollo Correct errors in the macros for two DxDiag method calls. * dlls/opengl32/wgl_ext.c: Troy Rollo Add stubs for wglSwapIntervalEXT & wglGetSwapIntervalEXT. * dlls/oleaut32/safearray.c, dlls/oleaut32/tests/safearray.c: Rein Klazes SafeArrayDestroy() returns success when called with a NULL pointer. Added to the test cases. * dlls/msi/record.c, dlls/msi/tests/record.c: Aric Stewart Setting a record to an empty string is the same as making it null. * windows/dce.c: Dimitrie O. Paun Replace a DPRINTF with TRACE. * tools/widl/write_msft.c: Vincent Béron Check that there are some methods to iterate through before iterating through them. * dlls/shlwapi/tests/shreg.c: Paul Vriens - new test - changed test to reflect windows results * dlls/ole32/tests/marshal.c: Robert Shearman Remove test that fails on Win98 and is not useful. * dlls/dbghelp/stabs.c: Eric Pouech Various fixes for C++ class parsing (nesting, templates) (from test cases provided by Michael Lin). * dlls/rsaenh/rsaenh.c, dlls/rsaenh/tests/rsaenh.c: Michael Jung Moved PKCS1 #2 un-/padding from Import-/ExportKey to helper functions. Support RSA en-/decryption via CPEncrypt and CPDecrypt. Added test case for RSA en-/decryption. 2005-01-28 Alexandre Julliard * dlls/x11drv/desktop.c, dlls/x11drv/event.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h, include/win.h: Use an X context to associated the x11drv private window data to a window handle instead of accessing the WND structure directly. * dlls/user/painting.c: Fixed bug that caused the whole window to be repainted by RedrawWindow when the passed region was empty. * dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/propset.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/audio.c, dlls/winmm/wineoss/audio.c, include/dsdriver.h: Robert Reif Fix structure member name to match windows headers and fix up all uses. Nameless struct fix for dsound/propset.c to compile on both windows and wine. * dlls/ole32/compobj.c: Robert Shearman Release the client security objects when no longer needed (reported by Mike McCormack). * dlls/comctl32/toolbar.c: Thomas Weidenmueller When a toolbar doesn't have the TBSTYLE_FLAT style redrawing the buttons when moving the mouse is not necessary. * Make.rules.in, configure, configure.ac, dlls/Makefile.in, dlls/stdole32.tlb/.cvsignore, dlls/stdole32.tlb/Makefile.in, dlls/stdole32.tlb/rsrc.rc, dlls/stdole32.tlb/std_ole_v1.idl, dlls/stdole32.tlb/stdole32.tlb.spec: Huw Davies Added stdole32.tlb. * dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/query.c, dlls/d3d9/texture.c, dlls/d3d9/vertexdeclaration.c: Raphael Junqueira - add vertex Declaration support (using wined3d) - minimal impl for SetRenderTarget and CreateQuery (needed to get some samples working) - remove no longer needed #undef GL_VERSION_1_4 * dlls/commdlg/cdlg32.c, dlls/kernel/tests/comm.c, dlls/kernel/tests/console.c, dlls/lzexpand/tests/lzexpand_main.c, loader/preloader.c: Rémi Assailly char -> const char fixes. * tools/wrc/parser.y: Avoid assertion failure when loading an empty data file. * tools/widl/typelib.c: Huw Davies Structs with ptrs are also VT_USERDEFINED. * dlls/msi/Makefile.in, dlls/msi/dialog.c, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/package.c, dlls/msi/preview.c: Mike McCormack Implement MsiPreviewDialog. * dlls/ole32/compobj.c, dlls/ole32/marshal.c, dlls/ole32/rpc.c, dlls/ole32/tests/marshal.c, dlls/ole32/tests/moniker.c: Robert Shearman - More tests. - Change return code of CoGetPSClsid to match test result. - Do a slight hack to make IRemUnknown proxies be added after the proxy that uses them to stop them being used after they are destroyed. - Fix multiple local server connections. * dlls/ntdll/nt.c, include/winternl.h: Rein Klazes In NtQuerySystemInformation, handle request for information class 1, now named SystemCpuInformation. Return some dummy data for now. * configure, configure.ac, dlls/Makefile.in, dlls/sensapi/.cvsignore, dlls/sensapi/Makefile.in, dlls/sensapi/sensapi.c, dlls/sensapi/sensapi.spec, include/Makefile.in, include/sensapi.h: Steven Edwards Add a stub dll for the System Event Notification Service. * tools/winegcc/Makefile.in, tools/winegcc/winegcc.man: Dimitrie O. Paun Added a new man page for winegcc. * dlls/wined3d/vertexdeclaration.c: Raphael Junqueira - convert D3D8 VertexDecl to D3D9 format (D3DVERTEXELEMENT9 vector) while parsing - display result on traces * dlls/wineps/truetype.c: Huw Davies Add a few missing RegCloseKey calls. * dlls/user/lstr.c: Tony Lambregts Fix bug in CharPrevExA(). * dlls/rsaenh/tests/rsaenh.c: Michael Jung Added a test case for hashing with schannel mac keys. * dlls/kernel/cpu.c: Oliver Stieber Fill in the information in VendorIdentifier and make a better effort at filling in Identifier in the registry key. * include/msiquery.h: Juan Lang Remove duplicate definition. * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Robert Shearman - Implement CoSetProxyBlanket, CoQueryProxyBlanket and CoCopyProxy. - Update todo list. * dlls/msvcrt/scanf.h, dlls/msvcrt/tests/scanf.c: Francois Gouget Fix handling of EOF for the '%c' and '%C' cases in scanf(). Add conformance tests to verify the behavior of '%c'. Improve some of the test's error messages. * dlls/x11drv/keyboard.c: Oliver Stieber Send a scancode through for the 5 key when numlock isn't on. 2005-01-27 Alexandre Julliard * dlls/advapi32/tests/registry.c: Don't make the test key volatile, that can break other tests. * dlls/user/hook.c, dlls/user/tests/msg.c, server/hook.c, server/trace.c: Dmitry Timoshkov Add more tests for old style hooks and winevent hooks, make them pass under Wine. * dlls/msi/action.c, dlls/msi/action.h, dlls/msi/msipriv.h: Aric Stewart Enable the updating of Feature and thus the resulting component states. Run the end of install actions for suspend and user exit states as well. Start putting in place a currently running state for future ui use. * dlls/msi/package.c: Mike McCormack - implement MsiOpenPackageEx, and forward MsiOpenPackage there - make a MSI_CreatePackage function and use it in MSI_OpenPackage - move MsiOpenPackageA down with the rest of the API functions * dlls/ntdll/time.c: Troy Rollo Add TZ_INFO entry to match (incorrect) Australian Eastern Daylight Time information given by some systems. * dlls/oleaut32/tmarshal.c: Mike Hearn - Change some FIXMEs to ERRs to reflect the fact that nothing needs fixing. - Fix some memory leaks on error paths in _marshal_interface. * dlls/user/tests/sysparams.c: Paul Vriens Check for availability of SPI_GETICONTITLEWRAP. * windows/win.c, windows/winpos.c: Avoid a few more uses of WIN_FindWndPtr. * include/.cvsignore, include/Makefile.in, include/sensevts.idl: Mike McCormack Added idl file for the System Event Notifcation Services API (SENSAPI). * dlls/shdocvw/classinfo.c, dlls/shdocvw/events.c, dlls/shdocvw/factory.c, dlls/shdocvw/misc.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/persist.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/shdocvw_main.c, dlls/shdocvw/webbrowser.c: James Hawkins Properly implement DllCanUnloadNow ref counting. Make sure the mozilla control is ready to unload as well. * dlls/msi/tests/db.c: Mike McCormack Test different types of dodgy queries. * dlls/msi/custom.c: Aric Stewart Implement custom action type 19, Halt install and display error message. * dlls/msi/package.c: Aric Stewart MsiGetProperty does not return any error on missing properties. * dlls/ddraw/ddraw/main.c: Raphael Junqueira Set default video memory to 64Mb (was 16Mb) as many d3d9 demos use d3d7 code to get available video memory size (ex ConfigSystem.exe on d3d9 sdk). * dlls/dxdiagn/Makefile.in, dlls/dxdiagn/container.c, dlls/dxdiagn/dxdiag_private.h, dlls/dxdiagn/provider.c: Raphael Junqueira - some fixes on sub containers support - add support for properties (VARIANT) - hard coded simple init for root container (getting simple dx9 version checks working) * dlls/kernel/lcformat.c: Vincent Béron Change UTF-8 name back to ISO-8859-1. * dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/vertexdeclaration.c, include/wine/wined3d_interface.h: Raphael Junqueira - fix typo in wined3d_interface.h - add needed defines in wined3d_interface.h - add IWineD3DVertexDeclarationImpl_ParseToken9 for debug traces - fix ParseDeclaration9 - limit flood of traces (single shot traces) * dlls/ole32/marshal.c, dlls/ole32/tests/marshal.c: Robert Shearman Give IUnknown its own ifstub to fix ref-counting and ipid storage issues. 2005-01-26 Alexandre Julliard * dlls/comctl32/listview.c, dlls/comctl32/toolbar.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplobby.c, dlls/msi/action.c, dlls/msi/custom.c, dlls/msi/format.c, dlls/msi/table.c, dlls/rsaenh/mpi.c, dlls/shell32/shellord.c, dlls/wininet/cookie.c, dlls/wininet/http.c, documentation/ole.sgml, programs/winedbg/db_disasm.c, tools/winapi/make_parser.pm: Francois Gouget Assorted spelling fixes. * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c, dlls/ole32/tests/marshal.c: Robert Shearman - Make proxy manager use IMultiQI instead of IInternalUnknown as tests show that IInternalUnknown isn't exposed. - Implement IMultiQI on top of IRemUnknown calls. - Silence some fixmes that occur during tests and don't give us any useful information. - Fix typo in class factory proxy that caused us to use the wrong offset into the CFProxy structure, causing us to not call the outer_unknown properly. * dlls/wined3d/directx.c, dlls/wined3d/drawprim.c, include/wine/wined3d_gl.h: Raphael Junqueira - a very basic blending support on fast drawing path (to have better performances on last games) - some defines for VBO support * dlls/wined3d/device.c, dlls/wined3d/vertexdeclaration.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Raphael Junqueira - VertexDeclaration device APIs - D3D9 declarations parsing - a little better APIs (trying to avoid compile problems) * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c: Robert Shearman - Use InterlockedIncrement for the ipid counter instead of a critical section (suggested by Mike Hearn). - Remove a line added by a bad merge. - Implement RemUnkStub_Disconnect. - Remove all of the RPC disconnect code. * dlls/ole32/marshal.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c, dlls/ole32/tests/marshal.c: Robert Shearman - Implement IRemUnknown. - Use IRemUnknown for life-cycle management instead of the current hacks. * include/winternl.h, dlls/kernel/cpu.c, dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec: Rein Klazes Get rid of the rdtsc cpu instruction method for calculation of the performance counter. Put the calculation (based on gettimeofday) in NtQueryPerformanceCounter() and use that in the kernel functions. * dlls/dmscript/script.c: Francois Gouget Remove unneeded NULL cast. * tools/widl/typelib_struct.h, tools/widl/write_msft.c: Huw Davies When adding an interface, midl adds the inherited interface first unless the inherited interface doesn't itself inherit. Fix the id, sizevft and datatype2 fields for interfaces that inherit. Prevent a crash if the typelib is empty. Clarify a few more entries on typelib_struct.h * dlls/msi/record.c, dlls/msi/tests/record.c: Mike McCormack Fix MsiRecordSetString for NULL strings and update test case. * dlls/x11drv/xrender.c: Glenn Wurster Disable antialiasing of fonts while working in a palette. * dlls/setupapi/Nl.rc, programs/notepad/Nl.rc, programs/progman/Nl.rc, programs/regedit/Nl.rc, programs/start/Nl.rc, programs/winefile/Nl.rc, programs/winhelp/Nl.rc: Hans Leidekker Don't use utf8 in rc files. * dlls/oleaut32/tmarshal.c: Mike Hearn Fix a typo, propagate errors better from inside the typelib marshaller. * dlls/gdi/metafile.c: Huw Davies GetMetaFile checks both the version and the header size when it tries to load a metafile. Powerpoint XP depends on this. * dlls/dmusic/buffer.c, dlls/dmusic/clock.c, dlls/dmusic/collection.c, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/download.c, dlls/dmusic/downloadedinstrument.c, dlls/dmusic/instrument.c, dlls/dmusic/port.c, dlls/dmusic/portdownload.c, dlls/dmusic/thru.c: James Hawkins Properly implement DllCanUnloadNow ref counting. * dlls/msi/msi.c, dlls/msi/msi.spec, dlls/msi/msipriv.h, dlls/msi/registry.c: Aric Stewart Added a few more stub implementations. * tools/widl/parser.l, tools/widl/parser.y, tools/widl/proxy.c, tools/widl/typelib.c, tools/widl/widl.c, tools/widl/widl.h, tools/widl/widl.man: Huw Davies Fix typelib only option. Make -t and -h options inclusive. 2005-01-25 Alexandre Julliard * dlls/msi/Makefile.in, dlls/msi/action.c, dlls/msi/action.h, dlls/msi/custom.c, dlls/msi/format.c, dlls/msi/msipriv.h, dlls/msi/package.c, dlls/msi/record.c: Aric Stewart - action.c is getting too big, so split out all the handling of CustomActions into custom.c. Cleaned up a lot of the handling of custom actions including scripting actions and processing return codes. - Mike McCormack pointed out that MsiFormatRecord is basically the same as internal function deformat_string. So broke deformat_string out and updated it to function as MsiFormatRecord and implemented MsiFormatRecord. - A number of random fixes to action.c including properly calculating the length for the LocalPackage name, not forcing a reboot when really we should just return ERROR_INSTALL_SUSPEND and handling REG_MULTI_SZ now that we can deformat the properly. * programs/winhelp/hlp2sgml.c, programs/winhelp/hlpfile.c, programs/winhelp/macro.lex.l, programs/winhelp/winhelp.c: Ken Belleau - Used wine_dbgstr_a to prevent an overflow. - Improved support to call macros with a variable number of parameters. - Put a check to prevent an out of bounds access. * dlls/dinput/joystick_linux.c, dlls/dinput/mouse.c: Robert Reif Copy data structures one at a time using supplied size. * tools/widl/parser.y, tools/widl/typelib.c, tools/widl/typelib.h, tools/widl/widltypes.h, tools/widl/write_msft.c: Huw Davies Add enum support. Another attempt at getting the alignment bits correct. * dlls/odbc32/odbc32.spec, dlls/odbc32/proxyodbc.c, dlls/odbc32/proxyodbc.h: Alex Villacís Lasso Implemented Unicode proxy for ODBC. * dlls/ole32/regsvr.c, dlls/oleaut32/regsvr.c: Robert Shearman - Move OLE automation interface registration to oleaut32. - Add IRemUnknown to list of interfaces to register. * dlls/ole32/oleproxy.c: Robert Shearman Proxies/stubs for IRemUnknown methods, based on code written by Ove Kåven. * tools/widl/write_msft.c: Huw Davies Add encoding for VT_R8. Bug fix: Initialise child_size. * dlls/setupapi/misc.c, dlls/setupapi/setupapi.spec: Eric Kohl Implement DuplicateString and QueryRegistryValue. * dlls/oleaut32/variant.c: Alex Villacís Lasso Initialize temporary variants before calling VariantChangeTypeEx. * dlls/wininet/http.c: Maxime Bellengé Replace '\' with '/' in the URL in HTTP_HttpSendRequestW. * programs/winepath/winepath.c: Dmitry Timoshkov Convert programs/winepath to unicode, print the output string using Unix locale. * dlls/msi/msi.spec, dlls/msi/registry.c, dlls/msi/tests/db.c: Mike McCormack Implement, test and document MsiDecomposeDescriptor. * tools/widl/parser.y: Huw Davies unsigned char support. * dlls/user/tests/msg.c: Added a couple of SetWindowPos tests. * dlls/user/tests/msg.c, dlls/x11drv/winpos.c: Rein Klazes Make ShowWindow(...,SW_SHOWNA) also work on already visible windows with some conformance tests. * dlls/msi/action.c: Aric Stewart Use the new registry functions in registry.c. Do not force a reboot, just return ERROR_INSTALL_SUSPEND and write some keys to the registry. * dlls/msi/Makefile.in, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/registry.c: Aric Stewart Move the guid squishing functions out of msi.c and make a new registry.c file. Also clean up all the various registry keys we need to open and create to this module and modify the functions for msi.c to call these functions. * dlls/user/scroll.c: Robert Shearman Add a summary line for several scrollbar functions. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c: Robert Shearman - Generate machine-local IPIDs. - Make pipes be uniquely identified only by their IPID. * tools/widl/write_msft.c: Huw Davies Add interface inheritance. * dlls/devenum/createdevenum.c: Christian Costa Fixed pin direction when registering audio input device. * dlls/shlwapi/tests/string.c: Hans Leidekker StrIsIntlEqual and IntlStrEqWorker may be absent. 2005-01-24 Alexandre Julliard * configure, configure.ac, dlls/Makefile.in, dlls/wtsapi32/.cvsignore, dlls/wtsapi32/Makefile.in, dlls/wtsapi32/wtsapi32.c, dlls/wtsapi32/wtsapi32.spec, include/Makefile.in, include/wtsapi32.h: Ulrich Czekalla Added WTSAPI32.DLL. * dlls/advapi32/service.c: Mike McCormack Convert services to use pipes for RPC instead of shared memory. * dlls/dmstyle/auditiontrack.c, dlls/dmstyle/chordtrack.c, dlls/dmstyle/commandtrack.c, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/motiftrack.c, dlls/dmstyle/mutetrack.c, dlls/dmstyle/style.c, dlls/dmstyle/styletrack.c: James Hawkins Properly implement DllCanUnloadNow ref counting. * dlls/x11drv/xrender.c: Glenn Wurster Disable antialiasing if the font dictates it. * dlls/x11drv/xrender.c: Glenn Wurster Split caching of antialiased and non-antialiased glyphs. * configure, configure.ac, dlls/Makefile.in, dlls/cryptdll/.cvsignore, dlls/cryptdll/Makefile.in, dlls/cryptdll/cryptdll.c, dlls/cryptdll/cryptdll.spec: Ulrich Czekalla Add stub version of cryptdll.dll. * dlls/gdi/freetype.c: Troy Rollo Don't refuse to process VDMX ratio entries with bCharSet == 0. These entries are at least as useful as those with bCharSet == 1. Add comment containing URL of documentation for VDMX records. * dlls/comctl32/toolbar.c: Tinus Properly allow removing toolbar bitmaps by changing it into 0. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Put Brazilian ABNT2 keyboard layouts in line with appropriate virtual keyboard maps. * dlls/x11drv/wintab.c: Robert North <7ownq0k402@sneakemail.com> Bring wintab in line with Jeremy's X11 event timing patches again. * dlls/x11drv/wintab.c: Robert North <7ownq0k402@sneakemail.com> Add the rule that inverted cursor has -ve altitude, matching behaviour on Windows wacom tablets. * dlls/x11drv/wintab.c: Robert North <7ownq0k402@sneakemail.com> Packets from eraser cursors are marked as inverted, matching behavior on Windows Wacom tablets. * dlls/wintab32/context.c: Robert North <7ownq0k402@sneakemail.com> WTEnable, when called to disable tablet context, clears context queue, as per wintab spec. * dlls/dsound/primary.c: Robert Reif Don't allow other threads to access the primary buffer while the format is being changed. * dlls/x11drv/wintab.c: Robert North <7ownq0k402@sneakemail.com> - In wintab's default system context, change context options to match Wacom tablet in windows. - Change device orientation unit definition to angular. - Use Macros where appropriate to define cursor and device defaults. * dlls/wintab32/context.c: Robert North <7ownq0k402@sneakemail.com> - Correct overflow 1 message too early. - Overflow now going onto message queue. - Overflow state correctly or-ed with other packet status. * dlls/setupapi/Makefile.in, dlls/setupapi/misc.c, dlls/setupapi/setupapi.spec: Eric Kohl Implement MyFree, MyMalloc and MyRealloc. * tools/widl/write_msft.c: Huw Davies Add referenced types that aren't already in the typelib. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/regsvr.c, dlls/dsound/sound3d.c: Robert Reif Remove unused includes. * dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/package.c: Avoid unnecessary run-time initializations. * dlls/rsaenh/rsaenh.c, dlls/rsaenh/tests/rsaenh.c: Michael Jung Support for TLS1 pseudo random function. Some helper functions for DATA_BLOB's. Computing TLS1 master secret from the pre-master secret. Deriving the master hash from the master secret. Deriving TLS1 MAC and encryption keys from the master hash. Tests for most of the above. * dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec, include/winternl.h: Ivan Leo Puoti Added NtLoadDriver and NtUnloadDriver stubs. * dlls/d3d9/basetexture.c, dlls/d3d9/cubetexture.c, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/indexbuffer.c, dlls/d3d9/pixelshader.c, dlls/d3d9/query.c, dlls/d3d9/resource.c, dlls/d3d9/stateblock.c, dlls/d3d9/surface.c, dlls/d3d9/swapchain.c, dlls/d3d9/texture.c, dlls/d3d9/vertexbuffer.c, dlls/d3d9/vertexdeclaration.c, dlls/d3d9/vertexshader.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/indexbuffer.c, dlls/d3d8/resource.c, dlls/d3d8/surface.c, dlls/d3d8/swapchain.c, dlls/d3d8/texture.c, dlls/d3d8/vertexbuffer.c, dlls/d3d8/volume.c, dlls/d3d8/volumetexture.c: Paul Vriens - use Interlocked* functions in AddRef and Release. - store the result of the Interlocked functions and use only this. * documentation/faq.sgml: Tony Lambregts Add missing /'s to urls http://www.cygwin.com and http://www.mingw.org. * dlls/user/sysparams.c: Bernd Fuhrmann Added fixme macros in SystemParametersInfoW for several action numbers that are yet unimplemented. * tools/widl/write_msft.c: Huw Davies Fix handling of void. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c: Robert Reif Use Windows memory functions. * dlls/wintab32/context.c, dlls/wintab32/wintab32.c, dlls/x11drv/wintab.c: Robert North <7ownq0k402@sneakemail.com> - Don't post messages on Wine message queue, if tablet context flags posting are disabled. - When posting messages on Wine message queue, use message base stored in tablet context, not the default message base. - Ensure that X11 Proximity events put messages onto Wintab message queue. * dlls/d3drm/version.rc, include/Makefile.in, include/d3drm.h: Peter Berg Larsen Added a simple d3drm.h header. Corrected a copy/paste typo from d3dim. * dlls/dmstyle/auditiontrack.c, dlls/dmstyle/chordtrack.c, dlls/dmstyle/commandtrack.c, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/motiftrack.c, dlls/dmstyle/mutetrack.c, dlls/dmstyle/style.c, dlls/dmstyle/styletrack.c, dlls/dmscript/dmscript_main.c, dlls/dmscript/script.c, dlls/dmscript/scripttrack.c: Paul Vriens - use Interlocked* functions in AddRef and Release. - store the result of the Interlocked functions and use only this. * dlls/commdlg/cdlg_Es.rc: José Manuel Ferrer Ortiz Updated Spanish resources. * dlls/rsaenh/implglue.c: Michael Jung Removed another check for valid'ness of algid. It's redundant. * dlls/d3d8/shader.c, dlls/dinput/dinput_main.c, dlls/dinput/joystick_linux.c, dlls/oleaut32/tests/vartest.c: Rémi Assailly char -> const char fixes. * include/wincrypt.h: Michael Jung Added CRYPT_SERVER define. * tools/widl/write_msft.c: Huw Davies Add support for hidden and restricted function attributes. Add support for odl interface attribute. * dlls/ntdll/heap.c: Dmitry Timoshkov Make HeapFree(NULL) case faster by retrieving heap pointer after the memory block pointer test. * dlls/dsound/dsound.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c: Robert Reif Fixed memory leak in mixer code. * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg_En.rc, dlls/commdlg/printdlg.c: Robert Shearman - Draw a representation of a document in the page setup dialog. - Change some FIXME's to TRACE's because everything we need is implemented and they fire for ones that we don't need to implement. * dlls/ntdll/virtual.c: Gerald Pfeifer Fix format string in NtQueryVirtualMemory(). * dlls/msi/package.c: Aric Stewart The new Insert fixes now properly require ?,? instead of just ? for the Insert call. This fix modifies the MSI_SetProperty query to be correct. * dlls/msi/suminfo.c: Aric Stewart An implementation of MsiSummaryInfoGetPropertyW based off of MsiSummaryInfoGetPropertyA. * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c: Robert Shearman - Add a new flag SORFP_NOLIFETIMEMGMT to tell the proxy manager not to call any IRemUnknown functions. - Move the low-level unmarshaling code into a new function, unmarshal_object, so that it can be easily reused for unmarshaling IRemUnknown. * dlls/x11drv/wintab.c: Robert North <7ownq0k402@sneakemail.com> Generate Wintab packets for XInput button up/down events. * dlls/msi/msi.c: Mike McCormack Indentation and style cleanup. 2005-01-21 Alexandre Julliard * dlls/user/tests/msg.c, dlls/x11drv/winpos.c: Tweak SetWindowPos flags handling to make a few more of the messaging tests pass. * tools/widl/write_msft.c: Huw Davies Bit 0x0200 always appears to be set in the typeinfo's typekind/alignment member. * windows/winpos.c: Max tracking size in WM_GETMINMAXINFO should take into account the window frame. * tools/widl/write_msft.c: Huw Davies [local] functions should not be written to the typelib. * dlls/msi/action.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c: Mike McCormack Move OpenQuery into msiquery.c and make it non-static. * dlls/comctl32/status.c: Gunnar Dalsnes Ge van Geldorp STATUSBAR_SetTextT: - ntext wasn't freed on return if text was unicode - part->text was always freed, but if the previous style was SBT_OWNERDRAW, part->text would contain 32bit data - free old text if new style is SBT_OWNERDRAW but old style wasn't * dlls/shlwapi/tests/shreg.c: Paul Vriens - More verbose output of errors. - Bail out if first test fails (produce one error only). * dlls/ttydrv/wnd.c, dlls/user/scroll.c, dlls/user/user32.spec, dlls/x11drv/window.c, dlls/x11drv/winpos.c, include/win.h, windows/defwnd.c, windows/win.c: Make WIN_SetStyle more thread-safe by specifying the bits to change instead of the new value. * tools/widl/proxy.c: Rémi Assailly Small char -> const char fix. * dlls/d3dx8/d3dxbuffer.c, dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_main.c: Paul Vriens - Use Interlocked* functions in AddRef and Release. - Store the result of the Interlocked functions and use only this. * dlls/msi/Makefile.in, dlls/msi/msi.spec, dlls/msi/msipriv.h, dlls/msi/preview.c: Mike McCormack Added stub implementations for MsiPreviewDialog and MsiPreviewBillboard. * dlls/msi/msiquery.c: Mike McCormack Lock record in MsiViewExecute, move stubs to end. * dlls/shell32/shlview.c: Mike McCormack Implement GetAdvise and SetAdvise. * include/ntsecapi.h: Juan Lang Added some definitions. * dlls/ole32/rpc.c: Mike Hearn Various formatting/style changes. * programs/winetest/Makefile.in: Stefan Leichter Include new tests. * dlls/quartz/regsvr.c: Mike Hearn Fix heap corruption in quartz server registration, add some whitespace, break out of loop if out of memory. 2005-01-20 Alexandre Julliard * dlls/user/sysparams.c, dlls/user/tests/sysparams.c: Justin Chevrier - Implemented SPI_SETICONMETRICS. - Fixed SPI_GETICONTITLELOGFONT to only return values retrieved from win.ini on first call and return a cached version in subsequent calls. - Created unit test for SPI_{GET,SET}ICONMETRICS. * dlls/msi/insert.c, dlls/msi/sql.y, dlls/msi/tests/db.c: Mike McCormack Fix and test inserting records. * dlls/x11drv/event.c, dlls/x11drv/window.c, dlls/x11drv/x11drv.h, dlls/x11drv/xfont.c: Rémi Assailly Added missing declarations. * dlls/msi/handle.c, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c: Mike McCormack Fix refcounting, use Interlocked functions. * tools/widl/parser.y: Huw Davies Don't set ATTR_IN or ATTR_OUT by default - this essentially reverts rev. 1.21. The proxy code must explicitly add these if they're needed. * tools/widl/write_msft.c: Huw Davies Better guid hash. * dlls/user/menu.c, dlls/user/scroll.c, dlls/x11drv/event.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, windows/dialog.c, windows/mdi.c, windows/nonclient.c, windows/win.c, windows/winpos.c: Replace a number of calls to WIN_FindWndPtr by WIN_GetPtr. * configure, configure.ac, dlls/advpack/Makefile.in, dlls/advpack/advpack.c, dlls/advpack/advpack.spec, dlls/advpack/tests/.cvsignore, dlls/advpack/tests/Makefile.in, dlls/advpack/tests/advpack.c, include/advpub.h: Robert Reif Added stubs for NeedRebootInit and NeedReboot. Added implementations for GetVersionFromFile and GetVersionFromFileEx. Added test for GetVersionFromFile. * dlls/ntdll/virtual.c, dlls/psapi/psapi.spec, dlls/psapi/psapi_main.c, include/psapi.h, include/winternl.h: Hans Leidekker Stub implementations for EnumPageFiles{A,W}, GetProcessImageFileName{A,W}. Implement GetPerformanceInfo, GetProcessMemoryInfo on top of NtQueryInformationProcess and GetWsChanges, QueryWorkingSet{,Ex} on top of NtQueryVirtualMemory. * dlls/user/misc.c, dlls/user/user32.spec: Tanabe Hiroshi Added stubs for SendIMEMessageEx[A,W]. * dlls/msi/table.c: Mike McCormack Fix a bug caused by freeing memory too soon in the table code. * tools/widl/write_msft.c: Huw Davies MIDL adds two sets of custom data to the library: one is a timestamp and the second is MIDL's version number. * dlls/commdlg/cdlg_Ru.rc: Dmitry Timoshkov Correct coordinates of a couple of controls. * include/msiquery.h: Mike McCormack Declare the preview functions. * dlls/d3dxof/d3dxof.c, dlls/d3dxof/d3dxof_private.h: Paul Vriens - Use Interlocked* functions in AddRef and Release. - Store the result of the Interlocked functions and use only this. * dlls/ntdll/time.c: Tony Lambregts Added time zone information for SAMT (Samara Standard Time). * dlls/ntdll/sec.c: Ulrich Czekalla ACL fixes and cleanups. * dlls/cfgmgr32/cfgmgr32.spec, dlls/cfgmgr32/main.c: Added some stub implementations. * dlls/msi/action.c, dlls/msi/cond.y, dlls/msi/distinct.c, dlls/msi/msi.c, dlls/msi/order.c, dlls/msi/package.c, dlls/msi/string.c, dlls/msi/suminfo.c, dlls/msi/table.c, dlls/msi/where.c: Michael Stefaniuc Do not check for non NULL pointer before HeapFree'ing it. It's redundant. * dlls/ole32/compobj.c, dlls/ole32/marshal.c: Robert Shearman - Consolidate more stub creation details into register_ifstub. - Replace the current wine_marshal_id structure with STDOBJREF for the on-the-wire format. * dlls/netapi32/netapi32.spec, dlls/netapi32/wksta.c, include/Makefile.in, include/lm.h, include/lmjoin.h: Ulrich Czekalla Added stub implementation of NetGetJoinInformation. 2005-01-19 Alexandre Julliard * dlls/kernel/locale.c, dlls/kernel/nls/ukr.nls, dlls/mlang/mlang.c, dlls/x11drv/keyboard.c, dlls/x11drv/xfont.c, libs/unicode/Makefile.in, libs/unicode/c_21866.c, libs/unicode/cpmap.pl, libs/unicode/cptable.c: Oleh R. Nykyforchyn Ukrainian codepage 21866 added and respective files corrected. Two keyboard layouts (for Ukrainian and Russian) added. * include/wine/wined3d_interface.h: Michael Stefaniuc Hack to fix the compile. * windows/win.c: Ulrich Czekalla Handle case when only height is set to CW_USEDEFAULT. * documentation/winedev-coding.sgml: Bill Medland Trivial language corrections to the Wine Developer's Guide coding section. * dlls/user/edit.c: Lauri Tulmin Reposition caret after window resize. * dlls/wined3d/Makefile.in, dlls/wined3d/vertexdeclaration.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Raphael Junqueira Begin support of VertexDeclaration on wined3d using d3d8 code base (handling d3d8 and d3d9 specs). * windows/cursoricon.c: Vitaly Lipatov Add FIXME for file with broken counters. * dlls/user/edit.c: Lauri Tulmin Don't recalculate line indexes if number of lines doesn't change. * tools/widl/typelib_struct.h, tools/widl/write_msft.c: Huw Davies Add propget and propput function attributes. Clarify the meaning of the FKCCIC bit field. * dlls/msi/action.c, dlls/msi/msipriv.h: Aric Stewart Quite a few fixes: - Allow for the queing of custom actions to trigger on the InstallExecute or InstallExecuteAgain actions. - allow for the queing of custom actions to trigger on InstallFinalize. - Properly set the CustomActionData property for said queued actions. - Implement RegisterProduct. - Beginning implementation of ForceReboot. - Don't kill install if an item to be duplicated does not exist. - Write out SourceList and LastUsedSource for resuming installs. - Use regsvr32 to register self reg dlls. * dlls/shdocvw/misc.c, dlls/shdocvw/shdocvw.spec: Mike McCormack Stub definition for OpenUrl. * include/win.h, windows/win.c: Removed no longer used WIN_InternalShowOwnedPopups function. * dlls/ttydrv/wnd.c: Store the window id as a property instead of accessing the WND structure directly. Fetch the update region from the server and remove a lot of obsolete code. * dlls/kernel/cpu.c: Rein Klazes Return a fixed frequency of 1193182 Hz for the Performance Counter. * dlls/kernel/sync.c: Mike McCormack Implement TransactNamedPipe for the non-overlapped case. * dlls/atl/atl.spec, dlls/atl/atl_main.c: Mike McCormack Stub implementation for some functions. * dlls/ole32/marshal.c, dlls/ole32/oleproxy.c, dlls/ole32/tests/marshal.c: Robert Shearman - Initialize ppv pointer in ClientIdentity_QueryInterface to NULL as apps depend on this. - Don't release IRpcProxyBuffer on ifproxy destruction - the caller will do this for us. - Make find_proxy_manager add a reference to the proxy manager and make proxy_manager_construct return an object with a valid ref-count. - Remove stray not operator to fix a memory leak / crash in proxy_manager_destroy. - More debug messages, especially on errors. - Fix ref-count leak in the Class Factory proxy. - Add a test case for IClassFactory_CreateInstance. * programs/winecfg/driveui.c: Paul van Schayck Reset the type dropdown when selecting another drive. * dlls/version/tests/info.c: Stefan Leichter Fixed GetFileVersionInfoSizeA tests on WinME. * dlls/rsaenh/rsaenh.c: Michael Jung Avoid code duplication by moving handle lookup into get_algid_info. * dlls/wined3d/basetexture.c, dlls/wined3d/indexbuffer.c, dlls/wined3d/resource.c, dlls/wined3d/surface.c, dlls/wined3d/vertexbuffer.c: Joris Huizer Get rid of some TRACE(..., This->resource.ref). * tools/widl/write_msft.c: Huw Davies Pad small strings out to eight bytes. Fix 'has default values' flag. * dlls/msi/msi.c, dlls/msi/msi.spec: Aric Stewart Do a very basic first implementation of MsiConfigureProductExW for msiexec /@ when run as a reboot. Also add a number of new stubs for the office xp and 2k3 install and startup process. * include/msi.h: Mike McCormack Added definition for the USERINFOSTATE enumeration. * dlls/setupapi/devinst.c, dlls/setupapi/setupapi.spec: Mike McCormack Aric Stewart Mike McCormack Added some stub implementations. 2005-01-18 Alexandre Julliard * dlls/user/msg16.c, include/winpos.h, windows/defwnd.c, windows/winpos.c: Moved DefWindowProc16 to msg16.c and cleaned up a few related things. * dlls/wininet/internet.c, dlls/wininet/tests/http.c, dlls/wininet/wininet.spec, include/wininet.h: Hans Leidekker Implement and test InternetTime{From,To}SystemTime{A,W}. Correct spelling in InternetCheckConnectionA. * dlls/d3d9/cubetexture.c, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/indexbuffer.c, dlls/d3d9/surface.c, dlls/d3d9/texture.c, dlls/d3d9/vertexbuffer.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/surface.c, dlls/wined3d/wined3d_private.h, include/d3d9types.h, include/wine/wined3d_interface.h: Jason Edmeades - Handle failures to allocate storage more gracefully. - Only prototype the interfaces which are subclassed (I overdid it last time!). - Implement Get/Set Texture and GetBackBuffer, plus device's GetDisplayMode / GetDeviceCaps. - Make some of the d3d9 skeleton code issue fixme's to highlight code which hasn't been migrated yet. - Correct the d3d9 headers for D3DSURFACE_DESC which caused stack corruption in demos. * include/winsvc.h: Mike McCormack Add definitions for session change notifications. * dlls/mpr/netspi.h, dlls/mpr/nps.c, include/Makefile.in, include/netspi.h: Juan Lang Make netspi.h private, as some of its declarations conflict with npapi.h. Spotted by Paul Vriens. * dlls/setupapi/queue.c: Aric Stewart Copy the implementation from SetupDefaultQueueCallbackA and make it W. * tools/widl/write_msft.c: Huw Davies Add a missing break to fix typeinfo version regression. * dlls/shlwapi/path.c, dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec: Hans Leidekker Stub implementations for PathUnExpandEnvStringsSHRegEnumUSValue{A,W}, SHRegCreateUSKey{A,W}, SHRegDeleteEmptyUSKey{A,W}, SHRegDeleteUSValue{A,W}, SHRegEnumUSValue{A,W}. 2005-01-17 Alexandre Julliard * dlls/user/controls.h, dlls/user/menu.c, dlls/user/user32.spec, dlls/x11drv/winpos.c, include/nonclient.h, windows/defwnd.c, windows/mdi.c, windows/nonclient.c, windows/winpos.c: Get rid of nonclient.h and of the corresponding exported functions in user32.spec. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/variant.c: Alex Villacís Lasso When parsing an hex/oct integer value, copy value verbatim in VARIANT, rather than a negated value. Add test case for this behavior. * dlls/shell32/shell32_De.rc: Henning Gerhardt A small spelling fix and a small update (thank to Andreas Mohr). * dlls/ole32/marshal.c: Robert Shearman Initialize clsid member to the marshaler clsid to fix custom marshaling. * dlls/user/edit.c: Lauri Tulmin Make long lines behave nicely. * dlls/x11drv/clipboard.c, dlls/x11drv/event.c, dlls/x11drv/mouse.c, dlls/x11drv/scroll.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c, windows/defwnd.c: Avoid most references to the internals of the WND structure by passing around an x11drv_win_data pointer instead. * dlls/user/edit.c, dlls/user/user32.spec, dlls/x11drv/winpos.c: Removed a couple of unnecessary calls to WIN_SuspendWndsLock. * dlls/shlwapi/tests/shreg.c: Paul Vriens Use a registry key for copying, that's known on every system. * dlls/commdlg/cdlg_Fr.rc, dlls/mpr/mpr.rc, dlls/mpr/mpr_Fr.rc, dlls/oledlg/oledlg_Fr.rc, dlls/oledlg/rsrc.rc, dlls/wininet/wininet_Fr.rc: Jonathan Ernst Updated French resources. * dlls/msvideo/drawdib.c, dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo_main.c, include/vfw.h: Hans Leidekker Stub implementations for DrawDibChangePalette, DrawDibGetBuffer, DrawDibTime, ICSeqCompressFrame{,End,Start}. Forward GetOpenFileNamePreview to GetOpenFileNamePreviewA. * dlls/shlwapi/reg.c, dlls/shlwapi/tests/shreg.c: Paul Vriens Change the order of Src and Dst in CopyKey calls/functions. * windows/winpos.c: Small optimization in WINPOS_GetWinOffset. * dlls/user/user_main.c, dlls/user/user_private.h, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.spec: Removed unused ForceWindowRaise function. * dlls/d3d9/basetexture.c, dlls/d3d9/cubetexture.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/resource.c, dlls/d3d9/surface.c, dlls/d3d9/texture.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, dlls/wined3d/Makefile.in, dlls/wined3d/basetexture.c, dlls/wined3d/cubetexture.c, dlls/wined3d/device.c, dlls/wined3d/drawprim.c, dlls/wined3d/indexbuffer.c, dlls/wined3d/surface.c, dlls/wined3d/texture.c, dlls/wined3d/utils.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/volume.c, dlls/wined3d/volumetexture.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades - Add texture support for all the texture types for d3d9->wined3d. - Add prototypes for the COM interfaces. - Fix some incorrect types from the last patch. * dlls/winmm/winmm_De.rc: Klemens Friedl Henning Gerhardt Spelling fixes. * dlls/commdlg/cdlg_De.rc, dlls/mpr/mpr_De.rc, dlls/shell32/shell32_De.rc, dlls/wininet/wininet_De.rc, programs/wineconsole/wineconsole_De.rc: Henning Gerhardt Update German resources. * include/wincrypt.h: Michael Jung Added definitions of TLS1PRF algorithm identifiers. * dlls/shlwapi/tests/clist.c: Paul Vriens Use Interlocked* functions in AddRef and Release. * programs/winecfg/libraries.c: Gerald Pfeifer Use switch statements instead of if-cascades. Avoid warnings. * dlls/rsaenh/rsaenh.c: Michael Jung Moved HMAC initialization and finalization code to init_/finalize_hash. Removed the redundant pKeyContainer function parameter from init_hash. * tools/widl/write_msft.c: Huw Davies Add VT_VARIANT support. Fix for the case when there is no helpstringdll. Fix for parameter arrays. * dlls/msi/action.c: Aric Stewart Implementations for SelfRegModules and PublishFeatures. Set default ACTION property for Install. Deformat more than JUST properties properly. Allows for Files and Component paths in deformat. Properly deformat a LaunchCondition failure dialog box. Resolve and save registry Keypaths. Write the Features published keys more correctly. Still some problems. * dlls/msi/msi.c: Aric Stewart First pass implement ion of MsiQueryProductState[A/W] as well as a few fixes for MsiGetComponentPath. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/stubmanager.c, dlls/ole32/tests/marshal.c: Robert Shearman Implement table marshaling. * programs/winetest/Makefile.in: Stefan Leichter Include new tests. * dlls/comctl32/trackbar.c: Paul Vriens Remove the checking/setting of the defaults in TRACKBAR_Create. * dlls/comctl32/pager.c: Paul Vriens Remove needless check for horizontal or vertical pager. 2005-01-14 Alexandre Julliard * dlls/kernel/comm.c, dlls/kernel/file.c, dlls/ntdll/file.c, dlls/ntdll/sync.c, dlls/winsock/socket.c, include/async.h, include/thread.h, include/wine/server_protocol.h, server/Makefile.in, server/async.c, server/async.h, server/fd.c, server/file.c, server/file.h, server/named_pipe.c, server/process.c, server/protocol.def, server/request.c, server/request.h, server/serial.c, server/signal.c, server/sock.c, server/thread.c, server/trace.c: Eric Pouech - got rid of include/async.h - fixed some overlapped issues in socket handling - moved kernel32.CancelIo implementation to ntdll * programs/winecfg/appdefaults.c, programs/winecfg/audio.c, programs/winecfg/libraries.c, programs/winecfg/winecfg.c, programs/winecfg/x11drvdlg.c: Crestez Leonard Fix add application (memory error). Fix apply button lighting up in audio tab. Fix video tab(crash when checking desktop, apply button not lighting up. Deal with invalid Desktop registry value in video tab. Fix apply button in libraries tab. Cleaned up and documented all the conversions in the libraries tab. * dlls/itss/itss.c, dlls/itss/itss.spec: Robert Shearman Remove MODULENAME prefix from Dll{GetClassObject,RegisterServer,CanUnloadNow} functions. * tools/widl/write_msft.c: Huw Davies Add support for BSTR default values. * dlls/ole32/compobj_private.h: Robert Shearman - Remove obsolete structs, rearrange things to group the structs together and to group similar functions. - Document thread-safety of members of structs. * dlls/ole32/marshal.c, dlls/ole32/tests/marshal.c: Robert Shearman Make proxy shutdown test succeed by releasing the channel on disconnect. * dlls/x11drv/event.c, dlls/x11drv/keyboard.c, dlls/x11drv/mouse.c, dlls/x11drv/window.c, dlls/x11drv/wintab.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c: Jeremy White Fix X11 event timing so that we correctly correlate X11 timing and Wine timing and dynamically adjust it as we go. * dlls/msi/msi.c: Aric Stewart Actually start on an implemention for MsiGetComponentPathW that should handle all keypaths that are files. * dlls/ole32/compobj.c, dlls/ole32/ifs.c, dlls/ole32/ole2.c, dlls/ole32/ole2stubs.c: Robert Shearman - Add documentation for most Co* functions. - Move several functions into different files to group them with similar functions. * dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/synth.c, dlls/dmsynth/synthsink.c, dlls/dpnet/address.c, dlls/dpnet/client.c: James Hawkins - Use Interlocked* instead of ++/-- in AddRef/Release. - Use only stored result of Interlocked* in AddRef/Release. - Expand TRACEs to display the ref count. * dlls/shell32/shlfileop.c: Joris Huizer - add file_operation_delete - add file_operation_checkFlags - use these in SHFileOperationW replacing inline code * dlls/advapi32/service.c, include/winsvc.h: Mike McCormack Fix, add and rearrange winsvc.h declarations. * dlls/msi/action.c: Marcus Meissner Initialize rc in create_component_directory(). * tools/widl/typelib.c, tools/widl/write_msft.c: Huw Davies Add support for interface ptrs including the special cases for IUnknown and IDispatch. * dlls/commdlg/filedlg.c: Ulrich Czekalla GetFileName31W should call unicode version of FD31_AllocPrivate. * dlls/user/tests/sysparams.c: Justin Chevrier Created unit test for SPI_{GET,SET}MINIMIZEDMETRICS. * dlls/user/sysparams.c: Justin Chevrier - Implemented SPI_GETMINIMIZEDMETRICS calculated from values returned by GetSystemMetrics. - Implemented SPI_SETMINIMIZEDMETRICS. Determined that the values set here are valid for the current session only and will not persist across reboots. * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c, dlls/ole32/tests/marshal.c: Robert Shearman - The apartment reference should be held while the stub manager reference is held. - Fix same apartment-unmarshal detection. * dlls/comctl32/listview.c: Dimitrie O. Paun Use the LVCFMT_{LEFT,RIGHT,CENTER} enumeration flags properly. * dlls/winedos/int21.c: Rein Klazes In int21_ioctl - get device data-, set the "is console" bits if the device handle is a tty or a proper console io handle. * dlls/advapi32/service.c: Mike McCormack Move all service stubs together, make them consistent. * dlls/dmusic/buffer.c, dlls/dmusic/clock.c, dlls/dmusic/collection.c, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/download.c, dlls/dmusic/downloadedinstrument.c, dlls/dmusic/instrument.c, dlls/dmusic/port.c, dlls/dmusic/portdownload.c, dlls/dmusic/thru.c, dlls/dswave/dswave.c, dlls/dswave/dswave_main.c, dlls/dxdiagn/container.c, dlls/dxdiagn/provider.c, dlls/msdmo/dmoreg.c, dlls/oleaut32/connpt.c, dlls/oleaut32/dispatch.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/tmarshal.c, dlls/shdocvw/classinfo.c, dlls/shdocvw/events.c, dlls/shdocvw/factory.c, dlls/shdocvw/misc.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/persist.c, dlls/shdocvw/webbrowser.c, dlls/shell32/autocomplete.c, dlls/shell32/cpanelfolder.c, dlls/shell32/dataobject.c, dlls/shell32/dragdrophelper.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/memorystream.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlfsbind.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c: James Hawkins - Use Interlocked* instead of ++/-- in AddRef/Release. - Use only stored result of Interlocked* in AddRef/Release. - Expand TRACEs to display the ref count. * dlls/msi/action.c: Aric Stewart First implementation of the WriteIniValues action. * dlls/ole32/rpc.c: Robert Shearman - Don't use the pipe caching code because it doesn't work correctly at the moment. - Always write disconnect reply packet, even in failure cases. * include/winuser.h, windows/spy.c: Dmitry Timoshkov Add WM_GETOBJECT definition, remove WM_OTHERWINDOWCREATED define. * documentation/patches.sgml: Dimitrie O. Paun Suggest testing patches in a gentler way. Encourage people to submit tests with their patches as well. * dlls/shell32/shell32_De.rc: Klemens Friedl Update German language file. * dlls/advapi32/service.c: Mike McCormack Cleanup service handles. * dlls/comctl32/treeview.c: Jon Griffiths Increase the required rectangle size before drawing big +/-. * dlls/gdi/mfdrv/objects.c, dlls/gdi/tests/metafile.c: Walt Ogburn Fix BS_PATTERN brushes in mfdrv. Un-comment the corresponding test. * dlls/dsound/dsound_main.c: James Hawkins Return CLASS_E_NOAGGREGATION if pUnkOuter is non-null. * dlls/msi/action.c: Aric Stewart Custom actions can have null in their target parameters, handle that without crashing. Also enable deformating of lines greater than 256 characters. * dlls/ole32/compobj.c: Robert Shearman Destroy stubs on apartment shutdown. * dlls/rpcrt4/rpcrt4_main.c, include/rpcdce.h: Ge van Geldorp Fix prototypes according to PSDK. * dlls/ole32/rpc.c: Mike Hearn Force context switch on chanbuf disconnect to avoid a race in the test suite. * include/wine/list.h: Robert Shearman Add a LIST_FOR_EACH_ENTRY list helper. * dlls/avifil32/acmstream.c, dlls/avifil32/avifile.c, dlls/avifil32/editstream.c, dlls/avifil32/getframe.c, dlls/avifil32/icmstream.c, dlls/avifil32/tmpfile.c, dlls/avifil32/wavfile.c: Paul Vriens - use Interlocked* functions in AddRef and Release. - store the result of the Interlocked functions and use only this. 2005-01-12 Alexandre Julliard * dlls/ole32/compobj.c: Christian Costa CoInitialize(Ex) should return S_FALSE when COM is already initialized for the current thread. * dlls/gdi/gdi32.spec, windows/dce.c: Use the exported functions SaveDC/RestoreDC instead of SetDCState16. * dlls/winmm/winealsa/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/wineoss/dscapture.c, dlls/winmm/wineoss/dsrender.c: James Hawkins - Use Interlocked* instead of ++/-- in AddRef/Release. - Use only stored result of Interlocked* in AddRef/Release. - Expand TRACEs to display the ref count. * dlls/urlmon/sec_mgr.c, dlls/urlmon/umon.c: James Hawkins - Use only stored result of Interlocked* in AddRef/Release. - Expand TRACEs to display the ref count. * dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/stateblock.c: James Hawkins Use only stored result of Interlocked* in AddRef/Release. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h: Robert Shearman - Document CoSetState & CoGetState. - Rewrite them to only retrieve TLS info once. - Remove trailing whitespace in COM_CurrentInfo. * dlls/ole32/marshal.c: Robert Shearman Remove wine_marshal_data: it is unneeded and there is no equivalent in STDOBJREF. * dlls/shlwapi/assoc.c, dlls/shlwapi/istream.c, dlls/shlwapi/regstream.c: James Hawkins - use only stored result of Interlocked* in AddRef/Release - expand TRACEs to display the ref count * dlls/avifil32/acmstream.c, dlls/avifil32/icmstream.c: Paul Vriens - Fix logic in Stream_fnRelease, refcount should be decremented before the test for 0. - Use Interlocked* functions in Stream_fnRelease . - Store the result of the Interlocked functions and this in the TRACE. * tools/widl/typelib.c, tools/widl/typelib.h, tools/widl/write_msft.c: Huw Davies Better type encoding. (Interface ptrs still not there yet). * dlls/ole32/tests/marshal.c: Robert Shearman - Force creation of thread queue to stop PostThreadMessage from failing. - Remove incorrect comment. * dlls/user/sysparams.c: Justin Chevrier - Revert previous change of border metric to reference the registry. Testing on Win98/WinXP showed that regardless of the "BorderWidth" value CM_C{X,Y}BORDER always returns 1. - Point SPI_SETBORDER to "BorderWidth" under "HKCU\Control Panel\Desktop\WindowMetrics" instead of "HKCU\Control Panel\Desktop" to make it match Windows. * include/wine/list.h: Robert Shearman Add LIST_FOR_EACH_SAFE - a list iteration macro that is safe against removal. * dlls/ole32/rpc.c: Robert Shearman The way apartments are used has changed, so fix up the hacks in the RPC code that haven't yet been updated. * dlls/ole32/compobj.c: Robert Shearman - Make MTA dynamically allocated so that proxies and other resources are freed at the proper time. - Changed/removed some incorrect comments regarding apartments. * dlls/dmcompos/chordmap.c, dlls/dmcompos/chordmaptrack.c, dlls/dmcompos/composer.c, dlls/dmcompos/signposttrack.c: Paul Vriens - use Interlocked* functions in AddRef and Release. - store the result of the Interlocked functions and use only this. 2005-01-11 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20050111. ---------------------------------------------------------------- 2005-01-11 Alexandre Julliard * dlls/dmime/audiopath.c, dlls/dmime/dmime_main.c, dlls/dmime/graph.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/segtriggertrack.c, dlls/dmime/seqtrack.c, dlls/dmime/sysextrack.c, dlls/dmime/tempotrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/tool.c, dlls/dmime/wavetrack.c: Paul Vriens - use Interlocked* functions in AddRef and Release. - store the result of the Interlocked functions and use only this. * dlls/ntdll/loader.c: Mike Hearn Give a more informative error when a DLL fails to initialize during startup. * dlls/user/menu.c: Dmitry Timoshkov Make Alt press/release test actually pass for not managed windows. * dlls/dplayx/dpclassfactory.c, dlls/msi/msi.c: Paul Vriens Use Interlocked* functions in AddRef and Release. * dlls/user/tests/msg.c: Dmitry Timoshkov Fix WmCreateCustomDialogSeq message sequence for 256 color mode. * dlls/ole32/compobj.c: Bill Medland Corrected testing for multithreaded (based upon observations by Paul Vriens, Christian Costa and Robert Shearman). Added TRACE for investigating OXID errors. * dlls/quartz/regsvr.c: Paul Vriens Add an extra class to register. * dlls/user/painting.c, dlls/x11drv/desktop.c, server/window.c: Desktop window is repainted on WM_ERASEBKGND, it must never get a WM_PAINT. * dlls/x11drv/event.c: Warning fix. * dlls/user/comm16.c: Andreas Mohr Read/write completion functions get Windows error codes, not NT status codes. * dlls/user/user_private.h, dlls/x11drv/clipboard.c, dlls/x11drv/x11drv.h, windows/clipboard.c: Jacek Caban Get rid of W->A calls. * dlls/kernel/file.c: Rein Klazes memicmpW() count are WCHAR's not bytes. Fixes opening CON device. * dlls/ole32/storage32.c, dlls/ole32/tests/storage32.c: Mike McCormack Tests and fixes for StgOpenStorage. * dlls/dmime/performance.c: Christian Costa Wait until the thread has created its message queue before posting a message otherwise it will be lost. * include/wine/library.h, include/wine/port.h, libs/wpp/preproc.c: Rémi Assailly Added missing declarations in some headers. * dlls/ole32/tests/marshal.c: Robert Shearman Add tests for trying to unmarshal from a bad stream and for testing what interfaces the proxy exposes. * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c: Robert Shearman - Document how thread-safety is ensured for each member of the stub_manager and ifstub structs. - Make stub_manager ref counted to ensure it doesn't get freed whilst it is still being used. - ifstubs are now freed only when the controlling stub_manager is freed. - Rename stub_manager_ref/unref to stub_manager_ext_addref/release respectively and make then take an unsigned long to prevent malicious callers from passing in a negative value and corrupting the ref count. * windows/defwnd.c: Dmitry Timoshkov Add more tests for keyboard/menu activation behaviour, make the tests pass under Wine. * dlls/ole32/stg_stream.c, dlls/ole32/storage32.c, dlls/ole32/tests/storage32.c: Mike McCormack Test and fix a few problems with OLE storage streams. * documentation/ole.sgml: Bill Medland Minor typo correction and term expansion changes. * dlls/kernel/profile.c: Robert Shearman - Don't use an invalid file handle. In this case invalid file handle means that the file hasn't yet been created. - Only call GetFileTime when we are being logged for a tiny performance improvement. - Reindent to 4 spaces. * dlls/comctl32/monthcal.c: Robert Shearman Use the DrawFocusRect function to draw the focus rect, instead of a broken home-brewed solution. * dlls/shell32/brsfolder.c: Robert Shearman Don't sort the children of My Computer in shell browse for folder dialog. * dlls/comctl32/treeview.c: Robert Shearman Don't highlight text in non-TVS_TRACKSELECT mode. * tools/winemaker: Francois Gouget Fix dll handling. Take DLL_PATH and LIBRARIES into account. Simplify a check for paths that don't start with a '/'. * tools/widl/typelib_struct.h, tools/widl/write_msft.c: Huw Davies Add help* attributes for typeinfos and functions. * dlls/user/menu.c, dlls/user/tests/msg.c: Dmitry Timoshkov Add more tests for keyboard/menu activation behaviour, make the tests pass under Wine. 2005-01-10 Alexandre Julliard * dlls/user/listbox.c, dlls/user/tests/listbox.c: Lauri Tulmin Fixes to the handling of LBS_EXTENDEDSEL style, with tests. * tools/widl/parser.l, tools/widl/parser.y, tools/widl/widltypes.h, tools/widl/write_msft.c: Huw Davies Add support for the help* attributes on type libraries. * programs/winebrowser/main.c: Rein Klazes If the argument is a local file, pass its Unix name to the browser. * programs/regedit/childwnd.c, programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/main.h, programs/regedit/treeview.c: Crestez Leonard Implement Refresh. Fix bug with all HKEY_ roots always showing expandable. * dlls/winsock/async.c, dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, include/winsock2.h: Hans Leidekker Stub implementations for WPUCompleteOverlappedRequest, WSADuplicateSocketW, WSAEnumNameSpaceProviders{A,W}, WSAGetQOSByName, WSAGetServiceClassInfo{A,W}, WSAGetServiceClassNameByClassId{A,W}, WSALookupServiceEnd, WSALookupServiceNext{A,W}, WSAProviderConfigChange, WSASetService{A,W}, WSCEnableNSProvider, WSCGetProviderPath, WSCInstallNameSpace, WSCWriteProviderOrder. Implementations for WSANtohl, WSANtohs, WSASocketA->W crosscall. Avoid NULL dereferences in WSAStringToAddress{A,W} and WSAAddressToString{A,W}. * dlls/comctl32/imagelist.c: Mike McCormack Fix image list mask and blending. * dlls/msvcrt/file.c: Bill Medland Only report the unsupported flags. Keep quiet about hints. * dlls/mpr/mpr.rc, dlls/mpr/mpr_En.rc, dlls/mpr/mprres.h, dlls/mpr/nps.c: Mike McCormack Add proxy authentication dialog. * programs/winecfg/winecfg.c: Mike Hearn Delete the \r not the \n in PRINTERROR. * programs/winecfg/drive.c: Mike Hearn Do not apply changes just because QueryDosDevice reversed the slashes. Change an ERR to a WARN, it's common for it to occur. * dlls/comctl32/header.c: Evan Deaubl GetItemA/W on header controls should handle message even if index is invalid. * tools/widl/parser.y, tools/widl/widltypes.h, tools/widl/write_msft.c: Huw Davies Add support for optional arguments and some suppport for the defaultvalue attributes. Better calculation of the typeinfo's res3 member (at least for interfaces). * dlls/mshtml/main.c, dlls/uuid/uuid.c, include/.cvsignore, include/Makefile.in, include/mshtmdid.h, include/mshtml.idl, include/olectl.h, include/uuids.h: Jacek Caban Added mshtml.idl. * dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/d3ddevice/mesa.c, dlls/mapi32/prop.c, dlls/mapi32/tests/prop.c, dlls/msi/action.c, dlls/msi/tests/db.c, dlls/msi/tests/record.c, include/oleauto.h: Francois Gouget Assorted spelling fixes. * configure, configure.ac, dlls/winmm/winealsa/Makefile.in, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/audio_05.c, dlls/winmm/winealsa/midi.c, include/config.h.in: Vincent Béron Only use Alsa if 1.0 is detected. * dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlgbrowser.h: Jacek Caban Get rid of W->A calls. * tools/widl/write_msft.c: Huw Davies Add support for hidden, restricted and version attributes on typeinfos. * dlls/oleaut32/typelib2.c: Another warning fix. * dlls/gdi/dc.c, dlls/gdi/gdi_private.h: Rémi Assailly Implemented GetLayout and SetLayout. * dlls/rsaenh/rsaenh.c: Michael Jung Support for generating and exporting PCT1, SSL2/3 and TLS1 master secrets. Ensure that these are not used in CPEncrypt, CPDecrypt or CPDeriveKey. * dlls/rsaenh/implglue.c: Michael Jung Removed check for valid'ness of algid. It's redundant. * include/wincrypt.h: Michael Jung Added SCHANNEL_ALG typedef. Corrected struct tag in HMAC_INFO typedef. * dlls/ole32/storage32.c, dlls/ole32/tests/storage32.c: Mike McCormack Test and fix StgCreateDocFile grfModes. * dlls/dsound/tests/capture.c, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/propset.c: Robert Reif Remove unneeded includes. * dlls/amstream/amstream.c, dlls/comcat/factory.c, dlls/comcat/information.c, dlls/comcat/manager.c, dlls/commdlg/filedlgbrowser.c, dlls/devenum/mediacatenum.c: Paul Vriens - use Interlocked* functions in AddRef and Release. - store the result of the Interlocked functions and use only this. 2005-01-09 Alexandre Julliard * dlls/devenum/mediacatenum.c, dlls/quartz/enummoniker.c, dlls/quartz/filtergraph.c, dlls/quartz/filtermapper.c: Christian Costa Fixed error handling in Graphbuilder_RenderFile. Improved traces. * dlls/msi/record.c, dlls/msi/tests/record.c: Mike McCormack Implement MsiRecordSetStreamA/W and add tests for records containing streams. * dlls/oleaut32/typelib2.c: Avoid warnings. * libs/wpp/preproc.c: Jacek Caban - Fixed infinite loop bug. - Code cleanup. * programs/winecfg/drive.c: Mike Hearn Fix a memory management bug in apply_drive_changes to stop winecfg deleting all the drive definitions in some cases. * programs/winecfg/driveui.c: Mike Hearn Make the UI update properly when the user adds/removes drives. * dlls/oleaut32/typelib.c: Huw Davies The value of a packed VARIANT can be up to 1L << 26 - 1. * tools/widl/parser.l, tools/widl/parser.y, tools/widl/widltypes.h, tools/widl/write_msft.c: Huw Davies Add attributes control, hidden and restricted. Correctly set the libflags for these attributes. * windows/winproc.c: Jacek Caban Get rid of HEAP_strdupWtoA calls. * dlls/d3d8/d3d8_private.h, dlls/d3d8/directx.c, dlls/d3d8/surface.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/surface.c, dlls/wined3d/Makefile.in, dlls/wined3d/basetexture.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/indexbuffer.c, dlls/wined3d/resource.c, dlls/wined3d/stateblock.c, dlls/wined3d/surface.c, dlls/wined3d/utils.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/wined3d_private.h, include/d3d9types.h, include/wine/wined3d_interface.h: Jason Edmeades Add render target support, and ensure there is a front and back buffer created during device creation. * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/dclipper/main.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/dpalette/main.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/main.c, dlls/oleaut32/tests/safearray.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c, dlls/ole32/errorinfo.c, dlls/ole32/ifs.c, dlls/ole32/oleobj.c: Paul Vriens - use Interlocked* functions in AddRef and Release. - store the result of the Interlocked functions and use only this. * dlls/quartz/regsvr.c: Christian Costa Added registration for quartz filters. * dlls/dsound/tests/capture.c: Robert Reif Don't need to worry about windows messages. * libs/wpp/wpp.c: Jacek Caban Added initializing pp_status.input at begin of wpp_parse. * dlls/mapi32/prop.c, dlls/mapi32/tests/prop.c, dlls/msacm/imaadp32/imaadp32.c, dlls/msacm/msadp32/msadp32.c, dlls/msacm/msg711/msg711.c, dlls/msacm/pcmconverter.c, dlls/msacm/winemp3/mpegl3.c, dlls/msrle32/msrle32.c, dlls/ole32/ftmarshal.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/varformat.c, dlls/oleaut32/variant.c, dlls/quartz/systemclock.c, dlls/rsaenh/rsaenh.c, dlls/shdocvw/shdocvw_main.c, dlls/shell32/shlview.c, dlls/shlwapi/string.c, dlls/winaspi/winaspi16.c, dlls/wineps/bitmap.c, dlls/wineps/driver.c, dlls/wineps/escape.c, dlls/x11drv/wintab.c, dlls/x11drv/xfont.c, dlls/comctl32/comboex.c, dlls/comctl32/datetime.c, dlls/comctl32/flatsb.c, dlls/comctl32/header.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/nativefont.c, dlls/comctl32/pager.c, dlls/comctl32/propsheet.c, dlls/comctl32/rebar.c, dlls/comctl32/smoothscroll.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/commdlg/colordlg.c, dlls/d3d8/cubetexture.c, dlls/d3d8/texture.c, dlls/d3d8/utils.c, dlls/d3d9/cubetexture.c, dlls/d3d9/texture.c, dlls/d3d9/volumetexture.c, dlls/dbghelp/type.c, dlls/ddraw/mesa.c, dlls/dmband/band.c, dlls/dmcompos/chordmap.c, dlls/dmime/audiopath.c, dlls/dmime/graph.c, dlls/dmime/performance.c, dlls/dmloader/container.c, dlls/dmscript/script.c, dlls/dmstyle/style.c, dlls/dmusic/collection.c, dlls/dsound/capture.c, dlls/dsound/propset.c, dlls/dswave/dswave.c: Eric Pouech Removed excessive statement (break after return or goto, not useful break, not needed vars...) * dlls/user/message.c, include/winuser.h: Vitaly Lipatov Added handling of SBM_GETSCROLLBARINFO message. * dlls/dsound/tests/capture.c, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/propset.c: Robert Reif Initialize and uninitialize COM properly. * dlls/commdlg/cdlg_Es.rc: José Manuel Ferrer Ortiz Updated Spanish resource. * dlls/wined3d/directx.c: Oliver Stieber Correct loop check for enum display and include 32bit modes in 24bit. * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_Pl.rc, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg31.c: Jacek Caban Moved save* strings to resources. 2005-01-08 Alexandre Julliard * dlls/user/user32.spec: Huw D M Davies Revert GetScrollBarInfo spec entry back to a stub to fix compilation failure. 2005-01-07 Alexandre Julliard * tools/c2man.pl: Create the output directory if needed. * dlls/Makedll.rules.in: Jon Griffiths Use the source dir as the documentation root dir. * dlls/user/misc.c, dlls/user/user32.spec, include/Makefile.in, include/winnls32.h: Diego Pettenò Added stub implementation for WINNLS* functions. * dlls/wininet/http.c, dlls/wininet/internet.c: Diego Pettenò Get rid of DPRINTF. * dlls/kernel/lcformat.c: Vincent Béron Use GetLocalTime (tz-dependant) instead of GetSystemTime (UTC) in GetTimeFormat. * dlls/msi/action.c: Aric Stewart Make all custom type 1 actions happen in a seperate thread and close all handles for that thread when it exits. Honors the concept of temporary MSI handles for custom actions. * dlls/advapi32/registry.c, dlls/ddraw/dsurface/user.c, dlls/dplayx/dplay.c, dlls/dplayx/dplayx_messages.c, dlls/dplayx/dplobby.c, dlls/kernel/comm.c, dlls/kernel/sync.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_server.c, dlls/shlwapi/thread.c, dlls/user/comm16.c, dlls/winedos/dosvm.c, dlls/winedos/module.c, dlls/wininet/internet.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/mmoutput.c, dlls/winmm/mciwave/mciwave.c, dlls/winsock/socket.c, dlls/winsock/tests/sock.c: Mike McCormack Use CreateEventW in preference to CreateEventA for unnamed events. * dlls/quartz/regsvr.c: Paul Vriens - Media Types (and Extensions) should use "Source Filter" instead of "File Source". - Removed filesource_valuename. - Fixed typo for some class-names. - Fixed typo in MPEG1System Media Type. * dlls/comctl32/treeview.c: Crestez Leonard Fix bug with Treeview_SelectItem reselecting the same item. * dlls/ntdll/cdrom.c: Robert Shearman - Add a complete, sorted listed of IOCTLS implemented in the file. - Dump track numbers after they have been filled in. * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/stubmanager.c: Robert Shearman Rename iid in wine_marshal_id to ipid and use IPIDs instead of IIDs in the stub manager. * dlls/ole32/rpc.c: Robert Shearman The current architecture cannot handle pipes changing address, so use a static array. Fixes memory corruption that sometimes occurs when using multiple pipes. * configure, configure.ac, dlls/capi2032/Makefile.in, dlls/capi2032/cap20wxx.c, include/config.h.in: Marcus Meissner Load libcapi20.so.* dynamically on demand. 2005-01-06 Alexandre Julliard * tools/widl/Makefile.in, tools/widl/hash.c, tools/widl/hash.h, tools/widl/header.c, tools/widl/parser.y, tools/widl/typelib.c, tools/widl/typelib.h, tools/widl/typelib_struct.h, tools/widl/widltypes.h, tools/widl/write_msft.c: Huw Davies Initial support for typelib generation. * dlls/ntdll/file.c: Rein Klazes On Linux, use fstatfs instead of fstatvfs. It is too buggy. * dlls/ole32/stubmanager.c: Robert Shearman No need to add a reference to the apartment from new_stub_manager as we don't hold on to an apartment pointer. * dlls/user/tests/msg.c: Dmitry Timoshkov Add a windows events hook to the message test. * dlls/msi/handle.c: Mike McCormack MsiCloseAllHandles only closes handles allocated in the calling thread. * dlls/msi/tests/.cvsignore, dlls/msi/tests/Makefile.in, dlls/msi/tests/record.c: Mike McCormack Add test for records. * dlls/msi/record.c: Mike McCormack Fix records according to test cases. * tools/wine.inf: Vitaly Lipatov Add VMM32Files section. * include/msi.h, include/msiquery.h: Mike McCormack Declare more functions. * dlls/comctl32/status.c: Ulrich Czekalla WM_GETTEXTLENGTH should return zero for owner drawn status bars. * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_Pl.rc, dlls/commdlg/fontdlg.c: Jacek Caban Moved string to resources. * documentation/documentation.sgml: Dimitrie O. Paun Prefer W to A for documentation. Prefer the non-inlined style of documentation, it's the most commonly used one, we should standardize on it. * dlls/user/sysparams.c, tools/wine.inf: Justin Chevrier - Obtain border size of windows from registry if available. - Obtain icon size from registry if available. - Create a WindowMetrics section in the default registry and populate it with all currently supported metrics (that are setup to read from the registry). * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h: Robert Shearman - Make struct oletls ref counted so that it is only detached from the apartment on the final CoUninitialize. - Decrease the size of the crit sec on destroying an apartment - it is only needed for touching the apartment list. - Small cleanups. * dlls/ole32/rpc.c: Robert Shearman ConnectNamedPipe returning ERROR_PIPE_CONNECTED is not an error. * dlls/quartz/avidec.c, dlls/quartz/avisplit.c, dlls/quartz/dsoundrender.c, dlls/quartz/enumfilters.c, dlls/quartz/enummedia.c, dlls/quartz/enummoniker.c, dlls/quartz/enumpins.c, dlls/quartz/enumregfilters.c, dlls/quartz/filesource.c, dlls/quartz/filtergraph.c, dlls/quartz/filtermapper.c, dlls/quartz/memallocator.c, dlls/quartz/pin.c, dlls/quartz/systemclock.c, dlls/quartz/videorenderer.c: Paul Vriens - Use Interlocked* functions in AddRef and Release. - Store the result of the Interlocked functions and use only this. * dlls/ntdll/time.c: Tony Lambregts Add Brazilian standard time. * dlls/rsaenh/rsaenh.c: Michael Jung Register rsaenh as a RSA SChannel provider. Register rsaenh as default RSA SChannel provider. * dlls/msi/action.c: Aric Stewart - Properly deformat keys written to the registry. - Because directory mappings can change between the CostFinalize step and the InstallFiles step we need to do a final resolution of the target file name before installing. 2005-01-05 Alexandre Julliard * tools/widl/utils.c, tools/widl/widl.c: Huw Davies Bring the debug functions into line with the rest of Wine by not appending a '\n'. * dlls/ole32/oleproxy.c: Robert Shearman The channel buffer can be NULL if the proxy is disconnected, so check for this before releasing it. * dlls/ole32/rpc.c: Robert Shearman - Fix race on apartment creation. - Display errors in decimal to make searching for the meaning in winerror.h easier. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/errorinfo.c, dlls/ole32/marshal.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c: Mike Hearn - Make apartment access thread-safe by introducing refcounting and wider usage of the apartment lock. - Rework OLE TLS management to eliminate uninitialised apartments and parent chaining. * programs/winetest/main.c: Ferenc Wagner Return a true boolean value (0 or 1). * dlls/rsaenh/rsaenh.c: Michael Jung Added list of supported algorithms for SChannel personality. * dlls/msi/action.c: Aric Stewart When checking for an existing .lnk shortcut extension on the filename do not just search for '.' but actually verify it is '.lnk'. * tools/widl/parser.y, tools/widl/typelib.c, tools/widl/typelib.h, tools/widl/widltypes.h: Huw Davies Store interfaces, structs, coclasses and modules that are to be written into a typelib in a list. * dlls/gdi/freetype.c, dlls/gdi/gdiobj.c: Vitaly Lipatov Spelling fixes. * dlls/msi/Makefile.in, dlls/msi/package.c: Vitaly Lipatov Get real screen properties. * configure, configure.ac, dlls/msi/Makefile.in, dlls/msi/tests/.cvsignore, dlls/msi/tests/Makefile.in, dlls/msi/tests/db.c: Mike McCormack Add a simple test case for MSI databases. * dlls/gdi/font.c, include/wingdi.h: Vitaly Lipatov Add description for ExtTextOut (also include comments from Shachar Shemesh) and missed constants ETO_NUMERICSLOCAL, ETO_NUMERICSLATIN, ETO_PDY in wingdi.h. * tools/winedump/search.c: Peter Berg Larsen Fix a return type bug after allowing 'foo *functionname()' prototypes. In 'unsigned char *functionname()' char was not seen; therefore implicit 'unsigned int'. * dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/style.c, dlls/dmstyle/styletrack.c: Raphael Junqueira - handle StyleRefs list on DMStyleTracks - handle PartRefs list on DMStyles - begin of Parts list support on DMStyles (for now only some array checks) - fix IDirectMusicStyle::QueryInterface * dlls/rsaenh/rsaenh.c, dlls/rsaenh/tests/rsaenh.c: Michael Jung Set last error if dwFlags are non zero in CPReleaseContext. Added corresponding test. * dlls/ole32/rpc.c: Mike McCormack Allow COM to start services containing COM servers. 2005-01-04 Alexandre Julliard * dlls/msi/action.c: Aric Stewart - CustomAction 35 should call SetTargetPath not just set the property. - TARGETDIR and SOURCEDIR may not be entries 0 in the directory tables. So when resolving the folder we need to seek them out. - When we handle SetTargetPath we need to be sure to recalculate the resulting paths as things with the now set Directory as the parent will change. * dlls/msi/action.c: Aric Stewart Change how we install files so that we extract files as we need them, cuts down on extraction time and unused files. * dlls/comctl32/commctrl.c, dlls/comctl32/treeview.c, dlls/dinput/mouse.c, dlls/winmm/wineoss/midi.c: Francois Gouget Assorted spelling fixes. * dlls/gdi/gdi_private.h, dlls/gdi/printdrv.c, dlls/wineps/escape.c, dlls/wineps/psdrv.h: Mike McCormack Convert StartDoc to Unicode. * dlls/wininet/internet.c, dlls/wininet/utility.c: Lionel Ulmer Fix 'SendAsyncCallback' when it's really asynchronous. * dlls/msvcrt/msvcrt.h, include/msvcrt/stdio.h: Lionel Ulmer fpos_t should be 64 bits (verified with native MSVCRT.DLL) * dlls/msvcrt/file.c: Lionel Ulmer Handle buffering in fgetpos / fsetpos. * dlls/msi/action.c: Mike McCormack Remove unneeded whitespace, indent correctly. * dlls/version/info.c, dlls/version/tests/info.c: Robert Reif Prevent crash from invalid last parameter in GetFileVersionInfo. Prevent crash in VerQueryValue when return size not requested. GetFileVersionInfo and VerQueryValue parameter tests added. * dlls/commdlg/cdlg_Cn.rc, dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_Es.rc, dlls/commdlg/cdlg_Fr.rc, dlls/commdlg/cdlg_It.rc, dlls/commdlg/cdlg_Pl.rc, dlls/commdlg/cdlg_Pt.rc, dlls/commdlg/cdlg_Si.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Th.rc: Robert Shearman Change dialog templates to not explicitly specify extended window styles for the static rects on the Page Setup dialog as the ones specified were wrong anyway. * dlls/x11drv/clipboard.c, dlls/x11drv/event.c, dlls/x11drv/x11drv.h, documentation/samples/config: Ulrich Czekalla Always clearAllSelections since not clearing CLIPBOARD can get us into an odd state. * tools/widl/parser.y: Huw Davies Add the precedence of the conditional operator. * dlls/rsaenh/rsaenh.c: Michael Jung Always set ERROR_SUCCESS in case of success in CPAcquireContext. * windows/winpos.c: Huw Davies Don't touch the rect if hwnd is invalid. * dlls/ole32/marshal.c: Robert Shearman - Add tracing for proxy ref count functions. - Release the channel on proxy destruction. * dlls/ole32/compobj.c: Mike Hearn Add a DCOM todo list. * tools/winedump/Makefile.in, tools/winedump/emf.c, tools/winedump/main.c, tools/winedump/winedump.h: Mike McCormack Extend winedump to allow dumping enhanced meta files. * dlls/advapi32/tests/crypt.c: Jakob Eriksson On NT4 we can also get ERROR_RING2_STACK_IN_USE from CryptAcquireContext(). * include/msi.h: Mike McCormack Added some extra functions. Removed parameter name for consistency with other declarations. * include/dce.h, windows/dce.c: Remove the no longer needed DCE_ExcludeRgn function and DCX_KEEPCLIPRGN style. * dlls/user/painting.c: Use the DC origin to map coordinates in ExcludeUpdateRgn instead of calling an internal DCE function. * dlls/ntdll/error.c, dlls/ntdll/heap.c, dlls/ntdll/ntdll.spec, include/thread.h, include/winternl.h: Fixed the FIXME in RtlNtStatusToDosError, and implemented RtlGetLastNtStatus and RtlSetLastWin32ErrorAndNtStatusFromNtStatus. * dlls/ntdll/virtual.c, server/mapping.c: Support mapping non page-aligned binaries for SEC_IMAGE mappings. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c: Robert Shearman Implement proxy manager. * documentation/PACKAGING: Marcus Meissner Removed whitespace at end of lines, updated a bit. * include/amstream.idl, include/ddstream.idl, include/mmstream.idl: Jacek Caban Uncommented 'optional' attributes. * include/Makefile.in, include/cfgmgr32.h: Mike McCormack Add cfgmgr32.h header. * windows/cursoricon.c: Ulrich Czekalla When loading a bitmap into a dibsection the result cannot be compressed. * windows/defwnd.c: Aric Stewart Handle IME messages in the default unicode window procedure too. * documentation/compiling.sgml: Dimitrie O. Paun Augment the compiling documentatin with the actual commands. * documentation/wine-devel.sgml: Dimitrie O. Paun Hide authors, we don't know how to format them. * documentation/getting.sgml: Dimitrie O. Paun Remove bashing of packages, value judgments. * documentation/README.de, documentation/README.fr, documentation/README.it, documentation/README.pt, documentation/README.pt_br: Vincent Béron Keep all REAMDEs in sync. * dlls/user/static.c: Robert Shearman Fix colours used for SS_*RECT, SS_*FRAME. * dlls/rsaenh/rsaenh.c: Michael Jung Added support for machine keysets. * dlls/ole32/oleproxy.c: Robert Shearman Make the ClassFactory proxy support aggregation. 2005-01-03 Alexandre Julliard * dlls/dciman32/dciman32.spec, dlls/ddraw/ddraw.spec, dlls/user/user.exe.spec, dlls/version/version.spec, dlls/winmm/winmm.spec: Get rid of the ThunkData stubs, these are not functions. * dlls/avifil32/Makefile.in, dlls/avifil32/avifil32.spec, include/vfw.h: Fixed CLSID_AVISimpleUnMarshal export. * dlls/rasapi32/rasapi.c, dlls/rasapi32/rasapi32.spec: Avoid dumping the contents of output strings. * dlls/unicows/main.c, dlls/unicows/unicows.spec: Hans Leidekker Remove most remaining stubs from unicows. * dlls/shell32/iconcache.c, dlls/shell32/shell32.spec, dlls/shell32/shellord.c, include/shellapi.h, include/shlobj.h: Hans Leidekker Stub implementations for SHUpdateImageA, SHHandleUpdateImage, SHObjectProperties, SHGetNewLinkInfo{A,W}, SHStartNetConnectionDialog, SHEmptyRecycleBin{A,W}, SHFormatDrive, SHQueryRecycleBin{A,W}. 'HeapAlloc can fail' fix for ExtractIconExA. Implement ExtractAssociatedIconA -> W. Correct prototype for SHObjectProperties. Forward SHGetNewLinkInfo to SHGetNewLinkInfoA. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec: Hans Leidekker Stub implementations for AddMonitorW, DeletePrinterDriverW, DeleteMonitorW, DeletePortW, GetPrintProcessorDirectoryW, AddPrintProcessor{A,W}, AddPrintProvidor{A,W}, AdvancedDocumentProperties{A,W}, EnumPortsW, AddPort{A,W}, ConfigurePort{A,W}, DeletePrintProcessor{A,W}, DeletePrintProvidor{A,W}, EnumPrintProcessorDatatypes{A,W}, GetJob{A,W}. * dlls/quartz/avidec.c, dlls/quartz/avisplit.c, dlls/quartz/filtergraph.c, dlls/quartz/pin.c: Christian Costa Implemented IMediaControl_Run that explores the graph, counts renderers and starts filters. Better implementation of IBaseFilter_Run for AVI SPlitter and AVI Decompressor. Use the standard memory allocator when an output pin does not provide any allocator. Set allocator properties for AVI Decompressor output pin and update the buffers size at connection time. * dlls/shlwapi/string.c: Jacek Caban Get rid of W->A calls. * dlls/gdi/tests/gdiobj.c: Jakob Eriksson Add return value to GetObject error message. * tools/winedump/function_grep.pl: Peter Berg Larsen Currently a '//****' is matched as an /* comment - disallow a '/' in front of the '/*' match. An 'extern "C" {' can be split in several lines - allow '\n' as space, and lookout for the rest if partial found. * tools/winedump/search.c: Peter Berg Larsen In function_grep.pl and symbol.c/symbol_clean_string spaces between the function name and * are removed. Fx. the type 'void * foo()' is returned as 'void *foo()'. Recognized this as a valid prototype in symbol_search. * tools/winedump/symbol.c: Peter Berg Larsen Added the word "FLOAT" to be recognized as argument type float. * include/dplobby.h: Peter Berg Larsen Define DirectPlayLobbyCreate to be either the W or A version. * include/wincrypt.h: Michael Jung Added some defines concerning SChannel CSPs. * dlls/rsaenh/implglue.c: Michael Jung Adhere to const'ness of the input data in encrypt_block_impl. * dlls/comctl32/tab.c: Vitaly Lipatov Add comments, fix negative value from GetCurFocus. * windows/user.c: Use ExitProcess to terminate the process in ExitWindowsEx so that it gets a chance to clean things up. * dlls/advapi32/advapi32.spec: Mike McCormack Add some missing declarations in the spec file. * dlls/shlwapi/ordinal.c: Jacek Caban Get rid of W->A calls. * dlls/winedos/dosvm.c, dlls/winedos/interrupts.c, dlls/winedos/vxd.c: Diego Pettenò Get rid of DPRINTF. * dlls/msi/action.c: Aric Stewart Improve progress bar tracking. * tools/winedump/le.c, tools/winedump/winedump.h: Warning fixes. * dlls/advapi32/advapi.c, dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, dlls/advapi32/service.c, include/lmserver.h, include/ntsecapi.h, include/winbase.h, include/winsvc.h: Hans Leidekker Stub implementations for GetKernelObjectSecurity, GetPrivateObjectSecurity, GetServiceKeyName{A,W}, ImpersonateNamedPipeClient, InitiateSystemShutdown{A,W}, IsTokenRestricted, LogonUser{A,W}, LookupAccountNameW, LookupPrivilegeDisplayName{A,W}, MapGenericMask, ObjectCloseAuditAlarm{A,W}, ObjectOpenAuditAlarm{A,W}, ObjectPrivilegeAuditAlarm{A,W}, PrivilegedServiceAuditAlarm{A,W}, QueryServiceLockStatus{A,W}, SetAclInformation, SetPrivateObjectSecurity, SetSecurityDescriptorControl, SetServiceBits, LsaSetInformationPolicy, LsaLookupNames, LsaEnumerateTrustedDomains. * dlls/shlwapi/ordinal.c: Jon Griffiths Documentation fix. * dlls/shlwapi/tests/path.c, dlls/shlwapi/url.c: Hans Leidekker Implement and test URLIS_URL flag in UrlIs(). * dlls/quartz/regsvr.c: Christian Costa Added registration/unregistration of media types. * dlls/mapi32/mapi32.spec, dlls/mapi32/prop.c, dlls/mapi32/tests/prop.c, dlls/mapi32/util.c: Jon Griffiths Implement CreateIProp & most of MAPI's IMAPIProp & IPropData ifaces. Implement FBadEntryList and make FBadProp use it. Test CreateIProp, start of tests for IPropData interface. * dlls/user/misc.c, dlls/user/user32.spec, include/winuser.h: Hans Leidekker Stub implementations for GetAltTabInfo{A,W}. Forward GetAltTabInfo to GetAltTabInfoA. * dlls/user/sysparams.c: Justin Chevrier Converted system metrics to Unicode. * windows/user.c: Francois Gouget - If given the EWX_FORCE flag, ExitWindowsEx() should not send the WM_{QUERY}ENDSESSION messages. - Add support for EWX_FORCEIFHUNG. - ExitWindowsEx() should return true if it succeeds, even if the user cancels the shutdown. - Don't crash if there are no windows. * dlls/msi/msi.c, dlls/msi/msi.spec: Steven Edwards Add and fix some stubs. * LICENSE, include/wine/wine_common_ver.rc: Ivan Leo Puoti Update copyright info for the new year. * dlls/user/hook.c: Jacek Caban Get rid of HEAP_strdupWtoA calls. * dlls/msi/action.c: Aric Stewart Be sure that set paths are terminated with a backslash. * dlls/advapi32/eventlog.c, dlls/dbghelp/coff.c, dlls/dmime/performance.c, dlls/kernel/profile.c, dlls/kernel/resource.c, dlls/ole32/bindctx.c, dlls/oleaut32/typelib2.c, dlls/wineps/type42.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/winmm/wineoss/mixer.c, dlls/x11drv/xrender.c: Michael Stefaniuc Do not check for non NULL pointer before HeapFree'ing it. It's redundant. * dlls/gdi/enhmetafile.c, dlls/msvcrt/cpp.c, dlls/oleaut32/safearray.c: Eric Pouech Some missing const correctness fixes. * tools/winedump/Makefile.in, tools/winedump/le.c, tools/winedump/pe.c: Robert Reif Added partial VxD support. * windows/clipboard.c: Ulrich Czekalla Add comment about CLIPBOARD_SetClipboardOwner. * dlls/dmband/dmutils.c: Dimitrie O. Paun Debug fixes and cleanup. * documentation/README.es, programs/winefile/Es.rc: José Manuel Ferrer Ortiz Added Spanish translation. * programs/winecfg/appdefaults.c, programs/winecfg/winecfg.c: Mike Hearn - Finish off the "Remove Application" button. - Allow removal of keys from the overlay. - One or two whitespace fixes. * dlls/x11drv/keyboard.c: Dmitry Timoshkov - Do not print FIXME in X11DRV_GetKeyboardLayout if dwThreadid identifies current thread. - Make X11DRV_GetKeyboardLayoutList follow the same rule as X11DRV_GetKeyboardLayout and X11DRV_GetKeyboardLayoutName for CJK locales. - There is no need to have 0xe001 in the high word of Japanese keyboard layouts lcids in main_key_tab, the above APIs take care of it. - High word of a returned keyboard layout duplicates low word for non CJK locales under Windows. * dlls/kernel/sync.c, dlls/ntdll/file.c, dlls/ntdll/rtl.c: Eric Pouech Fixed some regressions from the previous change. * dlls/ddraw/ddraw/main.c, dlls/ddraw/dsurface/dib.c: Christian Costa Handle correctly DDSD_LINEARSIZE flag for FOURCC textures. * dlls/user/tests/listbox.c: Dimitrie O. Paun Add test for the listbox item height. * dlls/itss/itss.c, dlls/itss/moniker.c, dlls/itss/storage.c: Jacek Caban Implemented DllCanUnloadNow. * dlls/shell32/shell32_main.c: Jacek Caban Get rid of W->A call. * programs/winedbg/winedbg.man: Jon Griffiths Typos/grammar fixes. * dlls/shlwapi/url.c: Jon Griffiths Const correctness fix. * dlls/shlwapi/tests/shreg.c: Jon Griffiths Use Ascii functions explicitly. * dlls/user/static.c: Dimitrie O. Paun SS_CENTERIMAGE has been implemented. * dlls/rsaenh/rsaenh.c, include/wincrypt.h: Michael Jung Implemented parallel hashing in CPEncrypt and CPDecrypt. Implemented CPHashSessionKey. * dlls/ole32/stubmanager.c: Mike Hearn Comment out an assert, as we don't yet implement IRemUnknown. * dlls/gdi/gdi32.spec, dlls/gdi/palette.c: Hans Leidekker Stub implementations for GetLogColorSpace{A,W}. * dlls/kernel/kernel32.spec, dlls/kernel/lcformat.c: Hans Leidekker Stub implementations for EnumDateFormatsEx{A,W}. * dlls/rasapi32/rasapi.c, dlls/rasapi32/rasapi32.spec, include/ras.h: Hans Leidekker Stub implementations for RasConnectionNotification{A,W}, RasCreatePhonebookEntry{A,W}, RasDeleteSubEntry{A,W}, RasDial{A,W}, RasEditPhonebookEntry{A,W}, RasGetConnectStatus{A,W}, RasGetEntryDialParamsW, RasHangUpW, RasGetEntryPropertiesW, RasGetErrorString{A,W}, RasGetProjectionInfo{A,W}, RasRenameEntry{A,W}, RasSetEntryDialParams{A,W}, RasSetSubEntryProperties{A,W}. * dlls/msi/action.c, dlls/msi/msipriv.h, dlls/msi/package.c: Aric Stewart Free allocated buffers. * README: Hans Leidekker Remove obsolete info. * tools/widl/parser.l, tools/widl/parser.y, tools/widl/widltypes.h: Jacek Caban Added optional, defaultvalue and vararg. * dlls/rsaenh/mpi.c, dlls/rsaenh/rsa.c: Michael Jung Small bugfixes backported from the LibTomCrypt v1.0rc1 release. * include/objidl.idl: Robert Shearman Add definition of IInternalUnknown. 2004-12-27 Alexandre Julliard * dlls/msi/handle.c, dlls/msi/msipriv.h, dlls/msi/record.c: Mike McCormack Implement thread safety for records. * dlls/ole32/compobj_private.h, dlls/ole32/rpc.c: Robert Shearman - Move named pipe macros into rpc.c. - Remove unneeded function. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/rpc.c: Robert Shearman Implement COM local servers using table marshaling to avoid doing the marshaling in a child thread where COM has not been initialized. * dlls/ole32/Makefile.in, dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c, dlls/ole32/stubmanager.c, dlls/ole32/tests/marshal.c: Mike Hearn - Implement the COM stub manager, refactor the current stub code. - Begin implementing interface stubs. * dlls/msi/action.c: Aric Stewart Parse out the full features by using the ',' character and do comparisons based on the full feature names. * dlls/msi/action.c: Aric Stewart Continue when a duplicate component is found and loaded. * dlls/msi/action.c: Aric Stewart - Rework how we handle Feature and Component States. I have confirmed from testing that, although documented nowhere, having ADDLOCAL on the install line overrides INSTALLLEVEL. - Track all files extracted from cabinents as tempfiles so they can be removed at the end of the install to not leave uninstalled but uncabbed files laying around. * dlls/msi/action.c: Aric Stewart Move Install Features selection and evaluation into CostFinalize. * dlls/msi/action.c: Aric Stewart Allow for end of install actions. * dlls/msi/action.c: Aric Stewart - Create the shortcut directory if it does not exist. - Set the INSTALLLEVEL in CostFinalize if it is not set. * dlls/msi/action.c: Aric Stewart Eliminate some fixed length buffers. * dlls/advapi32/tests/security.c, dlls/gdi/tests/brush.c, dlls/gdi/tests/gdiobj.c, dlls/gdi/tests/metafile.c, dlls/lzexpand/tests/lzexpand_main.c, dlls/mscms/tests/profile.c, dlls/msvcrt/tests/file.c, dlls/shell32/tests/shellpath.c, dlls/shlwapi/tests/ordinal.c, dlls/wininet/tests/http.c: Rein Klazes Correct cases where arguments of ok() calls depend on the order in which they are evaluated. * dlls/advapi32/service.c: Mike McCormack Fix CreateService's error code for a service that already exists. * dlls/msi/package.c: Aric Stewart Include a System16Folder definition. * include/urlmon.idl: Jacek Caban Added IInternetBindInfo, IInternetProtocolRoot, IInternetProtocolSink and IInternetProtocol declarations. * dlls/kernel/tests/change.c, dlls/kernel/tests/file.c, dlls/kernel/tests/process.c, dlls/kernel/tests/thread.c, dlls/kernel/tests/time.c, dlls/user/tests/clipboard.c, dlls/user/tests/msg.c, dlls/user/tests/text.c, dlls/user/tests/win.c: Rein Klazes Correct cases where arguments of ok() calls depend on the order in which they are evaluated. * dlls/gdi/gdi32.spec, dlls/gdi/palette.c, include/wingdi.h: Hans Leidekker Stub implementations for GetICMProfileW, SetICMProfile{A,W}, UpdateICMRegKey{A,W}. Forward UpdateICMRegKey to UpdateICMRegKeyA. * dlls/oleaut32/typelib2.c: Huw Davies Fix typelib generation of CARRAYs. * dlls/kernel/cpu.c: Lionel Ulmer Fix non-RTDSC case for QueryPerformanceFrequency. * dlls/quartz/avidec.c, dlls/quartz/avisplit.c, dlls/quartz/dsoundrender.c, dlls/quartz/filesource.c, dlls/quartz/filtergraph.c, dlls/quartz/pin.c, dlls/quartz/videorenderer.c: Christian Costa Initialize the COM libraries for the newly created worker thread in the AVI splitter. Fixed some returned error codes. Show refcount in the AddRef/Release traces in filter. Added 24 bits source in the video renderer. * tools/widl/widl.c: Vincent Béron Generate only wanted files. * dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw_private.h: Christian Costa Fake line sweeping of the monitor. * dlls/advapi32/service.c: Mike McCormack Don't use RtlCreateUnicodeStringFromAsciiz, it doesn't preserve NULL. * dlls/msi/action.c: Aric Stewart Enable asynchronous dll custom action calls. * dlls/atl/atl.spec, dlls/atl/atl_main.c: Mike McCormack Stub implementation for AtlModuleRegisterServer. * dlls/kernel/heap.c: Paul Vriens Initialize dwOSVersionInfoSize in GlobalMemoryStatus. * dlls/netapi32/tests/access.c: Jakob Eriksson Fix test failure on Windows 2000. * tools/widl/parser.y: Jacek Caban Fixed defining DIIDs. * dlls/x11drv/window.c: Mike Hearn Fix Xlib locking in create_desktop. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c: Mike Hearn Propagate apartments through the intermediate threads, make listener thread apartment scoped. * dlls/avifil32/api.c, dlls/avifil32/avifil32.spec, include/vfw.h: Hans Leidekker Stub implementations for AVIMakeStreamFromClipboard, AVISave{A,W}. Forward AVIBuildFilter, AVIFileCreateStream, AVIFileOpen, AVISave, EditStreamSetInfo, EditStreamSetName to their respective *A variants. * dlls/dinput/mouse.c: Neil Olver The flag for a mouse button down in the structure returned by GetDeviceState should be 0x80 (only the high bit set), not 0xff. 2004-12-23 Alexandre Julliard * dlls/winedos/vga.c, dlls/wineps/clipping.c, dlls/wineps/escape.c, dlls/wineps/init.c, dlls/wineps/ppd.c, dlls/wineps/type42.c, dlls/wininet/cookie.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/winmm/driver.c, dlls/winmm/mci.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/playsound.c, dlls/winmm/winealsa/midi.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineoss/dscapture.c, dlls/winmm/wineoss/dsrender.c, dlls/winmm/wineoss/midi.c, dlls/winsock/socket.c, dlls/winsock/socket16.c, dlls/winspool/info.c, dlls/x11drv/dib.c, dlls/x11drv/palette.c, dlls/x11drv/text.c, dlls/x11drv/xfont.c, dlls/x11drv/xrandr.c, dlls/x11drv/xrender.c, dlls/mpr/wnet.c, dlls/msacm/internal.c, dlls/msdmo/dmoreg.c, dlls/msvcrt/data.c, dlls/msvcrt/main.c, dlls/msvideo/drawdib.c, dlls/msvideo/mciwnd.c, dlls/msvideo/msvideo_main.c, dlls/netapi32/nbnamecache.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c, dlls/ole32/ole2.c, dlls/ole32/storage32.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/typelib2.c, dlls/opengl32/wgl.c, dlls/kernel/comm.c, dlls/kernel/console.c, dlls/kernel/editline.c, dlls/kernel/environ.c, dlls/kernel/file.c, dlls/kernel/file16.c, dlls/kernel/format_msg.c, dlls/kernel/global16.c, dlls/kernel/lcformat.c, dlls/kernel/local16.c, dlls/kernel/locale.c, dlls/kernel/ne_module.c, dlls/kernel/path.c, dlls/kernel/process.c, dlls/kernel/profile.c, dlls/kernel/resource.c, dlls/kernel/sync.c, dlls/kernel/tests/alloc.c, dlls/kernel/time.c, dlls/kernel/volume.c, dlls/lzexpand/lzexpand_main.c, dlls/dmscript/script.c, dlls/dplayx/dplay.c, dlls/dplayx/dplaysp.c, dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/primary.c, dlls/gdi/bitmap.c, dlls/gdi/dc.c, dlls/gdi/driver.c, dlls/gdi/font.c, dlls/gdi/freetype.c, dlls/gdi/gdi16.c, dlls/gdi/metafile.c, dlls/gdi/palette.c, dlls/gdi/path.c, dlls/gdi/printdrv.c, dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/text.c, dlls/imm32/imm.c, dlls/iphlpapi/ifenum.c, dlls/d3d8/device.c, dlls/d3d8/stateblock.c, dlls/d3d8/vertexbuffer.c, dlls/d3dx8/d3dxbuffer.c, dlls/dbghelp/msc.c, dlls/dbghelp/stabs.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dtexture.c, dlls/devenum/mediacatenum.c, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c, dlls/advapi32/registry.c, dlls/advapi32/security.c, dlls/advapi32/service.c, dlls/comctl32/animate.c, dlls/comctl32/syslink.c, dlls/comctl32/toolbar.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg31.c, dlls/commdlg/fontdlg.c, dlls/commdlg/fontdlg16.c, dlls/commdlg/printdlg.c, dlls/shlwapi/msgbox.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/regstream.c, dlls/urlmon/umon.c, dlls/user/button.c, dlls/user/combo.c, dlls/user/edit.c, dlls/user/listbox.c, dlls/user/lstr.c, dlls/user/menu.c, dlls/user/message.c, dlls/vnbt.vxd/vnbt.c, dlls/wined3d/indexbuffer.c, dlls/wined3d/vertexbuffer.c, windows/cursoricon.c, windows/defwnd.c, windows/mdi.c, windows/win.c, windows/winproc.c, dlls/quartz/memallocator.c, dlls/richedit/reader.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_message.c, dlls/rpcrt4/rpc_server.c, dlls/rsaenh/handle.c, dlls/rsaenh/rsaenh.c, dlls/serialui/confdlg.c, dlls/setupapi/parser.c, dlls/setupapi/setupx_main.c, dlls/shell32/autocomplete.c, dlls/shell32/brsfolder.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shelllink.c, dlls/shell32/shlexec.c, dlls/shell32/shlfileop.c, programs/regedit/regproc.c, programs/rundll32/rundll32.c, programs/winecfg/appdefaults.c, programs/winecfg/driveui.c, programs/winecfg/winecfg.c, programs/wineconsole/dialog.c, programs/wineconsole/wineconsole.c, programs/winedbg/stack.c, programs/winemenubuilder/winemenubuilder.c, programs/winhelp/hlpfile.c, programs/winhelp/macro.lex.l: Michael Stefaniuc Do not check for non NULL pointer before HeapFree'ing it. It's redundant. * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c, dlls/rpcrt4/tests/rpc.c, include/rpcdce.h: Bill Medland Implemented DceErrorInqText. * dlls/user/sysparams.c: Mike McCormack Dump known but unimplemented SystemParameterInfo actions. * include/winuser.h: Mike McCormack Declare SetLayeredWindowAttributes. * dlls/msi/msi.c, dlls/msi/msi.spec: Aric Stewart Added MsiSetExternalUIW. * dlls/msi/action.c: Aric Stewart Make sure to include trailing backslash in path. * dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/utility.c: Lionel Ulmer Added/improved TRACEing. 2004-12-22 Alexandre Julliard * dlls/msi/package.c: Aric Stewart Blank the property buffers even if the property is not found. * dlls/msi/action.c: Aric Stewart Move around and rename some functions. * dlls/gdi/enhmetafile.c, dlls/gdi/metafile.c, dlls/kernel/comm.c, dlls/ole32/compobj.c, dlls/ole32/stg_bigblockfile.c, dlls/winedos/devices.c, dlls/winedos/int21.c, dlls/winedos/int25.c, dlls/winedos/int26.c, dlls/winedos/vga.c, programs/wineboot/wineboot.c, programs/winecfg/drive.c, programs/winedbg/dbg.y, programs/winedbg/winedbg.c: Eric Pouech ReadFile and WriteFile must be passed a parameter for the number of handled bytes when no overlapped operation is done. * dlls/winsock/socket.c: Robert Shearman Convert per-process hostent, servent and protent buffers into per-thread buffers. * include/aclapi.h: Mike McCormack Declare GetSecurityInfo. * dlls/msi/package.c: Aric Stewart Include the trailing backslash on the Windows volume. * dlls/msi/action.c: Aric Stewart Fix incorrect return code check. * windows/message.c: Russ Andersson The WM_MOUSEWHEEL message is specified to have absolute screen coordinates. * dlls/commdlg/cdlg.h, dlls/commdlg/fontdlg.c, dlls/commdlg/fontdlg16.c: Jacek Caban Unicodified fontdlg. * dlls/x11drv/clipping.c: Eric Pouech Fixed bug with unsigned index in decreasing loop. * dlls/msi/action.c, dlls/msi/package.c: Aric Stewart Fix folder resolution. * dlls/cabinet/cabextract.c: Revert previous patch, that's not a leak. * dlls/advapi32/security.c, dlls/ntdll/sec.c, include/winternl.h: Fixed prototypes of a couple of ntdll functions. Replaced the CallWin32ToNt macro by a proper function. PBOOL cannot be cast to PBOOLEAN, we need to use an intermediate variable. * dlls/msi/action.c: Mike McCormack Remove more fixed length buffers, rewrite functions to return malloc'ed memory. * dlls/msi/query.h, dlls/msi/table.c, dlls/msi/where.c: Mike McCormack Fix selecting string columns and matching against a wildcard. * dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmcompos/chordmap.c, dlls/dmcompos/chordmaptrack.c, dlls/dmcompos/signposttrack.c, dlls/dmime/audiopath.c, dlls/dmime/graph.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/patterntrack.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/segtriggertrack.c, dlls/dmime/seqtrack.c, dlls/dmime/sysextrack.c, dlls/dmime/tempotrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/tool.c, dlls/dmime/wavetrack.c, dlls/dmloader/container.c, dlls/dmloader/loaderstream.c, dlls/dmscript/scripttrack.c, dlls/dmstyle/auditiontrack.c, dlls/dmstyle/chordtrack.c, dlls/dmstyle/commandtrack.c, dlls/dmstyle/motiftrack.c, dlls/dmstyle/mutetrack.c, dlls/dmstyle/style.c, dlls/dmstyle/styletrack.c, dlls/dmusic/buffer.c, dlls/dmusic/collection.c, dlls/dmusic/download.c, dlls/dmusic/downloadedinstrument.c, dlls/dmusic/instrument.c, dlls/dswave/dswave.c, dlls/msvideo/msvideo_main.c, dlls/shlwapi/ordinal.c, dlls/winmm/mmio.c, dlls/wintab32/wintab32.c, programs/regedit/framewnd.c, programs/regedit/main.c: Francois Gouget Remove unneeded NULL casts. * dlls/msi/action.c, dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack Remove a lot of fixed length buffers. * dlls/wined3d/device.c, tools/winedump/search.c: Francois Gouget Spelling fixes. * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg_Cn.rc, dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_Es.rc, dlls/commdlg/cdlg_Fr.rc, dlls/commdlg/cdlg_It.rc, dlls/commdlg/cdlg_Nl.rc, dlls/commdlg/cdlg_Pl.rc, dlls/commdlg/cdlg_Pt.rc, dlls/commdlg/cdlg_Ru.rc, dlls/commdlg/cdlg_Si.rc, dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Th.rc, dlls/commdlg/cdlg_Uk.rc, dlls/commdlg/printdlg.c: Dmitry Timoshkov Replace 'All xxx pages' text in common print dialog by simple 'All'. * dlls/kernel/profile.c: Dmitry Timoshkov Perform case insensitive comparison with cached ini file name. * dlls/kernel/file.c: Dmitry Timoshkov Uncomment call to FlushConsoleInputBuffer in FlushFileBuffers. * programs/winetest/main.c: Jakob Eriksson Add a check if we are running on a visible desktop. Credits to Dmitry Timoshkov for the easy test. 2004-12-21 Alexandre Julliard * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, dlls/ntdll/sec.c, include/aclapi.h, include/winbase.h, include/winsvc.h, include/winternl.h: Hans Leidekker Stub implementations for AdjustTokenGroups, AreAllAccessesGranted, CreatePrivateObjectSecurity, CreateProcessAsUser{A,W}, DestroyPrivateObjectSecurity, DuplicateToken{,Ex}, EnumDependentServices{A,W}, GetEffectiveRightsFromAcl{A,W}, ConvertStringSecurityDescriptorToSecurityDescriptorA. Implementations for BuildExplicitAccessWithName{A,W}, BuildTrusteeWithObjectsAndName{A,W}, BuildTrusteeWithObjectsAndSid{A,W}. Correct prototype for InitializeAcl, RtlCopySid and RtlGetAce. Use the CallWin32ToNt macro only with functions that return an NTSTATUS. * dlls/kernel/file.c: Dmitry Timoshkov Postpone creation disposition check in CreateFile until it's really used. * dlls/advapi32/service.c: Ivan Leo Puoti In OpenSCManagerW() allow lpDatabaseName to be an empty string. * include/d3d.h, include/ddraw.h: Peter Berg Larsen Added D3DERR_COLORKEYATTACHED and DDGDI_GETHOSTIDENTIFIER. * dlls/user/tests/dialog.c, dlls/user/tests/resource.rc, windows/dialog.c: Ulrich Czekalla If a dialog with the DS_CONTROL style is not visible then ignore default focus assignment. * dlls/ole32/tests/.cvsignore, dlls/ole32/tests/Makefile.in, dlls/ole32/tests/marshal.c, dlls/ole32/tests/moniker.c: Robert Shearman Add tests for moniker and marshaling functions. * dlls/gdi/enhmetafile.c: Mike McCormack Check values passed in to SetWinMetaFileBits, not our local copy. * dlls/gdi/enhmfdrv/graphics.c: Mike McCormack Output EMR_POLYGON16 records when possible. * dlls/ddraw/dsurface/dib.c: Crestez Leonard Check for malformed source rect in DIB_DirectDrawSurfact_BltFast, and return DDERR_INVALID_RECT. * dlls/gdi/font.c, dlls/gdi/freetype.c: Dmitry Timoshkov Fully initialize NEWTEXTMETRICEXW structure for bitmap fonts. * dlls/wininet/cookie.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c: Michael Stefaniuc Do not check for non NULL pointer before HeepFree'ing it. It's redundant. * dlls/mapi32/tests/imalloc.c: Jakob Eriksson There may be no default MAPI malloc installed. * dlls/user/focus.c, dlls/user/tests/win.c: Rein Klazes You can make an invisible window the active window. * dlls/advapi32/advapi32.spec, dlls/advapi32/crypt.c: Michael Jung Respect the sDescription parameter in CryptSignHash and CryptVerifySignature. 2004-12-20 Alexandre Julliard * dlls/avifil32/api.c, dlls/avifil32/wavfile.c, dlls/comctl32/comctl32undoc.c, dlls/dbghelp/mscvpdb.h, dlls/gdi/enhmfdrv/objects.c, dlls/kernel/tests/directory.c, dlls/kernel/time.c, dlls/mapi32/util.c, dlls/msrle32/msrle32.c, dlls/ntdll/tests/rtl.c, dlls/ole32/marshal.c, dlls/oleaut32/variant.c, dlls/quartz/filtergraph.c, dlls/rsaenh/handle.c, dlls/rsaenh/mpi.c, dlls/wined3d/device.c, dlls/winsock/socket.c, documentation/running.sgml: Francois Gouget Assorted spelling fixes. * dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/audio.c, dlls/winmm/wineoss/audio.c: Robert Reif A driver does not have to support all formats. * dlls/user/comm16.c, dlls/user/dde/ddeml16.c, dlls/user/exticon.c, dlls/user/focus.c, dlls/user/listbox.c, dlls/user/lstr.c, dlls/user/misc.c, dlls/user/network.c, dlls/user/property.c, dlls/user/static.c, dlls/user/text.c, dlls/user/user_main.c, dlls/x11drv/text.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11ddraw.c: Jon Griffiths Remove unneeded headers to reduce unneeded rebuilds. * dlls/urlmon/tests/Makefile.in, dlls/urlmon/tests/url.c, dlls/urlmon/umon.c, include/urlmon.idl: Jacek Caban - Added test of BindToStorage. - Added some declarations to urlmon.idl. * libs/wine/config.c: Fix long standing regression in the building of the server directory name (found by Nigel Rowe). * dlls/advapi32/crypt.c: Michael Jung ixed calculation of buffer size in CRYPT_ANSIToUnicode and CRYPT_UnicodeToANSI. * dlls/wininet/internet.h: Steven Edwards MSVC porting fixes. * dlls/winmm/wavemap/wavemap.c: Robert Reif Return actual result on error. * dlls/ddraw/direct3d/mesa.c: Christian Costa Enable creation of the RGB device. * dlls/quartz/avidec.c, dlls/quartz/avisplit.c, dlls/quartz/dsoundrender.c, dlls/quartz/memallocator.c, dlls/quartz/videorenderer.c: Christian Costa Fixed MediaSample passing. This is the upstream filter that releases it. Set ppMediaType to NULL when returning S_FALSE in IMediaSample_GetMediaType (required by native Quartz dll). Added support for 32-bit depth source in video renderer. * dlls/oleaut32/tmarshal.c: Bill Medland Fully initialise the structure to prevent ill-defined behaviour. * dlls/mscms/Makefile.in, dlls/mscms/mscms.spec, dlls/mscms/profile.c, dlls/mscms/stub.c, dlls/mscms/tests/profile.c, include/icm.h: Hans Leidekker Stub implementations for all documented functions. * dlls/rsaenh/rsaenh.c: Michael Jung Respect sDescription parameter in CPSignHash and CPVerifySignature. * dlls/comctl32/datetime.c: Robert Shearman - Make the month calendar child window auto-size instead of using a hard coded 200px. - Use SetFocus when the control is clicked on to get the correct behaviour when another control clicked on. - Force the WS_EX_CLIENTEDGE style, instead of emulating it. * dlls/user/tests/msg.c: Rein Klazes - make sure that tests marked as todo_wine and actually succeed under wine will be counted as failures - remove todo_wine from a bunch of tests - log the line numbers of the actual tests, not those of a helper function. * dlls/comctl32/listview.c: Ulrich Czekalla Add partial handler for WM_PRINTCLIENT. * include/rpc.h, include/rpcndr.h: Peter Berg Larsen Remove compiler warnings for the # not being at the start of the line. * tools/winedump/main.c, tools/winedump/search.c, tools/winedump/winedump.h: Peter Berg Larsen Allow several -I parameters to be given - currently just the last is used. Remove obvious wrong binaries when searching for the definition of a functions definition. Really just strip a '.dll' extension and not also '.dll.foorbar.spec'. * tools/winedump/function_grep.pl: Peter Berg Larsen Warzone 2100 has in a header a definition that ends with a slash. As '.' does not include '\n' winedump keeps looking ahead until eof. 2004-12-17 Alexandre Julliard * dlls/ntdll/reg.c, dlls/ntdll/rtl.c, dlls/ntdll/rtlbitmap.c, dlls/ntdll/sec.c, dlls/ntdll/string.c, dlls/ntdll/sync.c, dlls/ntdll/tests/error.c, dlls/ntdll/tests/large_int.c, dlls/ntdll/tests/rtl.c, dlls/ntdll/tests/string.c, dlls/ntdll/version.c, dlls/ntdll/wcstring.c: Jon Griffiths Remove unneeded headers to reduce unneeded rebuilds. * dlls/x11drv/x11drv.h: Rémi Assailly - removed unused tagPALETTEOBJ and tagWINDOWPOS - tagBITMAPOBJ is declared twice, removed one. * dlls/shell32/iconcache.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shlexec.c, dlls/shell32/shlfileop.c, include/shellapi.h: Remove some no longer needed AW functions. * dlls/oleaut32/tests/vartype.c: Expand the COPYTEST macro to avoid trouble with 64-bit types. * dlls/shlwapi/ordinal.c, dlls/shlwapi/stopwatch.c, dlls/shlwapi/tests/clsid.c, dlls/shlwapi/tests/ordinal.c: Jon Griffiths Remove unneeded headers to reduce unneeded rebuilds. * dlls/wined3d/wined3d_private.h: Raphael Junqueira Fixed build problem with GL_VERSION_1_2. * dlls/ntdll/version.c: Vincent Béron Better detect a dll's Windows version. * dlls/shell32/shell32.spec: Rein Klazes ShellExecuteEx, ExtractIconEx, SHFileOperation, SHGetFileInfo, SHGetPathFromIDList spec entries always refer to the Ansi version. Problem found by Paul Vriens. * dlls/winmm/lolvldrv.c: Robert Reif Return flag for DRVM_MAPPER_PREFERRED_GET. * include/mmddk.h: Robert Reif Added a missing define. * dlls/kernel/module.c: Andreas Mohr Fixed a typo. * dlls/kernel/path.c, include/winbase.h: Andreas Mohr GetTempPath*() uses DWORD parameters instead of UINT. * dlls/oleaut32/typelib.c: Huw Davies Fix comment to reflect reality and indeed the code. * include/objidl.idl: Serge S. Spiridonoff IMessageFilter::HandleIncomingCall must be HandleInComingCall as per MS headers. * dlls/user/static.c: Robert Shearman Implement SS_CENTERIMAGE for static control. * dlls/comctl32/treeview.c: Robert Shearman - Add code for hot tracking. - Draw hot items with underline and with highlight colour with TVS_TRACKSELECT style. - Set cursor to hand cursor with TVS_TRACKSELECT style. - Make sure uInternalStatus is consistent with actual scrollbar state by forcing scrollbars off in WM_CREATE handler. * dlls/comctl32/datetime.c: Robert Shearman - Implement WM_ENABLE handler to update cached control style when the control is disabled. - Move background drawing into WM_ERASEBKGND handler and draw the background differently when disabled. - Change WM_PAINT handler to draw text with transparent background and with the correct colour for the style. - Initialize selected field to -1 instead of 0 so that the control notices when field 0 is selected. * dlls/user/tests/win.c, dlls/x11drv/mouse.c: Dmitry Timoshkov Add a mouse input test case, make the test pass under Wine. 2004-12-16 Alexandre Julliard * dlls/ntdll/version.c: Ivan Leo Puoti Better EXE version check in VERSION_GetLinkedDllVersion. * dlls/unicows/Makefile.in, dlls/unicows/main.c, dlls/unicows/unicows.spec: Added a few functions that are now implemented. * dlls/shell32/changenotify.c, dlls/shell32/cpanelfolder.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.c, dlls/shell32/shellreg.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlexec.c, dlls/shell32/shlfolder.c, dlls/shell32/shlfsbind.c, dlls/oleaut32/ole2disp.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib16.c, dlls/oleaut32/typelib2.c, dlls/gdi/bitmap.c, dlls/gdi/icm.c, dlls/gdi/wing.c: Jon Griffiths Remove unneeded headers to reduce unneeded rebuilds. * documentation/README.fr: Vincent Béron Update FreeBSD infos. * dlls/netapi32/netbios.c: Juan Lang In Netbios(), - set ncb_retcode and ncb_cmd_cplt for NCB_ADDNAME - always make sure adapters have been enumerated. * dlls/version/tests/info.c: Stefan Leichter Fixed tests of GetFileVersionInfoSizeA for win2k3. * dlls/msi/sql.y: Aric Stewart Let negative number be parsed correctly. Needed for accessing actions with sequences such as -1. * dlls/msi/package.c: Vitaly Lipatov Add ScreenX, ScreenY, ColorBits installer properties. * dlls/msi/action.c, include/msiquery.h: Vitaly Lipatov Add description for MsiGetMode, MSIRUNMODE constants. * dlls/quartz/avisplit.c, dlls/quartz/filtergraph.c, dlls/quartz/pin.c, dlls/quartz/systemclock.c, dlls/quartz/tests/filtergraph.c: Christian Costa Many fixes to the system clock implementation. Ensure there is a clock before doing any AddRef or Release in the AVI splitter. Improved tests a bit. Misc fixes and traces clean-up. * dlls/ole32/ifs.c: Ge van Geldorp Allocate correct amount of memory. * tools/wineprefixcreate.in: Dmitry Timoshkov Allow wineprefixcreate to run to the end when configuring from the source tree. 2004-12-15 Alexandre Julliard * dlls/advapi32/crypt.c, dlls/advapi32/crypt_md4.c, dlls/advapi32/crypt_md5.c, dlls/advapi32/crypt_sha.c, dlls/comctl32/flatsb.c, dlls/comctl32/smoothscroll.c, dlls/comctl32/syslink.c, dlls/comctl32/tests/dpa.c, dlls/kernel/ne_module.c, dlls/kernel/powermgnt.c, dlls/kernel/time.c, dlls/kernel/utthunk.c: Jon Griffiths Remove unneeded headers to reduce unneeded rebuilds. * dlls/advpack/advpack.c, dlls/advpack/advpack.spec, dlls/dciman32/dciman32.spec, dlls/dciman32/dciman_main.c, dlls/msimg32/msimg32.spec, dlls/msimg32/msimg32_main.c, dlls/winspool/winspool.drv.spec: It makes no sense to export the dll entry point as stub. * README, libs/wine/mmap.c: Gerald Pfeifer Make us work on FreeBSD again by working around their different mmap() implementation. * dlls/shlwapi/tests/ordinal.c: Stefan Leichter Fixed tests of GetAcceptLanguagesA for win98. * dlls/shlwapi/tests/shreg.c: Jon Griffiths Use the A version of calls when passing ASCII strings. * include/gdi.h: Rémi Assailly PC_SYS_MAPPED is unused, remove it. * dlls/shlwapi/wsprintf.c: Jon Griffiths Include shlwapi.h to get prototypes, and correct 2 wrong ones. * dlls/kernel/process.c: Jon Griffiths Documentation fixes. * dlls/kernel/console.c, server/process.c: Rein Klazes A starting process must obey the STARTF_USESTDHANDLES flag and use the standard io handles from the StartupInfo structure, even if it is starting a new console. * dlls/oleaut32/oleaut32.rc, dlls/oleaut32/oleaut32_Ru.rc: Dmitry Timoshkov Add Russian translations. 2004-12-14 Alexandre Julliard * dlls/kernel/except.c, dlls/ntdll/exception.c, dlls/ntdll/loader.c, programs/winedbg/winedbg.c: Generate stub entries on the fly for missing entry points instead of returning a deadbeef pointer. * dlls/kernel/kernel32.spec, dlls/kernel/lcformat.c: Ken Belleau Implemented EnumCalendarInfo(A/W/ExA/ExW). * dlls/ole32/marshal.c: Robert Shearman - Add documentation to several functions. - Coding style changes according to the style Mike and I have agreed upon for COM related files. * dlls/ole32/compobj.c, dlls/ole32/marshal.c, dlls/ole32/memlockbytes.c, dlls/ole32/rpc.c: Robert Shearman Remove unneeded includes and the unused COMPOBJ_hInstance32 variable. * dlls/advapi32/advapi.c: James Hawkins Minor documentation addition. * dlls/advapi32/crypt.c: James Hawkins Cleanup some documentation. * dlls/ole32/marshal.c: Robert Shearman Use OBJREF on the wire for generic marshaling functions. * dlls/msvcrt/msvcrt.h, dlls/msvcrt/process.c: Juan Lang Implement _popen and _pclose, and use debugstr_a to avoid a crash tracing long command lines. * dlls/msvcrt/data.c: Juan Lang Use debugstr_a to avoid crash tracing long command line. * dlls/msvcrt/file.c: Juan Lang - make file functions (mostly) thread-safe - update a couple traces * dlls/d3d9/device.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/drawprim.c, dlls/wined3d/stateblock.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades Add Clear, Present and EndScene support and fix a bug in the drawing code. * windows/msgbox.c: Thomas Weidenmueller MessageBoxIndirectA() should check whether the MB_USERICON bit is set to prevent an exception. * dlls/msacm/msg711/msg711.c: Robert Reif Fix a typo that didn't allow pcm to mulaw conversions. * dlls/oleaut32/tmarshal.c, dlls/rpcrt4/ndr_midl.c: Robert Shearman Implement RPC_E_DISCONNECTED in proxies. * programs/winefile/winefile.c: Piotr Caban Fixed display bug. * documentation/winelib-bindlls.sgml, documentation/winelib-intro.sgml, documentation/winelib-toolkit.sgml: Francois Gouget Remove references to ./configure and Makefile.in files. * dlls/mscms/tests/profile.c, dlls/msvcrt/tests/file.c, dlls/rsaenh/tests/rsaenh.c, dlls/user/tests/msg.c: Francois Gouget Add trailing '\n's to ok() calls. * tools/findfunc, tools/font_convert.sh: Francois Gouget Use '=' instead of '==' in /bin/sh scripts to avoid portability problems. * dlls/cabinet/cabinet_main.c, dlls/gdi/region.c, dlls/rsaenh/rsaenh.c, dlls/shlwapi/string.c, dlls/shlwapi/url.c, dlls/x11drv/palette.c, dlls/x11drv/window.c: Michael Stefaniuc Missing HeapFree's + 1 LocalFree (found by smatch). * dlls/ole32/hglobalstream.c: Robert Shearman Fixed incorrect unsigned test. 2004-12-13 Alexandre Julliard * dlls/comctl32/tests/imagelist.c, dlls/devenum/createdevenum.c, dlls/devenum/devenum_private.h, dlls/dsound/tests/dsound_test.h, dlls/glu32/glu.c, dlls/kernel/tests/pipe.c, dlls/kernel/tests/thread.c, dlls/msacm/wineacm.h, dlls/msi/sql.y, dlls/msvcrt/msvcrt.h, dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/ifs.h, dlls/ole32/moniker.c, dlls/ole32/ole2.c, dlls/ole32/oleobj.c, dlls/oleaut32/typelib.c, dlls/richedit/reader.c, dlls/richedit/rtf2text.h, dlls/shell32/undocshell.h, dlls/uxtheme/uxthemedll.h, dlls/winaspi/aspi.c, dlls/winaspi/winescsi.h, dlls/winedos/vga.h, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/winspool/wspool.c, include/imm.h, include/msi.h, include/msvcrt/eh.h, include/msvcrt/stddef.h, include/msvcrt/stdlib.h, include/shlwapi.h, include/uxtheme.h: Eric Pouech Fixed some errors in function prototypes. * dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, dlls/ntdll/sync.c, dlls/ntdll/time.c, include/wine/server_protocol.h, include/winternl.h, server/protocol.def, server/request.h, server/timer.c, server/trace.c: Robert Shearman Implement NtQueryTimer. * programs/winhelp/Makefile.in, programs/winhelp/callback.c, programs/winhelp/hlpfile.c, programs/winhelp/macro.c, programs/winhelp/macro.h, programs/winhelp/macro.lex.l, programs/winhelp/winhelp.c, programs/winhelp/winhelp.h: Eric Pouech - added support plug-in DLLs for winhelp - added preliminary support for plug-in callback into winhelp - rewrote all the macros accordingly (macro entry-point has to have WINAPI calling convention) - some fixes for embedded images decompression - misc cleanups * dlls/d3d9/device.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/drawprim.c, dlls/wined3d/stateblock.c, dlls/wined3d/utils.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades Add {G,S}etRenderState and {G,S}etTextureStageState support, and ensure the stateblock is fully populated at device startup. * dlls/msacm/pcmconverter.c: Robert Reif Make the PCM conversion routines of msacm produce identical results to the native dll. Allow any PCM to PCM conversion, not just advertised ones. * dlls/oleaut32/oaidl_p.c: Hans Leidekker Fix compilation with GCC 4. * dlls/rsaenh/implglue.c, dlls/rsaenh/rsaenh.c, dlls/rsaenh/tests/rsaenh.c: Michael Jung Implemented CPSignHash and CPVerifySignature. Added tests for CPVerifySignature. Fixed minor bugs in implglue.c. * dlls/mscms/icc.c, dlls/mscms/mscms.spec, dlls/mscms/mscms_priv.h, dlls/mscms/profile.c, dlls/mscms/tests/profile.c, include/icm.h: Hans Leidekker Test and implement SetColorProfileElement. Document more functions. * dlls/iphlpapi/ifenum.c, dlls/iphlpapi/ifenum.h, dlls/iphlpapi/iphlpapi_main.c, dlls/iphlpapi/ipstats.c, dlls/iphlpapi/ipstats.h: Juan Lang - use Heap functions rather than libc for mem allocation - document a bunch of functions * dlls/setupapi/queue.c: Gerald Pfeifer Use proper type for fourth parameter to VerQueryValueW(). * fonts/wine_courier.sfd, fonts/wine_sans_serif.sfd, fonts/wine_system.sfd: Dmitry Timoshkov Add my name to the fonts copyright string. * dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c: Christian Costa Handle device class in DX8 enumeration (found by Robert Reif). Fixed remaining DX8 device types. Factorized a bit GetCapabilities for keyboard and mouse. * include/amstream.idl, include/mlang.idl: Jacek Caban Added CMultiLanguage and AMMultiMediaStream coclass declarations. * dlls/gdi/freetype.c: Huw Davies Fix always false test. Spotted by Eric Pouech. * dlls/winedos/int21.c, dlls/itss/storage.c: Eric Pouech Fixed copy&paste error. * dlls/dplayx/dplayx_messages.c, dlls/wininet/utility.c: Eric Pouech Fixed array index overflow. * tools/winemaker: Michael Jung Fixed compilation with perl 5.8. 2004-12-10 Alexandre Julliard * dlls/comctl32/comctl32undoc.c, dlls/comctl32/tests/.cvsignore, dlls/comctl32/tests/Makefile.in, dlls/comctl32/tests/mru.c: Jon Griffiths Implement the remaining MRU functions, fix a couple of differences from native comctl32, add tests of MRU behaviour and documentation. * dlls/msvcrt/file.c, dlls/msvcrt/main.c, dlls/msvcrt/msvcrt.spec, dlls/msvcrt40/msvcrt40.spec: Rein Klazes - implement __pioinfo, __badioinfo and _adjust_fdiv - remove all stubs of data item from the spec file, those actually may hide problems. * dlls/msi/msi.c, dlls/msi/msiquery.c, dlls/msi/table.c: Michael Stefaniuc Add missing HeapFree's (found by smatch). 2004-12-09 Alexandre Julliard * dlls/user/combo.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c: Added some sanity checks on window dimensions. * dlls/ntdll/directory.c: Fixed read_directory_getdents for large directories (found by Rein Klazes). * dlls/advapi32/service.c: Alexander Yaworsky Check service database name in OpenSCManager(). * dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.spec: Juan Lang - implement _dup, _dup2, and _pipe - make max file descriptors 2048 to match MS - increase max file streams to match * dlls/avifil32/avifile.c, dlls/comctl32/datetime.c, dlls/comctl32/tab.c, dlls/commdlg/printdlg.c, dlls/d3d8/device.c, dlls/d3d8/drawprim.c, dlls/d3d8/utils.c, dlls/d3d8/vshaderdeclaration.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/mesa.c, dlls/dmime/performance.c, dlls/dmloader/classfactory.c, dlls/dmloader/loader.c, dlls/dsound/sound3d.c, dlls/itss/chm_lib.c, dlls/kernel/tests/locale.c, dlls/msvcrt/lock.c, dlls/ole32/compositemoniker.c, dlls/ole32/storage32.c, dlls/quartz/systemclock.c, dlls/serialui/confdlg.c, dlls/shell32/shellole.c, dlls/user/menu.c, dlls/winaspi/winaspi16.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/drawprim.c, dlls/wineps/glyphlist.c, dlls/winmm/mciwave/mciwave.c, programs/regedit/framewnd.c, programs/uninstaller/main.c, windows/winproc.c: Janitorial: C booleans must not be compared against TRUE. * dlls/user/Makefile.in, dlls/user/sysparams.c, dlls/user/user_main.c, dlls/user/user_private.h, windows/sysmetrics.c, windows/sysparams.c: Merged system metrics support into sysparams.c, and moved that file to the dlls/user directory. * dlls/dmcompos/chordmap.c, dlls/dmcompos/chordmaptrack.c, dlls/dmcompos/composer.c, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/dmcompos_private.h, dlls/dmcompos/signposttrack.c: James Hawkins Properly implement DllCanUnloadNow ref counting. * dlls/shell32/shell32_Es.rc: José Manuel Ferrer Ortiz Added some Spanish translations. * dlls/gdi/gdi32.spec, windows/nonclient.c: Remove a few no longer needed 16-bit exports from gdi32. * dlls/ttydrv/dc.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/wnd.c: Use an escape mechanism similar to the x11drv one to set the DC origin. * dlls/d3d9/device.c, dlls/wined3d/Makefile.in, dlls/wined3d/device.c, dlls/wined3d/drawprim.c, dlls/wined3d/utils.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades Add {G,S}etIndices, {G,S}Viewport and enable the basic drawing functionality into wined3d and call from d3d9. * dlls/shell32/shell32_Ca.rc, dlls/shell32/shell32_Cn.rc, dlls/shell32/shell32_Cs.rc, dlls/shell32/shell32_Da.rc, dlls/shell32/shell32_De.rc, dlls/shell32/shell32_En.rc, dlls/shell32/shell32_Eo.rc, dlls/shell32/shell32_Es.rc, dlls/shell32/shell32_Fi.rc, dlls/shell32/shell32_Fr.rc, dlls/shell32/shell32_Hu.rc, dlls/shell32/shell32_It.rc, dlls/shell32/shell32_Ja.rc, dlls/shell32/shell32_Ko.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_Si.rc, dlls/shell32/shell32_Sk.rc, dlls/shell32/shell32_Sv.rc, dlls/shell32/shell32_Uk.rc, dlls/shell32/shell32_Wa.rc, dlls/shell32/shell32_Zh.rc, dlls/shell32/shell32_main.c: Klemens Friedl More Windows-like About dialog. * dlls/gdi/tests/metafile.c: Walt Ogburn Added some tests for win-format metafiles. * dlls/devenum/mediacatenum.c: Christian Costa Initialize the hkey member when creating the propery bag object. * dlls/oleaut32/typelib.c: Huw Davies Remove the remaining dependencies on internal structures from Invoke. 2004-12-08 Alexandre Julliard * dlls/imm32/imm.c: Revert previous change since it causes a crash in desktop mode. * dlls/user/painting.c: Rein Klazes GetUpdateRect can be called with a NULL rect. * dlls/user/message.c, dlls/user/user32.spec, include/winuser.h: Mike McCormack Stub implementation for GetLastInputInfo. * dlls/comctl32/syslink.c: Thomas Weidenmüller Free allocated font handles when control is destroyed. * dlls/quartz/systemclock.c: Christian Costa Allocate the proper size for the SystemClock object. * dlls/oleaut32/typelib.c: Huw Davies GetTypeAttr should deep copy the typedesc. * dlls/user/button.c, dlls/user/combo.c, dlls/user/comm16.c, dlls/user/controls.h, dlls/user/desktop.c, dlls/user/dialog16.c, dlls/user/display.c, dlls/user/edit.c, dlls/user/focus.c, dlls/user/hook.c, dlls/user/hook16.c, dlls/user/listbox.c, dlls/user/menu.c, dlls/user/message.c, dlls/user/message.h, dlls/user/msg16.c, dlls/user/resource.c, dlls/user/scroll.c, dlls/user/static.c, dlls/user/text.c, dlls/user/uitools.c, dlls/user/user16.c, dlls/user/user_main.c, dlls/user/user_private.h, dlls/user/wnd16.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c, include/user.h, include/win.h, windows/class.c, windows/clipboard.c, windows/cursoricon.c, windows/dce.c, windows/defwnd.c, windows/dialog.c, windows/input.c, windows/mdi.c, windows/message.c, windows/msgbox.c, windows/nonclient.c, windows/queue.c, windows/scroll.c, windows/spy.c, windows/syscolor.c, windows/sysmetrics.c, windows/sysparams.c, windows/user.c, windows/win.c, windows/winpos.c, windows/winproc.c: Moved private USER definitions to a new user_private.h header, and removed the global user.h. * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c: Robert Shearman - Make the wine_marshal_id structure more like the DCOM OBJREF structure, by replacing the process id field by apartment id (OXID), changing the users of the process id field to use the new field and renaming the objectid field to oid. - Fix StdMarshalImpl_UnmarshalInterface to invalidate and release its stub when doing a same apartment marshal. * dlls/oleaut32/typelib.c: Huw Davies Fix return value of GetVarIndexOfMemId. * dlls/user/kbd16.c, dlls/user/mouse16.c, dlls/user/user16.c, windows/clipboard.c, windows/input.c, windows/syscolor.c, windows/sysmetrics.c, windows/user.c: Moved some more 16-bit USER functions to the corresponding 16-bit files. * dlls/user/Makefile.in, dlls/user/user_main.c, include/user.h, windows/painting.c: Moved palette functions to user_main.c and removed windows/painting.c. * dlls/ntdll/directory.c: Gerald Pfeifer Avoid a warning on FreeBSD. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Mike McCormack Stub implementations for Lsa(Store/Retrieve)PrivateData. * dlls/advapi32/service.c: Alexander Yaworsky Notify StartService when service control dispatcher has been started. Otherwise StartService terminates service process. * dlls/oleaut32/variant.c, include/wtypes.idl: Robert Shearman Make the DECIMAL_SETZERO macro take a DECIMAL instead of a DECIMAL* as in the Microsoft headers and fix up the only caller. * dlls/winmm/winemm.h, dlls/winmm/winmm.c, include/dsound.h, include/mmsystem.h: Ge van Geldorp Match PSDK definitions for LPCWAVEFORMATEX. * dlls/shlwapi/tests/ordinal.c: Stefan Leichter Fixed tests of GetAcceptLanguagesA for win9x/ME. * dlls/netapi32/nbt.c: Juan Lang Convert some registry calls from A to W. * dlls/urlmon/tests/url.c, dlls/urlmon/umon.c: Jacek Caban - Implemented CreateAsyncBindCtx. - Added test. * dlls/winmm/winejack/Makefile.in, dlls/winmm/winejack/audio.c: Michael Jung Fixed linking issues. * tools/c2man.pl: Jon Griffiths Param descriptions can be >1 lines. Allow '-' in comment names, convert it to space on display. Allow struct members to be documented (automatically, one day). Allow for many comments which start with "name (dll.ord) description". * include/commctrl.h: Jon Griffiths Unicode fixes. * dlls/user/hook.c: Dmitry Timoshkov Indicate that support for HCBT_SYSCOMMAND hooks is implemented. 2004-12-07 Alexandre Julliard * dlls/user/tests/msg.c: Added a bunch of tests for various behaviors of RedrawWindow. * dlls/ttydrv/wnd.c, dlls/user/painting.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h, include/win.h, include/wine/server_protocol.h, server/protocol.def, server/request.h, server/trace.c, server/window.c, windows/painting.c, windows/win.c: Moved update region handling to the server. * configure, configure.ac, include/config.h.in, tools/winebuild/main.c, tools/winegcc/winegcc.c: Paul Millar Check for features missing in mingw environment, allowing tools subdirectory to be cross-built again. * dlls/msvcrt/file.c: Juan Lang Flush file in fputc when character is '\n'. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c: Mike Hearn Rename the STUBMGR thread to more accurately reflect its purpose. * dlls/oleaut32/typelib.c: Huw Davies Remove Invoke's dependence on the internal TLBFuncDesc structure. Fix memory leaks in some failure cases. * tools/wrc/genres.c: Removed an unused function. * dlls/ntdll/Makefile.in, dlls/ntdll/handletable.c, dlls/ntdll/ntdll.spec, dlls/ntdll/tests/rtl.c, include/winternl.h: Robert Shearman Implement handle tables and add tests for them. * dlls/mscms/Makefile.in, dlls/mscms/icc.c, dlls/mscms/mscms.spec, dlls/mscms/mscms_priv.h, dlls/mscms/profile.c, dlls/mscms/tests/profile.c, include/icm.h: Hans Leidekker Move ICC profile handling into its own file. Test GetColorProfileFromHandle and SetColorProfileHeader. Test and partially implement {G,S}etStandardColorSpaceProfile{A,W}. Improve existing tests and fix any bugs they revealed. * dlls/devenum/createdevenum.c, dlls/devenum/devenum_main.c, dlls/devenum/devenum_private.h, dlls/devenum/factory.c, dlls/devenum/mediacatenum.c, dlls/devenum/parsedisplayname.c: Robert Shearman Clean up devenum and properly implement DllCanUnloadNow ref counting. * dlls/winmm/winejack/audio.c: Fixed compile error. * dlls/d3d9/basetexture.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/resource.c, dlls/wined3d/Makefile.in, dlls/wined3d/basetexture.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades Add BaseTexture class support, call from d3d9. * dlls/comctl32/datetime.c, dlls/comctl32/rebar.c, dlls/comctl32/tooltips.c: Filip Navara - Don't use DrawEdge with NULL device context, it's invalid call and sets last error. - Tooltip icons must be destroyed with DestroyIcon and not with DeleteObject. - Rebar cursors must be destroyed with DestroyCursor and not with DeleteObject. * dlls/advapi32/service.c: Alexander Yaworsky Implemented RegisterServiceCtrlHandler, ControlService. * dlls/dsound/dsound.c: Tomas Vanek Fixed no memory condition test in IDirectSoundImpl_Create. * dlls/kernel/sync.c: Juan Lang Use W calls rather than A in CreatePipe. * dlls/dinput/dinput_main.c, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c: Christian Costa Fixed enumeration of joysticks in DX8. Fixed some traces. * dlls/oleaut32/typelib.c: Huw Davies GetFuncIndexOfMemId should respect invkind and return TYPE_E_ELEMENTNOTFOUND if the function cannot be found. 2004-12-06 Alexandre Julliard * dlls/winmm/joystick.c, dlls/winmm/joystick/Makefile.in, dlls/winmm/joystick/joystick.c, dlls/winmm/message16.c, dlls/winmm/mmsystem.c, dlls/winmm/playsound.c, dlls/winmm/winmm.c, dlls/winmm/midimap/midimap.c, dlls/winmm/wavemap/wavemap.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/audio_05.c, dlls/winmm/winealsa/midi.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/audio.c, dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/audio.h, dlls/winmm/wineoss/dscapture.c, dlls/winmm/wineoss/dsrender.c, dlls/winmm/wineoss/midi.c, dlls/winmm/wineoss/mixer.c, dlls/winmm/wineoss/mmaux.c: Eric Pouech Filip Navara 32 bit low level drivers now use a Unicode interface (used to be ANSI): - Send the *_GETDEVCAPS messages in unicode format from the *GetDevCapsW function and call the *GetDevCapsW from their respective Ansi versions. - Modify all low level drivers to correctly process the *_GETDEVCAPS messages as unicode. - *_GETDEVCAPS messages are now mapped from/to unicode for 16 bit code. - Removed all SoundBlaster naming oldies. Better use of some unicode functions (instead of Ansi) in winmm. * dlls/d3d9/vertexshader.c, include/user.h, libs/unicode/utf8.c, programs/wcmd/directory.c, server/object.c, server/trace.c, tools/widl/parser.l, tools/widl/typelib.c, tools/winedump/main.c, tools/winedump/ne.c, tools/winedump/pe.c, tools/winedump/search.c, tools/wmc/lang.c, tools/wmc/mcl.c, windows/cursoricon.c, windows/dialog.c, windows/mdi.c, windows/spy.c: Eric Pouech Another round of const correctness fixes. * dlls/imm32/imm.c: Ivan Leo Puoti Register the IME class when imm32.dll is loaded. * dlls/advapi32/tests/crypt.c: Stefan Leichter Fix missing imports on NT4. * dlls/dsound/propset.c: Robert Reif Return the actual device interface name. Fixes some memory leaks. * dlls/x11drv/keyboard.c: Jean-Michel Dault Added another Canadian keyboard layout. * dlls/winsock/socket.c: Fixed a leak in getsockname. Replaced malloc by HeapAlloc. * dlls/ntdll/directory.c: Use a direct getdents syscall on Linux to avoid relying on implementation details of seekdir/telldir. * tools/fnt2bdf.c, tools/winedump/pe.c, tools/winegcc/winegcc.c, tools/wrc/dumpres.c, tools/wrc/genres.c, tools/wrc/readres.c: Eric Pouech Another couple of missing static definitions. * documentation/configuring.sgml, documentation/faq.sgml, documentation/running.sgml: Diego Pettenò Updated the documentation telling to use the HKEY_CURRENT_USER/Environment key instead of the [wine] section for Path, Temp and System variables. * dlls/user/tests/msg.c, dlls/x11drv/winpos.c: Dmitry Timoshkov ShowWindow activates only a being maximized child window, add a couple of message tests for MDI child activation. * programs/winedbg/debugger.h, programs/winedbg/memory.c: Jeremy White Properly respect a disassemble x,y command (prior behavior would do y-x instructions, no matter how wide each instruction was). * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/ddraw/hal.c: Dmitry Timoshkov Avoid crashes in ddraw.dll when loading it without x11drv, for instance from wineprefixcreate in a text mode console. * dlls/setupapi/devinst.c, dlls/setupapi/setupapi.spec: Mike McCormack Stub implementation for SetupDiOpenDeviceInterface. * dlls/msi/record.c: Ulrich Czekalla Set the out buffer count to zero on read error. * dlls/msi/table.c: Mike McCormack Fix transposition of 4 byte values when reading in table data from storage. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, dlls/advapi32/service.c: Mike McCormack Stub implementations for DecryptFile, EncryptFile and GetServiceDisplayName. * dlls/comctl32/commctrl.c: Eric Kohl DrawStatusText() must not process prefix characters. * programs/notepad/dialog.c: Juan Lang Send EM_SETMODIFY after saving. * dlls/msvcrt/file.c: Juan Lang Set st_mode bits in _fstati64. * include/winuser.h: Rémi Assailly Added two missing styles. * dlls/d3d8/shader.c: Christian Costa S/W vshader fixes (spotted by Eric Pouech). * windows/mdi.c: Filip Navara Don't call SetScrollInfo with SB_BOTH bar type. * dlls/cabinet/fdi.c: Filip Navara Don't try to free pointer from union that isn't used. * dlls/msvcrt/process.c: Juan Lang msvcrt_spawn should free STARTUPINFOA's lpReserved2, not its address. * dlls/wintab32/context.c: Robert North <7ownq0k402@sneakemail.com> Set the values WTInfoA returns from screen size for CTX_SYSEXTX and CTX_SYSEXTY context fields, to match Windows behaviour. * configure, configure.ac, include/config.h.in: Vincent Béron Remove some unused tests. * dlls/ole32/clipboard.c, dlls/ole32/ole2.c, dlls/richedit/richedit.c, dlls/setupapi/virtcopy.c, dlls/shell32/shlview.c, dlls/shell32/systray.c, dlls/user/tests/input.c, programs/rundll32/rundll32.c, programs/view/init.c: Robert Shearman Remove unnecessary WNDPROC casts. * dlls/quartz/filtergraph.c: Christian Costa Better handling of errors in RenderFile. * dlls/shell32/tests/shlfileop.c: Stefan Leichter Fix missing imports of the test program on NT4. * include/objbase.h: Robert Shearman Remove duplicate function declaration. * dlls/dsound/buffer.c, dlls/dsound/propset.c: Robert Reif Always create a property set for secondary buffers. * dlls/dbghelp/pe_module.c: James Hawkins Remove c++-style comment. * dlls/wininet/http.c: Mike McCormack Make sure to insert the proxy authentication header if necessary. * dlls/ntdll/time.c: Stewart Allen Added SAST (South African Standard Time), corrected CAT to Central African Time. * dlls/kernel/computername.c: Dmitry Timoshkov Perform host name initialization if computer name can't be read from registry. * dlls/rsaenh/implglue.c: Michael Jung Added a missing break in encrypt_block_impl. * dlls/advapi32/service.c: Alexander Yaworsky Implemented SetServiceStatus, QueryServiceStatus. * dlls/advapi32/tests/crypt.c: James Hawkins Only call test_set_provider_ex() once. * dlls/shell32/version.h: Juan Lang Revert shell32 version to Win2K SP4 level. 2004-12-02 Alexandre Julliard * dlls/oleaut32/typelib.c: Huw Davies Allocate the TYPEATTR rather than copying it. For a dual interface the dispinterface's cfuncs should include the inherited functions, cbSizeVft should just be the size of IDispatch's vtbl and we should strip TYPEFLAG_FOLEAUTOMATION. * documentation/PACKAGING: Jon Griffiths Spelling/grammar fixes. * tools/font_convert.sh: Jon Griffiths Use mktemp if we don't have tempfile. Use the installed version of fnt2bdf if present. Quote the pattern given to `find`. Copy the fonts to the temp working dir before processing. Always delete the temp directory before exiting. Install fonts compressed by default. * dlls/advapi32/service.c: Alexander Yaworsky Basic implementation of service control dispatcher. * tools/winebuild/main.c, tools/winegcc/winegcc.c: Clean up temp files also when killed by a signal. * dlls/msvcrt/cppexcept.c, dlls/msvcrt/except.c, dlls/msvcrt/tests/cpp.c, dlls/ntdll/signal_i386.c, dlls/ntdll/virtual.c, libs/wine/ldt.c, loader/kthread.c, loader/preloader.c, server/fd.c: Peter Chapman <9gfrye202@sneakemail.com> Fix up several inline assembler blocks so that they produce correct code with the -fomit-frame-pointer gcc flag. * dlls/advpack/advpack.c, dlls/setupapi/Makefile.in, dlls/setupapi/devinst.c, dlls/setupapi/parser.c, dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c, include/setupapi.h: Eric Kohl Implement SetupDiBuildClassInfoList(ExW), SetupDiClassGuidsFromName(W/ExW), SetupDiClassNameFromGuid(W/ExW), SetupDiGetActualSectionToInstallW, SetupDiGetClassDescription(W/ExW), SetupDiInstallClassW partially, SetupDiOpenClassRegKey(ExW), SetupOpenMasterInf. * dlls/kernel/sync.c, dlls/ntdll/ntdll.spec, dlls/ntdll/sync.c, include/wine/server_protocol.h, include/winternl.h, server/event.c, server/mutex.c, server/protocol.def, server/semaphore.c, server/timer.c, server/trace.c: Eric Pouech - moved event, semaphore, mutex implementation from kernel32 to ntdll - added mutant implementation in ntdll, and use it for mutex implementation in kernel32 - added access parameter on event, semaphore, timer creation in wineserver (as ntdll interface requires it) - added missing definitions in include/winternl.h * dlls/cabinet/cabextract.c: James Hawkins Fix cabextract memory leak. 2004-12-01 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20041201. ---------------------------------------------------------------- 2004-12-01 Alexandre Julliard * dlls/kernel/thread.c: Dmitry Timoshkov Always create a suspended thread in CreateThread and resume it if CREATE_SUSPENDED flag is not set as Windows does. * dlls/rsaenh/implglue.c, dlls/rsaenh/rsaenh.c: Michael Jung Moved code specific to CPGenKey, CPDeriveKey or CPImportKey from new_key into the respective functions. * dlls/ole32/compobj.c, dlls/ole32/marshal.c, dlls/ole32/ole32.spec, include/objbase.h: Robert Shearman - Add some function declarations to objbase.h. - Add stubs for server ref counting. - Implement HRESULT marshaling. * dlls/winmm/lolvldrv.c: Filip Navara - Check the return value from *_GETNUMDEVS message as per KB90562. - Fix typo in MMDRV_InstallMap. * dlls/advapi32/service.c: Alexander Yaworsky Introduced service thread. * include/wingdi.h: Rémi Assailly Add some mirroring defines. * dlls/user/text.c: Bill Medland If the buffer is no longer static the names should reflect that. Also minimise the use of the constant. * dlls/advapi32/advapi.c, dlls/advapi32/advapi32.spec: Mike McCormack Added a stub implementation for GetCurrentHwProfileW. * dlls/comctl32/animate.c: Ulrich Czekalla Prevent the animation thread from waiting on itself when it stops. 2004-11-30 Alexandre Julliard * dlls/advapi32/registry.c, dlls/advapi32/service.c, dlls/advapi32/tests/registry.c, dlls/cabinet/cabextract.c, dlls/crypt32/main.c, dlls/d3d8/device.c, dlls/d3d8/drawprim.c, dlls/d3d8/shader.c, dlls/d3d8/vshaderdeclaration.c, dlls/d3d9/pixelshader.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dlight.c, dlls/ddraw/helper.c, dlls/devenum/devenum_main.c, dlls/dplayx/dplobby.c, dlls/dpnet/address.c, dlls/gdi/driver.c, dlls/gdi/enhmfdrv/graphics.c, dlls/gdi/tests/metafile.c, dlls/imm32/imm.c, dlls/msdmo/dmoreg.c, dlls/msvcrt/dir.c, dlls/ole32/compobj.c, dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/oleaut32/typelib2.c, dlls/oledlg/insobjdlg.c, dlls/opengl32/wgl.c, dlls/quartz/avisplit.c, dlls/quartz/filtermapper.c, dlls/rpcrt4/cproxy.c, dlls/rpcrt4/ndr_marshall.c, dlls/setupapi/install.c, dlls/shell32/changenotify.c, dlls/shell32/debughlp.c, dlls/shell32/pidl.c, dlls/shell32/shellord.c, dlls/shell32/shlfolder.c, dlls/shell32/shpolicy.c, dlls/shlwapi/clist.c, dlls/shlwapi/url.c, dlls/user/exticon.c, dlls/user/msg16.c, dlls/user/resource.c, dlls/version/resource.c, dlls/winedos/ppdev.c, dlls/wineps/escape.c, dlls/wineps/init.c, dlls/winmm/mci.c, dlls/winspool/info.c, dlls/x11drv/dib.c, dlls/x11drv/dib_convert.c, dlls/x11drv/dib_dst_swap.c, dlls/x11drv/dib_src_swap.c, dlls/x11drv/init.c, dlls/x11drv/opengl.c, dlls/x11drv/palette.c, dlls/x11drv/xfont.c, dlls/x11drv/xrender.c, include/wine/server.h, libs/unicode/cptable.c, libs/unicode/wctomb.c, programs/rpcss/epmap_server.c, programs/taskmgr/dbgchnl.c, programs/uninstaller/main.c, programs/winefile/winefile.c, programs/winemenubuilder/winemenubuilder.c, server/debugger.c, server/registry.c: Eric Pouech Const correctness fixes. * windows/msgbox.c: Ivan Leo Puoti Implement task modal message boxes. * dlls/urlmon/sec_mgr.c, dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c, dlls/urlmon/urlmon_main.h, include/urlmon.idl: Jacek Caban - Added stub implementation of IInternetZoneManager interface. - Added implementation of CoInternetCreateZoneManager function. - Added stub implementation of UrlMkGetSessionOption and corrected declaration of UrlMkSetSessionOption. - Code cleanup. * dlls/mscms/handle.c, dlls/mscms/mscms.spec, dlls/mscms/mscms_priv.h, dlls/mscms/profile.c, dlls/mscms/tests/profile.c, include/icm.h: Hans Leidekker Infrastructure for handling ICC profiles. Always load color profiles into memory. Implement and test GetColorProfileElement and GetColorProfileHeader. Implement GetColorProfileFromHandle and SetColorProfileHeader. * dlls/wined3d/device.c: Adam D. Moss Fix compilation. * programs/winecfg/winecfg.c: Gerald Pfeifer Again rename getkey() and setkey() for FreeBSD. * dlls/wineps/bitmap.c: Huw Davies For a 15/16 bpp dib we send RGB triples to the printer so the size multiplier is 3 not 2. * dlls/rsaenh/Makefile.in, dlls/rsaenh/des.c, dlls/rsaenh/implglue.c, dlls/rsaenh/implglue.h, dlls/rsaenh/implossl.c, dlls/rsaenh/implossl.h, dlls/rsaenh/md2.c, dlls/rsaenh/mpi.c, dlls/rsaenh/rc2.c, dlls/rsaenh/rc4.c, dlls/rsaenh/rsa.c, dlls/rsaenh/rsaenh.c, dlls/rsaenh/tomcrypt.h: Michael Jung Incorporated LibTomCrypt code into rsaenh to get rid of OpenSSL dependencies. * dlls/comcat/comcat_main.c, dlls/d3dxof/main.c, dlls/mpr/mpr.spec, dlls/mpr/mpr_main.c, dlls/oleaut32/oleaut.c, dlls/olepro32/olepro32stubs.c: Jon Griffiths Ensure DllCanUnloadNow is a truly void function, and give it a unique name so it can be documented per-dll. * dlls/mapi32/Makefile.in, dlls/mapi32/imalloc.c, dlls/mapi32/mapi32.spec, dlls/mapi32/mapi32_main.c, dlls/mapi32/tests/.cvsignore, dlls/mapi32/tests/Makefile.in, dlls/mapi32/tests/imalloc.c, dlls/mapi32/tests/util.c, dlls/mapi32/util.c: Jon Griffiths Implement DllMain, DllCanUnloadNow, WrapProgress, MAPIGetDefaultMalloc, IsBadBoundedStringPtr, UFromSz, UlFromSzHex, CbOfEncoded. Add tests for the above. * dlls/comctl32/monthcal.c: Dmitry Timoshkov - Pass infoPtr around in month calendar control. - Add support for WM_SETFONT and WM_GETFONT messages. * dlls/advapi32/crypt.c, dlls/advapi32/tests/crypt.c, dlls/avifil32/avifile.c, dlls/comctl32/imagelist.c: James Hawkins Fixed a few memory leaks. * dlls/advapi32/service.c: Alexander Yaworsky Merge Unicode and ASCII versions of StartServiceCtrlDispatcher. Implement StartServiceCtrlDispatcherA on the top of StartServiceCtrlDispatcherW. Get rid of HEAP_strdupWtoA. * dlls/comctl32/toolbar.c: Robert Shearman Store the new style before redrawing and repositioning the control. * dlls/netapi32/netbios.c: Jon Griffiths Allow NCBRESET and NCBADDNAME to work even if there are no adapters. * windows/defwnd.c: Jon Griffiths GetModuleHandleA->GetModuleHandleW. * DEVELOPERS-HINTS: Jon Griffiths Use a FIXME style that will actually compile. * include/winuser.h: Dmitry Timoshkov Gather all DrawText flags together, convert them to hex for readability. * dlls/user/text.c: Dmitry Timoshkov DrawTextEx should allocate text buffer on stack for thread safeness. 2004-11-29 Alexandre Julliard * dlls/ntdll/env.c: Fixed RtlExpandEnvironmentStrings_U to not depend on the string being null-terminated (spotted by Alexander Yaworsky). * dlls/user/tests/msg.c: Mike McCormack Added some tests for timer functions. * dlls/user/Makefile.in, dlls/user/message.c, dlls/user/user_main.c, dlls/user/winproc.h, windows/timer.c, windows/win.c: Get rid of the client-side window timer structures. * include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/trace.c: Converted the timer list to use standard list functions. Allocate a timer id when the window is 0 instead of relying on the client to do it. Allow setting timers on windows belonging to other threads (found by Mike McCormack). * dlls/avifil32/api.c, dlls/avifil32/icmstream.c, dlls/commdlg/printdlg.c, dlls/wininet/internet.c, dlls/winmm/playsound.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/midi.c, dlls/winmm/winearts/audio.c, dlls/winmm/winenas/audio.c, programs/clock/main.c, programs/control/control.c, programs/taskmgr/dbgchnl.c, programs/view/view.c, programs/wcmd/builtins.c, programs/wineconsole/curses.c, programs/wineconsole/user.c, programs/winepath/winepath.c: Eric Pouech Made some functions and variables static. * documentation/introduction.sgml: Vincent Béron Fixed missing tag. * dlls/d3d9/device.c, dlls/wined3d/device.c, dlls/wined3d/indexbuffer.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades Implement Material, Clip plane and Light support plus MultiplyTransform. * dlls/kernel/tests/directory.c: Gunnar Dalsnes Added a test to make sure that CreateDirectoryA/W does not create multiple non-existing directories in the path given. * dlls/user/combo.c: Eric Kohl F4 key flips the listbox in default (not extended UI) mode. * dlls/quartz/avidec.c, dlls/quartz/avisplit.c: Christian Costa AVI decompressor: - Make copies of bitmap header from media type for input and output and update them when needed. - Fixed subtype for 32-bit depth in QueryAccept. AVI splitter: - Fixed handling of rec list. * programs/regedit/Cs.rc, programs/regedit/De.rc, programs/regedit/En.rc, programs/regedit/Es.rc, programs/regedit/Fr.rc, programs/regedit/It.rc, programs/regedit/Ja.rc, programs/regedit/Pl.rc, programs/regedit/Pt.rc: Jacek Caban Added some options to popup menu. * dlls/quartz/tests/filtergraph.c: Added missing CoInitialize. * dlls/ole32/errorinfo.c: Mike Hearn Trace the OLE error info strings. * dlls/ole32/compobj.c: Mike Hearn - Improve OLE function documentation. - Bail out with CO_E_NOTINITIALIZED when apt is null. * dlls/commdlg/filedlg.c, dlls/commdlg/filedlgbrowser.h: Mike McCormack CFM_GETSPEC always returns a space-separated list. 2004-11-28 Alexandre Julliard * dlls/user/msg16.c, dlls/user/winproc.h, dlls/user/wnd16.c, windows/class.c, windows/message.c, windows/timer.c: Take advantage of the new winproc handling to move some more functions to 16-bit files. TIMER_IsTimerValid is no longer necessary now that winprocs are never freed. * windows/winproc.c: Fixed is_valid_winproc to avoid being optimized out by recent gcc versions. * dlls/d3d8/device.c, dlls/d3d9/device.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/resource.c, dlls/wined3d/stateblock.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades Add Get/Set Transform support, plus BeginScene (does nothing). * dlls/msvcrt/tests/printf.c: Eric Pouech Fixed file name when opening NUL. * tools/wine.inf: Hajime Segawa Make folders open correctly in Windows Explorer. * documentation/PACKAGING: Marcus Meissner Updated PACKAGING howto. * dlls/wineps/ppd.c: Huw Davies Protect sscanfs with a "C" locale so that they still work with new glibcs in a locale doesn't use a '.' as a decimal separator. * dlls/kernel/file.c, dlls/kernel/tests/file.c, dlls/ntdll/file.c: Dmitry Timoshkov Add a test for ReadFile/WriteFile fault handling, make it pass under Wine. * dlls/user/edit.c, dlls/user/tests/edit.c: Ge van Geldorp - Fix vertical position of text in single-line edit controls. - Add tests for this. * dlls/wintab32/context.c: Robert North <7ownq0k402@sneakemail.com> - Ensure that if buffer pointer is null, queue is flushed. - Ensure that correct packets are copied into output buffer. - Use memmove when moving packets within queue, as source and dest will typically overlap. - When moving packets in queue, ensure correct number of packets are moved. * dlls/msi/msipriv.h, dlls/msi/package.c: Mike McCormack - Don't limit the size of the property that can be retrieved by MsiGetProperty. - Make MsiGetProperty A/W implementations more consistent. * programs/winecfg/drivedetect.c: Gerald Pfeifer Fix compilation on systems which do not have . 2004-11-24 Alexandre Julliard * dlls/user/winproc.h, windows/class.c, windows/defdlg.c, windows/timer.c, windows/win.c, windows/winproc.c: Changed winproc allocation to be based only on the procedure address, to avoid the need to keep track of winprocs for each window and class. * include/winuser.h: Eric Frias More portable POINTSTOPOINT macro. * include/wingdi.h: Prevent use of MAKEPOINTS in Wine code. * dlls/comctl32/comboex.c, dlls/comctl32/datetime.c, dlls/comctl32/listview.c, dlls/comctl32/rebar.c, dlls/comctl32/syslink.c, dlls/comctl32/trackbar.c, dlls/comctl32/updown.c, programs/regedit/listview.c, programs/winefile/winefile.c: Avoid using the MAKEPOINTS macro, it's broken on big endian. * dlls/d3d9/d3d9_private.h, dlls/d3d9/indexbuffer.c, dlls/d3d9/vertexbuffer.c, dlls/wined3d/Makefile.in, dlls/wined3d/device.c, dlls/wined3d/indexbuffer.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades Add indexbuffer support into wined3d. * dlls/ole32/ole2impl.c, dlls/ole32/ole2stubs.c: Robert Shearman Implement OleDuplicateData. * dlls/winspool/info.c: Mike McCormack Return correct error code in EnumPrinters. * dlls/commdlg/filedlg.c: Mike McCormack Fix ofn.nFileOffset when multiple files are selected. * dlls/gdi/brush.c, dlls/gdi/tests/.cvsignore, dlls/gdi/tests/Makefile.in, dlls/gdi/tests/brush.c: Kevin Koltzau CreateBrushIndirect should not return a stock brush. * dlls/gdi/mfdrv/bitblt.c: Dmitry Timoshkov Avoid some direct accesses to DC internals from metafile driver. * dlls/kernel/file.c: Dmitry Timoshkov Remove useless calls to IsBadReadPtr from ReadFile and WriteFile. 2004-11-23 Alexandre Julliard * dlls/user/message.c, dlls/user/tests/msg.c: Fixed handling of NULL pointer in PeekMessageW, with test (reported by Eric Frias). * configure, configure.ac, dlls/mscms/mscms_priv.h, include/config.h.in: Kevin Koltzau Look for lcms.h in lcms/lcms.h. * dlls/ntdll/loader.c: Append .dll extension in all cases (spotted by Mike Hearn). * dlls/amstream/version.rc, dlls/cards/version.rc, dlls/d3d8/version.rc, dlls/d3d9/version.rc, dlls/d3dim/version.rc, dlls/d3drm/version.rc, dlls/d3dxof/version.rc, dlls/ddraw/version.rc, dlls/devenum/devenum.rc, dlls/dinput/version.rc, dlls/dinput8/version.rc, dlls/dmband/version.rc, dlls/dmcompos/version.rc, dlls/dmime/version.rc, dlls/dmloader/version.rc, dlls/dmscript/version.rc, dlls/dmstyle/version.rc, dlls/dmsynth/version.rc, dlls/dmusic/version.rc, dlls/dmusic32/version.rc, dlls/dplay/version.rc, dlls/dplayx/version.rc, dlls/dpnet/version.rc, dlls/dpnhpast/version.rc, dlls/dsound/version.rc, dlls/dswave/version.rc, dlls/dxdiagn/version.rc, dlls/gdi/version.rc, dlls/hhctrl.ocx/version.rc, dlls/mpr/version.rc, dlls/msdmo/rsrc.rc, dlls/msi/version.rc, dlls/mswsock/version.rc, dlls/opengl32/version.rc, dlls/qcap/version.rc, dlls/quartz/version.rc, dlls/shell32/version16.rc, dlls/wininet/version.rc, dlls/winsock/version.rc, dlls/wsock32/version.rc: Tom Wickline Version resources cleanup. * dlls/d3d8/d3d8_main.c, dlls/d3d8/directx.c, dlls/d3d9/d3d9_main.c, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/vertexbuffer.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/resource.c, dlls/wined3d/stateblock.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/wined3d_main.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades - Implement SetStreamSource - Ensure wined3d objects maintain a reference count of at least that of the d3dx version. * programs/winecfg/En.rc, programs/winecfg/Makefile.in, programs/winecfg/appdefaults.c, programs/winecfg/drive.c, programs/winecfg/drivedetect.c, programs/winecfg/driveui.c, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c: Mike Hearn - More heapification. - Split drive code into core, UI and autodetect. - Implement drive autodetection. - Slight redesign of drive tab. - Code cleanup. * configure, configure.ac, include/config.h.in: Huw Davies We don't use DGA version 1 so remove the configure check for it. * dlls/x11drv/dib.c: Robert Shearman When changing from DIB_Status_GdiMod to DIB_Status_GdiMod, we have to set the previous status to DIB_Status_GdiMod, otherwise a non-committing unlock could incorrectly revert the DIB to another state, rather than the correct DIB_Status_GdiMod. * dlls/gdi/dc.c, dlls/gdi/gdi_private.h, dlls/gdi/gdiobj.c, dlls/gdi/tests/gdiobj.c: Jon Griffiths Set the miter limit in the DC state. Only SetLastError() in object functions where native does. Test the error comditions of the gdiobj functions. Minor documentation updates. * programs/msiexec/msiexec.c: Hans Leidekker Use string functions that are Windows locale aware. 2004-11-22 Alexandre Julliard * libs/wine/wine.def, libs/wine/wine.map: Eric Frias Export wine_pthread_get_current_teb. * libs/wine/port.c: Eric Frias Fix Sparc assembly code in wine_switch_to_stack. * tools/winegcc/winegcc.c: Pass DLLFLAGS to winebuild too. * tools/winapi/msvcmaker: Steven Edwards Define "WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600" for all the targets. * dlls/dbghelp/elf_module.c, dlls/dbghelp/symbol.c, dlls/dbghelp/type.c, programs/winedbg/symbol.c: Eric Pouech Fixed regressions introduced when moving addresses as 64bit values. * dlls/kernel/tests/process.c: Kevin Koltzau Prevent environment test from crashing when environment is large. * DEVELOPERS-HINTS: Tom Wickline Added advpack.dll, rsaenh.dll, strmiids.lib. * programs/msiexec/msiexec.c: Hans Leidekker Handle unknown parameters more gracefully. * windows/input.c: Eric Frias Fixed KEYLP structure for big endian. * dlls/kernel/path.c: Alexander Yaworsky Changed allocation of arguments in SearchPathA so path is not limited by size of TEB static buffer. * programs/winefile/winefile.c, programs/winefile/winefile.h: Martin Fuchs Unicodify string constants. * programs/winefile/splitpath.c: Martin Fuchs splitpath maintainance. * dlls/gdi/enhmetafile.c, dlls/gdi/enhmfdrv/objects.c, dlls/gdi/gdi_private.h: Jon Griffiths Support mono pattern brushes in EMF's. * dlls/gdi/mfdrv/objects.c: Jon Griffiths Avoid magic number. * dlls/gdi/bitmap.c: Jon Griffiths Implement CreateBitmap using CreateBitmapIndirect so we can handle funky alignment paddings. SetLastError() on failure, documentation cleanup. * tools/wrc/parser.y: Rein Klazes Allow negative numbers in RCDATA resources like RC.EXE does. Fix false out of 16 bits range warning. * dlls/x11drv/xrender.c: Glenn Wurster Use physDev->textPixel instead of GetTextColor for ExtTextOut. 2004-11-21 Alexandre Julliard * configure, configure.ac, dlls/lzexpand/Makefile.in, dlls/lzexpand/tests/.cvsignore, dlls/lzexpand/tests/Makefile.in, dlls/lzexpand/tests/lzexpand_main.c: Evan G. Parry Added some tests for lzexpand. * dlls/dbghelp/Makefile.in, dlls/dbghelp/coff.c, dlls/dbghelp/msc.c, dlls/dbghelp/mscvpdb.h: Eric Pouech - moved into new mscvpdb.h (out of msc.c) all types and defines needed to parse debug files generated by MS tools - moved into coff.c (and out of msc.c) the COFF handling - cleaned lots of types (add consistency across structs) - versioning of some defines and types (to follow MS tools evolution) - enhanced V2 of symbols parsing (some more types recognized, support of imported .pdb files) - added support for newest .pdb format * dlls/advapi32/service.c: Alexander Yaworsky Move up SERV_* functions. * programs/winecfg/Es.rc, programs/winefile/En.rc, programs/winefile/Es.rc, programs/winhelp/Es.rc: José Manuel Ferrer Ortiz Updated Spanish translations. * include/icm.h, dlls/mscms/lcms_api.h, dlls/mscms/mscms.spec, dlls/mscms/mscms_main.c, dlls/mscms/profile.c, dlls/mscms/tests/profile.c: Hans Leidekker Implement and test GetColorProfileElementTag, GetCountColorProfileElements and IsColorProfileTagPresent. Stub GetStandardColorSpaceProfile{A,W}. * dlls/kernel/locale.c, dlls/kernel/tests/locale.c: Dmitry Timoshkov Call CompareStringA with LOCALE_USE_CP_ACP flag set from lstrcmpA and lstrcmpiA in order to improve speed. Add a test case confirming that CompareString and LCMapString accept LOCALE_USE_CP_ACP. * windows/defwnd.c: Stefan Leichter Removed W->A from DEFWND_ImmIsUIMessageW. * dlls/wininet/internet.c, dlls/wininet/resource.h, dlls/wininet/wininet_En.rc: Robert Shearman - Make InternetGetConnectedStateExA not crash, by making InternetGetConnectedStateExW fill in the buffer correctly. - Remove the dumping of strings that will only contain garbage. - Document function. * dlls/msvcrt/locale.c: Bill Medland Don't mess up the msvcrt codepage on e.g. _MB_CP_ANSI. * dlls/user/resource.c: Eric Frias Accelerator resource struct fix for sparc. * dlls/comctl32/treeview.c: Huw Davies The default font for the treeview should be the icon title font. * tools/winebuild/parser.c: Eric Frias Handle a def file where the names of the exported functions are listed without being followed by an equals sign and an alias. * dlls/wineps/ppd.c: Eric Frias Fixed file handle leak. * dlls/ntdll/signal_sparc.c: Eric Frias Permit unaligned memory access on sparc. * tools/wrc/genres.c: Eric Frias Fixed error writing control IDs in dialogex on sparc. * dlls/winmm/winmm.c: Rémi Assailly Add some missing error values in WINMM_ErrorToString. * windows/dialog.c: Eric Frias Fixed dialogex resource loading on sparc. * dlls/gdi/brush.c: Jon Griffiths Search the whole table when creating solid brushes. * dlls/ntdll/time.c: Alexander Yaworsky Added NOVT timezone info. * dlls/uxtheme/draw.c: Kevin Koltzau Fix clipping for DrawThemeParentBackground. * README: Gerald Pfeifer Update FreeBSD info. * include/mmsystem.h: Rémi Assailly Added some structure tags and error defines. * dlls/kernel/file.c, dlls/ntdll/file.c: Eric Pouech Moved kernel32.DeleteFileW core implementation to ntdll.NtDeleteFile. 2004-11-19 Alexandre Julliard * dlls/mpr/.cvsignore, dlls/ole32/.cvsignore, dlls/oleaut32/.cvsignore, dlls/shell32/.cvsignore: Removed a couple of no longer needed entries. * dlls/user/display.c: Fix conflicting structure tag. * dlls/winmm/wineoss/dscapture.c: Robert Reif One step closer to getting hardware accelerated capture working. * fonts/Makefile.in, fonts/wine_system.sfd, tools/sfnt2fnt.c: Huw Davies Calculating the average width doesn't seem possible, so set it manually instead. Fix the copyright in wine_system. * dlls/mscms/mscms.spec, dlls/mscms/profile.c, include/icm.h: Hans Leidekker Implement IsProfileValid. Document all functions. * dlls/version/tests/info.c: Stefan Leichter Fixed GetFileVersionInfoSizeA tests on NT. * programs/winefile/En.rc: Martin Fuchs Fix English menu text. * dlls/quartz/filtergraph.c: Christian Costa Implemented IGraphBuilder methods: Connect, Render, RenderFile & AddSourceFilter. Fixed filter name generation in IGraphBuilder::AddFilter. * dlls/shell32/memorystream.c: Robert Shearman - Use more specific error codes than E_FAIL, where possible. - Move vtable to end, give it the const modifier, and remove unneeded function declarations. * dlls/advapi32/tests/registry.c: James Hawkins Added beginnings of RegQueryValueEx tests. * include/commctrl.h: Andreas Mohr Correct ordering of some defines. * dlls/x11drv/xrender.c: Huw Davies Fallback to some sensible default values when underlining and striking out bitmap fonts. Rotate the strikeout line if the escapement is non-zero. * dlls/comctl32/listview.c: Zach Gorman Add the DT_NOPREFIX flag when calling DrawText() for single-line listview controls. * dlls/mscms/.cvsignore, dlls/mscms/Makefile.in, dlls/mscms/version.rc: Hans Leidekker Add version information. * dlls/ddraw/ddraw/main.c, dlls/ddraw/mesa.c: Christian Costa Fixed colorkey conversion. Handle null surface pointer when creating surface. * dlls/itss/itss.c: Mike McCormack Use interlocked functions for thread safety. * dlls/quartz/enumpins.c: Christian Costa Fixed IEnumPinsImpl_Next. * dlls/dbghelp/dbghelp.c, dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/symbol.c: Eric Pouech - implement SymUnDName and UndecorateSymbolName on top of msvcrt.__unDName - implement SYMOPT_UNDNAME support * include/winuser.h: Rémi Assailly Added some structure tags. * include/mlang.idl, include/winnt.h: Jon Griffiths Use _WINNT_ as exclusion define for source compatibility. * dlls/avifil32/avifil32.spec: Christian Costa Mapped AVIStreamOpenFromFile to AVIStreamOpenFromFileA. * dlls/dsound/capture.c: Robert Reif Remove trailing white space introduced in previous patch. Fixed IDirectSoundCaptureBuffer_Stop to allow another Start to succeed. Removed OSS centric buffer recreation hack when doing hardware acceleration. Cleaned up error reporting and tracing. * dlls/shlwapi/tests/shreg.c: James Hawkins Make four shreg tests pass on XP. * dlls/shdocvw/shdocvw.spec, dlls/shdocvw/shdocvw_main.c: Christian Costa Added stub for SetQueryNetSessionCount. * dlls/wininet/internet.c: Robert Shearman Pass the address of the handle rather than just the handle to fix a crash with IE. * dlls/imagehlp/imagehlp.spec: Christian Costa Fixed some forwards. 2004-11-10 Alexandre Julliard * dlls/crypt32/cert.c, dlls/crypt32/crypt32.spec: Mike McCormack Improve the CertStore code a little. * dlls/advapi32/advapi32.spec, dlls/advapi32/service.c: Jason Edmeades - Stub SetServiceObjectSecurity to pretend to work (return true). - Change QueryServiceObjectSecurity so it initializes the ACL with a null DACL, and return as though it worked. - Changed QueryServiceStatus to tell if the service is running by the presence of some named shared storage - copied from StartService when it checks to see if its already running. * dlls/shlwapi/tests/shreg.c: James Hawkins Use SHDeleteKey to remove leftover keys from the shreg tests. * dlls/comctl32/toolbar.c: Robert Shearman - Set cache bitmap dimensions correctly when a 0x0 image list is used. - Optimize WM_STYLECHANGED handler to only redraw when a CCS_* style is changed, like native. * dlls/rsaenh/rsaenh.c: Michael Jung CPAcquireContext: Set last error to ERROR_SUCCESS in case of success. 2004-11-09 Alexandre Julliard * configure, configure.ac: Rein Klazes Add a first AC_CHECK_HEADERS, forcing checking of the default includes even when building wine without X11. * dlls/ntdll/file.c: Hamish Fix for async writes to comm ports. * dlls/shlwapi/tests/ordinal.c: Stefan Leichter Fixed tests of GetAcceptLanguagesA for platfoms 98,ME,NT4. * dlls/version/tests/info.c: Stefan Leichter Fixed GetFileVersionInfoSizeA tests on NT4 platform. * dlls/dsound/capture.c: Robert Reif Remove redundant GUID check. * dlls/comctl32/updown.c, windows/spy.c: Dmitry Timoshkov - do not move updown control and buddy if an alignment was not requested - in UDM_SETACCEL handler do not forget to update number of accelerators - update arrows info in WM_LBUTTONDOWN as well as in WM_MOUSEMOVE - use accelerators in WM_LBUTTONDOWN handler * dlls/uxtheme/draw.c: Kevin Koltzau Implementation of GetThemeBackgroundExtent. Partial implementation of GetThemeBackgroundRegion. Correct a few comments. * dlls/x11drv/xrender.c: Kevin Koltzau Change AlphaBlend to use destination dimensions rather then source. * dlls/uxtheme/system.c: Kevin Koltzau Fix crash when no theme is set and application ignores errors. * dlls/oleaut32/olepicture.c: Walt Ogburn In OlePictureImpl_Load, always use DIB_RGB_COLORS because no indexed palette has been defined. 2004-11-08 Alexandre Julliard * dlls/comctl32/toolbar.c: Robert Shearman - bNtfUnicode is a dup' of bUnicode so remove it and fix the few places where it was used. - Remove a load of useless NULL infoPtr checks. - Hardcode the default padding like native instead of using a wacky formula. - Replace some tabs with spaces and remove NMHDR casts. * dlls/user/menu.c: William Poetra Yoga H Give the first menu item of a popup menu a distance of 1 pixel to the top border. * windows/nonclient.c: William Poetra Yoga H Fix the size and position of the system menu icon on the caption bar. * dlls/msvcrt/cpp.c, dlls/msvcrt/tests/cpp.c: Eric Pouech Now that name undecoration works, fix the type info. * dlls/msvcrt/Makefile.in, dlls/msvcrt/main.c, dlls/msvcrt/undname.c: Eric Pouech Implemented __unDName and __unDNameEx functions. * dlls/user/edit.c, dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/edit.c: Vitaliy Margolen - return "want all keys" for WM_GETDLGCODE when multi-line - single-line edit control does not want all messages - additional style combinations are possible for both multi-line and single-line edit controls - tests to confirm it * dlls/comctl32/monthcal.c: Dmitry Timoshkov Dimensions of month calendar control should not depend on the client window size. * dlls/hhctrl.ocx/.cvsignore, dlls/hhctrl.ocx/Makefile.in, dlls/hhctrl.ocx/version.rc: Hans Leidekker Add version information. * dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/elf_module.c, dlls/dbghelp/memory.c, dlls/dbghelp/module.c, dlls/dbghelp/pe_module.c, dlls/dbghelp/stabs.c: Eric Pouech - fixed loading stabs from PE modules compiled with MingW - enhance some loading logic between ELF/PE DLL pairs - removed unused indirect memory access function - get rid of some GCC generated symbols * programs/winedbg/break.c, programs/winedbg/dbg.y, programs/winedbg/debugger.h, programs/winedbg/memory.c, programs/winedbg/winedbg.c: Eric Pouech - fixed regression in watchpoint setting (by addr) - in backtrace, show at least module when no symbol is found - protect event parsing from command line (when no real number) * dlls/x11drv/keyboard.c: Walt Ogburn Turn ISO_Left_Tab back into a tab character if needed. * dlls/oleaut32/oleaut.c: William Poetra Yoga H Use COLOR_MENUBAR (instead of COLOR_GRADIENTINACTIVECAPTION) as the upper limit in GetSysColor() validation. * dlls/user/uitools.c: William Poetra Yoga H Fix the button edge color, by using the BF_SOFT border style for buttons. * include/winuser.h: Rémi Assailly Add some structure tags. 2004-11-06 Alexandre Julliard * dlls/ntdll/loader.c: Free the memory view before we unload a builtin dll to avoid a race condition. * dlls/kernel/tests/time.c, dlls/kernel/time.c, dlls/msvcrt/tests/time.c, dlls/msvcrt/time.c, dlls/ntdll/tests/time.c, dlls/ntdll/time.c: Rein Klazes - RtlTimeFieldsToTime should not normalize the time fields structure. Instead return error when it is given an unormalized date. - Use better algorithms for RtlTimeToTimeFields and RtlTimeFieldsToTime. RtlTimeToTimeFields is about 3 times faster. - Add tests for RtlTimeFieldsToTime. - SystemTimeToFileTime must fail if RtlTimeFieldsToTime fails. Users of SystemTimeToFileTime must do likewise. - Remove a todo_wine from SystemTimeToFileTime tests. - Since msvcrt.mktime must accept unnormalized dates, it cannot use SystemTimeToFileTime and do the calculations itself. - Add some tests for mktime accepting unnormalized dates. * dlls/oleaut32/olefont.c: Mike Hearn Support assigning font objects to other font objects. * dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/datetime.c, dlls/comctl32/flatsb.c, dlls/comctl32/header.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/nativefont.c, dlls/comctl32/rebar.c, dlls/comctl32/syslink.c, dlls/comctl32/treeview.c: Robert Shearman Remove unnecessary WNDPROC casts. * dlls/winsock/socket.c: Gerald Pfeifer Fix format string in WSAAddressToStringA(). * include/wine/list.h: Mike Hearn Document the linked list support code. * dlls/comctl32/toolbar.c, include/commctrl.h: Robert Shearman Implement TBN_RESTORE notification. * programs/winedbg/stack.c: Robert Shearman Limit StackWalk iterations to prevent infinite loop. 2004-11-04 Alexandre Julliard * configure, configure.ac, dlls/Makefile.in, dlls/rsaenh/.cvsignore, dlls/rsaenh/Makefile.in, dlls/rsaenh/handle.c, dlls/rsaenh/handle.h, dlls/rsaenh/implossl.c, dlls/rsaenh/implossl.h, dlls/rsaenh/rsaenh.c, dlls/rsaenh/rsaenh.spec, dlls/rsaenh/tests/.cvsignore, dlls/rsaenh/tests/Makefile.in, dlls/rsaenh/tests/rsaenh.c, include/config.h.in, tools/wine.inf: Michael Jung Implemented a substantial part of rsaenh.dll. * documentation/wine-devel.sgml, documentation/winedev-kernel.sgml: Mike Hearn Document how SEH works in Wine. * dlls/kernel/locale.c: Dmitry Timoshkov Add unix locale to code page mapping for ISO-8859-16. * dlls/winsock/Makefile.in, dlls/winsock/socket.c, dlls/winsock/tests/sock.c: Hans Leidekker Implement WSAAddressToString{A,W}. Add tests for WSAAddressToString{A,W} and WSAStringToAddress{A,W}. Add TRACEs to WSAStringToAddress{A,W}. * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Aric Stewart Implemented InternetGetConnectedStateExA. * dlls/msvcrt/tests/.cvsignore, dlls/msvcrt/tests/Makefile.in, dlls/msvcrt/tests/printf.c, dlls/msvcrt/tests/scanf.c: Aneurin Price - Move printf tests from scanf.c to printf.c (and fix one on the way). - Add some more. * dlls/shell32/shell32.spec, dlls/shell32/shellpath.c, dlls/shell32/undocshell.h, include/shlobj.h: Aric Stewart Implementation of PathCleanupSpec. * libs/wine/mmap.c: Gerald Pfeifer Disable memory reservation code on FreeBSD, where it just doesn't work. * dlls/advapi32/security.c, dlls/advapi32/service.c, dlls/advapi32/tests/security.c, dlls/ntdll/nt.c, include/winternl.h: Juan Lang - implement LookupPrivilegeName - correct LookupPrivilegeValue (had a buffer overrun and sometimes returned incorrect LUIDs for well-known values) - make AllocateLocallyUniqueId less obviously incorrect - add a bunch of test cases 2004-11-03 Alexandre Julliard * dlls/kernel/task.c, dlls/kernel/tests/change.c, dlls/kernel/tests/thread.c, dlls/winmm/mmsystem.c: Robert Shearman Fix broken thread start routines. * windows/msgbox.c: Ivan Leo Puoti Proper implementation of sysmodal message boxes. * dlls/msvcrt/file.c: Tony Lambregts Fix up init_fp test for freopen. * dlls/msi/action.c: Aric Stewart Handle 3 more custom action types * dlls/advapi32/tests/security.c: Jakob Eriksson AllocateAndInitializeSid does not work on Win98. * dlls/mscms/profile.c, dlls/mscms/tests/profile.c: Hans Leidekker Improve {Uninstall,Install}ColorProfile{A,W}. Better tests for these functions. * dlls/winmm/tests/capture.c: Robert Reif Don't consider a MMSYSERR_NOTSUPPORTED failure a test failure. 2004-11-02 Alexandre Julliard * tools/make_requests: Restore chunk of code lost in previous changes. * dlls/ntdll/sync.c: Jeremy White Tune the behavior of Sleep() and Waitxxx() to more closely resemble Windows behavior. The key is to yield in a Sleep and in any Wait that times out. * documentation/testing.sgml: Ivan Leo Puoti Downloading the platform sdk doesn't require IE any more. * dlls/winmm/time.c: Jeremy White The Sleep(0) in this loop is incorrect, and should be removed. This fixes iTunes and a game reported by che. * dlls/wineps/bitmap.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h: Huw Davies Scale the patterns so that they're rendered at 300dpi. Create the image dictionary once, rather than every time the PaintProc is called - should speed printing up somewhat. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec: Stefan Dösinger Added WSAAddressToStringA/W stubs. * dlls/ntdll/time.c: Vitaly Lipatov Added MSK timezone info. * dlls/winsock/protocol.c: Hans Leidekker Make sure we match output of Win2k protocol enumeration functions. * dlls/ntdll/time.c: Michael Jung Added CET timezone info. * dlls/gdi/bitmap.c, dlls/gdi/dib.c, dlls/gdi/tests/bitmap.c, dlls/x11drv/dib.c: Michael Kaufmann - Extended support for BITMAPCOREINFO / BITMAPCOREHEADER structures. - Always calculate the location of the color table. - CreateCompatibleBitmap: Create a DIB section if necessary. - Added some tests. * dlls/shell32/shellpath.c: Fabrice Ménard Check the type of error returned by SHCreateDirectoryExW. * dlls/ntdll/time.c: Roger Olson Add Pacific Standard Time (PST) to TZ_INFO. 2004-11-01 Alexandre Julliard * windows/user.c: Mike McCormack Start the reboot process in ExitWindowsEx. * dlls/shdocvw/.cvsignore, dlls/shdocvw/Makefile.in, dlls/shdocvw/shdocvw.rc, dlls/shdocvw/shdocvw_main.c: Mike McCormack Download the Mozilla Active X control on demand. * dlls/winsock/protocol.c, dlls/winsock/tests/.cvsignore, dlls/winsock/tests/Makefile.in, dlls/winsock/tests/protocol.c, dlls/winsock/ws2_32.spec, include/winsock2.h: Hans Leidekker Fill WSAPROTOCOL_INFO structures instead of PROTOCOL_INFO structures. Implement WSCEnumProtocols(). Add some tests. * dlls/comctl32/nativefont.c: Dmitry Timoshkov Convert NativeFont control to unicode, use hbrBackground as in native. * dlls/advpack/advpack.c, dlls/advpack/advpack.spec: Dmitry Timoshkov Add simple implementation of advpack.DoInfInstall. * dlls/comctl32/toolbar.c: Dmitry Timoshkov Do not retrieve infoPtr twice in ToolbarWindowProc entry. * dlls/advapi32/crypt.c: Michael Jung CryptGetUserKey: Set return key handle to zero in case of failure. * dlls/comctl32/listview.c: Dimitrie O. Paun Send notification messages in the format dictated by infoPtr->notifyFormat. * tools/Makefile.in: Vincent Béron Put $(FREETYPELIBS) as the last part, as it can include the dir of an older Wine install which do not have the same exports (reported by jooke). * dlls/kernel/locale.c, dlls/kernel/tests/locale.c: Stefan Leichter Set the correct last error in EnumUILanguagesA, with tests. * include/winuser.h, windows/syscolor.c: William Poetra Yoga H Add COLOR_MENUHILIGHT and COLOR_MENUBAR to the system colors. 2004-10-30 Alexandre Julliard * dlls/user/msg16.c, dlls/user/painting.c, include/win.h, windows/message.c: Get rid of the WIN_NEEDS_BEGINPAINT flag, Windows will happily loop forever too if WM_PAINT is not handled properly. * documentation/introduction.sgml: Francois Gouget Based on the last 36+ months Wine is released once a month on average. Assorted spelling fixes and tweaks. * dlls/user/resources/user32_Ca.rc, dlls/user/resources/user32_Cs.rc, dlls/user/resources/user32_Da.rc, dlls/user/resources/user32_De.rc, dlls/user/resources/user32_En.rc, dlls/user/resources/user32_Eo.rc, dlls/user/resources/user32_Es.rc, dlls/user/resources/user32_Fi.rc, dlls/user/resources/user32_Fr.rc, dlls/user/resources/user32_Hu.rc, dlls/user/resources/user32_It.rc, dlls/user/resources/user32_Ja.rc, dlls/user/resources/user32_Ko.rc, dlls/user/resources/user32_Nl.rc, dlls/user/resources/user32_No.rc, dlls/user/resources/user32_Pl.rc, dlls/user/resources/user32_Pt.rc, dlls/user/resources/user32_Ru.rc, dlls/user/resources/user32_Si.rc, dlls/user/resources/user32_Sk.rc, dlls/user/resources/user32_Sv.rc, dlls/user/resources/user32_Uk.rc, dlls/user/resources/user32_Wa.rc, dlls/user/resources/user32_Zh.rc: Ivan Leo Puoti Remove DS_SYSMODAL from msgbox resource. * dlls/kernel/process.c: Francois Gouget Add support for REG_EXPAND_SZ in set_registry_variables(). Fix processing of environment variables that are too big (>1024 characters): they should be truncated, not ignored. * tools/c2man.pl, tools/winapi_check/modules.pm, tools/winapi_check/winapi_local.pm, tools/winemaker: Francois Gouget Alter the functions declaration order or predeclare them so perl can check the prototypes. * dlls/ntdll/tests/time.c: Francois Gouget #ifdef out the tests if compiling with the Platform SDK headers since they are missing TIME_FIELDS. * dlls/rpcrt4/tests/generated.c, tools/winapi/tests.dat: Francois Gouget MIDL_STUB_MESSAGE.UniquePtrCount has been renamed in the latest SDK so ignore it. 2004-10-29 Alexandre Julliard * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec: Ulrich Czekalla Add stubs for EnumPrintProcessorsAW. * dlls/kernel/tests/time.c, dlls/kernel/time.c: Rein Klazes - Simplify the calculation in TIME_DaylightCompareDate; - Expand the number of applicable test cases. * dlls/user/tests/input.c: Dmitry Timoshkov Clean up user32/input.c test, remove the wrong assumption that a window always receives input focus upon creation. * include/wininet.h: Mike McCormack Define some extra HTTP_QUERY values. * windows/user.c: Mike McCormack Kill all wine processes when doing ExitWindowsEx. 2004-10-28 Alexandre Julliard * dlls/dinput/keyboard.c: Torbjörn Andersson Fixed size check in GetDeviceData. * dlls/wininet/tests/http.c: Jakob Eriksson Supposedly fix http test on Windows. * dlls/kernel/volume.c: Rein Klazes In VOLUME_ReadFATSuperblock: - do not test on the JMP instruction: most boot blocks have that - test instead on the "FAT" strings first, before the size calculation - do some parameter checking to prevent arithmetic errors - use meaningful names instead of block offsets (based on a rejected patch from Vincent Béron). * dlls/shell32/shellpath.c: Rolf Kalbermatter Use SHCreateDirectoryEx function instead of doing explicit recursive directory creation. * dlls/shell32/tests/shlfileop.c: Rolf Kalbermatter Add test for SHCreateDirectoryEx function. Fixed some typos. 2004-10-27 Alexandre Julliard * server/queue.c: Dmitry Timoshkov Take into account window visibility when searching for a target for a hardware mouse message. * server/user.h, server/window.c: Added is_window_visible function. * dlls/comctl32/comboex.c: Use correct type instead of void* in item linked list. * dlls/shell32/shell32_Fr.rc: Fabrice Ménard Some French translations added. * dlls/kernel/time.c, include/winbase.h: Rein Klazes - Reordered some code from the existing helper _GetTimeZoneBias to make it more general useful (and changed the helper names to TIME_xyz). - Make GetTimeZoneInformation return the correct zone id constants. - Changed some "const LPX_Y_Z" declarations to "const X_Y_Z *". * dlls/shell32/shlfileop.c: Rolf Kalbermatter Fix bad memory allocation for unicode buffer. * dlls/shlwapi/tests/ordinal.c: Stefan Leichter Fixed GetAcceptLanguagesA tests for Win98. * dlls/user/tests/msg.c: Dmitry Timoshkov Flush pending messages before testing painting message sequences. * dlls/msvcrt/time.c: Rein Klazes In MSVCRT_localtime() return tm_isdst = 0 when there are no daylight time changes in the local time zone. * dlls/shell32/shellpath.c: Juan Lang _SHExpandEnvironmentStrings should return input string if no % found to expand, and should call ExpandEnvironmentStringsW if it doesn't handle an environment variable directly. Based on a patch from Dan Kegel. * include/winuser.h: Dmitry Timoshkov Add proper prototypes for GetClassLongPtrA/W for _WIN64 case. * dlls/comctl32/comboex.c: Dimitrie O. Paun Minor cleanups. * dlls/comctl32/hotkey.c: Dimitrie O. Paun Use typesafe signature where possible. * dlls/comctl32/status.c: Dimitrie O. Paun Rename STATUSWINDOWINFO to STATUS_INFO, for consistency with other controls. Fix some prototypes. Always pass infoPtr around. * dlls/comctl32/progress.c: Dimitrie O. Paun Minor cleanups. * dlls/comctl32/ipaddress.c: Dimitrie O. Paun Use Unicode functions where possible. * dlls/advpack/advpack.c, dlls/advpack/advpack.spec: Mike McCormack Add stub implementations for LaunchINFSection(Ex). * dlls/advapi32/crypt.c: Michael Jung CryptCreateHash: Set returned hash handle to zero in case of failure. * server/fd.c: Added fallback syscalls for epoll functions. * dlls/mpr/Makefile.in, dlls/mpr/mpr.rc, dlls/ole32/Makefile.in, dlls/ole32/ole32res.rc, dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.rc, dlls/shell32/Makefile.in, dlls/shell32/shres.rc: Ge van Geldorp Use only one .res file. * configure, configure.ac, dlls/x11drv/xrender.c, include/config.h.in: Kevin Koltzau Add stretching support to AlphaBlend. 2004-10-26 Alexandre Julliard * documentation/Makefile.in, documentation/architecture.sgml, documentation/consoles.sgml, documentation/cvs-regression.sgml, documentation/i18n.sgml, documentation/implementation.sgml, documentation/porting.sgml, documentation/wine-devel.sgml, documentation/winedev-coding.sgml, documentation/winedev-graphical.sgml, documentation/winedev-kernel.sgml, documentation/winedev-otherdebug.sgml, documentation/winedev-windowing.sgml: Eric Pouech Reorganizing wine-devel: - killing the advanced part (and moving its chapters in both developing Wine and Wine archi parts) - creating a new book on coding practices from i18n.sgml, patches.sgml and porting.sgml - creating a new book on some debugging strategies from the old advanced book and cvs-regression.sgml - creating a new book on the kernel modules (NTDLL & KERNEL32) from architecture.sgml / related DLLs and address-space.sgml, console.sgml, threading.sgml - creating a new book on the windowing from architecture.sgml / USER32 and related - creating a new book on the graphical parts from architecture.sgml / GDI32 and related Other changes: - removed list of DLLs and their role (from the modules overview) - removed in X11 keyboard mapping section the part related to submit a patch * dlls/winmm/wineoss/Makefile.in, dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/audio.h, dlls/winmm/wineoss/dscapture.c, dlls/winmm/wineoss/dsrender.c: Robert Reif Split up audio.c into three separate .c files: audio.c: OSS functions and waveIn and waveOut driver functions. dscapture.c: direct sound capture driver implementation. dsrender.c: direct sound renderer driver implementation. * dlls/kernel/tests/time.c: Mike McCormack Add some tests for time conversion functions. * dlls/user/listbox.c: Dimitrie O. Paun Move the hwnd self into the listbox LB_DESCR struct. Use proper types/names in all cases. Fix some bad indentation. * dlls/winmm/tests/wave.c: Robert Reif win 9x doesn't always support waveOutGetDevCapsW so don't generate an error for MMSYSERR_NOTSUPPORTED. Play one second of silence for each sound card when not in interactive mode. * dlls/user/button.c, dlls/user/tests/msg.c: Dmitry Timoshkov Make button return exactly the same dialog codes as Windows does. Add a test case. * dlls/shell32/tests/shellpath.c, dlls/shell32/version.h: Juan Lang Update shell32's version to WinXP level. * dlls/dsound/tests/dsound8.c: Robert Reif VerifyCertification is not always implemented. * dlls/kernel/comm.c: Convert CommConfigDialog to Unicode. * dlls/comctl32/tab.c: Thorsten Kani Use address of tab_item.extra when building drawitemstruct. * dlls/shell32/debughlp.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/tests/shellpath.c: Juan Lang Fix CSIDL_CONTROLS and CSIDL_PRINTERS PIDL types, and update tests now that they pass. * dlls/kernel/comm.c, dlls/serialui/Makefile.in, dlls/serialui/confdlg.c, dlls/serialui/serialui.spec: Mike McCormack SERIALUI: convert to Unicode. * tools/winapi/c_function.pm, tools/winapi/c_parser.pm, tools/winapi/c_type.pm, tools/winapi/config.pm, tools/winapi/function.pm, tools/winapi/make_filter, tools/winapi/make_parser.pm, tools/winapi/msvcmaker, tools/winapi/options.pm, tools/winapi/tests.pm, tools/winapi/type.pm, tools/winapi/util.pm, tools/winapi/winapi.pm, tools/winapi/winapi_check_options.pm, tools/winapi/winapi_cleanup, tools/winapi/winapi_extract, tools/winapi/winapi_fixup, tools/winapi/winapi_fixup_documentation.pm, tools/winapi/winapi_fixup_editor.pm, tools/winapi/winapi_fixup_statements.pm, tools/winapi/winapi_module_user.pm, tools/winapi/winapi_test: Francois Gouget Add function prototypes. Change the way functions are called and either alter their declaration order or predeclare them so perl can check the prototypes. * dlls/kernel/tests/time.c: Rein Klazes Correctly use the return value of GetTimeZoneInformation. * dlls/comctl32/datetime.c: Dimitrie O. Paun Implement proper GWL_STYLE handling, proper reaction to style changes. Merge {{Inc,Dec}rement,Reset{Up,Down}}Field into one method. Fix a bunch of bugs in the process. Implement DTM_[GS]ETMCFONT. Indentation fixes, cleanups. 2004-10-25 Alexandre Julliard * programs/view/Cs.rc, programs/view/viewrc.rc, programs/wcmd/Cs.rc, programs/wcmd/wcmdrc.rc, programs/winecfg/Cs.rc, programs/winecfg/winecfg.rc, programs/wineconsole/wineconsole_Cs.rc, programs/wineconsole/wineconsole_res.rc, programs/winefile/Cs.rc, programs/winefile/rsrc.rc, programs/winemine/Cs.rc, programs/winemine/rsrc.rc, programs/winhelp/Cs.rc, programs/winhelp/rsrc.rc: David Kredba New Czech resources. * dlls/shell32/shellpath.c: Juan Lang Avoid copying invalid data on error. * tools/winedump/function_grep.pl: Francois Gouget Fix string handling. Enable perl warnings Add a proper --help option and usage. * tools/winapi/make_filter_options.pm, tools/winapi/options.pm: Francois Gouget Fix the usage for non-boolean options, always print the description. This fixes the output of 'make_filter --help'. * include/imagehlp.h: Francois Gouget Include wintrust.h. * include/wincrypt.h: Michael Jung Added define for CUR_BLOB_VERSION. * dlls/user/edit.c: Dimitrie O. Paun Use proper types/names in all cases. Fix some indentation. * dlls/msvcrt/tests/time.c, dlls/msvcrt/time.c: Rein Klazes Correctly use the returned value from GetTimeZoneInformation. * dlls/ole32/compobj.c: Dmitry Timoshkov - Remove bogus use of nStatCounter and hOleAut32 in CoSetState. - Remove a comment about protecting per thread data by a critical section. * include/tlhelp32.h: Peter Quiring Added HF32_DEFAULT and HF32_SHARED values. * dlls/comctl32/updown.c: Dimitrie O. Paun Use only Unicode functions, it makes it easier to see we are fully Unicode compliant. * documentation/introduction.sgml: Scott Ritchie Revised Wine User Guide introduction. * dlls/kernel/environ.c, dlls/kernel/process.c, dlls/ntdll/env.c: Eric Pouech - fixed the way length of msvcrt runtime info is passed - always return a NULL runtime info buffer in child if parent's runtime info is NULL - fixed typo in startupinfo size * dlls/winmm/tests/capture.c, dlls/winmm/tests/mixer.c: Robert Reif Don't consider no driver a test failure. * dlls/dsound/tests/capture.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c: Robert Reif Don't consider a device in use a failure. * dlls/shell32/tests/shlfolder.c: Sami Aario Check the return value of the SHGetDesktopFolder call. * dlls/comctl32/toolbar.c: Robert Shearman - Don't fill in any more information than native does for notifications. - Store hit code in a signed integer so that we can see whether it is less than zero. * dlls/comctl32/tooltips.c: Robert Shearman - Don't leak memory when an app sends TTM_SETTITLE twice. - An lParam of 0 indicates that the title should be removed. * documentation/wine.conf.man: Michael Stefaniuc - Add info that the wine config file has/needs a header line. - Remove some infos regarding entries which were removed lately from the config file. * dlls/setupapi/dirid.c: Juan Lang Use shell32 to get the user profile dir. * dlls/advapi32/security.c: Juan Lang Update comment for LsaOpenPolicy. 2004-10-22 Alexandre Julliard * dlls/avifil32/extrachunk.c, dlls/comctl32/tests/imagelist.c, dlls/ddraw/d3ddevice/mesa.c, dlls/dplayx/dplayx_messages.h, dlls/kernel/heap.c, dlls/ole32/compobj.c, dlls/shell32/shlfileop.c, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/winedos/int21.c: Francois Gouget Assorted spelling fixes. * dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c: Converted more of the (Un)RegisterTypeLib code to Unicode. Factored out some common routines. * windows/msgbox.c: Removed wrong FIXME for MB_APPLMODAL (reported by Ivan Leo Puoti). * tools/testrun: Get rid of this obsolete script. * tools/wine.inf: Juan Lang Shell registry entries are now created by shell32, don't hardcode them in wine.inf. * dlls/msi/action.c: Aric Stewart Don't reregister ProgIds over and over, also write out the main key before trying to register the Parent. This avoids loops if a ProgId has itself as a parent or there is a loop in dependencies. * tools/wineconf: Francois Gouget Add function prototypes. Change the way functions are called and their declaration order so perl can check the prototypes. * dlls/psapi/tests/module.c: Stefan Leichter Fixed GetModuleBaseNameA tests for WinXP. * dlls/oleaut32/typelib.c: Mike McCormack Use Unicode functions in RegisterTypeLib. * dlls/user/tests/msg.c, dlls/x11drv/keyboard.c, include/winuser.h: VK_0-9 and VK_A-Z are not defined in the Windows headers, removed them (spotted by Francois Gouget). * dlls/shell32/shellpath.c: Avoid copying invalid data on error. * dlls/shell32/tests/shellpath.c: Francois Gouget Fix the function pointer declarations so MSVC likes them. CSIDL_PROFILES is not defined in the Windows SDK. snprintf and strcasecmp don't exist on Windows. Replace them with wnsprintfA and lstrcmpiA respectively. * include/winbase.h: Fixed definition of MAX_COMPUTERNAME_LENGTH (spotted by Mike McCormack). * dlls/mscms/handle.c, dlls/mscms/mscms_main.c, dlls/mscms/profile.c, dlls/mscms/tests/profile.c, include/icm.h: Francois Gouget Flesh out the icm.h header (add COLORMATCHSETUP & co) so it is necessary to first include winuser.h like on Windows. * tools/winapi/c_parser.pm, tools/winapi/make_parser.pm, tools/winapi/msvcmaker, tools/winapi/winapi.pm, tools/winapi/winapi_extract, tools/winapi_check/modules.pm, tools/winapi_check/nativeapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_local.pm: Francois Gouget Review and fix regular expressions of the form /^foo|bar$/. Replace regular expressions with simple string comparisons where possible. Use '(?:subregexp)' instead of '(subregexp)' wherever possible. 'dlls/gdi' does not have a win16drv subdirectory anymore so simplify regular expressions accordingly. * dlls/kernel/heap.c, dlls/kernel/ne_module.c, dlls/kernel/selector.c, dlls/kernel/thunk.c: Francois Gouget There is no point making '--register' functions stdcall so just implement them as cdecl. * dlls/shlwapi/tests/ordinal.c: Stefan Leichter Fixed GetAcceptLanguagesA tests for WinXP. * dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/time.c, dlls/ntdll/time.c: Rein Klazes Correct the calculation of the year for the 31'st of December of 2000 and every 400 years after that. Add a test used to find this bug. * programs/winefile/winefile.c: Martin Fuchs Fix indenting of last patch (tabs instead of spaces). * dlls/shell32/tests/.cvsignore, dlls/shell32/tests/Makefile.in, dlls/shell32/tests/shelllink.c: Mike McCormack Add a test for creating empty shelllink files. * dlls/comctl32/datetime.c: Dimitrie O. Paun Audit the Date Time Control. Unicodification. Type safe functions (pass infoPtr and type safe values around). Some cleanup and indentation fixes. * dlls/dsound/tests/capture.c, dlls/dsound/tests/dsound_test.h: Robert Reif Don't consider a bad format an error unless the capabilities say it should be supported. Don't consider a device already in use an error. 2004-10-21 Alexandre Julliard * dlls/shell32/shlfileop.c: Rolf Kalbermatter - SHCreateDirectory should create intermediate directories if necessary. - Remove extra boolean parameter in SHNotifyMoveFile as it is not used. - Use in SHFileOperation the function SHNotifyCreateDirectory instead of SHCreateDirectoryEx as it does not anymore what is needed here. - Fix several unsigned/signed mismatch warnings. * tools/winapi/win32.api: Francois Gouget Standardize on '%long --pointer'. Update it to match the latest source. Fixes many winapi_check warnings. * dlls/comctl32/monthcal.c: Uwe Bonnes Monthcal_SetRange: Set proper value for min date. * documentation/samples/config: Dimitrie O. Paun Remove env values from config, they are now maintained in the registry. * dlls/wintrust/wintrust_main.c, include/Makefile.in, include/mscat.h, include/wincrypt.h, include/wintrust.h, tools/winapi/win32.api: Francois Gouget Fix some issues reported by winapi_check: Add mscat.h and wintrust.h; update wincrypt.h. Fix the CryptCATAdminAcquireContext() and WinVerifyTrust() prototypes so they use the proper types. Update the wintrust section of win32.api. * dlls/comctl32/comboex.c: Robert Shearman Always remove WS_BORDER style from ComboBoxEx control. * dlls/shell32/shlexec.c: Ge van Geldorp - Don't double-quote an already double-quoted argument. - Properly increment the fmt pointer. * dlls/d3d9/device.c, dlls/wined3d/Makefile.in, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/stateblock.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades Implement the beginnings of the stateblock class, and a first method to use it. * dlls/comctl32/toolbar.c: Thorsten Kani Don't add extra OFFSET_X/Y to the calculation of rcBitmap.top/left, just use GetSystemMetrics. * tools/winapi_check/winapi_local.pm: Francois Gouget Warn about implementing a -register function as stdcall. * tools/winapi_check/winapi_check: Francois Gouget Add support for include/msvcrt. Fixes a bunch of spurious warnings. Remove kludges for kernel_private.h, gdi_private.h, ntdll_misc.h, ts_xlib.h, x11drv.h and x11font.h. They are not needed anymore. * dlls/dsound/capture.c: Robert Reif Trailing white space cleanup. Add IClassFactory->CreateInstance aggregation checks. IID_IDirectSoundCapture and IID_IDirectSoundCapture8 are same so remove redundant check. Allocate capture buffer for hw driver if necessary. * dlls/advapi32/service.c: Mike McCormack Implement ChangeServiceConfig2A using ChangeServiceConfig2W. * dlls/shell32/regsvr.c, dlls/shell32/shell32_En.rc, dlls/shell32/shell32_main.h, dlls/shell32/shellpath.c, dlls/shell32/shresdef.h, dlls/shell32/tests/.cvsignore, dlls/shell32/tests/Makefile.in, dlls/shell32/tests/shellpath.c, include/winuser.h: Juan Lang - the correct registry location to override is User Shell Folders, not Shell Folders - if User Shell Folders doesn't exist in HKCU, HKLM should be tried - SHGetSpecialFolderPath should call SHGetFolderPath, not vice-versa - the default values should be localizable - some of the parameter checking and returned LPITEMIDLISTs were a bit off * tools/make_requests: Francois Gouget Declare DO_DUMP_FUNC() before calling it and call normally so that perl can check its prototype. * tools/make_authors: Francois Gouget Strictified. * dlls/winmm/wineaudioio/audioio.c: Francois Gouget Remove HAVE_LIBAUDIOIO_MIDI and LIBAUDIOIO_MidiInit(). * dlls/dbghelp/dbghelp.spec, dlls/dbghelp/path.c, dlls/dbghelp/source.c, dlls/dbghelp/type.c, tools/winapi/win32.api: Francois Gouget Fix the declaration of SymEnumSymbols() in dbghelp.spec. Use PVOID instead of void* for consistency. Update the dbghelp section in win32.api. * tools/winapi_check/winapi_local.pm: Francois Gouget Make the 'wrong argument count' warning clearer when dealing with long vs. "long long" issues. * dlls/ntdll/time.c: Rein Klazes Correct the calculation of the year for the 31'st of December of leap years. * dlls/msvcrt/msvcrt.h, dlls/msvcrt/time.c: Rein Klazes - mktime should compute the tm_wday, tm_yday and renormalize the other fields of the supplied tm structure. - add prototype declarations for the time functions. * dlls/comctl32/rebar.c: Robert Shearman Correct the date of the completeness audit. * include/winsvc.h: Mike McCormack Define SERVICE_NO_CHANGE and RegisterServiceCtrlHandlerEx. * tools/winapi_check/winapi_parser.pm: Francois Gouget Fix escaped quote handling in strings. Properly handle C and C++ comment parsing. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/variant.c: Walt Ogburn VarParseNumFromStr: Keep zeros after decimal point, correctly keep track of trailing zeros in a decimal number. VarNumFromParseNum: Don't error on decimal expressions for zero. * include/shellapi.h: Rolf Kalbermatter Add prototype for SHFreeNameMappings. * dlls/x11drv/wintab.c: Robert North <7ownq0k402@sneakemail.com> Fix WTInfoA in wintab.c so it can now take lpOutput == NULL, as per standard. * dlls/comctl32/monthcal.c: Dimitrie O. Paun Audit the month calendar. * dlls/comctl32/toolbar.c: Robert Shearman - Draw with ILD_TRANSPARENT instead of ILD_NORMAL to draw bitmaps from the native shell image list properly (reported by Thorsten Kani). - Rewrite TOOLBAR_NotifyFormat to avoid side-effects. * dlls/advapi32/service.c: Mike McCormack Implement ChangeServiceConfigA using ChangeServiceConfigW. * programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/resource.h, programs/winefile/winefile.c: Martin Fuchs - use ID_SELECT_FONT in german menu - move string constants into string resources * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/propset.c: Robert Reif Don't consider a device that is already in use a test failure. 2004-10-19 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20041019. ---------------------------------------------------------------- 2004-10-19 Alexandre Julliard * dlls/commdlg/filedlg.c, dlls/kernel/process.c, dlls/kernel/sync.c, dlls/rpcrt4/rpc_server.c, dlls/shell32/shellole.c, dlls/user/winproc.h, dlls/winmm/driver.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c, dlls/winsock/socket.c, programs/winhelp/hlp2sgml.c: Vincent Béron Fix various function prototypes. * configure, configure.ac, dlls/itss/chm_lib.c, include/config.h.in, include/wine/port.h, libs/port/Makefile.in, libs/port/ffs.c: Hans Leidekker Add ffs() to porting library, needed by MinGW. * programs/winecfg/winecfg.c: Anish Mistry Rename getkey and setkey for FreeBSD. * dlls/kernel/kernel32.spec, dlls/kernel/locale.c: Stefan Leichter Added dummy implementation for EnumUILanguagesA/W. * tools/winebuild/main.c: winebuild shouldn't depend on the NO_TRACE_MSGS define. * configure, configure.ac, dlls/Makedll.rules.in, dlls/Maketest.rules.in, dlls/dxerr8/Makefile.in, dlls/dxerr9/Makefile.in, dlls/dxguid/Makefile.in, dlls/strmiids/Makefile.in, dlls/uuid/Makefile.in, include/config.h.in, include/wine/debug.h, programs/Makeprog.rules.in, programs/avitools/Makefile.in: Vincent Béron Use a new DLLDEFS variable in configure/Makefiles to actually remove all the debug messages (minus ERRs) if the user decides so. * dlls/comctl32/comboex.c, dlls/comctl32/comctl32.h, dlls/comctl32/comctl32.spec, dlls/comctl32/commctrl.c: Robert Shearman Implement SetPathWordBreakProc and MirrorIcon. * dlls/comctl32/rebar.c: Robert Shearman Rebar completeness audit. * windows/nonclient.c: Robert Shearman Windows with WS_EX_TOOLWINDOW style should not have min/max buttons. * configure, configure.ac: Warren Baird - added -fPIC to the LDDLLFLAGS line for HPUX; winegcc needs to pass -fPIC to the link line to keep the hp linker happy - set DLLEXT to .sl on HPUX * dlls/advapi32/registry.c: RegQueryValueW must return count in bytes for empty string too. * dlls/dsound/tests/capture.c, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/propset.c: Robert Reif Don't consider failure with DSERR_NODRIVER a test failure. * dlls/user/menu.c, dlls/user/user32.spec: Dmitry Timoshkov Make TranslateAcceleratorA handle national characters. * dlls/comctl32/tooltips.c: Ge van Geldorp Pass correct uiParam for SPI_GETNONCLIENTMETRICS. * tools/wine.inf: Rein Klazes Add HKLM,%Currentversion%\Setup,"BootDir" to the installation defaults. * dlls/wintrust/Makefile.in: Uwe Bonnes Add kernel32 as import for wintrust. * dlls/kernel/sync.c: Mike McCormack Implement CallNamedPipeA using CallNamedPipeW. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/variant.c: Walt Ogburn Keep "trailing" zeros on whole number part of a decimal. Add an example of this to tests. * dlls/oleaut32/tests/safearray.c: Walt Ogburn Test that SafeArrayDestroyData keeps the pointer if FADF_STATIC is set, nulls it otherwise. * dlls/oleaut32/safearray.c: Walt Ogburn SafeArrayDestroyData - keep pointer, don't destroy data if FADF_STATIC is set. * dlls/msvcrt/cpp.c, dlls/msvcrt/cppexcept.c, dlls/msvcrt/cppexcept.h: Output the virtual tables for the exception classes using assembly so that they can have the correct layout, and get rid of the corresponding hacks in RTTI_GetObjectLocator. Build more of the code on non-i386 platforms too. Protect __RTDynamicCast and friends with exception handlers. Fix handling of the vtable pointer so that we don't need to declare all object pointers as type_info. * server/main.c: Bill Medland Added a version option to the wineserver. * include/tchar.h: Martin Fuchs - Fix typo in error message - Separate wint_t definition from wctype_t definition (needed for Cygwin target). * loader/kthread.c: Hans Leidekker Protect use of pthread functions with #ifdef HAVE_PTHREAD_H. * dlls/shell32/shlmenu.c: Mike McCormack Convert the shellmenu code to use unicode. 2004-10-18 Alexandre Julliard * dlls/winmm/tests/capture.c, dlls/winmm/tests/mixer.c: Robert Reif Don't consider MMSYSERR_NOTSUPPORTED an error for wide functions. * dlls/comctl32/commctrl.c: Ge van Geldorp Don't free subclass stack while it's still in use. * documentation/configuring.sgml: Ivan Leo Puoti Removing references to now obsolete winesetuptk, as requested by users. * dlls/msvcrt/cpp.c, dlls/msvcrt/cppexcept.c, dlls/msvcrt/cppexcept.h: Fixed __RTDynamicCast to return the correct pointer for multiple inheritance hierarchies (thanks to Muse Research for help with this one). Added some debug output. * dlls/odbc32/Makefile.in, dlls/odbc32/proxyodbc.c: Bill Medland During startup of the connection to an external ODBC provider (e.g. unixODBC) replicate that provider's driver and DSN data to the registry so that Windows programs that actually query the registry rather than the ODBC will find at least some information. * dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/memory.c, dlls/ole32/datacache.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/typelib.c, dlls/shell32/shlview.c, include/axcore.idl: Vincent Béron Fix some types problems. * dlls/oleaut32/tests/vartest.c: Walt Ogburn Test zero exponents with and without signs. * dlls/winedos/dosexe.h, dlls/winedos/interrupts.c, dlls/winedos/relay.c: Markus Amsler Push on stack in 16 bit mode with segment wrap around. * include/.cvsignore, include/Makefile.in, include/richedit.h, include/richole.h, include/richole.idl: Mike McCormack Added an IDL file for Richedit's OLE interface. * dlls/shell32/shlfileop.c: Rolf Kalbermatter Modify ANSI functions to allocate intermediate Unicode strings on the heap instead of stack. * dlls/winmm/mmsystem.c, dlls/winmm/time.c, dlls/winmm/winemm.h: Jeremy White Revise winmm/time.c to fix timer resolution at 1 ms. This then allows a much more efficient implementation of timer events and timeGetTime, and callers that used sub 10 ms resolution will now get correct results. * loader/kthread.c: Restore lost chunk of previous patch. * include/Makefile.in, include/exdisp.idl, include/exdispid.h: Jacek Caban - Added dispinterfaces: DWebBrowserEvents and DWebBrowserEvents2. - Added coclass: WebBrowser. - Added exdispid.h. * dlls/ntdll/exception.c, libs/port/interlocked.c, loader/kthread.c, programs/winedbg/Makefile.in, programs/winedbg/be_alpha.c, programs/winedbg/gdbproxy.c, programs/winedbg/winedbg.c, tools/winebuild/import.c, tools/winebuild/spec32.c: Vincent Béron Add some more Alpha asm code and Alpha-specific parts. * dlls/user/display.c, dlls/user/message.c, dlls/user/user_main.c, windows/cursoricon.c, windows/dce.c, windows/sysparams.c, windows/win.c, windows/winpos.c: Dmitry Timoshkov Protect USER32 against early graphics driver unloading. * dlls/user/combo.c, dlls/user/controls.h, dlls/user/listbox.c, include/winuser.h: Dimitrie O. Paun Implement LBS_COMBOBOX, and make use of it. Better separation between the Listbox and Combobox. Have a single set of wndprocs, just like Windows. * dlls/amstream/amstream.c, dlls/itss/itss.c, dlls/quartz/filesource.c, dlls/quartz/filtergraph.c: Joris Huizer Added IClassFactory->CreateInstance aggregation checks. * dlls/msvideo/drawdib.c: Peter Riocreux Make DrawDibDraw honour the DDF_BACKGROUNDPAL flag. * dlls/winedos/module.c: Markus Amsler Initialize .COM stack. * dlls/wintrust/wintrust.spec, dlls/wintrust/wintrust_main.c: Stefan Leichter Added stub for CryptCATAdminAcquireContext. * dlls/ntdll/time.c: Rein Klazes In RtlQueryTimezoneInformation use information from the registry if it is available. * dlls/gdi/palette.c: Doug Paul Glenn Wurster Don't unrealize the palette by calling SetPaletteEntries. Check peFlags for PC_RESERVED. * dlls/x11drv/palette.c: Doug Paul Glenn Wurster Change reading of PC_(EXPLICIT|NOCOLLAPSE|RESERVED) to handle multiple values. * programs/clock/Cs.rc, programs/clock/rsrc.rc, programs/cmdlgtst/Cs.rc, programs/cmdlgtst/cmdlgr.rc, programs/notepad/Cs.rc, programs/notepad/rsrc.rc, programs/progman/Cs.rc, programs/progman/rsrc.rc, programs/regedit/Cs.rc, programs/regedit/rsrc.rc, programs/start/Cs.rc, programs/start/rsrc.rc, programs/uninstaller/rsrc.rc: David Kredba Added some Czech resources. * dlls/comctl32/toolbar.c: Robert Shearman - TBN_DELETINGBUTTON sends the command ID, not the index. - Fill in tbButton structure for TBN_DELETINGBUTTON notification. - Document TBN_QUERY* sending indices. * dlls/winspool/info.c: Mike McCormack Fix port enumeration. * dlls/kernel/cpu.c: Hans Leidekker Avoid using gettimeofday(). * dlls/gdi/freetype.c: Rein Klazes Test whether the ft_encoding's are defined, not the FT_ENCODING's. * dlls/user/misc.c, dlls/user/user32.spec: Marcus Meissner Stub function for OpenInputDesktop. * dlls/rpcrt4/cproxy.c, dlls/rpcrt4/rpcrt4.spec: Mike McCormack Add stub implementation for CreateProxyFromTypeInfo. * include/basetsd.h: Vincent Béron Uniformize endianness definition. * dlls/x11drv/x11drv_main.c: Vincent Béron Protect some more types which can be redeclared in Xmd.h. * programs/winecfg/libraries.c: Marcus Meissner Return out of the default case, assert() is removed with -DNDEBUG. * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/propset.c: Robert Reif Fix some places where no driver present causes problems. * dlls/comctl32/comctl32.spec, dlls/comctl32/imagelist.c: Robert Shearman Implement ImageList_SetColorTable. * dlls/gdi/dib.c, include/wingdi.h: Robert Shearman The "colors" parameter of SetDIBColorTable should be CONST. * dlls/advapi32/crypt.c: Michael Jung Fixed a typo in CryptExportKey. * tools/widl/header.c, tools/widl/parser.y, tools/widl/widltypes.h: Jacek Caban Added writing forward declaration of dispinterface. * dlls/ole32/compobj.c: Robert Shearman Improve proxy destruction comment. * dlls/ntdll/server.c: Mike McCormack Mask SIGCHLD to prevent partial writes in the new_process server call. * include/winuser.h: William Poetra Yoga Hadisoesen Added some system metrics definitions. * dlls/shell32/shell32.spec, dlls/shell32/shlfileop.c: Rolf Kalbermatter Added SHFreeNameMappings implementation. * loader/kthread.c: Vincent Béron Fix the declaration of pthread_mutexattr_gettype(). 2004-10-14 Alexandre Julliard * dlls/msvcrt/cpp.c: Fixed spelling of 'hierarchy'. * configure, configure.ac, dlls/gdi/printdrv.c, include/config.h.in: Hans Leidekker Added check for fork() to fix the MinGW build. * tools/wine.inf, windows/sysparams.c: Ivan Leo Puoti Implement action 83 in SystemParametersInfo(). * server/Makefile.in, server/context_alpha.c: Vincent Béron Create the necessary functions for wineserver contexts for Alpha. * dlls/comctl32/tests/imagelist.c: Gerald Pfeifer Completely disable unused function show_image(). * dlls/d3d9/basetexture.c, dlls/d3d9/cubetexture.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/indexbuffer.c, dlls/d3d9/pixelshader.c, dlls/d3d9/query.c, dlls/d3d9/resource.c, dlls/d3d9/stateblock.c, dlls/d3d9/surface.c, dlls/d3d9/swapchain.c, dlls/d3d9/texture.c, dlls/d3d9/vertexbuffer.c, dlls/d3d9/vertexdeclaration.c, dlls/d3d9/vertexshader.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, dlls/d3d9/vshaderdeclaration.c, dlls/wined3d/Makefile.in, dlls/wined3d/device.c, dlls/wined3d/resource.c, dlls/wined3d/vertexbuffer.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades - Add support (as far as was previously) for the VertexBuffer and Resource classes in wined3d and use when called from d3d9. - Reduce the header includes in all the d3d9 interface to one common set in the private header. * configure, configure.ac: Vincent Béron Don't build wine-preloader for other cpus than x86. * dlls/winmm/wineoss/mixer.c: Hans Leidekker getMessage() is only defined when HAVE_OSS is defined. * dlls/tapi32/assisted.c, dlls/tapi32/line.c, dlls/tapi32/phone.c, dlls/tapi32/tapi32.spec, include/tapi.h: Rein Klazes Provide an 'A' version of appropriate functions. * dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec: Hans Leidekker Prefix _fsopen with MSVCRT_ to avoid collision with MinGW header. Typo fix. * tools/winebuild/import.c: Vincent Béron Don't use magic sizes, actually calculate them. * tools/winebuild/spec16.c: Vincent Béron Only compile BuildCallFrom16Func on x86. * dlls/shlwapi/reg.c, dlls/shlwapi/tests/shreg.c: Bill Medland Fix SHDeleteKey so that it will handle deleting a key with more than one subkey. Also includes test. * include/winuser.h: Robert Shearman Add declarations for GetClassLongPtr{A,W}, GCLP_* defines and user object information defines. 2004-10-11 Alexandre Julliard * dlls/dbghelp/dbghelp.spec, dlls/dbghelp/source.c, dlls/dbghelp/symbol.c, dlls/dbghelp/type.c, include/dbghelp.h, programs/taskmgr/dbgchnl.c, programs/winedbg/memory.c, programs/winedbg/symbol.c: Robert Shearman Fix function and structure field types so we are compatible with the native dbghelp. * dlls/kernel/process.c, dlls/kernel/virtual.c, dlls/ntdll/env.c, dlls/ntdll/heap.c, dlls/ntdll/loader.c, dlls/ntdll/relay.c, dlls/ntdll/thread.c, dlls/ntdll/virtual.c, include/winternl.h: Robert Shearman Fix NtAllocateVirtualMemory declaration and fix users of the function. * include/msvcrt/sys/types.h: Martin Fuchs Define pid_t and ssize_t if not already defined. * dlls/oleaut32/variant.c: Walt Ogburn Allow exponents of zero (like "1.000E0") to parse correctly. Previously, they caused DISP_E_TYPEMISMATCH. * include/wine/port.h: Added forward declaration of struct timeval for futimes. * dlls/kernel/kernel_main.c, dlls/kernel/sync.c, dlls/ntdll/ntdll.spec, dlls/ntdll/sync.c, include/winternl.h: Implemented NtYieldExecution. * dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/msc.c, dlls/dbghelp/pe_module.c: Robert Shearman - Move header parsing to callers of pe_load_debug_directory. - Add stubs and structures for LF_PROCEDURE types. * include/wincrypt.h: Michael Jung Added HMAC_INFO typedef. * dlls/winmm/mciseq/mcimidi.c, dlls/winmm/wineoss/midi.c, dlls/winmm/wineoss/mixer.c, dlls/winmm/winmm.c, documentation/multimedia.sgml: Eric Pouech - bring the multimedia doc up-to-date - moved the TODO from the doc into the code * dlls/user/tests/msg.c, dlls/user/tests/win.c, windows/mdi.c: Dmitry Timoshkov - WM_MDISETMENU handler should update new frame menu only if an active and maximized MDI child is visible. - Add a test case for MDI child activation sequence. * dlls/gdi/tests/bitmap.c: Huw Davies Apparently this portion of the test was failing under some versions of winxp, so remove it. * tools/widl/header.c, tools/widl/header.h, tools/widl/parser.y, tools/widl/proxy.c, tools/widl/typelib.c, tools/widl/widl.c: Jacek Caban - Added creation of dispinterface header. - Added creation of coclass header. - Added messages when fopen fails. * dlls/kernel/dosmem.c: Hans Leidekker Avoid using gettimeofday. * dlls/kernel/file.c: Hans Leidekker Include stdio.h for MinGW. * dlls/advapi32/crypt.c: Michael Jung CryptDeriveKey - set return key handle to NULL in case of failure. * dlls/shell32/tests/shlfolder.c: Vitaliy Margolen Sort files/folders before testing. * include/winnt.h: Adam D. Moss Define VER_SUITE_BLADE. * tools/winapi/msvcmaker: Steven Edwards Correctly define WINVER, _WIN32_WINNT and _WIN32_IE versions in all cases. * windows/dialog.c: Dimitrie O. Paun Unicodify DIALOG_DlgDirSelect. Use SendMessageW whenever possible. * dlls/user/listbox.c: Dimitrie O. Paun Audit the listbox control. Fix some indentation problems. * libs/port/interlocked.c, libs/wine/port.c: Vincent Béron Implement interlocked* and wine_switch_to_stack for Alpha. 2004-10-09 Alexandre Julliard * dlls/comctl32/tab.c: Jon Griffiths Items are variable sized, use an accessor to get at them. Combine A/W calls together to remove duplication. Don't leak text when removing/changing items. Turn off hot tracking when we delete the last item. Use the 'delete 1 item' logic when deleting all items. * configure, configure.ac, dlls/ntdll/sync.c, include/config.h.in: Jeremy White Made NtDelayExecution with a 0 timeout yield the CPU, as it is supposed to. 2004-10-08 Alexandre Julliard * configure, configure.ac: Build Wine as 32-bit by default on x86-64, and added a --enable-win64 option for people who want to play with 64-bit support. * dlls/user/tests/msg.c, windows/mdi.c: Dmitry Timoshkov Properly handle the case when last MDI child is being destroyed. * dlls/kernel/tests/console.c: Ferenc Wagner Unconditionally open a fresh console for the tests. * dlls/msi/action.c: Aric Stewart Properly compare file versions when upgrading files so that new versions get properly installed. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/winebuild.man.in, tools/winegcc/Makefile.in, tools/winegcc/winegcc.c: Added --ld-cmd and --nm-cmd options in winebuild, and make winegcc pass the proper ld command. * dlls/commdlg/filedlg16.c, dlls/mscms/profile.c: Vincent Béron Better document some apis in commdlg and mscms. * tools/winapi/win16.api, tools/winapi/win32.api: Vincent Béron Update types checked by winapi_check. * include/exdisp.idl: Jacek Caban Added IWebBrowse2 interface. * dlls/kernel/path.c, dlls/quartz/main.c: Vincent Béron Correct the calling convention of GetSystemWow64Directory{A,W}, AmpFactorToDB and DBToAmpFactor. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/wined3d/directx.c, dlls/wined3d/wined3d_private.h, include/d3d9types.h, include/wine/wined3d_interface.h: Jason Edmeades Copy and tidy up the code from dx8 create device into wined3d. Call from wined3d and d3d8, but short term only use the code for real from d3d9. * dlls/user/scroll.c: Dimitrie O. Paun Audit the scroll control. Reorganize the documentation in a more readable format. * dlls/user/edit.c: Dimitrie O. Paun Audit the edit control. * programs/winefile/Fr.rc: Sylvain Petreolle Update French translation. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Disable remaining piece of the code which auto assigns virtual key codes, it breaks VK_OEM_102 in finnish/swedish keyboard layouts. * include/Makefile.in, include/reason.h, include/winreg.h, include/winuser.h: Francois Gouget Add some reason codes for ExitWindowsEx(). Also add EWX_FORCEIFHUNG. * programs/notepad/main.c: Francois Gouget Bring up the File->Save dialog when receiving WM_QUERYENDSESSION. * dlls/hhctrl.ocx/hhctrl.c, dlls/hhctrl.ocx/hhctrl.ocx.spec, include/htmlhelp.h: Jacek Caban - Added doWinMain stub - Fixed htmlhelp.h * dlls/wininet/netconnection.c: Vincent Béron Remove #ifdef HAVE_SYS_TYPES_H. 2004-10-07 Alexandre Julliard * dlls/advapi32/crypt_md4.c, dlls/advapi32/crypt_md5.c: Removed wrong memset calls. * dlls/advapi32/advapi32.spec: Fixed MD4Final/MD5Final entries (spotted by Vincent Béron). * configure, configure.ac, dlls/mscms/Makefile.in, dlls/mscms/handle.c, dlls/mscms/lcms_api.h, dlls/mscms/mscms.spec, dlls/mscms/mscms_main.c, dlls/mscms/mscms_priv.h, dlls/mscms/profile.c, dlls/mscms/tests/.cvsignore, dlls/mscms/tests/Makefile.in, dlls/mscms/tests/profile.c, include/config.h.in, include/icm.h: Hans Leidekker Implement color profile handles. Implement OpenColorProfile{A,W} and CloseColorProfile. Implement GetColorDirectory{A,W} and InstallColorProfile{A,W}. Implement UninstallColorProfile{A,W}. Dynamically load liblcms. Add tests. * tools/winapi_check/modules.pm, tools/winapi_check/nativeapi.pm, tools/winapi_check/preprocessor.pm, tools/winapi_check/winapi_c_parser.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_global.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_parser.pm: Francois Gouget Add function prototypes. Modify function calls so the prototypes are checked. * libs/port/futimes.c: Jeremy White Need to include sys/time.h. * programs/winefile/En.rc, programs/winefile/It.rc, programs/winefile/Pl.rc, programs/winefile/resource.h, programs/winefile/winefile.c: Martin Fuchs - remove unused IDS_FILE_MOVE_ERROR - use SetWindowFont() instead of SendMessage(WM_SETFONT) - remove unused comment - use GET_X_LPARAM() instead of GET_X_LPARAM() - remove old _ROS_ preprocessor statements * dlls/commdlg/fontdlg.c: Jon Griffiths Constify some statics and make them smaller. * dlls/comctl32/imagelist.c, dlls/comctl32/tests/imagelist.c: Jon Griffiths ImageList_Merge should not fail if indices are bad. Add tests for this case, a visible test mode and fix DrawIndirect test under some native comctl32.dll's. * dlls/comctl32/treeview.c: Jon Griffiths Draw +/- correctly for large icon sizes. * include/winuser.h: Jon Griffiths Add missing ODS_ constants, tagname. * dlls/dbghelp/dbghelp_private.h: Jon Griffiths Vectors need all 32 bits to handle _really_ large apps. * tools/genpatch: Francois Gouget The generated patch was missing a line of the diff. genpatch was also depending on the new files being listed first by 'cvs diff' (which is the case but I'm not sure there is any hard guarantee). Use 'perl -w' for more checking, fix the resulting 'undefined value' warnings. In many cases we don't just want $options{xxx} to exist, we want it to be defined. Restrict the scope of variables and remove unneeded variables. * programs/winefile/winefile.c: Martin Fuchs Fix "move file" implementation, in detail: - use TCHAR to make the code UNICODE compatible - pass return string buffer to the dialog procedure - call display_error() in case of errors to display the WIN32 error message - use slash instead of back slash for unix file system compatibility - format the code equally to the remaining winefile code * dlls/ntdll/file.c, include/wine/port.h, libs/port/Makefile.in, libs/port/futimes.c: Added a fallback implementation of futimes. * dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/wined3d/Makefile.in, dlls/wined3d/device.c, dlls/wined3d/directx.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades Add a IWineD3DDevice object type (empty for now), and create one when an IDirect3DDevice object is created. * tools/winapi/make_filter_options.pm, tools/winapi/msvcmaker_options.pm, tools/winapi/winapi_check_options.pm, tools/winapi/winapi_cleanup_options.pm, tools/winapi/winapi_extract_options.pm, tools/winapi/winapi_fixup_options.pm, tools/winapi/winapi_test_options.pm: Francois Gouget Don't import parse_comma_list() unless necessary. winapi_check_options.pm: Fix typo in the parse_comma_list() reference. * dlls/advpack/advpack.c, dlls/advpack/reg.c: Vincent Béron Use the proper #include file delimiter in advpack. * programs/winefile/En.rc, programs/winefile/It.rc, programs/winefile/Pl.rc, programs/winefile/resource.h, programs/winefile/winefile.c, programs/winefile/winefile.h: Martin Fuchs Immediately refresh child windows after changing the font. * Make.rules.in, Makefile.in: Force all the tools to be rebuilt before make depend, otherwise make will try to do that from the include directory. * dlls/user/message.c, dlls/user/painting.c, windows/painting.c, windows/winproc.c: Only send WM_PAINTICON and WM_ICONERASEBKGND to 16-bit windows (found by Jeremy White). * dlls/amstream/amstream.c, dlls/amstream/main.c, dlls/atl/atl_main.c, dlls/avifil32/api.c, dlls/avifil32/factory.c, dlls/comcat/comcat_private.h, dlls/comctl32/comctl32undoc.c, dlls/comctl32/imagelist.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlgbrowser.c, dlls/d3d8/surface.c, dlls/d3d8/volume.c, dlls/d3d9/surface.c, dlls/d3d9/volume.c, dlls/d3dxof/d3dxof.c, dlls/d3dxof/main.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/main.c, dlls/devenum/devenum_private.h, dlls/dinput/dinput_main.c, dlls/dplayx/dpclassfactory.c, dlls/dsound/dsound_main.c, dlls/itss/itss.c, dlls/itss/moniker.c, dlls/itss/storage.c, dlls/mapi32/util.c, dlls/mlang/mlang.c, dlls/msdmo/dmort.c, dlls/msi/action.c, dlls/msi/msi.c, dlls/msi/msiquery.c, dlls/msi/suminfo.c, dlls/msi/table.c, dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compobj.c, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/filemoniker.c, dlls/ole32/ftmarshal.c, dlls/ole32/git.c, dlls/ole32/hglobalstream.c, dlls/ole32/ifs.c, dlls/ole32/itemmoniker.c, dlls/ole32/marshal.c, dlls/ole32/memlockbytes.c, dlls/ole32/moniker.c, dlls/ole32/ole2.c, dlls/ole32/ole2impl.c, dlls/ole32/oleobj.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/stg_bigblockfile.c, dlls/ole32/stg_stream.c, dlls/ole32/storage32.c, dlls/oleaut32/connpt.c, dlls/oleaut32/dispatch.c, dlls/oleaut32/oaidl_p.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c, dlls/oleaut32/usrmarshal.c, dlls/quartz/enummoniker.c, dlls/quartz/filtergraph.c, dlls/quartz/quartz_private.h, dlls/rpcrt4/cproxy.c, dlls/rpcrt4/cpsf.c, dlls/rpcrt4/cstub.c, dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/ndr_ole.c, dlls/shdocvw/shdocvw_main.c, dlls/shell32/autocomplete.c, dlls/shell32/brsfolder.c, dlls/shell32/cpanelfolder.c, dlls/shell32/dataobject.c, dlls/shell32/dragdrophelper.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/memorystream.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlexec.c, dlls/shell32/shlfolder.c, dlls/shell32/shlfsbind.c, dlls/shell32/shlmenu.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shlwapi/clist.c, dlls/shlwapi/istream.c, dlls/shlwapi/regstream.c, dlls/shlwapi/thread.c, dlls/urlmon/umon.c, dlls/urlmon/urlmon_main.c, include/objbase.h, programs/winemenubuilder/winemenubuilder.c: Francois Gouget Don't define COBJMACROS in objbase.h. Update the Wine sources accordingly. * tools/winapi_check/winapi_local.pm: Francois Gouget Fix an 'uninitialized value' warning. * dlls/oleaut32/vartype.c: Francois Gouget Fix the VarI4FromI2 API documentation. * dlls/shell32/tests/shlfolder.c: Francois Gouget Conformance tests must not include wine/debug.h. * programs/winefile/winefile.c: Martin Fuchs Fix sigsegv when double clicking directory entries. 2004-10-06 Alexandre Julliard * include/exdisp.idl, tools/widl/parser.y: Allow defined types to be used as function names. * dlls/advapi32/Makefile.in, dlls/advapi32/advapi32.spec, dlls/advapi32/crypt_md4.c, dlls/advapi32/crypt_md5.c, dlls/advapi32/tests/.cvsignore, dlls/advapi32/tests/Makefile.in, dlls/advapi32/tests/crypt_md4.c, dlls/advapi32/tests/crypt_md5.c: Hans Leidekker Implement MD{4,5}Init MD{4,5}Update and MD{4,5}Final. Add tests for these functions. * windows/spy.c: Dmitry Timoshkov Make message spy thread safe. * dlls/winsock/socket.c, dlls/winsock/tests/sock.c: Rein Klazes - Fix WS_getsockopt for the options SO_LINGER, SO_RCVTIMEO and SO_SNDTIMEO by adding data conversion from Unix to windows. - Added a test for this. * programs/winefile/winefile.c: Martin Fuchs - remove trailing semicolons from constant definitions - add some comments - make time_to_filetime() a static function * tools/winapi/msvcmaker: Martin Fuchs Fix generation of config.h. * include/winuser.h: Dmitry Timoshkov Add prototypes for GetWindowLongPtr/SetWindowLongPtr. * dlls/user/tests/msg.c: Dmitry Timoshkov Skip interthread message test under win9x, it causes a crash there. * dlls/d3d8/directx.c, dlls/d3d9/directx.c, dlls/wined3d/directx.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_gl.h, include/wine/wined3d_interface.h: Jason Edmeades Move the GetDeviceCaps into the wined3d library and call from d3d9. * dlls/user/combo.c: Steven Edwards Remove useless FIXME in comment. * tools/winapi/msvcmaker: Martin Fuchs Fix msvcmaker imports. * dlls/shell32/shlfileop.c: Rolf Kalbermatter Fix bug found by Piotr Caban, where our function tried to delete a directory even though the user canceled the operation. 2004-10-05 Alexandre Julliard * dlls/user/menu.c, dlls/user/tests/msg.c, dlls/user/tests/resource.rc, dlls/x11drv/keyboard.c, windows/defwnd.c: Dmitry Timoshkov Add a test case for accelerators, make the test pass on Wine. * dlls/user/tests/msg.c: Dmitry Timoshkov Added a test case for inter-thread DispatchMessage. * windows/message.c: Prevent DispatchMessage from dispatching a message to a different thread (reported by Dmitry Timoshkov). * dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/type42.c: Marcus Meissner Make sure PostScript floats are printed with LC_NUMERIC="C". * dlls/user/listbox.c, dlls/user/tests/listbox.c: Jon Griffiths Draw background of the empty selected item in empty lists. Don't draw a focus rect if we dont have the focus. Don't select items on key up/down in multi-select lists. Handle LBS_NOSEL correctly, fix remaining todo_wine tests. * dlls/shlwapi/tests/path.c: Huw Davies Tests for PathCreateFromUrl, PathIsURL, UrlCreateFromPath and UrlUnescape. * dlls/shlwapi/url.c: Huw Davies Rewrite UrlCreateFromPath. * include/wine/port.h: Martin Fuchs Don't use ".previous" for Cygwin build. * dlls/comctl32/treeview.c, dlls/comctl32/updown.c, dlls/dbghelp/symbol.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/oleaut32/olefont.c, dlls/quartz/filtermapper.c, dlls/shell32/shelllink.c, dlls/wined3d/directx.c: Francois Gouget Assorted spelling fixes. * tools/winapi/msvcmaker: Francois Gouget Identify comm.drv as a 16bit dll. * dlls/avifil32/acmstream.c, dlls/avifil32/avifile.c, dlls/avifil32/factory.c, dlls/avifil32/icmstream.c, dlls/avifil32/wavfile.c: Francois Gouget Replace some IUnknown_QueryInterface() calls with the specific call for the object being used. * dlls/commdlg/cdlg_Pl.rc, programs/clock/Pl.rc, programs/clock/rsrc.rc, programs/winemine/Pl.rc: Jacek Caban Added/updated Polish translations. * tools/winapi/output.pm: Francois Gouget Limit the length of progress messages to less than $COLUMNS || 80 characters so they don't wrap (which would cause them to be badly erased). Make good use of the 'x', the perl string multiplication operator. Add function prototypes. * tools/winapi/msvcmaker: Francois Gouget Add function prototypes. * dlls/oleaut32/dispatch.c, dlls/oleaut32/typelib.c: Huw Davies Implement CreateDispTypeInfo. * dlls/shlwapi/path.c, include/shlwapi.h: Huw Davies Rewrite PathCreateFromUrl. * Make.rules.in, tools/widl/header.c, tools/widl/widl.c, tools/widl/widl.h, tools/widl/widl.man: Removed no longer needed ICOM compatibility mode in widl. * dlls/user/combo.c: Dimitrie O. Paun Audit combo control code. Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W. * include/commctrl.h, include/d3d.h, include/d3d8.h, include/d3d9.h, include/d3dx8core.h, include/ddraw.h, include/dinput.h, include/dmplugin.h, include/dmusicc.h, include/dmusici.h, include/dmusics.h, include/dpaddr.h, include/dplay.h, include/dplay8.h, include/dplobby.h, include/dsdriver.h, include/dsound.h, include/dxdiag.h, include/dxfile.h, include/mapidefs.h, include/mapiutil.h, include/mapix.h, include/objbase.h, include/oledlg.h, include/shlobj.h, include/shlwapi.h, include/vfw.h: Get rid of the non-standard Ixxx_METHODS macro definitions, declare the interfaces explicitly instead. * dlls/avifil32/editstream.c, dlls/dplayx/dplaysp.h, dlls/dplayx/lobbysp.h, dlls/ole32/ifs.h, dlls/shell32/shellfolder.h, include/wine/wined3d_interface.h: Avoid depending on the non-standard IUnknown_METHODS macro in Wine internal headers. * documentation/patches.sgml: Tony Lambregts Ask for link if patch is related to a bug in Bugzilla. * dlls/shlwapi/url.c: Huw Davies Fix UrlUnescapeW. * dlls/user/static.c: Dimitrie O. Paun Audit the static control code. Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W. * dlls/user/button.c: Dimitrie O. Paun Audit and document button code. Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W. Change WM_GETDLGCODE as per the MSDN documentation. * Makefile.in: Hans Leidekker crosstest target depends on include files. * dlls/quartz/filtergraph.c, include/.cvsignore, include/Makefile.in, include/control.h, include/control.idl, include/uuids.h: Converted control.h to idl. * include/amvideo.idl, include/exdisp.idl, include/ocidl.idl: Use propget/propput attributes where appropriate. * tools/widl/header.c, tools/widl/parser.l, tools/widl/parser.y, tools/widl/widltypes.h: Added support for the propget/propput function attributes. * dlls/d3d8/directx.c, dlls/d3d9/directx.c, dlls/wined3d/directx.c, dlls/wined3d/utils.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades Move the Check* type functions into wined3d and copy from d3d9, and flag that they are mostly stubs. * programs/winetest/send.c: Ferenc Wagner Quote everything for consistency. RFC 2068 got superseded by RFC 2616. * dlls/shlwapi/url.c: Huw Davies PathIsURL should return TRUE even if a scheme is unknown. * dlls/user/tests/msg.c, windows/mdi.c: Dmitry Timoshkov If there no MDI child to activate set hwndActiveChild to 0 in WM_MDIDESTROY hander, add a test case. * dlls/advapi32/tests/.cvsignore, dlls/advapi32/tests/crypt.c, dlls/rsabase/main.c: Dmitry Timoshkov Make advapi32/crypt.c test pass under win2k SP4, do stricter error checking, comment out a couple of tests failing under win2k, add a note why RSA_CPAcquireContext may fail. * dlls/dbghelp/path.c: Wolfgang Schwotzer MakeSureDirectoryPathExists: Recursively create path up to last '\\'. 2004-10-04 Alexandre Julliard * dlls/shell32/shellpath.c: Fixed typo in ProgramsW. Changed the case of windows and system directories to match the directories we create by default. * include/dxfile.h: Fixed incompatible IDIRECTXFILEOBJECT_METHODS macro, and added IUNKNOWN_METHODS. * configure, configure.ac, include/config.h.in, libs/wine/config.c: Steven Edwards Check for getuid and avoid the use of it in libwine if we don't have it. * dlls/advapi32/Makefile.in, dlls/advapi32/advapi32.spec, dlls/advapi32/crypt.h, dlls/advapi32/crypt_des.c, dlls/advapi32/crypt_lmhash.c, dlls/advapi32/crypt_sha.c, dlls/advapi32/tests/Makefile.in, dlls/advapi32/tests/crypt_lmhash.c: Hans Leidekker Implement SystemFunction006(). Add a test for SystemFunction006(). * dlls/dbghelp/elf_module.c: Robert Shearman Add support for .gnu_debuglink. * dlls/winmm/winealsa/audio.c: Jerry Jenkins Fix an error message. * dlls/winspool/info.c: Mike McCormack Fix port enumeration. * dlls/comctl32/animate.c: Dmitry Timoshkov If an animation is already playing do not restart it. Remove WM_CLOSE handler, it leads to a memory corruption later on. * dlls/comctl32/propsheet.c: Aric Stewart Check to make sure PropSheetInfo* is not null before dereferencing it for some windows messages. * include/.cvsignore, include/Makefile.in, include/mediaobj.h, include/mediaobj.idl: Vincent Béron Create mediaobj.h from mediaobj.idl. * dlls/user/message.c, dlls/user/tests/msg.c: Dmitry Timoshkov Add more message conversion tests, make the tests pass under Wine. * dlls/dplayx/dplaysp.h, dlls/dplayx/lobbysp.h, include/dsdriver.h, include/wine/wined3d_interface.h: Francois Gouget Don't use COBJMACROS on internal interfaces. * dlls/winsock/socket.c, include/winsock2.h: Robert Shearman - Fix calculation of required buffer size. - Add support for detecting the IFF_MULTICAST flag. - Stub for SIO_ADDRESS_LIST_CHANGE. * include/d3d.h, include/d3d8.h, include/d3d9.h, include/ddraw.h, include/dinput.h, include/dpaddr.h, include/dplay.h, include/dplay8.h, include/dplobby.h, include/dsound.h, include/dxdiag.h: Francois Gouget Fix incorrect usage of COBJMACROS. Duplicate and adapt the COM access macros so they also work in C++. Fix the IDirectPlayX access macros. * include/d3dx8core.h, include/dmplugin.h, include/dmusicc.h, include/dmusici.h, include/dmusics.h, include/dxfile.h, include/mapidefs.h, include/mapiutil.h, include/mapix.h, include/oledlg.h, include/shlobj.h, include/shlwapi.h, include/vfw.h: Francois Gouget Fix incorrect usage of COBJMACROS. * programs/winetest/main.c: Ferenc Wagner Do not offer submitting the report if the -o option was given. * programs/wcmd/Pl.rc, programs/wcmd/wcmdrc.rc, dlls/shell32/shell32_Pl.rc: Piotr Caban Added Polish translation. * tools/wine.inf: Dmitry Timoshkov Add iccvid.dll to an initial Wine configuration. * dlls/advapi32/tests/crypt_sha.c: Dmitry Timoshkov Avoid a crash in advapi32/test_sha_ctx.c test if required entry points are missing. * dlls/dbghelp/stabs.c: Robert Shearman - Check for string pointer being outside of the string table. - Only parse typedefs on stabs entries that can have them. * dlls/dbghelp/msc.c, dlls/dbghelp/pe_module.c: Robert Shearman Fix the loading .dbg files by no longer using RtlImageNtHeader which would return NULL and using looking at the IMAGE_SEPARATE_DEBUG_HEADER directly instead. * programs/msiexec/msiexec.c: Kevin Koltzau Correct problem with /i argument handling. * dlls/winmm/winealsa/audio.c: Jerry Jenkins Don't use the SND_PCM_ASYNC flag for the moment. * dlls/imm32/imm.c: Mike McCormack Prevent crash using CJK locale but no input method. * dlls/comctl32/animate.c: Dmitry Timoshkov Do not use GlobalFree for a memory returned by LoadResource. * dlls/ntdll/time.c: Filip Navara Add UTC to the time zone list. * programs/winetest/send.c: Ferenc Wagner - Use a more unique separator string. - Add some quoting to please CGI.pm-3.05. * tools/bug_report.pl: Francois Gouget Switch to 'perl -w' and add 'use strict;'. Add prototypes to all functions. Remove $bashver and $outflags, they are not used. * include/winspool.h: Francois Gouget Fix the JobId field case. * include/tlhelp32.h: Francois Gouget Add HEAPENTRY32 and the related APIs. * include/lmcons.h: Francois Gouget Add API_RET_TYPE and NET_API_FUNCTION. * tools/winapi/msvcmaker: Francois Gouget Handle the static libraries linked to using EXTRALIBS. * dlls/winsock/socket.c: Rein Klazes - Time out on recv from and send to blocking sockets. - Fix timeout calculation in WS_setsockopt. * dlls/user/tests/msg.c: Robert Shearman Add tests for conversion of message parameters. * dlls/shlwapi/tests/path.c, dlls/shlwapi/url.c: Huw Davies UrlEscape has different rules depending on the protocol. Added a load of tests. * dlls/comctl32/rebar.c: Vitaliy Margolen Don't loose last band on insert. * dlls/shell32/shlfolder.c: Ge van Geldorp Can't pass NULL as default value to GetPrivateProfileString. * dlls/dbghelp/elf_module.c: Robert Shearman Rewrite a section of code so that it doesn't use exit(0) when out of memory. * dlls/dbghelp/module.c: Robert Shearman Print out a slightly more informative message if an ELF module fails to load. * tools/c2man.pl: Francois Gouget Add prototypes to all functions. Move 'main' to the end so we don't have to pre-declare all the functions. * tools/make_requests: Francois Gouget Add 'use strict'. Add prototypes to all functions. Move 'main' to the end so we don't have to pre-declare all the functions. 2004-09-29 Alexandre Julliard * dlls/icmp/icmp_main.c: Avoid using gettimeofday. * dlls/d3d8/directx.c, dlls/d3d9/directx.c, dlls/wined3d/directx.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_gl.h, include/wine/wined3d_interface.h: Jason Edmeades Move into wined3d and call from d3d9 the GetAdapterId function and copy all the gl declarations into the more global wined3d_gl header file. * dlls/shell32/.cvsignore, dlls/shell32/Makefile.in, dlls/shell32/folders.c, dlls/shell32/shres.rc: Klemens Friedl Martin Fuchs - drive icon artwork - display different drive icons depending on the drive type * dlls/shlwapi/url.c, include/shlwapi.h: Huw Davies ParseURL is now documented, so move it into shlwapi.h. * dlls/x11drv/event.c: Dmitry Timoshkov Ignore FocusOut event if there is no event window. * dlls/kernel/resource.c: Vincent Béron Keep the original resources if !bDeleteExistingResources in BeginUpdateResourceW. Pass the correct handle to callback functions in BeginUpdateResourceW. Fix a bug while saving data in memory in UpdateResourceW. * dlls/user/edit.c: James Hawkins Limit scrolling of the edit control to the last line of text. 2004-09-28 Alexandre Julliard * dlls/shell32/folders.c: Robert Shearman Simplify getting custom icons for a folder by utilising the new SHELL32_GetCustomFolderAttribute function. * dlls/shell32/shfldr.h, dlls/shell32/shlfolder.c: Robert Shearman - Add support for custom shell folders, such as the History folder. - Always try to initialize folder using IPersistFolder3 interface and then fall back on IPersistFolder if not supported. * dlls/amstream/main.c, dlls/d3dxof/main.c, dlls/ddraw/main.c, dlls/dpnet/dpnet_main.c, dlls/dxdiagn/dxdiag_main.c, dlls/itss/itss.c, dlls/mlang/mlang.c, dlls/quartz/main.c: Huw Davies Fix a reference leak on failure (spotted by Rob Shearman). Move some code over to the Interlocked* functions. * dlls/urlmon/Makefile.in, dlls/urlmon/sec_mgr.c, dlls/urlmon/umon.c, dlls/urlmon/urlmon_main.c, dlls/urlmon/urlmon_main.h, include/urlmon.idl: Huw Davies Stub implementation of IInternetSecurityManager. Add a classfactory. Fix calling convention of CoInternetCreateSecurityManager. * dlls/kernel/wowthunk.c: Robert Shearman - Don't perform event check if in system code. Fixes infinite recursion bug. - Fix stack corruption that could occur in K32WowCallback16Ex if an event check was inserted. * dlls/comctl32/imagelist.c, dlls/comctl32/tests/imagelist.c: Michael Stefaniuc - native ImageList_Remove dosn't spit out an error message when deleting an index out of range so don't do that either - add 2 ImageList_Remove tests * dlls/comctl32/treeview.c: Robert Shearman Determine whether to do label edit before sending NM_CLICK. * programs/winecfg/En.rc, programs/winecfg/drive.c, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c: Mike Hearn - switch x11drvdlg to kernel_style, and clean up some superflous code - more win32 heapification - move getDialogItemText into header and rename, use some more in x11drv page - make label phrasing consistent in x11drv page * programs/winecfg/En.rc, programs/winecfg/appdefaults.c, programs/winecfg/audio.c, programs/winecfg/drive.c, programs/winecfg/libraries.c, programs/winecfg/main.c, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c: Mike Hearn - rewrite the transaction system to be based on a settings overlay, to have a nicer API, and to actually work (always a bonus) - change the libraries page to be based on a listbox rather than a treeview, clean up and shrink the code - add accelerator keys to the libraries page, focus management - make the window title reflect what the user is currently editing - remove bogus root warning - remove some unused control IDs in resource.h - start converting the x11drv dialog to kernel_style from javaStyle - bugfixing * programs/winecfg/En.rc, programs/winecfg/appdefaults.c, programs/winecfg/properties.c, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/winecfg.rc, programs/winecfg/x11drvdlg.c: Mike Hearn - introduce keypath() function - rewrite and clean up appdefaults.c, use a listview rather than treeview - usability tweak: reverse windows version combo so more recent versions come first - usability tweak: improve the add application open dialog box - add accelerator keys - enable/disable controls correctly - begin to standardise on underscore_style for consistency with the rest of wine - comment out the translations for now, the UI will be changing more - begin phasing out libc malloc in favour of the win32 heap * programs/winefile/It.rc: Ivan Leo Puoti Translation update. * include/pstore.idl: Filip Navara Fix IDL prototypes of IPStore::WriteItem and IPStore::CloseItem. * dlls/atl/atl.spec, dlls/atl/atl_main.c, dlls/atl/atlbase.h: James Hawkins Stub implementation of AtlModuleUnregisterServerEx. * tools/wineprefixcreate.in: Marcus Meissner Added missing directories mentioned in shellpath.c. * fonts/.cvsignore, fonts/Makefile.in, fonts/wine_sans_serif.sfd: Dmitry Timoshkov Add cyrillic glyphs to wine_sans_serif at 20 ppem. * dlls/comctl32/treeview.c: Jon Griffiths Item height/expand button width must be >= than imagelist size. Avoid a magic number, add FIXME for incorrect +/- drawing. * programs/winecfg/main.c: Mike Hearn Display message box to alert users more reliably that winecfg is unfinished. * documentation/debugger.sgml, programs/winedbg/break.c, programs/winedbg/dbg.y, programs/winedbg/debugger.h, programs/winedbg/display.c, programs/winedbg/expr.c, programs/winedbg/memory.c, programs/winedbg/source.c, programs/winedbg/symbol.c, programs/winedbg/types.c, programs/winedbg/winedbg.c: Eric Pouech - fixed regression in ctrl-c handling - fixed regression in 'info symbol XXXX' command (and enhanced presentation) - fixed regression in line stepping - fixed regression in & (address operator) handling - fixed some bad module reference for local symbols - enhanced register presentation as local variables - added warning when launching a debuggee which isn't a Wine app - removed the 'local' extension of display command (and check when setting the display whether the expr has a local binding) - simplified exception handling, and factorized some code when debugger stops * tools/widl/parser.y: Filip Navara - Force default [in] attribute on all parameters where explicit [in] or [out] attributes aren't specified. - Force default [out] attribute on return values. * dlls/d3d8/Makefile.in, dlls/d3d8/d3d8_main.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/directx.c, dlls/d3d9/directx.c, dlls/wined3d/Makefile.in, dlls/wined3d/directx.c, dlls/wined3d/utils.c, dlls/wined3d/wined3d_main.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades - Make d3d8 know about the wined3d device and start using it. - Move some of the screen mode related functions into wined3d and add untested support for the new d3d9 options of providing the format to some of the calls. - Move other functions from the directx interface into the common library and implement the calls from d3d9 as well. - Copy across the first of the functions used to make traces more readable, creating utils.c to store them in. Eventually the ones in d3d8 will be removed but for now just duplicate the code. * windows/cursoricon.c: Michael Kaufmann DIB_FixColorsToLoadflags: Support bitmaps with a BITMAPCOREHEADER properly. 2004-09-27 Alexandre Julliard * libs/wine/config.c: Base the server directory name on the uid, not the username. * configure, configure.ac, dlls/Makefile.in, dlls/advpack/.cvsignore, dlls/advpack/Makefile.in, dlls/advpack/advpack.c, dlls/advpack/advpack.spec, dlls/advpack/reg.c, include/Makefile.in, include/advpub.h: Huw Davies Partial implementation of advpack.RegInstall. * programs/winefile/En.rc, programs/winefile/Makefile.in, programs/winefile/Pl.rc, programs/winefile/resource.h, programs/winefile/resource.rc, programs/winefile/winefile.c, programs/winefile/winefile.h: Piotr Caban - added choosing fonts - added file moving * dlls/advapi32/service.c: Alexander Yaworsky Start only first service in the service table. * dlls/winmm/winealsa/midi.c: Uwe Bonnes Call GetProcessHeap() instead of passing its address. * dlls/shell32/dialogs.c: Ge van Geldorp Call GetProcessHeap() instead of passing its address. * dlls/x11drv/dib.c: Michael Kaufmann - Add as many entries to the color map as specified by the DIB. - Support bitmaps with a BITMAPV{4,5}HEADER. * dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c: Marcus Meissner Function return types cannot be const. * tools/wineshelllink: Marcus Meissner Remove -- from shell entries, since wine no longer filters it. * documentation/patches.sgml: Hans Leidekker Suggest running conformance tests prior to sending a patch. * dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/module.c, dlls/dbghelp/symbol.c, dlls/dbghelp/type.c: Eric Pouech - now storing vector of types on a per module basis (and giving it back in SymEnumTypes) - flagging local register vars as local too * documentation/PACKAGING: Hans Leidekker Suggest installing LittleCMS to Wine packagers. * programs/winhelp/macro.c: Jon Griffiths Stub MACRO_JumpContext to at least bring up the help file. 2004-09-25 Alexandre Julliard * dlls/comctl32/hotkey.c: Robert Shearman - Implement WS_DISABLED style. - Issue EN_CHANGE notification. * windows/nonclient.c: Robert Shearman Check in client area before caption area, because the app may have changed the NC area in WM_NCCALCSIZE. * dlls/shlwapi/path.c, dlls/shlwapi/tests/path.c: Huw Davies Implement PathSearchAndQualify. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Ge van Geldorp SHGetAppCompatFlags takes 4 bytes of parameters. * programs/winhelp/winhelp.c: Ken Belleau - Removed code that took the focus away from the buttons. - Make the buttons forward WM_KEYDOWN to their parent. * dlls/advapi32/service.c: Alexander Yaworsky Restructured code of StartServiceCtrlDispatcherA/W. 2004-09-24 Alexandre Julliard * dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/filemoniker.c, dlls/ole32/hglobalstream.c, dlls/ole32/itemmoniker.c, dlls/ole32/marshal.c, dlls/ole32/memlockbytes.c, dlls/ole32/memlockbytes16.c, dlls/ole32/moniker.c, dlls/ole32/oleobj.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/stg_stream.c, dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/oleaut32/connpt.c, dlls/oleaut32/dispatch.c, dlls/urlmon/umon.c: Joris Huizer Ref count increment/decrement cleanup. * windows/sysparams.c: Hajime Segawa Added StatusFontSize and MessageFontSize entries in win.ini. * dlls/gdi/gdiobj.c: Jon Griffiths Use a (seemingly xp default) width of 7 for system fonts. * dlls/shell32/iconcache.c, dlls/shell32/shres.rc: Martin Fuchs - Use system metrics to determine icon sizes. - Move invalid index from 1 to 0. * loader/preloader.c: Support compiling with -fPIC for people who somehow think this is a good idea. * documentation/winelib-intro.sgml: Vincent Béron Change the sample app from winemine to notepad for winemaker in the Winelib User Guide. * dlls/user/menu.c, include/winuser.h: Richard Cohen MenuItemFromPoint shouldn't crash if there's no menu. * dlls/ntdll/loadorder.c: Uwe Bonnes Make WINEDLLOVERRIDES also match for *dll. 2004-09-23 Alexandre Julliard * dlls/shlwapi/ordinal.c, dlls/wininet/dialogs.c, include/winuser.h: Robert Shearman Don't define GWL_USERDATA, GWL_ID, GWL_HWNDPARENT, GWL_HINSTANCE and GWL_WNDPROC when compiling the Wine source. * programs/winhelp/hlpfile.c, programs/winhelp/winhelp.c: Ken Belleau - Removed the deprecated OF_SEARCH flag. - Handle quotes in command-line parsing. * dlls/wininet/http.c: Robert Shearman Use dynamically allocated heap allocated buffers in HTTP_InterpretHTTPHeader to avoid buffer overflow on large headers. * dlls/wininet/internet.c, dlls/wininet/tests/http.c: Robert Shearman - Don't crash on double InternetCloseHandle. - Test case for this. * dlls/user/tests/win.c: Dmitry Timoshkov - Skip shell window test on Win9x and restore its functionality on NT platforms. - Use keybd_event instead of SendInput in order to perform keyboard input test on Win95 as well. * dlls/shell32/shelllink.c: Martin Fuchs At least print message if we're not returning requested data. * dlls/comctl32/hotkey.c: Robert Shearman - Make the control look more like native by using the right font and spacing. - Use TextOutW rather than DrawTextW as we don't use any features of DrawTextW. - Fix caret size and position. - Implement WM_CHAR and WM_SYSCHAR messages. * dlls/comctl32/treeview.c: Filip Navara Fix obviously wrong condition in an "if" statement. * dlls/comctl32/toolbar.c: Filip Navara Add note about unimplemented TB_SAVERESTORE message. * dlls/commdlg/fontdlg.c: Steven Edwards Remove unneeded include statements. * configure, configure.ac, include/config.h.in, server/fd.c: Added support for epoll() as an alternative to poll() (based on the work of Shachar Shemesh and Mike McCormack). * dlls/d3d9/Makefile.in, dlls/d3d9/d3d9_main.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/directx.c, dlls/wined3d/Makefile.in, dlls/wined3d/directx.c, dlls/wined3d/vertexshader.c, dlls/wined3d/wined3d.spec, dlls/wined3d/wined3d_main.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_interface.h: Jason Edmeades Create a wined3d interface, and generate a wined3d object in the d3d9 create method. Make the first (simple) call implementation into the new wined3d interface. * dlls/shell32/shell32_De.rc, dlls/shell32/shell32_En.rc, dlls/shell32/shell32_Es.rc, dlls/shell32/shell32_It.rc, dlls/shell32/shell32_Ja.rc, dlls/shell32/shell32_Pt.rc, dlls/shell32/shell32_Uk.rc: Ge van Geldorp Some windres versions don't like POPUP"", change to POPUP "". * dlls/dbghelp/stack.c, programs/winedbg/stack.c: Robert Shearman Fix debugger for flat PC and non-flat frame. * dlls/shell32/iconcache.c: Steven Edwards Remove some unneeded include statements. * tools/winapi/msvcmaker: Steven Edwards Define _WIN32_WINNT and _WIN32_IE versions for MS_VC Build. 2004-09-22 Alexandre Julliard * windows/defwnd.c, windows/dialog.c, windows/mdi.c, windows/message.c, windows/win.c, windows/winproc.c, dlls/commdlg/colordlg16.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg16.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg16.c, dlls/commdlg/printdlg.c, dlls/commdlg/printdlg16.c: Robert Shearman GetWindowLong -> GetWindowLongPtr. * dlls/ntdll/resource.c: Richard Cohen Move TRACE inside TRY block. * dlls/msacm/msacm.rc, dlls/msacm/msacm_Pl.rc, programs/wineconsole/wineconsole_Pl.rc, programs/wineconsole/wineconsole_res.rc, programs/winefile/Pl.rc, programs/winefile/rsrc.rc, programs/winhelp/Pl.rc, programs/winhelp/rsrc.rc: Piotr Caban Added Polish translation. * aclocal.m4, configure, configure.ac: Warren Baird Fix autoconf to have a new WINE_TRY_SHLIB_FLAGS function that tests if the provided flags can be used to link a shared library. Added test for building shared libs on HP-UX with gcc. * dlls/shell32/autocomplete.c, dlls/shell32/dialogs.c, dlls/shell32/shell32_main.c, dlls/shell32/shlview.c, dlls/x11drv/desktop.c, dlls/x11drv/window.c, dlls/x11drv/x11ddraw.c, dlls/user/dialog16.c, dlls/user/message.c, dlls/user/msg16.c: Robert Shearman GetWindowLong -> GetWindowLongPtr. * dlls/mlang/mlang.c: Dmitry Timoshkov Make mlang return the same code page descriptions as Windows, some applications depend on it. * programs/winemine/De.rc, programs/winemine/En.rc, programs/winemine/Es.rc, programs/winemine/Fr.rc, programs/winemine/It.rc, programs/winemine/Nl.rc, programs/winemine/Pt.rc, programs/winemine/Ru.rc, programs/winemine/Si.rc, programs/winemine/main.c: Richard Cohen - Remove obsolete handling of WINE_STRICT/NULL_HANDLE. - Allow more characters for Window title (for Fr locale). - Hardcode the icon name - so that it's independent of locale. - Shorten the text in the About box so that it doesn't wrap. - Use HKCU instead of HKLM for saving stuff. - Save YPos properly. - use AdjustWindowRect instead of calculating the window size using GetSystemMetrics - Cope with the user moving the window offscreen and move it back. * programs/wineconsole/user.c: Richard Cohen Change variable name from l to k. * dlls/oleaut32/tests/vartype.c, dlls/oleaut32/variant.c: Huw Davies Don't trash the dst variant if we can't do the type conversion. Add a test for this. * programs/winefile/winefile.c, programs/winefile/winefile.h: Martin Fuchs - Handle "." and ".." as special case and move them at the very first beginning of directory listings. - Remove unused variable wStringTableOffset. * dlls/shell32/shelllink.c: Martin Fuchs Store absolute path in .lnk file. * dlls/commdlg/printdlg.c: Dimitrie O. Paun Avoid W->A transitions. * dlls/comctl32/commctrl.c: Dimitrie O. Paun We now have ICC_LINK_CLASS. * DEVELOPERS-HINTS: Dimitrie O. Paun We no longer have a separate setupx/ DLL dir. * dlls/comctl32/string.c: Dimitrie O. Paun Cleanup W->A transition. * dlls/shlwapi/url.c, include/shlwapi.h: Steven Edwards Move URL_SCHEME typedef to match PSDK. * DEVELOPERS-HINTS, configure, configure.ac, dlls/Makefile.in, dlls/mscms/.cvsignore, dlls/mscms/Makefile.in, dlls/mscms/mscms.spec, dlls/mscms/mscms_main.c, include/config.h.in, include/icm.h: Hans Leidekker Beginnings of an MSCMS implementation based on LittleCMS. * dlls/oleaut32/olepicture.c: Alex Villacís Lasso Partial implementation for OLEPictureImpl_Save. * dlls/ntdll/virtual.c: Alexander Yaworsky Moved TRACEs to the beginning of functions. * dlls/shell32/shelllink.c: Martin Fuchs Implement IShellLinkA::Resolve and IShellLinkW::Resolve. * dlls/shell32/shell32_main.c, dlls/shell32/version.h, dlls/shell32/version.rc: Robert Shearman Share version information between DllGetVersion and resource file. * dlls/winmm/lolvldrv.c: Revert broken change in previous patch. * dlls/kernel/thread.c: Alexander Yaworsky Moved code from CreateThread to CreateRemoteThread. * dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/ole32/tests/propvariant.c, dlls/oleaut32/olepicture.c, dlls/opengl32/wgl.c, dlls/quartz/enumregfilters.c, dlls/quartz/filtermapper.c, dlls/quartz/main.c, dlls/richedit/reader.c, dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpcrt4_main.c, dlls/serialui/confdlg.c, dlls/setupapi/diskspace.c, dlls/setupapi/parser.c, dlls/setupapi/queue.c, dlls/ttydrv/palette.c, dlls/urlmon/umon.c, dlls/user/comm16.c, dlls/user/tests/msg.c, dlls/uxtheme/stylemap.c, dlls/uxtheme/system.c, dlls/winedos/dosconf.c, dlls/winedos/int21.c, dlls/winedos/ioports.c, dlls/winedos/vga.c, dlls/winedos/vxd.c, dlls/wineps/clipping.c, dlls/wineps/graphics.c, dlls/wineps/ps.c, dlls/wineps/text.c, dlls/wineps/type1afm.c, dlls/wineps/type42.c, dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, dlls/winmm/winmm.c, dlls/winsock/socket.c, dlls/wintab32/context.c, libs/wine/debug.c, programs/avitools/aviinfo.c, programs/notepad/dialog.c, programs/regedit/listview.c, programs/regedit/regproc.c, programs/taskmgr/dbgchnl.c, programs/uninstaller/main.c, programs/wcmd/batch.c, programs/wineboot/wineboot.c, programs/winecfg/drive.c, programs/wineconsole/curses.c, programs/winedbg/break.c, programs/winemenubuilder/winemenubuilder.c, programs/winemine/main.c, programs/winhelp/winhelp.c, server/registry.c, server/trace.c: Hans Leidekker Fix signed/unsigned comparison warnings. 2004-09-21 Alexandre Julliard * include/wine/unicode.h: Get rid of the assembly code, it doesn't really improve anything (reported by Rein Klazes). * programs/winemenubuilder/winemenubuilder.c: Francois Gouget Add support for the CSIDL_COMMON_* locations. * dlls/shell32/shellpath.c: Francois Gouget Fix CSIDL_COMMON_{STARTMENU,PROGRAMS,DESKTOPDIRECTORY} so they all use paths in 'All Users' like CSIDL_COMMON_STARTUP. The CSIDL_COMMON_PROGRAMS fix solves many menu creation problems. * dlls/comctl32/hotkey.c: Robert Shearman - Status update. - Should create HOTKEY_INFO storage in WM_NCCREATE rather than in WM_CREATE so that we can also add the WS_EX_CLIENTEDGE style. - Remove code that draws the client edge; it is already drawn by DefWindowProc. * dlls/shell32/shv_item_cmenu.c: Martin Fuchs Match class name used by Windows. * tools/widl/proxy.c: Mike McCormack Various formatting fixes. * dlls/dinput/keyboard.c, dlls/dinput/mouse.c: Robert Reif Add dx3 capabilities. * dlls/d3d8/directx.c: Jason Edmeades Don't hide and restore the window when changing it to be a popup style. * windows/mdi.c: Dmitry Timoshkov Fix WM_MDIREFRESHMENU for the case when separator is at the position 0. * dlls/itss/.cvsignore, dlls/ole32/.cvsignore, include/.cvsignore: Ignore the generated header files. * Make.rules.in, Makefile.in, dlls/itss/Makefile.in, dlls/itss/itss.h, dlls/ole32/Makefile.in, dlls/ole32/dcom.h, include/Makefile.in, include/activscp.h, include/amstream.h, include/amvideo.h, include/austream.h, include/comcat.h, include/ddstream.h, include/dispex.h, include/docobj.h, include/exdisp.h, include/mlang.h, include/mmstream.h, include/oaidl.h, include/objidl.h, include/ocidl.h, include/oleidl.h, include/propidl.h, include/pstore.h, include/servprov.h, include/shldisp.h, include/shobjidl.h, include/shtypes.h, include/strmif.h, include/unknwn.h, include/urlmon.h, include/wtypes.h: Build the .h files from their idl source at compile time, and remove them from CVS. * dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c: James Hawkins Use InterlockedDecrement and InterlockedIncrement instead of ++/--. * dlls/user/tests/msg.c, windows/mdi.c, windows/win.c: Dmitry Timoshkov Make message flow for MDI creation/activation/destruction more like in Windows. Add a bunch of MDI message tests. * dlls/ntdll/ntdll_misc.h, dlls/ntdll/thread.c, dlls/ntdll/virtual.c: Alexander Yaworsky Make RtlCreateUserThread fail if process handle is not for the current process. * dlls/advapi32/service.c: Alexander Yaworsky Pass arguments to the service program. 2004-09-20 Alexandre Julliard * programs/msiexec/msiexec.c: Added /regserver and /unregserver options. * Make.rules.in, Makefile.in, dlls/itss/Makefile.in, dlls/ole32/Makefile.in, include/Makefile.in: Build idl files as part of the normal build process. * dlls/shell32/shv_item_cmenu.c: Martin Fuchs Correct setting of default menu item in shell context menus. * fonts/.cvsignore, fonts/Makefile.in, fonts/wine_sans_serif.sfd: Huw Davies Add a 20 ppem strike with cp1252 coverage to Wine Sans Serif. Add U+201a to all strikes. * dlls/user/controls.h, dlls/user/menu.c, windows/win.c: Dmitry Timoshkov Make menu code cope with WM_SYSKEY*/WM_SYSCHAR messages. Unblock menu loop if a window being destroyed owns a tracked menu. * dlls/gdi/dib.c, windows/cursoricon.c: Michael Kaufmann Fix a regression caused by an earlier patch for CreateDIBitmap. * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Mike McCormack CoSuspendClassObjects stub implementation. * include/winsvc.h: Alexander Yaworsky Added service database names. * dlls/quartz/filtermapper.c: Christian Costa Added support for REGFILTER2 structure with dwVersion equal to 1 when registering filters. Fixed default category when RegisterFilter is called without one specified. * dlls/wininet/http.c: Robert Shearman Always replace whatever is already in the HTTP "Host" header. * server/fd.c: Moved timeout processing to a separate function. * dlls/comctl32/comctl_Cn.rc, dlls/comctl32/comctl_Cs.rc, dlls/comctl32/comctl_De.rc, dlls/comctl32/comctl_En.rc, dlls/comctl32/comctl_Es.rc, dlls/comctl32/comctl_Fr.rc, dlls/comctl32/comctl_It.rc, dlls/comctl32/comctl_Ja.rc, dlls/comctl32/comctl_Ko.rc, dlls/comctl32/comctl_Nl.rc, dlls/comctl32/comctl_Pl.rc, dlls/comctl32/comctl_Pt.rc, dlls/comctl32/comctl_Ru.rc, dlls/comctl32/comctl_Si.rc, dlls/comctl32/comctl_Th.rc, dlls/comctl32/comctl_Uk.rc, dlls/comctl32/propsheet.c: Filip Navara - Implement PSM_INDEXTOID, PSM_INDEXTOPAGE and PSM_PAGETOINDEX messages. - Partially implement the PSH_WIZARDCONTEXTHELP and PSH_NOCONTEXTHELP styles. * include/commdlg.h, include/winbase.h, include/windef.h, include/wingdi.h, include/winuser.h, include/wtypes.h, include/wtypes.idl: Jon Griffiths Use correct tag names for compatability with fwd decls. Some old code checks that _WINDEF_ is defined in windef.h. * dlls/shell32/shfldr_mycomp.c: Martin Fuchs Make drive letters in PIDLs always uppercase to enable PIDL comparison. * programs/notepad/main.c: Michael Kaufmann Added a 3D border for Notepad's edit control. * dlls/oleaut32/safearray.c, dlls/oleaut32/tests/safearray.c: Marcus Meissner SafeArrayGetElement on a VARIANT array does not free the previous VARIANT in the passed pointer. Added testcase. * dlls/winedos/int33.c, dlls/winedos/vga.c, dlls/winedos/vga.h: Jukka Heinonen Added support for int33 show/hide mouse cursor calls. * tools/widl/parser.y, tools/widl/proxy.c: Mike McCormack Improve the handling of complex data types (strings and structs). * dlls/x11drv/scroll.c: Rein Klazes X11DRV_ScrollDC should not have a WINAPI attribute. * dlls/comctl32/pager.c: Robert Shearman Document status of control against v6.0 of native version. * dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/utility.c: Robert Shearman InternetSetStatusCallback can be used on any handle and callbacks are inherited by derived handles. * dlls/comctl32/toolbar.c: Robert Shearman - Fix some TRACEs - More A->W conversions missed by previous patch. - Fix off-by-one error in validating drag-n-drop from available buttons list box to actual buttons list box. - Unicode flag should be based on the notification window. 2004-09-17 Alexandre Julliard * dlls/x11drv/winpos.c, server/region.c, server/user.h, server/window.c, windows/winpos.c: Don't bother to return partial region data in get_window_region and get_visible_region, return STATUS_BUFFER_OVERFLOW instead. * dlls/advapi32/Makefile.in, dlls/advapi32/advapi32.spec, dlls/advapi32/crypt_sha.c, dlls/advapi32/tests/.cvsignore, dlls/advapi32/tests/Makefile.in, dlls/advapi32/tests/crypt_sha.c: Filip Navara Implement A_SHA* functions present in Windows XP and later systems. * dlls/msi/action.c: Robert Shearman Make sure paths end with a slash before concatenating file names. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c: Robert Reif Cleanup reference counting. AddRef and Release return ULONG. * dlls/dinput/device.c, dlls/dinput/dinput_main.c, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c: Robert Reif Use InterlockedIncrement/InterlockedDecrement for reference counting. Fix bug in effect enumeration that crashed dxcapsviewer. * dlls/comctl32/tooltips.c: Robert Shearman Use Unicode window messages. 2004-09-16 Alexandre Julliard * fonts/.cvsignore, fonts/Makefile.in, fonts/wine_marlett.sfd: TransGaming Add a Marlett replacement font. * configure, configure.ac, dlls/wininet/internet.h, dlls/wininet/netconnection.c, include/config.h.in, include/wine/port.h: Avoid using socklen_t. * dlls/gdi/tests/bitmap.c, dlls/x11drv/bitblt.c: Huw Davies When we blit with a monochrome dibsection as the source we should use the colour table of that dib. Added a test for this. * dlls/avifil32/avifile.c: James Hawkins Use InterlockedDecrement and InterlockedIncrement instead of ++/--. * dlls/user/edit.c: Ulrich Czekalla Handle painting the border if WS_EX_CLIENTEDGE is not set. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, dlls/advapi32/tests/security.c: Juan Lang - correct ConvertStringSidToSidW and ConvertSidToStringSidW, with tests - add ConvertStringSidToSidA - add missing exports for ConvertStringSidToSidA/W * dlls/advapi32/service.c: Alexander Yaworsky Pass argv[0] (service name) to the service program. * dlls/gdi/tests/bitmap.c, dlls/x11drv/dib.c, dlls/x11drv/x11drv.h: Huw Davies It's important to keep the original dib colour table and not just the colour mapping associated with a dib section - it's this table that GetDIBColorTable should retrieve. Added some GetDIBColorTable tests. * dlls/user/tests/win.c: Dmitry Timoshkov Add a test case for WM_KEY* to WM_SYSKEY* message conversion. * dlls/user/menu.c: Dmitry Timoshkov Accept WM_SYSCHAR message for processsing in TranslateAcceleratorW. * dlls/advapi32/advapi32.spec: Alexander Yaworsky Added stubs for MD4, MD5 and SHA functions. * dlls/shlwapi/ordinal.c, dlls/shlwapi/url.c: Mike McCormack Fix some -Wsigned-compare warnings. * dlls/oleaut32/tests/vartype.c: James Hawkins Use InterlockedDecrement and InterlockedIncrement instead of ++/--. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c: Robert Reif Cleanup reference counting. * dlls/oleaut32/olepicture.c: Alex Villacís Lasso Add de-interleaving for GIF images. * dlls/comctl32/pager.c: Robert Shearman - Don't use TrackMouseEvents/WM_MOUSELEAVE API for handling the hot button; use plain mouse capture instead like native. - Return only HTTRANSPARENT/HTCLIENT from WM_NCHITTEST and remove associated hacks of WM_SETCURSOR, WM_NCLBUTTONDOWN and WM_NCLBUTTONUP. - Refactor state change code so that state changes don't happen as side effects from messages such as WM_NCCALCSIZE, instead only from user input messages like WM_MOUSEMOVE. * dlls/comctl32/toolbar.c: Robert Shearman Use Unicode window messages. * dlls/hhctrl.ocx/hhctrl.c, include/Makefile.in, include/htmlhelp.h: Jacek Caban Added htmlhelp.h. 2004-09-15 Alexandre Julliard * dlls/user/message.c, windows/cursoricon.c, windows/winproc.c: Dimitrie O. Paun Use the W version of the function were we can. * dlls/gdi/freetype.c: Vincent Béron Use the preferred FT_ENCODING values rather than ft_encoding. * dlls/x11drv/winpos.c: Dmitry Timoshkov Remove a stray 'else' left by a previous patch. * dlls/mlang/mlang.c: Mike McCormack Return CLASS_E_NOAGGREGATION if pUnkOuter is non-null. * dlls/kernel/process.c, dlls/ntdll/loader.c: Mike McCormack Use FILE_SHARE_DELETE when loading modules, as running an exe that's going to be deleted should work. 2004-09-14 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20040914. ---------------------------------------------------------------- 2004-09-14 Alexandre Julliard * dlls/shell32/shlexec.c: Jens Collin Added lookup of environment vars in SHELL_ArgifyW. * dlls/advapi32/service.c: Alexander Yaworsky Proper finalization in StartServiceW. * dlls/wininet/http.c: Robert Shearman Don't let applications add Connection header to request. * dlls/ntdll/file.c, dlls/shlwapi/reg.c, dlls/twain/README, dlls/twain/ds_image.c, dlls/twain/dsm_ctrl.c, dlls/twain/twain_i.h, dlls/winaspi/aspi.h, dlls/winaspi/winaspi16.c, dlls/winaspi/winaspi32.c, dlls/winaspi/winescsi.h, include/winbase.h: Francois Gouget Assorted spelling fixes. * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec: Steven Edwards Added stub for NtShutdownSystem. * dlls/user/user32.spec, windows/win.c: Steven Edwards Added stub for SwitchDesktop. * tools/widl/header.c, tools/widl/parser.y: Mike McCormack Determine RPC struct types more exactly. * configure, configure.ac, dlls/oleaut32/olepicture.c, include/config.h.in: Marcus Meissner Autodetect libgif so extension and try to load it. * dlls/advapi32/advapi32.spec, dlls/advapi32/service.c: Mike McCormack Stub implementation for QueryServiceObjectSecurity. * fonts/.cvsignore, fonts/Makefile.in, fonts/wine_courier.sfd: Huw Davies Add cp1250 glyphs to Wine Courier. * dlls/shell32/shell32_main.c: Juan Lang Added support for DLLVERSIONINFO2 in DllGetVersion. * include/wine/rpcfc.h: Mike McCormack Added missing rpc type. * dlls/mlang/mlang.c: Mike McCormack Use Interlocked* functions in AddRef and Release. * dlls/advapi32/crypt.c: Mike McCormack Make sure not to interfere with the lasterror value returned by the CSP in CryptAcquireContextA. * DEVELOPERS-HINTS: Mike McCormack Add dev hint line for itss (part of html help). * dlls/kernel/resource.c: Vincent Béron Implement BeginUpdateResource and UpdateResource. Stub out a bit more of EndUpdateResource. * dlls/comctl32/propsheet.c: Filip Navara Status update. * dlls/comctl32/toolbar.c: Robert Shearman - Make customization list boxes into drag list boxes. - Order available buttons in the same way as the native version. * dlls/comctl32/draglist.c: Robert Shearman - Clear data structure after dragging. - WM_SETCURSOR does not need to be handled as it is not sent whilst the window is captured. - Make uDragListMessage non-static so that we can re-use it elsewhere. * dlls/winsock/socket.c: Roderick Colenbrander Gerald Pfeifer Make WS2_send(), WS_getsockopt(), and WS_setsockopt() IPX support work on FreeBSD. * dlls/user/tests/msg.c: Stop testing a sequence upon the first expected error, to avoid spurious errors later on. * dlls/comctl32/ipaddress.c, dlls/comctl32/status.c, dlls/comctl32/trackbar.c, dlls/comctl32/updown.c: Robert Shearman Set class hbrBackground and style to the same as native. * dlls/comctl32/pager.c: Robert Shearman - Set hbrBackground class property to same value as native. - Use Unicode window functions instead of ANSI. * dlls/comctl32/tab.c: Robert Shearman - Set hbrBackground class property to same value as native. - Remove no longer needed WM_ERASEBKGND handler. - Use Unicode window functions instead of ANSI. * programs/winemenubuilder/winemenubuilder.c: Marcus Meissner If we do not have an IconsDir, use the temp directory. 2004-09-13 Alexandre Julliard * dlls/shell32/shlfolder.c, dlls/shell32/tests/.cvsignore, dlls/shell32/tests/Makefile.in, dlls/shell32/tests/shlfolder.c: Vitaliy Margolen IShellFolder::CompareIDs - return only -1/0/1 in lower 16 bit. * dlls/comctl32/treeview.c, dlls/gdi/enhmetafile.c, dlls/gdi/wing.c, windows/dce.c: Jon Griffiths CreateDCA -> CreateDCW * dlls/comctl32/propsheet.c: Filip Navara Fix resizing of wizards. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, include/winsock2.h: Andreas Rosenberg Implementation of WSAStringToAddress(A/W), WSAHtonl, WSAHtons. * dlls/gdi/dib.c, dlls/gdi/enhmetafile.c, dlls/gdi/tests/.cvsignore, dlls/gdi/tests/Makefile.in, dlls/gdi/tests/bitmap.c, windows/cursoricon.c: Michael Kaufmann Huw Davies CreateDIBitmap should return bitmaps at the depth of the supplied dc. Add a test to exercise this behaviour. * dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h: Robert Shearman Store HTTP host header in the same way as most other headers. * dlls/user/tests/msg.c, windows/nonclient.c: Dmitry Timoshkov Add support for HCBT_SYSCOMMAND hook, add logging for HCBT_SYSCOMMAND in the message test. * dlls/wininet/http.c: Robert Shearman - Remove unused variable hIC. - Remove check for HTTP signature in server reply. - Fix stupid error with freeing the wrong buffer. * dlls/comctl32/treeview.c: Vitaliy Margolen Make sure TreeView gets redrawn after calling EnsureVisible. * fonts/.cvsignore, fonts/Makefile.in, fonts/wine_system.sfd: Huw Davies Add cp1250 glyphs to Wine System. * dlls/comctl32/propsheet.c: Filip Navara Fill the area next to watermark bitmap with window color and subclass exterior wizard pages to suppress drawing background. * dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c: Robert Reif Added support for multiple devices. * dlls/user/tests/msg.c: Dmitry Timoshkov Add a bunch of new MDI tests. * Make.rules.in: Turn on warnings when building the .def file. * dlls/ntdll/directory.c: Don't try to stat network mounts in parse_mount_entries, we can't return a meaningful device for them anyway (suggested by Robert Shearman). * dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, dlls/shlwapi/tests/string.c: Jon Griffiths Implement SHSimulateDrop, MIME_GetExtensionA/W, StrCpyNXA/W, SHAnsiToAnsi, SHUnicodeToUnicode. * dlls/mapi32/mapi32.spec, dlls/mapi32/prop.c, dlls/mapi32/tests/util.c, dlls/mapi32/util.c: Jon Griffiths Implement HrGetOneProp, HrSetOneProp, FPropExists, FreePadrlist, FreeProws, ScDupPropset, HexFromBin, FBinFromHex, FEqualNames. Fix 2 cases where iterating over value arrays reused a loop variable incorrectly. * tools/wine.inf: Huw Davies Helv should be an alias for MS Sans Serif. Spotted by Francois. * dlls/twain/capability.c, dlls/twain/ds_audio.c, dlls/twain/twain16_main.c, dlls/twain/twain32_main.c, dlls/twain/twain_i.h: Francois Gouget Make sure we include config.h before including twain_i.h. Fixes an activeDS.deviceHandle corruption bug. * tools/widl/parser.y, tools/widl/proxy.c: Mike McCormack Improve proxy code generated for oaidl.idl. * dlls/comctl32/header.c: Vitaliy Margolen Send correct tracing notification messages. * dlls/kernel/console.c, dlls/kernel/tests/console.c: Eric Pouech Fixed (finally) ScrollConsoleScreenBuffer implementation. * dlls/ntdll/rtl.c, dlls/ntdll/rtlbitmap.c, dlls/ntdll/string.c: Jon Griffiths Documentation updates. * fonts/wine_sans_serif.sfd: Huw Davies Fix the size of the 'G' at 16 ppem. Thanks to Dmitry for spotting this. * dlls/gdi/dc.c: Dmitry Timoshkov When DC mapping changes reselect current pen to update physical width. * dlls/dinput/device_private.h, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/mouse.c: Robert Reif Add buffered mode to joystick. Add JoystickWImpl_GetDeviceInfo. * dlls/user/tests/msg.c, dlls/x11drv/winpos.c: Dmitry Timoshkov Log flags for WM_WINDOWPOSCHANGING/WM_WINDOWPOSCHANGED messages, make the tests pass on Win95/Win98/Win2000, fix some test failures under Wine. * dlls/comctl32/propsheet.c: Filip Navara Correct displaying of wizard subtitle. 2004-09-10 Alexandre Julliard * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c: Robert Reif Remove lock name from lock debug structure before deletion so it gets freed properly. * dlls/msi/action.c: Robert Shearman - Use FDI functions like native instead of advpack.ExtractFiles and cabinet.Extract (which doesn't work with native cabinet) - If MoveFile fails the message now displayes the correct last error and bails rather than silently breaking the install. * dlls/user/menu.c: Michael Kaufmann Make the menus of Delphi applications work. * dlls/user/tests/dialog.c, windows/defdlg.c, windows/dialog.c: Zach Gorman The initial dialog focus should be established by the default handler for SetFocus(), not in the dialog creation code. * dlls/user/tests/dialog.c, windows/dialog.c: Zach Gorman Modal dialogs should not be shown via ShowWindow until the message queue first runs empty. This allows all initialization to complete before a default focus is assigned. * dlls/kernel/module.c, dlls/kernel/ne_module.c, dlls/kernel/process.c: Andreas Mohr Don't reject OS/2 programs, try to carry on in DOS mode. * dlls/user/tests/dialog.c, dlls/user/tests/resource.rc: Zach Gorman Added tests for default focus assignment in dialogs. * include/winternl.h: Robert Reif Document all the structure members up to SessionId in the PEB. * dlls/advapi32/service.c: Alexander Yaworsky Implemented LockServiceDatabase and UnlockServiceDatabase. * dlls/shlwapi/path.c: Diego Pettenò Add support for file:/// urls in PathCreateFromUrl. * dlls/wininet/http.c: Uwe Bonnes Strip dangling \r\n from HTTP_HttpSendRequest. * dlls/avifil32/avifile_Pl.rc, dlls/avifil32/rsrc.rc: Jacek Caban Added Polish translation. * dlls/x11drv/dib.c: Huw Davies We want all 1bpp dibsections to have a monochrome bitmap and everything else to be at the screen depth. * dlls/kernel/tests/time.c: Rein Klazes Add tests of TzSpecificLocalTimeToSystemTime and SystemTimeToTzSpecificLocalTime. * dlls/kernel/time.c: Rein Klazes Fixed TzSpecificLocalTimeToSystemTime and SystemTimeToTzSpecificLocalTime: - take the time of day into the calculation, so the bias is calculated correctly during the transition days; - the transition times are expressed as local time, not system time; - correct the daylight logic for use on the southern hemisphere; - beautify some LONGLONG arithmetic. * dlls/dbghelp/dbghelp.spec: Robert Shearman Implement ImageDirectoryEntryToData by forwarding it to the ntdll implementation of the function. * tools/widl/proxy.c: Mike McCormack Output NdrConvert, NdrClearOutParameters and IID constraints. * dlls/dsound/buffer.c, dlls/dsound/primary.c: Robert Reif Return error from low level driver when necessary. 2004-09-09 Alexandre Julliard * dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compositemoniker.c, dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c, dlls/ole32/marshal.c, dlls/ole32/moniker.c, dlls/ole32/ole16.c, dlls/ole32/oleobj.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/oleaut32/connpt.c, dlls/oleaut32/dispatch.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c, include/objbase.h: Get rid of the non-standard ICOM_THIS macro. * dlls/dinput/device.c, dlls/dinput/dinput_main.c, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c, dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c, dlls/shell32/autocomplete.c, dlls/shell32/cpanelfolder.c, dlls/shell32/dataobject.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/memorystream.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shlfsbind.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c: Removed some more uses of the non-standard ICOM_THIS macro. * dlls/kernel/tests/console.c: Comment out an unreliable test. * dlls/ole32/ole2.c, dlls/ole32/tests/propvariant.c, dlls/olecli/olecli16.c, dlls/olecli/olecli_main.c, include/Makefile.in, include/objbase.h, include/objidl.h, include/objidl.idl, include/propidl.h, include/propidl.idl, include/shobjidl.h, include/shobjidl.idl: Francois Gouget Move the PROPVARIANT declaration from objidl.idl to propidl.idl. Move related API declarations from individual C files to propidl.idl. Remove uneeded include of propidl.h in the propvariant.c test. * dlls/mpr/mpr.rc, dlls/mpr/mpr_Nl.rc, dlls/shlwapi/shlwapi.rc, dlls/shlwapi/shlwapi_Nl.rc: Hans Leidekker Dutch resource translation. * dlls/user/edit.c: Ulrich Czekalla Allow copying selection when control is read only. * tools/widl/proxy.c: Mike McCormack Output intermediate variables for the method to write into in stubs. * dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c: James Hawkins Added stub for IsValidURL. * dlls/dinput/joystick_linux.c: Robert Reif offsets array is the size of the wine data format so there is no need to reallocate it when the format changes. * dlls/ttydrv/Makefile.in, dlls/ttydrv/wnd.c, dlls/user/user32.spec, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h, include/win.h, windows/win.c: Get rid of the WIN_SetRectangles export from user32. * server/fd.c: Take care to not close the file handle if there are outstanding locks and the directory options don't match. * dlls/kernel/process.c: Fixed the check for removable media in load_pe_exe (spotted by Francois Gouget). * dlls/comctl32/tooltips.c: Robert Shearman - Status update. - Remove no longer valid comment. - Minor coding style cleanups. * dlls/dinput/mouse.c: Robert Reif Fixes a mouse regression due to structure size change. 2004-09-08 Alexandre Julliard * dlls/user/tests/msg.c: Fixed some message sequences to succeed on XP. Added some tests for showing/hiding a child window with an invisible parent. * dlls/dinput/joystick_linux.c: Robert Reif - Add linux to dinput axis mapping using HKLM/Software/Wine/dinput registry settings. - Fix some format mapping bugs. - Adds GetDeviceInfo. - Adds SetProperty DIPH_DEVICE support for setting all properties. - Use windows compatible object naming. * dlls/comctl32/propsheet.c: Filip Navara Do not distinguish exterior wizard pages by their position, but instead expect that every page in wizard that doesn't have header is exterior. * dlls/wininet/internet.c: Krzysztof Foltman Make sure InternetReadFile returns full buffers. * dlls/dsound/tests/capture.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound8.c: Francois Gouget Make the dsound tests run with DirectX < 8. * dlls/dsound/tests/propset.c: Francois Gouget Remove the get_hwnd() implementation from propset.c and reuse the common one. * dlls/kernel/tests/timer.c: Francois Gouget Set _WIN32_WINNT to 0x0501 so we get the definition of PTIMERAPCROUTINE from the Windows headers. * dlls/ole32/tests/propvariant.c: Francois Gouget The union in PROPVARIANT is always nameless on Windows. So define a macro to deal with it correctly. * dlls/winedos/int21.c: Markus Amsler Respect given buffer size in GET EXTENDED COUNTRY INFORMATION. * dlls/msvcrt/msvcrt.h, dlls/msvcrt/tests/headers.c, dlls/msvcrt/time.c: Uwe Bonnes Added MSVCRT_CLOCKS_PER_SEC define. * tools/widl/proxy.c: Mike McCormack Generate some marshalling code for stubs. * server/fd.c: Converted the timeout list to use the standard list functions. * dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/drawprim.c, dlls/d3d8/indexbuffer.c, dlls/d3d8/resource.c, dlls/d3d8/surface.c, dlls/d3d8/swapchain.c, dlls/d3d8/texture.c, dlls/d3d8/utils.c, dlls/d3d8/vertexbuffer.c, dlls/d3d8/volume.c, dlls/d3d8/volumetexture.c, dlls/d3d9/basetexture.c, dlls/d3d9/cubetexture.c, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/indexbuffer.c, dlls/d3d9/pixelshader.c, dlls/d3d9/query.c, dlls/d3d9/resource.c, dlls/d3d9/stateblock.c, dlls/d3d9/surface.c, dlls/d3d9/swapchain.c, dlls/d3d9/texture.c, dlls/d3d9/vertexbuffer.c, dlls/d3d9/vertexdeclaration.c, dlls/d3d9/vertexshader.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, dlls/d3d9/vshaderdeclaration.c, dlls/d3dx8/d3dxbuffer.c, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/dclipper/main.c, dlls/ddraw/ddraw/hal.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/user.c, dlls/ddraw/dpalette/hal.c, dlls/ddraw/dpalette/main.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/main.c, dlls/quartz/avidec.c, dlls/quartz/avisplit.c, dlls/quartz/control.c, dlls/quartz/dsoundrender.c, dlls/quartz/enumfilters.c, dlls/quartz/enummedia.c, dlls/quartz/enummoniker.c, dlls/quartz/enumpins.c, dlls/quartz/enumregfilters.c, dlls/quartz/filesource.c, dlls/quartz/filtermapper.c, dlls/quartz/main.c, dlls/quartz/memallocator.c, dlls/quartz/pin.c, dlls/quartz/systemclock.c, dlls/quartz/videorenderer.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/audio_05.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/wineoss/audio.c: Removed some more uses of the non-standard ICOM_THIS macro. * dlls/ddraw/convert.c, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/ddraw/hal.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/dpalette/main.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/mesa.c, dlls/dinput/device.c, dlls/dinput/device_private.h, dlls/dinput/dinput_main.c, dlls/dinput/joystick_linux.c, dlls/dinput/mouse.c, dlls/dmloader/loader.c, dlls/dmusic/collection.c, dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/mixer.c, dlls/dsound/propset.c, dlls/gdi/enhmetafile.c, dlls/gdi/enhmfdrv/graphics.c, dlls/gdi/font.c, dlls/gdi/freetype.c, dlls/gdi/gdiobj.c, dlls/gdi/mfdrv/graphics.c, dlls/gdi/mfdrv/objects.c, dlls/gdi/mfdrv/text.c, dlls/gdi/painting.c, dlls/gdi/path.c, dlls/imm32/imm.c, dlls/iphlpapi/ifenum.c, dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/internal.c, dlls/msacm/msacm32_main.c, dlls/msacm/pcmconverter.c, dlls/msdmo/dmoreg.c, dlls/msvcrt/file.c, dlls/msvideo/msvideo_main.c, dlls/netapi32/nbt.c: Hans Leidekker Fix signed/unsigned comparison warnings. * server/region.c, server/user.h: Added xor_region, fixed rect_in_region. * dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/tests/.cvsignore, dlls/rpcrt4/tests/Makefile.in, dlls/rpcrt4/tests/generated.c, include/rpcdce.h, include/rpcndr.h, tools/winapi/c_parser.pm, tools/winapi/tests.dat: Francois Gouget Fix and unify parsing of calling conventions. Hack handling of 'struct { } *NDR_SCONTEXT;' so we don't cause a parse error as this is a valid C construct. Generate type tests for rpcrt4. Remove PRPC_BINDING_VECTOR and PUUID_VECTOR, they don't exist on Windows. Fix the MIDL_STUB_MESSAGE, MIDL_SERVER_INFO and MIDL_STUBLESS_PROXY_INFO structs. Add NDR_ALLOC_ALL_NODES_CONTEXT, NDR_POINTER_QUEUE_STATE and CS_STUB_INFO. * dlls/shlwapi/url.c: Diego Pettenò Add support in UrlIs() for URLIS_DIRECTORY and URLIS_FILEURL flags. * dlls/wininet/internet.c: Uwe Bonnes Get full buffers in Internet_Readfile. * dlls/kernel/console.c, dlls/kernel/tests/console.c, dlls/ntdll/env.c, include/winternl.h, server/console.c, server/trace.c: Eric Pouech - ctrl-c enabling flag is now inherited - fixed console-related fields in RTL_USER_PROCESS_PARAMETERS - various clean-up in kernel32.SetConsoleCtrlHandler - only send a console event once to a process and not to all the process' threads * dlls/d3d8/cubetexture.c, dlls/d3d8/device.c, dlls/d3d8/drawprim.c, dlls/d3d8/stateblock.c, dlls/d3d8/texture.c, dlls/d3d8/volumetexture.c, dlls/d3d9/cubetexture.c, dlls/d3d9/texture.c: Hans Leidekker Fix signed/unsigned comparison warnings. 2004-09-07 Alexandre Julliard * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/timer.c: Mike McCormack Add a test for timers. * server/fd.c: Make sure to run through the poll loop once before processing newly added timers (reported by Mike McCormack). * dlls/ntdll/time.c: Avoid integer overflows in NTDLL_get_server_timeout (spotted by Mike McCormack). * dlls/shell32/shellord.c, dlls/shell32/tests/generated.c, include/shlobj.h, tools/winapi/c_parser.pm, tools/winapi/tests.dat: Francois Gouget Fix c_parser.pm so it handles 'const' preceeding a '*'. Add missing #pragma pack directives for the new shlobj.h types. Fix some field names in CSFV and QCMINFO. Update the generated tests to also check shtypes.h and test some more types. * dlls/winedos/int21.c: Markus Amsler Fix filename terminator table, correct exclude_last value. * configure, configure.ac, dlls/winedos/int13.c, include/config.h.in: Rein Klazes Fix compile error with include files from Linux 2.6.7+. * dlls/winsock/socket.c, include/Makefile.in, include/wsnwlink.h: Roderick Colenbrander - set ipx packet type - add support for retrieving some ipx info * tools/winebuild/res32.c: Fill in the proper offsets in the resource directory instead of relying on the compiler to do it. * dlls/comctl32/tooltips.c: Robert Shearman Implement titles. * dlls/comctl32/.cvsignore, dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.h, dlls/comctl32/rsrc.rc: Robert Shearman Add 16x16 error, info and warning icons. * documentation/testing.sgml: Francois Gouget Add trailing '\n's to ok() and trace() calls. Point to the pre-compiled winetest binaries. A couple of small tweaks here and there. * dlls/oleaut32/tmarshal.c: Robert Shearman - Make typelib marshaler thread-safe (problem reported by Aric Stewart). - Several small cleanups. * programs/winhelp/winhelp.c, programs/winhelp/winhelp.h: Yvon Belleau - Implemented keyboard navigation (Up / Down / PgUp / PgDn / ESC). - Shadow windows (behind popups) were reacting to mouse clicks and were going over the popup. Make them close the popup instead. - Title was not displayed when the help file was opened by the command line. - Corrected incorrect links behavior (in relation with the scrollbar). * dlls/advapi32/security.c: Wolfgang Schwotzer LookupAccountNameA stub always returns a valid SID. * dlls/comctl32/propsheet.c: Filip Navara - Revert incorrect change to tab control resizing from revision 1.109. - Move the property sheet resizing code from PROPSHEET_CreatePage to PROPSHEET_SetCurSel. It needs to be executed on every page change because the application can modify it during the notifications. * dlls/gdi/tests/generated.c, tools/winapi/tests.dat: Francois Gouget Test some more gdi types. * dlls/winedos/int21.c, dlls/winedos/int25.c, dlls/winedos/int26.c: Andreas Mohr - fix int21 block device read/write - moved device block access log messages to inner function used by two different places - removed bogus CloseHandle() * dlls/ole32/compobj.c: Mike McCormack Fix some warnings found with -Wsign-compare. * programs/winetest/main.c: Ferenc Wagner As test runs are not invoked from the option parsing loop anymore, we can switch back to libc's strtok() implementation. * dlls/urlmon/tests/generated.c, tools/winapi/tests.dat: Francois Gouget Test some more urlmon types. * dlls/oleaut32/olefont.c: Francois Gouget Remove bogus #define statement. * dlls/user/button.c: Dmitry Timoshkov Reset BUTTON_HASFOCUS state in WM_KILLFOCUS handler before calling ReleaseCapture. * include/dinput.h: Robert Reif Added missing struct. * dlls/dsound/buffer.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/primary.c: Robert Reif Consolidate secondary buffer list processing and locking. Two new functions DSOUND_AddBuffer and DSOUND_RemoveBuffer have been added and the locking has been moved into these functions. Renamed IDirectSound lock to buffer_list_lock. Removed redundant test for IID_IDirectSoundNotify and IID_IDirectSoundNotify8 because they are the same. Removed check for invalid buffers on list because that shouldn't happen anymore because of fixed 3d buffer reference counting. Minor code cleanups. * dlls/comctl32/propsheet.c: Filip Navara - Draw the Wizard97 header bitmaps before drawing the header strings. - Center the header bitmap of the new Wizard97 correctly. - Display the correct wizard title for any wizard type and do not change it for reqular property sheets. 2004-09-06 Alexandre Julliard * dlls/avifil32/acmstream.c, dlls/avifil32/avifile.c, dlls/avifil32/editstream.c, dlls/avifil32/factory.c, dlls/avifil32/getframe.c, dlls/avifil32/icmstream.c, dlls/avifil32/tmpfile.c, dlls/avifil32/wavfile.c, dlls/d3dxof/d3dxof.c, dlls/d3dxof/main.c, dlls/dmcompos/composer.c, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/signposttrack.c, dlls/dmime/dmime_main.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/segmentstate.c, dlls/dmime/tool.c, dlls/dmstyle/dmstyle_main.c, dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/synth.c, dlls/dmsynth/synthsink.c, dlls/dmusic/buffer.c, dlls/dmusic/clock.c, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/download.c, dlls/dmusic/downloadedinstrument.c, dlls/dmusic/port.c, dlls/dmusic/portdownload.c, dlls/dmusic/thru.c, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplay.c, dlls/dplayx/dplaysp.c, dlls/dplayx/dplobby.c, dlls/dplayx/lobbysp.c, dlls/dxdiagn/container.c, dlls/dxdiagn/dxdiag_main.c, dlls/dxdiagn/provider.c, dlls/shdocvw/classinfo.c, dlls/shdocvw/events.c, dlls/shdocvw/factory.c, dlls/shdocvw/misc.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/persist.c, dlls/shdocvw/webbrowser.c: Removed some uses of the non-standard ICOM_THIS macro. * dlls/mswsock/mswsock.spec, dlls/winsock/Makefile.in, dlls/winsock/protocol.c, dlls/winsock/socket.c, dlls/wsock32/protocol.c, dlls/wsock32/wsock32.spec: Hans Leidekker Move implementation of EnumProtocols{A,W} from wsock32 to ws2_32. Forward {mswsock,wsock32}.EnumProtocols{A,W} to ws2_32.WSAEnumProtocols{A,W}. Improve some traces. * dlls/ole32/ole2.c, dlls/ole32/tests/Makefile.in, dlls/ole32/tests/propvariant.c: Robert Shearman - Fix PropVariantCopy for VT_LPSTR and VT_LPWSTR. - Test case VT_BSTR, VT_LPSTR and VT_LPWSTR. * dlls/ntdll/tests/generated.c, tools/winapi/tests.dat: Francois Gouget Test some more ntdll types. tests.dat: Remove types that don't exist, whether in the Windows or Wine headers. * dlls/ntdll/time.c: Uwe Bonnes More defines for TZ_INFO. * dlls/comctl32/toolbar.c: Robert Shearman - Obey TBCDRF_NOOFFSET for the button text. - Make anchor highlighting behave more like native version. - Don't recalculate toolbar in TOOLBAR_Unkwn460. - Obey WM_SETREDRAW for the WM_ERASEBKGND message as well as WM_PAINT. * dlls/dinput/device.c: Robert Reif When actual offset doesn't match the specified offset, use the actual offset. * dlls/msi/msi.c, dlls/msi/msi.spec, dlls/msi/package.c, include/msi.h: Kevin Koltzau Partial implementation of MsiGetFileVersionA/W. * include/guiddef.h, include/rpcproxy.h: Mike McCormack Make GUIDs non-const when compiling MIDL/widl generated proxies. * dlls/amstream/amstream.c, dlls/amstream/main.c, dlls/comcat/factory.c, dlls/comcat/information.c, dlls/commdlg/filedlgbrowser.c, dlls/devenum/createdevenum.c, dlls/devenum/factory.c, dlls/devenum/mediacatenum.c, dlls/devenum/parsedisplayname.c, dlls/dmband/dmband_main.c, dlls/dmloader/classfactory.c, dlls/dmscript/dmscript_main.c, dlls/dpnet/address.c, dlls/dpnet/client.c, dlls/dpnet/dpnet_main.c, dlls/dswave/dswave_main.c, dlls/itss/itss.c, dlls/itss/moniker.c, dlls/itss/storage.c, dlls/mlang/mlang.c, dlls/msdmo/dmoreg.c, dlls/msi/msi.c, dlls/ole32/ftmarshal.c, dlls/ole32/ifs.c, dlls/oleaut32/olefont.c, dlls/rpcrt4/cpsf.c, dlls/rpcrt4/cstub.c, dlls/rpcrt4/ndr_ole.c, dlls/shell32/dragdrophelper.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shlwapi/assoc.c, dlls/shlwapi/istream.c, dlls/shlwapi/regstream.c, dlls/urlmon/umon.c: Removed some uses of the non-standard ICOM_THIS macro. * dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, dlls/shell32/tests/generated.c, dlls/shlwapi/tests/generated.c, dlls/urlmon/tests/generated.c, dlls/user/tests/generated.c, dlls/wininet/tests/generated.c, tools/winapi/winapi_test: Francois Gouget Disable MSVC warning 4116 to avoid the 'unnamed type definition in parentheses' warning caused by TYPE_ALIGNMENT(). * dlls/advapi32/service.c: Mike McCormack Return the correct error when OpenService is called with a non-existing service. * dlls/commdlg/cdlg_Pl.rc: Jacek Caban Translation update. * include/winbase.h, include/wingdi.h: Dmitry Timoshkov Move MulDiv prototype from wingdi.h to winbase.h where it belongs. * include/wincrypt.h: Michael Jung Added some defines for Crypt{Get/Set}KeyParam. * dlls/wininet/http.c: Uwe Bonnes Check for more standard headers. * tools/bin2res.c: Robert Shearman Fix bin2res help text. * dlls/ntdll/critsection.c: Robert Shearman Improve documentation for critical sections. * dlls/comctl32/comctl32.h, dlls/comctl32/commctrl.c: Kevin Koltzau Fix bug with chained messages. * tools/widl/proxy.c: Mike McCormack - make the widl generated proxy-stub code compilable - generate marshalling and unmarshalling code for proxies - generate exception handling constructs * include/Makefile.in, include/schemadef.h, include/tmschema.h: Francois Gouget Define the tmschema.h constants using enumerations and the macros provided by schemadef.h. * dlls/wininet/ftp.c: Krzysztof Foltman - Reversed the assertion causing InternetConnect to always fail. - FTP_ConvertFileProp: WIN32_FIND_DATA contains proper modification and creation time. * dlls/shell32/shell32.spec, dlls/shell32/shellord.c: Robert Shearman - Add exports for missing ordinals 191-194. - Stub for SHUpdateImageW. * dlls/quartz/main.c, dlls/quartz/quartz.spec: Christian Costa Added stubs for AmpFactorToDB and DBToAmpFactor. Added GetProxyDllInfo. * dlls/dbghelp/stabs.c: Robert Shearman Better fix for includes with relative paths. 2004-09-03 Alexandre Julliard * configure, configure.ac, dlls/wininet/Makefile.in, dlls/wininet/ftp.c, dlls/wininet/internet.h, dlls/wininet/netconnection.c, include/winsock.h: Steven Edwards Use Windows sockets when building Wininet on Mingw. * dlls/dinput/joystick_linux.c: Robert Reif Read device name from device if possible. Fix enumerate open bug. * configure, configure.ac, dlls/wininet/cookie.c, dlls/wininet/dialogs.c, dlls/wininet/http.c, dlls/wininet/urlcache.c, dlls/wininet/utility.c, include/config.h.in, include/wine/port.h: Added configure check for socklen_t. * documentation/testing.sgml: Francois Gouget Remove unused section. * dlls/uxtheme/stylemap.c, include/tmschema.h: Francois Gouget Fix typo in RBS_UNCHECKEDHOT (spotted by Jan Schweizer). Fix the HSAS_ enumeration. * include/rpcndr.h: Mike McCormack Use only standard C types in rpchdr.h. * libs/wine/loader.c: Mike McCormack Fill in the MZ header in builtin PE DLLs. * dlls/shlwapi/tests/ordinal.c: Stefan Leichter Fixed test of GetAcceptLanguagesA on NT4. * dlls/dinput/data_formats.c: Robert Reif Removed trailing white space. Added mouse formats. * dlls/kernel/environ.c, dlls/kernel/process.c, dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/process.c, dlls/msvcrt/tests/file.c: Eric Pouech - msvcrt: the file descriptors are now inherited between parent/child processes - kernel32.CreateProcess: make use of the *reserved2 fields for C-RunTime data inheritance * dlls/ole32/ole2.c, dlls/ole32/tests/.cvsignore, dlls/ole32/tests/Makefile.in, dlls/ole32/tests/propvariant.c: Robert Shearman - Fix PropVariantClear to reject invalid types. - Don't crash on NULL pointers. - Add test case. * dlls/rpcrt4/Makefile.in, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_server.c: Mike McCormack Avoid non-standard types in rpcdcep.h. * include/rpcndr.h: Francois Gouget Added missing field to MIDL_STUB_MESSAGE. * include/rpcdcep.h: Mike McCormack Avoid non-standard types. * include/rpcproxy.h: Mike McCormack Update a url. * dlls/shlwapi/path.c: Mike McCormack Don't read past end of table in PathFileExistsDefExtW. 2004-09-02 Alexandre Julliard * dlls/advapi32/registry.c, dlls/advapi32/service.c, dlls/avifil32/acmstream.c, dlls/avifil32/api.c, dlls/avifil32/avifile.c, dlls/avifil32/editstream.c, dlls/avifil32/icmstream.c, dlls/avifil32/tmpfile.c, dlls/cabinet/cabextract.c, dlls/cabinet/cabinet_main.c, dlls/cabinet/fdi.c, dlls/comctl32/comboex.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c, dlls/comctl32/datetime.c, dlls/comctl32/header.c, dlls/comctl32/listview.c, dlls/comctl32/rebar.c, dlls/comctl32/syslink.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/trackbar.c, dlls/commdlg/filedlg31.c: Hans Leidekker Fix signed/unsigned comparison warnings. * dlls/winmm/wineoss/mixer.c: Rein Klazes Fix a heap corruption in MIX_Init ( sizeof() != strlen() ). * include/dinput.h: Robert Reif Added some missing defines. * dlls/shlwapi/path.c: Mike McCormack Use the ACP define in MB/WC conversion functions. * dlls/user/painting.c, dlls/user/tests/msg.c: GetUpdateRect should return TRUE even if only the non-client area is invalid (reported by Rein Klazes). * dlls/dinput/device.c, dlls/dinput/device_private.h, dlls/dinput/joystick_linux.c: Robert Reif Added support for alternate data formats. * dlls/mlang/tests/mlang.c, dlls/ole32/tests/storage32.c, dlls/user/tests/clipboard.c, dlls/user/tests/dialog.c: Francois Gouget Added missing trailing '\n's to ok() calls. * include/rpc.h, include/rpcdce.h: Mike McCormack Use standard types in rpcrt4 headers so they can be used to build MIDL generated proxy code. * dlls/shlwapi/path.c: James Hawkins Fix buffer overflow in PathSetDlgItemPathW that led to a trashed stack. * dlls/gdi/clipping.c: Robert Shearman Default clipping region should be resolution of the DC, not the current visible region. * dlls/comctl32/tests/imagelist.c: Ferenc Wagner Added \n to ok() strings in the imagelist tests. * tools/widl/proxy.c: Mike McCormack Output code to clear OUT variables in proxy code. * dlls/gdi/tests/gdiobj.c: Dmitry Timoshkov Added a test showing how GDI scales bitmap font metrics. * dlls/atl/atl.spec, dlls/atl/atl_main.c: Stefan Leichter Added stub for AtlModuleUpdateRegistryFromResourceD. * documentation/testing.sgml: Francois Gouget Update the instructions describing how to compile the conformance tests with MSVC and the Microsoft headers. * dlls/oleaut32/tests/vartype.c: Francois Gouget Detect whether Visual Studio can cast __uint64's to floats and disable the relevant tests if it cannot. Fix a double to float literal conversion warning. 2004-09-01 Alexandre Julliard * server/region.c, server/user.h: Added rect_in_region function. * dlls/user/Makefile.in, dlls/user/kbd16.c, dlls/user/keyboard.drv.spec, dlls/user/message.c, dlls/user/mouse.c, dlls/user/mouse16.c, windows/input.c, windows/keyboard.c: Moved keyboard.c to dlls/user/kbd16.c. Keyboard, mouse and display drivers are 16-bit only. * dlls/opengl32/wgl.c: Lionel Ulmer Convert mostly useless ERR to WARN message. * dlls/advapi32/tests/crypt.c: James Hawkins - remove unnecessary type conversions - added tests for crypt * dlls/user/Makefile.in, dlls/user/cache.c, dlls/user/controls.h, dlls/user/text.c, dlls/user/uitools.c, include/user.h, windows/defwnd.c, windows/nonclient.c, windows/painting.c: Moved some window painting functions to uitools.c. * dlls/shell32/iconcache.c, include/wine/exception.h, include/winnt.h, windows/driver.c: Get rid of the WINE_UNUSED macro. * dlls/x11drv/winpos.c: We still need to look for the top parent that doesn't clip siblings in GetDC because of the X window clipping. * dlls/gdi/font.c, dlls/gdi/tests/.cvsignore, dlls/gdi/tests/Makefile.in, dlls/gdi/tests/gdiobj.c: Mike McCormack Add a basic GDI LOGFONT test, fix a couple of failures. * dlls/advapi32/service.c: Alexander Yaworsky Implemented QueryServiceConfigA. * fonts/.cvsignore, fonts/Makefile.in, fonts/wine_system.sfd: Dmitry Timoshkov Add cyrillic glyphs to Wine System. * dlls/atl/atl_main.c: Stefan Leichter Check for NULL before doing IsEqualGUID() in AtlInternalQueryInterface. * include/winnt.h: Fixed alignment of TOKEN_STATISTICS. * dlls/msvcrt/except.c, dlls/msvcrt/locale.c, dlls/winmm/mmsystem.c: Function parameters don't need WINE_UNUSED. * dlls/gdi/gdi_private.h, dlls/gdi/path.c, dlls/msvcrt/main.c, dlls/ole32/compobj_private.h, include/stackframe.h: Inline functions don't need WINE_UNUSED. * dlls/oleaut32/tests/safearray.c: Francois Gouget Remove references to ICOM_THIS and WINE_UNUSED as they don't exist on Windows. Define COBJMACROS so we get the IRecordInfo_* macros. * dlls/ntdll/tests/generated.c: Francois Gouget Fix/update the TOKEN_STATISTICS check. * tools/winapi/winapi_test: Francois Gouget Don't output the DECLSPEC_ALIGN() directives in the TYPE_FIELD tests. * include/dinput.h: Robert Reif Added some missing LPC typedefs. * dlls/x11drv/.cvsignore, dlls/x11drv/Makefile.in, dlls/x11drv/wineclipsrv.c, documentation/PACKAGING, documentation/samples/config, documentation/wine.man.in: wineclipsrv is no longer used, remove it. * dlls/ntdll/tests/rtlbitmap.c, include/winternl.h: Francois Gouget Disable the RtlBitMap tests if compiling with the Microsoft headers as they are missing critical structure and API declarations. * dlls/shlwapi/string.c, documentation/implementation.sgml, programs/taskmgr/optnmenu.c: Francois Gouget Assorted spelling fixes. * include/dinput.h: Robert Reif Added some missing dfines. * dlls/quartz/filtermapper.c: Christian Costa Fixed FilterMapper2_CreateCategory. * dlls/winmm/wineoss/audio.c: Francois Gouget Add support for the AUDIODEV and MIXERDEV environment variables. 2004-08-31 Alexandre Julliard * dlls/dinput/Makefile.in, dlls/dinput/data_formats.c, dlls/dinput/device.c, dlls/dinput/device_private.h, dlls/dinput/joystick_linux.c: Robert Reif Added default data formats for c_dfDIJoystick and c_dfDIJoystick2. Added object properties for more than one object. Added error checks for acquired. Default to using c_dfDIJoystick2 data format. Try to use user supplied data formats (only works if same as one of the defaults). Code cleanup, error checking and tracing added. Added support for up to 8 axis. * dlls/dsound/dsound.c, dlls/dsound/tests/ds3d.c: Francois Gouget Don't use DSBCAPS_{CTRLDEFAULT,CTRLALL} in capability-dumping functions since they are nothing but a combination of other flags and are thus redundant. * dlls/advapi32/service.c: Alexander Yaworsky Expand ImagePath in QueryServiceConfigW. * dlls/itss/chm_lib.c, dlls/itss/chm_lib.h, dlls/itss/lzx.c, dlls/itss/lzx.h: Get rid of CVS keywords. * dlls/shell32/shell32.spec, dlls/shell32/shellord.c, dlls/shell32/undocshell.h, dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/tests/ordinal.c: Francois Gouget Don't export the shell32 SHAllocShared functions by name. Implement them by calling out their shlwapi equivalent (which had a much more complete implementation anyway). Fix the prototype of shlwapi's SHAllocShared(). Don't crash if lpvData is NULL in SHAllocShared(). Add a conformance test to shlwapi. * dlls/winmm/tests/capture.c, dlls/winmm/tests/mixer.c, dlls/winmm/tests/wave.c: Francois Gouget Don't include 'mmddk.h', it's not needed. The winmm tests can now be compiled on Windows without the DDK. * dlls/comctl32/tests/imagelist.c: Francois Gouget MSVC does not like the typeof() in the function pointer declaration. Fix a warning. * include/windef.h, include/winternl.h: Francois Gouget Add PSZ to windef.h. Add a couple missing declarations to winternl.h. Tweak VM_COUNTERS to match the ddk declaration. * dlls/advapi32/service.c: Alexander Yaworsky Sanity check when closing service handle. * dlls/version/info.c: Dmitry Timoshkov Set last error values compatible with Win9x implementation of GetFileVersionInfoSize, Quicken installer depends on it. * dlls/wineps/generic.ppd: Huw Davies Use 1/4" margins for some standard paper sizes. Turn Type42 support off by default. Bump the FileVersion. * fonts/wine_courier.sfd: Huw Davies Complete cp1252 coverage. Fix height of 'I'. * DEVELOPERS-HINTS, configure, configure.ac, dlls/user/Makefile.in, dlls/user/button.c, dlls/user/combo.c, dlls/user/desktop.c, dlls/user/edit.c, dlls/user/icontitle.c, dlls/user/listbox.c, dlls/user/menu.c, dlls/user/scroll.c, dlls/user/static.c, dlls/user/uitools.c, tools/winapi/msvcmaker, tools/winapi/winapi_cleanup: Moved all files from the controls/ directory to dlls/user. * dlls/commdlg/fontdlg16.c, dlls/gdi/enhmetafile.c, dlls/gdi/gdi16.c, dlls/gdi/mfdrv/graphics.c, dlls/gdi/mfdrv/text.c, dlls/gdi/pen.c, dlls/user/hook16.c, dlls/user/user16.c, dlls/user/wnd16.c, include/wine/wingdi16.h, windows/cursoricon.c, windows/defwnd.c, windows/nonclient.c, windows/sysparams.c, windows/winpos.c, windows/winproc.c: Get rid of the non-standard CONV_POINT and CONV_RECT functions. 2004-08-30 Alexandre Julliard * dlls/advapi32/crypt.c: James Hawkins Make CryptSetProviderEx only delete the 'Name' value and not delete the entire 'Type XXX' key when deleting the default provider. * dlls/advapi32/service.c: Alexander Yaworsky Changed SC_HANDLEs from HKEYs to pointers to internal structures. * dlls/user/Makefile.in, windows/mdi.c, windows/struct32.c, windows/struct32.h, windows/winproc.c: Removed struct32.[ch]. * dlls/dbghelp/dbghelp.c, dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/elf_module.c, dlls/dbghelp/module.c, dlls/dbghelp/msc.c, dlls/dbghelp/pe_module.c, dlls/dbghelp/stabs.c, dlls/dbghelp/symbol.c: Robert Shearman Eric Pouech - Fix debug info look-up (bug in translating the RVA of the debug directory). - Fix code for adding PE export table as debug info (crash with NULL passed to RtlImageDirectoryEntryToData). - Fix computation of non-relocatable ELF shared objects size. - Fix loading (while parsing the link map) of new non-relocatable ELF shared objects (no longer take account load-address of link-map). - Finished the AUTO_PUBLIC, NO_PUBLICS and PUBLICS_ONLY support for PE and ELF. - Cleaned up public symbol management (which should now properly work). * dlls/atl/regsvr.c, dlls/mlang/Makefile.in, dlls/mlang/mlang.c, dlls/mlang/regsvr.c, tools/wine.inf: Steven Edwards Add DllRegisterServer and friends for mlang. * programs/notepad/main.c: Francois Gouget Also recognize '/' as the start of an option. Implement 'notepad /p'. Simplify many string parsing loops. * programs/winemenubuilder/winemenubuilder.c: Francois Gouget Fix a memory leak. Improve the GetFullPathName() error checks. Stricter match check in GetLinkLocation(). Clarify the 'Unknown link location' message. * dlls/richedit/reader.c: Evan Deaubl Stop processing input stream when the outermost RTF group is closed. * dlls/user/user16.c, windows/painting.c: Moved a couple of 16-bit functions to user16.c. * fonts/.cvsignore, fonts/Makefile.in, fonts/wine_courier.sfd: Dmitry Timoshkov Add cyrillic glyphs to Wine Courier at 13 pixel size. * include/dinput.h: Robert Reif Added some missing definitions. * dlls/user/comm16.c: Mike McCormack Use Heap functions instead of malloc/free. * include/richedit.h: Mike McCormack Added some defines used in RichEdit 2.0. * dlls/kernel/tests/file.c: Filip Navara - Don't expect that drive C: exists, use the drive Windows is installed on instead. - Remove misleading message about file mapping. * dlls/oleaut32/typelib2.c: Filip Navara For non-overlapped writes the lpNumberOfBytesWritten parameter of WriteFile mustn't be NULL. * programs/msiexec/msiexec.c: Kevin Koltzau Correct parsing of /i argument. * dlls/comctl32/propsheet.c: Filip Navara Fix loading wizard title and subtitle from resources. * dlls/commdlg/cdlg_Pl.rc: Jacek Caban Polish translation update. * dlls/oleaut32/oleaut32.rc, dlls/oleaut32/oleaut32_Pl.rc: Jacek Caban Added Polish translation. * dlls/ddraw/main.c: James Hawkins Added API documentation for DirectDrawEnumerateEx. * dlls/comctl32/toolbar.c: Robert Shearman TB_MARKITEM should redraw button. * dlls/x11drv/init.c: Uwe Bonnes Spelling fix. * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec: Mike McCormack Stub implementations for NtAdjustGroupsToken and NtAlertThread. * dlls/winmm/tests/capture.c, dlls/winmm/tests/wave.c: Robert Reif Test 32 bit float samples. * dlls/winmm/wineoss/mixer.c: Robert Reif Round results of conversions between OSS and windows values. 2004-08-27 Alexandre Julliard * tools/winebuild/parser.c: Print a warning when DllRegisterServer and similar functions are not marked private. * dlls/winmm/tests/mixer.c: Robert Reif Adds tests to read and write control details. * dlls/winmm/wineoss/mixer.c: Robert Reif Set proper target type. Set proper max and step for mux control. * dlls/mlang/mlang.spec, dlls/msi/msi.spec: Added a few missing -private flags. * dlls/richedit/Makefile.in, dlls/richedit/charlist.c, dlls/richedit/charlist.h, dlls/richedit/reader.c, dlls/richedit/richedit.c, dlls/richedit/rtf.h, dlls/richedit/text-writer.c: Mike McCormack Use buffers rather than linked lists for input and out buffers. Stop reading input at a nul byte. * dlls/oleacc/main.c, dlls/oleacc/oleacc.spec: Mike McCormack Added DllRegisterServer/DllUnregisterServer calls. * include/winuser.h: Mike McCormack Define a couple more SPI_ constants. * tools/winapi_check/winapi_parser.pm: Francois Gouget Hack winapi_parser so we recognise ElfW(auxv_t) as a type. Fixes the scripts that compute API statistics. * include/winnt.h, include/winternl.h: Mike McCormack Added a few more prototypes to the headers. * dlls/ntdll/file.c, dlls/ntdll/ntdll.spec: Mike McCormack Added stub implementations for NtDeleteFile and NtCancelIoFile. * dlls/oleaut32/typelib.c: Jacek Caban Added suport for optional arguments in ITypeInfo::Invoke. 2004-08-26 Alexandre Julliard * dlls/user/tests/win.c: Dmitry Timoshkov Button should do ReleaseCapture() on WM_KILLFOCUS if it's in a pressed state. Add a comprehensive test case for capture behaviour. * dlls/user/tests/msg.c: Dmitry Timoshkov Button should send BM_SETSTATE message after it has changed its internal state. * dlls/x11drv/init.c, dlls/x11drv/x11drv.h, dlls/x11drv/xfont.c, documentation/samples/config, tools/wine.inf: Huw Davies Deprecate the "Resolution" entry in the config file in favour of HKEY_CURRNET_CONFIG\Software\Fonts\LogPixels. * dlls/gdi/freetype.c: Huw Davies FreeType doesn't supply a charmap for bitmap fonts, so we must do our own mapping. Thanks to Dmitry for testing. * programs/regedit/De.rc, programs/regedit/En.rc, programs/regedit/Es.rc, programs/regedit/Fr.rc, programs/regedit/It.rc, programs/regedit/Nl.rc, programs/regedit/Pl.rc, programs/regedit/Pt.rc, programs/regedit/Ru.rc, programs/regedit/Si.rc: Huw Davies Change System to MS Shell Dlg. * dlls/advapi32/registry.c: Huw Davies Fix full name of HKEY_CURRENT_CONFIG. * dlls/wininet/urlcache.c: Robert Shearman Don't use freed memory. * dlls/comctl32/tests/imagelist.c: Robert Shearman Allow image list tests to compile and run on old platforms. * dlls/kernel/debugger.c: Robert Shearman Improve documentation for debugger functions. * dlls/user/tests/msg.c: Dmitry Timoshkov Fix msg test failures when run under win2k. * dlls/comctl32/propsheet.c: Mike McCormack Calculate the correct size of dialog templates in the propsheet control. * dlls/x11drv/window.c: Evan Deaubl Fix an ERR log in X11DRV_CreateWindow. * dlls/version/info.c: Dmitry Timoshkov Try to avoid loading 16-bit DLLs into memory for accessing version info, this might lead to undesired side effects like loading a bunch of other 16-bit DLLs. * dlls/advapi32/service.c: Alexander Yaworsky StartService must pass full command line to service program. * dlls/user/tests/msg.c: Added some tests for paint messages and update regions. * dlls/user/painting.c, windows/painting.c: GetUpdateRgn should clip the returned region to the client area. Changed GetUpdateRect and ExcludeUpdateRgn to call GetUpdateRgn. Moved these 3 functions to dlls/user/painting.c. * windows/nonclient.c: Print the Window caption using Unicode calls. Don't send WM_GETTEXT to retrieve the caption text. * dlls/comctl32/tests/subclass.c, dlls/msvcrt/tests/time.c, dlls/quartz/avidec.c, dlls/quartz/dsoundrender.c, dlls/quartz/videorenderer.c, dlls/winmm/tests/capture.c, dlls/winmm/tests/wave.c, include/basetsd.h, include/winnt.h: Francois Gouget Assorted spelling fixes. * dlls/crypt32/cert.c: Stefan Leichter Added missing line break. * dlls/ntdll/nt.c: Jason Edmeades Don't clear the information structure for non supported cases. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Evan Deaubl Added GetSecurityInfo stub. * dlls/oleaut32/varformat.c: Jason Edmeades Ensure digits are printable characters from oleaut32 Format command. 2004-08-25 Alexandre Julliard * dlls/user/tests/msg.c: Allow enabling or disabling todo_wine for each message sequence so that we can properly test the sequences that are already correct. * dlls/shdocvw/shdocvw_main.c: Jacek Caban Added message box to inform user that one needs Mozilla ActiveX. * 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, 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/syslink.c, dlls/comctl32/tab.c, dlls/comctl32/tooltips.c, dlls/comctl32/trackbar.c, dlls/comctl32/treeview.c, dlls/comctl32/updown.c: Robert Shearman Replace GetWindowLong by GetWindowLongPtr. * dlls/msi/create.c, dlls/msi/distinct.c, dlls/msi/insert.c, dlls/msi/order.c, dlls/msi/update.c, dlls/msi/where.c: Aric Stewart Free memory after we finish using it instead of just before. * dlls/gdi/gdiobj.c: Huw Davies Make the DEFAULT_GUI_FONT scalable with screen resolution and let it be 8pt MS Shell Dlg for simple scripts. * dlls/winmm/mci.c: Dmitry Timoshkov Fix an obvious typo leading to a crash. * dlls/advapi32/security.c: Mike McCormack Make SetTokenInformation call NtSetInformationToken. * dlls/iccvid/iccvid.c: Mike McCormack Signed compare fixes. * dlls/itss/chm_lib.c, dlls/itss/itss.c, dlls/itss/itsstor.h, dlls/itss/moniker.c, dlls/itss/storage.c: Mike McCormack Fix the ITS moniker implementation. * documentation/cvs-regression.sgml: Ivan Leo Puoti Update cvs command line. * dlls/comctl32/toolbar.c: Robert Shearman - Send NM_LDOWN notification. - NM_RDBLCLK only needs to send a NMHDR structure. - On mouse notifications returning 0 DefWndProc should be called. * include/commctrl.h: Robert Shearman Bring common control header up to date with new additions in XP. * dlls/winmm/winealsa/audio.c: Robert Reif Added 32 bit float support. * dlls/dsound/dsound.c, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/dsound_test.h: Robert Reif DirectSound8 doesn't accept 3D stereo secondary buffers but DirectSound does. Added tests. * include/ksmedia.h: Robert Reif Added IEEE float audio data type. * misc/registry.c: Alex Villacís Lasso Do not assume HKEY_CURRENT_USER/Environment exists ==> config file was migrated. Instead test for every key to migrate under HKEY_CURRENT_USER/Environment. * dlls/user/tests/generated.c, dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, dlls/shell32/tests/generated.c, dlls/wininet/tests/generated.c, tools/winapi/tests.dat: Francois Gouget Enable the disabled tests in tests.data or add a comment describing why the type cannot be tested. Update the generated files, they compile and run successfully both on Windows (with the Windows headers) and in Wine. * dlls/oleaut32/tests/vartype.c, dlls/oleaut32/variant.c: Jacek Caban Fix handling of VARIANT with VT_BYREF and null pointer in VariantChangeTypeEx. 2004-08-24 Alexandre Julliard * configure, configure.ac, dlls/Makefile.in, dlls/itss/.cvsignore, dlls/itss/Makefile.in, dlls/itss/chm_lib.c, dlls/itss/chm_lib.h, dlls/itss/itss.c, dlls/itss/itss.h, dlls/itss/itss.idl, dlls/itss/itss.spec, dlls/itss/lzx.c, dlls/itss/lzx.h, dlls/itss/moniker.c, dlls/itss/storage.c: Stewart Caie Jed Wing Mike McCormack Added an implemenation of ITSS.DLL. * dlls/msi/record.c: Aric Stewart Getting the string for a null field should not create an error. Add a missing break. * dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, include/winbase.h, include/winnt.h, tools/winapi/tests.dat: Francois Gouget Fix alignment issues for MEMORYSTATUSEX, WIN32_STREAM_ID and IO_COUNTERS. The corresponding tests now succeed both when compiled with the Windows headers and when compiled with the Wine headers. * windows/scroll.c: Rein Klazes When there are no pixels to scroll, ScrollWindowEx must still scroll children and update the hrgnUpdate and rcUpdate arguments. * dlls/ddraw/dclipper/main.c: Robert Shearman Implement IDirectDrawClipper_GetClipList for case where we have a handle to a window. * dlls/x11drv/winpos.c: In GetDC use the parent drawable when DCX_PARENTCLIP is set. * fonts/.cvsignore, fonts/Makefile.in, fonts/wine_sans_serif.sfd: Dmitry Timoshkov Add cyrillic glyphs to wine_sans_serif at 13 and 16 pixel sizes. * dlls/kernel/kernel32.spec, dlls/kernel/krnl386.exe.spec, dlls/kernel/process.c, include/winbase.h: Robert Shearman Added GetProcessId. * dlls/oleaut32/tests/safearray.c: Robert Shearman More safe array tests. * dlls/comctl32/tests/imagelist.c: Mike McCormack Tests for icon and bitmap adding and removing and bitmap drawing with image lists. * dlls/comctl32/toolbar.c: Robert Shearman Fix regression with IE's Menu Bar. * dlls/avifil32/avifile_Cs.rc, dlls/avifil32/avifile_De.rc, dlls/avifil32/avifile_En.rc, dlls/avifil32/avifile_Es.rc, dlls/avifil32/avifile_Fr.rc, dlls/avifil32/avifile_It.rc, dlls/avifil32/avifile_Nl.rc, dlls/avifil32/avifile_Pt.rc, dlls/avifil32/avifile_Ru.rc, dlls/avifil32/avifile_Si.rc, dlls/comctl32/comctl_Cn.rc, dlls/comctl32/comctl_Cs.rc, dlls/comctl32/comctl_De.rc, dlls/comctl32/comctl_En.rc, dlls/comctl32/comctl_Es.rc, dlls/comctl32/comctl_Fr.rc, dlls/comctl32/comctl_It.rc, dlls/comctl32/comctl_Ko.rc, dlls/comctl32/comctl_Nl.rc, dlls/comctl32/comctl_Pl.rc, dlls/comctl32/comctl_Pt.rc, dlls/comctl32/comctl_Ru.rc, dlls/comctl32/comctl_Si.rc, dlls/comctl32/comctl_Th.rc, dlls/comctl32/comctl_Uk.rc, dlls/commdlg/cdlg_Ca.rc, dlls/commdlg/cdlg_Cn.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_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_Si.rc, dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Th.rc, dlls/commdlg/cdlg_Uk.rc, dlls/commdlg/cdlg_Wa.rc, dlls/commdlg/cdlg_Zh.rc, dlls/oledlg/oledlg_Cs.rc, dlls/oledlg/oledlg_De.rc, dlls/oledlg/oledlg_En.rc, dlls/oledlg/oledlg_Es.rc, dlls/oledlg/oledlg_It.rc, dlls/oledlg/oledlg_Nl.rc, dlls/oledlg/oledlg_Pt.rc, dlls/serialui/Cs.rc, dlls/serialui/De.rc, dlls/serialui/En.rc, dlls/serialui/Es.rc, dlls/serialui/Fr.rc, dlls/serialui/It.rc, dlls/serialui/Nl.rc, dlls/serialui/Pt.rc, dlls/serialui/Ru.rc, dlls/setupapi/Cs.rc, dlls/setupapi/De.rc, dlls/setupapi/En.rc, dlls/setupapi/Es.rc, dlls/setupapi/Fr.rc, dlls/setupapi/It.rc, dlls/setupapi/Nl.rc, dlls/setupapi/Pt.rc, dlls/setupapi/Ru.rc, dlls/shell32/shell32_Ca.rc, dlls/shell32/shell32_Cn.rc, dlls/shell32/shell32_Cs.rc, dlls/shell32/shell32_Da.rc, dlls/shell32/shell32_De.rc, dlls/shell32/shell32_En.rc, dlls/shell32/shell32_Eo.rc, dlls/shell32/shell32_Es.rc, dlls/shell32/shell32_Fi.rc, dlls/shell32/shell32_Fr.rc, dlls/shell32/shell32_Hu.rc, dlls/shell32/shell32_It.rc, dlls/shell32/shell32_Ja.rc, dlls/shell32/shell32_Ko.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_Si.rc, dlls/shell32/shell32_Sk.rc, dlls/shell32/shell32_Sv.rc, dlls/shell32/shell32_Uk.rc, dlls/shell32/shell32_Wa.rc, dlls/shell32/shell32_Zh.rc, dlls/user/tests/resource.rc, dlls/wineps/wps_Cs.rc, dlls/wineps/wps_De.rc, dlls/wineps/wps_En.rc, dlls/wineps/wps_Es.rc, dlls/wineps/wps_Fr.rc, dlls/wineps/wps_It.rc, dlls/wineps/wps_Ko.rc, dlls/wineps/wps_Nl.rc, dlls/wineps/wps_Pt.rc, dlls/wineps/wps_Ru.rc, dlls/wineps/wps_Si.rc, dlls/wineps/wps_Sk.rc, dlls/wininet/wininet_Cs.rc, dlls/wininet/wininet_De.rc, dlls/wininet/wininet_En.rc, dlls/wininet/wininet_Es.rc, dlls/wininet/wininet_Fr.rc, dlls/wininet/wininet_It.rc, dlls/wininet/wininet_Nl.rc, dlls/wininet/wininet_Pt.rc, dlls/wininet/wininet_Ru.rc, dlls/wininet/wininet_Si.rc, programs/cmdlgtst/De.rc, programs/cmdlgtst/En.rc, programs/cmdlgtst/Es.rc, programs/cmdlgtst/Fr.rc, programs/cmdlgtst/It.rc, programs/cmdlgtst/Nl.rc, programs/cmdlgtst/Pt.rc, programs/cmdlgtst/Ru.rc, programs/cmdlgtst/Si.rc, programs/notepad/Da.rc, programs/notepad/De.rc, programs/notepad/En.rc, programs/notepad/Es.rc, programs/notepad/Fi.rc, programs/notepad/Fr.rc, programs/notepad/Hu.rc, programs/notepad/It.rc, programs/notepad/Nl.rc, programs/notepad/Pl.rc, programs/notepad/Pt.rc, programs/notepad/Ru.rc, programs/notepad/Si.rc, programs/notepad/Sk.rc, programs/notepad/Sw.rc, programs/notepad/Th.rc, programs/notepad/Wa.rc, programs/notepad/Zh.rc, programs/regedit/De.rc, programs/regedit/En.rc, programs/regedit/Es.rc, programs/regedit/Fr.rc, programs/regedit/It.rc, programs/regedit/Nl.rc, programs/regedit/Pl.rc, programs/regedit/Pt.rc, programs/regedit/Ru.rc, programs/regedit/Si.rc, programs/winecfg/En.rc, programs/winecfg/Es.rc, programs/winecfg/It.rc, programs/winecfg/Pt.rc, programs/winecfg/Ru.rc, programs/winecfg/Si.rc, programs/wineconsole/wineconsole_De.rc, programs/wineconsole/wineconsole_En.rc, programs/wineconsole/wineconsole_Es.rc, programs/wineconsole/wineconsole_Fr.rc, programs/wineconsole/wineconsole_Hu.rc, programs/wineconsole/wineconsole_Nl.rc, programs/wineconsole/wineconsole_Pt.rc, programs/wineconsole/wineconsole_Ru.rc, programs/wineconsole/wineconsole_Zh.rc, programs/winefile/winefile.c: Huw Davies Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif. * dlls/x11drv/winpos.c: When possible, use the X window of the requested window in GetDC instead of the parent to avoid trouble with OpenGL clipping. * dlls/make_dlls: Removed debug trace. * dlls/quartz/Makefile.in, dlls/quartz/avidec.c, dlls/quartz/dsoundrender.c, dlls/quartz/main.c, dlls/quartz/quartz_private.h, dlls/quartz/regsvr.c, dlls/quartz/videorenderer.c: Christian Costa Added Video Renderer (based on Direct Draw). Added Direct Sound Audio Renderer. Added AVI Decompressor (VFW decompressors wrapper). * dlls/ntdll/signal_i386.c: Pierre d'Herbemont Added signal support for Darwin/i386. * windows/dialog.c: Ulrich Czekalla Set WS_EX_CONTROLPARENT when dialog has DS_CONTROL. 2004-08-23 Alexandre Julliard * dlls/amstream/amstream.c, dlls/amstream/main.c, dlls/avifil32/acmstream.c, dlls/avifil32/avifile.c, dlls/avifil32/editstream.c, dlls/avifil32/factory.c, dlls/avifil32/getframe.c, dlls/avifil32/icmstream.c, dlls/avifil32/tmpfile.c, dlls/avifil32/wavfile.c, dlls/comcat/factory.c, dlls/comcat/information.c, dlls/comcat/manager.c, dlls/comcat/register.c, dlls/commdlg/filedlgbrowser.c, dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/indexbuffer.c, dlls/d3d8/resource.c, dlls/d3d8/surface.c, dlls/d3d8/swapchain.c, dlls/d3d8/texture.c, dlls/d3d8/vertexbuffer.c, dlls/d3d8/volume.c, dlls/d3d8/volumetexture.c, dlls/d3d9/basetexture.c, dlls/d3d9/cubetexture.c, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/indexbuffer.c, dlls/d3d9/pixelshader.c, dlls/d3d9/query.c, dlls/d3d9/resource.c, dlls/d3d9/stateblock.c, dlls/d3d9/surface.c, dlls/d3d9/swapchain.c, dlls/d3d9/texture.c, dlls/d3d9/vertexbuffer.c, dlls/d3d9/vertexdeclaration.c, dlls/d3d9/vertexshader.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, dlls/d3dx8/d3dxbuffer.c, dlls/d3dxof/d3dxof.c, dlls/d3dxof/main.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/dclipper/main.c, dlls/ddraw/main.c, dlls/ddraw/ddraw/hal.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/thunks.c, dlls/ddraw/ddraw/user.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/dpalette/hal.c, dlls/ddraw/dpalette/main.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/dsurface/gamma.c, dlls/ddraw/dsurface/hal.c, dlls/ddraw/dsurface/thunks.c, dlls/ddraw/dsurface/user.c, dlls/devenum/createdevenum.c, dlls/devenum/factory.c, dlls/devenum/mediacatenum.c, dlls/devenum/parsedisplayname.c, dlls/dinput/dinput_main.c, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c, dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_main.c, dlls/dmcompos/chordmap.c, dlls/dmcompos/chordmaptrack.c, dlls/dmcompos/composer.c, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/signposttrack.c, dlls/dmime/audiopath.c, dlls/dmime/dmime_main.c, dlls/dmime/graph.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/segtriggertrack.c, dlls/dmime/seqtrack.c, dlls/dmime/sysextrack.c, dlls/dmime/tempotrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/tool.c, dlls/dmime/wavetrack.c, dlls/dmloader/classfactory.c, dlls/dmloader/container.c, dlls/dmloader/loader.c, dlls/dmloader/loaderstream.c, dlls/dmscript/dmscript_main.c, dlls/dmscript/script.c, dlls/dmscript/scripttrack.c, dlls/dmstyle/auditiontrack.c, dlls/dmstyle/chordtrack.c, dlls/dmstyle/commandtrack.c, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/motiftrack.c, dlls/dmstyle/mutetrack.c, dlls/dmstyle/style.c, dlls/dmstyle/styletrack.c, dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/synth.c, dlls/dmsynth/synthsink.c, dlls/dmusic/buffer.c, dlls/dmusic/clock.c, dlls/dmusic/collection.c, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/download.c, dlls/dmusic/downloadedinstrument.c, dlls/dmusic/instrument.c, dlls/dmusic/port.c, dlls/dmusic/portdownload.c, dlls/dmusic/thru.c, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplay.c, dlls/dplayx/dplaysp.c, dlls/dplayx/dplobby.c, dlls/dplayx/lobbysp.c, dlls/dpnet/address.c, dlls/dpnet/client.c, dlls/dpnet/dpnet_main.c, dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c, dlls/dswave/dswave.c, dlls/dswave/dswave_main.c, dlls/dxdiagn/container.c, dlls/dxdiagn/dxdiag_main.c, dlls/dxdiagn/provider.c, dlls/mlang/mlang.c, dlls/msdmo/dmoreg.c, dlls/msi/msi.c, dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/errorinfo.c, dlls/ole32/filemoniker.c, dlls/ole32/ftmarshal.c, dlls/ole32/git.c, dlls/ole32/hglobalstream.c, dlls/ole32/ifs.c, dlls/ole32/itemmoniker.c, dlls/ole32/marshal.c, dlls/ole32/memlockbytes.c, dlls/ole32/moniker.c, dlls/ole32/oleobj.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/stg_stream.c, dlls/ole32/storage32.c, dlls/oleaut32/connpt.c, dlls/oleaut32/dispatch.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/tests/safearray.c, dlls/oleaut32/tests/vartype.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c, dlls/quartz/avisplit.c, dlls/quartz/enumfilters.c, dlls/quartz/enummedia.c, dlls/quartz/enummoniker.c, dlls/quartz/enumpins.c, dlls/quartz/enumregfilters.c, dlls/quartz/filesource.c, dlls/quartz/filtergraph.c, dlls/quartz/filtermapper.c, dlls/quartz/main.c, dlls/quartz/memallocator.c, dlls/quartz/pin.c, dlls/quartz/systemclock.c, dlls/rpcrt4/cproxy.c, dlls/rpcrt4/cpsf.c, dlls/rpcrt4/ndr_ole.c, dlls/shdocvw/classinfo.c, dlls/shdocvw/events.c, dlls/shdocvw/factory.c, dlls/shdocvw/misc.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/persist.c, dlls/shdocvw/webbrowser.c, dlls/shell32/autocomplete.c, dlls/shell32/cpanelfolder.c, dlls/shell32/dataobject.c, dlls/shell32/dragdrophelper.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/memorystream.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlfsbind.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shlwapi/assoc.c, dlls/shlwapi/istream.c, dlls/shlwapi/regstream.c, dlls/urlmon/umon.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/audio_05.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/wineoss/audio.c, include/objbase.h: Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE macro. * dlls/msvcrt/scanf.h, dlls/ntdll/rtlbitmap.c, dlls/ntdll/tests/rtlbitmap.c, dlls/ntdll/thread.c, include/winternl.h: Francois Gouget Update RTL_BITMAP and RTL_BITMAP_RUN to match the 2000 DDK. Only test the Rtl{Initialize,SetAll,ClearAll}Bits macros if they are defined. * dlls/hhctrl.ocx/Makefile.in, dlls/hhctrl.ocx/hhctrl.ocx.spec, dlls/hhctrl.ocx/regsvr.c, tools/wine.inf: Stefan Leichter Added empty DllRegisterServer. * dlls/ddraw/dclipper/main.c, dlls/ddraw/dclipper/main.h: Tobias Burnus - Limit number of FIXME()s in Clipper_SetClipList and document function. - Document Clipper_GetClipList. * dlls/ole32/dcom.h, include/activscp.h, include/amstream.h, include/amvideo.h, include/austream.h, include/comcat.h, include/ddstream.h, include/dispex.h, include/docobj.h, include/exdisp.h, include/mlang.h, include/mmstream.h, include/oaidl.h, include/objbase.h, include/objidl.h, include/ocidl.h, include/oleidl.h, include/pstore.h, include/rpcproxy.h, include/servprov.h, include/shldisp.h, include/shlobj.h, include/shobjidl.h, include/strmif.h, include/unknwn.h, include/unknwn.idl, include/urlmon.h, tools/widl/header.c: Get rid of the ICOM_MSVTABLE_COMPAT support, g++ no longer requires this. * server/clipboard.c: Ulrich Czekalla The clipboard owner can be set by the thread that has the clipboard open. * dlls/dbghelp/stabs.c: Robert Shearman Store the current source directory and use it when encountering a relative include so that the full path to it is stored instead. * dlls/shell32/shelllink.c: Aric Stewart Make sure exePath contains the path since it is used later in the function as well. * dlls/mlang/mlang.c, dlls/mlang/tests/mlang.c: Dmitry Timoshkov Enumerate all available scripts in IMultiLanguage2_EnumScripts, add fixed/proportional font names into mlang database. * dlls/kernel/locale.c: Dmitry Timoshkov GetCPInfo(Ex) should work on CP_UTF7/CP_UTF8 pseudo code pages, as IsValidCodePage does. * dlls/comctl32/propsheet.c: Mike McCormack Adjust the tab contents to fix the propsheet between PSM_KILLACTIVE and PSM_SETACTIVE. * dlls/dsound/tests/capture.c, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/propset.c: Robert Reif Only print format info when in interactive mode for capture test. Cleanup error and info messges. * include/winbase.h, include/winnt.h: Francois Gouget Move LDT_ENTRY to winnt.h. 2004-08-22 Alexandre Julliard * documentation/debugger.sgml, programs/winedbg/break.c, programs/winedbg/dbg.y, programs/winedbg/debugger.h, programs/winedbg/display.c, programs/winedbg/expr.c, programs/winedbg/gdbproxy.c, programs/winedbg/memory.c, programs/winedbg/stack.c, programs/winedbg/symbol.c, programs/winedbg/types.c, programs/winedbg/winedbg.c: Eric Pouech - fixed breakpoint enabled/disabled state management - fixed recursion in type printing - now all type-id are stored with the base address of the module which defines the type (struct dbg_type takes care of this pairing) - fixed a couple of bugs in display handling - fixed strings print and examination * Make.rules.in, dlls/ole32/Makefile.in, dlls/ole32/dcom.h, include/Makefile.in: Added recursive idl target to allow updating idl files private to a dll. * include/unknwn.h, tools/widl/header.c: Output BEGIN/END_INTERFACE for C++ base classes too. * dlls/comctl32/comctl32.h, dlls/comctl32/commctrl.c, dlls/comctl32/tests/.cvsignore, dlls/comctl32/tests/Makefile.in, dlls/comctl32/tests/subclass.c: Kevin Koltzau Make SetWindowSubclass behave with SetWindowLong subclasses. Allow unlimited number of subclasses. Correct issue when SendMessage is called from within a subclass proc. Add regression test. * dlls/ntdll/tests/generated.c, include/winnt.h, tools/winapi/tests.dat: Francois Gouget Update FPO_DATA and IMAGE_LOAD_CONFIG_DIRECTORY to match the latest platform SDK. This helps compile the ntdll tests on Windows. * dlls/shell32/shellord.c, dlls/shell32/tests/generated.c, dlls/shell32/undocshell.h, include/shlobj.h: Francois Gouget Moved declarations from undocshell.h to shlobj.h to match the latest platform SDK. * dlls/winmm/wineoss/mixer.c: Robert Reif Added support for multiple mixers. Get mixer name from OSS. More tracing. * dlls/commdlg/filedlg.c: Dmitry Timoshkov Y coordinate of the "magic" static control should be treated inclusively. * dlls/dbghelp/dbghelp_private.h, dlls/dmband/dmband_private.h, dlls/dmband/dmutils.c, dlls/dmcompos/dmcompos_private.h, dlls/dmime/dmime_private.h, dlls/dmime/dmutils.c, dlls/dmloader/dmloader_private.h, dlls/dmscript/dmscript_private.h, dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/dmutils.c, dlls/dmsynth/dmsynth_private.h, dlls/dmusic/dmusic_private.h, dlls/dmusic32/dmusic32_main.c, dlls/dswave/dswave_private.h, dlls/dxdiagn/dxdiag_private.h, dlls/msi/msipriv.h, dlls/msi/query.h, dlls/ole32/errorinfo.c, dlls/oleaut32/hash.c, dlls/oleaut32/olefont.c, dlls/oleaut32/safearray.c, dlls/oleaut32/varformat.c, dlls/oleaut32/variant.c, dlls/oleaut32/variant.h, dlls/shell32/shell32_main.h, dlls/shell32/shlview.c, dlls/shlwapi/ordinal.c, include/objbase.h, include/unknwn.h, include/unknwn.idl, programs/winedbg/debugger.h: Don't define BEGIN_INTERFACE in unknwn.h. * include/activscp.h, include/amstream.h, include/amvideo.h, include/austream.h, include/comcat.h, include/ddstream.h, include/dispex.h, include/docobj.h, include/exdisp.h, include/mlang.h, include/mmstream.h, include/oaidl.h, include/objidl.h, include/ocidl.h, include/oleidl.h, include/pstore.h, include/servprov.h, include/shldisp.h, include/shobjidl.h, include/strmif.h, include/unknwn.h, include/unknwn.idl, include/urlmon.h, tools/widl/header.c: Mike McCormack Generate BEGIN_INTERFACE,END_INTERFACE macros instead of ICOM_MSVTABLE_COMPAT_FIELDS. * dlls/gdi/tests/generated.c, dlls/msvcrt/except.c, dlls/ntdll/exception.c, dlls/ntdll/tests/generated.c, include/wingdi.h, include/winnt.h, tools/winapi/tests.dat: Francois Gouget Remove these Wine-only types: EnumICMProfilesProcCallback PEXCEPTION_REGISTRATION_RECORD Don't test these Wine-only types: EMRSETTEXTJUSTIFICATION EXCEPTION_REGISTRATION_RECORD Remove EXCEPTION_FRAME, it doesn't exist at all. * dlls/winmm/wineoss/mixer.c: Robert Reif Fixed bug in volume control step size so that it actually works. Added additional debug tracing. Code cleanup. * tools/winapi/c_parser.pm: Francois Gouget DECLARE_OLD_HANDLE is not used anymore. * tools/sfnt2fnt.c: Gerald Pfeifer Include for a prototype of exit(). * programs/winecfg/Nl.rc, programs/winecfg/winecfg.rc: Rein Klazes Added Dutch translation. * dlls/comctl32/tests/.cvsignore, dlls/comctl32/tests/Makefile.in, dlls/comctl32/tests/imagelist.c: Michael Stefaniuc Test case for hotspot handling. * dlls/comctl32/imagelist.c: Michael Stefaniuc - Fix hotspot handling - Remove unused flag from the InternalDrag struct. 2004-08-20 Alexandre Julliard * dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/propset.c, dlls/winmm/lolvldrv.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/audio.c, dlls/winmm/wineoss/audio.c, include/mmddk.h: Robert Reif Remove wine specific DRV_QUERYDSOUNDGUID message and calculate it in dsound.dll (like in 2k/xp). * dlls/oleaut32/olefont.c: Robert Shearman Added implementation for IPersistPropertyBag_Load on OLEFont (based on a patch by Alex Villacís Lasso). * dlls/shell32/shellpath.c: Huw Davies Unicodify a load of strings. * dlls/gdi/brush.c: Jon Griffiths Return a stock brush when asking for a brush with the same characteristics, as per native. Document the brush functions. * dlls/shell32/tests/generated.c, include/shlobj.h, tools/winapi/c_parser.pm, tools/winapi/c_type.pm, tools/winapi/winapi_test: Francois Gouget Fix packing bug in shlobj.h. Fix the declaration of bitfields so their layout matches what MSVC generates. Modify winapi_test to compute the bitfields size/alignment like MSVC does. Update the impacted generated.c files. * dlls/shell32/shelllink.c: Aric Stewart In IPersistFile_Save if the exe file is not found, trust the path we are given and allow creation of the link. * dlls/winmm/mcicda/mcicda.c: Robert Shearman - Input path can have trailing slash. - Improve some debugging messages. * dlls/gdi/clipping.c, include/wingdi.h: Robert Shearman - Fix type in GetRandomRegion function. - Add prototype to header. * dlls/advapi32/crypt.c: James Hawkins Enable ERROR_MORE_DATA to be set in CryptGetDefaultProvider. * dlls/advapi32/tests/crypt.c: James Hawkins Added tests for CryptSetProviderEx. * include/winternl.h: Mike McCormack Added prototypes for a few more Native API functions. * dlls/winmm/wineoss/mixer.c: Robert Reif Change step size from 0 to 1 for volume controls to stop divide by zero in app. Change debug channel to mixer. Add more tracing and errors. 2004-08-19 Alexandre Julliard * dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, dlls/shell32/tests/generated.c, tools/winapi/tests.dat: Francois Gouget Remove types that don't exist from tests.dat. Don't test types that have a platform dependent layout. Don't test Wine-only types. Helps get the generated tests compiling on Windows. * dlls/oleaut32/tests/.cvsignore, dlls/oleaut32/tests/Makefile.in, dlls/oleaut32/tests/typelib.c, dlls/oleaut32/typelib.c: Jacek Caban Ref counting fixes. * fonts/genttf.ff: Generate the .ttf file in the current directory. * dlls/shlwapi/tests/generated.c, include/shlwapi.h: Francois Gouget Fix packing of shlwapi.h Add a DECLSPEC_ALIGN(8) to force DLLVERSIONINFO2 to have the correct alignment. * dlls/comctl32/comctl32.h, dlls/comctl32/commctrl.c, dlls/comctl32/toolbar.c: Robert Shearman - Implement insert marks. - Rearrange TOOLBAR_INFO. * dlls/wininet/urlcache.c, dlls/wininet/wininet.spec: Robert Shearman Fix type of DeleteIE3Cache function. * dlls/winmm/winealsa/audio.c: Robert Reif Added 24/32 bit sample size and 4/6 channel support. Added dsound capture wine specific message support. * configure, configure.ac, dlls/Makefile.in, dlls/amstream/Makefile.in, dlls/devenum/Makefile.in, dlls/mshtml/Makefile.in, dlls/quartz/Makefile.in, dlls/quartz/tests/Makefile.in, dlls/strmiids/.cvsignore, dlls/strmiids/Makefile.in, dlls/strmiids/strmiids.c, dlls/uuid/uuid.c: Francois Gouget Added 'strmiids.lib'. Moved CLSID_FilterGraph and the related GUIDs to strmiids. * dlls/quartz/tests/filtergraph.c: Francois Gouget Define COBJMACROS. Fixes compilation on Windows. * dlls/shell32/tests/generated.c, include/shellapi.h: Francois Gouget Add new fields to the NOTIFYICONDATA structure so it matches the latest platform SDK. Update shell32/tests/generated.c. It now works when compiled with the Windows headers. * dlls/comctl32/tooltips.c: Ulrich Czekalla Clear tooltip when text is set to NULL. Repaint tooltip when item info changes. * dlls/comctl32/comboex.c: Ulrich Czekalla Forward focus to combobox, otherwise edit control won't get focus. * dlls/comctl32/tab.c: Ulrich Czekalla The rectangle passed in DRAWITEMSTRUCT is slightly too large as compared with Windows. * fonts/wine_system.sfd: Huw Davies Complete cp1252 for System. * dlls/comctl32/toolbar.c: Robert Shearman - Fix anchor highlighting. - Remove redundant test in TOOLBAR_DrawButton. * dlls/wininet/internet.c: Robert Shearman Better TRACE's for some Internet* functions. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, dlls/advapi32/tests/security.c: Mike McCormack Fix BuildTrusteeWithSid, implement and test BuildTrusteeWithName. * dlls/winmm/wineoss/audio.c: John K. Hohm Consistently suggest proper Emulation rather than Emulated for HardwareAcceleration in [dsound] section of config file. * dlls/ntdll/file.c: Robert Shearman Handle ECONNRESET in FILE_GetNtStatus. * dlls/kernel/tests/file.c, dlls/ntdll/file.c: Robert Shearman - Errors should only be reported to I/O completion routine after NtReadFile has succeeded. - Test case for this behaviour. * dlls/quartz/filesource.c, dlls/quartz/pin.c: Robert Shearman - Remove duplicated code in file reader. - Use new CreateSpecific function for file reader that doesn't query for IMemInputPin. - Get rid of inefficient use of IMemInputPin in general pin code. * configure, configure.ac, dlls/kernel/Makefile.in, dlls/ntdll/Makefile.in, dlls/ntdll/file.c, tools/winegcc/winegcc.c: Emmanuel Maillard - Update build system to support IOKit and CoreFoundation frameworks on Darwin. - Add support for the -framework "name" linker option. - NtQueryVolumeInformationFile set device info on Darwin. * dlls/winmm/tests/capture.c, dlls/winmm/tests/wave.c, dlls/winmm/tests/winmm_test.h: Robert Reif Added 32 bit sample size tests and 4 and 6 channel tests. * dlls/winmm/wineoss/audio.c: Robert Reif Cleanup messages in supportedFormat. * dlls/winmm/wavemap/wavemap.c: Robert Reif Don't try to find alternate formats for non PCM formats. * dlls/wininet/urlcache.c, dlls/wininet/wininet.spec: Stefan Leichter Added stub for DeleteIE3Cache. * windows/defdlg.c: Zach Gorman When searching for the DEFPUSHBUTTON in a dialog, recurse into child windows with the WS_EX_CONTROLPARENT style (if they are visible and enabled). * tools/wrc/parser.y: Zach Gorman WS_TABSTOP should not be a default style for GROUPBOX controls. * configure, configure.ac: Vincent Béron Show the proper make command at the end of configure. 2004-08-18 Alexandre Julliard * include/wincrypt.h: Michael Jung Added some defines for CPSetKeyParam. * dlls/shlwapi/tests/ordinal.c: Stefan Leichter Fixed tests of GetAcceptLanguagesA for win2k and win XP. * dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h: Robert Shearman Allow the user to move managed windows by dragging on HTCAPTION areas. * dlls/msi/package.c, dlls/shell32/shellpath.c: Vincent Béron Don't hardcode c:\windows paths in msi.dll. * programs/winemenubuilder/winemenubuilder.c: Vincent Béron Don't hardcode C:\windows\system\start.exe. * dlls/kernel/process.c: The argv array passed to the app needs to be in the Ansi codepage, not the Unix one. * dlls/commdlg/printdlg.c: Huw Davies Fix printer selection in PD_PRINTSETUP type dialogs. * include/wingdi.h: Andreas Mohr Added OBJ_COLORSPACE define. * dlls/ntdll/file.c: Rein Klazes Do not make a directory read-only. * programs/winetest/send.c: Ferenc Wagner Avoid crashing on unsuccessful send. * dlls/dsound/tests/capture.c: Robert Reif Cleanup messages. * dlls/oleaut32/olepicture.c: Alex Villacís Lasso Add detection of graphic file header in picture load, treat it as no-header case. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c: Robert Reif Allocate wave format structure dynamically based on format. Remove format checks to allow driver to decide if format supported. Code cleanups. * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c: Robert Reif Cleanup some more messages. * dlls/winmm/wineoss/audio.c: Robert Reif Some sound cards have different capabilities when doing full duplex so add duplex caps and return them when necessary. Clean up event message printing. * dlls/oleaut32/olepicture.c: Alex Villacís Lasso Apply HIMETRIC transformation on icons, just like bitmaps. * dlls/devenum/devenum.rc: José Manuel Ferrer Ortiz Added Spanish translation. * dlls/kernel/comm.c, dlls/kernel/file.c, dlls/kernel/sync.c, dlls/kernel/vxd.c, dlls/ntdll/cdrom.c, dlls/ntdll/directory.c, dlls/ntdll/file.c, dlls/ntdll/ntdll.spec, dlls/ntdll/server.c, dlls/ntdll/virtual.c, dlls/winedos/int13.c, dlls/winedos/int21.c, dlls/winsock/socket.c, include/wine/server.h, include/wine/server_protocol.h, misc/registry.c, server/fd.c, server/file.c, server/file.h, server/named_pipe.c, server/protocol.def, server/serial.c, server/sock.c, server/trace.c: Fd type is no longer used, get rid of it. 2004-08-17 Alexandre Julliard * dlls/kernel/file.c, dlls/ntdll/file.c, include/async.h, include/wine/server_protocol.h, server/protocol.def, server/serial.c, server/sock.c: Eric Pouech - better support for non-blocking COMM and socket read/writes: + added necessary semantics to fd flags + no longer uses fd type (but fd flags) read/write semantic behavior - fixed socket code to use the proper manifest constants - fixes for kernel32.GetOverlappedResult without hEvent set - in ntdll.Nt{Read|Write}File + always reset the event + added support for longlong offsets + better object disposal in error handling code paths * Make.rules.in, Makefile.in, configure, configure.ac, fonts/.cvsignore, fonts/Makefile.in, fonts/genttf.ff, fonts/wine_courier.sfd, fonts/wine_sans_serif.sfd, fonts/wine_system.sfd, tools/.cvsignore, tools/Makefile.in, tools/fnt2fon.c, tools/sfnt2fnt.c: Huw Davies First stab at Wine versions of Courier, System and MS Sans Serif fonts. * dlls/advapi32/service.c: Aric Stewart Let StartServiceCtrlDispatcher handle services not started by StartService. * dlls/ntdll/nt.c: Aric Stewart Added handling of TokenPrimaryGroup. * dlls/x11drv/winpos.c: Krishna Murthy Allow resizing windows without thickframe style. * dlls/make_dlls: ALTNAMES has been removed, use SPEC_SRCS16 instead. * documentation/configuring.sgml: Fergal Daly Document dosdevices/unc mapping. * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, include/winternl.h: Mike McCormack Stub implementation for NtSetInformationToken. * dlls/comctl32/propsheet.c: Robert Shearman Always redraw dialog on changing between pages. * dlls/capi2032/cap20wxx.c: Marcus Meissner Newer dependent linux headers have __user notations, which we need to provide. Define it to be empty. * dlls/gdi/freetype.c: Huw Davies Convert installed font list to list.h. * dlls/advapi32/crypt.c: James Hawkins If pszTypeName is too small to hold the type name in CryptEnumProviderTypes, return ERROR_MORE_DATA. * dlls/advapi32/tests/crypt.c: Mike McCormack Remove unnecessary casts in crypt tests. * DEVELOPERS-HINTS: Mike McCormack Update directory list. 2004-08-16 Alexandre Julliard * dlls/winmm/winmm.c, dlls/winmm/winmm.spec: Eric Pouech Implemented the mmTask* functions. * dlls/user/tests/win.c: Ferenc Wagner The desktop process is not automatically restarted under Win95, so stop killing it. * dlls/mapi32/tests/prop.c: Ferenc Wagner Terminate test loop on the first error to avoid excessive log volume. * dlls/shell32/shlexec.c: Ge van Geldorp Handle shell link files contained in double quotes. * dlls/advapi32/security.c: Mike McCormack Implemented Get/SetFileSecurity A->W. * dlls/comctl32/propsheet.c: Zach Gorman OK button should be default in non-wizard property sheets. * configure, configure.ac, dlls/quartz/Makefile.in, dlls/quartz/tests/.cvsignore, dlls/quartz/tests/Makefile.in, dlls/quartz/tests/filtergraph.c: Christian Costa Added tests for filtergraph. * dlls/commdlg/cdlg_Ca.rc, dlls/commdlg/cdlg_Cn.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_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_Si.rc, dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Th.rc, dlls/commdlg/cdlg_Uk.rc, dlls/commdlg/cdlg_Wa.rc, dlls/commdlg/cdlg_Zh.rc, dlls/commdlg/filedlg.c: Dmitry Timoshkov - Use "MS Shell Dlg" in the Open File dialog templates as in Windows - Resize child dialog when its controls are moved relatively stc32 "magic" control. * dlls/rsabase/main.c: Michael Jung Register TypeName registry key value. * dlls/advapi32/crypt.c: James Hawkins Fix alloc test in CryptEnumProviderTypesW that failed if the alloc succeeded. * dlls/advapi32/tests/crypt.c: James Hawkins Fixed a few crypt test bugs. * dlls/winmm/tests/mixer.c, dlls/winmm/tests/wave.c: Robert Reif Added test for WAVEFORMATEXTENSIBLE support. Error message cleanup. * dlls/winmm/wineoss/audio.c: Robert Reif Added WAVEFORMATEXTENSIBLE support. * include/Makefile.in, include/ks.h, include/ksguid.h, include/ksmedia.h: Robert Reif Adds enough of ks.h, ksguid.h and ksmedia.h to start adding support for WAVEFORMATEXTENSIBLE. * dlls/ntdll/file.c, dlls/ntdll/ntdll.spec, include/winternl.h: Mike McCormack Stub implementation and declaration for NtCreateNamedPipeFile. * dlls/mlang/mlang.c, dlls/mlang/tests/mlang.c: Dmitry Timoshkov Implement IMultiLanguage2_GetCharsetInfo, add a test case for it. * dlls/advapi32/security.c, dlls/advapi32/tests/security.c, include/aclapi.h: Mike McCormack Declaration, implemention and test for BuildTrusteeWithSid. * dlls/quartz/pin.c: Robert Shearman Fix potential race in IPinImpl_ConnectedTo. * configure, configure.ac: Make sure we check for egrep before we use it. * dlls/opengl32/wgl.c, dlls/opengl32/wgl.h, include/windef.h, include/wingdi.h: Andreas Mohr Move some OpenGL defines from the private wgl.h header to where they belong. * dlls/quartz/avisplit.c: Christian Costa Added handling of 'idx1' (index) chunk. Added handling of 'rec ' list that embeds streams data. Disabled checking of the TWOCC of streams data chunk. It is not relevant in avi files. Only release media sample when the delivery to the downstream filter does not succeeded. Some clean-up. * dlls/avifil32/avifile_Cs.rc, dlls/avifil32/rsrc.rc, dlls/comctl32/comctl_Cs.rc, dlls/comctl32/rsrc.rc, dlls/mpr/mpr.rc, dlls/mpr/mpr_Cs.rc, dlls/msacm/msacm.rc, dlls/msacm/msacm_Cs.rc, dlls/msrle32/msrle_Cs.rc, dlls/msrle32/rsrc.rc, dlls/oledlg/oledlg_Cs.rc, dlls/oledlg/rsrc.rc, dlls/serialui/Cs.rc, dlls/serialui/serialui_rc.rc, dlls/setupapi/Cs.rc, dlls/setupapi/setupapi.rc, dlls/wineps/rsrc.rc, dlls/wineps/wps_Cs.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_Cs.rc, dlls/winmm/winmm_Cs.rc, dlls/winmm/winmm_res.rc: David Kredba Added Czech resources. * include/prsht.h, windows/spy.c: Mike McCormack Define new propsheet messages. * dlls/dsound/buffer.c: Robert Reif Delete buffer array when releasing last buffer. * dlls/dsound/capture.c: Robert Reif Allow proper release while capturing. * dlls/ntdll/sec.c: Gerald Pfeifer Fix incorrect sizeof in RtlCreateSecurityDescriptor(). * dlls/advapi32/advapi32.spec: Mike McCormack Add some stub declarations. * documentation/faq.sgml: Tom Wickline Remove rewind section due to lack of updates. Remove old list of contributors that gave to the wpf. Link to history page in question asking about wine's history. Change WineX name to Cedega. Use current wine version in answer. * dlls/commdlg/filedlg.c: Rein Klazes Fix a crash saving a file without file name extension and without extension filter. * dlls/shell32/shlfileop.c: Mike McCormack Clean up messy comment in SHFileOperation. Reduce the number of goto labels in SHFileOperation by one. * dlls/comctl32/propsheet.c: Zach Gorman Propsheet pages need WS_EX_CONTROLPARENT style. * dlls/mlang/mlang.c, dlls/mlang/mlang.spec: Steven Edwards Added stubs for LcidToRfc1766[A/W]. * dlls/quartz/pin.c: Christian Costa Fixed a bug that made the connection possible whereas no suitable media type has be found during the negotiation. Fixed the release of the media sample in PullPin_Thread_Process. Added and fixed a lot of traces. * include/Makefile.in, include/devguid.h: Aric Stewart devguid.h defines device class GUIDs used in device detection and classification. * include/ntddstor.h: Aric Stewart Add some GUIDs from the win2k DDK that are used for USB devices. * dlls/advapi32/security.c, include/ntsecapi.h: Mike McCormack Move declaration of LSA* structs to ntsecapi.h. * dlls/shell32/tests/generated.c, dlls/user/tests/generated.c, tools/winapi/winapi_test: Francois Gouget Add the CCHILDREN_TITLEBAR+1 and NUM_POINTS macros. Add a couple base types that winapi_test does not know how to parse. Fix a bug so that 'signed' and 'unsigned' are recognised as valid types. 2004-08-13 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20040813. ---------------------------------------------------------------- 2004-08-13 Alexandre Julliard * dlls/winedos/int21.c, dlls/winedos/vga.c: Markus Amsler Add DOS editing key support in BUFFERED INPUT. * dlls/user/tests/dialog.c, windows/defdlg.c: WM_NEXTDLGCTL should not change the default button ID (based on a patch by Krishna Murthy). * dlls/commdlg/cdlg_Pl.rc: Jacek Caban Translation update. * dlls/commdlg/fontdlg.c: Jacek Caban Fix a bug in passing parameters to CFn_WMInitDialog and CFn_WMCommand in FormatCharDlgProcW. * dlls/ntdll/tests/env.c, dlls/ntdll/tests/generated.c, dlls/ntdll/tests/large_int.c, dlls/ntdll/tests/ntdll_test.h, dlls/ntdll/tests/path.c, dlls/ntdll/tests/rtl.c, dlls/ntdll/tests/rtlbitmap.c, dlls/ntdll/tests/rtlstr.c, dlls/ntdll/tests/string.c, tools/winapi/tests.dat: Francois Gouget Avoid annoying 'macro redefinition' warnings by defining WIN32_NO_STATUS at the right time. Define _WIN32_WINNT otherwise we are missing some symbols with the Windows headers. * dlls/advapi32/security.c, dlls/ntdll/om.c, dlls/ntdll/sec.c, dlls/ntdll/tests/generated.c, include/winnt.h, tools/winapi/tests.dat: Francois Gouget Fix the PSID and PSECURITY_DESCRIPTOR types. Add PISID and PISECURITY_DESCRIPTOR. * dlls/ntdll/cdrom.c, dlls/ntdll/directory.c, dlls/ntdll/path.c, dlls/ntdll/reg.c, dlls/ntdll/relay.c, dlls/ntdll/resource.c, dlls/ntdll/server.c, dlls/ntdll/time.c, dlls/ntdll/version.c: Hans Leidekker Fix signed/unsigned comparison warnings. * dlls/winmm/tests/wave.c: Robert Reif More WAVEOUTCAPSW tests. * dlls/msvcrt/except.c, dlls/ntdll/tests/generated.c, tools/winapi/tests.dat: Francois Gouget The Windows headers don't define PEXCEPTION_REGISTRATION_RECORD. Remove it. * dlls/advapi32/security.c, dlls/ntdll/thread.c: Mike McCormack Implement SetThreadToken using NtSetInformationThread. * dlls/wininet/tests/generated.c, dlls/wininet/tests/wininet_test.h, tools/winapi/tests.dat: Francois Gouget Fix compilation of the wininet generated tests with the Windows headers. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/tests/vartype.c, dlls/winmm/tests/mixer.c: Francois Gouget The Windows headers support for NONAMELESSUNION and NONAMELESSSTRUCT is unusable. So don't force this mode. Instead check whether NONAMELESSUNION and/or NONAMELESSSTRUCT are set (by the Wine headers) and define custom access macros accordingly. * dlls/quartz/filesource.c, dlls/quartz/memallocator.c: Christian Costa Added missing initialization of the filesource output pin critical section. Avoid indefinite wait when calling GetOverlappedResult. Fixed initial refcount of the IMemAllocator object. Improved some traces. * dlls/gdi/bitmap.c: Huw Davies If a device doesn't support device bitmaps, then store the bits on the gdi side. * programs/notepad/Pl.rc, programs/notepad/rsrc.rc: Jacek Caban Added Polish translation. * dlls/winspool/winspool.drv.spec: Huw Davies Fix first parameter of GetDefaultPrinterA|W. * include/mmreg.h: Robert Reif Add WAVE_FORMAT_EXTENSIBLE. * dlls/x11drv/dib.c: Huw Davies Sync with dibsection in SetDIBitsToDevice. * dlls/kernel/heap.c: Robert Reif Fix BSD build. * dlls/winmm/tests/winmm_test.h: Francois Gouget The Windows headers don't define the DRV_QUERYDEVICEINTERFACE(SIZE) macros. * dlls/ntdll/tests/generated.c, include/winnt.h: Francois Gouget Rename ResourceHandle to Reserved in the IMAGE_RESOURCE_DATA_ENTRY structure to match the Windows headers. * dlls/advapi32/crypt.c, dlls/advapi32/tests/crypt.c: James Hawkins If the pszProvName param of CryptEnumProviders is too small to hold the provider name, SetLastError to ERROR_MORE_DATA. * dlls/comctl32/imagelist.c: Jon Griffiths Make pattern brush data const. * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/propset.c: Robert Reif More dsound tests error message cleanups. Only display verbose information when in interactive mode. * dlls/winmm/wineoss/audio.c: Robert Reif Better mmap failure error message. * dlls/comcat/comcat_private.h, dlls/dmband/dmutils.h, dlls/dmcompos/dmcompos_private.h, dlls/dmime/dmutils.h, dlls/dmloader/dmloader_private.h, dlls/dmscript/dmscript_private.h, dlls/dmstyle/dmutils.h, dlls/dmusic/dmusic_private.h, dlls/dswave/dswave_private.h, dlls/mlang/mlang.c, dlls/ole32/compobj_private.h, dlls/oleaut32/tmarshal.c, dlls/quartz/quartz_private.h, dlls/rpcrt4/cproxy.c, dlls/urlmon/urlmon_main.h, include/objbase.h: Moved ICOM_THIS_MULTI definition out of objbase.h and into the files that use it. * dlls/kernel/kernel_main.c: We don't need the shared heap on non-i386 platforms. * dlls/kernel/heap.c, include/winbase.h: Robert Reif Use GlobalMemoryStatusEx in GlobalMemoryStatus rather than the other way around. * dlls/winedos/int21.c: Markus Amsler Make FINDFIRST working with /. * windows/mdi.c: Marcus Meissner If the current menu handle is already set, do not set it again. * dlls/winedos/module.c: Markus Amsler Make environment variables uppercase. * dlls/atl/Makefile.in, dlls/atl/atl.spec, dlls/atl/regsvr.c, tools/wine.inf: Steven Edwards Implemented DllRegisterServer and DllUnregisterServer. 2004-08-12 Alexandre Julliard * dlls/amstream/amstream.c, dlls/amstream/main.c, dlls/avifil32/acmstream.c, dlls/avifil32/avifile.c, dlls/avifil32/editstream.c, dlls/avifil32/factory.c, dlls/avifil32/getframe.c, dlls/avifil32/icmstream.c, dlls/avifil32/tmpfile.c, dlls/avifil32/wavfile.c, dlls/comcat/comcat_private.h, dlls/comcat/factory.c, dlls/comcat/information.c, dlls/comcat/manager.c, dlls/comcat/register.c, dlls/commdlg/filedlgbrowser.c, dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/indexbuffer.c, dlls/d3d8/resource.c, dlls/d3d8/surface.c, dlls/d3d8/swapchain.c, dlls/d3d8/texture.c, dlls/d3d8/vertexbuffer.c, dlls/d3d8/volume.c, dlls/d3d8/volumetexture.c, dlls/d3d9/basetexture.c, dlls/d3d9/cubetexture.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/indexbuffer.c, dlls/d3d9/pixelshader.c, dlls/d3d9/query.c, dlls/d3d9/resource.c, dlls/d3d9/stateblock.c, dlls/d3d9/surface.c, dlls/d3d9/swapchain.c, dlls/d3d9/texture.c, dlls/d3d9/vertexbuffer.c, dlls/d3d9/vertexdeclaration.c, dlls/d3d9/vertexshader.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, dlls/d3dx8/d3dx8core_private.h, dlls/d3dx8/d3dxbuffer.c, dlls/d3dxof/d3dxof.c, dlls/d3dxof/main.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/dclipper/main.c, dlls/ddraw/ddraw/hal.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/thunks.c, dlls/ddraw/ddraw/user.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/dpalette/hal.c, dlls/ddraw/dpalette/main.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/dsurface/gamma.c, dlls/ddraw/dsurface/hal.c, dlls/ddraw/dsurface/main.h, dlls/ddraw/dsurface/thunks.c, dlls/ddraw/dsurface/thunks.h, dlls/ddraw/dsurface/user.c, dlls/devenum/createdevenum.c, dlls/devenum/factory.c, dlls/devenum/mediacatenum.c, dlls/devenum/parsedisplayname.c, dlls/dinput/dinput_main.c, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c, dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_main.c, dlls/dmband/dmband_private.h, dlls/dmcompos/chordmap.c, dlls/dmcompos/chordmaptrack.c, dlls/dmcompos/composer.c, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/dmcompos_private.h, dlls/dmcompos/signposttrack.c, dlls/dmime/audiopath.c, dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmime/graph.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/segtriggertrack.c, dlls/dmime/seqtrack.c, dlls/dmime/sysextrack.c, dlls/dmime/tempotrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/tool.c, dlls/dmime/wavetrack.c, dlls/dmloader/classfactory.c, dlls/dmloader/container.c, dlls/dmloader/dmloader_private.h, dlls/dmloader/loader.c, dlls/dmloader/loaderstream.c, dlls/dmscript/dmscript_main.c, dlls/dmscript/dmscript_private.h, dlls/dmscript/script.c, dlls/dmscript/scripttrack.c, dlls/dmstyle/auditiontrack.c, dlls/dmstyle/chordtrack.c, dlls/dmstyle/commandtrack.c, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/motiftrack.c, dlls/dmstyle/mutetrack.c, dlls/dmstyle/style.c, dlls/dmstyle/styletrack.c, dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/dmsynth_private.h, dlls/dmsynth/synth.c, dlls/dmsynth/synthsink.c, dlls/dmusic/buffer.c, dlls/dmusic/clock.c, dlls/dmusic/collection.c, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/download.c, dlls/dmusic/downloadedinstrument.c, dlls/dmusic/instrument.c, dlls/dmusic/port.c, dlls/dmusic/portdownload.c, dlls/dmusic/thru.c, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplay.c, dlls/dplayx/dplaysp.c, dlls/dplayx/dplobby.c, dlls/dplayx/lobbysp.c, dlls/dpnet/address.c, dlls/dpnet/client.c, dlls/dpnet/dpnet_main.c, dlls/dpnet/dpnet_private.h, dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c, dlls/dswave/dswave.c, dlls/dswave/dswave_main.c, dlls/dswave/dswave_private.h, dlls/dxdiagn/container.c, dlls/dxdiagn/dxdiag_main.c, dlls/dxdiagn/dxdiag_private.h, dlls/dxdiagn/provider.c, dlls/mlang/mlang.c, dlls/msdmo/dmoreg.c, dlls/msi/msi.c, dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compobj_private.h, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/errorinfo.c, dlls/ole32/filemoniker.c, dlls/ole32/ftmarshal.c, dlls/ole32/git.c, dlls/ole32/hglobalstream.c, dlls/ole32/ifs.c, dlls/ole32/itemmoniker.c, dlls/ole32/marshal.c, dlls/ole32/memlockbytes.c, dlls/ole32/memlockbytes16.c, dlls/ole32/moniker.c, dlls/ole32/ole16.c, dlls/ole32/oleobj.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/stg_stream.c, dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/oleaut32/connpt.c, dlls/oleaut32/dispatch.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c, dlls/oleaut32/tests/safearray.c, dlls/oleaut32/tests/vartype.c, dlls/quartz/enummoniker.c, dlls/quartz/filtergraph.c, dlls/quartz/filtermapper.c, dlls/quartz/main.c, dlls/quartz/systemclock.c, dlls/rpcrt4/cproxy.c, dlls/rpcrt4/cpsf.c, dlls/rpcrt4/ndr_ole.c, dlls/shdocvw/classinfo.c, dlls/shdocvw/events.c, dlls/shdocvw/factory.c, dlls/shdocvw/misc.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/persist.c, dlls/shdocvw/webbrowser.c, dlls/shell32/autocomplete.c, dlls/shell32/cpanelfolder.c, dlls/shell32/dataobject.c, dlls/shell32/dragdrophelper.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/memorystream.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlfsbind.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shlwapi/assoc.c, dlls/shlwapi/istream.c, dlls/shlwapi/regstream.c, dlls/urlmon/umon.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/audio_05.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/wineoss/audio.c, include/objbase.h, include/rpcproxy.h: Get rid of the non-standard ICOM_VTABLE macro. * include/setupapi.h: Aric Stewart Added some more needed structs and constants. * dlls/shlwapi/ordinal.c, include/shlwapi.h: Jacek Caban Implemented IsOS function. * dlls/comctl32/tooltips.c: Thomas Weidenmüller Correct tooltips behavior. * include/ntddstor.h: Aric Stewart Added 2 more bus types. * dlls/gdi/dib.c, dlls/x11drv/dib.c: Huw Davies Repect the width of both the src and dst when calculating how many pixels to copy in a dib <-> bmp operation. * libs/Makelib.rules.in: Emmanuel Maillard Define -install_name for dynamics libraries to prevent usage of DYLD_LIBRARY_PATH. * dlls/comctl32/listview.c: Mike McCormack Prevent listview from crashing when a null sort function is passed to LVM_SORTITEMS. * dlls/dsound/mixer.c: Robert Reif Speed up mixing and unmixing by moving sample size and buffer wrap tests to outside the loop. The code is not as compact or pretty but it should be faster. * dlls/avifil32/acmstream.c, dlls/avifil32/avifile.c, dlls/avifil32/editstream.c, dlls/avifil32/factory.c, dlls/avifil32/getframe.c, dlls/avifil32/icmstream.c, dlls/avifil32/tmpfile.c, dlls/avifil32/wavfile.c, dlls/comcat/comcat_private.h, dlls/comcat/information.c, dlls/d3d8/d3d8_private.h, dlls/d3d9/d3d9_private.h, dlls/d3dx8/d3dx8core_private.h, dlls/devenum/devenum_private.h, dlls/dinput/device_private.h, dlls/dinput/dinput_main.c, dlls/dmband/dmband_main.c, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/dmcompos_private.h, dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmloader/dmloader_private.h, dlls/dmscript/dmscript_main.c, dlls/dmstyle/dmstyle_main.c, dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/dmsynth_private.h, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_private.h, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplay_global.h, dlls/dplayx/dplaysp.c, dlls/dplayx/dplobby.c, dlls/dplayx/lobbysp.c, dlls/dpnet/dpnet_main.c, dlls/dpnet/dpnet_private.h, dlls/dsound/dsound_private.h, dlls/dswave/dswave_main.c, dlls/dxdiagn/dxdiag_main.c, dlls/dxdiagn/dxdiag_private.h, dlls/msdmo/dmoreg.c, dlls/msi/msi.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compositemoniker.c, dlls/ole32/ftmarshal.c, dlls/ole32/git.c, dlls/ole32/hglobalstream.c, dlls/ole32/ifs.c, dlls/ole32/memlockbytes.c, dlls/ole32/memlockbytes16.c, dlls/ole32/moniker.c, dlls/ole32/ole16.c, dlls/ole32/oleobj.c, dlls/ole32/storage.c, dlls/ole32/storage32.h, dlls/oleaut32/dispatch.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/tests/vartype.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib2.c, dlls/quartz/enummoniker.c, dlls/quartz/filtermapper.c, dlls/quartz/systemclock.c, dlls/rpcrt4/ndr_ole.c, dlls/shdocvw/shdocvw.h, dlls/shell32/autocomplete.c, dlls/shell32/cpanelfolder.c, dlls/shell32/dataobject.c, dlls/shell32/dragdrophelper.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlfsbind.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shlwapi/assoc.c, dlls/shlwapi/istream.c, dlls/shlwapi/regstream.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/audio_05.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/wineoss/audio.c, include/objbase.h: Get rid of the non-standard ICOM_VFIELD macro. * dlls/avifil32/editstream.c, dlls/dplayx/dplaysp.h, dlls/dplayx/lobbysp.h, dlls/ole32/ifs.h, dlls/shell32/shellfolder.h, include/control.h, include/d3d.h, include/d3d8.h, include/d3d9.h, include/d3dx8core.h, include/ddraw.h, include/dinput.h, include/dmplugin.h, include/dmusicc.h, include/dmusici.h, include/dmusics.h, include/dpaddr.h, include/dplay.h, include/dplay8.h, include/dplobby.h, include/dsdriver.h, include/dsound.h, include/dxdiag.h, include/dxfile.h, include/mapidefs.h, include/mapiutil.h, include/mapix.h, include/mediaobj.h, include/objbase.h, include/oledlg.h, include/shlobj.h, include/shlwapi.h, include/vfw.h: Get rid of the non-standard ICOM_DEFINE macro. * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/dsound.c: Robert Reif Start cleaning up error messages. Don't print verbose info unless in interactive mode or debugging. * configure, configure.ac: Automatically disable 16-bit support in the PE build. * documentation/samples/config: Tom Wickline Use builtin msi.dll. * dlls/advapi32/tests/crypt.c: James Hawkins Added tests for CryptEnumProviders. * dlls/advapi32/crypt.c: James Hawkins Cleanup A->W cross call in CryptEnumProviders. 2004-08-11 Alexandre Julliard * dlls/Makedll.rules.in, dlls/avifil32/Makefile.in, dlls/commdlg/Makefile.in, dlls/ctl3d/Makefile.in, dlls/gdi/Makefile.in, dlls/imm32/Makefile.in, dlls/kernel/Makefile.in, dlls/lzexpand/Makefile.in, dlls/msacm/Makefile.in, dlls/msvideo/Makefile.in, dlls/ole32/Makefile.in, dlls/oleaut32/Makefile.in, dlls/olecli/Makefile.in, dlls/olesvr/Makefile.in, dlls/rasapi32/Makefile.in, dlls/setupapi/Makefile.in, dlls/shell32/Makefile.in, dlls/twain/Makefile.in, dlls/user/Makefile.in, dlls/version/Makefile.in, dlls/win32s/Makefile.in, dlls/winaspi/Makefile.in, dlls/winedos/Makefile.in, dlls/wineps/Makefile.in, dlls/winmm/Makefile.in, dlls/winnls/Makefile.in, dlls/winsock/Makefile.in, dlls/wintab32/Makefile.in: Avoid some non-portable makefile constructs, and get rid of the ALTNAMES variable. * DEVELOPERS-HINTS: Tom Wickline Update the dlls section. * dlls/x11drv/clipboard.c, dlls/x11drv/clipping.c, dlls/x11drv/desktop.c, dlls/x11drv/dib.c, dlls/x11drv/event.c, dlls/x11drv/graphics.c, dlls/x11drv/keyboard.c, dlls/x11drv/palette.c, dlls/x11drv/text.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/xfont.c, dlls/x11drv/xim.c, dlls/x11drv/xrandr.c, dlls/x11drv/xrender.c, dlls/x11drv/xvidmode.c: Hans Leidekker Fix signed/unsigned comparison warnings. * dlls/Makefile.in, dlls/make_dlls, loader/Makefile.in, programs/Makefile.in, programs/avitools/Makefile.in, programs/make_progs, programs/winetest/Makefile.in: Avoid some non-portable makefile constructs. * dlls/comctl32/listview.c: Filip Navara Don't update infoPtr->dwStyle in LISTVIEW_WindowProc. It's already handled in LISTVIEW_StyleChanged and LISTVIEW_Create processing. Ignore WS_VSCROLL/WS_HSCROLL flags in infoPtr->dwStyle because they're not always up-to-date. * dlls/shell32/tests/generated.c, include/shlobj.h, tools/winapi/tests.dat: Francois Gouget Remove LPFILESYSTEMBINDDATA as it's not defined in the standard Windows headers. * dlls/dmband/dmband_private.h, dlls/dmband/dmutils.c, dlls/dmcompos/dmcompos_private.h, dlls/dmime/dmime_private.h, dlls/dmime/dmutils.c, dlls/dmloader/dmloader_private.h, dlls/dmscript/dmscript_private.h, dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/dmutils.c, dlls/dmsynth/dmsynth_private.h, dlls/dmusic/dmusic_private.h, dlls/dswave/dswave_private.h, dlls/msi/record.c, dlls/ole32/errorinfo.c, dlls/oleaut32/olefont.c, dlls/oleaut32/safearray.c, dlls/oleaut32/tests/olefont.c, dlls/oleaut32/variant.c, dlls/oleaut32/vartype.c, dlls/shell32/shlview.c, dlls/shlwapi/ordinal.c, dlls/urlmon/tests/url.c, include/activscp.h, include/amstream.h, include/amvideo.h, include/austream.h, include/comcat.h, include/ddstream.h, include/dispex.h, include/docobj.h, include/exdisp.h, include/mlang.h, include/mmstream.h, include/oaidl.h, include/objidl.h, include/ocidl.h, include/oleidl.h, include/pstore.h, include/servprov.h, include/shldisp.h, include/shobjidl.h, include/strmif.h, include/unknwn.h, include/urlmon.h, tools/widl/header.c: Francois Gouget Modify widl to put the C COM macros inside an #ifdef COBJMACROS block as is done in the Windows headers. Add #define COBJMACROS where needed in Wine. Fixes the compilation of the oleaut32/tests/olefont.c and urlmon/tests/url.c conformance tests with the Windows headers. * dlls/msvcrt/tests/headers.c, tools/winapi/msvcmaker: Francois Gouget Don't define __WINE_USE_MSVCRT in the Visual C++ project. It is not needed as it is defined by the Wine headers. Use __WINE_USE_MSVCRT to detect whether we are being compiled with the Wine MSVCRT headers or the Windows ones. In the latter case: - don't try to include the Wine-specific msvcrt headers - skip all the headers.c tests since there's no MSVCRT_* symbols to check * dlls/msacm/filter.c, dlls/msacm/msacm32_main.c, dlls/msacm/msacm_main.c, dlls/msacm/pcmconverter.c, dlls/msacm/stream.c, dlls/msacm/tests/msacm.c, include/mmreg.h: Francois Gouget Add some missing definitions to mmreg.h. Add #define NOBITMAP where needed in the Wine sources. Fixes the compilation of msacm/tests/msacm.c with the Windows headers. * dlls/mlang/tests/mlang.c: Francois Gouget Don't include wine/debug.h when compiling on Windows. GetCPInfoExA() is missing on some Windows platforms, load it dynamically. * dlls/gdi/freetype.c, dlls/x11drv/xrender.c: Huw Davies Don't try to rotate bitmap fonts. * dlls/mlang/mlang.c, dlls/mlang/tests/mlang.c, include/mlang.h, include/mlang.idl, programs/winetest/Makefile.in: Dmitry Timoshkov - add stubbed support for IEnumScript interface - ConvertINetMultiByteToUnicode/ConvertINetUnicodeToMultiByte should return required target length if the target buffer is NULL - add the tests for all the above - fix IMultiLanguage2 vtable (it was missing ConvertStringFromUnicodeEx) * tools/wineprefixcreate.in: Henning Gerhardt Program Files directory should not be in windows directory. * dlls/ntdll/tests/path.c: Francois Gouget Replace strcasecmp() with lstrcmpiA() to help compilation with Windows headers. * dlls/gdi/bitblt.c: Huw Davies Fix maskblt to work with any set of rops and to also take into account the current brush. It also now works if the mask bitmap is already selected into a dc. * dlls/x11drv/brush.c: Huw Davies Ever since win98 pattern brushes have been able to be larger than 8x8 pixels, so remove this restriction. * dlls/user/tests/msg.c, dlls/user/tests/sysparams.c: Francois Gouget Define _WIN32_WINNT otherwise we are missing some definitions with the Windows headers. * dlls/winmm/tests/mixer.c: Robert Reif Only print out verbose information when in interactive mode. * dlls/msacm/tests/msacm.c: Robert Reif Only printout information when in interactive mode. * dlls/gdi/freetype.c: Huw Davies Don't ever return a bitmap font if the driver can't use it. * dlls/winmm/wineoss/mixer.c: Robert Reif Only copy number of bytes specified up to size of DevCaps structure. * dlls/atl/atl.spec, dlls/atl/atl_main.c: Steven Edwards Implemented AtlModuleTerm. * dlls/dsound/primary.c: Robert Reif Fixed a bug where freqAdjust was not being updated properly when the primary buffer format changed. * configure, configure.ac, dlls/ole32/Makefile.in, dlls/ole32/tests/.cvsignore, dlls/ole32/tests/Makefile.in, dlls/ole32/tests/storage32.c: Mike McCormack Added a test for stat'ing a memory based storage file. 2004-08-10 Alexandre Julliard * dlls/kernel/atom.c, dlls/kernel/computername.c, dlls/kernel/console.c, dlls/kernel/cpu.c, dlls/kernel/editline.c, dlls/kernel/global16.c, dlls/kernel/ne_module.c, dlls/kernel/resource.c, dlls/kernel/sync.c, dlls/kernel/volume.c: Hans Leidekker Fix signed/unsigned comparison warnings. * dlls/x11drv/winpos.c: Ulrich Czekalla Avoid holding x11drv lock while calling function that grabs gdi lock. Prevents potential deadly embrace. * dlls/winsock/socket.c: Ulrich Czekalla Handle EINTR when polling. * dlls/gdi/freetype.c: Huw Davies We don't currently support horizontal stretching of bitmap fonts, so we should ignore lfWidth. * dlls/ole32/storage32.c: Mike McCormack stat on memory storage should return a NULL name, not "". * dlls/wininet/http.c: Mike McCormack Fix the processing of the lpszHeaders field in HttpSendRequest. 2004-08-09 Alexandre Julliard * dlls/kernel/tests/comm.c, dlls/kernel/tests/mailslot.c, dlls/kernel/tests/process.c, dlls/kernel/tests/thread.c: Hans Leidekker Fix signed/unsigned comparison warnings. * dlls/winedos/module.c: Markus Amsler Fix EXEC function 01 (load but don't execute): initial ax has to be on child's stack. * dlls/winedos/int21.c: Markus Amsler Fixed drive mapping in GET ALLOCATION. * controls/button.c, dlls/user/tests/msg.c: Dmitry Timoshkov Fix button behaviour on WM_SETFOCUS/WM_KILLFOCUS with a test case. * dlls/gdi/freetype.c: Huw Davies GetCharABCWidths should fail for non-scalable fonts. * dlls/comctl32/toolbar.c: Filip Navara Fix TOOLBAR_DrawMasked to correctly use image list mask. * controls/listbox.c: Krishna Murthy Replaced LISTBOX_SetCaretIndex() with LISTBOX_MoveCaret() in LB_SELECTSTRING handler so that the caret moves to the index and item is highlighted. * dlls/shell32/shell32_main.c: Jon Griffiths Delete the about dialog font when the dialog is closed. * dlls/dsound/buffer.c, dlls/dsound/primary.c: Francois Gouget Remove the assert()s that checked that IDirectSoundBuffer_Lock() is given two distinct pointers. * programs/winemine/Es.rc: José Manuel Ferrer Ortiz Updated translation. * dlls/advapi32/security.c: Mike McCormack Implement A->W call for SetNamedSecurityInfo. * dlls/crypt32/cert.c, dlls/crypt32/crypt32.spec, include/winerror.h: Stefan Leichter Added stub for CertFindCertificateInStore. * dlls/winmm/tests/mixer.c: Huw D M Davies Fix compilation of winmm tests. * dlls/gdi/freetype.c: Huw Davies Try harder to match to a font if the family name is matches, but the style is doesn't. * dlls/comctl32/propsheet.c: Filip Navara Use correct dialog title for Wizard 97 and correctly display header bitmap for old-style Wizard 97. * dlls/advapi32/crypt.c: James Hawkins Make CryptEnumProvidersA pcbProvName parameter contain the correct size of the provider name on return. * dlls/dsound/tests/capture.c, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/user/tests/class.c, dlls/user/tests/dialog.c, dlls/user/tests/resource.c, dlls/user/tests/sysparams.c, dlls/user/tests/win.c: Hans Leidekker Fix signed/unsigned comparison warnings. * dlls/comctl32/propsheet.c: Eric Kohl Move watermark and header bitmap loading code from PROPSHEET_CreatePage into its own function PROPSHEET_LoadWizardBitmaps and call this function from property sheet's dialog procedure. * dlls/shell32/dialogs.c, dlls/shell32/systray.c: Mike McCormack Use Heap function in preference to malloc/free. * dlls/advapi32/security.c, include/winbase.h: Mike McCormack Fix definition of LookupPrivilegeNameW and declare it. * dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/netconnection.c, dlls/wininet/urlcache.c, dlls/wininet/utility.c: Mike McCormack Fix warnings generated with -Wsign-compare. * dlls/gdi/freetype.c: Huw Davies Break and default char are both relative to first char in the winfnt header. * dlls/richedit/charlist.c, dlls/richedit/charlist.h: Mike McCormack Remove dead code. * dlls/shlwapi/tests/path.c, dlls/winsock/tests/sock.c: Hans Leidekker Fix signed/unsigned comparison warnings. * dlls/advapi32/crypt.c: James Hawkins Fix alloc failure check in CryptEnumProvidersW. * programs/msiexec/.cvsignore, programs/msiexec/Makefile.in, programs/msiexec/version.rc: Mike McCormack Added a version resource. * dlls/x11drv/text.c: Lionel Ulmer Do not initialize variables before going into the Render short-cut. * dlls/dbghelp/symbol.c: Dmitry Timoshkov module->addr_sorttab may be NULL due to a hack in elf_new_wine_thunks. * dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c: Robert Reif Test different primary buffer formats while keeping the secondary buffer format constant. * dlls/shell32/debughlp.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h: Marcus Meissner Marked some functions in debughlp as static. Do not use REFIID as return, but IID*. * dlls/x11drv/x11drv_main.c: Ofir Petruska Default DesktopDoubleBuffered to true. * dlls/winmm/mciavi/mmoutput.c: Mike Hearn Only trace FOURCC handler when one is specified * dlls/advapi32/tests/.cvsignore, dlls/advapi32/tests/Makefile.in, dlls/advapi32/tests/security.c: Mike McCormack Added a test for ConvertSidToStringSidW. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Mike McCormack Implemented ConvertSidToStringSidA/W. * dlls/winmm/tests/.cvsignore, dlls/winmm/tests/Makefile.in, dlls/winmm/tests/mixer.c: Robert Reif Added some mixer tests. * programs/winemine/De.rc: Henning Gerhardt Translation update. * programs/winemine/Fr.rc: Vincent Béron Translation update. * programs/winemine/Pt.rc: Marcelo Duarte Translation update. * dlls/winmm/winmm.c: Robert Reif Change MIXER_GetDev to take pointer to returned address pointer and return one of 3 possible return values rather than an address or NULL. * include/mmsystem.h: Robert Reif Added missing define. * dlls/ntdll/version.c: Vincent Béron Update WinXP version to SP2. 2004-08-06 Alexandre Julliard * dlls/comctl32/Makefile.in, dlls/comctl32/commctrl.c, dlls/comctl32/syslink.c, include/commctrl.h: Thomas Weidenmüller Implemented syslink control. * programs/winemine/De.rc, programs/winemine/En.rc, programs/winemine/Es.rc, programs/winemine/Fr.rc, programs/winemine/It.rc, programs/winemine/Nl.rc, programs/winemine/Pl.rc, programs/winemine/Pt.rc, programs/winemine/Ru.rc, programs/winemine/Si.rc, programs/winemine/main.c, programs/winemine/resource.h, programs/winemine/rsrc.rc: Jacek Caban - Added Polish translation. - Moved const "Nobody" string to resources to make translation possible. * dlls/gdi/bitblt.c, dlls/gdi/gdi_private.h, dlls/x11drv/x11drv.h, dlls/x11drv/xrender.c: Huw Davies Actually pass the blend function on to the graphics driver. * dlls/shell32/iconcache.c: Jon Griffiths Don't leak cache imagelists on exit. * dlls/wininet/tests/http.c: Mike McCormack Add another test for InternetCrackUrlW. * dlls/wininet/internet.c: Mike McCormack Fix the dwUrlPathLength returned by InternetCrackUrl when lpszExtraInfo is null. * include/mmsystem.h: Robert Reif Added CAPS2 structures. * dlls/mlang/mlang.c, dlls/mlang/mlang.spec, include/mlang.h, include/mlang.idl: Dmitry Timoshkov Implement ConvertINetMultiByteToUnicode, ConvertINetUnicodeToMultiByte and IsConvertINetStringAvailable by moving common code around, add a stub for ConvertINetString. * include/pstore.h, include/pstore.idl: Mike McCormack Fix declaration of OpenItem. * dlls/gdi/freetype.c: Huw Davies Maintain a cache (currently of up to 10) of unused fonts. This speeds up apps that repeatedly recreate the same font. * dlls/advapi32/security.c: Mike McCormack Implement A->W call for GetNamedSecurityInfo. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c: Christian Costa Implemented IDirect3DDevice{2,3}::GetLightState. Fixed traces in execute buffers. Updated copyright info. * dlls/msi/action.c, dlls/msi/string.c, dlls/msi/tokenize.c: Mike McCormack Fix warnings found with -Wsign-compare. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.c: Robert Reif Adds debug name to remaining critical sections. 2004-08-04 Alexandre Julliard * configure, configure.ac, dlls/oleaut32/Makefile.in, dlls/oleaut32/olepicture.c, include/config.h.in: Huw Davies dlopen libungif and libjpeg. * dlls/ntdll/signal_i386.c, dlls/winedos/dosvm.c: Markus Amsler Pass debug exceptions to winedos. * configure, configure.ac, dlls/Makefile.in, dlls/mlang/.cvsignore, dlls/mlang/Makefile.in, dlls/mlang/mlang.c, dlls/mlang/mlang.spec, dlls/mlang/tests/.cvsignore, dlls/mlang/tests/Makefile.in, dlls/mlang/tests/mlang.c: Dmitry Timoshkov Mike McCormack Added an implementation of mlang.dll and test cases for it. * programs/progman/Es.rc, programs/progman/rsrc.rc, programs/uninstaller/rsrc.rc, programs/winecfg/Es.rc: José Manuel Ferrer Ortiz Updated some Spanish translations. * dlls/shell32/shlview.c: Filip Navara Destroy associated listview when IShellView is destroyed. * dlls/gdi/freetype.c: Huw Davies Convert gdi font list to use list.h. * programs/wcmd/De.rc: Henning Gerhardt Updated the German translation. * dlls/x11drv/xrender.c: Huw Davies Added top-down dib support to AlphaBlend. * dlls/uuid/uuid.c, include/mlang.h, include/mlang.idl: Dmitry Timoshkov Added CLSID and IIDs for mlang. * dlls/kernel/process.c, dlls/ntdll/ntdll.spec, dlls/ntdll/process.c, include/winternl.h: Mike McCormack Moved FlushInstructionCache to ntdll. * dlls/dsound/dsound.c, dlls/winmm/wineoss/audio.c: Robert Reif Add CRITICAL_SECTION debug info. 2004-08-02 Alexandre Julliard * dlls/winmm/tests/capture.c, dlls/winmm/tests/wave.c, dlls/winmm/tests/winmm_test.h: Francois Gouget Play back what has been recorded when in interactive mode so that the user can verify that the recording is correct. * dlls/ntdll/loader.c, dlls/ntdll/relay.c: Make relay and snooping work for LoadLibrary+GetProcAddress sequence (based on a patch by Dmitry Timoshkov). * dlls/ddraw/dsurface/dib.c: Lionel Ulmer - add S3TC support to BltFast (fixes NOLF) - proper surface unlocking in case of error in the Blt case * dlls/commdlg/fontdlg.c: James Hawkins Cleanup A->W cross calls. * include/commctrl.h, dlls/comctl32/progress.c: Thomas Weidenmueller Added support for PBS_MARQUEE style. * dlls/gdi/bitblt.c, dlls/gdi/driver.c, dlls/gdi/enhmfdrv/init.c, dlls/gdi/gdi_private.h, dlls/gdi/mfdrv/init.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv.spec, dlls/x11drv/xrender.c: Huw Davies Implement AlphaBlend using the XRENDER extension. * dlls/advapi32/crypt.c: Fixed some more freeing issues in CryptAcquireContextA. * dlls/shell32/dialogs.c: Jens Collin Use ShellExecute instead of CreateProcess in run dialog. * dlls/ole32/marshal.c, dlls/ole32/rpc.c: Robert Shearman - Add static to non-exported marshal functions. - Remove unused marshal functions. - Rename several RPC functions. * dlls/dsound/mixer.c: Gerald Pfeifer Avoid using round(), which is unportable. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c: Mike Hearn Disconnect proxies at COM shutdown to release the corresponding stubs. * dlls/ddraw/d3dviewport.c: Christian Costa Improved IDirect3DViewportImpl_3_2_1_TransformVertices stub. * dlls/dsound/dsound.c: Francois Gouget Check the return value of IDirectSoundImpl_Create() to detect errors. Always set *ppDS to NULL in case of error. * dlls/ddraw/d3dexecutebuffer.c: Christian Costa Fixed D3DOP_STATELIGHT opcode. Implemented _dump_D3DEXECUTEBUFFERDESC. * dlls/wineps/download.c: Marcus Meissner Check return value of get_bbox(). * programs/winedbg/gdbproxy.c: Marcus Meissner Replaced undefined C expression. * dlls/wintab32/context.c: Marcus Meissner Replaced incorrect C comparison construct. * dlls/comctl32/commctrl.c: Dmitry Timoshkov Create toolbar with a not zero default size, it allows applications which check toolbar size before adding buttons to it work. * dlls/comctl32/propsheet.c: Marcus Meissner Implemented PSM_INDEXTOHWND. * dlls/ddraw/d3d_private.h, dlls/ddraw/ddraw_private.h: Christian Costa Moved libtxc_dxt definitions into ddraw headers. * dlls/ddraw/ddraw/main.c: Lionel Ulmer - Fix compilation on boxes without OpenGL installed. - Print the warning message only once. 2004-07-30 Alexandre Julliard * configure, configure.ac, dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/main.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h, include/config.h.in: Christian Costa Added native and emulated S3TC support. * programs/wcmd/builtins.c: Fixed bug with % signs in help output (reported by Henning Gerhardt). * dlls/ntdll/version.c: Ivan Leo Puoti Fix dll version detection. * dlls/ole32/compobj.c: Mike Hearn Don't marshal IClassFactory into the local server pipe until we have connected, otherwise we might end up with stubs that are never used. * dlls/oleaut32/tmarshal.c: Mike Hearn Disconnect the server object from the stub on stub destruction. * dlls/ole32/rpc.c: Robert Shearman Mike Hearn Fix infinite loops by checking the return value of _invoke_onereq and bailing appropriately. * dlls/dsound/tests/.cvsignore, dlls/dsound/tests/Makefile.in, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/ds3d8.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound8.c, dlls/dsound/tests/dsound_test.h: Robert Reif Refactored common test code into subroutines. Added tests for correct Compact behavior. Added tests for all possible IDirectSound[8] creation modes with good and bad arguments. Split dsound.c and ds3d.c into separate files for IDirectSound and IDirectSound8 interfaces and added code to not execute IDirectSound8 tests when run with a dsound.dll of version 7 or earlier. We should now be able to run these tests on a Windows system with DX7 or earlier (untested). * dlls/dsound/dsound.c: Robert Reif Added error checking to IDirectSound_Compact. Fixed IDirectSoundImpl_Create to return DSERR_NODRIVER for a bad device IID. * programs/msiexec/msiexec.c: Vincent Béron Refactor some other code in msiexec. * dlls/imagehlp/imagehlp_main.c: Thomas Weidenmueller Implementation of TouchFileTimes(), thanks to Florian Stinglmayr for submitting a rough draft. * programs/msiexec/msiexec.c: Vincent Béron Refactor some of the string processing in msiexec. * dlls/richedit/richedit.c, include/richedit.h: Jacek Caban Added EM_SCROLLCARET definition in include/richedit.h and handling in WindowProc. * programs/winecfg/En.rc, programs/winecfg/Es.rc, programs/winecfg/It.rc, programs/winecfg/Pt.rc, programs/winecfg/Ru.rc: James Hawkins Under the Drives tab, remove the 'Windows Drive' section. * programs/wcmd/De.rc, programs/wcmd/wcmdrc.rc: Henning Gerhardt Added a German translation to wcmd. * dlls/kernel/locale.c, dlls/ntdll/ntdll.spec, dlls/ntdll/resource.c, include/winternl.h: Added support for getting and setting the UI language. * misc/registry.c: Troy Rollo Process sibling keys iteratively, thereby preventing exhaustion of the stack. * programs/winecfg/En.rc, programs/winecfg/Es.rc, programs/winecfg/It.rc, programs/winecfg/Pt.rc, programs/winecfg/Ru.rc, programs/winecfg/Si.rc, programs/winecfg/main.c, programs/winecfg/resource.h, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c: James Hawkins Rename X11 Driver tab of winecfg to Graphics. * programs/msiexec/msiexec.c: Vincent Béron Implement proper properties handling on the commandline in msiexec. * dlls/advapi32/crypt.c: Michael Jung Fixed a potential double call to CRYPT_Free on variable "temp". * configure, configure.ac, dlls/rsabase/Makefile.in, dlls/rsabase/tests/.cvsignore, dlls/rsabase/tests/Makefile.in, dlls/rsabase/tests/rsabase.c: Michael Jung Added a tiny unit test for rsabase.dll. * tools/Makefile.in, tools/wine.desktop: Christian Neumair Added support for the freedesktop.org MIME system. * controls/combo.c, dlls/d3d8/shader.c, dlls/d3d8/vshaderdeclaration.c, dlls/d3d9/vshaderdeclaration.c, dlls/gdi/dib.c, dlls/ole32/oleproxy.c: Jeroen Janssen Updated some MSDN links in the code. * dlls/ole32/marshal.c: Robert Shearman Emit fixme for known local wrong behaviour. * dlls/devenum/devenum.rc: Henning Gerhardt Added German resources for devenum. * dlls/msi/action.c: Aric Stewart Use correct calling convention for the custom action handlers. 2004-07-29 Alexandre Julliard * dlls/msi/string.c: Aric Stewart Make the msistring_makehash return something other than just 1 or 0. Also handle the case where the string or stored string is null. * dlls/shell32/shpolicy.c: Filip Navara Add REST_NONLEGACYSHELLMODE policy. * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/rpc.c: Mike Hearn Implement disconnect for proxies so that stubs are properly destroyed. * dlls/ntdll/version.c: Ivan Leo Puoti Change the NT service pack version from 6 to 6a, correct win2k3 name. * programs/winecfg/En.rc, programs/winecfg/Es.rc, programs/winecfg/It.rc, programs/winecfg/Pt.rc, programs/winecfg/Ru.rc, programs/winecfg/Si.rc: James Hawkins Removed the 'Windows Look:' option from winecfg. * programs/msiexec/msiexec.c: Vincent Béron In the absence of any other option to msiexec, treat the commandline as a package name to install. * dlls/ole32/moniker.c: Robert Shearman Document wrong behaviour for IRunningObjectTable. * dlls/ole32/marshal.c: Mike Hearn Fix ref counting in StdMarshalImpl_MarshalInterface for case where the stub already exists. * dlls/ole32/compobj.c: Robert Shearman Fix some inaccuracies in a comment and reformat. * dlls/ole32/rpc.c: Mike Hearn Robert Shearman Add a comment on the SendReceive behaviour. Improve two others. * dlls/devenum/devenum.rc, dlls/winmm/winmm_res.rc, programs/progman/Pt.rc, programs/winemine/rsrc.rc: Marcelo Duarte Localization of devenum to Portuguese and minor corrections. * documentation/ole.sgml: Mike Hearn Add DCOM documentation to developers guide. * dlls/msi/msi.c, dlls/msi/msi.spec, include/msi.h, programs/msiexec/msiexec.c: Vincent Béron Implement patching in msiexec. * include/wincrypt.h: Robert Shearman Include declarations needed for developing cryptographic service providers. * dlls/msi/cond.y: Troy Rollo Fix parsing of string literals. * programs/winecfg/En.rc, programs/winecfg/It.rc, programs/winecfg/Pt.rc, programs/winecfg/x11drvdlg.c: James Hawkins Remove the UseTakeFocus option from winecfg. * tools/c2man.pl: Robert Shearman Fix c2man for the case where function parameters are on more than one line. * dlls/ntdll/server.c: Robert Shearman Documentation for Wine client-side server interface. * tools/winebuild/import.c: Marcus Meissner Use "LD" instead of "ld" in winebuild to be able to use a different ld or ld options. 2004-07-24 Alexandre Julliard * dlls/advapi32/registry.c, dlls/advapi32/tests/registry.c: Don't crash on NULL data in RegSetValueExA (reported by Mike Hearn and Andreas Mohr). Removed a couple of unnecessary version checks. * libs/wine/mmap.c: Reserve the DOS area in mmap_init if it wasn't already done by the preloader. * programs/msiexec/msiexec.c: Vincent Béron Improve msiexec usage prompt. * dlls/advapi32/crypt.c, dlls/advapi32/tests/crypt.c: Michael Jung - Changed some FIXMEs to TRACEs, since they report on a problem in the way the client uses the dll rather than in the dll itself. - Cover the case, when the pszProvider parameter points to an empty string. - Fixed some imprecisions in error reporting. - Removed the "wine_todo's" arround the corresponding unit-tests. * controls/edit.c: Krishna Murthy Modified EDIT_WM_Char() to restrict keying in of letters other than numbers when ES_NUMBER style is set. 2004-07-23 Alexandre Julliard * dlls/msi/msi.c, include/msi.h, programs/msiexec/msiexec.c, programs/msiexec/msiexec.h: Vincent Béron Implement logging in msiexec. Correct MsiEnableLog{A,W} prototype. * include/msi.h, programs/msiexec/msiexec.c: Vincent Béron Implement the UI level change part of msiexec. * programs/msiexec/msiexec.c: Vincent Béron Add the correct default mode to the repair option. * programs/msiexec/msiexec.c: Vincent Béron Dump (via TRACEs) all the arguments of msiexec. * dlls/kernel/locale.c: Vincent Béron Remove last winedefault.reg reference in the code. * dlls/msvcrt/mbcs.c, dlls/ntdll/tests/rtl.c, dlls/ole32/bindctx.c, dlls/ole32/filemoniker.c, dlls/shell32/classes.c, dlls/shell32/shlfileop.c, programs/wcmd/En.rc, programs/wcmd/Ru.rc, programs/wcmd/Si.rc: Francois Gouget Assorted spelling fixes. * dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/audio.c, dlls/winmm/wineoss/audio.c: Francois Gouget Added bytes_to_mmtime() to convert the stream position from bytes to the requested MMTIME format. This function should be identical in all drivers. Remove the corresponding code from wodGetPosition() and widGetPosition() and use bytes_to_mmtime() instead. bytes_to_mmtime() uses no floating-point arithmetic to compute TIME_SMPTE and no longer uses round(). It should have no integer overflows either. * include/msi.h, programs/msiexec/msiexec.c, programs/msiexec/msiexec.h: Vincent Béron Implement the advertise part of msiexec. * dlls/wininet/internet.c: Robert Shearman Implement INTERNET_OPTION_CONNECTED_STATE. * dlls/shell32/shell32_Fr.rc, dlls/shell32/shell32_Pt.rc, programs/notepad/De.rc: Marcelo Duarte French translation and other adjustments. * dlls/dsound/buffer.c: Francois Gouget Small cleanup in IDirectSoundBufferImpl_SetPan(). * dlls/dsound/tests/ds3d.c: Francois Gouget Check that modifying the secondary buffer volume/pan does not change the primary buffer's volume and pan. * dlls/ole32/rpc.c: Robert Shearman Set RPC data representation. * dlls/ole32/compobj.c, dlls/ole32/marshal.c, dlls/ole32/rpc.c: Mike Hearn Pass -Embedding switch to EXE servers, more tracing. * dlls/kernel/resource16.c: Avoid lvalue casts (based on a patch by Marcus Meissner). * dlls/devenum/devenum.rc: Ivan Leo Puoti Added Italian strings. * dlls/dsound/dsound.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/primary.c: Francois Gouget Fix the volume and balance of primary buffers so it is the system's volume and balance, like on Windows. * dlls/winmm/tests/winmm_test.h: Francois Gouget Sort the winmm test formats by increasing sampling rate. * dlls/winmm/tests/capture.c: Robert Reif Test waveInGetDevCapsW. * dlls/winmm/tests/wave.c: Robert Reif Windows 95 doesn't support waveOutGetDevCapsW. 2004-07-22 Alexandre Julliard * dlls/msvcrt20/msvcrt20.spec: Removed some functions that don't exist in msvcrt20 (reported by Jan Van Buggenhout). * dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c: Robert Shearman - Remove unneeded STUBMGR_Start call. - Cleanup compobj_private.h. * dlls/quartz/avisplit.c: Robert Shearman ckidJUNK is a FOURCC not a TWOCC so rewrite the case statement appropriately. * programs/notepad/De.rc: Marcus Meissner Fixed up some small problems in the German string table. * dlls/avifil32/avifile.c, dlls/avifil32/editstream.c: Marcus Meissner Fixed 2 more casted lvalue issues. * programs/winetest/main.c: Ferenc Wagner - Remove the -u option, the URL is in a resource now. - Reset the WINETEST_* environmental variables to their defaults before forking the tests. - Add the -e option to optionally preserve the environment. * dlls/wininet/http.c: Fixed a couple of off-by-one errors. * dlls/dsound/tests/Makefile.in, dlls/dsound/tests/capture.c, dlls/dsound/tests/dsound.c: Robert Reif Downgrade tests to DX8 level so it can build on all windows platforms. * dlls/comctl32/comctl_De.rc, dlls/commdlg/cdlg_De.rc, dlls/shell32/shell32_De.rc, dlls/user/resources/user32_De.rc, programs/cmdlgtst/De.rc, programs/notepad/De.rc, programs/regedit/De.rc, programs/uninstaller/rsrc.rc: Henning Gerhardt Minor fixes and updates to the German resource files. * dlls/ole32/marshal.c: Mike Hearn Rob Shearman Implement StdMarshal::ReleaseMarshalData. * configure, configure.ac, libs/wine/Makefile.in: Emmanuel Maillard Set segment address of wine executable and libwine.dylib on Darwin. * dlls/shell32/shell32_It.rc, programs/winecfg/It.rc, programs/winecfg/winecfg.rc: Ivan Leo Puoti Added Italian resources. * dlls/x11drv/xrender.c: Huw Davies Draw underline and strikeout lines in the non-xrender cases too. * programs/winetest/Makefile.in: Ferenc Wagner Include the dsound tests. * dlls/ole32/rpc.c: Mike Hearn Unref stub after invoking on it. * dlls/avifil32/extrachunk.c: Gerald Pfeifer Remove uses of the cast-as-lvalue GCC extension which has been deprecated. * dlls/advapi32/crypt.c, dlls/advapi32/tests/crypt.c: Michael Jung - Fixed a problem with dwProvType values greater than 99 in CRYPT_GetTypeKeyName. - Fixed error reporting in the case of dwProvType == 0. - Removed "todo_wine" from the corresponding unit test. * dlls/gdi/freetype.c: Huw Davies Make tmUnderlined and tmStruckOut reflect the values used to create the font. * dlls/dsound/dsound.c: Robert Reif Dump DirectSound capabilities flags. * dlls/dsound/propset.c, dlls/dsound/tests/propset.c, dlls/dxguid/dxguid.c: Robert Reif Removes dsconf IIDs from dxguid.lib. Fixes propset files for missing IIDs. 2004-07-21 Alexandre Julliard * documentation/PACKAGING, documentation/configuring.sgml, documentation/implementation.sgml, documentation/multimedia.sgml, documentation/printing.sgml, documentation/registry.sgml: Ivan Leo Puoti Remove references to debugmsg and winedefault.reg. * dlls/mpr/mpr.rc, dlls/mpr/mpr_It.rc, dlls/shlwapi/shlwapi.rc, dlls/shlwapi/shlwapi_It.rc, programs/regedit/It.rc: Ivan Leo Puoti Added Italian resources. * dlls/comctl32/commctrl.c: Filip Navara Fix CreateMappedBitmap for palette-less bitmaps. * dlls/comctl32/propsheet.c: Filip Navara - Properly calculate caption length when converting multi-byte string to wide character one. - Wizard contents shouldn't be moved by the size of watermark bitmap. - Fix PSH_WIZARD97_[NEW/OLD] checks. - Blit the watermark even if PSH_USEHBMWATERMARK flag isn't set and blit only the part that fits into the dialog. * dlls/wininet/http.c: Robert Shearman HttpQueryInfo returns buffer length including null terminator on insufficient buffer length and buffer length excluding null terminator on success: - Fix HTTP_HttpQueryInfoW for these semantics. - Fix HttpQueryInfoA to correctly copy the null terminator in the call to WideCharToMultiByte. * dlls/commdlg/filedlg.c: Mike McCormack Unicode file dialogs send and receive unicode messages. * programs/regedit/De.rc, programs/regedit/Fr.rc, programs/regedit/It.rc: Marcelo Duarte Visual updates and translations for regedit. * dlls/advapi32/tests/.cvsignore, dlls/advapi32/tests/Makefile.in, dlls/advapi32/tests/crypt.c: Michael Jung Added some unit tests for the CryptAcquireContext API function. * dlls/ole32/compobj.c: Mike Hearn Fix misleading warning ole CoGetClassObject. * dlls/wininet/cookie.c: Robert Shearman Rewrite cookies to use shared list.h list code. * dlls/wininet/http.c: Mike McCormack Fix HTTP POST requests. * configure, configure.ac, dlls/gdi/Makefile.in, dlls/gdi/bitmap.c, dlls/gdi/brush.c, dlls/gdi/clipping.c, dlls/gdi/dc.c, dlls/gdi/dib.c, dlls/gdi/enhmetafile.c, dlls/gdi/font.c, dlls/gdi/gdi_private.h, dlls/gdi/gdiobj.c, dlls/gdi/metafile.c, dlls/gdi/palette.c, dlls/gdi/pen.c, dlls/gdi/region.c: Moved all files from the objects/ directory to dlls/gdi. Merged text.c into font.c and dcvalues.c into dc.c. * dlls/gdi/Makefile.in, dlls/gdi/painting.c: Moved LineDDA implementation to dlls/gdi/painting.c. * dlls/winmm/tests/wave.c: Francois Gouget Make sure we won't get an overflow in check_position() even if we play longer test tones. * dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/tests/dsound.c: Robert Reif Save enumerated GUIDs in a global array so they persist after enumeration. White space cleanup. Add tests for opening default devices. * dlls/shlwapi/string.c, dlls/shlwapi/tests/string.c: Fixed flags handling in StrIsIntlEqualA/W (spotted by James Hawkins). * dlls/winmm/tests/wave.c, dlls/winmm/winmm.c: Robert Reif Adds *GetDevCapsW bad pointer check. Adds waveOutGetDevCapsW test. * dlls/uuid/uuid.c, include/Makefile.in, include/activscp.h, include/activscp.idl, include/dispex.h, include/dispex.idl: Kevin Koltzau Add idl files required for scripting. * configure, configure.ac, include/config.h.in, loader/pthread.c: Emmanuel Maillard wine_pthread_init_thread: retrieve the stack info on Darwin. * programs/winecfg/En.rc, programs/winecfg/Pt.rc: Marcelo Duarte Visual updates to Winecfg. * dlls/winmm/winmm.c, dlls/winmm/winmm.spec, include/mmddk.h: Filip Navara - Implementation of mmTaskCreate. Based on patch by Eric Pouech. - Fallback implementation in waveOut[Un]PrepareHeader. * documentation/registry.sgml: Ivan Leo Puoti Fix wine.userreg name (spotted by Dave Washburn). 2004-07-20 Alexandre Julliard * include/win.h, windows/win.c, windows/winpos.c: Get rid of window region on the client side. * include/wine/server_protocol.h, server/protocol.def, server/region.c, server/request.h, server/trace.c, server/user.h, server/window.c, windows/winpos.c: Moved the WindowFromPoint functionality to the server so that we can properly take into account the window region. * dlls/kernel/format_msg.c: Rewrote load_messageA/W to deal properly with multibyte characters. * dlls/winmm/tests/wave.c: Francois Gouget Revert my previous incorrect check_position() patch: Windows returns exactly the number of samples/bytes played (no plus one there). Modify check_position() to work off the actual number of bytes as calculated by wave_generate_la(). This fixes problems due to rounding when duration is not a neat integer. Round up the frame field when checking TIME_SMPTE. * dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/text.c: Zach Gorman Add test to demonstrate DrawText() with DT_CALCRECT incorrect behavior in MM_HIENGLISH mapping mode. * programs/progman/De.rc, programs/progman/rsrc.rc: Henning Gerhardt Updated the German translation. * tools/wrc/parser.y: Fixed handling of LANGUAGE statement for message tables (found by Zhangrong Huang). * dlls/winmm/tests/wave.c: Robert Reif Notify when position format not supported. Test that position is 0 at start. * dlls/msi/action.c: Aric Stewart If the data table for a called action does not exist (for example CreateFolders wants a CreateFolder table to read the data from) do not fail, instead just do not perform the action. * tools/wmc/write.c: Zhangrong Huang Call wine_cp_wcstombs() to retrieve actual length of buffer before conversion. * dlls/wininet/http.c: Robert Shearman Fix string length return from HttpQueryInfoA. * dlls/kernel/tests/process.c: Mike Hearn Make STARTUPINFO.lpDesktop tests pass on NT. 2004-07-19 Alexandre Julliard * dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/utility.c: Mike McCormack Use pointers internally and refcount all objects. * dlls/msi/cond.y, dlls/msi/msipriv.h, dlls/msi/package.c: Hans Leidekker Set VersionMsi property. Accept a dot in a number value. * dlls/msvcrt/environ.c, dlls/msvcrt/tests/.cvsignore, dlls/msvcrt/tests/Makefile.in, dlls/msvcrt/tests/environ.c: Mike Hearn Add some test cases for _wputenv, fix deletion of non-existent environment variables, return -1 on error. * controls/menu.c: Zach Gorman Set the top_popup global variable to zero in MENU_ExitTracking(), fixing MENU_IsMenuActive() and therefore VK_F1 WM_HELP message generation. * dlls/winmm/winealsa/audio.c: Francois Gouget Check that we are still playing in wodUpdatePlayedTotal(). If not, then the value returned by snd_pcm_delay() is not usable so assume delay=0. This gets the winmm test to complete in interactive mode with winealsa. * dlls/dsound/tests/ds3d.c: Francois Gouget Make the listener/sound position update duration and TIME_SLICE independent. Set the sound and listener velocity and increase the sound source velocity so we may get some doppler effect. Added some traces so one can monitor the listener/sound positions with WINETEST_DEBUG=3. * dlls/winmm/tests/wave.c: Francois Gouget In interactive mode, check that the tone duration is within 10% of the expected value. * dlls/msi/msi.c, dlls/msi/msi.spec, include/msi.h, programs/msiexec/msiexec.c: Vincent Béron Implement the repair mechanism in msiexec, and stub it out in msi.dll. * dlls/wininet/http.c: Robert Shearman Honour INTERNET_FLAG_NO_COOKIES. * configure, configure.ac: Emmanuel Maillard Build wine-pthread on Darwin. * dlls/wininet/http.c, dlls/wininet/internet.h: Robert Shearman Fix HttpQueryInfo(HTTP_QUERY_RAW_HEADERS*) so that it returns the actual headers received, not just reconstituting them from processed data. * dlls/mpr/mpr.rc, dlls/mpr/mpr_Pt.rc, dlls/shell32/shell32_Pt.rc, dlls/shlwapi/shlwapi.rc, dlls/shlwapi/shlwapi_Pt.rc, programs/regedit/Pt.rc, programs/winecfg/Pt.rc: Marcelo Duarte Update localization for Portuguese language. * dlls/winmm/tests/wave.c: Francois Gouget Fix the check_position() test: on Windows waveOutGetPosition() returns the number of samples played plus one (also one extra sample for the byte count). * dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/audio.c, dlls/winmm/wineoss/audio.c: Francois Gouget Use round() instead of ceil() in wodGetPosition(TIME_SMPTE). Fixes the corresponding winmm conformance test. * dlls/dsound/dsound.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/tests/dsound.c: Robert Reif Do initialization to match windows behavior (with test). * programs/msiexec/msiexec.c: Vincent Béron Cleanup of the properties last space removal, since it can be used not only with Install. * configure, configure.ac, programs/Makefile.in, programs/msiexec/.cvsignore, programs/msiexec/Makefile.in, programs/msiexec/msiexec.c, programs/msiexec/msiexec.h: Vincent Béron First draft for a msiexec.exe replacement. * tools/wineinstall: Paul Vriens Create ~/.wine if not present during wineinstall. * dlls/commdlg/printdlg.c: James Hawkins Better fix for collate icon behavior. * dlls/msi/action.c, dlls/msi/msiquery.c, dlls/msi/sql.y: Mike McCormack Fix the return code of MsiDatabaseOpenView. * dlls/dsound/tests/dsound.c: Robert Reif Fixes the right bugs and keeps intent of test. Adds more reference count checks. * programs/winemine/De.rc, programs/winemine/rsrc.rc: Henning Gerhardt Added a German translation for WineMine. * programs/regedit/De.rc: Michael Jung Added some German translations. * include/winnt.h: Emmanuel Maillard Remove implementation of NtCurrentTeb for ppc host. * dlls/shlwapi/shlwapi.spec: Stefan Leichter Forward shlwapi.459/460 (SHExpandEnvironmentStringsA/W) to kernel32.ExpandEnvironmentStringsA/W. * dlls/wininet/cookie.c: Robert Shearman Fix size return from InternetGetCookieW. * dlls/comctl32/toolbar.c: Filip Navara Use system metrics values in TOOLBAR_DrawPattern instead of hardcoded values. 2004-07-16 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20040716. ---------------------------------------------------------------- 2004-07-16 Alexandre Julliard * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Implemented GetUIVersion (based on a patch by Stefan Leichter). * dlls/dsound/tests/dsound.c: Francois Gouget Don't try to create a IDirectSound3DBuffer, partly to keep this test simple and partly because it's going to fail since we did not request DSBCAPS_CTRL3D. Fixes a crash on Windows. Don't request unneeded caps. * dlls/kernel/locale.c: Shachar Shemesh System default locale in Windows determines the ANSI encoding (LC_CTYPE on Unix). * dlls/commdlg/printdlg.c: James Hawkins Fixed collate icon behavior. * dlls/dsound/tests/dsound.c: Francois Gouget Get and print the DirectSound primary buffer volume. * dlls/dsound/tests/ds3d.c, dlls/dsound/tests/dsound_test.h: Francois Gouget Keep track of how much has been played and get rid of last_pos. This fixes a bug where buffer_service() would not detect that everything had been played. Check that the actual sound duration was within 10% of the expected value. Make BUFFER_LEN and TIME_SLICE independent, make sure TIME_SLICE does not divide BUFFER_LEN to spice things up a bit. * dlls/user/tests/dialog.c: Krishna Murthy Added regression test for WM_NEXTDLGCTL and default button ID behavior. * misc/registry.c: Kevin Koltzau Prevent garbage being passed for windows directory. * dlls/dsound/tests/dsound.c: Francois Gouget Call IDirectSound::Initialize() as per MSDN before using the DirectSound object. Fixes a crash on Windows. * dlls/dsound/tests/ds3d.c: Francois Gouget On Windows GetPan() may not return the value that was just set with SetPan(). * dlls/mshtml/main.c, dlls/mshtml/mshtml.spec: Stefan Leichter Added stubs for DllInstall and DllRegisterServer. * dlls/comctl32/toolbar.c: Filip Navara Make the pattern drawing in TOOLBAR_DrawPattern look better. * dlls/msrle32/msrle32.c: Marcus Meissner Fixed lvalue casts for new compiler. * dlls/advapi32/crypt.c: Fixed some duplicate CRYPT_Free calls (spotted by Michael Jung). * include/wincrypt.h: Michael Jung Added PROV_ENUMALGS[_EX] structs and typedefs. Added some defines. * dlls/msi/action.c, dlls/wininet/http.c, include/mmsystem.h: Francois Gouget Assorted spelling fixes. * tools/make_ctests, tools/winapi/msvcmaker: Francois Gouget Fix msvcmaker so the generated testlist.c files include stdarg.h. Add comments pointing out the relation between msvcmaker and make_ctests. * dlls/commdlg/printdlg.c: James Hawkins Check for empty PrinterName in PRINTDLG_WMCommandW. * dlls/shell32/shlview.c: Martin Fuchs Distinguish between Open and Explore commands. Execute items by default. * dlls/kernel/process.c, include/wine/server_protocol.h, server/protocol.def, server/trace.c: Pass the environment for a child process through the server instead of relying on the Unix environment. * tools/wine.inf: Specify the PATH variable in uppercase to avoid getting two flavors of PATH when converting the Unix environment. * dlls/msvcrt/process.c: Implemented _spawnle and _spawnlpe. * tools/winewrapper: Invoke wineprefixcreate if the .wine directory does not exist. * dlls/kernel/profile.c: Support for large profile values (based on a patch by Robert Shearman). Fixed PROFILE_FlushFile to correctly truncate the file before saving it. * programs/winedbg/winedbg.c: Pierre d'Herbemont Define the backend_cpu regarding the host processor. * dlls/shlwapi/ordinal.c, dlls/shlwapi/tests/ordinal.c: Stefan Leichter Removed the crosscalls (unicode to ascii) from GetAcceptLanguagesW. Removed todo_wine from GetAcceptLanguagesA tests. * dlls/comctl32/tab.c: Jon Griffiths Don't crash on NULL tab text. 2004-07-15 Alexandre Julliard * programs/wineconsole/curses.c: Marcus Meissner Fixed one lvalue casted assignment for the new compiler. * dlls/shlwapi/msgbox.c: Marcus Meissner Do not assign to casted values. * dlls/ole32/compobj.c, dlls/ole32/rpc.c: Mike McCormack Fix a few serious race conditions in the OLE object pipe server. * dlls/kernel/process.c, dlls/ntdll/loader.c, dlls/ntdll/loadorder.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h: Set the system directory in ntdll as soon as we have determined it. * dlls/win32s/w32skernel.c: Don't get system directory from the environment, use GetSystemDirectory instead. * server/named_pipe.c: Mike McCormack Fix a double free in the named pipe code. * dlls/advapi32/crypt.c: Michael Jung Use RegQueryValueExA instead of RegQueryValueA in CryptEnumProviderTypes. * tools/winebuild/spec32.c: Pierre d'Herbemont Darwin/Mac OS X Weak import workaround. * tools/winebuild/import.c: Pierre d'Herbemont - Be more accurate on Darwin stack size. - Delay import fix on PowerPC hosts. * dlls/wininet/http.c: Mike McCormack Robert Shearman - Change the way that the response headers are reconstructed to reduce the chance of memory being incorrectly allocated. - Return the correct error when a header is not found. - remove all the response headers before receiving new ones so that we don't merge headers from two responses. - Add extra standard fields. - Split the status line into http version, status code and status text and store those in the response data, without using use a fake field. 2004-07-14 Alexandre Julliard * dlls/commdlg/filedlg.c: Krishna Murthy Add the selected extension from file type filter if file name does not contain the file extension. * dlls/user/dde/client.c: Eric Frias Fixed memory allocation bug. * dlls/winmm/wineoss/audio.c: Francois Gouget An SNDCTL_DSP_SETDUPLEX failure should be a WARN(), not an ERR(), since the OSS specifications say we have to call it before knowing if the sound card is full-duplex capable. * include/winreg.h: Michael Jung Added RegOpenCurrentUser prototype. * dlls/ntdll/version.c: Aric Stewart Report win2k service pack 4 instead of 3. * dlls/msi/package.c: Aric Stewart Implement the functionality that allows one to call MsiOpenPackage with #nnn where nnn is a string representing the handle to an open database. * tools/wine.inf: Dmitry Timoshkov Uncomment implemented in Wine msvidc32 (MSVC/CRAM) codec. * dlls/winmm/mciavi/mciavi.c: Dmitry Timoshkov Make it possible to open read-only AVI files for a playback. * dlls/msi/version.rc: Aric Stewart Update the MSI version to be the same as on win2k. * dlls/gdi/freetype.c: Huw Davies Fix font replacements to work with bitmap fonts. Enumerate System, Terminal, FixedSys in that order. * tools/winebuild/import.c: Pierre d'Herbemont Delayed import fix for Darwin and PowerPC Host. * dlls/user/tests/class.c, dlls/user/tests/resource.rc: Sami Aario Added tests for registering a dialog box created by using the CLASS directive in a resource file, then creating the dialog using CreateDialogParam. * dlls/user/controls.h, dlls/user/dialog16.c, windows/defdlg.c, windows/dialog.c: Allocate the dialog info in DIALOG_CreateIndirect if this wasn't already done by the dialog procedure. * dlls/dbghelp/stabs.c: Jon Griffiths Prevent the debug buffer from overflowing on long stabs. * dlls/dbghelp/stabs.c: Fixed handling of includes stack. * dlls/commdlg/Makefile.in, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg16.c, dlls/commdlg/filedlg31.c, dlls/commdlg/filedlg31.h: Ge van Geldorp Fix 16/32 bit separation. 2004-07-13 Alexandre Julliard * dlls/oledlg/oledlg_De.rc, dlls/serialui/De.rc, dlls/winmm/winmm_De.rc, dlls/winmm/winmm_res.rc, programs/cmdlgtst/De.rc, programs/cmdlgtst/cmdlgr.rc, programs/start/De.rc, programs/start/rsrc.rc, programs/view/De.rc, programs/view/viewrc.rc: Henning Gerhardt More German translations. * dlls/dsound/buffer.c, dlls/dsound/dsound.c, dlls/dsound/dsound_private.h, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c, dlls/dsound/tests/dsound.c: Robert Reif Remove DirectSound reference counts by buffers and add Destroy functions to buffer components and DirectSound to allow proper destruction even with outstanding references. Remove trailing white space. Add tests for proper release even with active buffers. * dlls/wininet/http.c: Robert Shearman Accept headers without \r\n ending in HttpAddRequestHeaders. * dlls/advapi32/crypt.c, dlls/advapi32/crypt.h: Michael Jung Reference counting for CRYPTPROV objects. Implemented CryptContextAddRef. * dlls/kernel/volume.c: Rein Klazes In GetVolumeInformationW handle the case when there are no permissions accessing the device the same way as when no device is found. * dlls/advapi32/registry.c: James Hawkins Added and cleaned API docs. * dlls/gdi/driver.c, dlls/user/user_main.c: Allow specifying multiple graphics drivers and use the first one that loads successfully. * dlls/x11drv/bitmap.c, dlls/x11drv/init.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c: Make x11drv fail to load when it can't open the display, instead of killing the whole process. * tools/winedump/ne.c: Added support for dumping exported entry points in NE modules. * dlls/Makefile.in, dlls/twain/.cvsignore, dlls/twain/Makefile.in, dlls/twain/twain.spec, dlls/twain/twain16_main.c: Mike Hearn Add a 16 bit pair DLL for TWAIN. 2004-07-12 Alexandre Julliard * controls/combo.c, windows/nonclient.c: Marcus Meissner Fixed switch (unsigned int) { case -1 / -2: } problems. * dlls/msvcrt/tests/headers.c: Pierre d'Herbemont Don't test i386 types on non i386. * dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec: Mike McCormack Added a few stub implementations. * dlls/comctl32/propsheet.c: Robert Shearman Implemented PSM_HWNDTOINDEX. * dlls/advapi32/advapi.c, dlls/advapi32/crypt.c, dlls/advapi32/eventlog.c: James Hawkins Added some more API docs. * dlls/msi/cond.y: Aric Stewart Properly handle quoted number literals in MSI condition statements. * dlls/comctl32/propsheet.c: Robert Shearman Add stubs for some new property sheet messages. * dlls/user/tests/resource.c: Mike McCormack Add a regression test for accelerators. * dlls/user/resource.c: Mike McCormack - Windows always strips the high bit (0x80) of the fVirt member in the accelerator structure. - If the FVIRTKEY bit of fVirt is set, the value of the key field is limited to the range of one byte. - Remove annoying fixmes about accelerator table checking. Windows appears to do no more checking than the above. * dlls/msrle32/msrle_Ja.rc, dlls/msrle32/rsrc.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_Ja.rc, programs/regedit/Ja.rc, programs/wcmd/Ja.rc, programs/wcmd/wcmdrc.rc: Hajime Segawa Added Japanese translation for msrle32, wininet, wcmd. Fixed untranslated messages of regedit. * dlls/shell32/shell32_En.rc, dlls/shell32/shell32_Es.rc, dlls/shell32/shell32_Fr.rc, dlls/shell32/shell32_It.rc, dlls/shell32/shell32_Pt.rc, dlls/shell32/shell32_Uk.rc, dlls/shell32/shres.rc: José Manuel Ferrer Ortiz Updated the Spanish shell32 translation and made some corrections to other language files. * include/prsht.h: Robert Shearman Add definitions for v5.80 messages. * dlls/msi/action.c: Hans Leidekker Fix command line parsing. * dlls/user/resource.c: Mike McCormack - CopyAcceleratorTable can cause a buffer overflow because it uses an incorrect comparison between the number of accelerator entries available and the number of accelerator entries in the output buffer. - My tests show that CopyAcceleratorTable always strips the high bit of the fVirt member of the accel struct. - Calling DestroyAcceleratorTable with a NULL accelerator should return FALSE. * dlls/mpr/mpr.rc, dlls/mpr/mpr_De.rc, dlls/msacm/msacm.rc, dlls/msacm/msacm_De.rc, dlls/oleaut32/oleaut32_De.rc, dlls/oledlg/oledlg_De.rc, dlls/oledlg/rsrc.rc, dlls/serialui/De.rc, dlls/serialui/serialui_rc.rc, dlls/setupapi/De.rc, dlls/setupapi/setupapi.rc, dlls/shlwapi/shlwapi.rc, dlls/shlwapi/shlwapi_De.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_De.rc: Henning Gerhardt Translated some English resource files into German. * dlls/dmloader/loaderstream.c: Marcus Meissner Fixed (LPDIRECTMUSICLOADER8) cast. * objects/region.c: Robert Shearman Fix a few region debug messages. * dlls/msi/msi.c: Mike McCormack Minor spelling fix. * dlls/user/exticon.c: Mike McCormack Stop PrivateExtractIcons from crashing given an invalid icon index. * dlls/winedos/int21.c: Marcus Meissner Remove lvalue casts that are no longer supported. * dlls/msi/table.c: Mike McCormack Remove a piece of dead code causing a warning. * dlls/secur32/secur32.c, dlls/secur32/secur32.spec: Mike McCormack Add stub implementation for GetComputerObjectName. * include/Makefile.in, include/secext.h: Mike McCormack Add secext.h. * dlls/shell32/control.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c: Marcus Meissner Fixed double applet = applet = assignment. Removed sic_hdpa only used in 1 C file as static var. Make VT_Shell_IMalloc32 and related variables static. * dlls/ole32/regsvr.c: Marcus Meissner IID_IObjectWithSite is already in libuuid, no need to declare here. * dlls/ole32/ifs.c: Marcus Meissner IMalloc vtables are static. * dlls/dplayx/dplay.c, dlls/dplayx/dplay_global.h: Marcus Meissner Move definitions of static vtables from header to dplay.c. * misc/registry.c: Robert Reif Add HKEY_DYN_DATA\Config Manager\Enum to registry. * programs/winedbg/stack.c: Eric Pouech Fixed regression on 'bt ' command. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Better handle the frame-buffer locking case. * dlls/psapi/tests/module.c: Stefan Leichter Fix tests of GetModuleFileNameA on 98/XP. * dlls/x11drv/dib_convert.c, dlls/x11drv/dib_src_swap.c: Marcus Meissner Replaced lvalue casts / postincrement mixes. * dlls/dsound/tests/Makefile.in, dlls/dsound/tests/dsound.c: Robert Reif - Create IDirectSound and IDirectSound8 objects using the CoCreateInstance COM function to test the Class Factory interfaces. - Create IDirectSound and IDirectSound8 objects using CreateDirectSound and CreateDirectSound8 using a NULL device GUID. 2004-07-09 Alexandre Julliard * dlls/msi/action.c, dlls/msi/cond.y, dlls/msi/msi.c, dlls/msi/package.c: Mike McCormack Implement MsiVerifyPackage, cosmetic fixes. * dlls/shell32/dialogs.c, dlls/shell32/shell32.spec, dlls/shell32/shell32_En.rc, dlls/shell32/shresdef.h, dlls/shell32/undocshell.h, include/shlobj.h: Martin Fuchs Ge van Geldorp Implement MessageBox-based RestartDialog() and RestartDialogEx(), use string resources for ExitWindowsDialog() to allow internationalization. * dlls/msi/action.c, dlls/msi/cond.y, dlls/msi/create.c, dlls/msi/distinct.c, dlls/msi/handle.c, dlls/msi/insert.c, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/order.c, dlls/msi/package.c, dlls/msi/record.c, dlls/msi/select.c, dlls/msi/suminfo.c, dlls/msi/table.c, dlls/msi/update.c, dlls/msi/where.c: Mike McCormack Aric Stewart Refcount all objects, and use pointers internally. * dlls/kernel/file.c: Rob Shearman Add TRACE to ReadFileEx. * dlls/msi/action.c, dlls/msi/msi.c, dlls/msi/msipriv.h: Aric Stewart Mike McCormack Write the encoded GUIDs for product registration in the Installer registry. * dlls/msi/action.c, dlls/msi/msi.c, dlls/msi/msi.spec, dlls/msi/msiquery.c: Aric Stewart Cleanup of actions. * dlls/msi/msi.spec, dlls/msi/msiquery.c, dlls/msi/record.c: Aric Stewart Add a stub for MsiModifyView, fix a couple of bugs. * dlls/msi/action.c: Mike McCormack Cosmetic fixes. * dlls/msi/action.c, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/package.c: Aric Stewart Implement logging. * dlls/x11drv/x11drv_main.c: Mike Hearn Output X11 protocol errors before breaking into debugger. * dlls/dsound/dsound.c: Robert Reif Better error checking and recovery. * controls/scroll.c, dlls/user/tests/msg.c: Dmitry Timoshkov Add a test case for scroll APIs, fix a few bugs spotted by it. 2004-07-08 Alexandre Julliard * programs/notepad/main.c: Dmitry Timoshkov Add WS_HSCROLL style to the notepad's edit control. * include/wingdi.h, objects/gdiobj.c: Andreas Mohr Several GDI object handling functions are defined to take a HGDIOBJ instead of a HANDLE. * dlls/dsound/dsound.c, dlls/ole32/compobj.c, include/shlwapi.h: Francois Gouget Assorted spelling fixes. * controls/scroll.c: Troy Rollo - Setting the scroll range with the "bRedraw" flag set to true on a non-control scrollbar resulted in the scrollbar being drawn over the whole window area. - If you don't set WS_HSCROLL/WS_VSCROLL on window creation, setting a scroll range does nothing. Setting the scroll range to a non-zero range should cause scroll bars to be displayed. Setting the range to a zero range should cause the relevant scroll bar to be hidden. * dlls/x11drv/clipboard.c: Ulrich Czekalla If the selection owner doesn't understand TARGETS, try retrieving XA_STRING. * dlls/x11drv/event.c: Ulrich Czekalla Handle case when data type is not registered. * programs/regedit/childwnd.c, programs/regedit/regproc.c, programs/regedit/treeview.c: Robert Reif Added HKEY_DYN_DATA support. 2004-07-07 Alexandre Julliard * dlls/kernel/kernel32.spec, dlls/kernel/thread.c: Roger Olson Added stub for CreateRemoteThread(). * include/dsound.h: Robert Reif Number of arguments to IDirectSoundBuffer8_GetObjectInPath was wrong. * dlls/advapi32/security.c, include/winnt.h: Ge van Geldorp Add missing privilege names. * dlls/kernel/locale.c: Dmitry Timoshkov Initialize also ACP, OEMCP and MACCP in registry on locale change. * dlls/ntdll/directory.c: Emmanuel Maillard Added Darwin support in get_default_drive_device. 2004-07-06 Alexandre Julliard * dlls/x11drv/winpos.c: Fixed X11DRV_GetDC for the desktop window. Use the client window as drawable when possible. * server/window.c: get_visible_region: do not clip out siblings of the top-level window. * dlls/kernel/tests/file.c, dlls/kernel/vxd.c: Mike Hearn Correct error code returned by CreateFile when given a non-existent VxD on NT, add a test case. * dlls/oleaut32/typelib.c: Mike McCormack Refcounting fixes. * dlls/ole32/compobj.c: Mike Hearn Add some explanations to compobj.c, implement flushing message queue on shutdown. * dlls/comctl32/listview.c: Mike McCormack Create a tooltip on demand in the Listview. * documentation/configuring.sgml: Richard Stonehouse Updated for the new 'dosdevices' directory system. * programs/winetest/main.c, programs/winetest/send.c: Ferenc Wagner Suppress some more error message boxes. Truncate report file if too big. * dlls/mapi32/tests/prop.c: Ferenc Wagner Avoid segfaults on uninitialized data. * include/commctrl.h: Jon Griffiths Fix a typo in the TabCtrl_SetItem macro. * configure, configure.ac, dlls/Makefile.in, dlls/atl/.cvsignore, dlls/atl/Makefile.in, dlls/atl/atl.spec, dlls/atl/atl_main.c, dlls/atl/atlbase.h: Aric Stewart First implementation of the Advanced Template Library, with just a few functions implemented. * dlls/ntdll/nt.c: Aric Stewart Report NOT_IMPLEMENTED for not implemented token classes. * server/file.c: Mike McCormack Translate ENODEV and ENXIO error codes to NT status codes. * include/dsound.h: Robert Reif Added some missing **LPLP typedefs. * configure, configure.ac: Emmanuel Maillard Check for -lresolv for Darwin. * include/Makefile.in, include/mlang.h, include/mlang.idl: Mike McCormack Add Multi Language support IDL and headers. * dlls/dsound/buffer.c, dlls/dsound/primary.c, include/dsound.h: Robert Reif Fix IDirectSoundBuffer8_Initialize function prototype and use. * tools/wrc/newstruc.c: Marcus Meissner Generic SKIP_TAG to skip a number of bytes, use it where applicable. * windows/winproc.c: Marcus Meissner Replace lvalue casts of post increments for newer compiler. * dlls/dsound/dsound_main.c: Robert Reif Create DirectSound or DirectSound8 depending on riid. * dlls/msi/table.c: Mike McCormack Allow binary fields with stream names longer than table names. * dlls/msi/action.c, dlls/msi/package.c: Aric Stewart Implemented CreateShortcut and PublishProduct. * dlls/msi/action.c, dlls/msi/create.c, dlls/msi/distinct.c, dlls/msi/insert.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/order.c, dlls/msi/select.c, dlls/msi/table.c, dlls/msi/update.c, dlls/msi/where.c: Mike McCormack Fetch binary streams at the table level. * dlls/msi/package.c: Aric Stewart MsiGetProperty should return empty strings on error. * dlls/msi/action.c: Aric Stewart Implemented registering Classes and ProgID. * dlls/msi/action.c: Aric Stewart Implemented RegisterTypeLibraries. * dlls/msi/action.c, dlls/msi/cond.y, dlls/msi/msipriv.h, dlls/msi/package.c: Aric Stewart Implemented ProcessComponents. * dlls/msi/action.c, dlls/msi/package.c: Aric Stewart Send progress and action messages. * dlls/msi/action.c: Aric Stewart Allow ADDLOCAL to override INSTALLLEVEL, implement LaunchConditions. * loader/preloader.c: Avoid using strlen. * dlls/msvcrt/tests/headers.c: Added tests for div_t and ldiv_t. * dlls/msvcrt/msvcrt.h: Pierre d'Herbemont Define MSVCRT_div_t and MSVCRT_ldiv_t. * include/aclapi.h: Mike McCormack Add trustee functions. * dlls/dsound/dsound.c, dlls/winmm/wineoss/audio.c: Robert Reif Get certification for VerifyCertification from driver to match GetCaps. Change OSS driver to report certified. Change OSS driver to show message name rather than number in traces. * dlls/ddraw/dsurface/dib.c: Marcus Meissner COPY_COLORKEY_FX: Do not use lvalue casts. * dlls/msi/action.c: Aric Stewart Fix bugs in resolve_folder. 2004-07-04 Alexandre Julliard * dlls/msi/action.c, dlls/msi/package.c: Aric Stewart Activate features and components based on their various conditions. * dlls/msi/Makefile.in, dlls/msi/action.c, dlls/msi/cond.y, dlls/msi/msipriv.h, dlls/msi/package.c: Aric Stewart Beginnings of costing and organizing into components and features. * dlls/msi/action.c: Aric Stewart Fix command line processing and folder paths. * dlls/msi/action.c, dlls/msi/msipriv.h, dlls/msi/package.c: Aric Stewart Fix MsiGetTargetPath, MsiGetSourcePath and MsiSetTargetPath. * dlls/msi/action.c, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/package.c: Aric Stewart Use the newly implemented UPDATE code to set properties. * dlls/msi/Makefile.in, dlls/msi/query.h, dlls/msi/sql.y, dlls/msi/update.c, dlls/msi/where.c: Mike McCormack Implement the UPDATE query. * dlls/msi/query.h, dlls/msi/sql.y, dlls/msi/where.c: Mike McCormack Create the WHERE part of a query in one function call. * dlls/msi/action.c, dlls/msi/msi.c, dlls/msi/msi.spec, dlls/msi/msipriv.h, dlls/msi/package.c: Aric Stewart Implement SetTargetPath, start the basics for tracking UI level. * programs/winedbg/info.c, programs/winedbg/symbol.c, programs/winedbg/winedbg.c: Eric Pouech - enhanced 'info share' output - made use of new dbghelp pure ELF symbol lookup * dlls/msi/action.c, dlls/msi/package.c: Mike McCormack Cosmetic fixes. * dlls/wininet/http.c: Mike McCormack Build http requests in a more consistent way. Fix the size of the request buffer. Don't try converting the optional information from W to A. * dlls/dmime/performance.c: Fixed a warning. * dlls/dsound/Makefile.in, dlls/dsound/dsound.c, dlls/dsound/dsound.spec, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/tests/dsound.c, include/dsound.h: Robert Reif Separated DirectSoundCreate8 into two functions and added a IDirectSound implementation. Added proper COM behavior for QueryInterface for IDirectSound and IDirectSound8. Fixed a bug in the dsound.h header file for IDirectSound8 CreateSoundBuffer and DuplicateSoundBuffer. Added new tests for proper COM behavior and enables some commented out code for tests that work on windows. Added new tests for IDirectSound8. * dlls/avifil32/api.c, dlls/avifil32/avifile.c, dlls/avifil32/wavfile.c: Mike McCormack Fix string conversion bugs. * dlls/shell32/autocomplete.c: Mike McCormack Fix a buffer overrun in autocomplete. * dlls/dbghelp/dbghelp.c, dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/elf_module.c, dlls/dbghelp/module.c, dlls/dbghelp/stabs.c, dlls/dbghelp/symbol.c: Eric Pouech - added support for GCC static local variables - fixed some bugs in SYMOPT_NO_PUBLICS and SYMOPT_PUBLICS_ONLY handling - in stabs parsing, just drop any debug info for a module if stabs parsing fails (instead of assert()'ing) - symbol lookup now allows lookup in pure ELF modules - fixed some bugs in symbol enumeration * dlls/oleaut32/safearray.c, dlls/oleaut32/varformat.c, dlls/oleaut32/variant.c, dlls/oleaut32/vartype.c: Mike Hearn Move variant code to its own debug channel. * dlls/mpr/mpr.rc, dlls/mpr/mpr_Es.rc: José Manuel Ferrer Ortiz Added Spanish translation. * dlls/kernel/locale.c: Vitaly Lipatov Return proper codepage value in GetCPInfoEx. * dlls/msi/action.c: Aric Stewart Start implementing Feature and Component level install control. * dlls/wininet/internet.c: Mike McCormack Allocate the correct size string in InternetCrackUrl. * dlls/shlwapi/assoc.c, dlls/shlwapi/reg.c, dlls/shlwapi/url.c: Mike McCormack Fix memory allocation problems. 2004-06-30 Alexandre Julliard * dlls/msi/record.c: Mike McCormack Fix retrieval of nul records as strings. * dlls/msi/insert.c: Mike McCormack Fix the INSERT query when inserting integers into a table. * dlls/msi/Makefile.in, dlls/msi/action.c, dlls/msi/cond.y, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/package.c: Aric Stewart Start implementing MsiOpenPackage. * dlls/msi/msi.c, dlls/msi/record.c, dlls/msi/string.c: Mike McCormack Set the storage file's GUID so native MSI recognizes it. Fix crash when inserting multiple columns that are invalid. * dlls/msi/create.c, dlls/msi/sql.y: Mike McCormack Hack field types, fix ref counting. * dlls/msi/record.c: Mike McCormack Fix buffer overflow. * dlls/msi/msipriv.h, dlls/msi/sql.y, dlls/msi/string.c, dlls/msi/table.c: Mike McCormack Fix the UPDATE query. * dlls/msi/create.c: Aric Stewart Fix field numbering so the CREATE query works for multiple columns. * dlls/msi/insert.c: Aric Stewart Fix the INSERT query. * dlls/msi/insert.c, dlls/msi/msipriv.h, dlls/msi/query.h, dlls/msi/record.c, dlls/msi/select.c, dlls/msi/sql.y, dlls/msi/string.c, dlls/msi/table.c, dlls/msi/tokenize.c, dlls/msi/where.c: Mike McCormack Make the SQL insert query work. * dlls/hhctrl.ocx/hhctrl.c, dlls/imm32/imm.c, dlls/mpr/wnet.c: Uwe Bonnes HeapAlloc for WSTR must allocate len* sizeof(WCHARS). * dlls/msi/action.c: Steven Edwards Fixed Extract prototype. * dlls/user/tests/msg.c: Dmitry Timoshkov Add more MDI message tests. * windows/mdi.c: Dmitry Timoshkov Do not do SetWindowPos(SWP_FRAMECHANGED) in the DefFrameProc(WM_SETTEXT) handler, DefWindowProc already takes care of it. * dlls/commdlg/cdlg_Ca.rc, dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_Fr.rc, dlls/commdlg/cdlg_Ru.rc, dlls/commdlg/cdlg_Uk.rc: Dmitry Timoshkov Fix control coordinates in German and French versions of open file dialog. Remove duplicate control ids in Catalan, Russian and Ukrainian dialogs. * dlls/odbc32/proxyodbc.c: Bill Medland Set RTLD_GLOBAL when loading the odbc driver manager so that when it loads its own driver that driver can call back into the manager (as the Oracle Beta driver does, for example). * dlls/ole32/marshal.c: Aric Stewart Return an error in CoMarshalInterface if the IUnknown pointer is NULL and don't crash. * dlls/shell32/shlfsbind.c, include/shlobj.h: Ge van Geldorp Fix IFileSystemBindData method order. * dlls/winmm/driver.c, dlls/winmm/mci.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Dimitrie O. Paun Lookup driver information in registry and system.ini. Make the code inspect the registry/system.ini at call time, rather then initialization time. Code cleanups. * dlls/msacm/Makefile.in, dlls/msacm/internal.c: Dimitrie O. Paun Look up driver info in the registry as well as in system.ini. * windows/driver.c: Dimitrie O. Paun Small documentation cleanup. 2004-06-29 Alexandre Julliard * dlls/msvideo/Makefile.in, dlls/msvideo/msvideo16.c, dlls/msvideo/msvideo_main.c: Dimitrie O. Paun Look up driver info in the registry as well as in system.ini. Cleanup handling of driver enumeration and fourCC. * dlls/msi/action.c, dlls/msi/msi.spec: Aric Stewart Implement MsiGetSourcePath. Implement Binary and Dword data type for registry writing. * dlls/msi/action.c, dlls/msi/msi.c, dlls/msi/msi.spec: Aric Stewart Handle custom actions type 1 and 2. * dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/table.c: Mike McCormack Dump database table names on startup. * dlls/x11drv/winpos.c, include/wine/server_protocol.h, server/protocol.def, server/region.c, server/request.h, server/trace.c, server/user.h, server/window.c, windows/winpos.c: Added support for window regions in the server. * dlls/msi/msiquery.c, dlls/msi/record.c: Mike McCormack Fix refcounting of streams. * objects/region.c: Ignore empty rectangles in ExtCreateRegion. * dlls/msi/action.c, dlls/msi/cond.y, dlls/msi/msi.spec, dlls/msi/msipriv.h, dlls/msi/msiquery.c: Aric Stewart Implement MsiGetTargetPathA/W. * dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/record.c, dlls/msi/table.c: Mike McCormack Allow reading records containing streams. 2004-06-28 Alexandre Julliard * dlls/msi/cond.y: Mike McCormack Fixed the way the parser takes input strings. * dlls/x11drv/winpos.c: Use X11DRV_GetRegionData to implement X11DRV_SetWindowRgn instead of duplicating that functionality. * dlls/comctl32/imagelist.c: Filip Navara Set the palette for image list DIBs that has 8 or less bits per pixel. * dlls/comctl32/tooltips.c, include/commctrl.h: Robert Shearman Start of balloon tip support. * programs/uninstaller/main.c: Hannu Valtonen Don't display the commandline text (A trace still gives it). Set a few fonts to avoid using the horrible system font on native Windows. * dlls/version/tests/info.c: Stefan Leichter Fixed tests of GetFileVersionInfoSizeA for win98 / XP. * dlls/oleaut32/tmarshal.c: Mike Hearn Make typelib marshaller safe for systems that don't allow executable code on the heap, plug a leak of the assembly stub block. * programs/clock/Es.rc, programs/wineconsole/wineconsole_Es.rc, programs/wineconsole/wineconsole_res.rc, programs/winefile/Es.rc, programs/winefile/rsrc.rc: José Manuel Ferrer Ortiz Added some Spanish translations. * dlls/avifil32/avifile_Ja.rc, dlls/avifil32/rsrc.rc, dlls/mpr/mpr.rc, dlls/mpr/mpr_Ja.rc, dlls/msacm/msacm.rc, dlls/msacm/msacm_Ja.rc, dlls/oledlg/oledlg_Ja.rc, dlls/oledlg/rsrc.rc, dlls/serialui/Ja.rc, dlls/serialui/serialui_rc.rc, dlls/setupapi/Ja.rc, dlls/setupapi/setupapi.rc, dlls/shlwapi/shlwapi.rc, dlls/shlwapi/shlwapi_Ja.rc, dlls/wineps/rsrc.rc, dlls/wineps/wps_Ja.rc, dlls/winmm/winmm_Ja.rc, dlls/winmm/winmm_res.rc, programs/notepad/Ja.rc, programs/notepad/rsrc.rc, programs/regedit/Ja.rc, programs/regedit/rsrc.rc: Hajime Segawa Added some Japanese translations. * dlls/msi/Makefile.in, dlls/msi/action.c, dlls/msi/cond.y, dlls/msi/handle.c, dlls/msi/msi.c, dlls/msi/msi.spec, dlls/msi/msipriv.h, dlls/msi/sql.y, dlls/msi/table.c: Aric Stewart Start implementing actions. * dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shlfileop.c, include/shlobj.h: Ge van Geldorp Match prototypes to Platform SDK. * dlls/oleaut32/typelib.c: Mike Hearn Dump function return type in typelib traces, add trace support for VT_HRESULT. * dlls/oleaut32/oaidl_p.c: Mike Hearn Change REFIID to IID* for stack declarations to avoid initializers being discarded. * dlls/shlwapi/tests/ordinal.c: Stefan Leichter Skip tests of GetAcceptLanguagesA if a correct call to the function does not return anything useful. * dlls/psapi/tests/module.c: Stefan Leichter Skip tests without error if psapi.dll could not be loaded. * documentation/samples/config: Uwe Bonnes Change desktop size for _INS5576._MP. * dlls/comctl32/toolbar.c: Robert Shearman - Clean up the mask drawing code. - Improve bitmap not found message. * dlls/wininet/http.c, dlls/wininet/internet.c: Dimitrie O. Paun Fix the function names in some of the comments. * loader/preloader.c: Mike McCormack Define AT_SYSINFO_* if it's missing. * include/commctrl.h: Jon Griffiths Correct struct tag name for UDACCEL. Add missing TCITEMHEADER and old names TC_ITEMHEADER/TC_ITEM. 2004-06-26 Alexandre Julliard * dlls/msi/msipriv.h, dlls/msi/string.c, dlls/msi/table.c: Mike McCormack Pull the codepage from the string table. * dlls/msi/sql.y, dlls/msi/where.c: Mike McCormack Fix crash that occurred when an invalid query string was deleted twice. * loader/preloader.c: Remove the AT_SYSINFO and AT_SYSINFO_EHDR values if the sysinfo page is in one of our reserved ranges. * dlls/msi/msipriv.h, dlls/msi/query.h, dlls/msi/sql.y, dlls/msi/string.c, dlls/msi/where.c: Mike McCormack Implement queries by string value. * include/msi.h, include/msiquery.h: Mike McCormack Aric Stewart Update header declarations for msi. 2004-06-25 Alexandre Julliard * dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/clipboard.c, dlls/x11drv/clipboard.c, server/clipboard.c, windows/clipboard.c: Dmitry Timoshkov Add a test case for clipboard functionality and fix some bugs revealed by it. * dlls/msvcrt/Makefile.in, dlls/msvcrt/console.c, dlls/msvcrt/cpp.c, dlls/msvcrt/cppexcept.c, dlls/msvcrt/ctype.c, dlls/msvcrt/data.c, dlls/msvcrt/dir.c, dlls/msvcrt/environ.c, dlls/msvcrt/errno.c, dlls/msvcrt/except.c, dlls/msvcrt/exit.c, dlls/msvcrt/file.c, dlls/msvcrt/heap.c, dlls/msvcrt/locale.c, dlls/msvcrt/main.c, dlls/msvcrt/math.c, dlls/msvcrt/mbcs.c, dlls/msvcrt/misc.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c, dlls/msvcrt/scanf.c, dlls/msvcrt/string.c, dlls/msvcrt/tests/.cvsignore, dlls/msvcrt/tests/Makefile.in, dlls/msvcrt/tests/headers.c, dlls/msvcrt/thread.c, dlls/msvcrt/time.c, dlls/msvcrt/wcs.c, include/msvcrt/conio.h, include/msvcrt/ctype.h, include/msvcrt/direct.h, include/msvcrt/dos.h, include/msvcrt/eh.h, include/msvcrt/errno.h, include/msvcrt/fcntl.h, include/msvcrt/float.h, include/msvcrt/io.h, include/msvcrt/locale.h, include/msvcrt/malloc.h, include/msvcrt/math.h, include/msvcrt/mbctype.h, include/msvcrt/mbstring.h, include/msvcrt/process.h, include/msvcrt/search.h, include/msvcrt/setjmp.h, include/msvcrt/stddef.h, include/msvcrt/stdio.h, include/msvcrt/stdlib.h, include/msvcrt/string.h, include/msvcrt/sys/stat.h, include/msvcrt/sys/timeb.h, include/msvcrt/sys/types.h, include/msvcrt/sys/utime.h, include/msvcrt/time.h, include/msvcrt/wchar.h, include/msvcrt/wctype.h, include/winsock.h: Dimitrie O. Paun Split the MSVCRT implementation headers from the public headers. Fix some naming conventions aberrations. Add tests to ensure consistency between the two sets of symbols. * include/windef.h, include/winuser.h: Jon Griffiths Correct tag names for RECTL and SCROLLINFO structs. * dlls/rsabase/main.c: Michael Jung Changed type of "Signature" registry key value to REG_BINARY. 2004-06-24 Alexandre Julliard * dlls/kernel/heap.c: In GlobalMemoryStatus, also cap the sum of dwAvailPhys and dwAvailPageFile at 2Gb to avoid a bug in Photoshop 4. * loader/kthread.c: Use wine_dlsym instead of dlsym to avoid the glibc dlerror bug. Call dlsym with RTLD_DEFAULT for symbols that we don't redefine to work around another glibc bug. * dlls/x11drv/winpos.c: Robert Shearman Fix small mistake in the previous visible region patch. 2004-06-23 Alexandre Julliard * dlls/user/tests/msg.c: Dmitry Timoshkov Add a prototype for MDI message tests. * windows/mdi.c: Dmitry Timoshkov Make sure that both deactivated and activated MDI children receive WM_MDIACTIVATE message in all cases. * dlls/x11drv/winpos.c: Dmitry Timoshkov WM_WINDOWPOSCHANGED should always contain a final window position. * dlls/x11drv/winpos.c, include/wine/server_protocol.h, server/Makefile.in, server/protocol.def, server/region.c, server/request.h, server/trace.c, server/user.h, server/window.c: Moved visible region calculation to the server. * windows/multimon.c: Fixed wrong Unicode string syntax in GetMonitorInfoW. * dlls/oleaut32/tmarshal.c, dlls/rpcrt4/rpc_binding.c: Mike Hearn - Don't ERR on a used connection being destroyed. - Don't print an extra newline in the olerelay code. * programs/winedbg/dbg.y, programs/winedbg/debug.l, programs/winedbg/debugger.h, programs/winedbg/stack.c, programs/winedbg/winedbg.c: Mike Hearn Add a --command option to winedbg, add an "all" option to the backtrace command. 2004-06-22 Alexandre Julliard * dlls/ntdll/virtual.c: We no longer need to make the import directory writable, the loader takes care of that now. * configure, configure.ac, loader/Makefile.in, loader/preloader.c: Do direct Linux system calls in the preloader to avoid trouble with some broken static libcs. * dlls/ntdll/loader.c: Filip Navara Unprotect Import Address Table while filling it. * programs/winedbg/stack.c: Eric Pouech Fix compile error on non-i386. 2004-06-21 Alexandre Julliard * dlls/setupapi/setupcab.c, dlls/x11drv/keyboard.c, programs/winelauncher.in, windows/msgbox.c: Vincent Béron Replace some more -debugmsg references for WINEDEBUG. * dlls/ntdll/version.c: Mike Hearn Default to Win98 in DLL linkage heuristics. * dlls/shell32/shell32_Ca.rc, dlls/shell32/shell32_Cn.rc, dlls/shell32/shell32_Cs.rc, dlls/shell32/shell32_Da.rc, dlls/shell32/shell32_De.rc, dlls/shell32/shell32_En.rc, dlls/shell32/shell32_Eo.rc, dlls/shell32/shell32_Es.rc, dlls/shell32/shell32_Fi.rc, dlls/shell32/shell32_Fr.rc, dlls/shell32/shell32_Hu.rc, dlls/shell32/shell32_It.rc, dlls/shell32/shell32_Ja.rc, dlls/shell32/shell32_Ko.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_Si.rc, dlls/shell32/shell32_Sk.rc, dlls/shell32/shell32_Sv.rc, dlls/shell32/shell32_Uk.rc, dlls/shell32/shell32_Wa.rc, dlls/shell32/shell32_Zh.rc: Royce Mitchell III Shell32 run dialog combobox should also have WS_TABSTOP style. * dlls/d3d8/utils.c: Christian Costa Some more texture ops fixes. 2004-06-18 Alexandre Julliard * dlls/x11drv/winpos.c: Only unmap the window when it gets moved off-screen by the app, not by the window manager. * documentation/samples/config, programs/winemenubuilder/winemenubuilder.c: Chris Morgan Hardcode "wineshelllink" in winemenubuilder, remove it from the config file. * controls/edit.c: Krishna Murthy Modified EDIT_EM_Undo(): Removed undo buffer length check for empty. EDIT_EM_ReplaceSel() is called with send_update parameter set to TRUE. * windows/msgbox.c: Mike Hearn Add a dedicated debug channel for message boxes which outputs the contents of the message. * dlls/x11drv/winpos.c: Dmitry Timoshkov ShowWindow shouldn't fix SWP_ flags, it's the job of SetWindowPos. * configure, configure.ac, include/config.h.in, tools/winebuild/import.c: Pierre d'Herbemont - Detection of .size instruction. - Detection of the assembler name prefix. * dlls/ntdll/relay.c: Pierre d'Herbemont Fix a compile error for SNOOP_GetProcAddress and RELAY_GetProcAddress on non-i386. * dlls/user/tests/msg.c: Dmitry Timoshkov Add tests for child activation by ShowWindow/SetWindowPos. * dlls/gdi/enhmfdrv/init.c: Dmitry Timoshkov Do not allow creation of not aligned EMF records by GDI code. * controls/menu.c: Dmitry Timoshkov Use better dimensions for MDI system menu buttons to avoid MDI client window resizing. * dlls/shlwapi/tests/ordinal.c: Stefan Leichter Add logging to the GetAcceptLanguagesA tests. * dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/virtual.c: Added support for the IMAGE_FILE_LARGE_ADDRESS_AWARE flag. * dlls/shell32/Makefile.in, dlls/shell32/clipboard.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c: Robert Shearman Make ole32 a delay-load import of shell32. 2004-06-17 Alexandre Julliard * dlls/ntdll/critsection.c: Take spin count into account in RtlEnterCriticalSection. * dlls/ntdll/file.c: Don't use lseek when truncating a file to avoid corrupting the current file position. * dlls/oleaut32/tmarshal.c: Mike Hearn Fix typelib marshaller relaying, add a comment describing what it is, don't print the ugly L"" parts of Unicode strings in the relay trace. * dlls/dsound/tests/.cvsignore, dlls/dsound/tests/Makefile.in, dlls/dsound/tests/capture.c, dlls/dsound/tests/ds3d.c, dlls/dsound/tests/dsound.c, dlls/dsound/tests/dsound_test.h: Francois Gouget Split the 'dsound' test into two parts: - the sound format test. Plays a 5 second reference tone to help debug issues with the tone duration and help detect stutter issues. Prints explanations describing the sound format interactive test. Then plays a 1 second test tone for each supported sound format. - the 3D sound tests. Performs the volume, panning, moving listener tests, etc. * programs/winetest/Makefile.in: Ferenc Wagner Include new or forgotten tests. * dlls/kernel/tests/profile.c: Stefan Leichter Fix the GetPrivateProfileIntA tests for the win9x platform. * dlls/user/tests/win.c: Dmitry Timoshkov Make user/tests/win.c tests pass under Windows98. * server/queue.c: Properly reset msg_thread when releasing the thread input structure. * tools/winebuild/spec32.c: Pierre d'Herbemont Hide the _init and _fini wrappers on darwin. * dlls/ole32/marshal.c: Ivan Leo Puoti Removed the winedefault.reg message. * dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_server.c: Mike Hearn Remove the RPC connection cache as Windows does not allow multiple binds on the same connection. * include/winuser.h: Andreas Mohr Added some missing static control styles. * dlls/kernel/tests/directory.c: Added a couple of tests for SetCurrentDirectoryA. * dlls/winedos/int21.c: Check for non-existent directory in INT21_SetCurrentDirectory to return a proper error when the directory is not on the current drive. * dlls/shlwapi/ordinal.c, dlls/shlwapi/tests/ordinal.c: Stefan Leichter Added tests for GetAcceptLanguagesA. 2004-06-16 Alexandre Julliard * dlls/rpcrt4/rpc_binding.c: Mike Hearn Correct connection releases on error path in RPCRT4_OpenBinding. * dlls/winspool/tests/info.c: Stefan Leichter Added some logging to the GetPrinterDriverDirectoryA tests. * dlls/winmm/wineoss/audio.c: Francois Gouget Log the format when mapping the sound device (or failing to). * configure, configure.ac, dlls/gdi/freetype.c, include/config.h.in, objects/font.c: Huw Davies Add support for bitmap fonts. * programs/winetest/Makefile.in: Added missing dependency. * dlls/ntdll/cdrom.c: Gerald Pfeifer Remove incorrect support for FreeBSD and NetBSD in DVD_StartSession(). * dlls/rsabase/main.c: Gerald Pfeifer Avoid unused variable warning. * dlls/x11drv/xrender.c: Huw Davies Remove an incorrect LeaveCriticalSection. * dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/thunk.c: Marcus Meissner Fixed some illegal lvalue casts / increments. 2004-06-15 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20040615. ---------------------------------------------------------------- 2004-06-15 Alexandre Julliard * AUTHORS: Updated authors list. * programs/winetest/.cvsignore, programs/winetest/Makefile.in, programs/winetest/README, programs/winetest/dist.rc, programs/winetest/gui.c, programs/winetest/gui.rc, programs/winetest/guires.h, programs/winetest/main.c, programs/winetest/maketest, programs/winetest/resource.h, programs/winetest/send.c, programs/winetest/util.c, programs/winetest/winetest.h, programs/winetest/winetest.rc: Ferenc Wagner - Resource script restructuring. - Build info et al. is given by files instead of env. vars. - Store that information in resources. - Make the main windows not resizeable. - Insist on creating a fresh log file. - Introduce the make dist target. * libs/wine/config.c, loader/preloader.c: Add the preloader itself as argv[0] and remove it again before running the real loader, this way the ps output makes more sense. * dlls/dmloader/loader.c, dlls/kernel/tests/locale.c, dlls/msi/string.c, loader/main.h: Francois Gouget Assorted spelling and case fixes. * dlls/winmm/wineoss/audio.c: Francois Gouget Fix the check for SNDCTL_DSP_GETCAPS so that it is compliant with the OSS specification. Only test the different formats if tracing is on. * dlls/winspool/tests/info.c: Stefan Leichter Fix the tests of GetDefaultPrinterA on win2k if no default printer is configured. * dlls/winmm/winearts/audio.c: Francois Gouget Change the ARTS_Init() error message from an ERR() to a WARN() since it can happen in perfectly normal conditions. * include/dpaddr.h, include/uxtheme.h: Francois Gouget Don't use Unicode string literals unless we specifically know they do what we want to. * configure, configure.ac, dlls/psapi/Makefile.in, dlls/psapi/psapi_main.c, dlls/psapi/tests/.cvsignore, dlls/psapi/tests/Makefile.in, dlls/psapi/tests/module.c: Stefan Leichter Moved implementation of GetModuleBaseName from ascii to unicode, added some tests for GetModuleBaseNameA. * dlls/shell32/shell.c, dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c: Francois Gouget SHELL_ExecuteW() passes a Unicode environment to CreateProcessW() so it must specify the CREATE_UNICODE_ENVIRONMENT flag. Also the SHELL_ExecuteW32() functions will always be called with a Unicode environment so adjust their prototype accordingly. * dlls/user/tests/win.c: Dmitry Timoshkov Add a test for client/nonclient window dimensions calculation. * documentation/architecture.sgml, documentation/threading.sgml, documentation/wine-devel.sgml: Mike Hearn Add documentation on the Wine initialization process. * dlls/user/user_main.c, dlls/x11drv/scroll.c, dlls/x11drv/x11drv.spec, include/user.h, windows/scroll.c: Ulrich Czekalla ScrollDC should take into account overlapped windows. With this change ScrollWindowEx can be moved out of X11drv. * dlls/shell32/shlexec.c: Dmitry Timoshkov Fix warnings introduced by my last patch. * dlls/kernel/locale.c: Dmitry Timoshkov - Fix erroneous use of LOCALE_SDATE in the place of LOCALE_SSHORTDATE. - Fix incorrect assumptions about format strings when parsing date formats and setting LOCALE_IDATE and LOCALE_ILDATE values. * programs/regedit/De.rc, programs/regedit/rsrc.rc: Michael Fritscher Added a German translation of Regedit. * dlls/x11drv/xrender.c: Huw Davies Don't allocate a glyphset until we actually need it. * dlls/kernel/file.c: Added magic number in the FindFirstFile structure to allow more robust detection of bad handles (with help from Aric Stewart). * dlls/kernel/kernel32.spec, dlls/kernel/kernel_main.c, dlls/kernel/sync.c, dlls/ntdll/critsection.c, dlls/ntdll/ntdll.spec, dlls/ntdll/thread.c, include/winternl.h: Store the number of processors in the PEB structure. More correct support for setting critical section spin counts (based on a patch by Robert Shearman). * dlls/ntdll/heap.c, dlls/ntdll/loader.c, dlls/ntdll/loadorder.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/relay.c, dlls/ntdll/resource.c, dlls/ntdll/rtl.c, dlls/ntdll/rtlbitmap.c, dlls/ntdll/virtual.c: Eric Pouech Const correctness. * dlls/ntdll/cdrom.c: Uwe Bonnes Support for reading encrypted DVDs. * dlls/shell32/shlexec.c: Dmitry Timoshkov Restore default "open" functionality of ShellExecute. 2004-06-14 Alexandre Julliard * dlls/kernel/file.c, include/winbase.h: Rewrote SetFilePointer to use SetFilePointerEx. * dlls/user/dde/server.c: Huw Davies Fix 'pointers are not permitted as case values' compile error. * programs/regedit/treeview.c: Robert Shearman - Use hourglass cursor for better feedback when expanding nodes. - Turn off redrawing when expanding to make it faster. * aclocal.m4, configure, configure.ac: Pierre d'Herbemont - strip support for darwin - WINE_GET_SONAME support for darwin * dlls/shell32/shlexec.c: Dmitry Timoshkov Ignore DdeClientTransaction error in ShellExecute. * dlls/x11drv/winpos.c: Dmitry Timoshkov Do nothing in ShowWindow(SW_SHOW) if a window is already visible. * dlls/dbghelp/dbghelp.spec, dlls/dbghelp/msc.c, dlls/dbghelp/path.c, dlls/dbghelp/pe_module.c, dlls/dbghelp/type.c, include/dbghelp.h: Eric Pouech - implemented EnumDirTree, SearchTreeForFile, SymFindFileInPath, SymMatchFileName - made use of SymFindFileInPath to lookup .dbg and .pdb files - fixed a crash in CodeView enum handling * dlls/ole32/marshal.c, dlls/ole32/oleproxy.c, dlls/oleaut32/tmarshal.c, dlls/rpcrt4/cproxy.c: Robert Shearman - Fix ref count on standard proxy creation. - Release channel buffer in StdMarshal_UnmarshalInterface, since we no longer use it and the proxy should have taken a reference on it. - Add a few comments. * dlls/wininet/http.c: Mike McCormack Pass pointers around internally instead of handles. * dlls/msvcrtd/debug.c, dlls/msvcrtd/msvcrtd.spec: Lionel Ulmer Added stub for _CrtCheckMemory. * dlls/kernel/file.c, dlls/kernel/kernel32.spec: Mike McCormack Implemented SetFilePointerEx. * controls/scroll.c, windows/winproc.c: Dmitry Timoshkov Added 32->16 mapping for SBM_GETRANGE/SBM_SETRANGE messages. Added support for SBM_GETRANGE16 message in the scrollbar window proc. * dlls/winmm/wavemap/wavemap.c: Robert Reif Added tracing to all functions. Added error explanations. Changed debug channel from msacm to wavemap so not confused with msacm. * dlls/winmm/tests/capture.c, dlls/winmm/tests/wave.c: Robert Reif Removed 11 bit sample size capture test because at least 2 manufacturers sound cards on two different OSs seem to support this. Added some invalid parameter checks to wave[In,Out]GetDevCaps. One test is commented out because wine doesn't handle it properly. Minor info printing cleanup. * dlls/shell32/shlexec.c: Dmitry Timoshkov Add support for quoting "file://%1" like format strings. * include/wine/library.h, libs/wine/loader.c, loader/main.c: Yet another fix for the MacOS X environ brain damage. * dlls/kernel/console.c, dlls/kernel/dosmem.c, dlls/kernel/format_msg.c, dlls/kernel/heap.c, dlls/kernel/instr.c, dlls/kernel/locale.c, dlls/kernel/profile.c, dlls/kernel/selector.c, dlls/kernel/thread.c, misc/registry.c: Eric Pouech Const correctness, pointer cast correctness, removed extraneous ';'. * dlls/kernel/process.c, dlls/ntdll/process.c, include/wine/server_protocol.h, server/process.c, server/protocol.def, server/trace.c: Eric Pouech - Added ProcessBasicInformation class to ntdll.NtQueryInformationProcess. - Make use of it in kernel32. * include/wine/port.h: Pierre d'Herbemont Don't use .previous instruction on Darwin. * dlls/kernel/sync.c: Robert Shearman Use the same path transformation for WaitNamedPipe and CreateNamedPipe. * dlls/winmm/winealsa/audio.c: Robert Reif Reset played variables on open. * dlls/kernel/actctx.c: Rein Klazes Set last error value to ERROR_CALL_NOT_IMPLEMENTED in QueryActCtxW() to make Photoshop 7.0 work again. * documentation/implementation.sgml: Ofir Petruska Replace -debugmsg by WINEDEBUG. * dlls/x11drv/x11drv_main.c: Mike Hearn Make UseXrandr default to true in the no config file case. * dlls/user/dde/client.c: Dmitry Timoshkov Set last DDE error in XTYP_EXECUTE handler according to the value returned by an application. * include/ddeml.h: Dmitry Timoshkov Fix CBR_BLOCK definition. * dlls/d3d8/device.c, dlls/d3d8/utils.c, dlls/d3d8/version.rc: Raphael Junqueira - fix version string - some fixes to ATI specific paths of set_tex_op (Christian needs to complete it) - fix use of GL_SUPPORT(NV_TEXGEN_REFLECTION). I have used the wrong define, I'll get a brown paper bag :( * dlls/iccvid/iccvid.c: Robert Shearman Support 15- and 16-bit colour output. * dlls/shell32/shell32.spec, dlls/shell32/shlfileop.c: Ulrich Czekalla Implemented RealDriveType. * dlls/wininet/utility.c: Mike McCormack Fixed ASCII redirect callbacks. * controls/scroll.c: Dmitry Timoshkov Make SetScrollRange behave like GetScrollRange does, i.e. send messages to the control for SB_CTL case. * dlls/winmm/playsound.c: Mike McCormack Fix PlaySound. * dlls/devenum/mediacatenum.c: Robert Shearman Avoid crash by passing pointer to RegSetValueEx. * dlls/winspool/tests/info.c: Stefan Leichter Log the last error too if the tests fail without default printer. * include/Makefile.in, include/aclapi.h: Mike McCormack Add the aclapi.h header file. * dlls/winmm/winmm.c: Robert Reif Don't try to map the mapper device. 2004-06-04 Alexandre Julliard * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/dsurface/main.c: Lionel Ulmer Move the FPS computation from the D3D code to the common code. * dlls/d3dxof/d3dxof.c, dlls/d3dxof/d3dxof_private.h, dlls/d3dxof/main.c: Christian Costa Removed compilation warnings + some fixes. * dlls/user/tests/sysparams.c: Dimitrie O. Paun Win 2000, XP, etc. fail the sysparams tests when run non-interactively, so avoid running the tests in that case. * dlls/comctl32/tab.c: Jon Griffiths Implemented TCM_SETITEMEXTRA. * dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c: Lionel Ulmer - some new logging on device enumeration - fix version setting in DirectInputCreate(A/W) functions * dlls/kernel/process.c: Rein Klazes Fix a crash when launching Unix executables. * windows/spy.c: Dmitry Timoshkov Print meaningful message values instead of vague names for unknown messages. * dlls/winspool/tests/info.c: Dimitrie O. Paun Some of our testers don't have a default printer, simply skip the winspool tests if that's the case. * dlls/kernel/tests/directory.c: Dimitrie O. Paun In Win9x, {Create,Remove}Directory returns ERROR_PATH_NOT_FOUND when given directories containing '*' or '?'. * dlls/kernel/tests/alloc.c: Dimitrie O. Paun Win9x does not convert FIXED to MOVEABLE. It also discards locked memory. * dlls/comctl32/listview.c: Dimitrie O. Paun Clear the state image bits only if LVS_EX_CHECKBOXES is set. Fix obvious logical error in focus handling. Indentation and formatting fixes. (based on a patch by Krishna Murthy). * dlls/winmm/tests/capture.c, dlls/winmm/tests/wave.c, dlls/winmm/tests/winmm_test.h: Robert Reif Treat WAVE_MAPPER as a real device and performs all tests on it. Added 16000Hz because win9x hardware spec requires it. * dlls/winmm/wavemap/wavemap.c: Robert Reif Handle case where partial structure update requested. Minor white space cleanup. * libs/wine/mmap.c: Avoid zero size allocations. * documentation/debugger.sgml, documentation/debugging.sgml, programs/winedbg/Makefile.in, programs/winedbg/be_cpu.h, programs/winedbg/be_i386.c, programs/winedbg/be_ppc.c, programs/winedbg/break.c, programs/winedbg/db_disasm.c, programs/winedbg/dbg.y, programs/winedbg/debug.l, programs/winedbg/debugger.h, programs/winedbg/display.c, programs/winedbg/elf.c, programs/winedbg/expr.c, programs/winedbg/ext_debugger.c, programs/winedbg/gdbproxy.c, programs/winedbg/hash.c, programs/winedbg/info.c, programs/winedbg/intvar.h, programs/winedbg/memory.c, programs/winedbg/module.c, programs/winedbg/msc.c, programs/winedbg/pe.c, programs/winedbg/registers.c, programs/winedbg/source.c, programs/winedbg/stabs.c, programs/winedbg/stack.c, programs/winedbg/symbol.c, programs/winedbg/types.c, programs/winedbg/winedbg.c, programs/winedbg/winedbg.man: Eric Pouech - all symbol information storage is now module relative, so we can unload a module (and it's debugging information), and a process without pain - portabiblity to another CPU should be easier now (CPU dependent backend) - speed up memory allocation - stabs related fixes: + now correctly handling symbol's size + blocks {} in functions are now correctly recognized and stored (also applies to local variables scoping) + better basic types management (less wild guesses in the code) + full support of inline functions (source stepping now shows the code in .h files for example) - removal of external debugger (attaching with gdb is just fine to debug winedbg) - fixed a couple of issues for symbol address handling (address lookup, incorrect type binding) - winedbg now has a man page 2004-06-03 Alexandre Julliard * loader/preloader.c: Make it possible to add auxiliary values to the existing array; this is required for older kernels. * dlls/user/tests/msg.c, dlls/x11drv/winpos.c: Mike Hearn Ignore attempts to hide an already invisible window. Add a test case for this behaviour, passes on Wine and Windows 2000. * dlls/winedos/int21.c: Rein Klazes In INT21_GetFreeDiskSpace adjust the sectors-per-cluster value to make the total number of clusters fit in a 16 bit register. * include/winuser.h: Andreas Mohr Additional KLF_xxx defines. * dlls/msvideo/drawdib.c, dlls/msvideo/msvfw32.spec: Hans Leidekker Stub for DrawDibProfileDisplay. * dlls/kernel/tests/locale.c: Robert Reif I got the test for failure on NT wrong in my last patch. The function returns 0 on error and sets last error to ERROR_INVALID_FLAGS. * dlls/rsabase/main.c: Raphael Junqueira Created more needed registry key in DllRegisterServer. * libs/wine/mmap.c: Check for existing reserved areas in mmap_init to avoid doing duplicate work. * dlls/ntdll/ntdll.spec: Raphael Junqueira Added _vsnwprintf (needed by some native XP dlls). * dlls/kernel/module.c, dlls/kernel/process.c, include/module.h: Set the WINEPRELOADRESERVE variable when starting a new process. * include/wine/port.h: Hans Leidekker MinGW portability fix. * dlls/user/tests/msg.c, dlls/user/tests/win.c, windows/win.c: Ulrich Czekalla EnableWindow should not remove the focus of child windows. * configure, configure.ac, dlls/Makefile.in, dlls/d3dxof/.cvsignore, dlls/d3dxof/Makefile.in, dlls/d3dxof/d3dxof.c, dlls/d3dxof/d3dxof.spec, dlls/d3dxof/d3dxof_private.h, dlls/d3dxof/main.c, dlls/d3dxof/regsvr.c, dlls/d3dxof/version.rc, dlls/dxguid/dxguid.c, documentation/samples/config, include/Makefile.in, include/dxfile.h, tools/wine.inf: Christian Costa Added d3dxof dll, part of Direct3D. 2004-06-02 Alexandre Julliard * loader/preloader.c: Added support for specifying the PE exe address range through the WINEPRELOADRESERVE environment variable. * configure, configure.ac: Added check for static libc. * dlls/comctl32/toolbar.c: Ulrich Czekalla Handle case when item text is empty. According to MSDN, length should be returned when lParam is NULL. * dlls/shell32/changenotify.c: Ulrich Czekalla When we send out a notification to a registered window with SHCNRF_NewDelivery, we should send a LPNOTIFICATIONLIST and the process id of the caller. * dlls/commdlg/filedlg16.c: Rein Klazes In FILEDLG_ScanDir do not try to set the current directory to a path that is empty. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec: Hans Leidekker Stub for WSCUnInstallNameSpace. * dlls/kernel/kernel32.spec, dlls/kernel/path.c: Raphael Junqueira Semi stubs for GetSystemWow64Directory[AW]. * dlls/dinput/device.c, dlls/dinput/device_private.h, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/mouse.c: Lionel Ulmer - some TRACEing improvements - fix mouse Acquire which switched right and middle buttons - reset the mouse cursor at its original location on Unacquiring the device * dlls/kernel/tests/path.c: Dimitrie O. Paun Do not fix the drive letter to 'C', it fails on other people's boxes. * dlls/rsabase/main.c: Robert Shearman Created needed registry key in DllRegisterServer. * dlls/comctl32/toolbar.c: Robert Shearman Don't draw whole button pressed when separate dropdown pressed, just the separate dropdown itself. * dlls/d3d8/utils.c: Raphael Junqueira Compile fix. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/wcs.c: Mike McCormack Copy the vsnprintfW implementation from libunicode.so to msvcrt and add a handler for the %S flag. That requires a conversion to unicode and knowledge of the current ASCII code page. * documentation/address-space.sgml, documentation/architecture.sgml, documentation/configuring.sgml: Eric Pouech Updated the documentation on Wine architecture & fundamentals. * dlls/setupapi/setupcab.c: Stefan Leichter Replaced the call to GetFullPathNameA by a call to GetFullPathNameW to get rid of the W->A cross calls. 2004-06-01 Alexandre Julliard * dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/audio.c, dlls/winmm/wineoss/audio.c: Robert Reif Fix calculation of SMPTE time (round up to full frame). More accurate ms calculation. * dlls/winmm/tests/wave.c: Robert Reif Added a test to check playback position after done playing. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Raphael Junqueira Stub for SHFlushSFCacheWrap. * dlls/wininet/dialogs.c, dlls/wininet/http.c, dlls/wininet/internet.c: Mike McCormack Fix proxy support, remove typecasts. * dlls/winmm/wavemap/wavemap.c: Robert Reif Returns proper error code when trying to get caps when no devices present. * loader/preloader.c: A few small fixes. * dlls/user/tests/win.c: Dmitry Timoshkov Test whether we can destroy a menu assigned to a window. * include/windef.h, include/wtypes.h, include/wtypes.idl: Jon Griffiths Added PPOINTL, a pointer to a POINTL struct. * dlls/shlwapi/Makefile.in: Hans Leidekker Link to ntdll. * dlls/kernel/except.c: Mike Hearn Use TRACE rather than FIXME for check_resource_write. * dlls/hhctrl.ocx/Makefile.in, dlls/hhctrl.ocx/hhctrl.c: Mike Hearn Display more informative message when HtmlHelp stub is invoked, add A/W conversion code, remove useless (and wrong) hungarian notation from function prototypes. * dlls/dmime/segment.c: Raphael Junqueira Correct typo in LoadWave (wave is an DMObject not a DMTrack). * tools/wrc/newstruc.c: Jon Griffiths Also handle OS2 v1.x (AKA windows 2.0) bitmaps. * objects/gdiobj.c: Jon Griffiths SetMiterLimit: Return success: some callers check this. * dlls/wininet/ftp.c, dlls/wininet/internet.c: Lionel Ulmer Fix the case where lpszSearchFile is NULL in FtpFindFirstFile. * include/exdisp.h, include/exdisp.idl: Mike McCormack Added definitions for the IShellWindows interface. * include/shldisp.h, include/shldisp.idl: Mike McCormack Added definitions for the IFolderViewOC interface. * dlls/winmm/wavemap/wavemap.c: Robert Reif Fixed a bug where wrong a return value was returned when mapping is not possible. * dlls/msacm/driver.c: Robert Reif Added trace and debug printing info. * dlls/winmm/lolvldrv.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Robert Reif Added some trace and debug printing. * dlls/winmm/tests/capture.c, dlls/winmm/tests/wave.c: Robert Reif Added another possible windows failure mode. * dlls/user/tests/msg.c: Dmitry Timoshkov Add dialog class name to the list of classes handled by hook, add hook messages to the modal dialog message test. 2004-05-30 Alexandre Julliard * dlls/kernel/tests/locale.c: Robert Reif NT 4.0 doesn't support MAP_EXPAND_LIGATURES so skip test if it returns ERROR_INVALID_FLAGS. * dlls/ntdll/server.c: Use wine_exec_wine_binary in all cases to start the server. * libs/wine/config.c: Christian Costa Fixed preloader_exec. * tools/wrc/wrc.man: Dimitrie O. Paun Document the --verbose switch. 2004-05-29 Alexandre Julliard * include/wine/library.h, include/wine/port.h, libs/wine/loader.c, loader/main.c: Pass the environ variable from main to try to avoid Darwin's _NSGetEnviron() ugliness. * dlls/ole32/marshal.c: Robert Shearman Fixed CoMarshalInterThreadInterfaceInStream and CoGetInterfaceAndReleaseStream. * dlls/oleaut32/typelib.c: Ivan Leo Puoti Removed dcom link. * controls/edit.c: Krishna Murthy EDIT_EM_ReplaceSel should simply truncate characters that exceed the limit. 2004-05-28 Alexandre Julliard * configure, configure.ac, dlls/kernel/process.c, dlls/ntdll/server.c, include/wine/library.h, libs/wine/config.c, loader/.cvsignore, loader/Makefile.in, loader/glibc.c, loader/main.c, loader/main.h, loader/preloader.c: Initial version of the Wine preloader, used to reserve memory areas at startup. Based on the work of Mike McCormack. * server/user.c, windows/win.c: Only allocate even-numbered window handles, MS Project depends on that (found by Dmitry Timoshkov). * include/wine/port.h: Make sure __ASM_GLOBAL_FUNC generates code in the text segment. * dlls/kernel/ne_segment.c: Mike Hearn Print module name when calling LibMain. * dlls/shell32/shellpath.c: Aric Stewart Make sure that the size of the buffer passed to RegSetValueExW is in bytes not WCHARs. * windows/spy.c: Dmitry Timoshkov Add some new message names to the message spy. * dlls/user/tests/class.c, windows/class.c: Dmitry Timoshkov Add a test for accessing classes from another thread. Fix UnregisterClass behaviour with NULL hInstance. * documentation/Makefile.in, documentation/address-space.sgml, documentation/wine-devel.sgml: Mike Hearn Added documentation on the address space layout in Wine. * tools/wine.inf: Use proper dirids instead of hardcoding c:\Program Files. * dlls/ntdll/virtual.c, libs/wine/mmap.c: Don't rely on the reserved area list being empty in reserve_area, since the preloader will need to add things to the list before startup. * dlls/kernel/dosmem.c: Ensure that we can initialize the DOS memory area correctly even if it has been pre-reserved already. * dlls/setupapi/Makefile.in, dlls/setupapi/dirid.c: Added support for dirids that map to a CSIDL value (based on a patch by Mike McCormack). * dlls/x11drv/init.c: Mike Hearn Default to 96dpi when not specified in the config file. * dlls/d3d8/d3dcore_gl.h, dlls/d3d8/utils.c: Christian Costa Implemented some texture operations using ATI_texture_env_combine3. Fixed D3DTOP_LERP. Fixed some checkGLcall error messages. 2004-05-27 Alexandre Julliard * dlls/winmm/winmm.c: Uwe Bonnes Fixed missing inversion in bit manipulation. * dlls/winmm/lolvldrv.c, dlls/winmm/winmm.c: Robert Reif Fixed a problem were a trace accesses a data member that may be outside of the actual data structure passed in. Added some more debug traces. * dlls/shell32/brsfolder.c: Uwe Bonnes Assume MAX_PATH length for pszDisplayName. * dlls/msvcrt/file.c: Uwe Bonnes Fixed typo. * include/commdlg.h: Jon Griffiths Give a struct tag to OPENILENAMEA/W to allow forward declarations. * dlls/kernel/snoop16.c: Rein Klazes Fix the missing tread ID of some snoop return traces. * dlls/winmm/tests/capture.c, dlls/winmm/tests/wave.c, dlls/winmm/tests/winmm_test.h: Robert Reif Added WAVE_MAPPED flag test. Added 8000 Hz test as a typically supported format. Added 12000 Hz test as a typically unsupported format. Test error reporting better by testing unsupported formats. Test using PCMWAVEFORMAT in place of WAVEFORMATEX. * dlls/avifil32/avifile_It.rc, dlls/comctl32/comctl_It.rc, dlls/commdlg/cdlg_It.rc, dlls/d3drm/d3drm_main.c, dlls/d3drm/version.rc, dlls/msacm/msacm_It.rc, dlls/msrle32/msrle_It.rc, dlls/oledlg/oledlg_It.rc, dlls/qcap/version.rc, dlls/serialui/It.rc, dlls/setupapi/It.rc, dlls/shell32/shell32_It.rc, dlls/user/resources/user32_It.rc, dlls/wineps/wps_It.rc, dlls/wininet/wininet_It.rc, dlls/winmm/winmm_It.rc, documentation/README.it, documentation/configuring.sgml, include/wine/wine_common_ver.rc, programs/clock/It.rc, programs/cmdlgtst/It.rc, programs/notepad/It.rc, programs/progman/It.rc, programs/regedit/It.rc, programs/regedit/resource.rc, programs/start/It.rc, programs/uninstaller/rsrc.rc, programs/view/It.rc, programs/winefile/It.rc, programs/winemine/It.rc, tools/bug_report.pl: Ivan Leo Puoti Changed my name, so update copyright info. * dlls/x11drv/xrender.c: Troy Rollo Make underlining of fonts drawn at an angle follow the text. * objects/dib.c: Alex Villacís Lasso Return line count when the bits parameter is NULL. * dlls/d3d8/d3d8.spec, dlls/d3d8/d3dcore_gl.h, dlls/d3d8/directx.c, dlls/d3d8/shader.c, dlls/d3d8/utils.c, dlls/d3d8/vshaderdeclaration.c: Raphael Junqueira - the hardware GL vendors (NVidia and ATI) can support more than 95 constants (the Mesa bug) and VRally use the 0..95 indexes so fix it - fix normalize for some HW VertexShader inputs - trying to fix the combination of NV_texture_combine_4 with texture_combine_EXT (impl of D3DTOP_DISABLE, D3DTOP_MODULATE for NV_texture_combine_4) - if shaders disabled declare to support 0 for MaxVertexShaderConst. * dlls/user/tests/dialog.c: Kevin Koltzau Remove part of test that crashes win95. * dlls/oleaut32/oleaut.c, dlls/oleaut32/oleaut32.spec: Alex Villacís Lasso Added stub for GetRecordInfoFromGuids. * libs/wine/mmap.c: Kevin Koltzau Fixed last mmap issue with mingw windows build. * dlls/dmime/segment.c: Raphael Junqueira Support loading of Wave segments on IDirectMusicSegment8. * dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c: Christian Costa Fixed joystick device type for dinput8. * dlls/shell32/control.c: Stefan Leichter Moved stub of Control_FillCache_RunDLL from ascii to unicode. * dlls/dmime/performance.c: Raphael Junqueira - don't use a stupid "while (1);" thread when DMPerformance MSG Queue empty - try to use latency and MSG synchro for timeout (but as i'm not a sound expert don't expect too much) 2004-05-25 Alexandre Julliard * libs/wine/mmap.c: Portability fix. * include/wine/port.h, libs/wine/config.c, libs/wine/loader.c: Moved environ definition to port.h. * controls/edit.c: Ulrich Czekalla Fix update region calculation for the case where a word wraps up to the previous line. * include/commctrl.h: Jon Griffiths Add a couple of missing listview macros. * windows/mdi.c: Dmitry Timoshkov Do not activate an MDI child if the child is invisible. * tools/winegcc/winegcc.c: Jon Griffiths Always use $(CC) for building the generated .spec.c file. * dlls/kernel/heap.c: Allocate the shared heap inside the Win9x shared memory area. * dlls/kernel/kernel_main.c: Only create the shared heap when Windows version is Win9x. * libs/wine/config.c, libs/wine/loader.c: Emmanuel Maillard Added environ support for Darwin. * controls/static.c: Oleg Prokhorov Removed DT_NOCLIP format flag. * controls/static.c: Rein Klazes When repainting a static control, with SS_BITMAP style, do not erase the background. Keep sending the WM_CTLCOLORSTATIC notification as Windows does. * libs/wine/port.c: Emmanuel Maillard Adjust stack pointer in wine_switch_to_stack to prevent segmentation fault on darwin/ppc. * dlls/wininet/ftp.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/utility.c, dlls/wininet/wininet.spec: Kevin Koltzau Move all FTP functions to unicode. Improve FTP LIST parsing. * dlls/kernel/process.c, dlls/ntdll/virtual.c, include/wine/library.h, libs/wine/Makefile.in, libs/wine/loader.c, libs/wine/mmap.c, libs/wine/port.c, libs/wine/wine.def, libs/wine/wine.map, loader/main.c: Added support for managing reserved memory areas in libwine and ntdll. Try to reserve everything above 0x80000000 on startup. * dlls/shlwapi/stopwatch.c: Stefan Leichter Moved stub of StopWatch from ascii to unicode. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: William Lahti Implemented AreAnyAccessesGranted. * dlls/kernel/tests/file.c: Dmitry Timoshkov Avoid a failure under Win9x. 2004-05-24 Alexandre Julliard * dlls/dbghelp/elf_module.c: Dmitry Timoshkov Fix elf_read_wine_loader_dbg_info() for the !__ELF__ case. * dlls/user/tests/msg.c: Dmitry Timoshkov Add message test for DrawMenuBar. * dlls/user/tests/win.c: Dmitry Timoshkov Add a test for focus change on ShowWindow(child, SW_HIDE). * dlls/dbghelp/dbghelp.c, dlls/dbghelp/elf_module.c, dlls/dbghelp/module.c, dlls/dbghelp/msc.c, dlls/dbghelp/pe_module.c, dlls/dbghelp/symbol.c, dlls/dbghelp/type.c: Eric Pouech - some more fixes to elf module's symbol table handling (including static/global diff for variables) - now re-synchronizing ELF list in all cases (no longer depending on RT_CONSISTENT state) - now should be able to differentiate properly a native from a builtin module - in symbol lookup, now using size of symbol (if known) - SymGetTypeInfo now checks and uses BaseAddress - in MSC-CV, really generate thunk objects * dlls/ntdll/directory.c: Dmitry Timoshkov Cygwin's mntent.h requires stdio.h to be included first. * dlls/kernel/tests/pipe.c: Dmitry Timoshkov Explicitly specify name of the pipe in the pipe test. * dlls/kernel/toolhelp.c: Eric Pouech Some fixes to module browsing. 2004-05-22 Alexandre Julliard * server/fd.c: Make sure we don't truncate the file on open before we have checked the sharing modes (thanks to Dmitry Timoshkov for the test case). * dlls/kernel/tests/file.c: Dmitry Timoshkov Add a test for opening an already opened file for writing in a not compatible sharing mode. * dlls/kernel/file.c: Christian Costa Added some traces to kernel file functions. 2004-05-21 Alexandre Julliard * dlls/kernel/tests/virtual.c, dlls/kernel/virtual.c, dlls/ntdll/virtual.c, include/wine/list.h: Converted the memory views list to use the standard functions from wine/list.h. Restructured some functions to always return proper NT status codes. A couple of optimizations. Added a few tests for file mappings. * dlls/dplay/.cvsignore, dlls/dplay/Makefile.in, dlls/dplay/version.rc, dlls/qcap/qcap_main.c, documentation/samples/config: Tom Wickline - add version info to dplay.dll - add licence info to qcap - add d3drm and dpnhpast to dll overrides * dlls/winmm/tests/capture.c, dlls/winmm/tests/wave.c, dlls/winmm/tests/winmm_test.h: Robert Reif Fixed a bug I introduced in waveInGetDevCapsA(WAVE_MAPPER) test. Moved format structure array to header file and restored NB_WIN_FORMATS macro to calculate array size. Added more error results and used macro as suggested by Andreas Mohr. Cleaned up error result printing to be more consistent. * dlls/d3d8/d3dcore_gl.h, dlls/d3d8/directx.c: Christian Costa Added retrieval of ATI info. * dlls/d3d8/surface.c, dlls/ole32/compobj.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/filemoniker.c, dlls/ole32/ifs.c, dlls/ole32/itemmoniker.c, dlls/ole32/marshal.c, dlls/ole32/moniker.c, dlls/ole32/ole2.c, dlls/ole32/ole2impl.c, dlls/ole32/oleproxy.c, dlls/ole32/storage32.c: Marcus Meissner Revert broken strict aliasing fix. * objects/font.c: Rein Klazes Let GetFontLanguageInfo() return the GCP_REORDER flag only in case the DC alignment is right-to-left. * dlls/user/tests/class.c: Dmitry Timoshkov Add a test for window's hinstance. 2004-05-20 Alexandre Julliard * dlls/winmm/tests/.cvsignore, dlls/winmm/tests/Makefile.in, dlls/winmm/tests/capture.c, dlls/winmm/tests/wave.c, dlls/winmm/tests/winmm_test.h: Francois Gouget Split off the winmm capture test. * dlls/kernel/tests/module.c: Don't use the Wine debug functions. Fixed wrong A/W length checks. * dlls/user/tests/msg.c: Dmitry Timoshkov - Make new tests pass on win2k SP4 and win95 OSR2. - Add logging of some useful messages in the parent window. - Add logging of wparam for WM_IME_SETCONTEXT. * dlls/winmm/tests/wave.c: Francois Gouget Add a 5 second test tone to help debug issues with the tone duration and help detect stutter issues. Add explanations describing the interactive test. * dlls/winmm/wineoss/audio.c: Francois Gouget Use triggers to disable the sound input/output side we don't care about when in pseudo fullduplex mode. * dlls/dmime/dmime_private.h, dlls/dmime/graph.c: Raphael Junqueira Better handling of User IDirectMusicTools. 2004-05-19 Alexandre Julliard * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/stateblock.c, dlls/d3d8/surface.c, dlls/d3d8/utils.c: Raphael Junqueira - first draft of D3DCLIPSTATUS8 handling (not really used for now) - add a new DEBUG_SINGLE_MODE #define (for debug caps needs) - better traces for surface dumping - much better Texture support on Utilities functions and on CheckDeviceType - D3DRS_ZVISIBLE as unsupported (as seen in msdn) * dlls/dmime/audiopath.c, dlls/dmime/dmime_private.h, dlls/dmime/segtriggertrack.c, dlls/dmime/tempotrack.c: Raphael Junqueira - Better loading of IDirectMusicSegTriggerTrack (internal list of subtracks) - Better stubs for IDirectMusicTempoTrack::InitPlay and IDirectMusicTempoTrack::EndPlay (InitPlay should return a valid memory pointer so allocate it). Should be extended for all IDirectMusicTrack objects. * dlls/devenum/devenum_main.c, dlls/dsound/dsound_main.c, dlls/kernel/console.c, dlls/kernel/module.c, dlls/kernel/ne_module.c, dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/module.c, dlls/kernel/version.c, dlls/msvcrt/data.c, dlls/psapi/psapi_main.c, dlls/rpcrt4/cpsf.c, dlls/shell32/iconcache.c, dlls/shell32/shell32_main.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/url.c, dlls/user/hook.c, dlls/version/info.c, dlls/winmm/playsound.c, dlls/x11drv/x11drv_main.c, programs/winemenubuilder/winemenubuilder.c: Eric Pouech GetModuleFileName[AW] doesn't terminate the string if the buffer is too small. 2004-05-18 Alexandre Julliard * dlls/dbghelp/dbghelp.c, dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/elf_module.c, dlls/dbghelp/module.c, dlls/dbghelp/msc.c, dlls/dbghelp/pe_module.c, dlls/dbghelp/stabs.c, dlls/dbghelp/storage.c, dlls/dbghelp/symbol.c, dlls/dbghelp/type.c, include/cvconst.h, include/dbghelp.h: Eric Pouech - removed file extension from module (and suffixed ELF modules with ) - added generic thunk support for builtin modules (with the help of winebuild's new markers for thunks) - for ELF modules, no longer generating SymTagPublicSymbols objects from ELF public symbol table - because of last point, rewrote stabs symbols' address and size management by parsing directly the symtab instead of using SymTagPublicSymbols objects - cleaned up SymTagPublicSymbols object names for native modules - fixed off by one errors in array management - SymLoadModule(hProc,0,0,0,0) (wine extension) will force the resynchronization of internal ELF modules list) - new option (0x40000000) for Sym{Get|Set}Option to report ELF modules in SymEnumModules (as well as loader with ) - some minor internal clean-ups - enhanced const correctness * tools/winebuild/import.c, tools/winebuild/parser.c, tools/winebuild/relay.c, tools/winebuild/res32.c, tools/winebuild/spec16.c: Eric Pouech - added size information about most of the generated thunks (import, 16/32 relay...) - marked the wine thunks by inserting specific symbols (to be managed by wine's dbghelp) - removed the stabs generation: + mostly used by winedbg, and the previous item will replace it for dbghelp + still broken for gdb anyway - enhanced const correctness * windows/dialog.c: Activate another window when the dialog gets hidden in EndDialog. * dlls/user/tests/msg.c, dlls/user/tests/resource.rc: Added some optional messages to make all tests succeed on XP. Added tests for EndDialog and a simple modal dialog. * dlls/gdi/painting.c, dlls/kernel/registry16.c, dlls/kernel/sync.c, include/winbase.h, include/wincon.h, include/wingdi.h: Eric Pouech Added some missing prototypes. * dlls/wineps/clipping.c: Huw Davies When building PostScript paths with the *_PATH escapes, don't clip the path building primitives. The clipping comes into play when we actually draw something. * dlls/msi/.cvsignore, dlls/msi/Makefile.in, dlls/msi/version.rc: Christian Costa Added version info to MSI dll. * configure, configure.ac, dlls/msvcrtd/Makefile.in, dlls/msvcrtd/debug.c, dlls/msvcrtd/msvcrtd.spec, dlls/msvcrtd/tests/.cvsignore, dlls/msvcrtd/tests/Makefile.in, dlls/msvcrtd/tests/debug.c: Patrik Stridvall Implemented the debug version of operator new (C++). * DEVELOPERS-HINTS, configure, configure.ac, dlls/Makefile.in, dlls/d3drm/.cvsignore, dlls/d3drm/Makefile.in, dlls/d3drm/d3drm.spec, dlls/d3drm/d3drm_main.c, dlls/d3drm/version.rc: Ivan Leo Murray-Smith Added empty (stubs in spec only) d3drm. * windows/win.c: Dmitry Timoshkov Only child windows receive WM_SHOWWINDOW in DestroyWindow() under Windows. * dlls/user/tests/win.c: Added a couple of tests for SetActiveWindow. * dlls/d3d8/directx.c, dlls/d3d8/shader.c: Christian Costa Enabled pixel shaders 1.4. Fixed handling of macros at the end of vertex shaders. Handled NOP and PHASE instructions. Fixed versions of several instructions. Improved pixel shader dump traces. Fixed write mask. Fixed X2 and -X2 source modifiers and implements DZ and DW ones. Implemented texcrd, texld, texm3x3pad, texm3x3tex, texm3x3spec and texm3x3vspec instructions (and partially texbem). Added cnd, cmp and lrp instructions. Rewrite of the "autoparam" code so we can add more complicated instructions (only cnd and cmp as well as simple instructions use that code at the moment). * dlls/comctl32/toolbar.c: Robert Shearman - TBN_DRAGOUT and NM_RDBLCLK notifications. - Remove unneeded member of private toolbar struct. 2004-05-17 Alexandre Julliard * dlls/ntdll/directory.c: Added support for mapping UNC filenames to the dosdevices directory. * dlls/dbghelp/symbol.c, dlls/dsound/capture.c, dlls/dxdiagn/dxdiag_main.c, dlls/dxdiagn/regsvr.c, dlls/kernel/wowthunk.c, dlls/mpr/mpr_main.c, dlls/msi/msi.c, dlls/msvcrt/dir.c, dlls/msvcrt/misc.c, dlls/ntdll/thread.c, dlls/ole32/storage32.c, dlls/rpcrt4/rpc_binding.c, dlls/secur32/secur32.c, dlls/secur32/wrapper.c, dlls/setupapi/devinst16.c, dlls/setupapi/setupx16.h, dlls/shell32/shellord.c, dlls/uxtheme/uxtheme.spec, dlls/wininet/wininet.spec, dlls/x11drv/x11drv.spec: Patrik Stridvall Fixed some issues found by winapi_check. * dlls/comctl32/comctl32.spec, dlls/comctl32/string.c: Patrik Stridvall StrSpnW doesn't exist in comctl32.dll but StrCSpnW does. * dlls/urlmon/umon.c, include/urlmon.h, include/urlmon.idl: Patrik Stridvall Added the IInternetSession interface. * tools/winapi/win16.api, tools/winapi/win32.api, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - API files update. - Minor bug fixes. * dlls/msvcrt/scanf.h: Raphael Junqueira Fix scanf handling of float numbers (beginning with a dot). * controls/combo.c: Thomas Weidenmueller Combobox popups should be always-on-top. * dlls/d3d8/drawprim.c: Christian Costa Handle XYZRHW vertex mode correctly in slow path. * dlls/dmime/dmime_private.h, dlls/dmime/segment.c, dlls/dmime/tempotrack.c: Raphael Junqueira - First drafts for IDirectMusicSegment::GetParam and IDirectMusicTempoTrack::GetParam (need modif on Load). - Return value fixes for GetClassID of TempoTrack and Segment. * dlls/comctl32/comctl32.h, dlls/comctl32/commctrl.c: Filip Navara - Let the subclassing stack grow the opposite way to make the code more transparent. - Remove SubclassWndProc and move its logic to DefSubclassProc. * dlls/advapi32/crypt.c: Juan Lang - If a crypto provider does not have a Signature in the registry, check for the presence of the SigInFile value before failing. - Get rid of a couple redundant assignments. 2004-05-14 Alexandre Julliard * DEVELOPERS-HINTS, configure, configure.ac, dlls/kernel/Makefile.in, dlls/ntdll/file.c, include/wine/server_protocol.h, server/Makefile.in, server/protocol.def, server/request.h, server/smb.c, server/trace.c: Removed the no longer used SMB file I/O support, we can't do reliable file I/O in user space anyway. * dlls/ntdll/path.c, dlls/ntdll/tests/path.c: Better fix for removing trailing spaces in RtlGetFullPathName_U. Need to remove trailing dots too (reported by Ken Belleau). * dlls/kernel/Makefile.in, dlls/kernel/kernel_private.h, dlls/kernel/process.c, misc/registry.c: Use environment variables instead of config file entries to specify path, profile, temp, windows and system directories. Convert existing config file entries to registry values under HKCU\Environment. * tools/wine.inf: Added Environment section. Fixed path of shell folders key in HKEY_USERS. * dlls/amstream/version.rc, dlls/d3d8/version.rc, dlls/d3d9/version.rc, dlls/d3dim/version.rc, dlls/ddraw/version.rc, dlls/devenum/devenum.rc, dlls/dinput/version.rc, dlls/dinput8/version.rc, dlls/dmband/version.rc, dlls/dmcompos/version.rc, dlls/dmime/version.rc, dlls/dmloader/version.rc, dlls/dmscript/version.rc, dlls/dmstyle/version.rc, dlls/dmsynth/version.rc, dlls/dmusic/version.rc, dlls/dmusic32/version.rc, dlls/dplayx/version.rc, dlls/dpnet/version.rc, dlls/dpnhpast/version.rc, dlls/dsound/version.rc, dlls/dswave/version.rc, dlls/dxdiagn/version.rc, dlls/msdmo/rsrc.rc, dlls/qcap/.cvsignore, dlls/qcap/Makefile.in, dlls/qcap/version.rc, dlls/quartz/version.rc: Ivan Leo Murray-Smith Updated the version info of all DirectX dlls to the version numbers of DirectX 9.0b for Windows 2000/XP. * dlls/dmime/dmime_private.h, dlls/dmime/segment.c, dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/style.c: Raphael Junqueira - Parse DMStyle motifs (ie patterns) and bands (fill lists). - Implement IDirectMusicSegment8::InsertTrack and IDirectMusicSegment8::RemoveTrack (now EnumTrack GetParam, and GetTrack should be easy to do). * documentation/faq.sgml: Tom Wickline Some updates to the faq. * dlls/kernel/process.c: Set environment variables from the HKCU\Environment key too. Moved current directory initialisation to process.c. Make sure to always pass the correct current directory in the process parameters for child processes. * dlls/dmband/Makefile.in, dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_main.c, dlls/dmband/dmband_private.h, dlls/dmband/dmutils.c, dlls/dmband/dmutils.h, dlls/dmime/Makefile.in, dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmime/dmutils.c, dlls/dmime/dmutils.h, dlls/dmime/segment.c, dlls/dmime/segtriggertrack.c, dlls/dmstyle/Makefile.in, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/dmutils.c, dlls/dmstyle/dmutils.h, dlls/dmstyle/style.c: Raphael Junqueira - Add the same new files (dmutils.c/dmutils.h) into dmime,dmband and dmstyle directory that share the debug and helper functions for dmusic dlls (as Rok's idea for dmloader). - Use new helpers functions to load References on IDirectMusicSegTriggerTrack loading (currently they leak). - IDirectMusicStyle (almost partial) loading. - Minor fixes. * dlls/kernel/tests/path.c: Fixed some of the GetShortPathName tests to use the short version of the current directory where needed. * dlls/winmm/tests/wave.c: Robert Reif Print human-readable capabilities flag. * server/registry.c: Make sure to save the registry files even if we failed to load them. * dlls/winmm/winearts/audio.c: Robert Reif Sample rate sanity check. Fix SMPTE time. * tools/wineinstall, tools/wineprefixcreate.in: Make wineinstall use wineprefixcreate instead of duplicating the functionality. 2004-05-13 Alexandre Julliard * dlls/kernel/change.c, dlls/kernel/file.c, dlls/kernel/kernel_private.h, dlls/kernel/module.c, dlls/kernel/path.c, dlls/kernel/process.c, dlls/kernel/volume.c: Added proper support for switching file APIs between ANSI and OEM codepages. Optimized some of the A->W conversions by using the per-thread Unicode string buffer. * dlls/winmm/tests/wave.c: Robert Reif waveOutGetDevCapsA can fail with MMSYSERR_BADDEVICEID or MMSYSERR_NODRIVER when no drivers present. Add better error messages. * dlls/dinput8/version.rc: Ivan Leo Murray-Smith Update to version 9. * objects/enhmetafile.c: Dmitry Timoshkov Accept EMR_EXTTEXTOUT records with emrtext.offDx set to 0. * DEVELOPERS-HINTS: Tom Wickline Add new dlls and fix alphabetical location of a couple dlls. * dlls/ntdll/path.c, dlls/ntdll/tests/path.c: Remove trailing spaces from the filename in RtlGetFullPathName_U. * dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_main.c, dlls/dmband/dmband_private.h, dlls/dmime/segment.c, dlls/dmime/segtriggertrack.c, dlls/dmstyle/chordtrack.c: Raphael Junqueira - Fewer FIXMEs. - Better traces. - IDirectMusicBand loading fixes: - load correctly instruments (and References - load IDirectMusicCollection object (using DMLoader) - insert the two on the list - IDirectMusicBandTrack loading fixes (fill OBJECTDESC and parse UNFO infos). * documentation/faq.sgml: Tom Wickline Some updates to the faq. * programs/winecfg/drive.c: Chris Morgan Free up the original buffer pointer instead of the one we advanced. Only call getDrive() once inside of addDrive(). * dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h: Kevin Koltzau Prevent memory leak and superfluous status notifications. * dlls/msvcrt/file.c: Fixed copy/paste bug in previous change. * dlls/dmloader/Makefile.in, dlls/dmloader/classfactory.c, dlls/dmloader/container.c, dlls/dmloader/debug.c, dlls/dmloader/debug.h, dlls/dmloader/dmloader_main.c, dlls/dmloader/dmloader_private.h, dlls/dmloader/loader.c, dlls/dmloader/loaderstream.c: Rok Mandeljc dmloader: complete rewrite and full implementation. 2004-05-12 Alexandre Julliard * dlls/dmband/band.c: Raphael Junqueira IDirectMusicBand loading. * dlls/advapi32/crypt.c: Mike McCormack Pass crypt provider and type to CPAcquireContext. * dlls/msvcrt/math.c, dlls/msvcrt/msvcrt.spec, dlls/msvcrt20/msvcrt20.spec, dlls/msvcrt40/msvcrt40.spec, dlls/msvcrtd/msvcrtd.spec: Fixed the prototypes of the _adj_fdiv_* functions. * dlls/dmband/bandtrack.c, dlls/dmband/dmband_private.h, dlls/dmime/segment.c, dlls/dmime/segtriggertrack.c, dlls/dmime/tempotrack.c, dlls/dmstyle/chordtrack.c, dlls/dmstyle/styletrack.c: Raphael Junqueira - Segment loading fix (correct FOURCC_RIFF tracks handling). - IDirectMusicStyleTrack loading (need DM References). - IDirectMusicBandTrack loading (need IDirectMusicBand loading). * dlls/dinput8/.cvsignore, dlls/dinput8/Makefile.in, dlls/dinput8/version.rc: Tom Wickline Added version info. * dlls/wineps/escape.c: Huw Davies The PostScript clip operator doesn't clear the current path, so after the CLIP_TO_PATH escape we want to clear it ourselves. * dlls/comctl32/toolbar.c: Maxime Bellengé Add DT_END_ELLIPSIS as defaut style for text. * dlls/wininet/internet.c: Kevin Koltzau Properly retrieve and release handles. * dlls/msvcrt/data.c, dlls/msvcrt/file.c, include/msvcrt/stdio.h: Eric Pouech - rewrote the file code so that streams manage low level file desc (the code was written the other way around) - reworked the flag handling code (now the stream._flag is closer to what MS does) - simplified temp files handling by using FILE_FLAG_DELETE_ON_CLOSE in CreateFile - fixed a couple of bugs * dlls/commdlg/filedlg.c: Wolfgang Schwotzer Support lpstrCustomFilter and return nFilterIndex in file dialog. * tools/wine.inf: Robert Reif Adds msg711 winemp3 to list of codecs. 2004-05-11 Alexandre Julliard * dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmime/performance.c, dlls/dmime/segment.c, dlls/dmime/segtriggertrack.c, dlls/dmscript/script.c, dlls/dmstyle/chordtrack.c, dlls/dmstyle/dmstyle_private.h, include/dmusicf.h: Raphael Junqueira - Typo fix in dmusicf.h. - IDirectMusicChordTrack loading. - Many IsDirty and GetClassID stubs. * dlls/imagehlp/integrity.c: Mike McCormack Implement ImageEnumerateCertificates and ImageGetCertificateHeader. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Fix Croatian keyboard layout to better match the XFree86 one. * dlls/user/tests/win.c, windows/win.c: Dmitry Timoshkov - Add a test for GetWindowInfo, it should not check cbSize member of the WINDOWINFO structure. - Add tests for window state at the time the system calls HCBT_CREATEWND (failing under Wine at the moment). * dlls/comctl32/listview.c: Ulrich Czekalla Handle case where iterator range contains 0 elements. * dlls/ntdll/server.c, libs/wine/config.c, tools/wineprefixcreate.in: Initial support for automatically creating the ~/.wine directory on startup. * windows/syscolor.c, windows/sysmetrics.c: Jake Hamby Several of the registry keys for system colors and system metrics were incorrect. * dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/wineoss/audio.c: Robert Reif Add an interface name to wineoss, winealsa, winearts and winejack. Add support for wave interface message where missing. * dlls/dmime/audiopath.c, dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmime/segment.c, dlls/dmime/segtriggertrack.c, dlls/dmime/tempotrack.c: Raphael Junqueira - Many IDirectMusicSegment fixes (loading). - AudioPath crash fix (don't use DSound APIs if buffer is null). - Move generic functions to dmime_main.c for future reuse (from segment.c). - IDirectMusicTempoTrack loading (many tempo case must be handled). - IDirectMusicSegTriggerTrack loading implementation (now DMRF/DirectMusic References loading should be done). * documentation/threading.sgml, documentation/wine-devel.sgml: Mike Hearn Add some documentation on how threading is implemented in Wine. Covers basic Win32 threading primitives, syslevels, the TEB and pthreads vs kthreads. 2004-05-10 Alexandre Julliard * dlls/advapi32/advapi.c: Fixed buffer size handling in GetUserNameA (reported by Hannu Valtonen). * dlls/comctl32/comctl32.h, dlls/comctl32/comctl_Cn.rc, dlls/comctl32/comctl_De.rc, dlls/comctl32/comctl_En.rc, dlls/comctl32/comctl_Es.rc, dlls/comctl32/comctl_Fr.rc, dlls/comctl32/comctl_It.rc, dlls/comctl32/comctl_Ja.rc, dlls/comctl32/comctl_Ko.rc, dlls/comctl32/comctl_Nl.rc, dlls/comctl32/comctl_Pl.rc, dlls/comctl32/comctl_Pt.rc, dlls/comctl32/comctl_Ru.rc, dlls/comctl32/comctl_Si.rc, dlls/comctl32/comctl_Th.rc, dlls/comctl32/comctl_Uk.rc, dlls/comctl32/propsheet.c: Maxime Bellengé Implemented PSH_WIZARD97_OLD and PSH_WIZARD97_NEW property sheet styles. * dlls/d3d8/device.c: Christian Costa Fixed W buffer handling. * windows/clipboard.c: Ulrich Czekalla Fix clipboard regression. * dlls/user/tests/msg.c: Dmitry Timoshkov Add more ShowWindow/SetWindowPos tests. * dlls/wininet/internet.c: Kevin Koltzau Cleanup conversion from A->W. * include/thread.h: Eric Pouech Better have internal & external TEB definitions have the same size. * include/winternl.h: Eric Pouech Fixed a missing typedef. * dlls/d3d8/d3d8_main.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/d3dcore_gl.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/drawprim.c, dlls/d3d8/shader.c: Christian Costa Implemented pixel shaders using ARB_fragment_program extension. * dlls/msacm/format.c, dlls/msacm/pcmconverter.c, dlls/msacm/tests/msacm.c: Robert Reif More parameter checking fixes with tests. * dlls/oleaut32/olepicture.c: Maxime Bellengé Correctly create the byte array of gif images to match what CreateDIBitmap expects. * dlls/dmime/audiopath.c, dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmime/performance.c, dlls/dmime/segment.c, dlls/dmscript/dmscript_private.h, dlls/dmscript/script.c: Raphael Junqueira - Release DSBuffer on AudioPath destruction. - Semi stub for AudioPath Activate. - IDirectMusicPerformance8::CreateAudioPath stub. - Most of the IDirectMusicSegment8_[Set,Get]* (using header). - Load of Streamer IDirectMusicSegment8 header. * include/objidl.h, include/objidl.idl: Jake Hamby IMessageFilter::HandleInComingCall() should be HandleIncomingCall(). * dlls/tapi32/line.c: Rein Klazes Implementation of lineGetTranslateCaps. * dlls/comctl32/comctl_Uk.rc, dlls/commdlg/cdlg_Uk.rc, dlls/shell32/shell32_Uk.rc, dlls/user/resources/user32_Uk.rc: Ilya Korniyko Encoding fixes in Ukrainian translation. 2004-05-07 Alexandre Julliard * documentation/samples/config, include/wine/server_protocol.h, misc/registry.c, server/protocol.def, server/registry.c, server/request.h, server/trace.c: Moved loading of the home registry files to the server, there's no real need to make these configurable. * dlls/advapi32/advapi.c, dlls/ntdll/reg.c, dlls/ntdll/sec.c: Use the Unix codepage to convert the user name to Unicode. * dlls/mpr/wnet.c: Krishna Murthy WNetGetConnection(): use QueryDosDevice to return a fake remote name instead of the drive label. * dlls/urlmon/umon.c, include/urlmon.h, include/urlmon.idl: Kevin Koltzau Implemented IsAsyncMoniker. * dlls/user/tests/win.c, dlls/x11drv/window.c, windows/winpos.c: Dmitry Timoshkov Make WM_GETMINMAXINFO default behaviour more like the Windows one. * dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c: Matthew Davison Update spec file. * controls/edit.c: Krishna Murthy EM_UNDO should always return TRUE for single line edit. 2004-05-06 Alexandre Julliard * README, dlls/kernel/Makefile.in, dlls/kernel/process.c, documentation/README.de, documentation/README.fr, documentation/README.it, documentation/README.pt_br, documentation/running.sgml, documentation/wine.conf.man, documentation/wine.man.in, include/options.h, misc/options.c, tools/winegcc/winegcc.c: Dimitrie O. Paun Remove the last remaining wine options when running programs. Keep support for --help, and --version when they are the only options on the command line. * programs/winecfg/drive.c: Fixed crash when selecting the drive letter combo box. * server/registry.c: Removed handling of special root keys, this is done by the client now. * dlls/user/message.c: Andrey Panov In get_buffer_space() function, HeapReAlloc() will not allocate memory if passed *buffer value is NULL. * dlls/x11drv/clipboard.c, dlls/x11drv/x11drv.h, include/user.h, windows/clipboard.c: Ulrich Czekalla Allow applications, under certain conditions, to set data into the clipboard even if they are not the clipboard owners. * dlls/iphlpapi/tests/iphlpapi.c: Dmitry Timoshkov It's OK to have dwNumEntries == 0 if there is no network connection. * dlls/dmime/dmime_private.h, dlls/dmime/performance.c: Raphael Junqueira - PMsg processing thread (currently only Notifications handling) - a chained list bug - thread-safe lists - real close on CloseDown 2004-05-05 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20040505. ---------------------------------------------------------------- 2004-05-05 Alexandre Julliard * documentation/README.de, documentation/README.fr, documentation/README.it, documentation/README.pt_br: Vincent Béron Keep the translated READMEs in sync with the English one. * dlls/quartz/Makefile.in, dlls/quartz/main.c, dlls/quartz/quartz_private.h, dlls/quartz/regsvr.c, dlls/quartz/systemclock.c: Raphael Junqueira Implemented SystemClock (IReferenceClock by dshow). * controls/scroll.c: Remove bitmaps that were only used for the 3.1 look. * dlls/commdlg/filedlg.c: Wolfgang Schwotzer Update OFN_READONLY flag when closing file dialog. * tools/wineprefixcreate.in: Added options to update an existing WINEPREFIX directory and to run from inside a Wine source tree. * dlls/kernel/process.c: Set additional environment variables at startup from HKLM\System\CurrentControlSet\Control\Session Manager\Environment. * dlls/winmm/winealsa/audio.c: James Courtier-Dutton Updated to the new alsa api. * dlls/user/tests/msg.c: A couple of changes to avoid some failures on XP. * dlls/setupapi/dirid.c: Added support for DIRID_USERPROFILE. * controls/icontitle.c: Steven Edwards Remove unused header. * programs/winetest/main.c: Ferenc Wagner The msacm directory is special. * dlls/oleaut32/tests/vartype.c: Jon Griffiths Trace the system and user locales upon startup. Print the returned string if VarDateChangeTypeEx fails. * dlls/dmime/dmime_private.h, dlls/dmime/performance.c: Raphael Junqueira - fix cRef Leak (init to 1, should be 0) of IDMPerformance - SendPMsg implementation - begin of Performance Processing queues implementation * dlls/ntdll/debugtools.c, dlls/ntdll/loader.c: Initialize ntdll debugging earlier on so that we can trace the server startup too. * dlls/kernel/console.c, include/wincon.h: Replaced LPINPUT_RECORD by PINPUT_RECORD. * DEVELOPERS-HINTS, README, documentation/PACKAGING: Steven Edwards Minor documentation updates. * dlls/ntdll/env.c: Fixed RtlSetEnvironmentVariable to deal properly with Unicode strings that aren't null-terminated. * dlls/ntdll/tests/rtlstr.c: Francois Gouget We should not make deststring static since we count on it being fresh and clean when entering test_RtlCopyString(). * dlls/user/tests/msg.c: Francois Gouget Add trailing '\n's to ok() calls. * dlls/dmime/audiopath.c, dlls/dmime/dmime_private.h, dlls/dmime/performance.c, dlls/dmime/segment.c: Raphael Junqueira - fix DirectSound Creation by dmusic (fix recent Unreal2 regression) using Robert Reif patch - use of ForegroundWindow if hWnd is NULL (as specified on msdn docs) - begin of Performance PMsg implementation (we should use a processing thread) - better Segment loading - some stubs for IsDirty (always FALSE) * dlls/dmscript/script.c: Raphael Junqueira Make IDirectMusicScriptImpl_IDirectMusicScript_CallRoutine return S_OK (with E_NOTIMPL we have some apps crashes). * dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c, include/urlmon.h, include/urlmon.idl: Kevin Koltzau Implemented CoInternetCombineUrl and CoInternetCompareUrl. * dlls/d3d8/device.c, dlls/winmm/wineoss/audio.c, documentation/multimedia.sgml, programs/taskmgr/taskmgr.c: Francois Gouget Assorted spelling fixes. * dlls/shlwapi/tests/string.c: Jakob Eriksson Windows 95 has no StrRetToBSTR, add dynamic lookup to avoid blocking dialog. * dlls/user/tests/input.c: Jakob Eriksson Prevent Windows 95 from blocking on linking issue. * dlls/winmm/winejack/audio.c: Francois Gouget winejack.drv only supports 16bit sound so we can simplify the sound format checks. * dlls/winmm/winearts/arts.c: Francois Gouget If ARTS_WaveInit() failed then transmit the failure upstream in ARTS_DriverProc(). * programs/winetest/Makefile.in: Robert Reif Added msacm32 to the tests. * dlls/winmm/lolvldrv.c: Francois Gouget Taking into account wavemap and midimap there can be up to 8 output drivers. So increase the size of the MMDrvs array accordingly. Skip already loaded drivers before complaining (asserting) that they don't fit in the MMDrvs array. 2004-05-04 Alexandre Julliard * dlls/user/tests/win.c: Some more tests for focus behavior when hiding/showing windows. * dlls/comctl32/header.c, dlls/gdi/printdrv.c, dlls/iphlpapi/ipstats.c, dlls/kernel/tests/mailslot.c, dlls/kernel/tests/pipe.c, dlls/msvcrt/tests/file.c, dlls/msvcrt/tests/scanf.c, dlls/msvcrt/tests/string.c, dlls/ole32/storage32.c, dlls/shlwapi/reg.c, dlls/urlmon/umon.c, dlls/user/tests/resource.c, dlls/wineps/download.c, dlls/wineps/pen.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/type42.c, dlls/x11drv/wineclipsrv.c, dlls/x11drv/xrender.c, programs/clock/main.c, programs/cmdlgtst/cmdlgtst.c, programs/wcmd/batch.c, programs/wcmd/builtins.c, programs/wcmd/directory.c, programs/wcmd/wcmd.h, programs/wcmd/wcmdmain.c, programs/winetest/main.c, programs/winetest/send.c, programs/winhelp/string.c, programs/winhelp/winhelp.h, tools/widl/widl.c, tools/wmc/mcl.c, tools/wmc/mcy.y, tools/wmc/utils.c, tools/wrc/readres.c, tools/wrc/wrc.c: Francois Gouget Make our ascii strings static const. Remove a couple string variables that were used only once and use the string literal directly. * dlls/ole32/compobj.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/filemoniker.c, dlls/ole32/ifs.c, dlls/ole32/itemmoniker.c, dlls/ole32/marshal.c, dlls/ole32/moniker.c, dlls/ole32/ole2.c, dlls/ole32/ole2impl.c, dlls/ole32/oleproxy.c, dlls/ole32/storage32.c: Marcus Meissner Fixed strict aliasing issues in dlls/ole32. * dlls/x11drv/x11drv_main.c: Don't close the current thread display on process exit, we don't close the other ones anyway. Should avoid XRender error in metafile test. * programs/winecfg/En.rc, programs/winecfg/Makefile.in, programs/winecfg/drive.c, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h: Chris Morgan Implemented an array of 26 drives and interface functions for adding, copying, moving and deleting drives. Added a "Show/Hide Advanced" button in the drive edit dialog that toggles the display of advanced options and resizes/moves controls. Disable the 'autodetect' radio button in the drive edit dialog until we have autodetection support. Map window 'x' button to dialog close. * programs/regedit/En.rc, programs/regedit/Es.rc, programs/regedit/Fr.rc, programs/regedit/It.rc, programs/regedit/Nl.rc, programs/regedit/Pl.rc, programs/regedit/Pt.rc, programs/regedit/Ru.rc, programs/regedit/Si.rc, programs/regedit/childwnd.c, programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/listview.c, programs/regedit/main.c, programs/regedit/main.h, programs/regedit/resource.h, programs/regedit/rsrc.rc: Krzysztof Foltman - F2 is now an accelerator for rename - panel switching via TAB doesn't use IsDialogMessage anymore - focus is correctly set after main window activation (Alt+TAB etc), removed some focus-related bugs - pressing ENTER or double-clicking a value edits it - setting a value to an empty string is now allowed - adding a new value starts rename automatically - renaming a value doesn't move the cursor - removed some unnecessary code (NM_RCLICK in ListView etc) - right-click on tree view displays "New..." menu - default values are treated like in Windows RegEdit (displayed even when they aren't physically present, can't be renamed or deleted) - Polish translation had some weird characters added before Polish letters * dlls/richedit/richedit.c: Ulrich Czekalla Delegates messages directly to the edit control window proc instead of containing an edit control. Fixes problems with subclassing the richedit control. * dlls/comctl32/toolbar.c: Maxime Bellengé Add NM_RCLICK notification support for toolbars. * dlls/oleaut32/olepicture.c: Maxime Bellengé - Fix palette creation. - Fix upside down Gif. - Add support for transparent Gif. * dlls/kernel/tests/pipe.c: Avoid killing threads with TerminateThread, this can cause deadlocks. * include/axcore.idl, include/basetsd.h, include/strmif.h, include/winnt.h, include/wtypes.h, include/wtypes.idl: Explicitly specify alignment of 64-bit types. * dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, dlls/shell32/tests/generated.c, dlls/shlwapi/tests/generated.c, dlls/urlmon/tests/generated.c, dlls/user/tests/generated.c, dlls/wininet/tests/generated.c: Updated the auto-generated tests. * tools/winapi/c_type.pm, tools/winapi/tests.dat, tools/winapi/winapi_test: Hans Leidekker - Assume 8 byte maximum alignment. - Sync type testing data with the headers. 2004-05-03 Alexandre Julliard * dlls/kernel/volume.c: Make GetVolumeInformation default to reporting NTFS for non-FAT filesystems. * dlls/kernel/file.c: OF_CREATE should force write access in OpenFile. * dlls/commdlg/cdlg_Cn.rc, dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_Es.rc, dlls/commdlg/cdlg_Fr.rc, dlls/commdlg/cdlg_It.rc, dlls/commdlg/cdlg_Ja.rc, dlls/commdlg/cdlg_Ko.rc, dlls/commdlg/cdlg_Pt.rc, dlls/commdlg/cdlg_Ru.rc, dlls/commdlg/cdlg_Si.rc, dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Th.rc, dlls/commdlg/cdlg_Uk.rc, dlls/commdlg/cdlg_Zh.rc: Pavel Roskin Make the file type combobox non-editable. * include/mapidefs.h, include/mapiutil.h: Jon Griffiths Add the IMAPIProp/IPropData definitions. * include/wine/test.h: Ferenc Wagner Disable buffering of test output to keep more information in case of a crash. * dlls/mapi32/mapi32.spec, dlls/mapi32/prop.c, dlls/mapi32/tests/prop.c: Jon Griffiths Implement and test ScCopyProps/ScRelocProps. * dlls/kernel/profile.c: Aric Stewart Strip leading whitespace when adding a new value and not just when replacing a current value. * configure, configure.ac, dlls/msacm/Makefile.in, dlls/msacm/tests/.cvsignore, dlls/msacm/tests/Makefile.in, dlls/msacm/tests/msacm.c: Robert Reif Added tests for msacm32.dll. * dlls/msacm/driver.c, dlls/msacm/format.c, dlls/msacm/msacm32_main.c: Robert Reif Better function parameter checking. * dlls/commdlg/filedlg.c: Wolfgang Schwotzer Make file dialog support FNERR_BUFFERTOSMALL if buffer too small. * documentation/debugging.sgml: Andreas Mohr Use WINEDEBUG instead of --debugmsg. * dlls/kernel/tests/console.c: Jakob Eriksson Prevent from crashing/hanging in Windows 95 OSR2. * dlls/urlmon/Makefile.in, dlls/urlmon/tests/.cvsignore, dlls/urlmon/tests/Makefile.in, dlls/urlmon/tests/url.c, dlls/urlmon/umon.c: Kevin Koltzau Handle context in CreateURLMoniker. * dlls/comctl32/toolbar.c: Maxime Bellengé Fix the size of the listview items in the customize dialog. * dlls/cfgmgr32/cfgmgr32.spec: Matthew Davison Updated to include functions from windows 98SE. 2004-05-02 Alexandre Julliard * dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/drawprim.c, dlls/d3d8/surface.c: Christian Costa Jason Edmeades Fixes for rendering targets. * dlls/comctl32/rebar.c: Ge van Geldorp Always reset AUTO_RESIZE flag on exit from REBAR_ForceResize. * dlls/wineps/text.c: Gerald Pfeifer Include to obtain a prototype of abs(). * dlls/winspool/info.c: Marcus Meissner Use memcpy instead of weird casts. * dlls/comctl32/toolbar.c: Maxime Bellengé Fix TB_GETSTYLE message to return the style of the toolbar and not the style of a button. * dlls/ole32/marshal.c, dlls/ole32/ole32.spec: Marcus Meissner Implemented CoReleaseMarshalData. * dlls/shell32/autocomplete.c: Maxime Bellengé Fix a string allocation. * dlls/comctl32/treeview.c: Huw Davies Implemented TVS_NOSCROLL. 2004-05-01 Alexandre Julliard * dlls/kernel/Makefile.in, dlls/kernel/file.c, dlls/kernel/file16.c, dlls/kernel/kernel_main.c, dlls/kernel/kernel_private.h, dlls/kernel/path.c, dlls/kernel/process.c, dlls/kernel/profile.c, dlls/kernel/task.c, dlls/kernel/volume.c, dlls/kernel/vxd.c, files/directory.c, files/file.c, files/smb.c, include/file.h, misc/registry.c: Moved most remaining file functions to dlls/kernel. Removed files/file.c and include/file.h. * dlls/kernel/volume.c: Fixed last error code check in GetVolumeInformationW, opening a non-existent device returns ERROR_FILE_NOT_FOUND now. * include/wine/server_protocol.h, server/file.c, server/mapping.c, server/protocol.def, server/request.h, server/signal.c, server/trace.c: Use pread/pwrite everywhere to avoid changing the file position while the client is using it. Get rid of the no longer used truncate_file request. * dlls/kernel/file.c, dlls/ntdll/file.c, files/file.c: Reimplemented GetFileType and SetEndOfFile using ntdll functions. * libs/Makefile.in: Pierre d'Herbemont Support Darwin versioning convention. * programs/regedit/En.rc, programs/regedit/Es.rc, programs/regedit/It.rc, programs/regedit/Pl.rc, programs/regedit/rsrc.rc: Krzysztof Foltman - changed Cancel DEFPUSHBUTTON to PUSHBUTTON - fixed caption IDD_EDIT_DWORD from "Edit String" to "Edit DWORD" - added Polish translation * dlls/mapi32/mapi32.spec, dlls/mapi32/util.c, include/Makefile.in, include/xcmc.h: Chris Morgan Stub cmc_query_configuration() and add xcmc.h header file. 2004-04-30 Alexandre Julliard * dlls/kernel/file.c, dlls/kernel/sync.c, dlls/ntdll/file.c, files/file.c, include/winternl.h: Added a few more info classes in NtQueryInformationFile. Use NT file names in CreateNamedPipeW. Reimplemented GetFileInformationByHandle, GetFileSize and GetFileTime using ntdll functions. * dlls/ntdll/file.c, files/file.c: Moved support for opening named pipes to ntdll. * server/registry.c: Avoid autodetecting the prefix when loading the config file since the first key may be named 'wine'. * dlls/kernel/volume.c: Uwe Bonnes Fixed buffer overflow. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Jon Griffiths Implement VarDateFromUdateEx. * dlls/ole32/marshal.c, dlls/ole32/storage.c: Marcus Meissner Fixed lvalue casts. * dlls/ole32/ole32.spec, dlls/ole32/storage32.c, include/objbase.h: Francois Gouget Add a stub for StgCreateStorageEx(). Returns STG_E_UNIMPLEMENTEDFUNCTION as per MSDN. Fixes an error saving files in Word XP. * dlls/kernel/path.c: Use RtlDosPathNameToNtPathName_U to build the registry entries for MOVEFILE_DELAY_UNTIL_REBOOT. * dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/stack.c, dlls/dbghelp/symbol.c, dlls/dbghelp/type.c: Eric Pouech - fixed some bugs in StackWalk (claimed for but forgotten in last patch) - removed location field in symt_data, and reworked the actual location of information based on the 'kind' field - shorten debug channel name - added support for bitfield in struct:s - cleaned up source line information support - now storing constants values as VARIANT * dlls/user/tests/msg.c: Dmitry Timoshkov Replace wParam values for WM_PARENTNOTIFY message by appropriate symbolic names. * dlls/winmm/tests/wave.c: Robert Reif You have to have at least one device before you can have a default device. * dlls/shell32/autocomplete.c: Maxime Bellengé - Fix the return key handling and clean up the code. - Add support for quickComplete with Ctrl+Return. * dlls/quartz/filtergraph.c: Christian Costa Enable querying of IID_FilterGraph interface from filtergraph manager (spotted by Robert Reif). 2004-04-29 Alexandre Julliard * configure, configure.ac, dlls/ntdll/cdrom.c, dlls/ntdll/directory.c, dlls/ntdll/file.c, include/config.h.in: Added auto-detection of DOS drive devices based on finding the corresponding mount point in /etc/mtab or /etc/fstab. * dlls/kernel/heap.c: Create the system heap event before the shared mapping to avoid a race condition. * dlls/shell32/shell32.spec, dlls/shell32/shellord.c: Mike McCormack Stub implementation for SHFindFiles. * dlls/wineps/text.c, dlls/x11drv/xrender.c: Krzysztof Foltman Make sure ascent/descent values don't become negative after coordinate mapping. * dlls/user/tests/msg.c: Dmitry Timoshkov Add a test for creation of a maximized child window. * include/Makefile.in, include/pstore.h, include/pstore.idl: Mike McCormack Added pstore.h and an IDL file to generate it. * dlls/kernel/Makefile.in, dlls/kernel/process.c, dlls/kernel/volume.c, dlls/ntdll/directory.c, documentation/samples/config, documentation/wine.conf.man, documentation/wine.man.in, files/directory.c, files/drive.c, files/file.c, include/file.h, misc/registry.c: Use symlinks in dosdevices/ for the drive devices too. Store drive types in the registry instead of in the config file. Added some more code to convert existing config to the new scheme. * dlls/winmm/winealsa/audio.c: Robert Reif Forgot to limit capture sample rates. * dlls/d3d8/d3d8_private.h, dlls/d3d8/d3dcore_gl.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/drawprim.c, dlls/d3d8/surface.c, dlls/d3d8/utils.c: Raphael Junqueira - Fix compilation again using olders GL headers (glCompressedTexImage2DARB problem). - Fix typo on constant. - Detection of NVidia texture_shader and register_combiners extensions. - Begin to implement BUMPMAPPING using NVidia Texture shader extension (not really working for now). 2004-04-28 Alexandre Julliard * dlls/kernel/Makefile.in, dlls/kernel/kernel_main.c, dlls/kernel/time.c, files/directory.c, files/dos_fs.c, files/drive.c, files/file.c, include/file.h: Removed a number of internal file functions that are no longer used. * dlls/user/tests/win.c: Added test for setting focus to an invisible window. * dlls/kernel/tests/file.c: Jakob Eriksson Fixed tests to succeed on all Windows versions. * dlls/winmm/tests/wave.c: Robert Reif Another error return value check added after looking at the windows tests results. Replaced -1 with WAVE_MAPPER. * dlls/rpcrt4/Makefile.in, dlls/rpcrt4/rpcrt4_main.c: Hans Leidekker Reimplement UuidCreate() with Win32 APIs. * dlls/kernel/file16.c, dlls/kernel/path.c, dlls/kernel/process.c, files/drive.c, include/file.h: Reimplemented Get/SetCurrentDirectoryW using the corresponding ntdll functions. * dlls/x11drv/window.c: Fixed unsigned comparison issue in previous change. * dlls/msi/msi.c, dlls/msi/msi.spec, include/msi.h: Raphael Junqueira - add some prototypes/typedefs to msi.h - implements some A -> W calls (W calls must be implemented) * dlls/advapi32/security.c, dlls/d3d8/shader.c, dlls/mapi32/prop.c, dlls/mapi32/util.c, documentation/bugs.sgml, include/mapitags.h: Francois Gouget Assorted spelling fixes. * dlls/winmm/winealsa/audio.c: Ove Kaaven Fixed a couple of bugs. * documentation/debugging.sgml: Andreas Mohr Explain how to reduce log size, using pipes. 2004-04-27 Alexandre Julliard * dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h: Replace empty window rect checks by a new X11DRV_is_window_rect_mapped function so that we can reuse that support for off-screen windows. * documentation/ole.sgml: William Lahti Fixed typo. * dlls/mpr/pwcache.c: Mike McCormack Implemented WNetEnumCachedPasswords. * dlls/oleaut32/tests/safearray.c: Jon Griffiths Fix failures under win2k. * dlls/oleaut32/tests/vartest.c: Jon Griffiths Update VarXor,VarAbs,VarNot for all input types. Test VarOr; fix a failure with later oleaut32 versions. Speed up compilation by sharing failure strings. * dlls/oleaut32/variant.c: Jon Griffiths Implement VarOr. Fixes for untested VarXor,VarAbs,VarNot input types. * windows/mdi.c: Dmitry Timoshkov Before removing menu items in the MDI Window menu check whether a menu item following a separator has our "magic" value. * dlls/shlwapi/url.c, dlls/shlwapi/tests/path.c: Kevin Koltzau Allow UrlCombine to calculate size of required buffer. * dlls/winmm/tests/wave.c, dlls/winmm/winealsa/audio.c: Robert Reif Restore the 2 MHz sample rate test and fix the winealsa driver for reasonable limits. * dlls/kernel/volume.c: DefineDosDeviceW: implemented the DDD_REMOVE_DEFINITION flag. * dlls/kernel/tests/directory.c, dlls/kernel/tests/file.c, dlls/kernel/tests/path.c: Removed todo_wine from some tests that succeed now. * dlls/kernel/path.c, files/directory.c, server/fd.c: Reimplemented CreateDirectoryW and RemoveDirectoryW using ntdll functions. * dlls/kernel/path.c, dlls/kernel/volume.c, dlls/ntdll/directory.c, dlls/ntdll/file.c, include/winternl.h: Pass the creation disposition to wine_nt_to_unix_file_name so that it can return the correct error code in all cases. Changed MoveFileExW to use wine_nt_to_unix_file_name to avoid computing the NT name twice. Fixed crash in GetDriveTypeW with a NULL root. 2004-04-26 Alexandre Julliard * dlls/comctl32/comctl_Uk.rc, dlls/comctl32/rsrc.rc, dlls/commdlg/cdlg_Uk.rc, dlls/commdlg/rsrc.rc, dlls/shell32/shell32_Uk.rc, dlls/shell32/shres.rc, dlls/user/resources/user32.rc, dlls/user/resources/user32_Uk.rc: Ilya Korniyko Added Ukrainian translations. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/drawprim.c, dlls/d3d8/surface.c, dlls/d3d8/utils.c: Christian Costa Implemented fast rendering to a texture using glCopyTexImage2D Fixed SetViewport. Fixed SetRenderTarget (based on Jason Edmeades' work). Improved trace. * dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_binding.h, dlls/rpcrt4/rpc_defs.h, dlls/rpcrt4/rpc_message.c, dlls/rpcrt4/rpc_message.h, dlls/rpcrt4/rpc_server.c: Filip Navara Make RPCRT4 use Windows compatible protocol (DCE v5.0) for communication. * include/tchar.h: Dimitrie O. Paun Define _T[USX]?CHAR/_TINT/TCHAR types, for compatibility. Do not depend on other files being included first. Have the same include graph as the MS headers. Protect against trying to use libc when not possible. Cleanups. * include/msvcrt/ctype.h, include/msvcrt/stdio.h, include/msvcrt/wchar.h, include/msvcrt/wctype.h: Dimitrie O. Paun Fix the _WCTYPE_T_DEFINED sentry for compatibility. * dlls/winmm/winealsa/audio.c: Francois Gouget Make sure the 'alsa handle' is initialized to NULL before calling snd_pcm_open(). Otherwise if it fails we get a crash trying to close an invalid alsa handle. * dlls/kernel/tests/pipe.c: Duane Clark Add testing of PeekNamedPipe, multiple writes, and message mode. * dlls/winmm/tests/wave.c: Francois Gouget waveOutGetDevCaps(-1...) must return the capabilities of the Wave mapper. DRV_QUERYDEVICEINTERFACE is not supported on all Windows versions. Check the length returned by DRV_QUERYDEVICEINTERFACESIZE and fix memory leak. Some Windows sound drivers allow wild frequencies such as the 2MHz one. So modify this test to use an invalid number of bits per sample instead (hopefully that will fail really everywhere). * tools/widl/parser.l, tools/widl/parser.y, tools/widl/widltypes.h: Filip Navara Make widl parse the 'transmit_as' and 'endpoint' keywords. * dlls/shell32/shlexec.c, dlls/user/dde/dde_private.h, dlls/user/dde/misc.c, dlls/user/dde/server.c, include/ddeml.h: Dmitry Timoshkov Fix the DDE PFNCALLBACK prototype. * dlls/d3d8/device.c, dlls/d3d8/shader.c, dlls/d3d8/stateblock.c, dlls/d3d8/surface.c: Marcus Meissner Fixed some strict aliasing issues in dlls/d3d8. Incorporated bugfix from Christian Costa in vshader_expp. * documentation/debugger.sgml: Ivan Leo Murray-Smith Replace --debugmsg by WINEDEBUG. * dlls/d3d8/d3dcore_gl.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/surface.c, dlls/d3d8/utils.c: Raphael Junqueira - implement SetRenderState D3DRS_FOGENABLE/D3DRS_RANGEFOGENABLE - implement SetRenderState D3DRS_RANGEFOGENABLE - fix SetRenderState D3DRS_FOGVERTEXMODE Caps/Detection traces - fix IDirect3D8::GetAdapterIdentifier to use FillGLCaps and provide more exact infos (driver versions, vendor, ...) - split Fake GL Context creation from GetDeviceCaps for external use - add a new channel (d3d_caps) for all IDirect3D8 Caps/detection traces - rename fps channel to d3d_fps - high use of runtime detected OpenGL Caps instead of defines - update supported Caps using runtime detection * dlls/shell32/autocomplete.c: Maxime Bellengé Implemented the ACO_AUTOSUGGEST, ACO_AUTOAPPEND, ACO_UPDOWNKEYDROPSLIST styles. * dlls/x11drv/bitblt.c: Jukka Heinonen If source and destination are the same object, don't lock the object twice as it will only be unlocked once. * dlls/wined3d/vertexshader.c: Marcus Meissner Fixed position of tmp.f assigned like in dlls/d3d8/shader.c. Fixed strict aliasing problem. * dlls/winedos/int21.c: Jukka Heinonen Implement DOS7 canonicalize path function as a conversion to short file name. * windows/mdi.c: Duane Clark Add tracing messages to MDI. * dlls/winmm/winejack/jack.c: Francois Gouget Fix a warning in JACK_drvLoad(). * dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/audio.c, dlls/winmm/wineoss/audio.c: Francois Gouget We only support 8 and 16 bit sound so we should reject the other formats. * dlls/commdlg/filedlg16.c: Francois Gouget If lpstrTitle is NULL, set it to either 'Open File' or 'Save as'. Constify the string constants. * dlls/user/dde/client.c, dlls/user/dde/server.c: Dmitry Timoshkov Call appropriate DefWindowProc in DDE client/server window procs depending on whether a window proc is unicode or ANSI. 2004-04-23 Alexandre Julliard * dlls/kernel/volume.c, files/drive.c: Reimplemented GetLogicalDrives, GetLogicalDriveStrings and GetDriveType using the new symlink mechanism. Made GetDriveType attempt to autodetect the type if not specified in the registry. * programs/winetest/main.c: Ferenc Wagner Remove the wineloader variable. * configure, configure.ac, dlls/mapi32/tests/.cvsignore, dlls/mapi32/tests/Makefile.in, dlls/mapi32/tests/prop.c, dlls/mapi32/tests/util.c: Jon Griffiths Tests for newly added MAPI functions. * dlls/mapi32/Makefile.in, dlls/mapi32/mapi32.spec, dlls/mapi32/mapi32_main.c, dlls/mapi32/prop.c, dlls/mapi32/util.c: Jon Griffiths Implement MAPI property & utility functions. * dlls/uuid/uuid.c, include/Makefile.in, include/mapicode.h, include/mapidefs.h, include/mapiguid.h, include/mapitags.h, include/mapiutil.h, include/mapival.h, include/mapix.h: Jon Griffiths Update/Add MAPI headers. * dlls/ntdll/cdrom.c, dlls/ntdll/ntdll.spec, files/drive.c, misc/registry.c: Moved creation of the CDROM registry keys into the registry loading code. * dlls/advapi32/registry.c, dlls/advapi32/security.c, dlls/advapi32/service.c: Jon Griffiths Documentation fixes. * dlls/shell32/shlexec.c, dlls/user/dde/misc.c, dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/dde.c: Dmitry Timoshkov Fix a bug in ShellExecute which called DdeCreateStringHandleW with a wrong parameter. Revert previous erroneous fix. * dlls/oleaut32/tests/vartype.c: Jon Griffiths Test ClearCustData() and UINT->I4 conversion. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/typelib2.c: Jon Griffiths Implement ClearCustData. * dlls/oleaut32/vartype.c: Jon Griffiths Check the correct param for 2 DECIMAL operations. * dlls/oleaut32/variant.c: Jon Griffiths Conversion from VT_UINT to VT_I4 ignores overflow. * tools/c2man.pl: Jon Griffiths Accept exports with '@' in their name. Link to winehq source for implemented functions. * dlls/d3d8/shader.c: Raphael Junqueira Don't try to create HW Vertex Shaders when code is NULL (ie use default rendering code using VertexShaderDeclaration for datas) as GL drivers don't like empty programs. * dlls/d3d8/directx.c: Raphael Junqueira Fix some random crashes found on some games in the new code (live GLX/GL drivers). * dlls/kernel/kernel_private.h, dlls/kernel/volume.c, dlls/ntdll/directory.c, files/file.c: Moved support for opening DOS device files to ntdll. * programs/winetest/main.c: Ferenc Wagner Unconditionally test Wine presence. Add the Build info section to the output. * dlls/kernel/kernel32.spec, dlls/kernel/path.c, dlls/ntdll/directory.c, dlls/ntdll/file.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, include/winternl.h, programs/winetest/main.c: Make DIR_nt_to_unix return STATUS_NO_SUCH_FILE instead of STATUS_OBJECT_NAME_NOT_FOUND to indicate that the last component didn't exist to allow distinguishing it from legitimate errors. Export it from ntdll, renamed to wine_nt_to_unix_file_name. * files/file.c: Dmitry Timoshkov Use a passed SecurityDescriptor in CreateFileW. * dlls/oleaut32/tests/vartest.c: Chris Morgan Skip over most of the unused variant types to speed up the variant tests. * misc/registry.c: Use NtOpenFile instead of FILE_CreateFile to open Unix files. * programs/winetest/main.c: Jakob Eriksson Added Wine detection. 2004-04-22 Alexandre Julliard * dlls/shell32/shlexec.c: Huw Davies DdeClientTransaction returns zero on error. * dlls/user/dde/misc.c: Dmitry Timoshkov Unicode version of DdeCreateStringHandle should ignore codepage parameter. * dlls/d3d8/d3dcore_gl.h, dlls/d3d8/directx.c: Raphael Junqueira - more FIXME -> TRACE - begin vendor/card detection (versions/names) * include/wine/port.h: Dmitry Timoshkov Add some compatibility macros. * dlls/kernel/tests/file.c: Jakob Eriksson When the Windows directory was something else than C:\WINDOWS test_GetTempFileNameA() failed. * programs/winetest/main.c, programs/winetest/util.c, programs/winetest/winetest.h: Ferenc Wagner - constify some strings - introduce -u option to write archive url into the report - bump output format version to 3 * files/file.c: Make CreateFileW use NtCreateFile. * configure, configure.ac, dlls/Makefile.in, dlls/hhctrl.ocx/.cvsignore, dlls/hhctrl.ocx/Makefile.in, dlls/hhctrl.ocx/hhctrl.c, dlls/hhctrl.ocx/hhctrl.ocx.spec: Krzysztof Foltman Added dummy hhctrl.ocx with stubs of HtmlHelpA and HtmlHelpW. * tools/widl/header.c, tools/widl/header.h, tools/widl/parser.y, tools/widl/widltypes.h: Filip Navara Make widl compile without most of Windows/Wine headers, so it can be reused by other projects. 2004-04-21 Alexandre Julliard * dlls/user/user_main.c: Preload keyboard.drv when Windows version is Win9x. * dlls/kernel/path.c, files/file.c: Changed MoveFileEx to use ntdll functions, and moved it to dlls/kernel/path.c. * dlls/ntdll/directory.c, dlls/ntdll/file.c: Properly set IO_STATUS_BLOCK.Information in NtCreateFile. * dlls/comctl32/listview.c: Huw Davies Deleting column zero should only delete the column and not the item data. * dlls/netapi32/apibuf.c, dlls/netapi32/tests/apibuf.c: Juan Lang Fix NetApiBufferReallocate and tests based on results from winetest. * dlls/d3d8/directx.c: Christian Costa Converted some FIXMEs into TRACEs. * dlls/comctl32/monthcal.c: Krzysztof Foltman - next/prev month don't stick anymore - min/max ranges initialized to some reasonable values - fixed some bugs caused by reversed order of arguments of MONTHCAL_CopyTime - update current month/year after setting current date - changing months etc doesn't send MCN_SELECT (which could be sent only after a particular day was clicked) - changed (hit && MCHT_CALENDARDATE) to (hit == MCHT_CALENDARDATE) * dlls/comctl32/datetime.c: Krzysztof Foltman - make monthcal a child of datetime (it was a sibling before, causing completely incorrect message flow) - update monthcal after date change in datetime - choose different coordinates when DTS_SHOWNONE is not used - embedded monthcal is now 200 pixels wide - selecting a day in embedded monthcal updates the datetime and hides the monthcal - changing months/years by clicking month name/year in title bar works - embedded month calendar is correctly destroyed (it used to stick on the screen long after the datetime's container was closed) * objects/enhmetafile.c: Dave Belanger Fix bad EMF extents in SetWinMetaFileBits. * dlls/kernel/cpu.c: Emmanuel Maillard GetSystemInfo support for Darwin. * include/winternl.h: Mike McCormack Add some values to the SYSTEM_INFORMATION_CLASS enumeration. 2004-04-20 Alexandre Julliard * documentation/configuring.sgml, documentation/debugging.sgml, documentation/implementation.sgml, documentation/opengl.sgml, documentation/winelib-bindlls.sgml: Ivan Leo Murray-Smith Replace --debugmsg with WINEDEBUG. * dlls/d3d8/shader.c: Francois Gouget Fixed typos. * programs/winetest/send.c: Jakob Eriksson Fixed typo. * dlls/d3d8/d3dcore_gl.h: Raphael Junqueira Fix the d3dcore_gl part of HW vertex shader support for brokens GL headers. * dlls/kernel/file.c, dlls/ntdll/file.c, dlls/ntdll/ntdll.spec, files/file.c, include/winternl.h: Reimplemented GetFileAttributesExW and GetCompressedFileSizeW using the corresponding ntdll functionality. * dlls/dbghelp/elf_module.c, dlls/dbghelp/stack.c, dlls/devenum/createdevenum.c, dlls/devenum/devenum_private.h, dlls/shlwapi/url.c, documentation/running.sgml, include/winspool.h: Francois Gouget Assorted spelling fixes. Remove wszRegSeparator from devenum_private.h since it's neither exported by createdevenum.c nor used by anyone else. * dlls/user/tests/msg.c: Dmitry Timoshkov Add a message test for custom dialog initialization. * windows/defdlg.c, windows/dialog.c: Santosh Siddheshwar Allocate DIALOGINFO structure in DefDlgProc instead of in DIALOG_CreateIndirect, so that it gets created correctly for non template-based dialogs. * documentation/bugs.sgml: Ivan Leo Murray-Smith Replace --debugmsg with WINEDEBUG. * programs/winetest/Makefile.in, programs/winetest/main.c: Ferenc Wagner - Change to console mode so that winetest runs under WinRash. - Move from spawnvp() to CreateProcess(). - Force a 2-minute timeout on individual tests. * dlls/netapi32/tests/wksta.c, dlls/ole32/storage32.c, dlls/oleaut32/olefont.c, dlls/oleaut32/typelib2.c, dlls/shell32/shlfsbind.c, dlls/shlwapi/ordinal.c, dlls/urlmon/umon.c, dlls/wininet/http.c, dlls/wsock32/protocol.c: Francois Gouget Make Unicode strings 'static const'. * dlls/advapi32/security.c, dlls/comctl32/comboex.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/ipaddress.c, dlls/comctl32/listview.c, dlls/comctl32/trackbar.c, dlls/comctl32/treeview.c, dlls/commdlg/filedlg.c, dlls/dxerr8/dxerr8.c, dlls/dxerr9/dxerr9.c, dlls/gdi/freetype.c, dlls/kernel/tests/file.c, dlls/kernel/tests/format_msg.c, dlls/ntdll/tests/rtlstr.c, dlls/ole32/antimoniker.c, dlls/ole32/filemoniker.c, dlls/ole32/storage32.c, dlls/oleaut32/olefont.c, dlls/oleaut32/typelib.c, dlls/quartz/filesource.c, dlls/setupapi/diskspace.c, dlls/shell32/shell32_main.c, dlls/shell32/shlfileop.c, dlls/shlwapi/reg.c, dlls/shlwapi/string.c, dlls/shlwapi/url.c, dlls/user/tests/class.c, dlls/uxtheme/msstyles.c, dlls/uxtheme/system.c: Francois Gouget Make Unicode strings static const. * dlls/ntdll/ntdll.spec, dlls/ntdll/resource.c, include/winternl.h: Robert Shearman Stub and documentation for RtlFormatMessage. * dlls/ntdll/path.c: Minor fixes. * dlls/kernel/file.c, dlls/kernel/kernel_main.c, dlls/ntdll/directory.c, dlls/ntdll/file.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, files/file.c, include/winternl.h, include/file.h: Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime using the corresponding ntdll functionality. * controls/icontitle.c, dlls/comctl32/propsheet.c, dlls/msacm/format.c, dlls/msacm/internal.c, dlls/msacm/wineacm.h, dlls/msacm/imaadp32/imaadp32.c, dlls/msacm/msadp32/msadp32.c, dlls/msacm/msg711/msg711.c, dlls/msacm/winemp3/mpegl3.c, dlls/msvideo/msvideo_main.c, dlls/oleaut32/tests/vartest.c, dlls/secur32/secur32.c, dlls/shlwapi/path.c, dlls/urlmon/umon.c, dlls/uxtheme/msstyles.c, dlls/winmm/playsound.c, dlls/wsock32/protocol.c, programs/wineconsole/dialog.c, programs/wineconsole/user.c, tools/wmc/mcl.c: Francois Gouget Make static Unicode strings const. * dlls/d3d8/d3d8_main.c, dlls/d3d8/shader.c: Christian Costa Fixed relative addressing. Enable hw vertex shaders by default. Moved registry d3d config key to Software\Wine\Direct3D. 2004-04-19 Alexandre Julliard * dlls/winedos/int21.c, include/winnt.h: Fixed/updated the file attributes defines. * Makefile.in: crosstest target needs the tools to be built first. * tools/widl/header.c, tools/widl/parser.l, tools/widl/parser.y, tools/widl/widltypes.h: Robert Shearman - Handle "? :" conditionals. - Allow [handle] attribute for types. * documentation/architecture.sgml: Ivan Leo Murray-Smith Use WINEDEBUG instead of --debugmsg. * programs/notepad/It.rc: Ivan Leo Murray-Smith Small fix. * dlls/winmm/winealsa/audio.c: Ove Kaaven Added detection of 48kHz and 96kHz support. Fixed a thinko, and some misleading indentation. * dlls/d3d8/d3d8_private.h, dlls/d3d8/d3dcore_gl.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/shader.c: Raphael Junqueira - fix the SetTextureStageState for D3DTADDRESS_MIRROR using dynamic GL detection (and not build time GL headers) - add a new debug channel for hardware vertex shaders - hardware VS "compiler" fixes: -> special case for address registers (MOV must be replaced by ARL) -> add line numbers to trace (better to find why NVidia drivers complains) -> one parse to determine temporary and address registers needs (@todo: check GL limits) -> remove duplicate traces from Generic ParseProgram * dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_epmap.c, dlls/rpcrt4/rpc_server.c, include/rpcdce.h: Filip Navara Fix some RPC prototypes to get it compiling with W32API. * objects/metafile.c: Huw Davies Fix CopyMetaFileA to work with NULL filename. * dlls/advapi32/service.c, dlls/commdlg/printdlg.c, dlls/crypt32/main.c, dlls/devenum/devenum_main.c, dlls/devenum/mediacatenum.c, dlls/gdi/freetype.c, dlls/kernel/comm.c, dlls/kernel/format_msg.c, dlls/kernel/locale.c, dlls/mshtml/main.c, dlls/msi/create.c, dlls/msi/insert.c, dlls/msi/msi.c, dlls/msi/record.c, dlls/msi/suminfo.c, dlls/msi/table.c, dlls/netapi32/access.c, dlls/netapi32/tests/access.c, dlls/oleaut32/typelib.c, dlls/quartz/filesource.c, dlls/richedit/richedit.c, dlls/shdocvw/shdocvw_main.c, dlls/shell32/brsfolder.c, dlls/shell32/classes.c, dlls/shell32/shelllink.c, dlls/urlmon/umon.c, dlls/uxtheme/system.c, dlls/wininet/cookie.c, dlls/wininet/dialogs.c, dlls/wininet/http.c, dlls/wininet/internet.c, programs/winemenubuilder/winemenubuilder.c: Francois Gouget Make Unicode const strings static so they are not copied to the stack each time we enter the function. * dlls/shell32/Makefile.in, dlls/shell32/autocomplete.c, dlls/shell32/debughlp.c, dlls/shell32/regsvr.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/uuid/uuid.c, include/Makefile.in, include/shldisp.h, include/shldisp.idl, include/shlguid.h: Maxime Bellengé Add the IAutoComplete and IAutoComplete2 implementation (but methods stubbed for now). * dlls/shell32/brsfolder.c: Wolfgang Schwotzer SHBrowseForFolder: support lpBrowseInfo->pszDisplayName being NULL. * dlls/ntdll/nt.c: Michael Stefaniuc NtQueryInformationToken isn't a stub so change the FIXME to a TRACE. * dlls/Makedll.rules.in: Marcus Meissner Fixed DLLMODE handling (--mode is now --subsystem and uses -Wb). * dlls/winmm/winealsa/audio.c: Ove Kaaven Code and concepts merged in from wineoss in order to get the non-dsound wave output performance in winealsa to an acceptable level. It's still possible to do better than the current code, but this should do for now. * dlls/rpcrt4/cproxy.c: Hans Leidekker Fix compiler warning. * dlls/kernel/locale.c, dlls/ntdll/rtlstr.c: Fixed ntdll_wcstoumbs and WideCharToMultiByte to set the 'used' flag for UTF-8 codepage too. This was causing DIR_nt_to_unix to fail in some cases (tracked down with help from Alex Pasadyn). * dlls/urlmon/Makefile.in, dlls/urlmon/regsvr.c, dlls/urlmon/urlmon_main.c: Vincent Béron More complete implementation of Dll(Un)RegisterServer in urlmon, based on the work of John K. Hohm for other dlls. * dlls/dinput/joystick_linuxinput.c: Christoph Frick - added code to have the joystick state be set to the assumed center values of the joystick mapped to the range the application wants them - generate events after setting the apropiate values in This->js - replaced magic ints with defines from linux/input.h - removed mapping code that generated wrong values for axes, that have the center on the min or max * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, include/dsound.h: Robert Reif Fixes support for older versions of direct sound. Adds support for deleting notification array. Minor debug and white space cleanups. * dlls/dbghelp/dbghelp.c, dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/msc.c, dlls/dbghelp/stabs.c, dlls/dbghelp/symbol.c, dlls/dbghelp/type.c: Eric Pouech - implemented support for function debug start/stop and labels (msc.c and stabs.c) - started implementing typedef support - functions now have a real function signature (only in stabs.c, still to be done in msc.c) - small enhancements to TI_GET_TYPE for functions - added support for functions' block and local variables in registers (msc.c) - fixed some bugs in StackWalk - constants are now stored as variants (instead of unsigned ints) - fixed regular expression management (dbghelp's RE are not the same as POSIX ones) * dlls/comctl32/toolbar.c: Robert Shearman - Optimise accessing toolbar style by storing it in the TOOLBAR_INFO structure. - Replace {Get,Set}WindowLong by {Get,Set}WindowLongPtr where appropriate. * dlls/dxdiagn/Makefile.in, dlls/dxdiagn/container.c, dlls/dxdiagn/dxdiag_private.h, dlls/dxdiagn/provider.c, include/dxdiag.h: Raphael Junqueira - fix dxdiag.h (again) - IDxDiagContainerImpl implementation - IDxDiagProvider::GetRootContainer (that creates the root container) * dlls/rpcrt4/rpc_message.c: Filip Navara Prevent crashes in I_RpcSend on Windows XP. 2004-04-17 Alexandre Julliard * dlls/kernel/volume.c, files/drive.c: Reimplemented GetDiskFreeSpaceW and GetDiskFreeSpaceExW on top of the corresponding ntdll functions. * dlls/kernel/change.c, dlls/kernel/file.c: Make FindFirstFileExW and FindFirstChangeNotificationW use NtOpenFile directly so that they can take advantage of the FILE_DIRECTORY_FILE option. * libs/Makefile.in: Emmanuel Maillard Create symlinks for .dylib libraries too. * dlls/advapi32/advapi32.spec, dlls/advapi32/crypt.c: Mike Hearn Documentation for SystemFunction040 and SystemFunction041 has become available, so stub them out in case applications use them. * dlls/dbghelp/stack.c: Emmanuel Maillard Fixed a compile error on non-i386. * dlls/x11drv/keyboard.c: Dmitry Timoshkov - start assigning custom VK codes from VK_OEM_8 since this code already presents in the layout tables - search the layout tables only if XLookupString returned non zero number of characters for a keysym, otherwise that's a non character key - avoid inserting VK_OEM_x codes into unassigned positions since these codes might already be in the layout table, thus creating a conflict * dlls/ntdll/relay.c: Emmanuel Maillard Fix a compile error for SNOOP_GetProcAddress on non-i386. 2004-04-16 Alexandre Julliard * dlls/kernel/process.c, dlls/ntdll/directory.c, dlls/ntdll/file.c, server/file.c, server/trace.c: Fixed a number of NT status values to be closer to NT behavior. * tools/winegcc/winegcc.c: Dimitrie O. Paun Implement support for the -x option. * controls/menu.c: Ge van Geldorp Setup menu drawing colors before calling owner draw routine. * dlls/richedit/reader.c: Ge van Geldorp - Work around problem in NSIS installers which can't handle 1 char at a time reading of RTF text. - Increase buffer to 4096 bytes for better compatibility. * tools/winegcc/Makefile.in: Paul Vriens Correct removing wineg++ link on an uninstall. * dlls/kernel/process.c, dlls/kernel/task.c, dlls/ntdll/env.c, dlls/ntdll/path.c, include/winternl.h, include/thread.h, server/trace.c: RtlSetCurrentDirectory_U: store a handle to the current directory along with its name. * files/file.c, server/fd.c, server/file.c, server/file.h, server/trace.c: Added support for FILE_DIRECTORY_FILE and FILE_NON_DIRECTORY_FILE open options. * misc/options.c: Removed support for the --debugmsg option. * configure, configure.ac, dlls/Makefile.in, dlls/dxdiagn/.cvsignore, dlls/dxdiagn/Makefile.in, dlls/dxdiagn/dxdiag_main.c, dlls/dxdiagn/dxdiag_private.h, dlls/dxdiagn/dxdiagn.spec, dlls/dxdiagn/provider.c, dlls/dxdiagn/regsvr.c, dlls/dxdiagn/version.rc, tools/wine.inf: Raphael Junqueira Added dxdiagn.dll with a simple implementation of IDxDiagProvider. * dlls/kernel/kernel_private.h, dlls/kernel/task.c, dlls/ntdll/path.c, include/thread.h: Added hack to fetch the current directory from the subsystem tid so that it is handled correctly in ntdll also for 16-bit tasks. * dlls/kernel/file16.c, dlls/winedos/int21.c: Update the drive environment strings when changing the current directory from 16-bit or DOS code. 2004-04-15 Alexandre Julliard * include/dxdiag.h: Raphael Junqueira Fixed some bugs. * dlls/d3d8/Makefile.in, dlls/d3d8/d3d8_main.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/d3dcore_gl.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/drawprim.c, dlls/d3d8/shader.c, dlls/d3d8/vshaderdeclaration.c: Jason Edmeades Christian Costa Added support for vertex shader (using ARB_vertex_program extension). * dlls/kernel/kernel_main.c, dlls/kernel/task.c, dlls/ntdll/thread.c, include/thread.h: Get rid of the TEB flags, they are no longer used. * dlls/shell32/pidl.c: Juan Lang Correct return value in a couple of error cases. * include/wtypes.h, include/wtypes.idl: Jon Griffiths Prevent CY type from being redefined. * dlls/dbghelp/elf_module.c, dlls/dbghelp/stabs.c: Kevin Koltzau Fix a few compile errors when cross compiling. * programs/winedbg/winedbg.c: Francois Gouget Have winedbg send its output to stderr when invoked with the --auto option. * dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shfldr_mycomp.c: Martin Fuchs - make drive letters in PIDLs always uppercase to enable PIDL comparison - Unicodify _ILCreateDrive() * include/Makefile.in, include/dxdiag.h: Raphael Junqueira Added the dxdiag.h header. * dlls/shell32/shlfolder.c: Martin Fuchs Correct error handling in SHELL32_ParseNextElement(). * tools/wineinstall: Only create the device symlinks the first time around. * dlls/kernel/kernel_private.h, dlls/kernel/module.c, dlls/kernel/task.c: Started implementing support for the SubSystemTib field in the TEB of 16-bit threads. This allows GetModuleFileNameW to avoid calling 16-bit functions. * configure, configure.ac: Kevin Koltzau Add additional names of mingw tools. 2004-04-14 Alexandre Julliard * dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.c: Christian Costa Added glDeleteObjectBufferATI function. Fix for types that have a common root. * dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c: Martin Fuchs Return "file not found" error values instead of E_INVALIDARG if _ILCreateFromPathA() failed to find files. * dlls/gdi/freetype.c, dlls/gdi/printdrv.c, dlls/kernel/kernel32.spec, dlls/kernel/process.c, dlls/ntdll/directory.c, dlls/ntdll/ntdll.spec, dlls/winedos/dosconf.c, files/dos_fs.c, include/winbase.h, programs/winemenubuilder/winemenubuilder.c, programs/winepath/winepath.c: Moved wine_get_unix_file_name implementation to ntdll, and changed it to return an allocated buffer instead of a fixed size one. * dlls/gdi/bitblt.c, dlls/gdi/gdi32.spec, dlls/msimg32/msimg32.spec, dlls/msimg32/msimg32_main.c, include/wingdi.h: Kevin Koltzau Partial stub of GdiAlphaBlend/AlphaBlend. * dlls/x11drv/keyboard.c: Dmitry Timoshkov A workaround for missing real support for keyboard layout APIs. * objects/text.c: Dmitry Timoshkov Print source charset as well as a resulting codepage in FONT_mbtowc. * dlls/kernel/comm.c: Rein Klazes Add missing POSIX baud rates to GetCommState and SetCommState. * dlls/shell32/cpanelfolder.c, dlls/shell32/debughlp.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h: Juan Lang Correct some PIDL types and eliminate some magic numbers in PIDL allocation; correct a copy-pasto from a previous patch. * dlls/shell32/folders.c: Juan Lang If a folder contains a desktop.ini, check it for the icon location before using the default folder icon. * dlls/ntdll/directory.c: Added support for restarting directory scans on platforms where seekdir return values cannot be reused on a different directory object. Added some checks for invalid file names in DIR_nt_to_unix. * dlls/ntdll/path.c: Fixed handling of \\?\ prefix in RtlDosPathNameToNtPathName_U. Fixed parsing of UNC file names in RtlGetFullPathName_U. * dlls/kernel/vxd.c, dlls/winedos/int21.c: Replaced create_file server requests by a call to NtCreateFile. * dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpcrt4.spec, include/rpcdce.h: Filip Navara Fix the case of RpcNetworkIsProtseqValid[AW] (was RpcNetworkIsProtSeqValid[AW]) names. * dlls/comctl32/treeview.c: Martin Fuchs Return TRUE for TVM_EXPAND if treeview item is already expanded. * dlls/comctl32/rebar.c: Filip Navara Force resize before calling RBN_HEIGHTCHANGE notification. 2004-04-13 Alexandre Julliard * dlls/imagehlp/imagehlp.spec: Eric Pouech Updated to latest version's exports, and added a few more forwards. * dlls/kernel/console.c: Christian Costa Fixed typo. * documentation/faq.sgml: Tony Lambregts Add bit about not being able to use Windows drivers to Print etc. * dlls/user/tests/win.c: Dmitry Timoshkov Add a test for GW_HWNDLAST. * dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c: Juan Lang Add stub for ShellDDEInit to let Windows explorer.exe get past the beginning. * dlls/shell32/shlview.c: Juan Lang IShellView seems reasonably complete, change a FIXME to a TRACE to speed up open/save dialogs. * dlls/wininet/http.c: Fixed a warning. * programs/winetest/util.c: Gerald Pfeifer Do not include , to avoid duplicate declaration of select(). * dlls/shell32/cpanelfolder.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c: Martin Fuchs Correct IShellFolder::GetAttributesOf() for the case *rgfInOut=0. * dlls/shell32/shlexec.c: Martin Fuchs Check for folders in ShellExecute(). 2004-04-12 Alexandre Julliard * dlls/version/info.c: Set last error to 0 on success in VERSION_GetFileVersionInfo_PE now that LoadLibraryW doesn't do this anymore. * dlls/ntdll/directory.c, dlls/ntdll/file.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/path.c: Implemented NtCreatelFile using the new symlink scheme. Use NtCreateFile in the loader, and get rid of the CreateFileW upcall hack. * dlls/icmp/icmp_main.c, include/winerror.h, server/file.c, server/sock.c, server/trace.c: Filip Navara Get rid of non-standard ERROR_UNKNOWN value. * dlls/wininet/cookie.c, dlls/wininet/dialogs.c, dlls/wininet/http.c, dlls/wininet/internet.c: Mike McCormack Convert unicode strings to const. * dlls/user/tests/msg.c: Dmitry Timoshkov Add WM_QUERYNEWPALETTE in appropriate places of the message test. * dlls/shell32/shlexec.c: Martin Fuchs - rename 'wszCommandline' to 'wszParameters' - separate out command line arguments from executable file name * dlls/shell32/shelllink.c: Martin Fuchs - eliminate MSVC type conversion warning - IShellLink::GetIconLocation(): get icons for shell links if not already set * dlls/winmm/wineoss/audio.c: Robert Reif Cleanup reference counting. Move notify array to buffer. Add state info and fix GetStatus. Remove unnecessary driver description flags. * dlls/advapi32/service.c: OpenServiceW: don't use the requested service access rights for the registry key access rights, they are not the same thing. * dlls/kernel/kernel_main.c, dlls/kernel/process.c: Create the devices earlier on during startup. * dlls/advapi32/advapi32.spec: OpenSCManagerA/W arguments are strings. * documentation/debugger.sgml: Jeff Clarify the attach command. * dlls/oleaut32/variant.c, dlls/shell32/shlexec.c, dlls/shlwapi/ordinal.c: Francois Gouget Assorted spelling fixes. * dlls/ddraw/d3dtexture.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/main.c, dlls/ddraw/helper.c: Lionel Ulmer Add the possibility to save a snapshot of the backbuffer at flip-time. * dlls/dinput/keyboard.c: Lionel Ulmer - better log the GetDeviceState function - log changes to the DInputKeyState table * dlls/kernel/comm.c: Rein Klazes Fix GetCommState and SetCommState, so that these functions can be used to set/clear/read the DTR and RTS lines. * dlls/msi/msi.c, dlls/msi/msi.spec: Hans Leidekker Correct spec entry for MsiLoadString*. Pseudo stubs for MsiLocateComponent*. * dlls/user/tests/win.c, dlls/x11drv/window.c: Dmitry Timoshkov Add a test case for children Z ordering at window creation time. * dlls/tapi32/assisted.c: Rein Klazes Implement tapiGetLocationInfo. * documentation/samples/config, tools/wineinstall: Vincent Béron Remove "Path" lines from sample config. Setup the links for the default DOS drives in wineinstall. * tools/wrc/wrc.c: Dimitrie O. Paun Add support for --verbose for compatibility. * dlls/commdlg/Makefile.in, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg16.c: Huw Davies Add back win16 style dialogs for win32 apps. * include/imm.h: Dimitrie O. Paun Don't declare GDI stuff when NOGDI is defined. * dlls/ole32/defaulthandler.c, dlls/ole32/filemoniker.c, dlls/shdocvw/oleobject.c, include/winerror.h: Filip Navara Get rid of E_UNSPEC non-standard error value. * dlls/winmm/wineoss/audio.c: Robert Reif Remove trailing white space. Cleanup white space and format in direct sound capture routines. 2004-04-09 Alexandre Julliard * tools/wrc/parser.l: Fixed line number handling for escaped end of lines inside strings. * tools/winedump/README, tools/winedump/winedump.man: Michael Stefaniuc - remove from README the stuff that's already in the man page - more stuff goes from README to the man page - spelling fixes * dlls/x11drv/keyboard.c: Dmitry Timoshkov Conditionally compile code which uses XK_EuroSign definition. * dlls/version/Makefile.in: Hans Leidekker Link to ntdll. * dlls/msi/msi.spec: Hans Leidekker Correct spec entry for DllGetClassObject. * dlls/winmm/wineoss/audio.c: Francois Gouget Patch the fragment size if it does not match the current sound format. This saves us from triggering a kernel freeze on some OSS 2.4 + SoundBlaster 16 systems. * dlls/shell32/shlexec.c: Francois Gouget Cleanup the handling of the extension in SHELL_FindExecutable(): - Eliminate the corresponding fixed-size buffer which removes the limitation to 3 character extensions. - Fix handling of the trailing '.' case. - Do a case-insensitive check for the extension in win.ini. Increase the size of the command buffer to 1024. * dlls/msvcrt/process.c, dlls/shlwapi/thread.c: Francois Gouget Use named constants instead of magic numbers. * include/msvcrt/math.h: Dimitrie O. Paun Added definition for HUGE_VAL. * tools/winegcc/winegcc.c: Dimitrie O. Paun Specify the right name for the Winelib shared object. * include/wingdi.h: Dimitrie O. Paun Add struct name for BITMAPINFO. 2004-04-08 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20040408. ---------------------------------------------------------------- 2004-04-08 Alexandre Julliard * dlls/shell32/enumidlist.c, dlls/shell32/enumidlist.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c: Juan Lang - move CreateMyCompEnumList and CreateDesktopEnumList to their respective files - rewrite CreateFolderEnumList to only FindFirstFile/FindNextFile once * dlls/msvcrt/math.c: Portability fix. * dlls/msvcrt/wcs.c: Dave Belanger wcstod: added exponent parsing and fixed handling of negative sign. * dlls/x11drv/winpos.c: Dmitry Timoshkov Restore correct focus handling for ShowWindow(SW_HIDE) case. * include/wine/server_protocol.h, server/fd.c, server/file.c, server/file.h, server/named_pipe.c, server/protocol.def, server/request.h, server/serial.c, server/smb.c, server/sock.c, server/trace.c: Removed the get_file_info request. * dlls/x11drv/winpos.c: Dmitry Timoshkov Revert an erroneous patch. * dlls/user/tests/msg.c: Dmitry Timoshkov Add WM_SETREDRAW test. * dlls/kernel/profile.c: Aric Stewart Empty values need to be preserved as empty values and not assumed to be nonexistent values. * include/tapi.h: Rein Klazes Add some structures and defines. * tools/winebuild/import.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Automatically detect whether the entry point is main or WinMain instead of depending on the subsystem type. * dlls/kernel/tests/file.c, dlls/ntdll/file.c, files/file.c, include/winbase.h: Replace the get_file_info request by an fstat() on the client side. * dlls/ntdll/rtlstr.c: Rolf Kalbermatter Fix bad initialization of Unicode length parameters in RtlStringFromGUID. * dlls/dpnet/address.c, dlls/dpnet/client.c, dlls/dpnet/dpnet_private.h: Raphael Junqueira - add traces to client.c and address.c stub functions - implement some debugging functions (debugstr_SP) - implement IDirectPlay8Address::GetSP/IDirectPlay8Address::SetSP * dlls/shell32/cpanel.h, dlls/shell32/cpanelfolder.c, dlls/shell32/enumidlist.c, dlls/shell32/enumidlist.h, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shell32_main.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c: Juan Lang Move control panel applet enumeration to cpanelfolder.c. 2004-04-07 Alexandre Julliard * dlls/ntdll/file.c, files/file.c, include/wine/server_protocol.h, server/file.c, server/protocol.def, server/request.h, server/trace.c: Handle the set_file_pointer request on the client side. * include/wine/wine_common_ver.rc: Steven Edwards Fix compiling under MS_VC 6. * dlls/shell32/pidl.c: Martin Fuchs - SHBindToParent(): request correct COM interface from desktop. - _ILCreateFromFindDataA(): type cast to eliminate MSVC compiler warning. * configure, configure.ac, dlls/Makefile.in, dlls/dpnet/.cvsignore, dlls/dpnet/Makefile.in, dlls/dpnet/address.c, dlls/dpnet/client.c, dlls/dpnet/dpnet.spec, dlls/dpnet/dpnet_main.c, dlls/dpnet/dpnet_private.h, dlls/dpnet/peer.c, dlls/dpnet/regsvr.c, dlls/dpnet/server.c, dlls/dpnet/version.rc, tools/wine.inf: Raphael Junqueira Added simple dpnet.dll implementation. * dlls/shell32/cpanelfolder.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shellpath.c: Juan Lang - comment fixes - improved error checking and conformance with Windows - remove some spurious error messages * configure, configure.ac, dlls/Makefile.in, dlls/user/misc.c, dlls/user/resource.c, dlls/user/user32.spec, dlls/vdmdbg/.cvsignore, dlls/vdmdbg/Makefile.in, dlls/vdmdbg/vdmdbg.c, dlls/vdmdbg/vdmdbg.spec: Sami Aario Stubs to prevent taskmgr.exe from crashing or aborting during startup. * files/file.c: Better fallback in SetFileTime when futimes is missing. * documentation/testing.sgml: Michael Jacobsen Cleaned up the text concerning the need for conformance tests. * dlls/dbghelp/elf_module.c: Gerald Pfeifer Cast third parameter of elf_search_and_load_file() to proper type. * dlls/comctl32/toolbar.c: Huw Davies Fix dumb error from rev. 1.158. * dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, include/winternl.h: Raphael Junqueira - fix DbgPrint and implement DbgPrintEx - stub for NtImpersonateAnonymousToken * dlls/advapi32/advapi32.spec: Raphael Junqueira Added some stubs. * include/dpaddr.h, include/dplay8.h: Raphael Junqueira Correct dplay8 headers for future use. * dlls/uxtheme/system.c, dlls/uxtheme/uxtheme.spec: Kevin Koltzau Implement CheckThemeSignature. * tools/makedep.c: Added some checks for the config.h inclusion rules in the Wine tree. * dlls/ddraw/main.c, dlls/shell32/shelllink.c, dlls/user/comm16.c, dlls/wineps/type1.c, dlls/wineps/type42.c: Fixed a couple of header files ordering issues. * dlls/ntdll/file.c: Better support for device handles in NtQueryVolumeInformationFile. * configure, configure.ac, dlls/x11drv/xrandr.c, include/config.h.in: Mike McCormack Load the XRandR extension dynamically (with help from Alex Pasadyn). * files/smb.c: Juan Lang Properly map SMB errors using DOS-style error codes. * dlls/shell32/shlexec.c: Martin Fuchs Resolve shell shortcuts and process ID lists in ShellExecute() functions. 2004-04-06 Alexandre Julliard * dlls/kernel/volume.c, dlls/kernel/vxd.c, dlls/winedos/int21.c, files/file.c, include/file.h, include/wine/server_protocol.h, misc/registry.c, server/file.c, server/file.h, server/mapping.c, server/protocol.def, server/trace.c: Get rid of the removable media handling in the server. * dlls/ntdll/file.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/virtual.c, include/winternl.h, server/process.c: Handle file mappings on removable media entirely inside ntdll. * dlls/shell32/debughlp.c, dlls/shell32/enumidlist.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_mycomp.c: Juan Lang - rename PT_SPECIAL to PT_SHELLEXT - remove unnecessarily complex _ILCreate - combine _ILCreateValue and _ILCreateFolder, since their outputs differed by only one byte. * dlls/ntdll/virtual.c: Fixed some potential races in the handling of the view structures. * dlls/winedos/int15.c: Florian Goth Added some more stubs after examining the dosbox source code. * dlls/dbghelp/storage.c: Gerald Pfeifer Avoid compiler warning in vector_position(). * configure, configure.ac: Shachar Shemesh Static libraries names for ICU are libsicu*.a now. Add printout of the linking test. * dlls/user/tests/msg.c: Dmitry Timoshkov Make use of the 'defwinproc' flag in the message test. * dlls/dinput/Makefile.in, dlls/dinput/dinput_main.c, dlls/dinput/regsvr.c, tools/wine.inf: James Perry Make dinput.dll self register. * dlls/dsound/capture.c, dlls/dsound/tests/Makefile.in, dlls/dsound/tests/capture.c: Robert Reif Fixed deadlock in capture callback. Fixed capture test to check all notifications. Added better debug messages to capture test. * dlls/ntdll/file.c: Partial implementation of NtQueryVolumeInformationFile. * configure, configure.ac, include/config.h.in, include/wine/port.h, libs/port/Makefile.in, libs/port/fstatvfs.c: Added support for fstatvfs. * dlls/commdlg/cdlg_Es.rc, dlls/msacm/msacm.rc, dlls/msacm/msacm_Es.rc, dlls/oledlg/oledlg_Es.rc, dlls/oledlg/rsrc.rc, dlls/shlwapi/shlwapi.rc, dlls/shlwapi/shlwapi_Es.rc, dlls/user/resources/user32_Es.rc, dlls/wineps/wps_Es.rc, programs/clock/Es.rc, programs/cmdlgtst/Es.rc, programs/cmdlgtst/cmdlgr.rc, programs/notepad/Es.rc, programs/progman/Es.rc, programs/regedit/Es.rc, programs/wcmd/Es.rc, programs/wcmd/wcmdrc.rc: José Manuel Ferrer Ortiz Updated Spanish translations. * dlls/shell32/debughlp.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_mycomp.c: Juan Lang Rename PT_MYCOMP to PT_GUID, and the corresponding union member from mycomp to guid. * dlls/user/misc.c: Sami Aario Fix return types of GetThreadDesktop and OpenDesktopA. 2004-04-05 Alexandre Julliard * dlls/mpr/.cvsignore, dlls/mpr/Makefile.in, dlls/mpr/mpr.rc, dlls/mpr/mpr_En.rc, dlls/mpr/mpr_main.c, dlls/mpr/mprres.h, dlls/mpr/version.rc, dlls/mpr/wnet.c, dlls/mpr/wnetpriv.h, include/Makefile.in, include/npapi.h: Juan Lang - implement loading network providers - implement enumeration functions - some improved error checking and A->W conversion * dlls/shell32/shellpath.c: Juan Lang Use symbolic constants for magic numbers in SHGetFolderPathW, avoid doing MultiByteToWideChar on values that don't need it, * configure, configure.ac, dlls/version/Makefile.in, dlls/version/tests/.cvsignore, dlls/version/tests/Makefile.in, dlls/version/tests/info.c: Stefan Leichter Added tests for GetFileVersionInfoSizeA. * dlls/version/info.c: Stefan Leichter Moved implementation of GetFileVersionInfoSize from ascii to unicode, fixed failing, crashing test cases. * dlls/imagehlp/Makefile.in, dlls/imagehlp/access.c, dlls/imagehlp/debug.c, dlls/imagehlp/imagehlp.spec, dlls/imagehlp/imagehlp_main.c, dlls/imagehlp/symbol.c, include/imagehlp.h: Eric Pouech Moved quite a few functions to dbghelp (removed debug.c and symbol.c files). * programs/taskmgr/dbgchnl.c: Eric Pouech Set correct options for dbghelp (ELF loading & parsing speed). * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, include/winsock2.h, include/wtypes.h, include/wtypes.idl: Rein Klazes Stub implementation for WSALookupServiceBeginA/W. * dlls/shell32/folders.c: Juan Lang Get rid of a few pointless A/W conversions. * configure, configure.ac, dlls/Makefile.in, dlls/dbghelp/.cvsignore, dlls/dbghelp/Makefile.in, dlls/dbghelp/dbghelp.c, dlls/dbghelp/dbghelp.spec, dlls/dbghelp/dbghelp_private.h, dlls/dbghelp/elf_module.c, dlls/dbghelp/image.c, dlls/dbghelp/memory.c, dlls/dbghelp/minidump.c, dlls/dbghelp/module.c, dlls/dbghelp/msc.c, dlls/dbghelp/path.c, dlls/dbghelp/pe_module.c, dlls/dbghelp/source.c, dlls/dbghelp/stabs.c, dlls/dbghelp/stack.c, dlls/dbghelp/storage.c, dlls/dbghelp/symbol.c, dlls/dbghelp/type.c, include/Makefile.in, include/cvconst.h, include/dbghelp.h: Eric Pouech First shot at implementing dbghelp. * dlls/shell32/shell32_Cn.rc, dlls/shell32/shell32_De.rc, dlls/shell32/shell32_En.rc, dlls/shell32/shell32_Es.rc, dlls/shell32/shell32_Fr.rc, dlls/shell32/shell32_It.rc, dlls/shell32/shell32_Ja.rc, dlls/shell32/shell32_Pt.rc, dlls/shell32/shell32_Si.rc, dlls/shell32/shell32_Sk.rc, dlls/shell32/shell32_Zh.rc: Martin Fuchs Add resource strings for control panel folder. * dlls/shell32/shlexec.c: Martin Fuchs Optimization: null terminate string buffers instead of filling them completely with 0. * dlls/shell32/folders.c: Martin Fuchs Get icons for shell link files. * dlls/ntdll/path.c, include/winternl.h: Fixed RtlDosPathNameToNtPathName_U prototype. * dlls/winmm/mciavi/mmoutput.c: Dmitry Timoshkov Fallback to a compression scheme specified in the stream format in the case FOURCC handler does not exist or format is not supported. * include/wincrypt.h: Juan Lang Add a bunch of missing declarations. * include/winnt.h: Juan Lang ifdef guard TCHAR declaration like PSDK does. * dlls/netapi32/netapi32.c, dlls/netapi32/netapi32.spec, dlls/netapi32/tests/access.c, dlls/netapi32/tests/wksta.c, dlls/netapi32/wksta.c: Juan Lang - fix a couple tests and traces - add a couple stubs required by native ntlanman.dll * dlls/x11drv/clipboard.c: Rein Klazes Do not crash if the clipboard format is unknown. * dlls/quartz/filtergraph.c: Michael Stefaniuc Fix cut'n'paste error: leave the CriticalSection not enter it again (found by smatch). * dlls/winmm/mci.c, dlls/winmm/message16.c, dlls/winmm/winmm_res.rc, include/wine/mmsystem16.h: Eric Pouech - implemented MCI_SOUND command - fixed MCI command table in resource - added a TODO list on MCI handling * dlls/kernel/locale.c, dlls/kernel/tests/locale.c: Lionel Ulmer Add better NULL checks to lstrcmp[i](A/W) functions. * objects/region.c: Robert Shearman Documentation for most of the region functions. * dlls/shell32/shelllink.c: Martin Fuchs - fix dirty flag on shelllink loading and saving - update absolute path when changing relative path * dlls/uxtheme/system.c: Kevin Koltzau Implemented EnumThemes. 2004-04-03 Alexandre Julliard * dlls/kernel/file.c, dlls/kernel/tests/file.c, dlls/kernel/volume.c, files/file.c: Reimplemented DeleteFile by using CreateFile with FILE_FLAG_DELETE_ON_CLOSE. Added/fixed a few tests. 2004-04-02 Alexandre Julliard * dlls/kernel/volume.c, dlls/kernel/vxd.c, documentation/wine.conf.man, files/drive.c, files/file.c, include/file.h, misc/registry.c: Removed the FailReadOnly option, this is now the default behavior. * include/msvcrt/limits.h: Felix Nawothnig Define all macros described on MSDN. * dlls/commdlg/cdlg_En.rc: Robert Shearman Separate US English resources from English ones. * dlls/d3d8/d3dcore_gl.h: Raphael Junqueira Fix the GL_MAX_VERTEX_UNITS_ARB undeclared compilation error. * dlls/ntdll/time.c: A couple of optimizations and bug fixes. * dlls/user/tests/msg.c: Dmitry Timoshkov Add new tests for various window creation/positioning behaviours. * dlls/x11drv/winpos.c: Dmitry Timoshkov Add SWP_NOZORDER in the case it's not needed. * dlls/x11drv/winpos.c: Dmitry Timoshkov A decision whether add SWP_NOACTIVATE or not should be based on GetActiveWindow() test. * dlls/x11drv/winpos.c: Dmitry Timoshkov ShowWindow should not optimize SW_HIDE, it's the job of SetWindowPos. * dlls/x11drv/winpos.c: Dmitry Timoshkov Sending WM_SHOWWINDOW is a job of SetWindowPos. * dlls/x11drv/window.c, windows/win.c: Dmitry Timoshkov Setting WS_VISIBLE style does not require any special handling. * windows/win.c: Dmitry Timoshkov WM_PARENTNOTIFY should not be sent to WS_POPUP windows. * server/fd.c, server/file.c, server/file.h: Moved FILE_DELETE_ON_CLOSE support to the inode object so that we really wait for the last close. Added FILE_SHARE_DELETE support. * include/wine/unicode.h, libs/unicode/string.c, libs/unicode/wine_unicode.def, libs/unicode/wine_unicode.map: Added memicmpW. * dlls/kernel/profile.c: Don't try to get the file time if the file wasn't found. * controls/menu.c: Bobby Bingham Fix tracking the currently highlighted item in menus when the mouse button is not held down. * dlls/ntdll/time.c: Rein Klazes Fix incorrect calculation of leap year in RtlTimeFieldsToTime(). * dlls/kernel/console.c, dlls/kernel/kernel32.spec: Hans Leidekker GetConsoleInfo() pseudo stub. * dlls/netapi32/netapi32.c, dlls/netapi32/netapi32.spec: Hans Leidekker NetServerGetInfo() pseudo stub. * dlls/gdi/painting.c: Mike McCormack Fix bug in GdiGradientFill. * dlls/dmscript/script.c: Raphael Junqueira Initialize correctly the DMUS_OBJECTDESC local structure. 2004-04-01 Alexandre Julliard * controls/edit.c, controls/menu.c, controls/uitools.c, dlls/user/user_main.c, documentation/PACKAGING, documentation/configuring.sgml, documentation/samples/config, documentation/wine.conf.man, include/user.h, programs/winecfg/En.rc, programs/winecfg/Es.rc, programs/winecfg/Pt.rc, programs/winecfg/Ru.rc, programs/winecfg/Si.rc, programs/winecfg/appdefaults.c, programs/winecfg/properties.c, programs/winecfg/properties.h, programs/winecfg/resource.h, programs/winecfg/winecfg.c: Dimitrie O. Paun Remove the rest of the Tweak look hack. * dlls/ntdll/sync.c: Rolf Kalbermatter NtPulseEvent: Don't print FIXME for an optional parameter if it isn't used. * include/shellapi.h: Rolf Kalbermatter Add some declarations for additional SHFileOperation features. * dlls/shell32/shlexec.c: Rolf Kalbermatter Use named constant instead of a simple number (gets rid of signed warning too). * dlls/comctl32/toolbar.c: Robert Shearman - Fix LButtonDown from previous change. - Don't use BF_ADJUST flag for dropdown buttons. - Fix LButtonDblClk. * dlls/comctl32/tooltips.c: Robert Shearman - TTM_TRACKACTIVATE can have NULL lParam when deactivating. - Factor out common code from TOOLTIPS_DelTool{A,W}. - Update all indices correctly after delete. * tools/.cvsignore, tools/Makefile.in, tools/wineprefixcreate.in: Beginnings of a script to initialize the .wine directory (with help from Chris Morgan). * controls/button.c, controls/combo.c, controls/edit.c, controls/listbox.c, controls/menu.c, controls/scroll.c, controls/static.c, dlls/user/user_main.c, documentation/samples/config, include/nonclient.h, include/user.h, windows/defwnd.c, windows/mdi.c, windows/msgbox.c, windows/nonclient.c, windows/syscolor.c, windows/sysmetrics.c, windows/sysparams.c: Dimitrie O. Paun Remove the support for the Win 3.1 Look. * dlls/imm32/imm32.spec, dlls/kernel/kernel32.spec, dlls/ntdll/ntdll.spec, dlls/user/misc.c, dlls/user/user32.spec: Raphael Junqueira Added some stubs. * dlls/ntdll/path.c: Make RtlGetFullPathName_U handle Unix paths, using the new symlinks scheme. * dlls/shell32/shellpath.c: Kevin Koltzau Added support for CSIDL_RESOURCES path. 2004-03-31 Alexandre Julliard * dlls/cards/.cvsignore, dlls/cards/Makefile.in: jr.bmp isn't generated. * dlls/wininet/http.c: Fixed length handling in HttpQueryInfoW. * tools/c2man.pl: Paul Vriens Added missing comma in index.html. * dlls/opengl32/.cvsignore, dlls/opengl32/Makefile.in, dlls/opengl32/version.rc: Tom Wickline Set version to Win XP Service patch 2. * dlls/d3d8/utils.c, dlls/oleaut32/safearray.c, documentation/faq.sgml: Francois Gouget Assorted spelling and case fixes. * dlls/winmm/winealsa/audio.c: Felix Nawothnig Don't free ALSA device string when the device is closed since it might be reopened. * include/winsock.h, include/ws2tcpip.h: Francois Gouget Make sure ip_mreq is not exported by winsock2.h. Add ip_mreq, ip_mreq_source and ip_msfilter to ws2tcpip.h. * dlls/gdi/painting.c: Mike McCormack Optimize GdiGradientFill by drawing lines instead of pixels. * dlls/urlmon/umon.c: Kevin Koltzau Implemented IsEqual. * dlls/winmm/wineoss/audio.c: Robert Reif More duplex mode soundcard info. * dlls/mapi32/mapi32.spec, dlls/shell32/shell32.spec, tools/winebuild/parser.c: Do not strip stdcall decoration in spec files. Fixed mapi32 ordinals. * tools/winegcc/winegcc.c: Fixed handling of .so and .a libraries specified as input files. * programs/winetest/main.c: Ferenc Wagner Give SetErrorMode the right argument to suppress crash dialogs. * tools/bug_report.pl: Ivan Leo Murray-Smith Small fix. 2004-03-30 Alexandre Julliard * dlls/kernel/volume.c, files/drive.c: Get the drive root directories from the symlinks in dosdevices/ if they exist. Added creation of drive symlinks in the device transition code. * dlls/kernel/volume.c: Added support for DOS drives in QueryDosDevice and DefineDosDevice. * programs/regedit/resource.rc: Ivan Leo Murray-Smith Fixed some values. * dlls/winedos/int16.c, dlls/winedos/int17.c: Florian Goth Added some stubs. * dlls/msi/Makefile.in, dlls/msi/msi.c, dlls/msi/msi.spec, dlls/msi/msipriv.h, dlls/msi/regsvr.c, tools/wine.inf: Raphael Junqueira Implement DllGetClassObject, DllRegisterServer, DllUnregisterServer (as the interfaces aren't documented we only have stubs). * dlls/x11drv/dib.c: Huw Davies We don't support GetDIBits with BI_RLE4/8, so for now return an uncompressed bitmap if the bits buffer is large enough. * objects/dib.c: Huw Davies Select the dibsection into a dc before calling GetDIBColorTable. * dlls/kernel/locale.c: Dmitry Timoshkov Add CP932, CP936, CP949 and CP950 to the charset map. * dlls/wininet/cookie.c: Mike McCormack Unicodify the cookie handling code. * dlls/wininet/http.c: Mike McCormack Fix the HttpQueryInfoA function buffer size. * dlls/kernel/ne_module.c: Mike McCormack Fix builtin NE module refcounting of 32bit parent. * dlls/d3d8/d3dcore_gl.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/utils.c: Raphael Junqueira - more Extensions work (begin to detect ATI extensions) - try to fix D3DTADDRESS_BORDER, D3DTADDRESS_MIRROR, D3DTADDRESS_MIRRORONCE using OpenGL extensions - better set_tex_op: now use Runtime Extension support (and not compile support) * dlls/ole32/ole2.c: Jon Griffiths RegisterDragDrop: fail on NULL drop target. * loader/pthread.c: Fixed rounding bug in the stack info calculation when we don't have pthread_getattr_np. * dlls/wininet/cookie.c, dlls/wininet/dialogs.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/netconnection.c, dlls/wininet/utility.c, dlls/wininet/wininet.spec, include/wininet.h: Mike McCormack Convert the wininet HTTP functions to Unicode. * programs/winecfg/x11drvdlg.c: Chris Morgan Invalid "Desktop" values would crash winecfg, use the default value instead. * dlls/commdlg/cdlg_Pt.rc: Marcelo Duarte Minor updates in resource for Portuguese. * programs/regedit/resource.rc: Ivan Leo Murray-Smith Improved version resource info. * include/wine/wine_common_ver.rc: Ivan Leo Murray-Smith In resource info allow OriginalFilename and InternalName to be different. * programs/winetest/main.c, programs/winetest/util.c: Ferenc Wagner Don't expect stdout be usable after exchanging file descriptors under it. 2004-03-29 Alexandre Julliard * documentation/bugs.sgml, documentation/configuring.sgml: Chris Morgan Remove references to winecheck from the documentation and insert a TODO that mentions that the functionality is to be moved into winecfg. * programs/progman/rsrc.rc: Ivan Leo Murray-Smith Enable Italian translations. * programs/progman/It.rc: Fixed language declarations. * dlls/kernel/version.rc: Ivan Leo Murray-Smith WINE_FILEDESCRIPTION_STR is already defined in wine_common_ver.rc. * dlls/oleacc/main.c, dlls/oleacc/oleacc.spec: Mike McCormack Stub implementations for LresultFromObject and AccessibleObjectFromWindow. * dlls/gdi/enhmfdrv/graphics.c: Mike McCormack Write EMRPOLYLINE16 if points fit into a SHORT. * include/wine/wingdi16.h, include/wingdi.h, objects/enhmetafile.c: Mike McCormack Move EMR*16 definitions to wingdi.h, as they're part of the WIN32 API. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Fix Slovenian keyboard layout to better match the XFree86 one. * controls/scroll.c: Dmitry Timoshkov Scrollbar should also react on WM_LBUTTONDBLCLK. * dlls/kernel/locale.c: Dmitry Timoshkov Add Traditional Chinese Big5 and Simplified Chinese GBK mappings. * dlls/winmm/winealsa/audio.c: Sylvain Petreolle Fixed error reporting. * dlls/winnls/winnls.c, dlls/winnls/winnls32.spec: Christian Costa Added stub for WINNLS32EnableIME. * controls/edit.c, tools/winecheck: Lionel Ulmer Add some TRACEing to the edit control. * dlls/ole32/compobj.c: Warren Turkal Fixed the implementation of CoTreatAsClass. * dlls/urlmon/umon.c, include/urlmon.h, include/urlmon.idl: Kevin Koltzau Implement loading and saving to a stream, and a few other basic functions. * objects/dib.c: Huw Davies Honour DIB_PAL_COLORS when the bitmap depths match. * dlls/winmm/wineoss/audio.c: Robert Reif Print out sound card info for playback, capture and duplex modes. Hardware capabilities can vary depending on usage mode. Print out format requested and actual format returned. * dlls/gdi/gdi_private.h, dlls/gdi/mfdrv/init.c, objects/metafile.c: Mike McCormack Unicodify CreateMetaFile. * dlls/kernel/sync.c: Mike McCormack Use CreateEventW in preference to CreateEventA. * dlls/cards/.cvsignore, dlls/cards/Makefile.in, dlls/cards/cards.c, dlls/cards/cards.h, dlls/cards/cards.rc: Sami Nopanen Implemented invisibleghost, deckx and decko drawing modes, and improved ghost drawing mode. 2004-03-27 Alexandre Julliard * dlls/kernel/tests/file.c, server/fd.c, server/file.c, server/file.h: Check file sharing permissions based on the file inode instead of the file name. Added regression test for sharing permissions. * files/file.c: Fixed copy/paste error in previous patch (spotted by Dimitrie O. Paun). * tools/winebuild/relay.c: Dmitry Timoshkov Add a few missing __ASM_NAME macros. * dlls/winmm/tests/wave.c: Robert Reif Clean up white spaces. Fix spelling error. Improve capture error messages. Fix error reporting when capturing from nonexistent device. * tools/bug_report.pl: Ivan Leo Murray-Smith Use WINEDEBUG instead of --debugmsg. * dlls/d3d8/d3dcore_gl.h, dlls/d3d8/device.c: Raphael Junqueira - support of D3DTSS_MAXMIPLEVEL - support of D3DTSS_MIPMAPLODBIAS (using EXT_TEXTURE_LOD_BIAS extension) - correct support of D3DTSS_MAXANISOTROPY for D3DTSS_MAGFILTER and D3DTSS_MINFILTER - fixes for D3DTSS_MAGFILTER and D3DTSS_MAGFILTER * dlls/user/tests/msg.c: Dmitry Timoshkov Workaround a msvcrt.realloc bug under Win9x by using Win32 APIs instead. Take into account that HeapRealloc may move the allocated memory block. * dlls/shell32/shlexec.c: Martin Fuchs Call IShellExecuteHook interface for ShellExecute() calls with ID lists. * configure, configure.ac, files/file.c, include/config.h.in, include/wine/server_protocol.h, server/file.c, server/protocol.def, server/request.h, server/trace.c: Use futimes() instead of utime() to implement SetFileTime, so that it can be done on the client side. * dlls/shell32/Makefile.in, dlls/shell32/control.c, dlls/shell32/cpanel.h, dlls/shell32/cpanelfolder.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c: Martin Fuchs Implementation of the control panel folder in shell namespace. * dlls/winmm/winealsa/Makefile.in, dlls/winmm/winealsa/audio.c: Mike Hearn Allow configuration of output devices to use and change standard output plugin requested to "default". * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Ulrich Czekalla Implement FixSlashesAndColonW and add stub for SHGetAppCompatFlags. * dlls/x11drv/palette.c: Avoid crash in X11DRV_IsSolidColor for TrueColor displays. * dlls/x11drv/dib.c: Huw Davies Build the correct colour map when the mode is DIB_PAL_COLORS. * objects/dib.c: Huw Davies When using DIB_PAL_COLORS select the current palette into the memory dc so that SetDIBits works correctly. * dlls/ddraw/mesa.c: James Perry Fix handling of D3DBLEND_BOTH* blend modes. 2004-03-26 Alexandre Julliard * dlls/kernel/file16.c: Fixed GetDriveType16 return value for non-existent drives. Fixed bug in OpenFile16 introduced by previous change. * dlls/shell32/shell32_main.h, dlls/shell32/shelllink.c, dlls/shell32/shlexec.c: Martin Fuchs - Fix handling of %2, %3, ... and lower case format characters in SHELL_ArgifyW(). - Move "%I" expansion from ShellExecuteEx() into common function SHELL_ArgifyW(). - Pass buffer length to SHELL_FindExecutable(). - FIXME comment for len paramater in SHELL_ArgifyW(). Ge van Geldorp - Add double quotation marks unless we already have them (e.g.: "%1" %* for exefile). - Remove unnecessary double quotation marks and command line arguments. * dlls/user/tests/msg.c: Dmitry Timoshkov Add a procedure for logging WM_PARENTNOTIFY messages. * dlls/kernel/file16.c, dlls/kernel/path.c, files/directory.c: Store the windows and system directories as long path names. Moved GetTempPath and GetTempDrive to dlls/kernel. * dlls/user/tests/msg.c, windows/win.c: Dmitry Timoshkov Make DestroyWindow() not mess with a window focus, this should be taken care of by ShowWindow(SW_HIDE). Add a test for DestroyWindow() on a focused child. * dlls/user/tests/msg.c: Dmitry Timoshkov Add 'hook' flag for messages. Add a test for CBT hook messages. 2004-03-25 Alexandre Julliard * dlls/kernel/kernel_private.h, dlls/kernel/module.c, dlls/kernel/path.c, dlls/kernel/process.c, files/directory.c, include/file.h: Reimplemented SearchPathW using ntdll functions. * dlls/shell32/shelllink.c: Martin Fuchs Implementation of IPersistFile::IsDirty(). * include/winsock.h: Felix Nawothnig Define ip_mreq. * include/msvcrt/float.h: Felix Nawothnig Define (L)DBL_* and FLT_*. * dlls/user/tests/msg.c: Dmitry Timoshkov Add 'optional' flag for messages, make the test run under win2k. * dlls/kernel/file.c, dlls/kernel/file16.c, files/file.c: Split OpenFile implementation in separate 16- and 32-bit versions, and changed it to use exported APIs instead of internal functions where possible. * dlls/kernel/wowthunk.c: Changed LoadLibraryEx32W16 to use OpenFile16 to look for the file instead of DIR_SearchPath. * dlls/wininet/dialogs.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/utility.c: Mike McCormack Convert WININETAPPINFOA structure to unicode. * include/winuser.h: Mike McCormack Define flags for GetUserObjectInformation. * dlls/winedos/int15.c: Florian Goth Added stubs for a few functions. * configure, configure.ac, dlls/Makedll.rules.in, include/config.h.in: Removed check for -lm, winegcc takes care of that. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/spec32.c, tools/winebuild/utils.c, tools/winebuild/winebuild.man.in, tools/winegcc/winegcc.c: Replaced the --mode winebuild option by a --subsystem option for better compatibility with the PE binutils. * tools/winegcc/Makefile.in: Take EXEEXT into account for PE builds. * dlls/msvcrt/tests/.cvsignore, dlls/msvcrt/tests/Makefile.in, dlls/msvcrt/tests/time.c, dlls/msvcrt/time.c: Uwe Bonnes Correct errors with move to kernel time functions. Add test case. * include/msvcrt/wchar.h: Felix Nawothnig Define stat in msvcrt/wchar.h. 2004-03-24 Alexandre Julliard * programs/winetest/Makefile.in, programs/winetest/gui.rc, programs/winetest/main.c, programs/winetest/maketest, programs/winetest/send.c: Ferenc Wagner - Extract revision info from CVS/Entries. - #include "winetest.rc" into gui.rc. MinGW can't link in more than one resource files. - Enlarge chunk size of network transfer. * dlls/cards/cards.c, dlls/cards/cards.h: Sami Nopanen Implemented card drawing mode flag for rounding card corners. * dlls/msvcrt/msvcrt.spec: Rein Klazes The name is _longjmpex (with the underscore). * dlls/dinput/joystick_linuxinput.c: Christoph Frick - Added missing break statement. - Changed the mapping of the axis to a simpler formula, that ignores the middle of an axis. - Min/max values where initalized switched. - Added the missing button and axis events that are registered earlier in the code but never made it to the application. - Added a little more descriptive comment about the deadzone. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Removed the Unicode exe modes, and instead detect automatically which mode to use based on the existence of main or wmain. * dlls/*/.cvsignore: .spec.c files are no longer used for 32-bit dlls. * Make.rules.in, dlls/Makedll.rules.in, tools/winegcc/Makefile.in: Build the dlls with winegcc. 2004-03-23 Alexandre Julliard * dlls/comctl32/rebar.c, dlls/d3d8/utils.c, dlls/kernel/locale.c, dlls/ntdll/rtlstr.c, dlls/ole32/compobj.c, dlls/ole32/ifs.c, dlls/oleaut32/safearray.c, dlls/oleaut32/tests/vartype.c, dlls/oleaut32/vartype.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.c, dlls/shlwapi/ordinal.c, programs/avitools/aviplay.c, tools/winedump/misc.c: Francois Gouget Assorted spelling fixes. * dlls/d3d8/device.c: Ofir Petruska Keep the checkGLcall glActiveTexture/glActiveTextureARB separation in all the file. * dlls/comctl32/.cvsignore, dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.h, dlls/comctl32/rsrc.rc, dlls/comctl32/toolbar.c: Robert Shearman - Add cursor resource. - Implement TB_MOVEBUTTON. - Implement drag customise. - Send TBN_TOOLBARCHANGE and TBN_DELETINGBUTTON. * tools/winegcc/winegcc.c: Dimitrie O. Paun Add a default .dll extension only when no extension is present. * programs/regedit/regproc.c: Francois Gouget Compute dwLen after passing the string through REGPROC_unescape_string() so we don't save garbage characters in the registry. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/direct3d/mesa.c: Christian Costa Do not return an error when setting a material to NULL. Fixed access to d3d private data. * dlls/d3d8/device.c: Ofir Petruska Define EXTRA_TRACES instead of #if 0. * dlls/cards/cards.c: Added missing \n in trace. * configure, configure.ac, programs/Makefile.in, programs/taskmgr/.cvsignore, programs/taskmgr/Makefile.in, programs/taskmgr/about.c, programs/taskmgr/affinity.c, programs/taskmgr/applpage.c, programs/taskmgr/column.c, programs/taskmgr/column.h, programs/taskmgr/dbgchnl.c, programs/taskmgr/debug.c, programs/taskmgr/endproc.c, programs/taskmgr/graph.c, programs/taskmgr/graphctl.c, programs/taskmgr/graphctl.h, programs/taskmgr/optnmenu.c, programs/taskmgr/perfdata.c, programs/taskmgr/perfdata.h, programs/taskmgr/perfpage.c, programs/taskmgr/priority.c, programs/taskmgr/proclist.c, programs/taskmgr/procpage.c, programs/taskmgr/resource.h, programs/taskmgr/run.c, programs/taskmgr/taskmgr.c, programs/taskmgr/taskmgr.h, programs/taskmgr/taskmgr.rc, programs/taskmgr/trayicon.c: Eric Pouech Ported the ReactOS taskmgr written by Brian Palmer. * tools/winegcc/utils.c, tools/winegcc/utils.h, tools/winegcc/winegcc.c: Dimitrie O. Paun First cut at -shared support. 2004-03-22 Alexandre Julliard * dlls/ntdll/tests/path.c: Uwe Bonnes Added some tests for RtlGetFullPathName_U. * dlls/ntdll/path.c: Moved slash conversion to collapse_path, and remove duplicate backslashes too. * dlls/shell32/shelllink.c: Martin Fuchs Fix for recent shelllink patch, which removed the important part of returning the result pointer from IShellLink_ConstructFromFile(). * dlls/shell32/pidl.c: Robert Shearman Allow passing NULL to ILFindLastID. * include/rpcndr.h: Robert Shearman Added some declarations. * dlls/oleaut32/typelib.c: Robert Shearman BSTR of length 0 is allowed. * dlls/ddraw/ddraw/main.c: Christian Costa Enable creation of a zbuffer in system memory. * dlls/shell32/iconcache.c: Martin Fuchs Fix recent Unicode-ification patch. * programs/wcmd/builtins.c, programs/wcmd/wcmd.h, programs/wcmd/wcmdmain.c: Mike McCormack Implement setlocal/endlocal. * dlls/wininet/http.c: Marcus Meissner Allocate the correct nr of bytes for lpszCookies in HTTP_HttpOpenRequestA. Allocate the correct nr of bytes for request stringlen without options. * dlls/advapi32/advapi.c, dlls/advapi32/advapi32.spec: Juan Lang Stub CommandLineFromMsiDescriptor to prevent a crash in Accelerys Materials Studio. * tools/winapi/msvcmaker: Steven Edwards Remove reference to old graphics directory * dlls/urlmon/Makefile.in, dlls/urlmon/umon.c: Kevin Koltzau Implement FindMimeFromData. * dlls/iphlpapi/tests/iphlpapi.c: Hans Leidekker Don't include config.h. * dlls/shell32/shelllink.c: Mike McCormack Update path from relative path on loading. * tools/winebuild/spec32.c: Pierre d'Herbemont Darwin support for _init/_fini functions and _end symbol. * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/time.c: Uwe Bonnes Added tests for time functions. * dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h: Mike McCormack Unicode-ify the icon cache and SHGetFileInfo. * windows/sysparams.c: Rein Klazes Correctly size the spi_loaded array prevents overwriting of system parameters. * dlls/wininet/http.c: Marcus Meissner Allocate correct number of pointers for szAcceptTypes, since we need it NULL terminated. HeapReAlloc will modify the pointer, so store it there. * documentation/ddraw.sgml: Rudolf Kastl Added missing para tag. * dlls/shlwapi/tests/.cvsignore, dlls/shlwapi/tests/Makefile.in, dlls/shlwapi/tests/ordinal.c: Jon Griffiths Test SHSearchMapInt. * dlls/oleaut32/tests/vartest.c: Jon Griffiths Tests for VarXor/VarEqv. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Jon Griffiths Implement VarXor and simplify VarEqv to use it. * include/rpcndr.h: Eric Pouech Added C++ support. * dlls/wsock32/protocol.c: Hans Leidekker Porting fixes. 2004-03-20 Alexandre Julliard * controls/listbox.c: Fixed typo in previous change. * files/file.c: Christian Costa Fixed OpenFile returned value when OF_EXIST flag is specified. * windows/dialog.c: Dmitry Timoshkov Change order of EnableWindow/DestroyWindow in the case of failure in DIALOG_CreateControls32. * documentation/Makefile.in, documentation/ddraw.sgml, documentation/ddraw.txt, documentation/wine-devel.sgml: Chris Morgan Convert ddraw.txt to ddraw.sgml and add it to the wine-devel documentation. * dlls/commdlg/filedlg.c: Rein Klazes Fix a possible null pointer crash in FILEDLG95_LOOKIN_Init. * programs/winetest/Makefile.in, programs/winetest/main.c, programs/winetest/maketest: Dimitrie O. Paun Add revision support to winetest.exe. * tools/wine.inf: Kevin Koltzau Add Content Types for a few common extensions. * dlls/msi/Makefile.in, dlls/msi/insert.c, dlls/msi/query.h, dlls/msi/sql.y, dlls/msi/where.c: Mike McCormack Start implementing the SQL insert query. * dlls/ddraw/d3ddevice/mesa.c: Christian Costa Improve D3D7 compatibility. * dlls/d3d8/device.c: Christian Costa AddRef texture only if there is one for the requested stage. * dlls/kernel/kernel_main.c, dlls/kernel/kernel_private.h, dlls/kernel/volume.c, documentation/samples/config, documentation/wine.conf.man, files/dos_fs.c, files/drive.c, files/file.c, include/file.h: Rewrote handling of COM and LPT devices to use symlinks in $WINEPREFIX/dosdevices, with suitable defaults if the symlinks are missing. Rewrote QueryDosDevice and DefineDosDevice to use the new scheme. Added temporary code to create the symlinks based on the contents of the config file. 2004-03-19 Alexandre Julliard * dlls/kernel/format_msg.c: Ulrich Czekalla Fix typo in FormatMessageW. * programs/winetest/send.c, programs/winetest/util.c: Ferenc Wagner - Refactor and fix connection opening. - Target test.winehq.org. * dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/private_mciavi.h: Dmitry Timoshkov Just update from/to pointers and exit on a subsequent MCI_PLAY command. * dlls/user/tests/win.c: Dmitry Timoshkov Add a test case which confirms that SetMenu implementation in Wine is correct. * dlls/comctl32/rebar.c: Mike McCormack Make sure the rebar size is above a minimum. * dlls/msi/create.c, dlls/msi/handle.c, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/record.c, dlls/msi/string.c, dlls/msi/suminfo.c, dlls/msi/table.c: Mike McCormack Fix handle allocation and the CREATE TABLE query. * dlls/ntdll/loader.c: Added workaround for broken dlls that modify ebx in their entry point (reported by Christian Costa). * programs/winetest/gui.c, programs/winetest/main.c, programs/winetest/send.c: Ferenc Wagner - Fix report() dispatch. - Strip "_test..." from test file names. - Use mystrtok() for command line parsing to avoid collision with the one in get_subtests(). - Change User-Agent HTTP header to "Winetest Shell". * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/tests/.cvsignore, dlls/msvcrt/tests/Makefile.in, dlls/msvcrt/tests/string.c: Uwe Bonnes Relay msvcrt_memcpy to memmove, CString::Insert seems to rely on that behaviour. Add a test case. * dlls/shell32/shlexec.c: Rein Klazes In SHELL_ExecuteW, if a new current directory is specified, change to it before calling CreateProcess so that it will find the correct executable. * dlls/kernel/format_msg.c: Ulrich Czekalla Convert FormatMessageW to use unicode functions. * dlls/user/comm16.c: Get rid of the registry lookups, rely entirely on the kernel devices instead. * programs/winecfg/main.c: Avoid including windows.h since it conflicts with unistd.h. * dlls/x11drv/event.c: Mike Hearn The KeymapNotify event does not use the window member, so don't warn about it being unknown. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/time.c: Hans Leidekker Reimplement time functions with Win32 APIs. Implement localtime()/gmtime(). * dlls/msi/create.c, dlls/msi/distinct.c, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/order.c, dlls/msi/query.h, dlls/msi/select.c, dlls/msi/sql.y, dlls/msi/string.c, dlls/msi/table.c, dlls/msi/tokenize.c, dlls/msi/where.c: Mike McCormack First go at write support. * dlls/user/tests/sysparams.c, windows/sysparams.c: Justin Chevrier Implemented SPI{GET,SET}MOUSEHOVERWIDTH, SPI{GET,SET}MOUSEHOVERHEIGHT, SPI{GET,SET}MOUSEHOVERTIME, SPI{GET,SET}MOUSESCROLLLINES, SPI{GET,SET}MENUSHOWDELAY. 2004-03-18 Alexandre Julliard * files/dos_fs.c, include/wine/server_protocol.h, server/file.c, server/file.h, server/protocol.def, server/request.h, server/serial.c, server/trace.c: Make the standard create_file request handle serial ports too, and remove the create_serial request. * dlls/shell32/shell.c, dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c: Martin Fuchs Expand environment strings in command, parameter and directory strings of ShellExecuteExW32(). * dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/string.c, dlls/msi/table.c: Mike McCormack When loading table data, split it up into rows. * programs/wcmd/builtins.c, programs/wcmd/wcmdmain.c: Mike McCormack Fixed handling of "echo." * dlls/comctl32/toolbar.c: Robert Shearman - Fix SetBitmapSize. - Fix SetButtonInfo. * controls/menu.c: Huw Davies TranslateAccelerator should only ignore commands when mouse capture is in effect or the window is disabled, if the command corresponds to a menu item. Otherwise it should process them as normal. * controls/listbox.c: Huw Davies Invalidate the focused item when scrolling horizontally so that it repaints correctly. * dlls/shlwapi/.cvsignore, dlls/shlwapi/Makefile.in, dlls/shlwapi/msgbox.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/resource.h, dlls/shlwapi/shlwapi.rc, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/shlwapi_En.rc, dlls/shlwapi/string.c: Jon Griffiths Implement SHMessageBoxCheck functions && add dialog resources. Add SHWaitForSendMessageThread, SHAnsiToUnicodeCP,SHStripMneumonicW, SHSearchMapInt. * dlls/ntdll/Makefile.in, dlls/ntdll/debugbuffer.c, dlls/ntdll/ntdll.spec, include/winternl.h: Raphael Junqueira Stub implementations of RtlCreateQueryDebugBuffer, RtlDestroyQueryDebugBuffer and RtlQueryProcessDebugInformation. * dlls/kernel/sync.c: Raphael Junqueira Remove duplicate code by using Nt* functions for PulseEvent, ResetEvent and SetEvent. * dlls/kernel/console.c: Richard Cohen Added some traces. * dlls/winmm/mciavi/mciavi.c: Christian Costa Release lock before wave calls that generate notification. * dlls/advapi32/registry.c: Juan Lang Allow RegConnectRegistryW to the local machine name. 2004-03-17 Alexandre Julliard * dlls/kernel/file.c, dlls/kernel/tests/file.c, files/dos_fs.c: Reimplemented FindFirstFile/FindNextFile on top of NtQueryDirectoryFile. * dlls/msi/Makefile.in, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/string.c, dlls/msi/table.c: Mike McCormack Move the string table out into a separate file, improve lookups. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Jon Griffiths Implement VarEqv. * dlls/kernel/console.c: Richard Cohen Fix relative screen resizing. * tools/winebuild/import.c: Richard Cohen Remove . from default library search path. * programs/wineconsole/wineconsole.c: Richard Cohen Fix cursor position optimization. * windows/painting.c: Richard Cohen FIXME_(win) -> FIXME. * dlls/shlwapi/reg.c: Jon Griffiths Make copies of keys when creating, free them when done. Use KEY_ALL_ACCESS when writing US reg values. SHRegWriteUSValueW: Handle all flag combinations. Make some A calls use the W version. * dlls/oleaut32/tests/olefont.c, dlls/oleaut32/tests/safearray.c: Jon Griffiths Use function ptrs for call only present in later versions. Fix tests that fail with old versions. * dlls/iccvid/iccvid.c: Mike McCormack Correct geometry error in the ICCVID codec. * dlls/comctl32/toolbar.c: Robert Shearman - Documentation update. - Better hot item handling. - Fix DrawMasked to always use the right image list and bitmap index. * dlls/ntdll/path.c: Rewrote the collapsing of . and .. in RtlGetFullPathName_U for better compatibility. * dlls/kernel/path.c: Retrieve a short name in GetShortPathNameW if the long name contains spaces. * controls/listbox.c, dlls/shell32/pidl.c, dlls/winedos/int21.c: FindFirstFile can return an empty short name if the long name is a valid DOS name, fixed callers to handle that properly. * dlls/setupapi/Makefile.in, dlls/setupapi/diskspace.c, dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c: Aric Stewart Beginnings on implementations of SetupCreateDiskSpaceListA/W, SetupQuerySpaceRequiredOnDriveA, SetupDestroyDiskSpaceList and SetupAddInstallSectionToDiskSpaceListA for MDAC install. * dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/sound3d.c: Robert Reif Remove unused lock. * dlls/kernel/kernel32.spec, dlls/kernel/sync.c: Raphael Junqueira Added stub for SignalObjectAndWait. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec: Steven Edwards Add stubs for EnumMonitors[A/W]. 2004-03-16 Alexandre Julliard * dlls/ddraw/dsurface/dib.c: Elias Ross Added 24-bit color key support in DIB_DirectDrawSurface_BltFast. * dlls/msi/Makefile.in: Dmitry Timoshkov Explicitly specify output file names for bison. * dlls/ntdll/directory.c: O_DIRECTORY is not really needed. * dlls/msi/Makefile.in, dlls/msi/create.c, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/query.h, dlls/msi/sql.y, dlls/msi/tokenize.c: Mike McCormack Extend the parser to deal with the CREATE TABLE query. The query doesn't do anything as yet. * dlls/msvcrt/dir.c, dlls/msvcrt/errno.c, dlls/msvcrt/exit.c, dlls/msvcrt/file.c, dlls/msvcrt/math.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c, dlls/msvcrt/string.c, include/msvcrt/direct.h, include/msvcrt/dos.h, include/msvcrt/io.h, include/msvcrt/stdio.h, include/msvcrt/stdlib.h, include/msvcrt/string.h, include/msvcrt/sys/stat.h, include/msvcrt/time.h, include/msvcrt/wchar.h: Hans Leidekker - Prefix many more functions, types, structs, etc. with MSVCRT_. - Correct prototypes for _memccpy()/_memicmp(). - "define before use" reordering in file.c. - Use the new math.h/float.h. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/variant.c: Fabian Cenedese Let VarParseNumFromStr and VarNumFromParseNum cope with hex and oct strings. Needed from VB conversions such as CLng, CInt, CByte... * dlls/comctl32/rebar.c: Filip Navara Support for RBBS_HIDETITLE style. * dlls/cards/cards.c, dlls/cards/cards.h: Sami Nopanen - Enumerated different drawing modes. - Implemented HILITE, REMOVE and GHOST drawing modes. * dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c: Aric Stewart Added stubs needed by some Windows Update installs. * controls/scroll.c: Ulrich Czekalla Add cast to correctly interpret signed coordinate values. * dlls/msi/.cvsignore, dlls/msi/Makefile.in, dlls/msi/cond.y, dlls/msi/msi.spec, dlls/msi/sql.y, dlls/msi/tokenize.c: Mike McCormack Start implementation of MsiEvaluateConditionA/W. * Make.rules.in, README, configure, configure.ac, documentation/README.de, documentation/README.fr, documentation/README.it, documentation/README.pt, documentation/README.pt_br: Mike McCormack Require bison to compile Wine. * dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/relay.c: Mike Hearn - Add debug SnoopFromInclude/SnoopFromExclude options. - Correct TRACE debug channel usage in SNOOP_SetupDLL. - Refactor check_relay_from_relay. * dlls/winmm/mciavi/wnd.c: Christian Costa Added support for MCI_DGV_WHERE_MAX flag in MCIAVI_mciWhere. Fixed WHERE_WINDOW. * programs/winecfg/main.c: Need to include config.h. * dlls/ntdll/Makefile.in, dlls/ntdll/directory.c, dlls/ntdll/file.c, dlls/ntdll/ntdll_misc.h, include/winternl.h: Implemented NtQueryDirectoryFile (partly based on a patch by Eric Pouech). * documentation/faq.sgml: Ivan Leo Murray-Smith A few updates. * dlls/kernel/instr.c, dlls/kernel/wowthunk.c, tools/winebuild/relay.c: Jukka Heinonen DPMI programs now handle pending events. * dlls/winmm/mciavi/mmoutput.c: Christian Costa Handle avi files with non standard video stream names. * dlls/winmm/mci.c: Christian Costa MCI strings are case insensitive. Fixed a returned error value. * dlls/winmm/mmio.c: Christian Costa Default to FOURCC_DOS if no IOProc found. * dlls/winmm/mciavi/mciavi.c: Christian Costa Fixed deadlock when stopping playback. * dlls/ddraw/ddraw_private.h: Christian Costa DD_STRUCT_COPY_BYSIZE: Do not clear more that struct size. * dlls/shlwapi/tests/path.c, dlls/shlwapi/url.c: Uwe Bonnes UrlCanonicalizeW: Remove \r and \n at the end of lpszUrlCpy, with test cases. * dlls/wininet/http.c: Uwe Bonnes HTTP_HttpSendRequestA: Remove \r and \n at the end of lpwhr->lpszPath. 2004-03-15 Alexandre Julliard * configure, configure.ac, dlls/Makefile.in, dlls/cards/.cvsignore, dlls/cards/Makefile.in, dlls/cards/cards.c, dlls/cards/cards.h, dlls/cards/cards.rc, dlls/cards/cards.spec, dlls/cards/version.rc: Sami Nopanen Initial implementation of cards.dll. * dlls/comctl32/updown.c: Huw Davies When setting the buddy to 0 then we must still resize the updown control. * dlls/comctl32/toolbar.c: Robert Shearman - Document completeness. - Finish tooltip support. * programs/regedit/childwnd.c, programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/listview.c, programs/regedit/main.h, programs/regedit/treeview.c: Dimitrie O. Paun Properly implement all key operations: new, delete, rename. Fix rename command to handle both keys and values. * documentation/configuring.sgml: Boaz Harrosh Tips for using native MS SQL ODBC drivers. * include/msi.h: Mike McCormack Declare MsiGetProductPropertyA/W. * dlls/comctl32/updown.c: Huw Davies Added CS_HREDRAW. * programs/winecfg/main.c: Chris Morgan Message box to suggest the user not run wine as root. * dlls/comctl32/tooltips.c: Robert Shearman - Unicode notification detection should be local to each tool. - Implement TTN_GETDISPINFOW notification. * dlls/kernel/instr.c: Jukka Heinonen Emulating STI instruction now raises an exception if there are pending events. * tools/winebuild/build.h, tools/winebuild/parser.c, tools/winebuild/spec16.c, tools/winebuild/winebuild.man.in: Jukka Heinonen Remove support for generating interrupt handlers. * programs/winemine/It.rc: Oleg Prokhorov Fix small typo. * programs/regedit/main.c, programs/regedit/rsrc.rc: Dimitrie O. Paun Add all needed accelerators to regedit. Cleanups. * dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c, include/setupapi.h: Mike McCormack Added SetupCreateDiskSpaceList stub. * dlls/ntdll/virtual.c: Mike Hearn Improve message given on image map failure. * dlls/comctl32/toolbar.c: Robert Shearman - Honour WM_SETREDRAW. - Fix all calls of InvalidateRect. * tools/winegcc/utils.c: Pierre d'Herbemont Support Darwin ".dylib". * programs/regedit/It.rc: Ivan Leo Murray-Smith Added "can't query key" translation. * dlls/oleaut32/typelib2.c: Alastair Bridgewater Implementation of ICreateTypeInfo2_SetHelpContext, ICreateTypeInfo2_SetTypeDescAlias, ITypeLib2_GetTypeInfoCount, ITypeLib2_GetTypeInfoType, and ITypeLib2_IsName. Fix to ICreateTypeInfo2_SetVarName to fix a case where multiple instances of the same name are used in the same typelib. 2004-03-13 Alexandre Julliard * dlls/oleaut32/typelib2.c: Alastair Bridgewater Implemented ITypeLib2_GetTypeInfo() and ITypeLib2_GetTypeInfoOfGuid(). * dlls/oleaut32/typelib2.c: Alastair Bridgewater Improve how the GUID hash system works. Mainly a cleanup so that the hash lookups can be done from other functions. * dlls/oleaut32/typelib.h, dlls/oleaut32/typelib2.c: Alastair Bridgewater Rename some of the fields in typelib.h to makes more evocative than 'unk00'. * dlls/comctl32/rebar.c: Mike McCormack Make sure to take account of hidden bands during layout. * dlls/comctl32/propsheet.c: Juan Lang Prevent negative coords for line, turn off redraw when initializing, document one difference in native/builtin behavior. * dlls/comctl32/toolbar.c: Robert Shearman - Implement TB_LOADIMAGES, TB_MAPACCELERATOR{A,W}, TB_MARKBUTTON and undocumented message 0x460. - Better debug output of undocumented message 0x45D. 2004-03-12 Alexandre Julliard * dlls/msacm/pcmconverter.c, dlls/msacm/stream.c: Robert Reif Fixed bug when PCMWAVEFORMAT is passed into acmStreamOpen. Fixed bug where interpolation is done with data past end of buffer. A proper fix would be to project the last sample based on the previous two but that requires significant changes. Added TRACE and WARN where needed. * dlls/comctl32/toolbar.c: Robert Shearman - Add support for a toolbar global iListGap. - Make TOOLBAR_CalcToolbar and TOOLBAR_DrawButton not rely on "magic numbers" and calculate sizes and positions more like native. * dlls/comctl32/rebar.c: Mike McCormack Don't calculate the redundant and unused REBAR_ROW structures. * dlls/Makefile.in, dlls/make_dlls: Fixed implib target broken by previous change. * include/Makefile.in, include/msvcrt/float.h, include/msvcrt/math.h: Hans Leidekker The beginnings of math.h and float.h. * dlls/ddraw/dsurface/dib.c, dlls/gdi/gdi_private.h, dlls/x11drv/dib.c, dlls/x11drv/x11drv.h, include/wine/wingdi16.h, include/wingdi.h, objects/dib.c: Dmitry Timoshkov CreateDIBSection takes a const pointer to BITMAPINFO. * programs/regedit/En.rc, programs/regedit/Makefile.in, programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/main.h, programs/regedit/resource.h: Zimler Attila Add delete key support. * programs/winecfg/En.rc, programs/winecfg/Es.rc, programs/winecfg/Pt.rc, programs/winecfg/Ru.rc, programs/winecfg/drive.c, programs/winecfg/resource.h: Dimitrie O. Paun Remove the FileSystem option from the drive configuration. * dlls/winmm/wineoss/audio.c: Robert Reif Enable exact position calculation when hardware supports it. * include/mmreg.h: Robert Reif Added WAVEFORMATEXTENSIBLE. * dlls/comctl32/rebar.c: Ulrich Czekalla Fix rebar band insertion and non-client calculation in pager control. * dlls/kernel/except.c, tools/wine.inf: We no longer need to pass --debugmsg -all to winedbg. * files/file.c: Stefan Leichter Fixed typo in DOS device check in CreateFileW. * dlls/ntdll/critsection.c, dlls/ntdll/env.c, dlls/ntdll/file.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/path.c, dlls/ntdll/reg.c, dlls/ntdll/relay.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c: Get rid of ntdll_get_process_heap and ntdll_get_process_pmts by using standard APIs instead. * dlls/winedos/int21.c, files/file.c, include/wine/server_protocol.h, include/winternl.h, server/file.c, server/protocol.def, server/trace.c: Changed the create_file server request to take NtCreateFile flags instead of CreateFileW ones (based on a patch by Eric Pouech). * dlls/dmime/segment.c, dlls/dmloader/container.c, dlls/dmloader/loader.c, dlls/dmscript/script.c: Raphael Junqueira - scripts sub-containers loading - better segments Load and ParseDescriptor behaviors * dlls/commdlg/filetitle.c, include/commdlg.h: Ge van Geldorp Change GetFileTitleA/W prototype to match PSDK. 2004-03-11 Alexandre Julliard * dlls/kernel/process.c, documentation/wine.man.in, misc/options.c: Get rid of the WINEOPTIONS variable and instead use WINEDEBUG to inherit debug options. Start deprecating the --debugmsg option. * dlls/comctl32/toolbar.c: Ge van Geldorp Explicitly ask for image list with screen depth as ILC_COLOR can/will limit the depth to 4bpp now. * dlls/kernel/console.c, dlls/kernel/kernel32.spec, dlls/kernel/kernel_private.h, files/file.c: The OpenConsoleW inherit argument is a boolean not a SECURITY_ATTRIBUTES pointer. * tools/winegcc/winegcc.c: Dimitrie O. Paun Build all file consistently, without shortcuts. Do not pass winebuild escaped options to the compiler. * programs/winhelp/Makefile.in: Michael Stefaniuc Add the LDFLAGS when linking hlp2sgml. * dlls/ntdll/wcstring.c: Hans Leidekker _wto{l,i,i64} parameters are const. * dlls/comctl32/commctrl.c: Robert Shearman Fix subclassing to support nested messages. * programs/winebrowser/main.c: We should no longer need to unset TMP and TEMP. * dlls/user/tests/win.c, dlls/x11drv/winpos.c: Dmitry Timoshkov Windows truncates windows coordinates at 16 bits when moving or resizing a window. * documentation/README.de: Christian Britz Correction of small spelling mistakes. * dlls/comctl32/toolbar.c: Robert Shearman Rewrite drawing code. * include/commctrl.h: Robert Reif Added some missing defines. * dlls/kernel/process.c, files/directory.c: Do not put the TEMP and TMP variables into the Unix environment, use WINETEMP and WINETMP instead, like we already do for PATH. * dlls/kernel/except.c: Remove the WINEDEBUG variable from the environment of the debugger process. * dlls/ntdll/time.c, files/smb.c: Portability fixes. * documentation/configuring.sgml: Added a couple of missing close tags. * dlls/msvcrt/time.c: Hans Leidekker Implement _ftime with Win32 APIs. * controls/menu.c: Huw Davies We need to set the new text even if the old text string was NULL. * dlls/comctl32/animate.c: Do not kill the animation thread with TerminateThread, let it finish properly. Fixed a couple of races with the animation thread. * dlls/comctl32/comboex.c, dlls/comctl32/commctrl.c, dlls/comctl32/ipaddress.c, dlls/comctl32/listview.c, dlls/comctl32/progress.c: Robert Shearman Spelling fixes. * dlls/comctl32/draglist.c: Robert Shearman - Document control completeness. - Remove unneeded include. - Fix TEXT define. - Fix tabs. - Small optimisation in DrawInsert. * dlls/msvcrt/tests/heap.c: Dimitrie O. Paun Heap tests cleanup. * dlls/gdi/enhmfdrv/bitblt.c, dlls/gdi/enhmfdrv/graphics.c, dlls/gdi/enhmfdrv/mapping.c: Dmitry Timoshkov Eliminate some unnecessary direct accesses to DC internals from EMF driver. 2004-03-09 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20040309. ---------------------------------------------------------------- 2004-03-09 Alexandre Julliard * dlls/kernel/file16.c, dlls/kernel/profile.c, files/directory.c, files/drive.c: Moved a number of 16-bit functions to file16.c. * dlls/Makefile.in, dlls/make_dlls: Do not create symlinks for the PE build since they can conflict with the directory names. * libs/port/statvfs.c: Check that we have statfs before using it. * include/wine/port.h: Added definitions for S_IXUSR, S_IXGRP and S_IXOTH. * tools/winegcc/utils.c: chmod is more portable than fchmod. * files/dos_fs.c: Dimitrie O. Paun Make IS_END_OF_NAME an inline function. * dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/process.c, dlls/kernel/sync.c, dlls/kernel/task.c, dlls/kernel/time.c, dlls/winedos/int21.c, files/directory.c, files/dos_fs.c, files/drive.c, files/file.c, files/smb.c, include/drive.h, include/file.h: Removed some unnecessary definitions from file.h. Got rid of drive.h. * dlls/ntdll/rtlstr.c: ASCII string comparisons should not depend on the locale. * dlls/comctl32/.cvsignore, dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.h, dlls/comctl32/draglist.c, dlls/comctl32/rsrc.rc: Robert Shearman - Implement the drag list control. - Fix tabs in LBItemFromPt. * windows/mdi.c: Huw Davies We need to at least refresh the window menu in ChildActivate, so for now remove the 'is already activated' optimization. * DEVELOPERS-HINTS, configure, configure.ac, dlls/Makefile.in, dlls/dxerr8/.cvsignore, dlls/dxerr8/Makefile.in, dlls/dxerr8/dxerr8.c, dlls/dxerr8/errors.awk, dlls/dxerr8/errors.dat, dlls/dxerr8/errors.h, dlls/dxerr8/make_errors, dlls/dxerr9/.cvsignore, dlls/dxerr9/Makefile.in, dlls/dxerr9/dxerr9.c, dlls/dxerr9/errors.awk, dlls/dxerr9/errors.dat, dlls/dxerr9/errors.h, dlls/dxerr9/make_errors: Robert Reif Added dxerr8 and dxerr9 libraries. * documentation/configuring.sgml, documentation/samples/config, documentation/wine.conf.man, files/directory.c, files/dos_fs.c, files/drive.c, include/drive.h, include/file.h: Get rid of the Filesystem option in the drive config, this was more confusing than useful. * include/wine/port.h: Added statvfs prototype. * dlls/dmscript/dmscript_private.h, dlls/dmscript/script.c: Raphael Junqueira Better dmscript loading (now we load the script version, script language identifier and the script source). * dlls/gdi/tests/.cvsignore, dlls/gdi/tests/Makefile.in, dlls/gdi/tests/metafile.c: Dmitry Timoshkov Added an EMF test suite. * windows/mdi.c: Huw Davies Windows always adds a separator to the bottom of the new window menu. Thanks to Dmitry Timoshkov for confirming this. * dlls/gdi/freetype.c: Robert Shearman Check for NULL pointers returned by HeapAlloc. * dlls/Maketest.rules.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in, programs/clock/Makefile.in, programs/cmdlgtst/Makefile.in, programs/control/Makefile.in, programs/expand/Makefile.in, programs/notepad/Makefile.in, programs/progman/Makefile.in, programs/regedit/Makefile.in, programs/regsvr32/Makefile.in, programs/rpcss/Makefile.in, programs/rundll32/Makefile.in, programs/start/Makefile.in, programs/uninstaller/Makefile.in, programs/view/Makefile.in, programs/wcmd/Makefile.in, programs/wineboot/Makefile.in, programs/winebrowser/Makefile.in, programs/winecfg/Makefile.in, programs/wineconsole/Makefile.in, programs/winedbg/Makefile.in, programs/winefile/Makefile.in, programs/winemenubuilder/Makefile.in, programs/winemine/Makefile.in, programs/winepath/Makefile.in, programs/winetest/Makefile.in, programs/winevdm/Makefile.in, programs/winhelp/Makefile.in, programs/winver/Makefile.in: Take advantage of the new winegcc -B support. * tools/winegcc/utils.c, tools/winegcc/utils.h, tools/winegcc/winegcc.c: Allow multiple -B options. Do not pass the -Btools/winebuild magic option to the compiler to avoid warnings. Pass to the linker even the libraries we didn't find in the lib search path, in case we are not using the standard paths. * tools/winegcc/winegcc.c: Dimitrie O. Paun Add a wine specific mode. If is activated if the -B prefix ends with /tools/winebuild. If you happen to have such a prefix, but you don't want this behaviour, simply add a trailing '/'. In this special mode, no default Win32 DLLs are linked in, we don't force the short wchar_t, and the standard dirs are not searched. * tools/widl/Makefile.in, tools/widl/widl.man: Hannu Valtonen Added a man page for widl. * tools/winegcc/utils.c, tools/winegcc/winegcc.c: Fixed a couple of crashes. * tools/bin2res.c: Robert Shearman Accept '-v' flag. * dlls/gdi/freetype.c: Huw Davies Add registry entries for any fonts found by fontconfig or that are in the FontDirs directories. * tools/winegcc/utils.c, tools/winegcc/utils.h, tools/winegcc/winegcc.c: Dimitrie O. Paun Add -B prefix support. Small consistency cleanups. * configure, configure.ac, dlls/Makefile.in, dlls/amstream/.cvsignore, dlls/amstream/Makefile.in, dlls/amstream/amstream.c, dlls/amstream/amstream.spec, dlls/amstream/amstream_private.h, dlls/amstream/main.c, dlls/amstream/regsvr.c, dlls/amstream/version.rc, dlls/uuid/uuid.c, include/Makefile.in, include/amstream.h, include/amstream.idl, include/austream.h, include/austream.idl, include/ddraw.h, include/ddstream.h, include/ddstream.idl, include/mmstream.h, include/mmstream.idl, tools/wine.inf: Christian Costa Add amstream dll (MultiMedia Streams), part of Direct Show. * dlls/kernel/Makefile.in, dlls/kernel/volume.c, dlls/ntdll/file.c, documentation/samples/config, documentation/wine.conf.man, files/drive.c, include/drive.h, include/winnt.h: Reimplemented GetVolumeInformation and SetVolumeLabel; volume label and serial number are now stored in the filesystem instead of in the config file (partly based on a patch by Eric Pouech). * tools/winegcc/winegcc.c: Dimitrie O. Paun Support processors made up of different commands. Rename some processor enums for consistency. * documentation/README.de: Christian Britz Added German translation of the README file. * dlls/user/misc.c, dlls/user/user32.spec: Bobby Bingham Stub EnumDesktopsW for now. Implement EnumDesktopsA in terms of EnumDesktopsW. * dlls/kernel/locale.c: Dmitry Timoshkov Do not take into account LC_CTYPE and LC_MESSAGES while detecting a user locale. 2004-03-07 Alexandre Julliard * dlls/x11drv/dib.c: Jason Edmeades Calculate the size of BI_BITFIELDS dib sections via the width and height. * dlls/winspool/info.c, dlls/winspool/tests/info.c: Stefan Leichter Moved implementation of GetDefaultPrinter from ascii to unicode, added tests for GetDefaultPrinterA. * configure, configure.ac, include/config.h.in, libs/port/statvfs.c: Added check for f_namelen in struct statfs. * dlls/dmime/performance.c: Raphael Junqueira Fix one ugly bug (horrible cast) into dmusic code to get Unreal2 crashing later (when trying to launch loaded sound) :) * dlls/comctl32/toolbar.c: Robert Shearman Don't allocate space for text when nMaxTextRows = 0. 2004-03-05 Alexandre Julliard * configure, configure.ac, files/drive.c, include/config.h.in, include/wine/port.h, libs/port/Makefile.in, libs/port/statfs.c, libs/port/statvfs.c: Use statvfs instead of statfs, and provide a default implementation in libwine_port if necessary. * dlls/ntdll/cdrom.c: Do not store the Unix file descriptor in the cache structure. Protect the global cache with a critical section. * dlls/user/user32.spec, windows/user.c: Robert Shearman Stub for RegisterDeviceNotificationW. * dlls/winmm/mmio.c: Jason Edmeades Handle playing of files containing a '+' as part of the filename. * dlls/quartz/filtergraph.c: Christian Costa Implemented IMediaEventSink and IMediaEventEx interfaces. 2004-03-04 Alexandre Julliard * dlls/ntdll/cdrom.c, dlls/ntdll/file.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, files/drive.c, files/file.c, include/file.h, include/wine/server_protocol.h, server/Makefile.in, server/device.c, server/protocol.def, server/request.h, server/trace.c: Open a real file handle for drive devices, and get rid of the server device hacks (based on a patch by Eric Pouech). * dlls/ddraw/dsurface/dib.c, dlls/gdi/enhmfdrv/bitblt.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/objects.c, dlls/gdi/gdi_private.h, dlls/gdi/mfdrv/bitblt.c, dlls/gdi/mfdrv/metafiledrv.h, dlls/gdi/mfdrv/objects.c, dlls/gdi/painting.c, dlls/gdi/wing.c, dlls/ttydrv/palette.c, dlls/x11drv/bitmap.c, dlls/x11drv/brush.c, dlls/x11drv/dib.c, dlls/x11drv/palette.c, dlls/x11drv/x11ddraw.c, include/bitmap.h, include/gdi.h, include/palette.h, objects/bitmap.c, objects/brush.c, objects/dib.c, objects/gdiobj.c, objects/metafile.c, objects/palette.c: Moved more GDI definitions to gdi_private.h. Get rid of bitmap.h and palette.h. * dlls/shell32/shlexec.c: Martin Fuchs Enumerate all "shell\\command" entries in the registry instead of searching only for "shell\open\command" entries. * dlls/gdi/gdi_private.h, dlls/ttydrv/dc.c, dlls/ttydrv/ttydrv.spec, dlls/wineps/init.c, dlls/wineps/psdrv.h, dlls/wineps/wineps.spec, dlls/x11drv/init.c, dlls/x11drv/x11drv.spec, objects/dc.c: Changed the CreateDC driver entry point to use an HDC instead of a DC pointer. * dlls/x11drv/bitmap.c, dlls/x11drv/dib.c, dlls/x11drv/init.c, dlls/x11drv/x11drv.h: Get rid of the X11DRV_DC_Funcs hack. Removed a couple of unused bitmap functions. * dlls/quartz/Makefile.in, dlls/quartz/enumfilters.c, dlls/quartz/enumregfilters.c, dlls/quartz/filtergraph.c, dlls/quartz/filtermapper.c, dlls/quartz/quartz_private.h: Christian Costa Implemented IFilterGraphImpl_EnumFilters and IEnumFilters interface. Renamed constructor of IEnumRegFilters interface. Small fix in IFilterMapper_EnumMatchingFilters. * dlls/imm32/imm.c, dlls/imm32/imm32.spec: Jesse Allen Added ImmAssociateContextEx stub. * tools/winegcc/winegcc.c: Dimitrie O. Paun Preserve the relative order of files and libraries. We do so by maintaining a unique list of files and lib, each marked with the appropriate metadata. * dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/objects.c, dlls/gdi/gdi_private.h, dlls/gdi/mfdrv/metafiledrv.h, dlls/gdi/mfdrv/objects.c, dlls/ttydrv/objects.c, dlls/ttydrv/ttydrv.spec, dlls/wineps/font.c, dlls/wineps/wineps.spec, dlls/x11drv/text.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv.spec, dlls/x11drv/xfont.c, objects/font.c: Pass the gdiFont object to the SelectFont driver entry point so that we don't need to look into the DC structure for it. * dlls/x11drv/text.c, dlls/x11drv/xrender.c: Avoid direct accesses to the xformWorld2Vport DC field. * dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/graphics.c, dlls/gdi/gdi_private.h, dlls/gdi/mfdrv/metafiledrv.h, dlls/gdi/mfdrv/text.c, dlls/ttydrv/graphics.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv.spec, dlls/wineps/psdrv.h, dlls/wineps/text.c, dlls/wineps/wineps.spec, dlls/x11drv/text.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv.spec, dlls/x11drv/xrender.c, objects/text.c: Pass the breakExtra value in the ExtTextOut driver call, since there is no function to retrieve it from the HDC. * controls/desktop.c, dlls/user/controls.h, windows/sysparams.c: Justin Chevrier Move implementation of SysParametersInfo from Ascii to Unicode. 2004-03-03 Alexandre Julliard * dlls/Maketest.rules.in, programs/Makeprog.rules.in: Avoid some redundant libraries on the winegcc command line. * tools/winegcc/winegcc.c: Put the .spec.o file first and the so libraries last on the link command line. * dlls/ntdll/debugtools.c: Smarter allocation algorithm for the string buffer, to allow displaying more characters for strings without too many escapes. * dlls/wineps/builtin.c, dlls/x11drv/text.c, include/gdi.h, objects/dc.c, objects/font.c: Changed the GetTextExtentPoint graphics driver entry point to return device coordinates. Removed not used breakCount field in the DC structure. * Make.rules.in, configure, configure.ac, tools/winegcc/Makefile.in: Renamed the symbol for the cpp binary to avoid conflicts with configure internals. * dlls/shlwapi/tests/path.c, dlls/shlwapi/url.c: Kevin Koltzau Fix UrlCanonicalize and add regression test. * tools/winegcc/utils.c, tools/winegcc/utils.h, tools/winegcc/winegcc.c: Dimitrie O. Paun Don't tie the script name to the .exe.so name. * dlls/vnbt.vxd/Makefile.in: Hans Leidekker Link to ws2_32. * dlls/gdi/gdi16.c, dlls/gdi/gdi_private.h, include/gdi.h, objects/dc.c: Implemented Get/SetBoundsRect based on a patch by Ken Belleau. * dlls/shlwapi/url.c: Kevin Koltzau Prevent crash with invalid args in a few URL functions. * dlls/shell32/shlexec.c: Martin Fuchs Fix buffer length usage for RegQueryValueW() calls at various places. * dlls/comctl32/toolbar.c: Robert Shearman - Support custom check background. - Reduce number of parameters needed for DrawString function. * include/rpcndr.h, include/wine/rpcfc.h: Robert Shearman - Add more RPC format characters. - Add some NDR functions and structures. * tools/winemaker: Francois Gouget Add CEXTRA AND CXXEXTRA fields so we can pass -mno-cygwin to winegcc but not to wrc which chokes on it. Add RCEXTRA for symetry and for the user. Remove T_INIT and get_default_init(). These are obsolete (used to select the entry-point, WinMain or main). If the directory contains headers, then add '.' to INCLUDE_PATH. Specify -mnocygwin during the link stage if we are to link with the msvcrt. Transform XXX_APPMODE into XXX_LDFLAGS for more flexibility. Correctly pass '-mconsole' or '-mwindows' to the link stage. Remove XXX_BASEMODULE, XXX_SPEC_SRCS and SPEC_SRCS. They are obsolete. Add implicit build rules for .c, .cpp, .cxx files so that our settings (e.g. INCLUDE_PATH) are used. Fix the rule for building RC files (it was invalid and rejected by make). Convert it to an implicit rule like the others. Add rules for 'make clean'. Add the missing rules for recursive compilation. Remove obsolete elements from the link command (LDDLLFLAGS, ALL_LIBRARY_PATH, LIBS). * include/Makefile.in, include/evcode.h: Christian Costa Added evcode.h include. * dlls/quartz/filtergraph.c: Christian Costa Handle null and duplicate name when adding a filter to the filtergraph. * dlls/kernel/kernel32.spec, dlls/kernel/time.c: Rein Klazes Implemented GetDaylightFlag. 2004-03-02 Alexandre Julliard * dlls/advapi32/tests/.cvsignore, dlls/comctl32/tests/.cvsignore, dlls/ddraw/tests/.cvsignore, dlls/dsound/tests/.cvsignore, dlls/gdi/tests/.cvsignore, dlls/iphlpapi/tests/.cvsignore, dlls/kernel/tests/.cvsignore, dlls/msvcrt/tests/.cvsignore, dlls/netapi32/tests/.cvsignore, dlls/ntdll/tests/.cvsignore, dlls/oleaut32/tests/.cvsignore, dlls/rpcrt4/tests/.cvsignore, dlls/shell32/tests/.cvsignore, dlls/shlwapi/tests/.cvsignore, dlls/urlmon/tests/.cvsignore, dlls/user/tests/.cvsignore, dlls/wininet/tests/.cvsignore, dlls/winmm/tests/.cvsignore, dlls/winsock/tests/.cvsignore, dlls/winspool/tests/.cvsignore, programs/avitools/.cvsignore, programs/clock/.cvsignore, programs/cmdlgtst/.cvsignore, programs/control/.cvsignore, programs/expand/.cvsignore, programs/notepad/.cvsignore, programs/progman/.cvsignore, programs/regedit/.cvsignore, programs/regsvr32/.cvsignore, programs/rpcss/.cvsignore, programs/rundll32/.cvsignore, programs/start/.cvsignore, programs/uninstaller/.cvsignore, programs/view/.cvsignore, programs/wcmd/.cvsignore, programs/wineboot/.cvsignore, programs/winebrowser/.cvsignore, programs/winecfg/.cvsignore, programs/wineconsole/.cvsignore, programs/winedbg/.cvsignore, programs/winefile/.cvsignore, programs/winemenubuilder/.cvsignore, programs/winemine/.cvsignore, programs/winepath/.cvsignore, programs/winetest/.cvsignore, programs/winevdm/.cvsignore, programs/winhelp/.cvsignore, programs/winver/.cvsignore: We no longer use the .exe.spec.c files. * programs/Makeprog.rules.in, programs/avitools/Makefile.in, programs/clock/Makefile.in, programs/cmdlgtst/Makefile.in, programs/control/Makefile.in, programs/expand/Makefile.in, programs/notepad/Makefile.in, programs/progman/Makefile.in, programs/regedit/Makefile.in, programs/regsvr32/Makefile.in, programs/rpcss/Makefile.in, programs/rundll32/Makefile.in, programs/start/Makefile.in, programs/uninstaller/Makefile.in, programs/view/Makefile.in, programs/wcmd/Makefile.in, programs/wineboot/Makefile.in, programs/winebrowser/Makefile.in, programs/winecfg/Makefile.in, programs/wineconsole/Makefile.in, programs/winedbg/Makefile.in, programs/winefile/Makefile.in, programs/winemenubuilder/Makefile.in, programs/winemine/Makefile.in, programs/winepath/Makefile.in, programs/winetest/Makefile.in, programs/winevdm/Makefile.in, programs/winhelp/Makefile.in, programs/winver/Makefile.in: Build all the programs with winegcc. * programs/winetest/gui.rc: Ivan Leo Murray-Smith Make sure text isn't cut off by the close button. * dlls/imm32/imm.c, dlls/rsabase/main.c, dlls/shlwapi/assoc.c, dlls/uxtheme/draw.c, dlls/x11drv/keyboard.c: Francois Gouget Assorted spelling and case fixes. * dlls/x11drv/window.c: Huw Davies Enable resizing if WS_THICKFRAME is set. * dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.c, dlls/opengl32/opengl_norm.c: Lionel Ulmer - sync up with latest OpenGL specifications - some fixes in make_opengl to support the new types * include/winsock2.h: Hans Leidekker Added protocol type constants. * tools/wineinstall: Dan Kegel Fixed typo in test arguments. * Make.rules.in, dlls/Maketest.rules.in: Build the tests with winegcc. * tools/winegcc/utils.c, tools/winegcc/utils.h, tools/winegcc/winegcc.c: Dimitrie O. Paun Add support for passing options to winebuild via -Wb. Generate only the loader script when given just the .exe.so. Add function to delete element from a strarray. * configure, configure.ac: We need to use AC_CHECK_TOOL to check for cpp in order to support cross-compilation properly. * include/Makefile.in, include/dxerr8.h, include/dxerr9.h: Robert Reif Added dxerr8.h and dxerr9.h header files. * dlls/rasapi32/rasapi.c, dlls/rasapi32/rasapi32.spec: Christian Costa Added stub for RasGetEntryPropertiesA. * tools/winedump/output.c: Removed obsolete definitions from generated makefiles. * tools/winegcc/winegcc.c: Removed obsolete --dll option from loader script. Added support for WINEBUILD environment variable. Don't generate the loader script if the output file name ends in .exe.so. Fixed handling of -L option. Static libraries have to be linked in after object files. * configure, configure.ac, dlls/Makefile.in, dlls/secur32/.cvsignore, dlls/secur32/Makefile.in, dlls/secur32/secur32.c, dlls/secur32/secur32.spec, dlls/secur32/secur32_priv.h, dlls/secur32/thunks.c, dlls/secur32/thunks.h, dlls/secur32/wrapper.c, include/winerror.h: Juan Lang Added a secur32.dll that loads other SSP DLLs and forwards calls to them. * dlls/comctl32/tab.c: Vitaliy Margolen Adjust all dimensions to match native. Invalidate whole tab area when multi-line. In vertical tab placement go from top to bottom. Fix annoying visual artifacts. * Make.rules.in, configure, configure.ac, include/config.h.in, tools/winegcc/Makefile.in, tools/winegcc/utils.c, tools/winegcc/utils.h, tools/winegcc/winegcc.c: Dimitrie O. Paun Instrument winegcc to use the compilers and options detected at configure time. Add support for parsing/formatting a string array from/to a char string. Add option to disable short wchar support in winegcc. * files/dos_fs.c: Removed useless #ifdef SIZEOF_LONG_LONG. 2004-03-01 Alexandre Julliard * dlls/msvideo/mciwnd.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/mmoutput.c, dlls/winmm/mciavi/private_mciavi.h, dlls/winmm/mciavi/wnd.c: Dmitry Timoshkov - Add a lot of traces to make debugging a bit easier. - Add support for MCIWNDF_NOAUTOSIZEMOVIE, MCIWNDF_NOAUTOSIZEWINDOW and MCIWNDF_NOERRORDLG flags in the MCIWndClass implementation. - Implement support for MCI_UPDATE in the MCIAVI driver and use it in the MCIWndClass WM_PAINT handler. - Reimplement MCI_STOP command in the MCIAVI driver via an event. - Add a test preventing the MCIAVI driver to crash after MCI_SEEK behind an end of stream. * configure, configure.ac, dlls/Makefile.in, dlls/vnbt.vxd/.cvsignore, dlls/vnbt.vxd/Makefile.in, dlls/vnbt.vxd/vnbt.c, dlls/vnbt.vxd/vnbt.vxd.spec: Juan Lang - The virtual netbios device driver is properly named vnbt.vxd, not vnb.vxd. - Make it not depend on UNIX includes. * dlls/shell32/Makefile.in: Hans Leidekker Export LC_ALL before calling sed. * dlls/quartz/Makefile.in, dlls/quartz/enumregfilters.c, dlls/quartz/filtermapper.c, dlls/quartz/quartz_private.h: Christian Costa Implemented IFilterMapper and IEnumRegFilters interfaces. Fixed IFilterMapper2_EnumMatchingFilters. * programs/winetest/send.c: Juan Lang Connect to winehq.org by its name rather than by its IP addr. * programs/winemine/En.rc, programs/winemine/Es.rc, programs/winemine/Fr.rc, programs/winemine/It.rc, programs/winemine/Nl.rc, programs/winemine/Pt.rc, programs/winemine/Ru.rc, programs/winemine/Si.rc, programs/winemine/main.c, programs/winemine/resource.h, programs/winemine/rsrc.rc: Oleg Prokhorov - key accelerators for "New Game" and exit - auto flag after successful game those entries which were not flagged by player during the game himself * include/objidl.idl, include/urlmon.h, include/urlmon.idl: Kevin Koltzau Define MKSYS_URLMONIKER. * dlls/shell32/shlexec.c: Huw Davies Add a missing '\\'. * programs/winetest/send.c: Dimitrie O. Paun Submit results to WineHQ. * dlls/comctl32/treeview.c: Steve Lustbader Handle the firstVisible item being NULL in TREEVIEW_UpdateScrollBars(). * include/Makefile.in, include/sspi.h: Juan Lang Added sspi.h. * configure, configure.ac, dlls/d3d8/shader.c, dlls/dinput/joystick_linux.c, dlls/iphlpapi/ipstats.c, dlls/netapi32/nbt.c, dlls/wined3d/vertexshader.c, dlls/winedos/ppdev.c, dlls/winmm/joystick/joystick.c, dlls/winsock/socket.c, files/dos_fs.c, include/config.h.in, server/change.c: Portability fixes for LSB compatibility. * dlls/netapi32/netapi32.c, dlls/netapi32/netapi32.spec: Juan Lang Implement NetpNetbiosStatusToApiStatus. * dlls/ntdll/time.c: Rein Klazes In TIME_GetBias make sure there is a cached value for daylight as well. * dlls/oleaut32/oleaut.c, include/oleauto.h: Martin Fuchs Correct return type of SysStringLen() and SysStringByteLen(). * dlls/shell32/shlexec.c: Martin Fuchs Set error code ERROR_DDE_FAIL if the DDE connection failed in ShellExecute(). * dlls/rsabase/Makefile.in, dlls/rsabase/main.c, tools/wine.inf: Juan Lang Make rsabase.dll self-register. * dlls/crypt32/Makefile.in, dlls/crypt32/cert.c, dlls/crypt32/crypt32.spec, dlls/crypt32/main.c, include/wincrypt.h: Juan Lang - correct some prototypes, add some defines - stub a couple more functions * include/Makefile.in, include/lmcons.h, include/lmserver.h, include/lmshare.h: Juan Lang Declare a few more Net apis and constants. 2004-02-28 Alexandre Julliard * Makefile.in: Remove the $(datadir)/wine directory on uninstall. * documentation/samples/system.ini: No longer needed. * dlls/wineps/Makefile.in, dlls/wineps/generic.ppd, documentation/samples/generic.ppd: Moved generic.ppd to dlls/wineps, and install it in datadir. * dlls/mswsock/mswsock.c, dlls/mswsock/mswsock.spec, dlls/winsock/async.c, dlls/winsock/socket.c, include/mswsock.h, include/winsock.h: Patrik Stridvall More stubs and better headers for mswsock.dll. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Dmitry Timoshkov Add SHMenuIndexFromID and SHCoCreateInstanceAC. 2004-02-27 Alexandre Julliard * tools/wineinstall, winedefault.reg: Use the new .inf script instead of winedefault.reg. Removed some obsolete code. * tools/Makefile.in, tools/wine.inf: Added wine.inf setupapi script to setup the initial Wine registry (based on the work of Chris Morgan and Brian Vincent). * configure, configure.ac, dlls/Makefile.in, dlls/msrle32/.cvsignore, dlls/msrle32/Makefile.in, dlls/msrle32/msrle32.c, dlls/msrle32/msrle32.spec, dlls/msrle32/msrle_De.rc, dlls/msrle32/msrle_En.rc, dlls/msrle32/msrle_Es.rc, dlls/msrle32/msrle_Fr.rc, dlls/msrle32/msrle_It.rc, dlls/msrle32/msrle_Nl.rc, dlls/msrle32/msrle_Pt.rc, dlls/msrle32/msrle_Ru.rc, dlls/msrle32/msrle_Si.rc, dlls/msrle32/msrle_private.h, dlls/msrle32/rsrc.rc: Moved msrle32 to the top-level dlls directory. * dlls/imm32/imm.c, dlls/kernel/kernel32.spec, dlls/kernel/module.c, dlls/netapi32/wksta.c, dlls/oleaut32/safearray.c, dlls/oleaut32/varformat.c, dlls/oleaut32/variant.c, dlls/rasapi32/rasapi32.spec, dlls/wineps/wineps.spec, dlls/wininet/netconnection.c, dlls/x11drv/x11drv.spec, dlls/x11drv/xim.c: Patrik Stridvall Fixed some issues found by winapi_check. * dlls/shell32/systray.c: Ove Kaaven Fixed icon leak. * dlls/winmm/winmm.c: Robert Reif Cleanup prepare/unprepare header parameter checking. Fix midiInGetDevCapsW. * include/dsound.h: Robert Reif Added missing #define for DS_INCOMPLETE. * tools/winapi/win32.api: Patrik Stridvall API files update. * dlls/kernel/actctx.c, include/winbase.h: Patrik Stridvall Added proper headers for the *ActCtx* functions. * include/winnt.h: Patrik Stridvall Added macro DEFAULT_UNREACHABLE. * dlls/msvideo/mciwnd.c: Dmitry Timoshkov Fix a typo in a comment. * tools/winemaker, tools/winemaker.man: Dimitrie O. Paun Generate a simple Makefile that uses winegcc to compile. No longer generate a configure script, that's project policy. * dlls/comcat/regsvr.c, dlls/dmime/regsvr.c, dlls/dmstyle/regsvr.c, dlls/ole32/regsvr.c, dlls/shell32/regsvr.c: Sync some of the dll registrations with the contents of winedefault.reg. * dlls/setupapi/install.c: SPINST_UNREGSVR must use the UnregisterDlls section, not the RegisterDlls one. * dlls/setupapi/install.c, dlls/setupapi/setupapi.spec, dlls/setupapi/setupx_main.c, dlls/setupapi/stubs.c, include/setupapi.h: Implemented InstallHinfSection (based on a patch by Chris Morgan). * dlls/advapi32/crypt.c: Robert Shearman - Remove duplicate free. - Remove debug message that dumps invalid string. * dlls/comctl32/commctrl.c, dlls/comctl32/draglist.c, dlls/comctl32/flatsb.c, dlls/comctl32/imagelist.c, dlls/comctl32/propsheet.c, dlls/comctl32/smoothscroll.c: Robert Shearman Update common control function documentation. * dlls/ntdll/rtlstr.c: Robert Shearman Update documentation for Rtl functions. * dlls/uxtheme/draw.c: Kevin Koltzau Implement GetThemeTextMetrics. * dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_message.c, dlls/rpcrt4/rpc_server.c: Robert Shearman - Fix a bad use of HeapRealloc. - Fix error return codes. - Improve traces. * dlls/comctl32/rebar.c: Matt Chapman REBAR_Layout should respect the minimum size of bands even when RBBS_FIXEDSIZE is not set. * dlls/msvideo/mciwnd.c: Dmitry Timoshkov Use some heuristics to decide what type of MCIWNDM_OPEN message to use. * dlls/setupapi/install.c, dlls/setupapi/parser.c, dlls/setupapi/queue.c, dlls/setupapi/setupapi_private.h, include/setupapi.h: Added support for the RegisterDlls section (partly based on a patch by Chris Morgan). * dlls/ntdll/time.c: Huw Davies Cache the result of TIME_GetBias for up to 1 second. * dlls/comctl32/rebar.c: Matt Chapman REBAR_ShowBand needs to force layout of the rebar after a band is hidden/unhidden. * dlls/winmm/mciavi/wnd.c: Dmitry Timoshkov Convert MCIAVI window support to unicode. Allow multiple simultaneous MCIAVI driver instances. * tools/winegcc/winewrap.c: Dimitrie O. Paun Remove the no longer used winewrap utility. 2004-02-26 Alexandre Julliard * dlls/kernel/sync.c, dlls/kernel/syslevel.c, dlls/msnet32/msnet_main.c, dlls/wintrust/wintrust_main.c, windows/user.c: Dimitrie O. Paun Remove the win32 debug channel, misc cleanup of debugging code. * documentation/testing.sgml: Hans Leidekker Document building tests with MinGW. * dlls/kernel/time.c: Mike Hearn Use time rather than win32 debug channel for kernel time functions. * windows/dce.c: Mike Hearn Add a comment to explain the LockWindowUpdate situation. * include/digitalv.h: Dmitry Timoshkov Add A/W mapping for MCI_DGV_WINDOW_PARMS. * tools/winegcc/utils.c, tools/winegcc/utils.h, tools/winegcc/winegcc.c: Dimitrie O. Paun For static libs (.a) we need to pass the actual filename to winebuild, not a -l switch. Do not remove the file extension to get to the base name if it's not .exe or .exe.so. Link shell32 by default for GUI programs. Fix parsing of options with arguments. * dlls/winmm/winmm.c: Sean Young Check uSize parameter in waveOutUnprepareHeader and waveOutPrepareHeader. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/tests/vartest.c, dlls/oleaut32/variant.c: Fabian Cenedese VarRound implementation (without type DECIMAL yet) with test function. * dlls/ntdll/time.c: Huw Davies Call TIME_GetBias rather than RtlQueryTimeZoneInfo if we're only interested in the bias - it's faster. 2004-02-25 Alexandre Julliard * dlls/kernel/locale.c, dlls/oleaut32/variant.c, dlls/wineps/init.c: Fixed callers of GetLocaleInfoW to use the correct buffer size. * dlls/kernel/vxd.c: Return the right error code for non-existent VxD modules. * dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_main.c, dlls/dmband/dmband_private.h, dlls/dmcompos/chordmap.c, dlls/dmcompos/chordmaptrack.c, dlls/dmcompos/composer.c, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/dmcompos_private.h, dlls/dmcompos/signposttrack.c, dlls/dmime/audiopath.c, dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmime/graph.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/segtriggertrack.c, dlls/dmime/seqtrack.c, dlls/dmime/sysextrack.c, dlls/dmime/tempotrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/tool.c, dlls/dmime/wavetrack.c, dlls/dmloader/container.c, dlls/dmloader/dmloader_main.c, dlls/dmloader/dmloader_private.h, dlls/dmloader/loader.c, dlls/dmloader/loaderstream.c, dlls/dmscript/dmscript_main.c, dlls/dmscript/dmscript_private.h, dlls/dmscript/regsvr.c, dlls/dmscript/script.c, dlls/dmscript/scripttrack.c, dlls/dmstyle/auditiontrack.c, dlls/dmstyle/chordtrack.c, dlls/dmstyle/commandtrack.c, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/motiftrack.c, dlls/dmstyle/mutetrack.c, dlls/dmstyle/style.c, dlls/dmstyle/styletrack.c, dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/dmsynth_private.h, dlls/dmsynth/synth.c, dlls/dmsynth/synthsink.c, dlls/dmusic/buffer.c, dlls/dmusic/clock.c, dlls/dmusic/collection.c, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/download.c, dlls/dmusic/downloadedinstrument.c, dlls/dmusic/instrument.c, dlls/dmusic/port.c, dlls/dmusic/portdownload.c, dlls/dmusic/thru.c, dlls/dswave/dswave.c, dlls/dswave/dswave_main.c, dlls/dswave/dswave_private.h, include/dmusici.h: Rok Mandeljc Added name resolving for CLSIDs, IIDs, GUIDs and return codes. * dlls/opengl32/wgl.c: Lionel Ulmer Handle proper substraction of unsigned numbers. * DEVELOPERS-HINTS: Dimitrie O. Paun Add VMM VxD. * dlls/ntdll/time.c: Huw Davies Speed up RtlTimeFieldsToTime. * programs/winedbg/memory.c: Matt Chapman Fix dumping of Unicode strings. * dlls/comctl32/propsheet.c: Matt Chapman Fix a reentrancy issue in the property sheet implementation by not caching a pointer that can change. * dlls/oleaut32/vartype.c: Fabian Cenedese No sign extension for negative values. 2004-02-24 Alexandre Julliard * dlls/ntdll/loadorder.c: Tweak the load order algorithm a bit to better reflect the user's intention, by taking into account non-wildcard module specifications for all directories. * dlls/ntdll/loader.c: Return right away from import_dll when a dll is not found to avoid displaying many useless function errors. * configure, configure.ac: More robust fix for the artsc-config breakage. * programs/winedbg/elf.c: Yorick Hardy Use SHN_UNDEF instead of STN_UNDEF to specify undefined section index. * dlls/winmm/wineoss/midi.c: Christian Costa Replaced the timer and its callback by a thread for receiving midi in events. Handled DRVM_EXIT in OSS_midMessage. * dlls/ntdll/signal_i386.c: Dmitry Timoshkov Set SA_RESTART sigaction flag for other BSDs beside NetBSD. * dlls/opengl32/wgl.c: Lionel Ulmer - fix 'empty' glyphs - implement proper bitmap coordinates * dlls/kernel/kernel32.spec, files/directory.c, files/dos_fs.c, files/file.c, include/file.h: Removed some of the DOS device hacks (based on a patch by Eric Pouech). * dlls/msvcrt/scanf.h: Uwe Bonnes Implement I64 modifier, move WARN to TRACE. * dlls/winedos/int21.c: Changed handling of special DOS devices to use real file handles instead of the server device object. * dlls/kernel/sync.c, include/wine/server_protocol.h, server/named_pipe.c, server/protocol.def, server/trace.c: Uwe Bonnes Pass inherit handle flag properly for CreateNamedPipe. * dlls/commdlg/cdlg_It.rc: Ivan Leo Murray-Smith Italian update. * dlls/comctl32/tooltips.c: Christian Costa Accept null module instance, Loadstring can handle it. * dlls/winmm/winmm.c: Christian Costa Fixed waveInGetDevCapsW. * dlls/ntdll/time.c: Huw Davies Speed up RtlTimeToTimeFields. * programs/uninstaller/main.c: Dmitry Timoshkov Convert app description field to unicode and use CP_UNIXCP when printing it on the console. * tools/winegcc/.cvsignore, tools/winegcc/Makefile.in, tools/winegcc/utils.c, tools/winegcc/utils.h, tools/winegcc/winegcc.c: Dimitrie O. Paun Merge winewrap into winegcc. Many cleanups. * programs/winedbg/elf.c, programs/winedbg/module.c: Eric Pouech - fixed ELF modules' size information - fixed containers' tests * dlls/winedos/ppdev.c: Uwe Bonnes IO_pp_outp: Allow to switch direction of the printer port. * dlls/comctl32/imagelist.c: Maxime Bellengé Fix a regression in ImageList_Create when creating a dibsection. * dlls/opengl32/wgl.c: Lionel Ulmer Use the NULL matrix instead of giving a badly filled identity matrix. * dlls/shell32/shellpath.c: Kevin Koltzau Fill unused gap to fix lookups past CSIDL_CONNECTIONS. 2004-02-21 Alexandre Julliard * configure, configure.ac, dlls/Makefile.in, dlls/kernel/vxd.c, dlls/vmm.vxd/.cvsignore, dlls/vmm.vxd/Makefile.in, dlls/vmm.vxd/vmm.c, dlls/vmm.vxd/vmm.vxd.spec, dlls/vwin32.vxd/vwin32.c, dlls/vwin32.vxd/vwin32.vxd.spec: Allow the implementation of the VxDCall entry points to be moved to separate VxD dlls. Moved VMM code to a separate dll, and removed the registry calls to get rid of the code duplication with advapi32. * programs/winetest/gui.c, programs/winetest/main.c, programs/winetest/send.c: Ferenc Wagner Report the error sent by the CGI script. Make progress bar selection explicit. * tools/winegcc/winegcc.c: Dimitrie O. Paun Rewrite winegcc in preparation for merging with winewrap. We now have comprehensive (and correct) options parsing. * dlls/shdocvw/shdocvw_main.c: Mike Hearn Implement SHDOCVW_DllGetVersion. It returns the same information as the Win98/IE6 implementation does. 2004-02-20 Alexandre Julliard * dlls/capi2032/cap20wxx.c, dlls/capi2032/cap20wxx.h, dlls/ddraw/main.c, dlls/glut32/glut.c, dlls/iphlpapi/tests/iphlpapi.c, dlls/kernel/process.c, dlls/kernel/task.c, dlls/kernel/thunk.c, dlls/msvidc32/msvideo1.c, dlls/ntdll/exception.c, dlls/ole32/moniker.c, dlls/quartz/main.c, dlls/setupapi/setupcab.c, dlls/shell32/shellpath.c, dlls/shell32/shlfileop.c, dlls/shlwapi/ordinal.c, dlls/win32s/win32s16.c, dlls/winaspi/winaspi16.c, dlls/winedos/dosvm.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/winejack/audio.c, dlls/x11drv/wintab.c, loader/glibc.c: Patrik Stridvall Fixed some issues found by winapi_check. * dlls/comctl32/string.c: Removed a couple of unneeded helper functions. * tools/winegcc/winewrap.c: Dimitrie O. Paun Fix typo introduced during the path search reorganizaton. * tools/winapi/win16.api, tools/winapi/win32.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - API files update. - Minor bug fixes. * dlls/comctl32/imagelist.c: Ulrich Czekalla Use dibsections for the images. * dlls/comctl32/toolbar.c: Huw Davies If TBSTYLE_EX_HIDECLIPPEDBUTTONS is set then invalidate the area that changes in a resize. Don't call SWP unless we're actually adjusting anything. * programs/winetest/main.c: Ferenc Wagner Add a free() call at the end. * dlls/x11drv/clipboard.c, dlls/x11drv/event.c, dlls/x11drv/window.c, dlls/x11drv/x11drv.h: Ulrich Czekalla Implemented rendering synthesized BITMAP and DIB formats. * dlls/kernel/Makefile.in, dlls/kernel/device.c, dlls/kernel/vxd.c, files/file.c, include/file.h: Create real file handles for VxDs instead of using the server device object hack (partly based on a patch by Eric Pouech). * dlls/comctl32/comctl32.spec, dlls/comctl32/string.c, dlls/shlwapi/string.c: Robert Shearman - Implement string functions in comctl32. - Use CompareString in shlwapi wherever possible instead of ugly helpers. * dlls/user/winproc.h, windows/winproc.c: Dmitry Timoshkov First step in using faster approach for A<->W message mapping. * DEVELOPERS-HINTS: Dimitrie O. Paun Update DEVELOPERS-HINTS with the newly added VxDs. * dlls/comctl32/listview.c: Dimitrie O. Paun LVN_BEGINRDRAG is implemented now. Fix typo. * dlls/uxtheme/draw.c, dlls/uxtheme/metric.c, dlls/uxtheme/msstyles.c, dlls/uxtheme/msstyles.h, dlls/uxtheme/property.c: Kevin Koltzau Implemented system metric functions. * configure, configure.ac, dlls/Makefile.in, dlls/ifsmgr.vxd/.cvsignore, dlls/ifsmgr.vxd/Makefile.in, dlls/ifsmgr.vxd/ifsmgr.c, dlls/ifsmgr.vxd/ifsmgr.vxd.spec, dlls/kernel/device.c, dlls/mmdevldr.vxd/.cvsignore, dlls/mmdevldr.vxd/Makefile.in, dlls/mmdevldr.vxd/mmdevldr.c, dlls/mmdevldr.vxd/mmdevldr.vxd.spec, dlls/monodebg.vxd/.cvsignore, dlls/monodebg.vxd/Makefile.in, dlls/monodebg.vxd/monodebg.c, dlls/monodebg.vxd/monodebg.vxd.spec, dlls/vdhcp.vxd/.cvsignore, dlls/vdhcp.vxd/Makefile.in, dlls/vdhcp.vxd/vdhcp.c, dlls/vdhcp.vxd/vdhcp.vxd.spec, dlls/vnetbios.vxd/.cvsignore, dlls/vnetbios.vxd/Makefile.in, dlls/vnetbios.vxd/vnetbios.c, dlls/vnetbios.vxd/vnetbios.vxd.spec, dlls/vtdapi.vxd/.cvsignore, dlls/vtdapi.vxd/Makefile.in, dlls/vtdapi.vxd/vtdapi.c, dlls/vtdapi.vxd/vtdapi.vxd.spec, dlls/vwin32.vxd/.cvsignore, dlls/vwin32.vxd/Makefile.in, dlls/vwin32.vxd/vwin32.c, dlls/vwin32.vxd/vwin32.vxd.spec: Added support for implementing VxDs as separate dlls and loading them on demand. Moved all the DeviceIoControl code into the respective VxD dlls. * documentation/running.sgml: Brian Vincent Remove reference to Calmira file manager, add bit about Winefile. * programs/winetest/gui.c: Gerald Pfeifer Fix non-standard code in report(). * objects/metafile.c: Ulrich Czekalla Get the rectangle from the dc and uncomment PlayEnhMetaFile in GetWinMetaFileBits. * dlls/gdi/gdi32.spec, objects/palette.c: Rein Klazes Add stub implementation for SetICMProfileA(). * dlls/comctl32/listview.c: Aric Stewart Implemented LISTVIEW_ApproximateViewRect for LVS_REPORT. * dlls/x11drv/palette.c: Finlo Boyde Fix for deadlock when using private colormap. 2004-02-19 Alexandre Julliard * programs/winetest/gui.c, programs/winetest/main.c, programs/winetest/maketest, programs/winetest/util.c, programs/winetest/winetest.h: Ferenc Wagner - command line handling (GUI will follow) - strip .exe[.so] from test names - version 2 output * dlls/winmm/winealsa/midi.c: Christian Costa Replaced the timer and its callback by a thread for receiving midi in events. Fixed time of MIM_LONGDATA notification. Handled DRVM_EXIT in ALSA_midMessage. * dlls/ole32/ifs.c: Mike Hearn To reduce debugging noise, make IMalloc32/IMallocSpy implementations output to the new olemalloc debug channel. * dlls/msvcrt/file.c, dlls/msvcrt/scanf.c, dlls/msvcrt/scanf.h, include/msvcrt/stdio.h: Fixed varargs handling in the scanf functions (spotted by Eric Pouech). * include/winuser.h: Kevin Koltzau Define SPI_* values introduced in XP. * dlls/x11drv/clipboard.c: Ulrich Czekalla Advance index as we set the atom values. * dlls/mapi32/mapi32.spec: Mike Hearn The presence of FGetComponentPath is used to check if mapi32.dll is the Outlook version or not. It's common to GetProcAddress for it, so let's not export it as otherwise apps may call it. 2004-02-17 Alexandre Julliard * tools/winedump/Makefile.in, tools/winedump/winedump.man: Michael Stefaniuc Added winedump man page, heavily based on the README file. * dlls/shlwapi/Makefile.in, dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/stopwatch.c, dlls/shlwapi/string.c: Jon Griffiths Stub the stopwatch API. Implement DoesStringRoundTripW,@371-3,@392. Move a couple of string functions into string.c * dlls/setupapi/stubs.c: Fixed a trace. * dlls/comctl32/listview.c: Fabian Cenedese ListView should behave in OWNERDRAW as in FULLROWSELECT. This allows to select cells not in the first column in REPORT mode with OWNERDRAW style set. * dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c: Robert Shearman Forward some wrapper functions since we don't care about compatibility with Win98 in this case. * dlls/kernel/instr.c: Marcus Meissner Support emulation of the privileged mov dr7,eax instruction. * dlls/msi/msi.c, dlls/msi/msi.spec, dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c, include/setupapi.h: Christian Costa Added some stubs. * dlls/uxtheme/system.c: Kevin Koltzau Corrected method of creating registry keys, both to fix an issue where they were not created and to act more like Windows. * dlls/comctl32/Makefile.in, dlls/comctl32/comctl32undoc.c, dlls/comctl32/string.c: Robert Shearman Move string functions to separate file. * Make.rules.in, dlls/Makedll.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/utils.c, tools/winebuild/winebuild.man.in: Added support for building a dll from a .def file for cases where we don't want to write a full .spec. Renamed --spec option to --dll for consistency. * controls/menu.c, dlls/user/tests/msg.c, include/win.h, windows/win.c: Huw Davies SetMenu should always call SetWindowPos whether the window is visible or not. However we shouldn't call SWP from CreateWindowEx. Added a test for this behaviour. * dlls/comctl32/toolbar.c, include/commctrl.h: Robert Shearman - Fix some traces. - The TBM_GET*HOTLIST functions take imagelist ID in wParam. - Implement TBM_GETSTRING{A,W}. - Implement undocumented 0x462 message. * programs/winecfg/En.rc, programs/winecfg/libraries.c, programs/winecfg/resource.h: Robert van Herk Allow user to choose "native", "native,builtin", "builtin", "builtin,native" and "disable" for each library they override. * dlls/oleaut32/variant.c: Fabian Cenedese Accept VT_BOOL mixed with another type as valid combination in VarOr/VarAnd. * include/shlwapi.h: Fixed IntlStrEqWorkerA/W prototypes. * dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, dlls/shlwapi/tests/string.c: Robert Shearman - Add IntlStrEqWorkerA/W. - StrCmp tests. * dlls/comctl32/comctl32undoc.c: Robert Shearman Documentation update. * dlls/ntdll/virtual.c: Dmitry Timoshkov Write section access also assumes read access. * dlls/uxtheme/msstyles.c, dlls/uxtheme/msstyles.h, dlls/uxtheme/system.c: Kevin Koltzau Keep track of theme filename within THEME_FILE. 2004-02-16 Alexandre Julliard * dlls/Makedll.rules.in: Marcus Meissner Allow specification of "DLLMODE=native" for native dlls. * dlls/Maketest.rules.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in, tools/winebuild/main.c, tools/winebuild/winebuild.man.in: Renamed --exe-mode option to --mode now that it can be used for dlls too. * dlls/comctl32/treeview.c: Mike Hearn Grow the treeview control expander button by 1px in each direction to match the native look. * dlls/ddraw/tests/Makefile.in: Sami Aario No need to link against the uuid library. * dlls/x11drv/text.c, dlls/x11drv/xrender.c: The clip rectangle for ExtTextOut is in logical coords. * dlls/iccvid/iccvid.c, dlls/msvidc32/msvideo1.c, dlls/msvideo/msvideo_main.c: Dmitry Timoshkov Take palette into account while responding on ICM_DECOMPRESS_GETFORMAT. * DEVELOPERS-HINTS: Dimitrie O. Paun Add the new RSA encryption DLL. * dlls/uxtheme/Makefile.in, dlls/uxtheme/draw.c, dlls/uxtheme/msstyles.c, dlls/uxtheme/msstyles.h, dlls/uxtheme/property.c: Kevin Koltzau Implement DrawThemeBackgroundEx, DrawThemeText, GetThemeTextExtent. * tools/winebuild/spec32.c: Marcus Meissner No need to check for DllEntryPoint style constants. * dlls/wininet/ftp.c: Lionel Ulmer Store pointers in the internal structures and not handles. * dlls/ddraw/tests/ddrawmodes.c: Sami Aario Added surface tests. * dlls/winmm/wineoss/audio.c: Robert Reif Add secondary buffer array. 2004-02-13 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20040213. ---------------------------------------------------------------- 2004-02-13 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Added native mode dll support (based on a patch by Marcus Meissner). * libs/port/getopt.c, libs/port/getopt1.c: Don't build getopt at all if it's not needed. * dlls/comctl32/listview.c: Aric Stewart Work toward properly updating the SelectionMark when the selected state changed inside a listbox. * dlls/winmm/wineoss/audio.c: Robert Reif Enable hardware secondary buffer support on cards that support it (SB live and audigy). * dlls/winmm/wineoss/audio.c: Robert Reif Save oss device fd and creation flags in dsound buffer object. * dlls/gdi/gdi32.spec, dlls/ttydrv/wnd.c: Get rid of a few 16-bit exports in gdi32. * dlls/shdocvw/shdocvw_main.c: Mike McCormack Use the Mozilla Active X control in place of the IE6 Active X control. * dlls/winmm/wineoss/audio.c: Robert Reif Split buffer creation function into primary and secondary buffer creation functions. Secondary buffer creation function is stubbed out. * configure, configure.ac, winedefault.reg, dlls/Makefile.in, dlls/rsabase/.cvsignore, dlls/rsabase/Makefile.in, dlls/rsabase/main.c, dlls/rsabase/rsabase.spec: Mike McCormack Implement enough of rsabase.dll to get Steam to login. * dlls/winmm/wineoss/audio.c: Robert Reif Moved dsound mmap mapping info into dsound objects. * dlls/winmm/winealsa/audio.c: Robert Reif Use pipe sync code from wineoss. * dlls/gdi/gdi_private.h, dlls/wineps/clipping.c, dlls/x11drv/bitblt.c, dlls/x11drv/clipping.c, dlls/x11drv/graphics.c, dlls/x11drv/init.c, dlls/x11drv/text.c, dlls/x11drv/x11drv.h, dlls/x11drv/xrender.c, include/gdi.h, objects/clipping.c, objects/dc.c: Moved hGCClipRgn handling to the graphics driver. * dlls/dsound/primary.c: Robert Reif Properly release hardware primary buffer when changing formats. * dlls/winmm/winealsa/audio.c: Robert Reif Don't need primary lock. Fixes error in dsound tests in interactive mode. * documentation/getting.sgml: Dimitrie O. Paun Fix location of the FreeBSD port (thanks to lazybones). * tools/winegcc/winewrap.c: Dimitrie O. Paun For each lib dir, look for .so, .def. and .a files, instead of the other way around. * include/gdi.h, objects/bitmap.c, objects/dc.c, objects/font.c: Removed a couple of unused fields in the DC structure. * DEVELOPERS-HINTS: Dimitrie O. Paun Remove the obsolete graphics/ directory. Use the prefered method documenting style. Remove irrelevant section about internal names. * dlls/x11drv/bitblt.c, dlls/x11drv/text.c, dlls/x11drv/xrender.c: Get rid of a few more references to the DC structure. * dlls/x11drv/desktop.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c, dlls/x11drv/xrandr.c, dlls/x11drv/xvidmode.c: Alex Pasadyn Update the desktop window size and send WM_DISPLAYCHANGE on resolution changes. 2004-02-12 Alexandre Julliard * configure, configure.ac, dlls/dinput/Makefile.in, dlls/dinput/joystick_linux.c, dlls/dinput/joystick_linuxinput.c, dlls/dinput/keyboard.c, dlls/dinput/mouse.c: We don't really need subdirectories in dlls/dinput. * configure, configure.ac, dlls/gdi/Makefile.in, dlls/gdi/bitblt.c, dlls/gdi/mapping.c, dlls/gdi/painting.c, dlls/gdi/path.c: Moved remaining files from graphics/ to dlls/gdi. * configure, configure.ac, libs/Makelib.rules.in, libs/unicode/Makefile.in, libs/unicode/wine_unicode.map, libs/wine/Makefile.in, libs/wine/wine.map: Added version scripts for libwine and libwine_unicode. * documentation/faq.sgml: A 0.9 release in 2003 seems unlikely at this point (spotted by Clay Ashby). * windows/sysparams.c, winedefault.reg: Justin Chevrier Implemented SPI_GETGRADIENTCAPTIONS, SPI_GETFONTSMOOTHING, SPI_GETHOTTRACKING, SPI_GETLISTBOXSMOOTHSCROLLING and SPI_GETKEYBOARDCUES system parameter calls. * include/wine/port.h: Steven Edwards Windows porting fix - Define O_NONBLOCK if not defined. * dlls/comctl32/treeview.c: Huw Davies Fix a TRACE. * dlls/gdi/freetype.c, dlls/gdi/gdi_private.h, objects/font.c: Huw Davies GetCharABCWidths returns the widths of unrotated glyphs like GetCharWidth already does. * dlls/wineps/escape.c, dlls/wineps/graphics.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h: Huw Davies Bracket code inserted by the PASSTHROUGH escapes by %%{Begin,End}Document. This stops cups' pstops becoming confused if it comes across an %%EOF in an imported eps file. The hack in PSDRV_Rectangle to fix eps files in office2k turns out to be almost what Windows really does - update the code and the comment to match Windows behaviour more precisely. * dlls/wineps/download.c: Huw Davies Make sure that the font ppem is always positive. Thanks to gslink. * dlls/shell32/shell.c: Dmitry Timoshkov Do not leave not initialized fields in the structure passed to ShellExecuteExW32. * dlls/shell32/shlexec.c: Dmitry Timoshkov Translate the returned hInstApp from the unicode worker function. * dlls/kernel/sync.c: David Hammerton Mike McCormack Completed PeekNamedPipe implementation. * winedefault.reg: Robert Shearman - Added My Computer. - Updated installed DX Version. * dlls/gdi/Makefile.in, dlls/gdi/dispdib.c, dlls/gdi/driver.c, dlls/gdi/env.c, dlls/gdi/gdi16.c: Moved some code out of the graphics/ directory into dlls/gdi. * dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/dialog.c, windows/dialog.c: Bill Medland Added the automatic tabbing in IsDialogMessage. Added corrections to GetNextTab/GroupItem. Included tests. * dlls/kernel/flatthunk.h, dlls/kernel/thunk.c: Get rid of the flatthunk.h header. * controls/edit.c, controls/menu.c, dlls/commdlg/colordlg16.c, dlls/commdlg/filedlg16.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg16.c, dlls/opengl32/wgl.c, dlls/user/user_main.c, dlls/user/winproc.h, include/user.h, windows/class.c, windows/cursoricon.c, windows/mdi.c, windows/msgbox.c: Avoid a few more GetModuleHandle calls. * tools/widl/parser.y: Ove Kaaven Don't add imported constructs to any typelib output by default. * dlls/kernel/dosmem.c, dlls/kernel/format_msg.c, dlls/kernel/kernel_main.c, dlls/kernel/kernel_private.h, dlls/kernel/locale.c, dlls/kernel/ne_segment.c, dlls/kernel/process.c, dlls/kernel/thunk.c, dlls/kernel/toolhelp.h: Store the kernel32 module handle globally to avoid some GetModuleHandle calls that can cause deadlocks with the loader section. Moved some 16-bit definitions out of kernel_private.h. 2004-02-11 Alexandre Julliard * loader/pthread.c: Better fix for the thread exit race on pthreads. * DEVELOPERS-HINTS: Dimitrie O. Paun Document four new dlls: dswave, iccvid, msvcrt40, and msvidc32. * tools/widl/parser.l, tools/widl/parser.y, tools/widl/widltypes.h: Ove Kaaven Parse the [input_sync] attribute. * dlls/ddraw/dsurface/dib.c: Dmitry Timoshkov There is no point in specifying both MEM_RESERVE and MEM_COMMIT for VirtualAlloc. * dlls/winmm/wineoss/audio.c: Dmitry Timoshkov AFMT_AC3 might be not defined in the system headers. * dlls/ntdll/virtual.c: Dmitry Timoshkov Avoid double checking free type flags in NtFreeVirtualMemory. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/res16.c, tools/winebuild/res32.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c: Store all information about the current dll in a structure instead of using global variables to make it easier to reuse the parsing routines. * dlls/ntdll/virtual.c: Don't request PROT_EXEC permissions when mapping an image file to avoid problems on noexec filesystems with kernel 2.6. * dlls/shell32/iconcache.c, dlls/shell32/shell32_main.h, dlls/shell32/shellord.c, dlls/shell32/undocshell.h, include/shellapi.h, include/shlobj.h: Moved some more definitions out of undocshell.h into the exported headers. * dlls/comctl32/toolbar.c: Huw Davies Only redraw button in PressButton and Indeterminate if its state has changed. * loader/glibc.c: Don't depend on the name of the main binary, always load wine-[kp]thread no matter what. * dlls/shell32/pidl.c, dlls/shell32/undocshell.h, include/shlobj.h, programs/winefile/winefile.c: Martin Fuchs - move some PIDL function declarations from undocshell.h into public header, as they are no longer undocumented - implement context menu support for Winefile * dlls/comctl32/toolbar.c: Huw Davies Honour TB_SETMAXTEXTROWS. 2004-02-10 Alexandre Julliard * dlls/netapi32/nbnamecache.c, dlls/netapi32/nbnamecache.h, dlls/netapi32/netapi32.c, dlls/netapi32/wksta.c, include/lmstats.h: Steven Edwards Porting Fixes for Mingw/MSVC. * include/wine/test.h: Francois Gouget Remove the winetest_ok() hack that adds a trailing '\n' if it is missing. * controls/static.c: Ge van Geldorp Set upper-left corner of destination to (0, 0), using GetBitmapDimensionEx doesn't make sense. * dlls/comctl32/toolbar.c: Ulrich Czekalla Add support for BTNS_WHOLEDROPDOWN. Populate button rect when sending TBN_DROPDOWN. * server/change.c: Huw Davies Add the F_NOTIFY defines if we're compiling with linux and they're not in the system header files. * include/winbase.h: Dmitry Timoshkov Add GetProcessHeaps() prototype. * dlls/kernel/tests/virtual.c: Dmitry Timoshkov Fix a couple of copy/paste errors. * programs/winepath/winepath.c: Mike McCormack Use GetFullPathName to convert unix path names to DOS ones. * dlls/oleaut32/typelib2.c: Alastair Bridgewater Support for a small handful more return value/argument/variable types. * include/user.h, windows/sysmetrics.c: Dynamically retrieve the metrics that depend on the screen size (based on a patch by Alex Pasadyn). Get rid of the no longer used SM_WINE_BPP metric. * dlls/oleaut32/typelib2.c: Alastair Bridgewater Fixes and support for TypeInfo alignment values. * dlls/shlwapi/tests/Makefile.in, dlls/shlwapi/tests/string.c: Jon Griffiths Test StrRetToBSTR. * dlls/shlwapi/Makefile.in, dlls/shlwapi/assoc.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, include/shlwapi.h: Jon Griffiths Add some missing prototypes, fix AssocIsDangerous. Implement StrRetToBSTR, delay-import oleaut32. * dlls/shell32/tests/.cvsignore, dlls/shell32/tests/Makefile.in, dlls/shell32/tests/string.c: Jon Griffiths Tests for StrRetToStrAW. * dlls/shell32/shellstring.c, dlls/shell32/shlview.c, dlls/shell32/undocshell.h: Jon Griffiths StrRetToStrN returns BOOL and shouldn't crash on NULL dest. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/errorinfo.c: Robert Shearman - CoSetState info should be thread local. - SetErrorInfo should allocate an apartment when no apartment present. * dlls/x11drv/keyboard.c: Leonardo Quijano Vincenzi Fixed Latin American keyboard. * dlls/oleaut32/typelib2.c: Alastair Bridgewater Stubbed-out implementation of the ITypeLib interface. A fix to ICreateTypeInfo::AddRefTypeInfo() to use Release() instead of hacking a refcount directly. A missed API doc comment for the ITypeInfo interface. * dlls/comctl32/toolbar.c: Dmitry Timoshkov Add partial support for some undocumented toolbar messages. 2004-02-09 Alexandre Julliard * dlls/comctl32/rebar.c, dlls/d3d8/device.c, dlls/kernel/tests/thread.c, dlls/msvcrt/cpp.c, dlls/msvidc32/msvideo1.c, dlls/ntdll/tests/rtl.c, dlls/oleaut32/typelib2.c, dlls/shdocvw/classinfo.c, dlls/uxtheme/stylemap.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/x11drv/xim.c, documentation/bugs.sgml, documentation/faq.sgml, documentation/getting.sgml, documentation/installing.sgml, programs/winedbg/elf.c, programs/winefile/winefile.c: Francois Gouget Assorted spelling and case fixes. * controls/menu.c: Fixed TrackPopupMenu return value (based on a patch by Andreas Rosenberg). * dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/utility.c: Lionel Ulmer Better TRACEing in some functions. * dlls/oleaut32/typelib2.c: Alastair Bridgewater Preliminary support for ICreateTypeInfo::AddImplType(). Support for ICreateTypeInfo::SetImplTypeFlags(). * dlls/comctl32/toolbar.c: Huw Davies TB_ADDBUTTONS can pass a string ptr instead of an index. TB_GETBUTTONINFO only returns a string if it's not in the internal string list. * dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h: Lionel Ulmer Implemented proper asynchronous InternetOpenUrl handling. * dlls/oleaut32/typelib2.c: Alastair Bridgewater Preliminary support for recording custom data in a type library. * tools/winegcc/winegcc.c: libwine_uuid has been renamed to libuuid. * files/file.c: Pofis Don't print FIXME for FILE_ATTRIBUTE_TEMPORARY. * configure, configure.ac: Workaround for broken artsc-config script (based on a patch by stirling@kc.rr.com). * dlls/comctl32/toolbar.c, dlls/commdlg/filedlg.c, dlls/shell32/shlview.c, programs/winefile/winefile.c: Huw Davies Use the BTNS_* toolbar button style defines rather than the outdated TBSTYLE_*. * tools/winebuild/import.c: Robert Shearman Fix proc name reported in delay load failure. * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/virtual.c, dlls/ntdll/virtual.c: Dmitry Timoshkov Add a test case for Virtual* APIs, fix a few bugs discovered by it. * include/setupapi.h: Juan Lang Declare some SetupDi functions and related constants. * programs/uninstaller/main.c: Hannu Valtonen Remove some useless comments and rearrange the GUI a bit. * dlls/shell32/pidl.c: Mike McCormack Fix the bounds checking in SHGetPathFromIDListA/W. * dlls/wininet/ftp.c, dlls/wininet/http.c: Lionel Ulmer Report real handles to the application, not Wine internal ones. * dlls/winmm/wineoss/audio.c: Robert Reif Fixed a problem on BSD. Fixed a trace. * dlls/iphlpapi/ifenum.h: Juan Lang Remove dead comment. * dlls/msvcrt/file.c: Alfons Hoogervorst Fix infinite loop in _flushall. * include/guiddef.h: Juan Lang #ifdef guard the declaration of type IID to be compatible with midl-generated stubs. * dlls/oleaut32/typelib2.c: Alastair Bridgewater Support for recording the SYSKIND of the type library. * dlls/kernel/tests/file.c: Dmitry Timoshkov Allow compilation with MSVC. * objects/bitmap.c, objects/dc.c, objects/dib.c, objects/enhmetafile.c, objects/font.c, objects/gdiobj.c, objects/metafile.c, objects/palette.c: Jon Griffiths Documentation fixes. * dlls/commdlg/cdlg_Th.rc, dlls/commdlg/rsrc.rc: Jon Griffiths Thai language translation. * dlls/msvcrt/dir.c: Jon Griffiths Use Unicode calls instead of ASCII where applicable. Documentation updates. * tools/c2man.pl: Jon Griffiths Allow API-doc generation for non WINAPI calls (e.g. msvcrt). * dlls/dxguid/Makefile.in, dlls/uuid/Makefile.in: Jon Griffiths Define empty rules for documentation generation. 2004-02-07 Alexandre Julliard * dlls/kernel/profile.c, include/wine/unicode.h: Added memchrW and memrchrW to the exported Unicode functions. * dlls/kernel/locale.c: Added missing parameter check in SetLocaleInfoA revealed by the profile code changes. * dlls/kernel/profile.c: Robert Shearman - Use Win32 instead of Unix file functions. - Process files fully in Unicode. - Add Unicode file detection. * dlls/opengl32/Makefile.in, dlls/opengl32/make_opengl, dlls/opengl32/opengl32.spec, dlls/opengl32/wgl.c, dlls/opengl32/wgl_ext.c, dlls/opengl32/wgl_ext.h: Lionel Ulmer Beginning of infrastructure to support WGL extensions. * documentation/testing.sgml: Michael Stefaniuc Update doc about cross-compiling of the Wine tests. * dlls/kernel/lcformat.c, dlls/kernel/tests/locale.c: Bill Medland Correct GetNumberFormat for negative numbers with e.g. 3 leading digits. * windows/sysmetrics.c: Alex Pasadyn Report the mouse wheel as present in the system metrics. * dlls/comctl32/toolbar.c: Huw Davies Add a missing return. * dlls/ole32/storage.c: Troy Rollo Added documentation for DocFiles, based on the CorVu implementation of DocFiles. * dlls/kernel/process.c, dlls/ntdll/loader.c, include/winternl.h: Get pointer to CreateFileW earlier on during startup. Make sure we don't crash when loading a dll before the modref for the main exe has been created. * tools/winecheck: Leonardo Quijano Vincenzi Added check for unhide option. * dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h: Mike McCormack Implement proper HINTERNET handles. * dlls/ntdll/tests/env.c, dlls/ntdll/tests/error.c, dlls/ntdll/tests/large_int.c, dlls/ntdll/tests/path.c, dlls/ntdll/tests/rtl.c, dlls/ntdll/tests/rtlstr.c, dlls/ntdll/tests/string.c: Francois Gouget Add trailing '\n's to ok() calls. * dlls/ntdll/tests/rtlbitmap.c: Francois Gouget Add trailing '\n's to ok() calls. Spelling fixes in the ok() messages. * dlls/uxtheme/msstyles.c: Kevin Koltzau Process color metrics for themes. * dlls/comctl32/tab.c: Vitaliy Margolen - Fix handling of TCS_RAGGEDRIGHT style. - Clip UpDown control only if it is present. - Add ToDos. * programs/winecfg/En.rc, programs/winecfg/Es.rc, programs/winecfg/Pt.rc, programs/winecfg/Ru.rc, programs/winecfg/Si.rc, programs/winecfg/appdefaults.c, programs/winecfg/main.c, programs/winecfg/properties.c, programs/winecfg/properties.h, programs/winecfg/resource.h, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c: Chris Morgan Rename 'General tab' to 'About', move to the last position. Make applications tab handle global and per-app winver, dosver and winelook settings, mirroring the Libraries tab. Code copied from Robert van Herk's libraries tab. Move global/app specific function and global to the x11drv tab where it is currently used. Add a couple of property helper functions. Set 3D border around treeview controls. Removed invalid resources from languages other than En. 2004-02-06 Alexandre Julliard * dlls/ntdll/exception.c: Trace register contents on exception. * dlls/dsound/buffer.c: Robert Reif Fallback to software buffer if failed to create hardware buffer. Minor code cleanups. * dlls/kernel/tests/change.c, dlls/kernel/tests/heap.c, dlls/kernel/tests/locale.c, dlls/kernel/tests/mailslot.c, dlls/kernel/tests/path.c, dlls/kernel/tests/pipe.c, dlls/kernel/tests/process.c, dlls/kernel/tests/profile.c, dlls/kernel/tests/thread.c: Francois Gouget Add trailing '\n's to ok() calls. * dlls/oleaut32/tests/vartest.c: Chris Morgan Implement tests for VarMod(). Added char *vtstr() to enhance test debugging by returning a text string that corresponds to the input type. * dlls/oleaut32/variant.c: Chris Morgan Implement VarMod(). Add a few trace outputs. Fix VarNot() with VT_CY. Fix VarParseNumFromStr() to work correctly with NUMPRS_HEX_OCT flag. * programs/winedbg/elf.c: Eric Pouech Fixed typo. * dlls/dsound/dsound_main.c: Robert Reif Fallback to software buffer if duplicating hardware buffer fails. * dlls/dsound/primary.c: Robert Reif Actual buffer format may be different from requested format so use returned one for calculation. * dlls/winmm/wineoss/audio.c: Robert Reif Show sound card info in trace. * programs/winemine/It.rc: Ivan Leo Murray-Smith Translate "options". * dlls/user/tests/win.c, windows/win.c: Dmitry Timoshkov Add a test case and a fix for the window styles state at the window creation time. * dlls/x11drv/window.c: Alex Pasadyn Make full-screen popup windows managed. * dlls/netapi32/access.c, dlls/netapi32/netapi32.spec: Chris Morgan Stub NetUserEnum(). * dlls/wininet/internet.c: Lionel Ulmer Properly handle asynchronous HttpSendRequestA. * programs/regedit/edit.c: Robert Shearman Cancel rename if value to rename to already exists. * dlls/comctl32/comctl32undoc.c, dlls/comctl32/tests/dpa.c: Robert Shearman Fix nGrow initialization in DPA_CreateEx. 2004-02-05 Alexandre Julliard * dlls/kernel/thread.c, include/wine/pthread.h, loader/kthread.c, loader/pthread.c: Revert the thread exit race fix for now, it doesn't work right on pthreads. * dlls/kernel/thread.c, dlls/ntdll/thread.c, include/wine/pthread.h, libs/wine/port.c, libs/wine/wine.def, loader/kthread.c, loader/pthread.c: Fixed a couple of race conditions in the wine_pthread routines at thread startup and exit. * server/request.c: Do a protocol error instead of crashing if the reply fd has not been set. * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/change.c, server/change.c: Hans Leidekker Improved error reporting. Add some notification types and a test. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Juan Lang Stub for MLIsMLHInstance. * configure, configure.ac, include/config.h.in, programs/winedbg/elf.c: Eric Pouech - Fixed broken winedbg compilation on BSD. - Fixed some corner case handling in ELF list walking (reported by Robert Shearman). * windows/user.c: Rein Klazes Change return code from ExitWindowsEx() (and with that related ExitWindows* functions) from FALSE to TRUE. * dlls/winmm/winealsa/midi.c, dlls/winmm/wineoss/midi.c: Christian Costa Added missing notifications to MIDI_NotifyClient. Made checks less strict in midPrepare, only return an error for buffer in queue. Fixed time of input events in Alsa driver. * dlls/uxtheme/draw.c: Kevin Koltzau Implement IsThemeBackgroundPartiallyTransparent, DrawThemeParentBackground, and beginnings of other drawing functions. * dlls/kernel/process.c: Mike McCormack Fix incorrect GetLongPathName usage exposed by Eric's filename patches. 2004-02-03 Alexandre Julliard * include/wingdi.h: Kevin Koltzau Add define MAKEROP4. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Issue WARN instead of FIXME when there are mismatches between hard coded and real keyboard layouts. * include/shlobj.h: Juan Lang Declare SHGetFolderPath and related constants. * dlls/oleaut32/typelib2.c: Alastair Bridgewater Stubbed-out implementation of the ITypeInfo2 interface for the ICreateTypeInfo2 implementation. Implementation of ITypeInfo2_fnGetContainingTypeLib(). Preliminary implementation of ICreateTypeInfo2_fnAddRefTypeInfo(). * programs/winedbg/Makefile.in, programs/winedbg/debugger.h, programs/winedbg/elf.c, programs/winedbg/gdbproxy.c, programs/winedbg/hash.c, programs/winedbg/memory.c, programs/winedbg/module.c, programs/winedbg/msc.c, programs/winedbg/pe.c, programs/winedbg/stabs.c, programs/winedbg/winedbg.c: Eric Pouech - now detecting Dwarf debug information in ELF modules (but don't load it) - separated module management (pe.c, elf.c) from debug information management (stabs.c, msc.c) - worked around new wine-pthread and wine-kthread loaders (no longer use "wine" as default loader) - better convergence of gdb-proxy and winedbg for ELF handling - fixed ELF link-map walking - now using all loaded shared libs - (with the help of Robert Shearman) - added a bit of const correctness * dlls/imm32/imm.c, dlls/imm32/imm32.spec: Ken Belleau Added stub for ImmDisableIME. * dlls/x11drv/xvidmode.c: Alex Pasadyn Use the first mode in the XVidMode mode list as the default. * dlls/shell32/shlview.c: Ulrich Czekalla Set the item mask before calling GetItem. * dlls/oleaut32/olepicture.c: Kirill Smelkov OLEPictureImpl_Load: fix for headerless pictures. * tools/winemaker: Kirill Smelkov Try to use -fshort-wchar if possible. * windows/mdi.c: Dmitry Timoshkov Make the MDI Window menu refreshing Windows compatible. Simplify MDI child visibility check. * dlls/comctl32/toolbar.c: Jon Griffiths Draw disabled toolbar buttons correctly. 2004-02-02 Alexandre Julliard * dlls/gdi/gdi32.spec, dlls/msimg32/Makefile.in, dlls/msimg32/msimg32.spec, dlls/msimg32/msimg32_main.c: Kevin Koltzau Implementation of gdi32.GdiTransparentBlt and msimg32.TransparentBlt. * include/commctrl.h: Eric Pouech Added ListView_GetHeader macro. * dlls/shell32/shlview.c: Ulrich Czekalla Make SHChangeNotifyRegister be recursive so that will get all notifications. * dlls/shell32/changenotify.c: Ulrich Czekalla Fix SHChangeNotify to send correct lParam and wParam values. * dlls/gdi/freetype.c: Huw Davies GulimChe has the IsFixedPitch flag set, yet contains glyphs of differing widths. To cope with this we need to call FT_Load_Glyph with the FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH flag in order to get back the correct glyph metrics from FreeType. * tools/winewrapper: Francois Gouget Preserve the original WINEDLLPATH so we can load out-of-tree Winelib applications. * tools/winemaker: Francois Gouget Link with msvcrt and use the msvcrt headers by default to improve the Visual C++ compatibility. Add a '--nomsvcrt' option to generate makefiles that do not use msvcrt. * windows/mdi.c: Dmitry Timoshkov Test whether an active maximized MDI child is visible. 2004-01-30 Alexandre Julliard * dlls/ntdll/virtual.c: Added memory constraint to avoid miscompilation of the unaligned_mmap function (with help from Paul Streitman). * documentation/configuring.sgml, documentation/fonts.sgml, documentation/implementation.sgml, documentation/printing.sgml, documentation/registry.sgml, documentation/running.sgml: Dimitrie O. Paun Move keyboard programming instructions to the Devel Guide. Cleanup up a bunch of bits that don't belong in a book. * dlls/ddraw/ddraw/main.c, dlls/ddraw/dsurface/main.c: Lionel Ulmer Fix palette deletion issue seen in DungeonKeeper. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Fix the Z transform in the XYRZHW case. * dlls/kernel/Makefile.in, dlls/kernel/actctx.c, dlls/kernel/kernel32.spec: Jon Griffiths Add stubs for the Activation Context API (XP+). * dlls/richedit/reader.c, dlls/richedit/richedit.c, dlls/richedit/rtf.h, dlls/richedit/text-writer.c: Mike McCormack Remove global variables from the richedit control. * dlls/x11drv/wintab.c: Aric Stewart The NVIDIA graphics device comes up as an X extension event, but throws an error (BadMatch) when querying for the buttons. Catch this error and and discard that device from being a tablet device. * dlls/netapi32/nbt.c: Juan Lang - fix broadcast address for name lookups after iphlpapi change - fix bad registry key opening * tools/winemaker: Francois Gouget Update the handling of uuid. Modify the autoconf script to detect '-z defs' and '-init/-fini'. * dlls/x11drv/x11drv_main.c: Chris Morgan If unable to open an X11 display mention that X needs to be running and that $DISPLAY must be set correctly. * dlls/shell32/shfldr_mycomp.c: Martin Fuchs - remove unneccesary ISF_MyComputer_Constructor() declaration - improve returned error code of ISF_MyComputer_fnParseDisplayName() - remove wrong comment from ISF_MyComputer_fnGetDisplayNameOf() 2004-01-28 Alexandre Julliard * windows/win.c, windows/winproc.c: Fixed 16-bit MDI support (based on a patch by Dmitry Timoshkov). * dlls/user/hook16.c, include/wine/winuser16.h, windows/struct32.c: lpCreateParams should be a SEGPTR in 16-bit code. * dlls/kernel/except.c: Make sure that there is extra information in the exception record before accessing it in check_resource_write. * dlls/oleaut32/typelib2.c: Alastair Bridgewater Preliminary implementation of ICreateTypeInfo2_fnAddFuncDesc() and ICreateTypeInfo2_fnSetFuncAndParamNames(). * documentation/Makefile.in, documentation/winelib-bindlls.sgml, documentation/winelib-mfc.sgml, documentation/winelib-pkg.sgml, documentation/winelib-porting.sgml, documentation/winelib-user.sgml: Dimitrie O. Paun Remove a bunch of dummy and/or obsolete info from the Winelib Developers Guide. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec: Christian Costa Add stub for WSAStringToAddressA. * dlls/ole32/ole2.c: Ge van Geldorp Don't depend on user32-internal implementation of accelerator tables. * dlls/version/info.c: Robert Shearman Allow VerQueryValueW to query 16-bit resources. * programs/winedbg/break.c: Eric Pouech - now reporting message on bogus line number in 'bp ' commands (useful when user thinks is a linear address) - fixed bogus return value in DEBUG_AddBreakpoint * dlls/winmm/mciavi/mmoutput.c: Eric Pouech Fixed synchronization issue. * dlls/oleaut32/typelib2.c: Alastair Bridgewater Improvements to ICreateTypeInfo2_fnAddVarDesc(). A separate function to encode TYPEINFO structures. 2004-01-27 Alexandre Julliard * dlls/user/winproc.h, windows/winproc.c: Properly translate the message result for WM_GETTEXT-style messages. * dlls/winmm/winearts/Makefile.in, dlls/winmm/wineaudioio/Makefile.in, dlls/winmm/winejack/Makefile.in, dlls/winmm/winenas/Makefile.in: All sound drivers need -ldxguid. * dlls/netapi32/tests/access.c, dlls/netapi32/tests/apibuf.c, dlls/netapi32/tests/wksta.c, dlls/shlwapi/tests/clist.c, dlls/shlwapi/tests/clsid.c, dlls/shlwapi/tests/path.c, dlls/shlwapi/tests/shreg.c, dlls/shlwapi/tests/string.c, dlls/kernel/tests/file.c, dlls/kernel/tests/format_msg.c: Francois Gouget Add trailing '\n's to ok() calls. * dlls/winsock/socket.c: Alexey Spiridonov Fixed typo in memset call. * dlls/kernel/console.c: Dmitry Timoshkov Use case insensitive comparison with pseudo console handle names in OpenConsole. * dlls/user/focus.c: Dmitry Timoshkov MSDN is wrong: WM_NCACTIVATE takes the same lParam as WM_ACTIVATE. * dlls/comctl32/propsheet.c: Ulrich Czekalla We should forward WM_COMMAND notification to the active page for any additional non-standard controls in the property sheet frame. * programs/regedit/edit.c: John K. Hohm Allow regedit to edit (Default) key values. * documentation/opengl.sgml: Dimitrie O. Paun Remove obsolete section about thread-safety. Cleanup section on configuration, merged the remaining bit into the "Known problems" section. Miscellaneous cleanups and simplifications. * documentation/implementation.sgml: Dimitrie O. Paun Reformat and cleanup the shrink.c file included in the documentation for consistency with the Wine source. * documentation/winelib-porting.sgml, documentation/winelib-user.sgml: Dimitrie O. Paun Remove obsolete info about wrappers, they are no longer necessary. * DEVELOPERS-HINTS: Dimitrie O. Paun Update the developer hints to reflect the uuid libs move. Make sure all directories end with a /, for consistency. * include/uxtheme.h: Kevin Koltzau Add missing DTBG_* defines. * dlls/comctl32/tests/tab.c, dlls/msvcrt/tests/file.c, dlls/msvcrt/tests/heap.c, dlls/msvcrt/tests/scanf.c, dlls/oleaut32/tests/olefont.c, dlls/oleaut32/tests/vartype.c: Francois Gouget Add trailing '\n's to ok() calls. * programs/winedbg/info.c: Sami Aario Fix a debug message. * dlls/oleaut32/typelib2.c: Alastair Bridgewater A small number of cleanups. A new function to find a given NAME in a type library. Support for growing a tlb segment when it overflows. Duplicate GUID elimination. GUID hash fixes. NAME hash fixes. Duplicate STRING elimination fixes. Duplicate IMPORT elimination fixes. Type information save ordering fixes. Support for writing out the CUSTDATA and CUSTDATAGUID segments. * windows/mdi.c: Dmitry Timoshkov - Add the same protection to MDI_AugmentFrameMenu as one existing in MDI_RestoreFrameMenu against repetitive calls. - Use Windows default icon for system menu bitmap if there is no one supplied by a child window as Windows does. - Use GetSystemMenu() to load system menu for a child window, otherwise there is no way to generate WM_SYSCOMMAND menu messages. - Restore check in WM_SIZE MDI child handler erroneously removed earlier. * dlls/x11drv/keyboard.c: Aric Stewart Back out an unintentional change that snuck in with the XIM change. * Make.rules.in, dlls/avifil32/Makefile.in, dlls/comcat/Makefile.in, dlls/commdlg/Makefile.in, dlls/d3d8/Makefile.in, dlls/d3d9/Makefile.in, dlls/d3dx8/Makefile.in, dlls/ddraw/Makefile.in, dlls/ddraw/tests/Makefile.in, dlls/devenum/Makefile.in, dlls/dinput/Makefile.in, dlls/dinput8/Makefile.in, dlls/dmband/Makefile.in, dlls/dmcompos/Makefile.in, dlls/dmime/Makefile.in, dlls/dmloader/Makefile.in, dlls/dmscript/Makefile.in, dlls/dmstyle/Makefile.in, dlls/dmsynth/Makefile.in, dlls/dmusic/Makefile.in, dlls/dmusic32/Makefile.in, dlls/dplayx/Makefile.in, dlls/dsound/Makefile.in, dlls/dsound/tests/Makefile.in, dlls/dswave/Makefile.in, dlls/msdmo/Makefile.in, dlls/mshtml/Makefile.in, dlls/msi/Makefile.in, dlls/msisys/Makefile.in, dlls/ole32/Makefile.in, dlls/oleaut32/Makefile.in, dlls/oleaut32/tests/Makefile.in, dlls/quartz/Makefile.in, dlls/rpcrt4/Makefile.in, dlls/shdocvw/Makefile.in, dlls/shell32/Makefile.in, dlls/shlwapi/Makefile.in, dlls/urlmon/Makefile.in, dlls/wined3d/Makefile.in, dlls/winmm/winealsa/Makefile.in, dlls/winmm/winearts/Makefile.in, dlls/winmm/wineaudioio/Makefile.in, dlls/winmm/winejack/Makefile.in, dlls/winmm/winenas/Makefile.in, dlls/winmm/wineoss/Makefile.in, programs/winefile/Makefile.in, programs/winemenubuilder/Makefile.in: Only link against libdxguid where necessary. * controls/menu.c, dlls/advapi32/security.c, dlls/avifil32/editstream.c, dlls/cabinet/cabextract.c, dlls/comctl32/commctrl.c, dlls/comctl32/propsheet.c, dlls/commdlg/filedlg.c, dlls/ddraw/mesa.c, dlls/gdi/bidi.c, dlls/kernel/computername.c, dlls/kernel/ne_segment.c, dlls/msvideo/msrle32/msrle32.c, dlls/netapi32/nbt.c, dlls/oleaut32/typelib2.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_server.c, dlls/setupapi/setupcab.c, dlls/shell32/changenotify.c, dlls/shell32/pidl.c, dlls/shell32/shlfileop.c, dlls/shell32/shlfsbind.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/shlwapi/thread.c, dlls/user/exticon.c, dlls/user/resource.c, dlls/wininet/urlcache.c, dlls/winmm/winealsa/audio_05.c, dlls/winmm/wineoss/audio.c, dlls/wsock32/service.c, dlls/wsock32/socket.c, dlls/x11drv/xrandr.c, windows/user.c: Francois Gouget Add missing '\n's to debug traces. 2004-01-26 Alexandre Julliard * Make.rules.in, configure, configure.ac, dlls/Makedll.rules.in, dlls/Makefile.in, dlls/Maketest.rules.in, dlls/dxguid/.cvsignore, dlls/dxguid/Makefile.in, dlls/dxguid/dx8guid.c, dlls/dxguid/dx9guid.c, dlls/dxguid/dxguid.c, dlls/make_dlls, dlls/uuid/.cvsignore, dlls/uuid/Makefile.in, dlls/uuid/uuid.c, libs/Makefile.in, programs/Makeprog.rules.in: Moved libuuid to the dlls directory, and moved the DirectX GUIDs into a separate libdxguid library. * dlls/uxtheme/msstyles.c: Kevin Koltzau Ensure MSSTYLES_SetActiveTheme fails properly when theme is invalid. * documentation/testing.sgml: Chris Morgan Visual Studio 6 users should get the processor pack. Note this in the Visual C++ section. * dlls/advapi32/tests/registry.c, dlls/rpcrt4/tests/rpc.c, dlls/shell32/tests/shlfileop.c, dlls/kernel/tests/alloc.c, dlls/kernel/tests/console.c, dlls/kernel/tests/directory.c: Francois Gouget Add trailing '\n's to ok() calls. * dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c: There is no need for a private heap in comctl32, memory allocations should go to the standard process heap (reported by Ge van Geldorp). * controls/edit.c, dlls/user/message.c, windows/defwnd.c, windows/winproc.c: Yoshiro Takeno In Windows, the leading byte for multibyte characters are set to upper byte. If single byte character is used, the upper byte is set to 0. * windows/mdi.c: Dmitry Timoshkov In the WM_MDISETMENU handler use an existing frame menu if the passed value is 0. Visio expects that separator in the Window menu has ID 0. Cope with a destroyed menu handle in WM_MDIREFRESHMENU handler. * dlls/glut32/glut.c: Jacek Caban Added glutCreateMenuWithExit, glutCreateWindowWithExit and glutInitWithExit functions. * dlls/uxtheme/msstyles.c: Vitaliy Margolen Prevent segfault if no theme is set. * dlls/user/wsprintf.c: Uwe Bonnes Small fix for the WPR_SIGNED case (count the sign). * dlls/rpcrt4/rpc_binding.c: Gregory M. Turner Wine also supports the ncacn_np protocol sequence. * dlls/shell32/Makefile.in, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h: Martin Fuchs - don't link directly to NTDLL; use MultiByteToWideChar() instead of RtlCreateUnicodeStringFromAsciiz() - directly call InitCommonControlsEx() * dlls/shell32/shellpath.c: Martin Fuchs - define additional shell paths for CSIDL_... constants - remove some superfluous commas 2004-01-23 Alexandre Julliard * dlls/comctl32/rebar.c, dlls/ole32/compobj.c, dlls/ole32/filemoniker.c, dlls/ole32/ifs.h, dlls/ole32/itemmoniker.c, dlls/ole32/ole2.spec, dlls/ole32/ole2_16.c, dlls/ole32/storage32.c, dlls/oleaut32/ole2disp.h, dlls/olecli/olecli16.c, dlls/olecli/olecli_main.c, dlls/olesvr/olesvr_main.c, include/commctrl.h, include/objbase.h, include/wtypes.h, include/wtypes.idl, windows/spy.c: Moved a few remaining 16-bit definitions out of the standard headers. * dlls/shlwapi/path.c, dlls/shlwapi/string.c, dlls/shlwapi/url.c, include/shlwapi.h: Ge van Geldorp Fix various function prototypes to conform to PSDK. * dlls/wininet/tests/http.c: Francois Gouget Add trailing '\n's to ok() calls. Fix a couple of spelling errors. * dlls/dmusic/dmusic.c, dlls/dplayx/dplay.c, dlls/dplayx/dplobby.c, dlls/ole32/compobj.c, dlls/ole32/ole2stubs.c, dlls/ole32/storage32.c, dlls/shell32/shellole.c, include/objbase.h, include/ole2.h: Ge van Geldorp Fix various function prototypes to conform to PSDK. * dlls/kernel/tests/drive.c, dlls/kernel/tests/environ.c, dlls/user/tests/class.c, dlls/user/tests/listbox.c, dlls/user/tests/resource.c, dlls/user/tests/sysparams.c, dlls/user/tests/win.c, dlls/user/tests/wsprintf.c: Francois Gouget Add trailing '\n's to ok() calls. * dlls/wininet/tests/http.c, documentation/bugs.sgml: Sylvain Petreolle winehq.com -> winehq.org * dlls/comctl32/comctl_Cn.rc, dlls/comctl32/comctl_De.rc, dlls/comctl32/comctl_En.rc, dlls/comctl32/comctl_Es.rc, dlls/comctl32/comctl_Fr.rc, dlls/comctl32/comctl_It.rc, dlls/comctl32/comctl_Ja.rc, dlls/comctl32/comctl_Ko.rc, dlls/comctl32/comctl_Nl.rc, dlls/comctl32/comctl_Pl.rc, dlls/comctl32/comctl_Pt.rc, dlls/comctl32/comctl_Ru.rc, dlls/comctl32/comctl_Si.rc, dlls/comctl32/comctl_Th.rc: Huw Davies The tab control should be multiline. * dlls/comctl32/toolbar.c: Ge van Geldorp Discard mouse button up events if no button is currently pressed. * dlls/shell32/shfldr_desktop.c: Martin Fuchs - ISF_Desktop_fnGetUIObjectOf(): allow context menu on the desktop without any selected item; preserve return error codes. - ISF_Desktop_fnGetDisplayNameOf(): don't initialize whole character array with zero. * dlls/shell32/shfldr_fs.c: Martin Fuchs - IShellFolder_fnParseDisplayName(): return E_INVALIDARG instead of E_OUTOFMEMORY. - IShellFolder_fnGetUIObjectOf(): preserve return error codes. - IShellFolder_fnGetDisplayNameOf(): don't initialize whole character array with zero. * dlls/shell32/shlfolder.c: Martin Fuchs Improved error handling. SHELL32_GetItemAttributes(): support for SFGAO_LINK attribute. * configure, configure.ac, dlls/Makefile.in, dlls/msvidc32/.cvsignore, dlls/msvidc32/Makefile.in, dlls/msvidc32/msvidc32.spec, dlls/msvidc32/msvideo1.c: Mike McCormack Merged ffmpeg's MS Video 1 decoder by Mike Melanson. * dlls/uxtheme/draw.c, dlls/uxtheme/metric.c, dlls/uxtheme/msstyles.c, dlls/uxtheme/msstyles.h, dlls/uxtheme/property.c, dlls/uxtheme/stylemap.c, dlls/uxtheme/system.c, dlls/uxtheme/uxini.c: Kevin Koltzau Load properties from the theme ini. Implemented most of the GetTheme* functions. * dlls/shell32/shfldr_mycomp.c: Martin Fuchs ISF_MyComputer_fnGetDisplayNameOf(): return CLSID paths of virtual folders rooted under "My Computer" folder, better error handling. * dlls/shell32/shfldr_desktop.c: Martin Fuchs Return 'My Compuer' PIDL when calling Desktop->ParseDisplayName() with empty path string. * dlls/comctl32/.cvsignore, dlls/comctl32/Makefile.in, dlls/comctl32/rsrc.rc: Ge van Geldorp Generate all binary resources using bin2res. * dlls/wineps/ps.c: Blake Leverett Printing a dashed line causes all later solid lines in postscript output to be dashed. * dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, dlls/shell32/tests/generated.c, dlls/shlwapi/tests/generated.c, dlls/urlmon/tests/generated.c, dlls/user/tests/generated.c, dlls/wininet/tests/generated.c: Francois Gouget Add trailing '\n's to ok() calls. Check whether _MSC_VER is defined. * dlls/kernel/tests/atom.c, dlls/kernel/tests/codepage.c, dlls/winsock/tests/sock.c, dlls/winspool/tests/info.c: Francois Gouget Add trailing '\n's to ok() calls. * dlls/d3d8/directx.c, dlls/dmloader/loaderstream.c, dlls/kernel/cpu.c, dlls/kernel/file.c, dlls/kernel/system.c, dlls/kernel/time.c, dlls/kernel/virtual.c, dlls/ntdll/cdrom.c, dlls/ntdll/file.c, dlls/ntdll/sync.c, dlls/ntdll/time.c, dlls/ntdll/virtual.c, dlls/ole32/antimoniker.c, dlls/ole32/compobj.c, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/filemoniker.c, dlls/ole32/git.c, dlls/ole32/hglobalstream.c, dlls/ole32/itemmoniker.c, dlls/ole32/memlockbytes.c, dlls/ole32/memlockbytes16.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/stg_bigblockfile.c, dlls/ole32/stg_stream.c, dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/oleaut32/olefont.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/vartype.c, dlls/rpcrt4/ndr_ole.c, dlls/shell32/shfldr_mycomp.c, dlls/shlwapi/istream.c, dlls/urlmon/umon.c, dlls/winedos/int2f.c, dlls/winedos/vga.c, dlls/winedos/vxd.c, files/dos_fs.c, files/drive.c, files/file.c, include/objbase.h, include/winnt.h, misc/registry.c, programs/rpcss/rpcss_main.c, programs/wcmd/directory.c: Ge van Geldorp Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform with PSDK. * documentation/installing.sgml: Ivan Leo Murray-Smith Improved RPM installation instructions. * dlls/commdlg/cdlg_It.rc, dlls/wineps/wps_It.rc, programs/regedit/Es.rc, programs/regedit/Fr.rc, programs/regedit/It.rc, programs/regedit/Nl.rc, programs/regedit/Ru.rc, programs/regedit/Si.rc: Ivan Leo Murray-Smith Resource updates. 2004-01-21 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20040121. ---------------------------------------------------------------- 2004-01-21 Alexandre Julliard * dlls/shell32/shellpath.c, dlls/shell32/undocshell.h, include/shlobj.h: Rolf Kalbermatter Implement PathGetShortPathA/W and change its prototype to match the documentation on MSDN. * dlls/shell32/clipboard.c: Martin Fuchs Only return valid file system names from RenderFILENAMEA/W() by using SHELL_GetPathFromIDListA/W(). * dlls/shell32/pidl.c, dlls/shell32/pidl.h: Martin Fuchs Ge van Geldorp Reimplementation of SHGetPathFromIDListA/W() using the new helper functions SHELL_GetPathFromIDListA/W(). The new implementation avoids using IShellFolder::GetDisplayNameOf(), so that it - returns the absolute file system path, not relative to the dekstop - returns FALSE as error code if the path can not converted in a valid file system path - doesn't return virtual CLSID paths * dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/typelib.h, dlls/oleaut32/typelib2.c: Alastair Bridgewater Initial implementation of CreateTypeLib2() and the ICreateTypeLib2 and ICreateTypeInfo2 interfaces. * windows/spy.c: Huw Davies Add correct treeview structs to message spy. * dlls/comctl32/treeview.c: Huw Davies Move the selection to the previous sibling if it can't go to the next or the parent. Fix the selection change logic. * dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h: Martin Fuchs Use full paths instead of only filenames in icon cache to distinguish between different files with the same name. * dlls/shell32/pidl.c: Martin Fuchs Implemented SHGetRealIDL(). * dlls/imm32/Makefile.in, dlls/imm32/imm.c, dlls/imm32/imm32.spec, dlls/x11drv/Makefile.in, dlls/x11drv/event.c, dlls/x11drv/keyboard.c, dlls/x11drv/window.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c, dlls/x11drv/xim.c: Aric Stewart Use X11 XIM callbacks to enable full IME support. Correct some timing issues with XIM input. Start to provide the framework for the MSIME messages. * programs/rundll32/Makefile.in, programs/rundll32/rundll32.c: Don't link directly to 16-bit APIs for portability reasons (based on a patch by Steven Edwards). * windows/painting.c: Rein Klazes In RDW_UpdateRgn(), if hRgn is zero, clear the windows update region if it is an empty region. 2004-01-20 Alexandre Julliard * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/tests/vartype.c: Jon Griffiths Remove tests that are covered by vartype.c. Call by pointer for more functions not available in early versions. Add tests for VarFix/VarInt/VarNeg, VarFormat "on/off/yes/no". Fix tests that assumed relative dates. Make BSTR copy test separate. * dlls/shell32/pidl.c: Martin Fuchs - SHGetDataFromIDListA/W(): handle drives when retrieving file attributes - fixed error handling to avoid GPFs * tools/winapi/c_type.pm: Hans Leidekker Fixed misuse of scalar reference variable. * dlls/rpcrt4/rpc_binding.c, include/rpcdce.h: Mike Hearn Implemented RpcIsProtSeqValid. * dlls/opengl32/wgl.c, dlls/opengl32/wgl.h, dlls/ttydrv/bitmap.c, dlls/ttydrv/graphics.c, dlls/ttydrv/objects.c, dlls/ttydrv/user.c, dlls/ttydrv/wnd.c, dlls/wineps/download.c, dlls/wineps/pen.c, dlls/x11drv/clipboard.c, dlls/x11drv/clipping.c, dlls/x11drv/init.c, dlls/x11drv/opengl.c, dlls/x11drv/winpos.c, dlls/x11drv/wintab.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c, dlls/x11drv/x11font.h, dlls/x11drv/xvidmode.c: Removed some unnecessary inclusions of gdi.h. * dlls/gdi/mfdrv/text.c, dlls/kernel/locale.c, include/wine/unicode.h, libs/unicode/Makefile.in, libs/unicode/c_042.c, libs/unicode/cpmap.pl, libs/unicode/cptable.c, libs/unicode/mbtowc.c, libs/unicode/wctomb.c, libs/unicode/wine_unicode.def, objects/font.c, objects/text.c: Rein Klazes Fix MultiByteToWideChar and WideCharToMultiByte when called with code page CP_SYMBOL. Remove the symbol font from the code page table, so it is not reported as a valid/supported/installed code page. Remove workarounds for the badly behaved MultiByteToWideChar and co. in a few places. * dlls/msvideo/Makefile.in, dlls/uxtheme/uxtheme.spec, libs/wine/wine.def: Dmitry Timoshkov Fixed some problems found while compiling and linking Wine under Cygwin. * dlls/msvideo/mciwnd.c: Dmitry Timoshkov Make MCIWnd play a bit better as an MDI child. * dlls/wineps/builtin.c, dlls/wineps/ps.c, dlls/x11drv/bitblt.c, dlls/x11drv/dib.c, dlls/x11drv/graphics.c, dlls/x11drv/palette.c, dlls/x11drv/text.c, dlls/x11drv/xfont.c, dlls/x11drv/xrender.c: Get rid of some direct accesses to the DC structure from outside GDI. * dlls/msacm/imaadp32/imaadp32.c, dlls/msacm/msacmdrv.h, dlls/msacm/msadp32/msadp32.c, dlls/msacm/msg711/msg711.c, dlls/msacm/winemp3/mpegl3.c, include/Makefile.in, include/msacmdrv.h: Moved msacmdrv.h to include directory to avoid inter-dll header dependencies. * dlls/setupapi/devinst16.c, dlls/setupapi/setupx.spec: Rein Klazes Stub for DiBuildClassDrvList(). * dlls/kernel/process.c: Francois Gouget Avoid duplicate '=C:' entries in the child process environment. * dlls/iccvid/iccvid.c: Mike McCormack Implement ICM_DECOMPRESSEX, fix some bugs. * documentation/README.it: Ivan Leo Murray-Smith Updated. * tools/winapi/winapi_test: Francois Gouget Generate ok("...\n") calls. * dlls/dsound/tests/capture.c, dlls/dsound/tests/dsound.c, dlls/ddraw/tests/ddrawmodes.c: Francois Gouget Add trailing '\n's to ok() calls. * dlls/user/tests/win.c, include/win.h, windows/mdi.c, windows/win.c, windows/winproc.c: Dmitry Timoshkov Merge the MDI and common window creation code. Change the way MDI children are managed in MDIClient. Add support for MDICREATESTRUCT A<->W conversions. Add support for WM_MDIREFRESHMENU. * dlls/kernel/process.c: Francois Gouget Fix a file descriptor leak in create_process(). * programs/regedit/Es.rc, programs/regedit/Fr.rc, programs/regedit/It.rc, programs/regedit/Nl.rc, programs/regedit/Ru.rc, programs/regedit/Si.rc: Ivan Leo Murray-Smith Yet again catching up with En.rc. * programs/winecfg/En.rc, programs/winecfg/Makefile.in, programs/winecfg/audio.c, programs/winecfg/drive.c, programs/winecfg/main.c, programs/winecfg/properties.c, programs/winecfg/properties.h, programs/winecfg/resource.h, programs/winecfg/winecfg.h: Chris Morgan Add audio tab with first pass at autodetection of audio driver. Double clicking a drive entry brings up drive edit window. * dlls/winmm/wineoss/audio.c: Robert Reif Added notify and property set to dsound output driver. Cleaned up existing notify and property set for capture. * dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/playsound.c, dlls/winmm/winemm.h: Robert Reif Fixed thread handle leaks. * dlls/kernel/path.c, dlls/ntdll/path.c, files/dos_fs.c: Eric Pouech - RtlGetFullPathName_U: rewritten so that the source & destination buffer can be the same - GetFullPathName[AW]: now call RtlGetFullPathName_U - GetShortPathNameW: fixed regression introduced in last patch * dlls/shell32/shell32_main.h, dlls/shell32/shelllink.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c: Martin Fuchs - fix typos in shelllink.c header comment and a struct comment - corrected SCF_UNICODE constant and use the value of SCF_UNC instead - implemented IShellLink_ConstructFromFile() to read shell links from files - call IShellLink_ConstructFromFile() in ISF_..._fnGetUIObjectOf() when being queried for IShellLink interface * programs/regedit/.cvsignore, programs/regedit/Makefile.in, programs/regedit/resource.h, programs/regedit/resource.rc, programs/regedit/treeview.c: Thomas Weidenmueller Regedit GUI enhancements with new Windows-like icons. * dlls/shell32/shfldr.h: Martin Fuchs - fix typo - return string length from SHELL32_GUIDToStringA() * dlls/winedos/module.c: Michael Stefaniuc Fixed DOS EXE loader for the case where we realy have only 4 bytes on the last page of the exe. * programs/regedit/It.rc: Ivan Leo Murray-Smith Yet another update. * documentation/printing.sgml: Ivan Leo Murray-Smith Remove obsolete information about win3.1 drivers. * loader/main.c: Disable the exec shield workaround for now, it's causing too much trouble. * include/pshpack8.h: Removed useless warning. * configure, configure.ac, dlls/Makefile.in, dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_main.c, dlls/dmband/dmband_private.h, dlls/dmband/regsvr.c, dlls/dmband/version.rc, dlls/dmcompos/chordmap.c, dlls/dmcompos/chordmaptrack.c, dlls/dmcompos/composer.c, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/dmcompos_private.h, dlls/dmcompos/regsvr.c, dlls/dmcompos/signposttrack.c, dlls/dmcompos/version.rc, dlls/dmime/Makefile.in, dlls/dmime/audiopath.c, dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmime/graph.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/regsvr.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/segtriggertrack.c, dlls/dmime/seqtrack.c, dlls/dmime/song.c, dlls/dmime/sysextrack.c, dlls/dmime/tempotrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/tool.c, dlls/dmime/version.rc, dlls/dmime/wavetrack.c, winedefault.reg, dlls/dmloader/container.c, dlls/dmloader/dmloader_main.c, dlls/dmloader/dmloader_private.h, dlls/dmloader/loader.c, dlls/dmloader/loaderstream.c, dlls/dmloader/regsvr.c, dlls/dmloader/version.rc, dlls/dmscript/dmscript_main.c, dlls/dmscript/dmscript_private.h, dlls/dmscript/regsvr.c, dlls/dmscript/script.c, dlls/dmscript/scripttrack.c, dlls/dmscript/version.rc, dlls/dmstyle/Makefile.in, dlls/dmstyle/auditiontrack.c, dlls/dmstyle/chordtrack.c, dlls/dmstyle/commandtrack.c, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/melodyformulationtrack.c, dlls/dmstyle/motiftrack.c, dlls/dmstyle/mutetrack.c, dlls/dmstyle/regsvr.c, dlls/dmstyle/style.c, dlls/dmstyle/styletrack.c, dlls/dmstyle/version.rc, dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/dmsynth_private.h, dlls/dmsynth/regsvr.c, dlls/dmsynth/synth.c, dlls/dmsynth/synthsink.c, dlls/dmsynth/version.rc, dlls/dmusic/buffer.c, dlls/dmusic/clock.c, dlls/dmusic/collection.c, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/download.c, dlls/dmusic/downloadedinstrument.c, dlls/dmusic/helper.c, dlls/dmusic/instrument.c, dlls/dmusic/port.c, dlls/dmusic/portdownload.c, dlls/dmusic/regsvr.c, dlls/dmusic/thru.c, dlls/dmusic/version.rc, dlls/dmusic32/dmusic32_main.c, dlls/dmusic32/version.rc, dlls/dswave/.cvsignore, dlls/dswave/Makefile.in, dlls/dswave/dswave.c, dlls/dswave/dswave.spec, dlls/dswave/dswave_main.c, dlls/dswave/dswave_private.h, dlls/dswave/regsvr.c, dlls/dswave/version.rc, include/Makefile.in, include/dls1.h, include/dls2.h, include/dmdls.h, include/dmerror.h, include/dmplugin.h, include/dmusbuff.h, include/dmusicc.h, include/dmusicf.h, include/dmusici.h, include/dmusics.h, libs/uuid/dxguid.c: Rok Mandeljc - updated resources to DX9 - completely rewritten headers (DX9 compat.; look much nicer now ;=) - removed IDirectMusicSong and IDirectMusicMelodyFormulationTrack (which are removed from DX9; weren't implemented in DX8 anyway) - combined/simplified IDirectMusicSomething / IDirectMusicObject / IPersistStream for objects that support loading - implemented IDirectMusicObject on all such objects; via generic functions - combined IDirectMusicTrack(8)/IPersistStream on all tracks - fully implemented IDirectMusicContainer (at least 90% if there are no private interfaces) - implemented IDirectMusicCollection (99% work & MS compliant behaviour; except for instruments) - tried to implement IDirectMusicInstrument (unfortunately uses some dirty private interfaces... :( - added dswave.dll; DirectMusic Wave - some changes in style - many, many more ;) 2004-01-19 Alexandre Julliard * dlls/shell32/shfldr.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c: Martin Fuchs - move IShellFolder_fnGetDisplayNameOf() contents into a new function SHELL_FS_ProcessDisplayFilename() to call it also in ISF_Desktop_fnGetDisplayNameOf() and do the same file system processing for the desktop level - handle hidden file extensions in SHELL_FS_ProcessDisplayFilename(), that are configured by "NeverShowExt" in the registry * dlls/ole32/ifs.c: Ge van Geldorp Swap arguments of LocalAlloc and only update Malloc32 block on successful allocation. * documentation/bugs.sgml: Ivan Leo Murray-Smith Added a link to the Microsoft download page of the Visual Basic runtime environment. * dlls/ntdll/server.c: Fixed an error message. * dlls/uxtheme/msstyles.c, dlls/uxtheme/msstyles.h, dlls/uxtheme/stylemap.c, dlls/uxtheme/system.c, dlls/uxtheme/uxini.c, dlls/uxtheme/uxtheme.spec: Kevin Koltzau Full implementation of OpenThemeData, CloseThemeData, and IsThemePartDefined Export undocumented functions by ordinal only (to match Microsoft's uxtheme). * dlls/gdi/freetype.c: Huw Davies Fix compilation if Freetype isn't installed. * dlls/commdlg/filedlg.c: Huw Davies Directly use the hook proc for the custom template dialog rather than calling it through another dlgproc. Deliver the old style file_ok message with SendMessage, this allows the dialog to be subclassed (as ATL/WTL does). Only deliver this message if the app didn't reject the WM_NOTIFY message. * dlls/oleaut32/tests/vartype.c: Hans Leidekker Add missing comma. * dlls/comctl32/tests/dpa.c: Francois Gouget DPA_Create is missing from all recent import libraries so use GetProcAddress to load it. Add '\n' to 'ok' calls. * dlls/shlwapi/path.c, dlls/shlwapi/shlwapi.spec, include/shlwapi.h: Rolf Kalbermatter Implemented PathFileExistsAndAttributesA/W function. * dlls/ole32/stg_bigblockfile.c: Mike McCormack Don't use CreateFileMapping on a zero length file. * dlls/comctl32/tests/tab.c: Francois Gouget Add trailing '\n's to ok() calls. 2004-01-18 Alexandre Julliard * dlls/gdi/freetype.c, dlls/gdi/gdi_private.h, dlls/wineps/builtin.c, dlls/x11drv/x11drv.h, dlls/x11drv/xfont.c, include/gdi.h, objects/font.c: Use the exported FONTENUMPROCW as parameter in the EnumDeviceFonts driver function instead of defining a private function type. * tools/bin2res.c: Windows rename() needs an unlink() first (reported by Steven Edwards). * tools/wrc/Makefile.in, tools/wrc/translation.c, tools/wrc/wrc.c: Vincent Béron Added a new flag to wrc, to be used to assess translations advancement. * dlls/oledlg/oledlg_Pt.rc, dlls/oledlg/rsrc.rc, programs/regedit/En.rc, programs/regedit/Pt.rc, programs/winecfg/Pt.rc: Marcelo Duarte Update of Portuguese resources. * dlls/shell32/iconcache.c, dlls/shell32/shlview.c: Martin Fuchs ShellView_CreateList(), SIC_Initialize(): enable transparent icons on the desktop. * dlls/shell32/memorystream.c: Martin Fuchs IStream_fnWrite: only return write count if the given pointer parameter is not NULL. * dlls/ttydrv/dc.c, dlls/wineps/init.c, dlls/x11drv/bitblt.c, dlls/x11drv/bitmap.c, dlls/x11drv/brush.c, dlls/x11drv/dib.c, dlls/x11drv/graphics.c, dlls/x11drv/init.c, dlls/x11drv/palette.c, dlls/x11drv/x11drv.h, dlls/x11drv/xrender.c, graphics/bitblt.c, include/gdi.h, objects/bitmap.c, objects/dc.c: Removed the bitsPerPixel field in the generic DC structure, and leave it up to the graphics driver to define it if necessary. * configure, configure.ac: Marcus Meissner Do not cache results of checks with side effects. * documentation/getting.sgml: Ivan Leo Murray-Smith Uniformize the cvs download instructions with the ones on WineHQ. * dlls/kernel/locale.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, dlls/ntdll/rtlstr.c: Eric Pouech Added support for Unix code page in NTDLL. * dlls/user/tests/input.c: Francois Gouget Add trailing '\n's to ok() calls. * dlls/x11drv/xfont.c: Marcelo Duarte Fixed typos. * tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/winapi_global.pm: Hans Leidekker Get rid of the static module list. * dlls/shell32/debughlp.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h: Martin Fuchs - declare PT_RAS_FOLDER for the "RAS Connections" folder - handle PT_RAS_FOLDER and PT_NETPROVIDER in debugging functions and _ILGetTextPointer() / _ILGetSTextPointer() * dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec: Stefan Leichter Added stub for SHRegisterValidateTemplate. * dlls/shell32/memorystream.c: Martin Fuchs CreateStreamOnFile(): use flag FILE_SHARE_READ for opening OLE stream files to enable file sharing. 2004-01-16 Alexandre Julliard * dlls/mshtml/Makefile.in, dlls/mshtml/document.c, dlls/mshtml/main.c: Mike McCormack Try using the Mozilla Active X control in MSHTML. * dlls/shell32/classes.c, dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c: Fixed HCR_GetExecuteCommandW() behavior with a class name (based on a patch by Martin Fuchs). Removed a couple of no longer used functions. * dlls/shell32/shell32.spec, dlls/shell32/shellpath.c, dlls/shell32/undocshell.h: Martin Fuchs Corrected definition of PathYetAnotherMakeUniqueName(). * dlls/msacm/format.c: Robert Reif Fix improper WAVEFORMATEX size calculation for non PCM formats. * programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/listview.c, programs/regedit/main.h: Dimitrie O. Paun Fix value renaming. Cleanup code, fix a few leaks. * dlls/kernel/debugger.c, dlls/kernel/editline.c, dlls/ole32/compobj.c, dlls/shell32/shlfolder.c, dlls/wintab32/wintab32.c: Francois Gouget Assorted spelling fixes. * dlls/uxtheme/Makefile.in, dlls/uxtheme/main.c, dlls/uxtheme/msstyles.c, dlls/uxtheme/msstyles.h, dlls/uxtheme/property.c, dlls/uxtheme/stylemap.c, dlls/uxtheme/system.c, dlls/uxtheme/uxini.c, dlls/uxtheme/uxthemedll.h: Kevin Koltzau Add INI file processing. Full implementation of GetThemeDocumentationProperty. Define string maps for parsing INI files into useable form. Implemented (undocumented) ApplyTheme to select current theme. * dlls/kernel/file.c: Francois Gouget Return HFILE_ERROR instead of -1 in _lread. * dlls/ole32/hglobalstream.c: Huw Davies Trace the high part of the Seek offset. * include/winbase.h: Mike McCormack Added SystemTimeToTzSpecificLocalTime definition. * include/urlmon.h, include/urlmon.idl: Francois Gouget Add a couple of missing definitions to urlmon.h. * programs/regedit/childwnd.c, programs/regedit/listview.c, programs/regedit/main.c: Thomas Weidenmueller Fixed handling of control focus. * programs/regedit/En.rc: Thomas Weidenmueller Enable the help menu for regedit. * dlls/ntdll/virtual.c: Check for overlapping memory views and delete the offending view if necessary, to ensure we never have two views covering the same address. * dlls/kernel/tests/file.c, files/file.c: Mike Hearn - Ensure we correctly add a backslash like Windows 98/XP do. - Generate filenames that look like Windows does (no left digit padding). * dlls/shell32/shellpath.c: Filip Navara - Moved actual code from SHGetSpecialFolderPathA to SHGetFolderPathW, adjusted and unicodified it. - Rewrote SHGetFolderPathA to call SHGetFolderPathW. - Rewrote SHGetSpecialFolderPath[AW] to call SHGetFolderPath[AW]. * dlls/shell32/shell32_Cs.rc, dlls/shell32/shresdef.h: Filip Navara Complete Czech translation of shell32 resources. * dlls/advapi32/advapi32.spec, dlls/advapi32/registry.c: Robert Shearman Partially implement RegOpenUserClassesRoot. * documentation/getting.sgml: Ivan Leo Murray-Smith We now have official packages. * programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/main.h: Dimitrie O. Paun Streamline the editing interfaces a bit. Open the registry with only the required permissions for the operation. Fix a few leaks. * dlls/kernel/comm.c: Vincent Béron Move the implementation of GetDefaultCommConfig from A to W. Get rid of a W->A cross call at the same time. * dlls/kernel/comm.c: Vincent Béron Unicodify some comm functions. Get rid of some W->A cross calls along the way. * programs/regedit/En.rc, programs/regedit/listview.c, programs/regedit/main.c, programs/regedit/main.h, programs/regedit/resource.h: Thomas Weidenmueller Added context menu support. * dlls/wininet/tests/http.c: Mike Hearn Change URL used in http tests to be a #define so it can be changed easily in future, and make it point to winehq. * dlls/user/tests/input.c: Francois Gouget The MSVC headers won't give a name to the nameless union of INPUT despite our request (NONAMELESSUNION). So define our own type and use it instead. Remove useless NONAMELESSSTRUCT. Fix signed/unsigned warning. * dlls/user/tests/class.c, dlls/user/tests/win.c: Francois Gouget We need to set _WIN32_WINNT to 0x501 to get CS_DROPSHADOW and ICON_SMALL2. * dlls/shlwapi/tests/clsid.c: Francois Gouget MSVC does not want 'extern' variables to be initialized inside functions. * dlls/comctl32/imagelist.c: Vincent Béron Get rid of a W->A cross call in ImageList_LoadImageW. * dlls/gdi/bidi.c: Vincent Béron Fix compilation with ICU after introduction of gdi_private.h. * dlls/twain/dsm_ctrl.c: Vincent Béron Initialize a pointer before dereferencing it. * tools/winapi_check/modules.dat: Vincent Béron Yet another new spec file, this time iccvid.spec. * dlls/ntdll/signal_i386.c: Robert Lunnon Save UESP instead of ESP where UESP defined. * programs/regedit/framewnd.c: Thomas Weidenmueller Implemented View|Split. * programs/regedit/Makefile.in, programs/regedit/about.c: Thomas Weidenmueller Simplify the About dialog code. * programs/regedit/treeview.c: Thomas Weidenmueller Expand the treeview on startup. 2004-01-15 Alexandre Julliard * dlls/gdi/freetype.c, dlls/wineps/download.c, dlls/wineps/graphics.c, dlls/wineps/pen.c, dlls/wineps/psdrv.h, dlls/wineps/text.c, dlls/x11drv/graphics.c, dlls/x11drv/pen.c, dlls/x11drv/text.c, dlls/x11drv/x11drv.h, dlls/x11drv/xfont.c, dlls/x11drv/xrender.c, include/gdi.h: Get rid of the global INTERNAL_[XY]WSTODS macros. * dlls/shell32/shell.c, dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c: Marcelo Duarte - Get rid of W->A calls for shlexec. - Implementation of FindExecutableW. * tools/winebuild/spec32.c: Tweaked the init code so that it works properly no matter what linker options are used. * configure, configure.ac, dlls/Makefile.in, dlls/iccvid/.cvsignore, dlls/iccvid/Makefile.in, dlls/iccvid/iccvid.c, dlls/iccvid/iccvid.spec: Tim Ferguson Mike McCormack Port Tim Ferguson's ICCVID codec to Wine. * dlls/kernel/tests/path.c, files/dos_fs.c: Mike McCormack Preserve trailing backslashes in GetFullPathName. * programs/winetest/.cvsignore, programs/winetest/Makefile.in, programs/winetest/gui.c, programs/winetest/gui.rc, programs/winetest/guires.h, programs/winetest/main.c, programs/winetest/send.c, programs/winetest/util.c, programs/winetest/winetest.h: Ferenc Wagner Added graphical feedback. * tools/winedump/main.c, tools/winedump/pe.c, tools/winedump/winedump.h: Eric Pouech Be more strict about checks (especially in RVA translations). * dlls/gdi/driver.c, dlls/gdi/enhmfdrv/init.c, dlls/gdi/enhmfdrv/objects.c, dlls/gdi/freetype.c, dlls/gdi/gdi16.c, dlls/gdi/gdi_main.c, dlls/gdi/gdi_private.h, dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/mapping.c, dlls/gdi/mfdrv/objects.c, dlls/gdi/printdrv.c, dlls/gdi/wing.c, dlls/x11drv/bitblt.c, dlls/x11drv/bitmap.c, dlls/x11drv/graphics.c, dlls/x11drv/init.c, dlls/x11drv/text.c, dlls/x11drv/xrender.c, graphics/bitblt.c, graphics/escape.c, graphics/mapping.c, graphics/painting.c, graphics/path.c, include/gdi.h, include/wine/wingdi16.h, 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/dce.c, windows/nonclient.c, windows/painting.c: Moved a bunch of definitions from gdi.h into a new gdi_private.h to make sure we don't use them outside of gdi32. * dlls/iphlpapi/iphlpapi_main.c, dlls/kernel/device.c, dlls/netapi32/nbt.c: Define INADDR_NONE if needed (reported by Robert Lunnon). * programs/winetest/Makefile.in: Avoid non-portable strip -s (reported by Robert Lunnon). * dlls/kernel/Makefile.in, dlls/kernel/path.c, dlls/kernel/tests/path.c, dlls/ntdll/path.c, files/dos_fs.c: Eric Pouech Reimplemented Get{Short|Long}PathName and updated the regression tests. 2004-01-14 Alexandre Julliard * dlls/winmm/wineaudioio/audio.c: Robert Lunnon Fixed type mismatch in widDsCreate. * dlls/iphlpapi/ifenum.c: Robert Lunnon Corrected code to acquire mtu under Solaris. * dlls/ntdll/signal_i386.c: Fixed __siginfo type for Solaris (based on a patch by Robert Lunnon). * dlls/netapi32/nbt.c: Robert Lunnon FD_SET is not a type changed to struct fd_set. Reordered headers to avoid including sys/select.h before winbase.h. * tools/bin2res.c: Robert Lunnon Included limits.h to resolve missing macro definition. * LICENSE, include/wine/wine_common_ver.rc: Ivan Leo Murray-Smith Updated copyright information. * dlls/gdi/gdi32.spec, dlls/x11drv/clipping.c, dlls/x11drv/init.c, dlls/x11drv/scroll.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h: Moved SetDrawable, StartGraphicsExposures and EndGraphicsExposures functionality to x11drv escapes so that we don't have to access the DC structure directly. * dlls/kernel/file.c, dlls/kernel/file16.c, dlls/kernel/kernel32.spec, dlls/winedos/int21.c, files/file.c: Eric Pouech - got rid of FILE_Dup2 export from kernel32 - move all dos handle related code into dlls/kernel32 2004-01-13 Alexandre Julliard * dlls/gdi/gdi32.spec, dlls/x11drv/bitmap.c, dlls/x11drv/brush.c, dlls/x11drv/dib.c, dlls/x11drv/x11drv.h, include/bitmap.h, objects/dib.c, windows/cursoricon.c: Moved some code around to avoid exporting DIB functions from gdi32. * programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/listview.c, programs/regedit/main.h: Dimitrie O. Paun Add value rename support to regedit. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Jon Griffiths Implemented VarInt, VarFix, VarNeg. * dlls/oleaut32/vartype.c: Jon Griffiths Use integer math in VarCyInt, docs. * dlls/msvcrt/main.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec: Rein Klazes Two "unknown" parameters of _unDName() turn out to be the output string and it length. If possible, use these instead of allocating a new one. Put the code in _unDNameEx() and call that from _unDName(). * dlls/avifil32/rsrc.rc: Tom Wickline Fixed version info. * programs/winebrowser/main.c: Tom Wickline Add dillo as a browser to search for. * dlls/msvcrt/Makefile.in, dlls/msvcrt/dir.c, dlls/msvcrt/errno.c, dlls/msvcrt/exit.c, dlls/msvcrt/file.c, dlls/msvcrt/lconv.c, dlls/msvcrt/locale.c, dlls/msvcrt/math.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec: Implemented the remaining 64-bit file functions, and added a few other functions and exported variables. Removed the almost empty lconv.c file. * dlls/msvcrtd/debug.c, dlls/msvcrtd/msvcrtd.spec: Implemented a few more crt* functions. Replaced most remaining stubs by forwards to msvcrt. * dlls/x11drv/dib.c: Avoid direct access to the palette structure. * dlls/gdi/Makefile.in, dlls/gdi/gdi32.spec, dlls/gdi/icm.c, include/wingdi.h: Marcus Meissner Added stub for EnumICMProfilesA/W. * dlls/winsock/tests/sock.c: Jeremy White Francois Gouget Test the behavior of bind() wrt. SO_REUSEADDR. * dlls/winsock/socket.c: Jeremy Shaw Remove forced WS_SO_REUSEADDR on all binds. * dlls/comctl32/animate.c: Francois Gouget Fix a race that caused the Microsoft Viewers 'file extraction' animation to sometimes have a pink background. * programs/regedit/regedit.c: Francois Gouget Do a SearchPath before opening the file to improve compatibility with the native regedit. * programs/regedit/tests/orig.reg, programs/regedit/tests/regedit.pl: Francois Gouget Remove references to regapi. * tools/winapi_check/modules.dat: Vincent Béron Add yet another spec file for a new dll. * dlls/ntdll/tests/env.c: Vincent Béron Remove a "\" from a multiline string constant by splitting it in two. * objects/metafile.c: Vincent Béron Removed a W->A cross-call (CopyMetaFileW->CopyMetaFileA). * dlls/msvcrt40/msvcrt40.spec: Added all the missing functions. * dlls/msvcrt/msvcrt.spec: _set_error_mode is cdecl not stdcall. * dlls/msvcrtd/msvcrtd.spec: André Johansen Forward _set_error_mode to msvcrt. * dlls/wineps/init.c, include/gdi.h, objects/dc.c: Vincent Béron Get rid of a W->A crosscall (ResetDCA->ResetDCW). * dlls/winmm/winealsa/midi.c: Christian Costa Added Midi IN support. 2004-01-12 Alexandre Julliard * dlls/commdlg/filedlg.c: Rein Klazes Handle the cases when initdir is either invalid, or specifies a file. * configure, configure.ac, dlls/Makefile.in, dlls/msvcrt40/.cvsignore, dlls/msvcrt40/Makefile.in, dlls/msvcrt40/msvcrt40.c, dlls/msvcrt40/msvcrt40.spec: Mike McCormack Stub enough of MSVCRT40 to make IE4 install work. * dlls/user/user_main.c, dlls/x11drv/scroll.c, dlls/x11drv/x11drv.spec, include/user.h, windows/scroll.c: ScrollDC doesn't need to be in the graphics driver. * objects/dc.c: Mike Hearn Change GetTransform stub to use the standard FIXME rather than ERR. * dlls/wineps/wineps.spec: Vincent Béron CreateDC is Unicode now, change the spec file accordingly. * tools/winapi_check/modules.dat: Vincent Béron Add spec files for new dlls. * dlls/richedit/reader.c: Bill Medland Correct handling of font table when the font name is not the last thing in the entry (i.e. is followed by the font altname in a group). * dlls/oleaut32/safearray.c: Marcus Meissner SafeArrayRedim: Use the correct size for resize too. * dlls/kernel/kernel32.spec, dlls/kernel/toolhelp.c, include/tlhelp32.h: Eric Pouech Implemented Toolhelp32ReadProcessMemory. * dlls/winmm/mmsystem.c, dlls/winmm/time.c, dlls/winmm/winemm.h: Eric Pouech - implemented TIME_KILL_SYCHRONOUS timer flags - timeKillTimer is now thread safe - replaced some iData attributes by global variables * dlls/dsound/dsound_private.h, dlls/dsound/mixer.c: Robert Reif Reduce the use of the dsound global variable by passing address to functions. 2004-01-09 Alexandre Julliard * dlls/kernel/heap.c, dlls/kernel/local16.c, dlls/oleaut32/tmarshal.c, dlls/rpcrt4/cproxy.c, dlls/winedos/module.c, dlls/winedos/xms.c, include/cursoricon.h, include/miscemu.h, include/module.h, include/wine/winbase16.h, include/wine/winuser16.h, include/winnt.h, include/winuser.h: Get rid of no longer needed WINE_PACKED define. * dlls/dsound/buffer.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/primary.c, include/dsound.h: Robert Reif Added some missing defines and a struct. Fixed some const * arguments. * dlls/ntdll/file.c: Marcus Meissner Allow offset of NULL to NtWriteFile. * dlls/winmm/winearts/audio.c: Marcus Meissner Fixed HeapRealloc typo. * tools/winegcc/winewrap.c: Dimitrie O. Paun Remove the wrapper generation from winewrap, it is no longer necessary (fixed by Alexandre's constructor patch). * dlls/commdlg/printdlg.c, dlls/commdlg/printdlg.h, dlls/commdlg/printdlg16.c: Some more Win16/Win32 separation (based on a patch by Steven Edwards). * dlls/winedos/int10.c: Michael Stefaniuc - add VESA mode 0x6a (same as 0x102) - add a macro to check if a mode is a VESA mode - output the unsupported VGA mode in hex (all VGA/VESA docs use hex for that) * dlls/winmm/winejack/audio.c, dlls/winmm/winejack/winejack.drv.spec, dlls/winmm/winearts/audio.c, dlls/winmm/winearts/winearts.drv.spec: Jeremy Shaw Added wave-in support and fixed a few bugs in the wave-out code. * dlls/x11drv/x11drv_main.c: Removed XInitThreads call, the X libraries still have too many bugs to make this viable. * dlls/oleaut32/safearray.c, dlls/oleaut32/tests/vartype.c, dlls/oleaut32/variant.c: Marcus Meissner Copy BSTRs byte wise. Added a testcase for byte wise copy of VT_BSTR variant with VariantCopy(). * include/Makefile.in, include/dbt.h: Ulrich Czekalla Added header dbt.h. * dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/resource.c, dlls/user/tests/resource.rc: Ferenc Wagner Pin down LoadStringA behaviour on different buffer lengths. * dlls/shell32/shv_bg_cmenu.c: Dmitry Timoshkov Fix an IE crash and make the "Create Folder" functionality in Favorites work. * dlls/rpcrt4/rpc_server.c: Ove Kaaven Avoid freeing request packet too early if an exception occurs. * dlls/rpcrt4/rpc_binding.c: Ove Kaaven Properly handle destroying the first connection in the connection cache. * dlls/kernel/tests/file.c: Mike McCormack Regression test for files with zero length. * server/mapping.c: Mike McCormack Mapping a zero size file should fail. * tools/winegcc/winewrap.c: Dimitrie O. Paun Do not fail if we can't load some libs in the wrapper. No need to link the wrapper with all libs, we know what we need. * tools/winegcc/winewrap.c: If supported, add -init and -fini flags to the linker invocation. * configure, configure.ac, dlls/wintab32/Makefile.in, dlls/wintab32/context.c, dlls/wintab32/wintab32.c, dlls/wintab32/wintab_internal.h, dlls/x11drv/Makefile.in, dlls/x11drv/event.c, dlls/x11drv/wintab.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv.spec, include/config.h.in, include/wintab.h: Aric Stewart Enable Tablet support with both Tilt and Pressure. 2004-01-08 Alexandre Julliard * dlls/d3d8/d3dcore_gl.h, dlls/twain/twain.h, include/wine/mmsystem16.h: There's no need for DUMMYUNIONNAME in private headers. * include/commdlg.h: Kevin Koltzau Define OPENFILENAME_SIZE_VERSION_400. * configure, configure.ac, include/config.h.in, include/wine/port.h, libs/port/Makefile.in, libs/port/readlink.c: Added configure check for readlink. * configure, configure.ac, dlls/kernel/process.c, dlls/ntdll/loader.c, include/config.h.in, tools/winebuild/spec32.c: If supported by the linker, prevent the ELF loader from calling the dll constructors at load time and call them from the dll entry point instead. * dlls/kernel/thunk.c: Mike Hearn Always print a message for generic stubs. * dlls/x11drv/clipboard.c, documentation/samples/config: Ulrich Czekalla Add option to use the primary selection in addition to the clipboard selection. * dlls/cabinet/cabextract.c, dlls/cabinet/cabinet.h, dlls/cabinet/cabinet_main.c: Stefan Leichter Added the linked list with the name of files of the CAB archive. * dlls/winmm/mcianim/mcianim.c, dlls/winmm/mcicda/mcicda.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mciwave/mciwave.c: Eric Pouech - Applied to all MCI drivers Dmitry's fix for MCI_STATUS_TIME_FORMAT (wasn't returning string resource ID). - Fixed mciseq when opened without a filename. * dlls/iphlpapi/tests/iphlpapi.c: Hans Leidekker Remove some unused headers. * programs/regedit/It.rc: Ivan Leo Murray-Smith Brought up to date to Dimi's latest patch. * include/Makefile.in, include/icm.h: Mike McCormack Add icm.h for colour management. * include/shlobj.h: Kevin Koltzau Define structs FILEDESCRIPTOR and FILEGROUPDESCRIPTOR used with the clipboard format CF_FILEGROUPDESCRIPTOR. 2004-01-07 Alexandre Julliard * dlls/kernel/kernel_private.h, dlls/kernel/process.c, dlls/kernel/pthread.c, dlls/ntdll/debugtools.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/thread.c, dlls/ntdll/virtual.c: Don't use constructors for ntdll and kernel32 initialization. * tools/widl/Makefile.in, tools/widl/header.c, tools/widl/header.h, tools/widl/parser.l, tools/widl/parser.y, tools/widl/proxy.c, tools/widl/proxy.h, tools/widl/typelib.c, tools/widl/typelib.h, tools/widl/widl.c, tools/widl/widl.h, tools/widl/widltypes.h: Ove Kaaven Added rules to parse library, coclass, dispinterface, and module definitions, and a number of attributes, and cleaned up a few things. Started on a typelib generation framework. * configure, configure.ac, dlls/iphlpapi/Makefile.in, dlls/iphlpapi/iphlpapi_main.c, dlls/iphlpapi/tests/.cvsignore, dlls/iphlpapi/tests/Makefile.in, dlls/iphlpapi/tests/iphlpapi.c: Juan Lang Fixed the dwBCastAddr member of MIB_IPADDRROW, added a test program. * dlls/comctl32/treeview.c, dlls/msi/suminfo.c, dlls/shell32/brsfolder.c: Removed incorrect uses of DUMMYUNIONNAME. * configure, configure.ac: Wim Lewis Fixed shell quoting of the inline-asm tests so that they work properly with the pdksh that ships with OpenBSD. * programs/winecfg/En.rc, programs/winecfg/Es.rc, programs/winecfg/Makefile.in, programs/winecfg/Pt.rc, programs/winecfg/Ru.rc, programs/winecfg/Si.rc, programs/winecfg/libraries.c, programs/winecfg/main.c, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h: Robert van Herk Added a tabsheet that allows the user to change the dll overrides, both globally and per app. 2004-01-06 Alexandre Julliard * dlls/comctl32/tab.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg32.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/drawprim.c, dlls/d3d8/stateblock.c, dlls/d3d8/surface.c, dlls/d3d8/utils.c, dlls/d3d8/volume.c, dlls/dinput/joystick/linuxinput.c, dlls/dinput/mouse/main.c, dlls/icmp/ip.h, dlls/kernel/tests/locale.c, dlls/msvcrt/file.c, dlls/msvcrt/main.c, dlls/ole32/clipboard.c, dlls/ole32/compositemoniker.c, dlls/ole32/errorinfo.c, dlls/ole32/filemoniker.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/tests/vartest.c, dlls/oleaut32/tests/vartype.c, dlls/oleaut32/varformat.c, dlls/oleaut32/variant.c, dlls/oleaut32/vartype.c, dlls/shell32/pidl.h, dlls/shell32/shlexec.c, dlls/shell32/shlmenu.c, dlls/shlwapi/path.c, dlls/user/resource.c, dlls/uxtheme/system.c, dlls/uxtheme/uxthemedll.h, dlls/winedos/int10.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winemm.h, dlls/winspool/info.c, dlls/x11drv/xfont.c, documentation/getting.sgml, files/file.c, include/shlwapi.h, programs/wcmd/wcmdmain.c, tools/c2man.pl, tools/winedump/README, tools/wineinstall: Francois Gouget Assorted spelling fixes. * include/shlguid.h, include/shobjidl.h, include/shobjidl.idl: Martin Fuchs Define IShellExecuteHook interface. * configure, configure.ac: Hans Leidekker Use gcc's -pipe option to reduce compile time. * dlls/msvcrt/scanf.h, dlls/msvcrt/tests/scanf.c: Peter Berg Larsen %[a-z] and %[z-a] are interpreted as equivalent to %[abcde...z]. Added some scanf tests. * windows/dialog.c: Converted DlgDirList to Unicode. * configure, configure.ac, programs/Makefile.in, programs/make_progs, winedefault.reg, programs/winebrowser/.cvsignore, programs/winebrowser/Makefile.in, programs/winebrowser/main.c, tools/wineinstall: Chris Morgan Added winebrowser app that launches a Unix browser. * dlls/avifil32/api.c, dlls/shell32/shell32.spec, dlls/shell32/shellole.c, dlls/shell32/undocshell.h, include/shlobj.h: SHCoCreateInstance is now documented (spotted by Francois Gouget). Its first argument should be a Unicode string. * windows/queue.c: Robert Shearman Add missing \n on error message. * dlls/advapi32/crypt.c: Mike McCormack Added missing LF in trace. * dlls/shell32/Makefile.in: Hans Leidekker Make sure sed uses the right locale. * dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/private_mciavi.h, dlls/winmm/mciavi/wnd.c: Dmitry Timoshkov Register window class on mciavi driver loading, and unregister it on driver unloading. * dlls/winmm/mciavi/info.c: Dmitry Timoshkov Return correct resource id for time format strings. * programs/winemenubuilder/winemenubuilder.c: Francois Gouget Improve error reporting. * programs/regedit/En.rc, programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/main.h, programs/regedit/resource.h: Dimitrie O. Paun Add new value support. Misc improvements and cleanups. * dlls/msvcrt/scanf.h: Peter Berg Larsen Added _BITMAPSIZE_ and split _CONVERT_ macro to remove #ifdefs. * programs/regedit/It.rc: Ivan Leo Murray-Smith Updated Italian resources. * objects/enhmetafile.c: Marcus Meissner xNum should be yNum in one place. * dlls/d3d8/drawprim.c: Jason Edmeades Fix the draw*primitiveUP calls so they work directly after a draw which uses vertex shaders. * dlls/opengl32/make_opengl, dlls/opengl32/opengl32.spec, dlls/opengl32/wgl.c: Lionel Ulmer Implement wglUseFontBitmapsW. 2004-01-05 Alexandre Julliard * dlls/gdi/freetype.c, dlls/gdi/printdrv.c, dlls/kernel/kernel32.spec, dlls/winedos/dosconf.c, files/dos_fs.c, include/winbase.h, programs/winemenubuilder/winemenubuilder.c, programs/winepath/winepath.c: Eric Pouech Made wine_get_unix_file_name take a Unicode string pointer. * dlls/winmm/mciavi/mmoutput.c: Dmitry Timoshkov Accept all standard DIB compressions in the mciavi driver. * dlls/ntdll/loadorder.c, documentation/samples/config, documentation/wine.conf.man, documentation/wine.man.in: Updates for the new loadorder handling of 16-bit dlls. * documentation/configuring.sgml, documentation/getting.sgml: Ivan Leo Murray-Smith Documentation updates. * programs/regedit/En.rc, programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/main.h, programs/regedit/resource.h, programs/regedit/treeview.c: Dimitrie O. Paun Add value delete, and dword edit support. * dlls/winmm/mciavi/mmoutput.c, dlls/winmm/mciavi/private_mciavi.h: Dmitry Timoshkov Decode stream number from AVI frame data and assign the data to appropriate streams. * dlls/shell32/shlfileop.c, include/shellapi.h: Martin Fuchs Correct return type of SHFileOperationA/W. * dlls/setupapi/parser.c, dlls/setupapi/stubs.c, include/setupapi.h: Steven Edwards MSVC porting fixes. * documentation/registry.sgml: Marcus Meissner Drop paragraph describing no longer existing regclean.exe. * dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c: Marcus Meissner Handle DIJOYSTATE and DIJOYSTATE2 structs, fail on unknown sizes. 2004-01-03 Alexandre Julliard * dlls/kernel/ne_module.c: Always try to load the 32-bit owner dll instead of directly loading the .so file for 16-bit builtins. Make the load order for 16-bit dlls always match the load order of their 32-bit owner (if any). * dlls/dmime/dmime_private.h, dlls/dmusic/dmusic_private.h: Avoid referencing a private header in another dll. * dlls/advapi32/registry.c, dlls/kernel/vxd.c, dlls/ntdll/reg.c, include/wine/server_protocol.h, server/protocol.def, server/registry.c, server/request.h, server/trace.c: Mike Hearn Implemented RegFlushKey and NtFlushKey. * programs/regedit/En.rc, programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/main.h, programs/regedit/resource.h: Zimler Attila Added support for creating new keys. 2004-01-02 Alexandre Julliard * dlls/winedos/int10.c: Michael Stefaniuc Fill in the color MaskSize and FieldPosition fields in the ModeInfoBlock. * include/wine/library.h, libs/wine/loader.c, libs/wine/wine.def: Added wine_dll_get_owner function that retrieves the 32-bit dll containing a given 16-bit dll by reading the symlink, so that we don't need to dlopen it. * dlls/Makefile.in, dlls/make_dlls: Make symlinks for 16-bit files point to the 32-bit symlink so that they don't contain a path. * dlls/user/wnd16.c, windows/mdi.c: Steven Edwards Split up the Win16/32 MDI support a bit. * dlls/comctl32/rebar.c: Mike McCormack On a RB_SETBANDINFO message only redraw the rebar if something changed. * dlls/winedos/int10.c: Michael Stefaniuc Use a struct as specified in the VBE 3.0 standard for the ModeInfoBlock. Code wise this is a NOP. * dlls/netapi32/nbcmdqueue.c, dlls/netapi32/nbt.c, dlls/netapi32/netbios.h, include/nb30.h: Steven Edwards Fix compiling netapi32 on MSVC with PSDK headers. * dlls/winmm/winealsa/audio.c: Christian Costa Fix compilation issue with ALSA 0.5. * dlls/cabinet/cabinet_main.c: Mike Hearn result2 seems to be optional, making it 0 allows IE to continue. * dlls/shell32/systray.c: Steven Edwards Update the notes on how WINE uses the Systray under KDE. * tools/wrc/parser.y: Mike McCormack Avoid a crash if the dialog style is missing. * dlls/winsock/socket.c: Wim Lewis Clear struct sockaddr_ipx directly instead of just the sipx_zero field. * server/fd.c, server/file.c: Wim Lewis EOVERFLOW does not exist on OpenBSD. * dlls/winedos/int10.c: Michael Stefaniuc Set the "bytes per scan line" field when generating the mode info block. * dlls/crypt32/crypt32.spec, dlls/crypt32/main.c: Robert Shearman Added stub for CertFreeCertificateContext. * dlls/user/resources/user32_It.rc: Ivan Leo Murray-Smith Completed Italian language support. * dlls/netapi32/nbt.c: Juan Lang Fix conflicting registry value names, and try both Win9x and WinNT locations for NetBT registry values. * dlls/kernel/device.c: Juan Lang Properly L2-encode the NetBIOS scope ID in DeviceIo_VNB, so ipconfig.exe and winipcfg.exe display it. * dlls/iphlpapi/iphlpapi_main.c: Juan Lang Add tracing, add WINS configuration to GetAdaptersInfo, correct ScopeID reading in GetFixedInfo. * configure, configure.ac: Marcus Meissner When checking for gethostbyname_r_6 not try to compile but try to link. * configure, configure.ac, include/config.h.in: Updated configure with autoconf 2.58. Set the bug report address. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/tests/vartype.c: Commented out tests that assume that the current year is 2003. * dlls/user/resources/user32_Ca.rc, dlls/user/resources/user32_De.rc, dlls/user/resources/user32_En.rc, dlls/user/resources/user32_Fi.rc, dlls/user/resources/user32_Fr.rc, dlls/user/resources/user32_Nl.rc, dlls/user/resources/user32_Pt.rc, windows/nonclient.c: Chris Morgan Make the debug mark printing unconditional instead of conditional upon the SHELL debug channel. Make mark text obvious by changing the output text to 'Debug mark requested by user' and adding 'Debug mark' to the menu resource text. * programs/winefile/It.rc, programs/winefile/rsrc.rc: Ivan Leo Murray-Smith Added Italian resources. * dlls/commdlg/printdlg.c, dlls/commdlg/printdlg.h, dlls/commdlg/printdlg16.c, dlls/winspool/info.c: Robert Shearman Remove PRINTDLG_GetDefaultPrinterName; use Win32 GetDefaultPrinterA/W instead. * dlls/winmm/mciavi/mmoutput.c: Dmitry Timoshkov Remove a stray LeaveCriticalSection(). * dlls/msvideo/mciwnd.c: Dmitry Timoshkov Trackbar range should be fixed only in the case of successful mciSendStringW. It's better to initialize dwCallback parameter if MCI_NOTIFY is specified. * dlls/commdlg/cdlg_Cn.rc, dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_Fr.rc, dlls/commdlg/cdlg_Pt.rc, dlls/commdlg/cdlg_Ru.rc, dlls/commdlg/cdlg_Si.rc, dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Zh.rc, dlls/commdlg/filedlg.c, dlls/commdlg/filedlgbrowser.h: Phil Krylov Implemented OFN_OVERWRITEPROMPT and OFN_EXTENSIONDIFFERENT flags. Changed IDL_OVERWRITEFILE string resource ID to IDS_OVERWRITEFILE. Use the extended UI for the "Look In" combo. Select the text in the "File name" field after filling it. 2004-01-01 Alexandre Julliard * dlls/winmm/mci.c, dlls/winmm/mciavi/info.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/mmoutput.c, dlls/winmm/mciavi/private_mciavi.h, dlls/winmm/mciavi/wnd.c: Dmitry Timoshkov Much improved mciavi driver. Fixed synchronization, RIFF file with many streams parsing, added support for some MCI_PUT and MCI_WHERE cases. * dlls/msvideo/mciwnd.c, dlls/msvideo/msvfw32.spec, include/vfw.h: Dmitry Timoshkov Add support for many MCIWNDM_ messages and some MCI_ commands in the MCIWndClass implementation. MCIWndRegisterClass() takes no parameters according to Platform SDK headers. * dlls/winmm/driver.c: Dmitry Timoshkov Use correct pointer to an internal driver description. * dlls/winmm/winmm.c: Dmitry Timoshkov Add MCI_SYSINFO command W to A mapping. 2003-12-31 Alexandre Julliard * dlls/user/tests/win.c, dlls/x11drv/window.c, include/user.h, include/win.h, windows/defwnd.c, windows/nonclient.c, windows/win.c: Store window icons in the window structure so that WM_SETICON can do the right thing (based on a patch by Aric Stewart). * dlls/winmm/joystick.c, dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, dlls/winmm/time.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c, include/digitalv.h, include/mmsystem.h: Dmitry Timoshkov Fix many function prototypes and data types according to Platform SDK definitions. * dlls/msvideo/mciwnd.c, dlls/winmm/mci.c, dlls/winmm/mciavi/info.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/mmoutput.c, dlls/winmm/mciavi/private_mciavi.h, dlls/winmm/mciavi/wnd.c, dlls/winmm/winmm.c, include/mmsystem.h: Dmitry Timoshkov Add Unicode->ANSI MCI message mapping, implement mciSendCommandW, fix a bug with a window creation belonging to another hInstance, add support for MCI_WINDOW command in mciavi.drv, add support for MCI_PLAY and MCI_STOP in the MCIWndClass implementation. * dlls/oleaut32/safearray.c: Marcus Meissner Fixed size calculation on redim if old size was 0. * dlls/winmm/wineoss/audio.c: Gerald Pfeifer Improve error messages in OSS_WaveOutInit() and OSS_WaveInInit() and warn instead of aborting in case of problems reading mixer info. * dlls/cabinet/.cvsignore, dlls/cabinet/Makefile.in, dlls/cabinet/cabinet.rc: Stefan Leichter Added file version resource. * dlls/user/msg16.c: Rein Klazes IsdialogMessage16 must not process messages that are not intended for the dialog box. * documentation/samples/config: Mike Hearn Remove DCOM config file entries, as they have no effect. * dlls/kernel/module.c: Marcus Meissner Removed too strict header check to enable execution of handcoded PE exes. * dlls/ntdll/loader.c: Mike Hearn Print exe name when initialization fails. * DEVELOPERS-HINTS: Tom Wickline Add newdev, updated DMusic section, small fix to dpnhpast. * dlls/wininet/urlcache.c: Gerald Pfeifer Remove URLCache_FindEntry() which is not used any longer. 2003-12-30 Alexandre Julliard * configure, configure.ac, dlls/Makefile.in, dlls/newdev/.cvsignore, dlls/newdev/Makefile.in, dlls/newdev/main.c, dlls/newdev/newdev.spec: Ulrich Czekalla Add stubbed version of newdev.dll. * dlls/commdlg/.cvsignore, dlls/commdlg/Makefile.in, dlls/commdlg/cdlg.h, dlls/commdlg/cdlg_xx.rc, dlls/commdlg/fontdlg.c, dlls/commdlg/fontdlg16.c, include/wingdi.h: Rein Klazes - Add a bitmap resource with the font icons: TrueType, printer, OpenType and Type 1. Modify the code so that they will be used if or when the needed bits are passed to the FontEnumProc. - Use EnumFontFamiliesEx instead of EnumFontFamilies. - Fix the fixme in the WM_MEASUREITEM message handler. * dlls/cabinet/cabextract.c, dlls/cabinet/cabinet.h, dlls/cabinet/cabinet_main.c: Stefan Leichter Make use of/handle the first parameter of the function Extract. * dlls/user/tests/win.c, windows/mdi.c: Dmitry Timoshkov Add MDI child creation tests. * loader/kthread.c: David Beck Added RFTHREAD flag in rfork call. * dlls/devenum/createdevenum.c, dlls/devenum/devenum_main.c, dlls/devenum/mediacatenum.c, dlls/devenum/parsedisplayname.c, dlls/quartz/filtermapper.c: Robert Shearman - Fixed buffer overflow in IFilterMapper2::RegisterFilter. - Fixed buffer overflow in DEVENUM_IPropertyBag_Read. - Fixed NULL pointer de-ref in DllRegisterServer when IFilterMapper2 is not registered. - Allowed returning the moniker in IFilterMapper2::RegisterFilter. - Enumerate special categories without causing infinite loop. * dlls/dplayx/dplay.c: Sami Aario Fix some return values of dplayx API calls. * dlls/ntdll/exception.c: Fixed RtlUnwind signature (reported by Pierre d'Herbemont). * dlls/shell32/pidl.c, dlls/shell32/shfldr.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_mycomp.c: Martin Fuchs - correct return value of SHGetPathFromIDList[AW]() for virtual folders like "My Computer" - correct path parsing in ISF_Desktop_fnParseDisplayName() - handle CLSID paths in ISF_MyComputer_fnParseDisplayName() - return CLSID path in ISF_MyComputer_fnGetDisplayNameOf() * dlls/advapi32/security.c: Juan Lang Read the Policy{Account,Primary}DomainInformation from the registry, rather than hardcoding it to "DOMAIN". * dlls/shell32/shlexec.c: Ge van Geldorp Enclose application name in double quotation marks, as it may contain spaces. * dlls/wininet/urlcache.c: Michael Stefaniuc Fixed mem leak on error path. * dlls/commdlg/cdlg_Ja.rc, dlls/user/resources/user32_Ja.rc: Vik Kumar Fixed MS UI Gothic font names. * dlls/msvideo/msrle32/msrle_Nl.rc, dlls/msvideo/msrle32/rsrc.rc, dlls/oledlg/oledlg_Nl.rc, dlls/oledlg/rsrc.rc: Hans Leidekker Translate msrle32 and oledlg resources. * programs/wcmd/builtins.c: Mike McCormack Sort the output of wcmd's set command. * dlls/ntdll/nt.c: Mike McCormack Return an SID when GetTokenInformation is called with class TokenOwner. * dlls/wininet/internet.c: Sylvain Petreolle Added stubs for options CONNECT_TIMEOUT and DATA_RECEIVE_TIMEOUT. * dlls/commdlg/fontdlg.c: Marcus Meissner DWL_USER might be used otherwise, so use an internal window property for data storage. * dlls/x11drv/keyboard.c: Zimler Attila Fixed Hungarian keyboard layout. * dlls/x11drv/clipboard.c: Sami Aario Fixed a typo. * dlls/mshtml/mshtml.spec: David Miller Removed explicit ordinals. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Also remove in the D3D code the pedantic check on the GetProcAddress extension. * dlls/quartz/filtergraph.c, dlls/quartz/regsvr.c: Robert Shearman - Fix IGraphBuilder::ConnectDirect. - Register IFilterMapper and IFilterMapper2 in DllRegisterServer. * programs/progman/It.rc, programs/uninstaller/rsrc.rc, programs/view/It.rc: Ivan Leo Murray-Smith Updated Italian translations. * dlls/commdlg/filedlg16.c: Rein Klazes When a directory is entered in the 16 bits file dialog, it should not be returned the user. Instead the directory must be changed and the dialog work from there. * dlls/comctl32/trackbar.c: Duane Clark Reinitialize thumb when trackbar size is changed. * windows/win.c: Mike Hearn Prevent false matches in WIN_FindWindow. * programs/winetest/maketest: Ferenc Wagner Solaris sh portability fix. * dlls/msvcrt/tests/file.c: Ferenc Wagner Fix undeleted temporary file. Correct error messages and comments, break long lines. * configure, configure.ac: Michael Stefaniuc Search for mingw-$prog too. * dlls/oleaut32/safearray.c, dlls/oleaut32/tests/safearray.c: Marcus Meissner Dimensions with cElements=0 are valid and needed by InstallShield. SafeArrayGetElement: fixed BSTR and LPUNKNOWN handling. Added testcases for above cases. * dlls/oleaut32/typelib.c: Marcus Meissner Added more argument numbers for _invoke(). 2003-12-15 Alexandre Julliard * dlls/oleaut32/tests/safearray.c: Jon Griffiths I8/UI8 are accepted in arrays in recent native dlls. Test UDTs, array coercion and new functions. * dlls/oleaut32/variant.c: Jon Griffiths Use the SafeArray conversion functions when coercing arrays. Simplify VariantChangeTypeEx. Replace calls to dump_Variant() with TRACE's. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/safearray.c: Jon Griffiths Rewrite: Support I8/UI8,RECORD. Store array bounds in the same order as native. Add CreateEx, CreateVectorEx, VectorFromBstr, BstrFromVector. * tools/winemaker: Kirill Smelkov Added mfc/Include and mfc/src as possible places for includes and the library. * dlls/msvcrt/scanf.h, dlls/msvcrt/tests/scanf.c: Uwe Bonnes Patch and test for scanf %i. * dlls/ntdll/tests/env.c, dlls/ntdll/tests/large_int.c, dlls/ntdll/tests/path.c, dlls/ntdll/tests/rtl.c, dlls/ntdll/tests/string.c: Hans Leidekker Check if a function exists before testing it. * dlls/msvideo/Makefile.in, dlls/msvideo/mciwnd.c, dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo_main.c, include/vfw.h: Dmitry Timoshkov Implement support for many MCIWndClass MCI_ and MCIWNDM_ messages. Convert MCIWndClass implementation to unicode. * dlls/kernel/tests/file.c, files/file.c: Hans Leidekker MoveFile returns ERROR_ALREADY_EXISTS, not ERROR_FILE_EXISTS. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c, dlls/oleaut32/tests/vartest.c: Marcus Meissner Implemented VarInt, VarPow. Added R4 (float) support to VarAdd. Added DATE support to VarSub. * documentation/debugger.sgml, programs/winedbg/break.c, programs/winedbg/db_disasm.c, programs/winedbg/dbg.y, programs/winedbg/debug.l, programs/winedbg/debugger.h, programs/winedbg/display.c, programs/winedbg/expr.c, programs/winedbg/gdbproxy.c, programs/winedbg/hash.c, programs/winedbg/info.c, programs/winedbg/intvar.h, programs/winedbg/memory.c, programs/winedbg/module.c, programs/winedbg/msc.c, programs/winedbg/registers.c, programs/winedbg/source.c, programs/winedbg/stabs.c, programs/winedbg/stack.c, programs/winedbg/types.c, programs/winedbg/winedbg.c: Eric Pouech - get rid of winedbg internal channels for output - move all standard (old MESG channel) output to stdout - move all other outputs (TRACE, WARN...) to a new wine debugging channel (winedbg) - replaced quite a few #ifdef:ed out output to new channels (mainly in symbol management area...) - added a new maintenance commands to ease up debugging - updated documentation accordingly * dlls/winmm/winmm_En.rc, dlls/winmm/winmm_Es.rc, dlls/winmm/winmm_Fr.rc, dlls/winmm/winmm_It.rc, dlls/winmm/winmm_Pt.rc, dlls/winmm/winmm_Ru.rc, dlls/winmm/winmm_Sk.rc: Steven Edwards Porting fix for winmm resources (patch by Filip Navara). * dlls/kernel/tests/heap.c: Hans Leidekker [Global|Local]ReAlloc don't fail with size 0. Fixed typos. * dlls/gdi/freetype.c: Marcus Meissner Older versions of freetype do not have FT_Get_First_Char. * tools/winapi/msvcmaker: Martin Fuchs Fixed options for winebuild. * dlls/kernel/device.c: Marcus Meissner Explicitly clear vm86 flag in DIOCRegs_2_CONTEXT. * dlls/msvcrt/tests/scanf.c: Ferenc Wagner Added snprintf test. * dlls/commdlg/cdlg_xx.rc: Steven Edwards Porting fix. * dlls/shell32/iconcache.c: Martin Fuchs Added include of "wine/port.h" for MSVC. * dlls/winmm/winealsa/winealsa.drv.spec: Christian Costa Exported widMessage function. * dlls/oleaut32/typelib.c: Marcus Meissner Yet another useful hint for missing stdole32.tlb. * dlls/wininet/http.c: Uwe Bonnes HTTP_DealWithProxy: Only add http:// to proxy string when needed. * dlls/oleaut32/vartype.c: Marcus Meissner Do not clear the pointer we just allocated, just the first byte it points to. * dlls/ntdll/cdrom.c: Marcus Meissner Fixed potentially uninitialised sz. * tools/winemaker: Kirill Smelkov Added test for -fms-extensions to generated configure.ac. 2003-12-12 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20031212. ---------------------------------------------------------------- 2003-12-12 Alexandre Julliard * dlls/user/text.c: Ge van Geldorp Pass dtp parameter on from DrawTextExA to DrawTextExW. * dlls/advapi32/service.c, include/winsvc.h: Aric Stewart Better handling of some service functions. * programs/wcmd/wcmd.h: Removed useless #ifdef WINELIB. * programs/winefile/Makefile.in: Define __WINE__ to enable extensions (spotted by Martin Fuchs). * DEVELOPERS-HINTS: Dimitrie O. Paun Update the dlls/ section. Remove gdi/{,enh}mfdrv, they aren't DLLs. List the documentation/samples dir as well. * Make.rules.in: Add DEFS to the resource compiler flags. * libs/wine/ldt.c: Avoid common symbols on Darwin/Mac OS X. * dlls/kernel/resource.c: Added exception handlers in FindResourceExA/W (based on a patch by Richard Cohen). * dlls/advapi32/registry.c, dlls/ntdll/resource.c: Francois Gouget Try not to display uninitialized data in traces (found by Valgrind). * dlls/comctl32/flatsb.c: Mike Hearn Remove flat scrollbar stub fixmes. * dlls/Makefile.in, dlls/make_dlls: Steven Edwards Added implib rule for building import libs. * dlls/x11drv/window.c: Jerry Jenkins Fix managed state of some windows. * dlls/oleaut32/typelib.c: Andrew de Quincey - Implemented HELPDIR subkeys properly in RegisterTypeLib(). - Implemented UnRegisterTypeLib(). - Fixed various minor bugs. * dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec, include/urlmon.h, include/urlmon.idl: Kirill Smelkov Added CreateAsyncBindCtx and IsAsyncMoniker stubs. * include/wine/unicode.h, include/winnt.h, libs/unicode/Makefile.in: Ge van Geldorp When building a PE DLL (MinGW), variables exported from a DLL must be explicitly marked as dllimport when using them. * dlls/kernel/pthread.c: Return an error in wine_pthread_mutex_unlock if we don't own the critical section, this should avoid trouble caused by a locking bug inside Xlib. * dlls/commdlg/Makefile.in, dlls/commdlg/cdlg.h, dlls/commdlg/cdlg16.h, dlls/commdlg/colordlg.c, dlls/commdlg/colordlg.h, dlls/commdlg/colordlg16.c, dlls/commdlg/filedlg16.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/fontdlg.h, dlls/commdlg/fontdlg16.c, dlls/commdlg/generic.c, dlls/commdlg/printdlg.h, dlls/commdlg/printdlg16.c: Steven Edwards - The last of the major Win16/32 split for commdlg (for real this time). - Moved most of the 16bit stuff to cdlg16.h. - A few small cleanups. * dlls/user/lstr.c: Make Char{Lower,Upper}A call Char{Lower,Upper}BuffA. Small optimization to avoid a memory allocation. Fixed sign extension in Char{Lower,Upper}A (reported by Andreas Rosenberg). * dlls/oleaut32/tests/vartype.c: Avoid long long constants (reported by Gerald Pfeifer). Added a few missing parentheses in macros. * dlls/wininet/internet.c, dlls/wininet/urlcache.c, dlls/wininet/wininet.spec: Robert Shearman - Url Cache improvements. - In Internet{Set,Query}Option functions, hInternet can be NULL. - Add traces to Internet* functions. * dlls/kernel/locale.c: Vik Kumar Added eucJP charset. * dlls/commdlg/cdlg_Ja.rc, dlls/user/resources/user32_Ja.rc, objects/gdiobj.c: Vik Kumar Font changes from MS P Gothic to MS UI Gothic. * dlls/comctl32/comctl_Ja.rc, dlls/comctl32/rsrc.rc: Vik Kumar Added Japanese translation. * dlls/ntdll/error.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtlstr.c, dlls/ntdll/tests/rtlstr.c, include/winternl.h: Jon Griffiths Added RtlNtStatusToDosErrorNoTeb, RtlGet/Set/RestoreLastWin32Error, RtlGUIDFromString, RtlStringFromGUID. * dlls/winmm/winealsa/audio.c, dlls/winmm/winenas/audio.c, dlls/winmm/wineoss/audio.c: Jeremy Shaw Move the data around when the ring buffer is resized so that the empty messages are between the tosave and toget indexes. * programs/winefile/winefile.c: Martin Fuchs Fixed missing initializations of struct SHELLEXECUTEINFO. * dlls/kernel/console.c, files/file.c: Eric Pouech Moved all remaining console related code to dlls/kernel directory. * dlls/winsock/socket.c: Gerald Pfeifer Fix types in WSAHtonl. * DEVELOPERS-HINTS: Dimitrie O. Paun List the tools subdirs as we do for all the others. Update description of the misc/ dir. * programs/regedit/about.c, programs/regedit/childwnd.c, programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/listview.c, programs/regedit/main.c, programs/regedit/main.h, programs/regedit/treeview.c: Dimitrie O. Paun Remove most string size limitations. Better error handling. Less listview flicker. A bunch of style fixes and improvements. 2003-12-11 Alexandre Julliard * dlls/user/winproc.h, include/wine/server_protocol.h, server/class.c, server/protocol.def, server/trace.c, server/user.h, server/window.c, windows/class.c, windows/win.c: Store a pointer to the client-side class structure in the server and return it on create_window and destroy_class. Only create a single instance of the desktop class for the whole session. Added some missing locking in the client-side class management. * dlls/oleaut32/variant.c: Jon Griffiths Oops - VT_EMPTY->VT_RECORD is not allowed. * dlls/oleaut32/tests/.cvsignore, dlls/oleaut32/tests/Makefile.in, dlls/oleaut32/tests/vartype.c: Jon Griffiths Test almost all of the low level variant functions * dlls/commdlg/fontdlg.c, dlls/commdlg/fontdlg.h, dlls/commdlg/fontdlg16.c: Rein Klazes Do conversions between the font size specified in points (or decipoints) and height specified in logical units. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, include/winsock2.h: Kirill Smelkov Added stub and prototype for WSAJoinLeaf. * dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/tests/vartest.c, dlls/oleaut32/variant.c, dlls/oleaut32/vartype.c: Jon Griffiths Reimplement/document every low level variant function. Implement DECIMAL, I8, UI8 types and other missing conversions. VariantChangeType: Use LOCALE_USER_DEFAULT as per MSDN. VariantChangeTypeEx: Support new types, pass proper flags. VarNumFromParseNum: Support VT_DECIMAL as output. * dlls/winmm/winealsa/audio.c: Christian Costa Added WaveIn support. * dlls/commdlg/fontdlg.c: Rein Klazes Enable the display of a true type bitmap for true type fonts. * dlls/netapi32/wksta.c: Huw Davies Fix incorrect calculation of transport_addr. * dlls/advapi32/service.c: Huw Davies Don't crash if lpDependencies is NULL. * dlls/crypt32/main.c, include/wincrypt.h: Mike McCormack Implement CryptRegisterOIDFunction and CryptSIPAddProvider. * dlls/wininet/http.c: Jeremy Shaw Add a '\r\n' to lpszHeaders if it is not already terminated by '\r\n'. * dlls/kernel/comm.c: Frank Fixed size check in GetCommConfig(). * programs/view/view.c: Richard Cohen - Fix obsolete comments about windowsx, commdlg. - Increase filename length to MAX_PATH. - Set the windows extent before playing the metafile. - Don't hardcode logpixels to 96. * dlls/shell32/control.c: Richard Cohen - Check FindFirstFile against INVALID_HANDLE_VALUE not 0. - Display window & messagebox even if there are no applets. 2003-12-10 Alexandre Julliard * dlls/user/tests/class.c: Added tests for class style and instance handling. * 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, windows/dialog.c, windows/mdi.c: System classes must not have the CS_GLOBALCLASS style. * dlls/user/user_main.c, dlls/user/winproc.h, include/wine/server_protocol.h, server/Makefile.in, server/class.c, server/process.c, server/process.h, server/protocol.def, server/request.h, server/trace.c, server/user.h, server/window.c, windows/class.c, windows/win.c: Added window classes in the server, and support for inter-process GetClassWord/Long (based on a patch by Mike McCormack). Various fixes to the class instance handling. * server/file.c, server/trace.c: Print names for Win32 errors too, plus a few more status codes. * dlls/user/dialog16.c, windows/dialog.c: Andreas Rosenberg Point size in DLG_TEMPLATE may be negative. * programs/regedit/listview.c: Jon Griffiths Sort the listview when clicking the Name or Type headers. * dlls/msvideo/mciwnd.c: Dmitry Timoshkov Add support for some MCIWNDF_ styles, indicate that we do not support MCIWNDM_* messages at all. * windows/class.c: Made all the RegisterClass and GetClassInfo variants call the corresponding Ex function. * include/wine/server_protocol.h, server/protocol.def, server/trace.c, server/window.c, windows/win.c: Added support for inter-process GetWindowWord. Do better range checking on the window extra bytes. * server/file.c, server/thread.h: Added set_win32_error() for error codes that don't have an NT status equivalent. * dlls/shell32/classes.c, dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c: Marcelo Duarte - Implementation of HCR_GetExecuteCommandExW for internal use. - New inline function __SHCloneStrAtoW. * dlls/oleaut32/typelib.c: Andrew de Quincey Upwards traversal of inheritance tree didn't occur for dispatch interfaces. * dlls/oleaut32/tests/vartest.c: Jon Griffiths Fix a couple of tests for w2k (Russian). * dlls/comctl32/listview.c: Jon Griffiths Don't call GetWindowLong for every comparison while sorting. * dlls/gdi/freetype.c: Huw Davies If a font has a version 0 OS2 table then Windows uses ANSI_CHARSET if the first charcode < 0x100, else it uses SYMBOL_CHARSET. Based on a patch by Rein Klazes. * include/winternl.h: Jon Griffiths Add a few soon-to-be-implemented functions. 2003-12-09 Alexandre Julliard * dlls/oleaut32/tests/vartest.c: Jon Griffiths Fix the tests to pass when locale settings are user-overriden. Fix those tests which pass now. Test copying, formatting, VarAbs, VarNot. * dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/parsedt.c, dlls/oleaut32/parsedt.h, dlls/oleaut32/resource.h, dlls/oleaut32/variant.c: Jon Griffiths Implement conversions between dates and strings. Remove the final cruft associated with the old date code BPB's: Roll milliseconds correctly; LOCALE_NOUSEROVERRIDE for num parsing. Implement VarAbs and VarNot. 2003-12-08 Alexandre Julliard * dlls/user/user32.spec, include/winuser.h, windows/nonclient.c: Kevin Koltzau Implemented GetTitleBarInfo. * programs/regedit/childwnd.c, programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/listview.c, programs/regedit/main.c, programs/regedit/main.h, programs/regedit/regedit.c, programs/regedit/regproc.c, programs/regedit/regproc.h, programs/regedit/treeview.c: Dimitrie O. Paun Reformat regedit in a consistent manner. * dlls/ole32/ifs.c, dlls/ole32/ole2.c, dlls/ole32/ole2stubs.c, dlls/ole32/ole32_main.c: Robert Shearman - Fix IMemAlloc_Free when IMemAlloc_Alloc hasn't yet been called and debugging is on. - Fix OleMetafilePictFromIconAndLabel (fixes attachments in Outlook2k). - Implement OleTranslateAccelerator. - Move OleCreate and a load of PropVariant functions out of stubs file. - Change OleCreate to a semi-stub. * dlls/uxtheme/Makefile.in, dlls/uxtheme/msstyles.c, dlls/uxtheme/msstyles.h, dlls/uxtheme/system.c: Kevin Koltzau Load, validate and retrieve a few properties from an msstyles theme. * programs/clock/Da.rc, programs/clock/De.rc, programs/clock/En.rc, programs/clock/Es.rc, programs/clock/Fi.rc, programs/clock/Fr.rc, programs/clock/Hu.rc, programs/clock/It.rc, programs/clock/Makefile.in, programs/clock/Nl.rc, programs/clock/Pt.rc, programs/clock/README, programs/clock/Ru.rc, programs/clock/Si.rc, programs/clock/Sk.rc, programs/clock/Sw.rc, programs/clock/TODO, programs/clock/Th.rc, programs/clock/Wa.rc, programs/clock/Zh.rc, programs/clock/clock_res.h, programs/clock/language.c, programs/clock/language.h, programs/clock/main.c, programs/clock/main.h, programs/clock/winclock.c, programs/clock/winclock.h: Richard Cohen - Implement 'Choose font', 'No title', 'Always on Top'. - Paint to offscreen bitmap to eliminate flicker. - Put 'Always on top' on the main menu not the system menu. - Date format should be DATE_LONGDATE. - L button drag to move. - Cosmetic adjustments. * dlls/kernel/tests/file.c: Hans Leidekker Include tests for MoveFile[W|A]. * dlls/kernel/tests/locale.c: Hans Leidekker Deal with kernels that don't have IsValidLanguageGroup. Deal with non-implemented FoldString[A|W]. * dlls/kernel/tests/directory.c: Hans Leidekker Check for ERROR_CALL_NOT_IMPLEMENTED error from RemoveDirectoryW. * winedefault.reg: Dmitry Timoshkov Correct "MCI Extensions" registry section, add MCI32 section. * include/winuser.h: Added CS_DROPSHADOW. * dlls/kernel/atom.c, dlls/kernel/console.c, dlls/kernel/dosmem.c, dlls/kernel/file.c, dlls/kernel/global16.c, dlls/kernel/kernel_main.c, dlls/kernel/kernel_private.h, dlls/kernel/local16.c, dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/snoop16.c, dlls/kernel/sync.c, dlls/kernel/task.c, dlls/kernel/vxd.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, dlls/ntdll/virtual.c, dlls/user/user_main.c, dlls/x11drv/dib.c, include/global.h, objects/metafile.c: Dimitrie O. Paun Move content of global.h into the appropriate private headers. * dlls/winmm/mmsystem.c, dlls/winmm/time.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Eric Pouech Move (again) usage of 16 bit specific functions (thunk lock) to 16 bit code only. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Limit usage of vertex arrays to correct states. * dlls/gdi/freetype.c: Huw Davies If usWinAscent + usWinDescent == 0 then use the Ascender and Descender values instead. * dlls/commdlg/fontdlg.c: Dmitry Timoshkov Fix a font object leak in the font dialog's WM_PAINT handler. * winedefault.reg: Dmitry Timoshkov Correct a couple of incorrect registry root key names. * dlls/crypt32/crypt32.spec, dlls/crypt32/main.c, include/wincrypt.h: Mike McCormack Stub implementations for CertCreateCRLContext and CertCloseStore. * DEVELOPERS-HINTS: Dimitrie O. Paun Streamline dlls/ and programs/ in terms of indentation. Updated the programs/ (added and deleted a bunch of entries). Added the include/{msvcrt,wine} to the list of include dirs. * programs/winemine/rsrc.rc: Pavel Roskin Make inactive LED segments dimmer to make numbers easier to read. * dlls/msacm/winemp3/common.c, dlls/msacm/winemp3/interface.c: Ove Kaaven Remove an instance of exit(). We should return failure, not kill the thread, when a bad stream is encountered. * dlls/winmm/winealsa/midi.c: Christian Costa First enumerate all internal devices and then external midi ports. * dlls/advapi32/tests/Makefile.in: Hans Leidekker Remove ntdll from imports. * dlls/netapi32/wksta.c, include/lmcons.h, include/lmwksta.h: Juan Lang Partially implement NetWkstaGetInfo. * include/Makefile.in, programs/winemenubuilder/wine.xpm, programs/winemenubuilder/winemenubuilder.c: Dimitrie O. Paun Move include/bitmaps/*.xpm where they belong. * dlls/cabinet/cabinet.spec: Stefan Leichter Fixed parameter types of function Extract. * dlls/wineps/Makefile.in, dlls/wineps/bitmap.c, dlls/wineps/encode.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h: Huw Davies Run length and ascii85 encode image data. 2003-12-05 Alexandre Julliard * dlls/x11drv/clipboard.c, dlls/x11drv/event.c, include/clipboard.h, windows/clipboard.c: Get rid of clipboard.h. * dlls/opengl32/wgl.c: Removed now useless call to glXQueryExtensionsString. * windows/painting.c: In RDW_ValidateParent, get rid of the parent update region if it is empty after the validation, to avoid a useless WM_PAINT. * programs/regedit/regedit.c, programs/regedit/regproc.c: Francois Gouget Print error messages to stderr as is customary. * configure, configure.ac, dlls/x11drv/Makefile.in, dlls/x11drv/bitblt.c, dlls/x11drv/bitmap.c, dlls/x11drv/brush.c, dlls/x11drv/clipping.c, dlls/x11drv/codepage.c, dlls/x11drv/dib.c, dlls/x11drv/graphics.c, dlls/x11drv/init.c, dlls/x11drv/opengl.c, dlls/x11drv/palette.c, dlls/x11drv/pen.c, dlls/x11drv/text.c, dlls/x11drv/xfont.c, tools/winapi_check/modules.dat: Moved all the files in graphics/x11drv to dlls/x11drv. * dlls/ntdll/server.c, documentation/wine.man.in, libs/wine/debug.c, libs/wine/loader.c: Added a WINEDEBUG environment variable that allows turning on debug output as early as possible during startup. * dlls/x11drv/x11drv_main.c, documentation/samples/config: Removed X11 display parameter from the config file, this is more confusing than useful. * programs/regedit/childwnd.c, programs/regedit/framewnd.c: Filip Navara Fixed some flags in calls to CreateWindowEx. Fixed color of the splitter. 2003-12-04 Alexandre Julliard * dlls/x11drv/x11drv_main.c: Initialize Xlib threading support to see what it breaks... * dlls/x11drv/window.c, dlls/x11drv/x11drv.h: Mike Hearn Map (WS_EX_TOOLWINDOW & WS_CAPTION) to _NET_WM_WINDOW_TYPE_UTILITY. * dlls/commdlg/fontdlg.c: Rein Klazes Correct the test for the ODS_SELECTED bit in the WM_DRAWITEM message handler. * dlls/kernel/tests/heap.c: Dimitrie O. Paun More tests for {Local,Global}{,Re}Alloc() calls. Cleanup of the Heap*() tests. * dlls/winmm/winealsa/audio.c: Define ALSA_PCM_OLD_* symbols for compatibility with Alsa 1.0. * dlls/kernel/device.c: Juan Lang Partially implement DeviceIoControl for VDHCP, VNETBIOS, and VNB. Gets rid of FIXMEs for ipconfig.exe and winipcfg.exe. * dlls/uxtheme/.cvsignore, dlls/uxtheme/Makefile.in, dlls/uxtheme/draw.c, dlls/uxtheme/main.c, dlls/uxtheme/metric.c, dlls/uxtheme/property.c, dlls/uxtheme/system.c, dlls/uxtheme/uxtheme.spec, dlls/uxtheme/uxthemedll.h, dlls/uxtheme/version.rc: Kevin Koltzau Added stubs for all functions. * dlls/wineps/ps.c, dlls/wineps/psdrv.h: Huw Davies Let PSDRV_WriteSpool cope with strings longer than 0xffff bytes. * dlls/netapi32/access.c, dlls/netapi32/browsr.c, dlls/netapi32/netapi32.spec, dlls/netapi32/wksta.c: Mike McCormack Stub implementations for some functions. * include/commctrl.h: Dimitrie O. Paun Add missing ListView_GetViewRect() macro. * dlls/ntdll/ntdll.spec, dlls/ntdll/reg.c: Jon Griffiths Implement the Rtlp* registry functions. * dlls/msvcrt/cppexcept.c, dlls/msvcrt/except.c, dlls/msvcrt/msvcrt.spec, dlls/msvcrtd/msvcrtd.spec, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c: Implement some more register functions using DEFINE_REGS_ENTRYPOINT to make them available for imports. * dlls/ntdll/exception.c, include/wine/port.h, include/winnt.h: Moved the DEFINE_REGS_ENTRYPOINT macros to include/wine/port.h. Removed the C fallback code, do that in the callers instead. * dlls/ntdll/rtlstr.c: We no longer need a special case for codepages on startup, initialization is done in the correct order now. * dlls/x11drv/clipboard.c, dlls/x11drv/xdnd.c: Portability fixes. * dlls/comctl32/comctl_Th.rc, dlls/comctl32/rsrc.rc: Jon Griffiths Added Thai translation. * dlls/wsock32/wscontrol.h: Juan Lang Removed unused structure declaration. * configure, configure.ac, programs/Makefile.in, programs/winetest/.cvsignore, programs/winetest/Makefile.in, programs/winetest/main.c, programs/winetest/maketest, programs/winetest/send.c, programs/winetest/util.c, programs/winetest/winetest.h: Jakob Eriksson Dimitrie O. Paun Ferenc Wagner New Wine test shell utility. * dlls/commdlg/fontdlg.c, dlls/commdlg/fontdlg16.c: Rein Klazes Use the lfHeight field to initialize the font dialog's point size. Do not forget to return some values in the choosefont structure in the 16 bit version of the ChooseFont function. * dlls/netapi32/apibuf.c, dlls/netapi32/tests/apibuf.c: Dimitrie O. Paun Fix NetApiBufferReallocate and add a few tests for the border cases (thanks to Juan Lang for clarifications). * winedefault.reg: Rein Klazes Add Fonts key for NT versions of Windows. * dlls/kernel/cpu.c: Marcus Meissner On i686, report processor level 6. 2003-12-03 Alexandre Julliard * dlls/kernel/locale.c: Converted locale setup to Unicode so that we don't use code pages before they are initialized. Improved error reporting a bit. * programs/regedit/Makefile.in, programs/regedit/main.c, programs/regedit/main.h: Use delayed imports instead of explicit GetProcAddress calls. * dlls/commdlg/cdlg_Ca.rc, dlls/commdlg/cdlg_Cn.rc, dlls/commdlg/cdlg_Da.rc, dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_En.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_Nl.rc, dlls/commdlg/cdlg_Pl.rc, dlls/commdlg/cdlg_Pt.rc, dlls/commdlg/cdlg_Ru.rc, dlls/commdlg/cdlg_Si.rc, dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Wa.rc, dlls/commdlg/cdlg_Zh.rc, dlls/commdlg/fontdlg.c, dlls/commdlg/fontdlg.h, dlls/commdlg/fontdlg16.c: Rein Klazes Implement combobox to select the font's character set. Bug fixes: handle WM_MEASUREITEM message; handle the WM_PAINT message in the 16bit font dialog, so it displays the sample string too. * programs/rundll32/Makefile.in, programs/rundll32/rundll32.c: Added support for loading 16-bit dlls. * dlls/ntdll/loader.c: Removed no longer used extra space allocated in the modref structure. * dlls/kernel/locale.c: Revert change for handling user overrides as numbers and reimplement it differently. * configure, configure.ac: Jacek Caban Added -lXmu and -lXi for glut library. * programs/regedit/En.rc, programs/regedit/Makefile.in, programs/regedit/childwnd.c, programs/regedit/edit.c, programs/regedit/framewnd.c, programs/regedit/main.c, programs/regedit/main.h, programs/regedit/resource.h, programs/regedit/treeview.c: Dimitrie O. Paun Added support for editing strings. * dlls/shell32/control.c, dlls/shell32/shell32.spec: Implemented RunDLL_CallEntry16. * programs/clock/main.c, programs/clock/winclock.c, programs/clock/winclock.h: Richard Cohen - Properly disable the second hand. - Remove unneeded #include "winnls", #define MIN. - Get the digital clock working. * include/urlmon.h, include/urlmon.idl: Kirill Smelkov IBindHost interface additions. * include/ocidl.h, include/ocidl.idl: Kirill Smelkov Added IObjectWithSite interface. * tools/winegcc/winewrap.c: Richard Cohen Search for libraries in the order - .so - .def - .a * programs/clock/Da.rc, programs/clock/De.rc, programs/clock/En.rc, programs/clock/Es.rc, programs/clock/Fi.rc, programs/clock/Fr.rc, programs/clock/Hu.rc, programs/clock/It.rc, programs/clock/Nl.rc, programs/clock/Pt.rc, programs/clock/Ru.rc, programs/clock/Si.rc, programs/clock/Sk.rc, programs/clock/Sw.rc, programs/clock/Th.rc, programs/clock/Wa.rc, programs/clock/Zh.rc, programs/clock/clock_res.h, programs/clock/language.c, programs/clock/main.c, programs/clock/main.h, programs/clock/rsrc.rc: Richard Cohen - Use resource ids IDM_*, IDS_* instead of numbers. - Move ... from toplevel "Info..." onto sub items (eg "About"). * objects/pen.c: Andrew de Quincey Check brush style before printing FIXME. * controls/scroll.c: Huw Davies Only honour SBS_SIZEBOX*ALIGN styles if SBS_SIZE{GRIP,BOX} is set. * DEVELOPERS-HINTS: Tom Wickline Updated. 2003-12-02 Alexandre Julliard * programs/avitools/Makefile.in, programs/avitools/aviinfo.c, programs/avitools/aviplay.c, programs/avitools/icinfo.c: Use normal dll imports instead of GetProcAddress hacks. * controls/listbox.c: Aric Stewart Invalidate items on set selection. * controls/scroll.c: Aric Stewart Huw Davies Some support for SBS_SIZEGRIP. * dlls/opengl32/wgl.c: Daniel Skorka Fixed a problem using glXGetProcAddresARB with bad OpenGL libs. * files/file.c: Removed no longer needed dll separation hack. * dlls/kernel/comm.c, dlls/kernel/sync.c, dlls/winedos/int13.c, dlls/winsock/socket.c, files/file.c, include/file.h: Use wine_server_release_fd() instead of close() everywhere we use wine_server_handle_to_fd(). A few minor winsock cleanups. * configure, configure.ac, dlls/Makefile.in, dlls/glut32/.cvsignore, dlls/glut32/Makefile.in, dlls/glut32/glut.c, dlls/glut32/glut32.spec, dlls/make_dlls: Jacek Caban Added glut32 dll. * programs/wineconsole/wineconsole.c: Peter Berg Larsen - the last event was not looked at when compressing console events - better compression for UPDATE_EVENTs as they are not influenced by CURSOR_POS or CURSOR_GEOM - added debug traces * dlls/oleaut32/hash.c: Jon Griffiths Add hash tables for all supported languages. Remove some useless includes. * dlls/advapi32/advapi32.spec, dlls/advapi32/service.c, include/winsvc.h: Mike McCormack Stub implementations for ChangeServiceConfigA/W. Implement CreateServiceW and call it from CreateServiceA. Partial implementation of QueryServiceConfigW. * dlls/crypt32/crypt32.spec, dlls/crypt32/main.c, include/wincrypt.h: Thomas Brix Larsen Added stub for CryptProtectData, so programs like Skype can start. * dlls/winmm/mmsystem.c, dlls/winmm/time.c, dlls/winmm/winemm.h: Eric Pouech Move usage of 16 bit specific functions (MapSL) in 16 bit code only. * dlls/comctl32/tab.c, dlls/comctl32/tests/tab.c: Vitaliy Margolen - Fix drawing of HotTracked tabs & buttons. - More tab size fixes in different styles. - Don't use new padding until style changes. - Fix left alignment of labels &| icons. - Don't draw over UpDown control. - Fully erase tabs when scrolling. - More tests. 2003-12-01 Alexandre Julliard * dlls/ntdll/file.c, dlls/ntdll/ntdll.spec, dlls/ntdll/server.c, dlls/ntdll/virtual.c, files/smb.c, files/smb.h, include/async.h, include/wine/server.h, server/fd.c: Added wine_server_release_fd function to release the fd returned by wine_server_handle_to_fd. Fixed a couple of potential fd leaks. * dlls/ntdll/relay.c: Allow RELAY_SetupDLL to be called twice on the same dll. * dlls/kernel/kernel_private.h, dlls/kernel/lcformat.c, dlls/kernel/time.c: Jon Griffiths Fail GetCalendarInfoA for Unicode-only locales. * dlls/kernel/locale.c: Jon Griffiths Allow user overridden locale data to be retrieved as numbers. * dlls/commdlg/colordlg.c, dlls/commdlg/colordlg.h, dlls/commdlg/colordlg16.c: Steven Edwards Split the Win16/32 color dialog by duplicating two internal functions. * programs/clock/Th.rc, programs/notepad/Th.rc, programs/notepad/rsrc.rc: Jon Griffiths Thai translation of notepad. Fix spelling in clock translations. * dlls/gdi/gdi32.spec, objects/enhmetafile.c: Huw Davies Implement CopyEnhMetaFileW. * dlls/commdlg/cdlg_En.rc: Jon Griffiths Spelling/Grammar fixes. * dlls/commdlg/fontdlg.c: Rein Klazes Add sample texts for all missing character sets (or explain why some don't have it). Put the complete text in one place and remove the glue code. Change the 2D array that holds the texts by a array of pointer to 1D character arrays to save space. * include/msi.h, include/msiquery.h: Mike McCormack Declare some MSI functions. * dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Eric Pouech Move usage of 16 bit specific functions (MapSL) in 16 bit code only. * dlls/winedos/timer.c: Jukka Heinonen Add upper limit for the number of pending timer interrupts. Check if timer has been stuck and issue an error to user. Fix handling of timer period zero. * dlls/oleaut32/tmarshal.c: Marcus Meissner Use correct pointer for SysFreeString. * dlls/devenum/devenum.rc, dlls/msdmo/rsrc.rc: Tom Wickline Use the same version format for all DX dlls. * include/wingdi.h: Kirill Smelkov Added SetDCPenColor prototype. * dlls/psapi/psapi.spec, dlls/psapi/psapi_main.c: Kevin Koltzau Export QueryWorkingSet. 2003-11-30 Alexandre Julliard * programs/Makefile.in, programs/make_progs: Added make_progs tool to generate the programs makefile. Create symlinks for all the Winelib apps. * dlls/iphlpapi/ifenum.c, dlls/iphlpapi/ifenum.h, dlls/iphlpapi/iphlpapi_main.c: Juan Lang - fixes thread safety issues - fixes problems with non-IP (e.g. IPX) addresses - updates comments to reflect winsock, netapi32 changes * dlls/avifil32/rsrc.rc, dlls/comctl32/rsrc.rc, dlls/commdlg/cdlg_xx.rc, dlls/devenum/devenum.rc, dlls/shell32/shell32_xx.rc, dlls/shell32/version.rc, dlls/shell32/version16.rc, include/wine/wine_common_ver.rc: Dmitry Timoshkov A general cleanup of the version resources in Wine DLLs. * dlls/winsock/socket.c: Juan Lang Removed annoying message about missing entry in /etc/services. * programs/winedbg/debug.l: Andrew de Quincey Fixed one more HeapReAlloc call. * programs/clock/language.c, programs/clock/language.h, programs/clock/main.c, programs/clock/main.h: Richard Cohen Remove some unused code. * configure, configure.ac, programs/Makefile.in, tools/make_debug: Removed some no longer used programs. * documentation/bugs.sgml: Brian Vincent Replace some obsolete resources with newer ones. * objects/dc.c: Richard Cohen Added missing GDI_ReleaseObj() to GetDCBrushColor & GetDCPenColor. * include/wine/wine_common_ver.rc, programs/regsvr32/regsvr32.rc: Stefan Leichter Changed the version resource to be created in the common way. 2003-11-29 Alexandre Julliard * dlls/ntdll/rtlbitmap.c: Fixed bitmap range checking to avoid integer overflows. * dlls/netapi32/Makefile.in, dlls/netapi32/nbcmdqueue.c, dlls/netapi32/nbcmdqueue.h, dlls/netapi32/nbnamecache.c, dlls/netapi32/nbnamecache.h, dlls/netapi32/nbt.c, dlls/netapi32/netapi32.c, dlls/netapi32/netbios.c, dlls/netapi32/netbios.h, dlls/netapi32/wksta.c, include/lmwksta.h, include/nb30.h: Juan Lang Implemented a lot of Netbios(). 2003-11-28 Alexandre Julliard * dlls/commdlg/fontdlg.c: Rein Klazes Remember (do not reset) font size and style parameters in the initial dialog and when another font is selected. * dlls/commdlg/fontdlg.c: Rein Klazes Fix a bug in the test for italic font style property. * documentation/running.sgml: Mike Hearn Update debug channel list. * dlls/ntdll/path.c: Francois Gouget Only convert '/'s to '\\'s up to the '\0' as the rest of the buffer may not be initialized (found by Valgrind). * dlls/commdlg/fontdlg.c: Rein Klazes Tidy up indentation. * dlls/oleaut32/tests/vartest.c, dlls/shlwapi/tests/clsid.c: Porting fixes. * server/clipboard.c: cbthread and cbowner don't need to be exported. * dlls/msvcrt/math.c, include/msvcrt/stdlib.h, tools/winebuild/import.c: Better support for div and ldiv in Winelib apps. * winedefault.reg: Francois Gouget Remove duplicated SerialComm key. * dlls/winsock/Makefile.in, dlls/winsock/socket.c, dlls/winsock/socket16.c, dlls/winsock/winsock.spec: Moved the 16-bit code out of socket.c and into a separate file. * dlls/wsock32/socket.c, dlls/wsock32/wscontrol.h: Juan Lang Implement the TCP table query, netstat.exe now shows TCP listening and connected sockets. * programs/regsvr32/.cvsignore, programs/regsvr32/Makefile.in, programs/regsvr32/regsvr32.rc: Stefan Leichter Added version info resource. * tools/winegcc/Makefile.in, tools/winegcc/winewrap.c: Richard Cohen - Add standard dll path last instead of first. - Add standard lib path as well. - Remove . from default library search path. - Compiling with -lwine needs to use the given -L paths. * dlls/shell32/iconcache.c: Rolf Kalbermatter Fix two memory leaks. Found by Dietrich Teickner. 2003-11-27 Alexandre Julliard * dlls/comctl32/treeview.c: Huw Davies Merge {Set,Insert}Item[AW] to {Set,Insert}ItemT. * configure, configure.ac, dlls/Makefile.in, dlls/unicows/.cvsignore, dlls/unicows/Makefile.in, dlls/unicows/main.c, dlls/unicows/unicows.spec: Added unicows dll, based on the spec file written by Shachar Shemesh. * dlls/kernel/computername.c, dlls/kernel/fiber.c, dlls/kernel/heap.c, dlls/kernel/instr.c, dlls/kernel/module.c, dlls/kernel/process.c, dlls/kernel/resource16.c, dlls/kernel/string.c, dlls/kernel/thread.c, dlls/ntdll/loader.c, dlls/ntdll/resource.c, dlls/rpcrt4/rpc_server.c, dlls/version/resource.c, dlls/win32s/w32sys.c, dlls/winedos/int25.c, dlls/winedos/int26.c, dlls/wininet/internet.c, dlls/winspool/info.c, dlls/x11drv/xvidmode.c, files/dos_fs.c, include/wine/server.h, libs/wine/port.c, programs/winecfg/drive.c, programs/winedbg/dbg.y, programs/winedbg/debugger.h, programs/winedbg/msc.c, programs/winedbg/winedbg.c: Porting fixes. * dlls/x11drv/winpos.c: Rein Klazes In clip_children() don't clip the visible region by children that have a WS_EX_TRANSPARENT style. * dlls/comctl32/treeview.c: Ulrich Czekalla In TREEVIEW_EnsureVisible handle case where firstVisible is NULL. 2003-11-26 Alexandre Julliard * dlls/user/caret.c, dlls/user/focus.c, dlls/user/hook.c, dlls/user/lstr.c, dlls/user/painting.c, dlls/user/property.c, dlls/winedos/dosvm.c, dlls/winedos/int21.c, windows/cursoricon.c, windows/defwnd.c, windows/input.c, windows/message.c, windows/painting.c, windows/queue.c, windows/timer.c, windows/winpos.c: Steven Edwards Porting fixes. * dlls/user/resource.c: Jeff Miller Mask off bit 0x80 in the accelerator table entry field fVirt if it's not the last entry. * dlls/comctl32/treeview.c: Huw Davies Merge GetItem[AW] into GetItemT. * include/wine/server_protocol.h, server/protocol.def, server/trace.c, server/window.c, windows/win.c: Added support for inter-process GetWindowLong on the window extra bytes. * dlls/comctl32/treeview.c: Aric Stewart Redraw if bold state changes. * dlls/comctl32/toolbar.c: Robert Shearman - Add support for TBSTYLE_EX_MIXEDBUTTONS. - Add support for TBSTYLE_EX_HIDECLIPPEDBUTTONS. - Replace 'magic numbers' with #define'd constants. - Fix TBN_INITCUSTOMIZE. - Add support for TBN_CUSTHELP and TBN_RESET. - Fix TB_SETEXTENDEDSTYLE (it appears it should or the new style, rather than set). - Fix TB_SETSTYLE (this is meant to be for setting the control style, not the button style). * dlls/avifil32/avifile.c, dlls/avifil32/wavfile.c: Michael Günnewig Fixed multiple bugs in FindSample implementation of AVI and WAV file handler. * dlls/comctl32/treeview.c: Ulrich Czekalla Always recompute an item's text width in the case of text callbacks and when its attributes change. * dlls/ttydrv/ttydrv.spec, dlls/x11drv/x11drv.spec: Dmitry Timoshkov Fix .spec file parameters for CreateDC driver API. * dlls/ntdll/relay.c: Dmitry Timoshkov Fix another RtlReAllocateHeap call. * include/winuser.h: Fixed WINELIB_NAME_AW typo (thanks to Robert Shearman). Removed extra BroadcastSystemMessage prototype. * include/commctrl.h: Dimitrie O. Paun Added a few missing TabCtrl_* macros. * controls/menu.c, dlls/user/controls.h, windows/defwnd.c, windows/nonclient.c: Dmitry Timoshkov Make Alt+[national key] menu shortcuts work. * include/commctrl.h, include/winuser.h, windows/input.c: Kevin Koltzau Implement the TME_NONCLIENT flag in TrackMouseEvent to handle nonclient hover/ leave events. * tools/bug_report.pl: Ivan Leo Murray-Smith Changed Adam Sacarny's email, and -debugmsg to --debugmsg. * dlls/ole32/ifs.c, dlls/shell32/shell32_main.c: Dimitrie O. Paun {Global,Local}ReAlloc() does not allocate memory. * dlls/kernel/ne_module.c: NE_LoadBuiltinModule: return error 21 if the module we loaded was a 32-bit builtin. This should help WinExec16 to do the right thing. * include/oledlg.h, include/ras.h, include/vfw.h, include/winbase.h, include/wincrypt.h, include/wingdi.h, include/winnetwk.h, include/winnls.h: Added missing prototypes for some implemented functions. * programs/winedbg/debug.l: Fixed one more HeapReAlloc call. * controls/menu.c, dlls/user/msg16.c, dlls/user/user32.spec, include/oleidl.h, include/oleidl.idl, include/winuser.h, programs/regedit/main.c, programs/regedit/main.h, windows/message.c, windows/win.c: Fixed declarations of BroadcastSystemMessage and TranslateAccelerator in winuser.h. Added GetWindowModuleFileName. * dlls/shell32/shell32_main.h, include/shellapi.h, include/shlobj.h: Moved the ShellExecuteEx definitions to shellapi.h where they belong. * ANNOUNCE, BUGS, README, documentation/PACKAGING, documentation/README.fr, documentation/README.it, documentation/README.pt, documentation/README.pt_br, documentation/bugs.sgml, documentation/configuring.sgml, documentation/cvs-regression.sgml, documentation/documentation.sgml, documentation/faq.sgml, documentation/fonts.sgml, documentation/getting.sgml, documentation/introduction.sgml, documentation/testing.sgml, documentation/wine.man.in, documentation/winelib-bindlls.sgml, documentation/winelib-intro.sgml, documentation/winelib-porting.sgml, programs/winecfg/En.rc, programs/winecfg/Es.rc, programs/winecfg/Pt.rc, programs/winecfg/Ru.rc, programs/winecfg/Si.rc, tools/bug_report.pl, tools/genpatch, tools/winebuild/winebuild.man.in, tools/winedump/winedump.h, tools/wineinstall, tools/wmc/wmc.man, tools/wrc/wrc.man: Dimitrie O. Paun Make the winehq.org domain the official one. * programs/winemine/En.rc, programs/winemine/Fr.rc, programs/winemine/It.rc, programs/winemine/dialog.c, programs/winemine/dialog.h, programs/winemine/main.c, programs/winemine/main.h, programs/winemine/resource.h, programs/winemine/rsrc.rc: Joshua Thielen Fixed incorrect labeling of question boxes. Removed incorrect email address in copyright. * dlls/winmm/winmm.c: Christian Costa Fix handling of the lpuDeviceID input param in MIDI_StreamOpen. * dlls/commdlg/fontdlg.c: Rein Klazes Fix "sample" box drawing by adding some needed coordinate and size transformations. * dlls/gdi/mfdrv/graphics.c, dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/metafiledrv.h, dlls/gdi/mfdrv/objects.c: Mike McCormack Use the handle deletion mechanism in wmfs. * dlls/comctl32/treeview.c: Huw Davies Unicodification. Based on a patch by Aric Stewart. * Makefile.in: Shachar Shemesh Fix the ctags building command. * dlls/ole32/hglobalstream.c, dlls/ole32/memlockbytes.c, dlls/ole32/memlockbytes16.c: Dimitrie O. Paun Fix mem leak when GlobalReAlloc() fails. * dlls/oleaut32/oleaut.c: Dimitrie O. Paun SysReAllocStringLen is documented to segfault on NULL pointer. * dlls/ole32/ifs.c, dlls/ole32/ole16.c: Dimitrie O. Paun Fix the IMalloc::ReAlloc() to follow the documented behavior. 2003-11-25 Alexandre Julliard * dlls/ntdll/loader.c: Better support for loading exe files as libraries. Make sure kernel32 and ntdll have a full path name even though they are loaded before we know the system dir. * dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/init.c, dlls/gdi/enhmfdrv/objects.c, dlls/gdi/mfdrv/init.c, include/gdi.h, objects/gdiobj.c: Huw Davies Let enhmetafiles reuse gdi handles. This works by a dc 'registering' with an object that it wants to know when the object is deleted. Until the dc gets delete notification it's free to assume that it doesn't need to write the create record for that object again. Upon receiving the delete notification it writes the DeleteObject record. Windows seems to do it this way too. * dlls/ntdll/ntdll_misc.h, dlls/ntdll/server.c, dlls/ntdll/thread.c, include/thread.h: Store the thread entry point in the startup info passed to the new thread instead of the TEB. * configure, configure.ac, include/config.h.in, libs/Makelib.rules.in, tools/winemaker: Pierre d'Herbemont Add Darwin/Mac OS X support to the build system. * dlls/x11drv/Makefile.in, dlls/x11drv/dib_convert.c, dlls/x11drv/dib_dst_swap.c, dlls/x11drv/dib_src_swap.c, dlls/x11drv/x11drv.h: Huw Davies Add support for display of dibs on MSB XServers. * dlls/winedos/int21.c: Uwe Bonnes INT21_GetFreeDiskSpace(): The drive parameter is found in the DL register. * dlls/kernel/thread.c, dlls/ntdll/heap.c, include/thread.h, include/winbase.h: Store the last error code at the TEB offset used by NT instead of the Win9x one. * dlls/kernel/kernel32.spec, dlls/winedos/int13.c, dlls/winedos/int25.c, dlls/winedos/int26.c, files/drive.c, include/drive.h: Eric Pouech Got rid of DRIVE_OpenDevice, and replaced it with Win32 equivalents. * dlls/oleaut32/tests/vartest.c: Jon Griffiths Tests for the non-variant date conversion functions. * dlls/oleaut32/typelib.c: Jon Griffiths Improve/shrink variant dumping code. * dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/varformat.c, dlls/oleaut32/variant.c: Jon Griffiths Implemented the variant formatting functions. Bool->bstr makes a number str unless [ALPHA|LOCAL]BOOL is passed. * dlls/oleaut32/variant.h: Jon Griffiths Macros for dumping a variants type and flags. Fix the date inlines. Round negative numbers with fractional parts > 0.5 correctly. * dlls/wininet/internet.h: Vincent Béron Undefine FAR to avoid conflict with ssl.h. * tools/bug_report.pl: Ivan Leo Murray-Smith Added winver information for windows me and windows server 2003. Updated date format from YYMMDD to YYYYMMDD. Changed a few output messages so they are more intuitive/constructive/up to date. * dlls/oleacc/main.c, dlls/oleacc/oleacc.spec: Mike McCormack Stub implementation for CreateStdAccessibleObject. * dlls/comctl32/toolbar.c: Rein Klazes Use button face color for the image mask when adding a bitmap to the toolbar, not the color of the top left pixel of the image. * dlls/kernel/ne_module.c, dlls/kernel/process.c, dlls/ntdll/loader.c, dlls/ntdll/loadorder.c, dlls/ntdll/ntdll.spec, include/module.h: Removed MODULE_GetLoadOrderA. * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/heap.c, dlls/ntdll/heap.c, dlls/ntdll/tests/Makefile.in: Dimitrie O. Paun RtlHeapReAllocate() should not allocate memory. Add small test to make sure it doesn't return. Don't import ntdll for tests, we need to load it dynamically. * dlls/msdmo/Makefile.in, dlls/msdmo/dmoreg.c, include/mediaobj.h: Ulrich Czekalla Implemented DMORegister, DMOUnregister, DMOGetName, DMOEnum. * dlls/kernel/kernel_main.c, dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/resource16.c, dlls/kernel/task.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, dlls/user/user16.c, dlls/winedos/int21.c, dlls/winedos/int31.c, dlls/winedos/interrupts.c, dlls/winedos/module.c, dlls/winedos/vxd.c, files/drive.c, include/module.h, include/task.h, include/wine/winbase16.h: Removed task.h. * dlls/kernel/cpu.c, dlls/kernel/lcformat.c: Jon Griffiths Documentation updates * programs/clock/Th.rc, programs/clock/rsrc.rc: Jon Griffiths Thai language translation. * dlls/avifil32/editstream.c: Michael Günnewig Implemented IAVIEditSTream_fnPaste method. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/gl_api.h, dlls/ddraw/gl_private.h, dlls/ddraw/mesa_private.h: Lionel Ulmer Use vertex arrays when possible. * objects/gdiobj.c: Hiroshi Inoue Fix the name of Japanese default GuiFont. * include/lmaccess.h: Mike McCormack Added some structures used by NetUserModalsGet. 2003-11-22 Alexandre Julliard * configure, configure.ac, dlls/kernel/process.c, include/wine/library.h, libs/wine/port.c, loader/Makefile.in, loader/main.c: Create a huge array in bss to reserve the memory area we need for PE binaries, to prevent exec shield from mapping system libraries there. * dlls/kernel/locale.c, dlls/kernel/tests/locale.c, dlls/shlwapi/string.c, dlls/shlwapi/tests/string.c, include/wine/unicode.h, libs/unicode/sortkey.c, libs/unicode/string.c, libs/unicode/wine_unicode.def: Dmitry Timoshkov Move CompareString implementation to libwine_unicode, add a bunch of CompareString tests. 2003-11-21 Alexandre Julliard * dlls/winmm/mciavi/mmoutput.c: Eric Pouech HeapReAlloc doesn't allocate memory. * dlls/ntdll/file.c: Robert Shearman Handle EIO file error. * dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpcrt4.spec, include/rpcdce.h: Gregory M. Turner Implemented RpcObjectSetType. * dlls/x11drv/Makefile.in, dlls/x11drv/X11_calls, dlls/x11drv/desktop.c, dlls/x11drv/scroll.c, dlls/x11drv/ts_xlib.c, dlls/x11drv/ts_xlib.h, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv_main.c, dlls/x11drv/xrandr.c, dlls/x11drv/xrender.c, tools/make_X11wrappers: Removed the ts_xlib files. * dlls/x11drv/clipboard.c, dlls/x11drv/dga2.c, dlls/x11drv/event.c, dlls/x11drv/keyboard.c, dlls/x11drv/mouse.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.h, dlls/x11drv/xdnd.c, dlls/x11drv/xvidmode.c: Removed the remaining TSX calls. * programs/cmdlgtst/It.rc, programs/notepad/It.rc, programs/regedit/It.rc, programs/regedit/rsrc.rc, programs/winemine/En.rc, programs/winemine/It.rc, programs/winemine/README, programs/winemine/rsrc.rc, programs/winhelp/It.rc: Ivan Leo Murray-Smith Added/updated Italian resources. * dlls/imagehlp/Makefile.in, dlls/imagehlp/access.c, dlls/imagehlp/imagehlp.spec, dlls/imagehlp/modify.c: Marcus R. Brown Replace various routines with a forward to ntdll. * dlls/comctl32/toolbar.c: Rein Klazes Fix some confusion between number of bitmaps and number of buttons in TOOLBAR_ReplaceBitmap(). * dlls/comctl32/treeview.c: Huw Davies We need to send TVN_EXPAND* on collapsing either when the user has initiated it with the mouse/keybaord or in response to a TVM_EXPAND when the state is not TVIS_EXPANDEDONCE. This brings the logic into line with TREEVIEW_Expand. * dlls/x11drv/X11_calls, dlls/x11drv/ts_xlib.c, dlls/x11drv/ts_xlib.h, dlls/x11drv/xrender.c: Removed more TSX functions. * dlls/x11drv/event.c, dlls/x11drv/x11drv_main.c: Always ignore BadMatch errors resulting from XSetInputFocus so that we don't need to wait for the reply. * dlls/x11drv/clipboard.c, dlls/x11drv/window.c, dlls/x11drv/x11drv.h: Delay the creation of the X atoms until we really need them, to allow getting more of them in one call. Use XGetAtomNames to retrieve all the selection atoms at once. * dlls/x11drv/X11_calls, dlls/x11drv/clipboard.c, dlls/x11drv/event.c, dlls/x11drv/keyboard.c, dlls/x11drv/mouse.c, dlls/x11drv/ts_xlib.c, dlls/x11drv/ts_xlib.h, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv_main.c: Get rid of a bunch of TSX functions. 2003-11-20 Alexandre Julliard * dlls/x11drv/x11drv_main.c: There's no need to initialize XKB on the GDI display, this saves a couple of server round trips. * dlls/ntdll/path.c: Dimitrie O. Paun RtlReAllocateHeap() does not allocate memory. * programs/regedit/regproc.c: Dimitrie O. Paun HeapReAlloc() does not allocate memory. * dlls/rpcrt4/rpc_binding.c: Dimitrie O. Paun Bail when we're out of memory. * dlls/msvcrt/heap.c, dlls/msvcrt/tests/.cvsignore, dlls/msvcrt/tests/Makefile.in, dlls/msvcrt/tests/heap.c: Dimitrie O. Paun Fix realloc() to match the documented behaviour. Add a few simple tests for it. * dlls/rpcrt4/rpc_server.c: Gregory M. Turner - Trace the argument to RPCRT4_server_thread. - ^null implies two indirections, we have one. - Ove's intent doesn't matter, the current implementation is right. * dlls/x11drv/Makefile.in, dlls/x11drv/event.c, dlls/x11drv/window.c, dlls/x11drv/x11drv.h, dlls/x11drv/xdnd.c: Ulrich Czekalla Initial implementation to support XDND protocol. * dlls/commdlg/cdlg_It.rc, dlls/oledlg/oledlg_It.rc, dlls/oledlg/rsrc.rc, dlls/shell32/shell32_En.rc, dlls/shell32/shell32_It.rc, dlls/user/resources/user32_It.rc, programs/progman/It.rc: Ivan Leo Murray-Smith Added/updated Italian resources. * dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/datetime.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/ipaddress.c, dlls/comctl32/monthcal.c, dlls/comctl32/pager.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/treeview.c, dlls/comctl32/updown.c: Dimitrie O. Paun Make the controls send notifications to the parent window passed to them in CREATESTRUCT. Based on a treeview patch by Igor Grahek. * tools/Makefile.in: Gerald Pfeifer Remove wineconf.libs from EXTRASUBDIRS. * dlls/x11drv/clipboard.c, dlls/x11drv/desktop.c, dlls/x11drv/event.c, dlls/x11drv/window.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c: Intern all the atoms we'll need in one step to avoid multiple server round trips. * tools/winebuild/utils.c: open_input_file(): try to open the file in the current directory before trying the source directory. * dlls/shell32/shellpath.c: Francois Gouget If using the default values, also set dwType to REG_SZ as our default strings don't need to be expanded (found by Valgrind). * dlls/shlwapi/reg.c: Francois Gouget Don't use the data returned by RegQueryValueExW if it fails (found by Valgrind). A spelling fix. * tools/winegcc/winewrap.c: Dimitrie O. Paun Don't ignore libs specified by the user while linking. * dlls/comctl32/treeview.c: Dimitrie O. Paun Cleanup the edit wndproc a bit. * dlls/comctl32/comctl32undoc.c: Dimitrie O. Paun Remove some dead code: hwndParent is not used anywhere. * dlls/msvideo/msrle32/msrle_It.rc, dlls/msvideo/msrle32/rsrc.rc: Ivan Leo Murray-Smith Added Italian language support. * dlls/quartz/control.c: Gerald Pfeifer Avoid long long constant. * include/Makefile.in: Vincent Béron Removed stale instance.h. * configure, configure.ac: Rein Klazes Fix detection of freetype/freetype.h when the libfreetype version requires that ft2build.h is included first. * dlls/x11drv/keyboard.c: Grant Williamson Dutch keyboard support. 2003-11-18 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20031118. ---------------------------------------------------------------- 2003-11-18 Alexandre Julliard * dlls/shell32/Makefile.in: Use a more portable way to generate authors.c. * configure, configure.ac, dlls/gdi/freetype.c, dlls/wineps/truetype.c, include/config.h.in: Rein Klazes Include ft2build.h before freetype/freetype.h. Libfreetype 2.1.7 requires this. * dlls/comctl32/comctl_It.rc, dlls/comctl32/rsrc.rc, dlls/msacm/msacm.rc, dlls/msacm/msacm_It.rc, dlls/oleaut32/oleaut32_It.rc: Ivan Leo Murray-Smith Added/updated Italian resources. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/direct3d/mesa.c: Lionel Ulmer Fix some other multi-texturing problems. * 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.tcl, tools/wineconf.libs/wine-half.gif, tools/wineconf.libs/wineconf.eng, tools/wineconf.libs/wineconf.tcl, tools/wineconf.libs/wineconf1.tcl: Removed obsolete wineconf tcl implementation. * dlls/quartz/Makefile.in, dlls/quartz/avisplit.c, dlls/quartz/control.c, dlls/quartz/control_private.h, dlls/quartz/fourcc.h, dlls/quartz/main.c, dlls/quartz/pin.c, dlls/quartz/quartz_private.h, include/wine/debug.h: Robert Shearman - AVI Splitter implementation. - Add new debugging function wine_dbstr_longlong. * dlls/wininet/internet.c, include/oleauto.h, include/sddl.h: Francois Gouget Assorted spelling fixes. * winedefault.reg: Francois Gouget Tweak the top-level comment hopefully for the better. Fix the "Default Devmode" entry. s/StdComponentCategoriesMgr/Component Categories Manager/. * dlls/advapi32/crypt.c: Mike McCormack Improve error handling in CryptAcquireContext. * dlls/kernel/tests/path.c: Hans Leidekker Account for the fact that the temporary directory may expand to a long name. * AUTHORS: Updated authors list. * AUTHORS, dlls/shell32/.cvsignore, dlls/shell32/Makefile.in, dlls/shell32/authors.h, dlls/shell32/shell32_main.c, tools/make_authors: Generate the authors list for the shell about dialog from AUTHORS at compile time. Converted the about dialog to Unicode. * controls/menu.c, dlls/user/controls.h: Dmitry Timoshkov Make national (hot)keys work in menus. Make menu code use unicode APIs. * dlls/comctl32/trackbar.c: Huw Davies Unswap Page Up & Down and fix TBS_DOWNISLEFT. NM_* notifications go via WM_NOTIFY not WN_?SCROLL. Pull the notification window from the CreateStruct. Send a TB_THUMBPOSITION at the end of a drag. * tools/winemaker: Francois Gouget Fix the generation of wineapploader in sub directories. * dlls/kernel/tests/process.c: Francois Gouget Scale the buffer sizes with MAX_LISTED_ENV_VAR. Add a note about the limited buffer size used by the *Profile functions. Fix a couple of spelling errors. * dlls/comctl32/listview.c: Rein Klazes The LVN_GETDISPINFO notify message should point to the same iSubItem as in the call to LISTVIEW_GetItemT, valid or not. Fix a badly placed brace. * dlls/kernel/global16.c, dlls/kernel/instr.c, dlls/kernel/kernel_private.h, dlls/kernel/local16.c, dlls/kernel/selector.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, include/selectors.h: Removed include/selectors.h. * dlls/kernel/thread.c, dlls/ntdll/thread.c: Force minimum stack size to 1Mb for Xlib. * dlls/user/focus.c, dlls/user/tests/win.c, server/window.c: Martin Fuchs - Move shell window into the background. - Add tests for Get/SetShellWindow(). * configure, configure.ac, dlls/ddraw/Makefile.in, dlls/ddraw/tests/.cvsignore, dlls/ddraw/tests/Makefile.in, dlls/ddraw/tests/ddrawmodes.c: Sami Aario Added some conformance tests for ddraw. These enumerate some display modes and then attempt to open them. * dlls/kernel/kernel32.spec, dlls/winedos/himem.c, dlls/winedos/int31.c: Use the wine_ldt_* functions directly in winedos instead of calling SELECTOR_AllocBlock. * dlls/comctl32/listview.c: Aric Stewart We need to make sure that customdraw_fill is called even if CDRF_NOTIFYITEMDRAW is not being used because we used the text and background colors from that struct later. * objects/bitmap.c: Huw Davies A bitmap created by CreateCompatibleBitmap should not be owned by a driver until it is selected into it. The driver checks that the bitmap is of the correct depth in SelectBitmap. * objects/font.c: Phil Krylov Added support for returning caret positions in GetCharacterPlacementW(). * dlls/oleaut32/typelib.c: Dmitry Timoshkov Apply same magic to LibAttr.lcid from MSFT to SLTG. 2003-11-17 Alexandre Julliard * dlls/kernel/kernel32.spec, dlls/kernel/toolhelp.h, dlls/winedos/int31.c, include/toolhelp.h: Moved toolhelp.h to dlls/kernel. * dlls/advapi32/registry.c, dlls/commdlg/fontdlg16.c, dlls/gdi/printdrv.c, dlls/kernel/dosmem.c, dlls/kernel/profile.c, dlls/kernel/relay16.c, dlls/kernel/task.c, dlls/ntdll/loader.c, dlls/ntdll/loadorder.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/sec.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/version.c, dlls/shell32/shelllink.c, dlls/winedos/dosconf.c, dlls/winedos/himem.c, dlls/winedos/module.c, dlls/winedos/vxd.c, include/miscemu.h, misc/options.c, objects/bitmap.c, objects/dc.c, objects/dib.c, windows/user.c: Removed some unnecessary includes. * dlls/kernel/process.c: Fixed regression in loading of builtin apps from the system dir when the native doesn't exist. * dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/process.c, include/module.h: Moved a few definitions used in only one source file out of module.h. * dlls/kernel/instr.c, dlls/kernel/wowthunk.c, dlls/ntdll/signal_i386.c, dlls/winedos/int31.c, include/selectors.h, include/wine/library.h, libs/wine/ldt.c, libs/wine/wine.def: Added wine_ldt_is_system() to replace the IS_SELECTOR_SYSTEM macro, and stop exporting the WINE_LDT_FIRST_ENTRY constant. * configure, configure.ac: Link the main binaries with --export-dynamic so that the pthread emulation works correctly (reported by Jeremy Shaw). * dlls/d3d8/drawprim.c: Jason Edmeades Disable the use of the 'w' parm in rhw mode. * dlls/d3d8/device.c: Jason Edmeades If swap mode is discard, clear the backbuffer before moving onto the next frame. * dlls/d3d8/directx.c: Jason Edmeades Use the current window visual only. * dlls/dsound/buffer.c: Robert Reif Initialize buffer reference count. * programs/winecfg/En.rc, programs/winecfg/Pt.rc: Marcelo Duarte Localization to Portuguese. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c: Lionel Ulmer Fix graphical corruption on surface lock when multi-texturing is active. * dlls/comctl32/listview.c: Rein Klazes Ignore invalid iSubItem in LISTVIEW_GetItemT(). * tools/winapi_check/modules.dat: Vincent Béron Add a couple of missing spec files. * dlls/avifil32/avifile_It.rc, programs/clock/It.rc, programs/notepad/It.rc, programs/progman/It.rc, programs/start/It.rc: Ivan Leo Murray-Smith Improved Italian translations. * dlls/serialui/It.rc, dlls/serialui/serialui_rc.rc, dlls/setupapi/It.rc, dlls/setupapi/setupapi.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_It.rc, dlls/winmm/winmm_En.rc, dlls/winmm/winmm_It.rc, dlls/winmm/winmm_res.rc: Ivan Leo Murray-Smith Added Italian translation. 2003-11-15 Alexandre Julliard * dlls/kernel/device.c, dlls/kernel/file16.c, dlls/kernel/instr.c, dlls/kernel/thunk.c, dlls/kernel/vxd.c, dlls/kernel/win87em.c, dlls/kernel/windebug.c, dlls/kernel/wowthunk.c, dlls/winaspi/winaspi16.c, dlls/winedos/devices.c, dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/fpu.c, dlls/winedos/int11.c, dlls/winedos/int12.c, dlls/winedos/int13.c, dlls/winedos/int15.c, dlls/winedos/int17.c, dlls/winedos/int21.c, dlls/winedos/int25.c, dlls/winedos/int26.c, dlls/winedos/int2a.c, dlls/winedos/int31.c, dlls/winedos/int41.c, dlls/winedos/int4b.c, dlls/winedos/int5c.c, dlls/winedos/vxd.c, dlls/winedos/xms.c, files/directory.c, files/dos_fs.c, files/drive.c, files/file.c, include/miscemu.h, include/msdos.h: Moved a number of DOS definitions out of the global headers and into winedos private files. Removed the msdos.h header. 2003-11-14 Alexandre Julliard * DEVELOPERS-HINTS, configure, configure.ac, tools/winapi/msvcmaker, tools/winapi_check/modules.dat: Get rid of the msdos/ directory. * dlls/kernel/Makefile.in, dlls/kernel/device.c, dlls/kernel/instr.c, dlls/kernel/kernel_private.h, dlls/kernel/vxd.c, include/miscemu.h: Moved winedos loading functionality to dlls/kernel/instr.c and get rid of msdos/dpmi.c. * dlls/dsound/capture.c, dlls/winmm/wineoss/audio.c: Robert Reif Fixes more use before set races. Work around for queue reordering feature. Stop recording on reset. Better debug info. Dsound callback capture state fix. * dlls/oleaut32/variant.c: Jon Griffiths Implement the non-variant date conversions correctly, without going through 'struct tm' first. Handle negative & 'rolling' dates too. * dlls/oleaut32/oleaut.c, include/oleauto.h: Jon Griffiths Add some missing prototypes/defines. OaBuildVersion() returns a ULONG, not UINT. * libs/unicode/string.c: Jon Griffiths Remove a redundant test. Handle 'a','A','e','E','F','g','G' flavours of double arguments. * dlls/oleaut32/typelib.c: Jon Griffiths Dump a few more known variant types. Don't call DateToTM() - it's going away soon. * dlls/kernel/locale.c: Jon Griffiths Fix a crash in GetLocaleInfo() when extra high bits are set. * controls/combo.c: Carlos Lozano Fixed CB_DIR16 handling. * dlls/winedos/int21.c: Repaired INT21_FindFirst/FindNext. * dlls/kernel/Makefile.in, dlls/kernel/kernel32.spec, dlls/winedos/int21.c, files/dos_fs.c, files/drive.c, include/drive.h, include/file.h, include/msdos.h, include/winbase.h: Eric Pouech - moved the remaining of int21 calls to dlls/winedos - disabled drive enabling/disabling as well as disk serial number writing (for DLL separation issues) - added volume management prototypes to include/winbase.h - started DefineDosDevice (needed by first item in this list) - removed int21 specific code from dlls/kernel * configure, configure.ac, dlls/Makefile.in, dlls/make_dlls, dlls/wined3d/.cvsignore, dlls/wined3d/Makefile.in, dlls/wined3d/vertexshader.c, dlls/wined3d/wined3d.spec, dlls/wined3d/wined3d_main.c, dlls/wined3d/wined3d_private.h, include/wine/wined3d_gl.h, include/wine/wined3d_interface.h, include/wine/wined3d_types.h: Raphael Junqueira Add the wined3d dll for beginning a cleaner d3d architecture that will contain the shared openGL code needed for all wine direct3d implementations. * dlls/ttydrv/ttydrv.spec, dlls/ttydrv/user.c, dlls/user/user32.spec, dlls/user/user_main.c, dlls/x11drv/Makefile.in, dlls/x11drv/keyboard.c, dlls/x11drv/x11drv.spec, include/user.h, include/winuser.h, windows/defwnd.c, windows/input.c: Dmitry Timoshkov Add preliminary support for keyboard layout APIs. * objects/dib.c: Huw Davies Check for the existence of the driver CreateDIBSection before calling it. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c: Kirill Smelkov Added _execle/_execlpe & _spawnle/_spawnlpe stubs. 2003-11-13 Alexandre Julliard * dlls/kernel/atom.c, dlls/kernel/device.c, dlls/kernel/instr.c, dlls/kernel/kernel_private.h, dlls/kernel/local16.c, dlls/kernel/task.c, dlls/kernel/vxd.c, include/callback.h, include/instance.h: Removed instance.h and callback.h, moving their contents to kernel_private.h. * DEVELOPERS-HINTS, configure, configure.ac, dlls/kernel/Makefile.in, dlls/kernel/cpu.c, dlls/kernel/environ.c, dlls/kernel/virtual.c, misc/cpu.c, tools/winapi/msvcmaker, tools/winapi_check/modules.dat: Moved memory/environ.c, memory/virtual.c and misc/cpu.c to dlls/kernel. Get rid of the memory/ directory. * dlls/capi2032/cap20wxx.c, dlls/capi2032/cap20wxx.h: AVM GmbH http://www.avm.de/ Removed some old RCS comments. Fixed a message location and CAPI_WAIT_FOR_SIGNAL. * objects/font.c: Aric Stewart Convert lpnFit back to multibyte in GetTextExtentExPointA. * dlls/comctl32/listview.c: Huw Davies Implemented LVS_EX_CHECKBOXES. * objects/brush.c: Aric Stewart An app depends on a NULL return from CreateDIBPatternBrushPt if data is NULL. * dlls/comctl32/treeview.c: Dmitry Timoshkov Avoid setting infoPtr->firstVisible to NULL in TREEVIEW_Sort. 2003-11-12 Alexandre Julliard * configure, configure.ac, include/config.h.in, loader/pthread.c: Added configure check for pthread_getattr_np. * dlls/gdi/freetype.c, dlls/wineps/download.c, dlls/wineps/psdrv.h, dlls/wineps/type1.c, dlls/wineps/type42.c: Huw Davies Scale the OUTLINETEXTMETRIC's bounding box with the font size. Fix wineps's font downloaders to cope with this behaviour. * objects/dib.c: Huw Davies Make sure we create a polychrome bitmap from the dib. CreateDIBitmap doesn't do this when the dib is 1bpp and has a black/white colour table. In such cases this resulted in a monochrome bitmap being StretchBlt'ed which is clearly incorrect since we then start using text and bkgnd colours. * dlls/comctl32/imagelist.c: Huw Davies Fix some weird logic in ImageList_Write. * dlls/comctl32/listview.c: Huw Davies A multicolumn listview should get a customdraw notification for the item as well as one for subitem 0. * dlls/winmm/winealsa/midi.c: Christian Costa Alsa midi fixes. * configure, configure.ac, loader/.cvsignore, loader/Makefile.in, loader/glibc.c, tools/wineinstall: Added a wine-glibc binary that detects the glibc threading in use and execs the corresponding wine binary. Removed the --with-nptl configure option. * configure, configure.ac, include/config.h.in, include/wine/port.h, libs/port/Makefile.in, libs/port/gettid.c, libs/port/sigsetjmp.c, loader/pthread.c: Added sigsetjmp/siglongjmp and gettid to the portability library. 2003-11-11 Alexandre Julliard * dlls/kernel/Makefile.in, dlls/kernel/process.c, dlls/ntdll/Makefile.in, dlls/ntdll/server.c, include/wine/library.h, libs/wine/Makefile.in, libs/wine/config.c, libs/wine/loader.c, libs/wine/wine.def: Moved the exec_wine_binary function to the wine library, and use it to exec the wineserver too. * dlls/ntdll/virtual.c: Make sure the protection flags on the memory view of the PE header match the actual mmap protection. * tools/winedump/pe.c: Cosmetics. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, dlls/ntdll/ntdll.spec, dlls/ntdll/sec.c, include/Makefile.in, include/sddl.h, include/winbase.h, include/winnt.h, include/winternl.h: Ulrich Czekalla Added stubs for AccessCheckByType, AddAuditAccessAce, GetNamedSecurityInfoA, GetNamedSecurityInfoW. Implemented ConvertStringSecurityDescriptorToSecurityDescriptorW, DeleteAce, MakeAbsoluteSD, GetAclInformation, ConvertStringSidToSidW, RtlDeleteAce, RtlQueryInformationAcl. * dlls/kernel/version.c: Andreas Mohr Don't include build number in GetVersion() for Win9x versions. * dlls/advapi32/eventlog.c: Mike Hearn Implemented ReportEventA/W. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Fix a bug in VkKeyScan. * dlls/ntdll/file.c: Carlos Lozano NtReadFile checks that offset is not null. * dlls/winmm/tests/wave.c: Robert Reif Don't flag failed opens of unsupported formats as an error. * controls/combo.c: Huw Davies Add support for CBS_{LOWER|UPPER}CASE. * dlls/wineps/driver.c, dlls/wineps/escape.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h: Huw Davies Handle multicopy printing correctly. * dlls/wineps/type42.c: Gerald Pfeifer Fix format strings in T42_download_header() and T42_download_glyph(). * objects/font.c: Huw Davies If the buffer passed to GetOutlineTextMetrics isn't big enough then Windows fills it upto the supplied size rather than returning an error. * dlls/gdi/freetype.c: Dmitry Timoshkov Constify strings. * dlls/winspool/info.c, include/winspool.h: Dmitry Timoshkov Huw Davies Constify strings. Fix args of [GS]etPrinterDataEx * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Fix parsing of GL version string in X.Y cases. * configure, configure.ac, loader/Makefile.in: Only build both Wine binaries on Linux, pthread support doesn't work on other platforms. * dlls/ntdll/signal_i386.c, dlls/winedos/dosvm.c: Jukka Heinonen Fix race in real mode event handling. Merge real mode pending event checking routines. Remove some obsolete code. * dlls/d3d8/device.c, dlls/d3d8/shader.c: Raphael Junqueira - stupid typos fixes on software vertex shader operands - CopyRects fix (problem in error paths) based on Carlos Lozano patch * dlls/x11drv/scroll.c: Huw Davies Rewrite ScrollDC. * objects/enhmetafile.c: Huw Davies PatBlt()s get recorded as EMR_BITBLT records with offBmiSrc == 0, so ensure that we pick these out in playback. EMR_STRETCHBLT should behave like EMR_BITBLT if there are no bits (ie. it's a PalBlt). Set the text and bkgnd colour to black and white respectively before enumerating an emf. Print out the record names to make debugging easier. Add a few TRACE()s. * dlls/winspool/info.c: Huw Davies Much better parsing of /etc/printcap. Don't even try to use heuristics to guess whether the printer is PostScript or not - we're going to get it wrong anyway. Don't list printer entries that begin with ispunct() - these are used for 'tc' aliases. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h, dlls/ddraw/dsurface/main.c: Lionel Ulmer Better color-keying support. * dlls/wineps/ppd.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/type42.c: Dmitry Timoshkov Constify strings. * dlls/glu32/Makefile.in, dlls/glu32/glu.c, dlls/glu32/glu32.spec: Huw Davies Implement the missing tesselator functions and fix the tesselator callbacks so that the correct calling convention is used. * include/commctrl.h: Rolf Kalbermatter Add constants for DSA_InsertItem and DPA_InsertPtr according to newest MSDN headers. * dlls/wineps/text.c: Huw Davies GetTextExtentPoint already adds char_extra so don't add it on again. * dlls/x11drv/xrender.c, objects/font.c: Huw Davies GetTextExtentPoint should include an inter character spacing set by SetTextCharacterExtra. * objects/dc.c: Huw Davies Only reselect the font if the transformation has actually changed. * graphics/path.c: Huw Davies We need to set the WorldTransform to the identity before stroking or filling the path. Fixed a memory leak. * objects/dib.c: Huw Davies CreateDIBSection ignores the supplied values of biClrUsed and biClrImportant and calculates them from biBitCount. * controls/edit.c: Huw Davies We need to invalidate the replaced text region before calling EM_ScrollCaret as this may call ScrollWindow. Previously newly added lines were not displayed if the edit needed to scroll. * controls/button.c: Huw Davies Ownerdraw buttons should erase themselves in WM_ERASEBKGND. * dlls/comctl32/listview.c: Huw Davies Add support for LVS_EX_SUBITEMIMAGES. * dlls/winmm/tests/wave.c, dlls/winmm/wineoss/audio.c: Robert Reif Fix a race condition where result could be read before set. Fix test to use correct event in interactive mode. * dlls/ttydrv/graphics.c: Gerald Pfeifer Fix format specifiers for HDCs. 2003-11-09 Alexandre Julliard * dlls/kernel/pthread.c, dlls/ntdll/Makefile.in, dlls/ntdll/ntdll_misc.h, dlls/ntdll/server.c, dlls/ntdll/sysdeps.c, dlls/ntdll/thread.c, include/thread.h, include/wine/pthread.h, libs/wine/port.c, loader/kthread.c, loader/pthread.c: Moved the remaining SYSDEPS_* functions to the wine_pthread interface. Let the pthread library allocate the stack itself. * dlls/wininet/Makefile.in, dlls/wininet/gopher.c, dlls/wininet/internet.c, dlls/wininet/wininet.spec: Kirill Smelkov Added gopher stubs. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dmaterial.c: Lionel Ulmer Fix some stupid bug with missing braces. * dlls/oleaut32/variant.c: Gerald Pfeifer Removed dead code in VarDateFromUI2(). * Makefile.in: Francois Gouget If the command line is too long when calling etags, it's probably too long when invoking ctags. * dlls/winmm/driver.c, dlls/winmm/lolvldrv.c, dlls/winmm/message16.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/time.c, dlls/winmm/winemm.h, dlls/winmm/winemm16.h, dlls/winmm/winmm.c: Eric Pouech Removed some more dependencies on wine 16-bit specific entities. * graphics/x11drv/palette.c: Don't bother to fill the color map on TrueColor displays. Moved X11 locking calls out of the loops. * dlls/x11drv/event.c, dlls/x11drv/x11drv_main.c, graphics/x11drv/dib.c: Avoid the XSync call in X11DRV_expect_error by storing the current request number and checking that on errors. Moved the XSync call from X11DRV_check_error into the callers so that it can be avoided for requests that already wait for a reply. * documentation/samples/system.ini: Tom Wickline updated [mci] & [drivers32] sections. * dlls/winaspi/aspi.c, dlls/winaspi/winescsi.h: Gerald Pfeifer Move scsi_command_size from winescsi.h to SCSI_Fix_CMD_LEN(), its only user. * dlls/ttydrv/wnd.c: Gerald Pfeifer Fix format specifiers for HWNDs. * dlls/kernel/tests/process.c: Francois Gouget Fixed buffer overflow. Fixed two -Wwrite-strings warnings (but there are more). * configure, configure.ac, dlls/gdi/freetype.c, include/config.h.in: Huw Davies Load any TrueType fonts that fontconfig knows about. * dlls/comctl32/rebar.c, include/commctrl.h: Robert Shearman Added chevron support. * dlls/comctl32/listview.c: Huw Davies ReleaseCapture on lbuttondown if the cursor is outside an item, just like the native one does. * dlls/wineps/init.c: Huw Davies Update the visrgn in ResetDC so that GetClipBox works correctly after a change in paper size/orientation. * windows/dialog.c: Rein Klazes If GetNextDlgTabItem() cannot find any next control, return the handle of the original control. 2003-11-06 Alexandre Julliard * DEVELOPERS-HINTS, configure, configure.ac, include/config.h.in, loader/.cvsignore, loader/Makefile.in, loader/kthread.c, loader/pthread.c: Create two separate wine binaries, one using libpthread and one using kernel threading directly. Get rid of the remaining HAVE_NPTL ifdefs. Remove the scheduler directory. * DEVELOPERS-HINTS, Makefile.in, configure, configure.ac, loader/.cvsignore, loader/Makefile.in, loader/main.c, tools/winapi/msvcmaker, tools/winapi_check/modules.dat, tools/winewrapper: Re-use the loader directory for the main wine loader, and get rid of the miscemu directory. * dlls/kernel/Makefile.in, dlls/kernel/module.c, loader/module.c: Moved loader/module.c to dlls/kernel. * configure, configure.ac, dlls/Makefile.in, dlls/capi2032/.cvsignore, dlls/capi2032/Makefile.in, dlls/capi2032/cap20wxx.c, dlls/capi2032/cap20wxx.h, dlls/capi2032/capi2032.spec, include/config.h.in: AVM Computersysteme Vertriebs GmbH Implemented a CAPI20 wrapper library for CAPI4Linux access. Marcus Meissner Cleaned up, autoconfed. * dlls/ntdll/ntdll_misc.h, dlls/ntdll/server.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, dlls/ntdll/sync.c, dlls/ntdll/sysdeps.c, dlls/ntdll/thread.c, include/thread.h, include/wine/server.h: Added server_abort_thread to replace SYSDEPS_AbortThread. Removed no longer used SIGNAL_Block and SIGNAL_Reset. Moved some internal ntdll definitions to ntdll_misc.h. 2003-11-05 Alexandre Julliard * dlls/kernel/thread.c, dlls/ntdll/Makefile.in, dlls/ntdll/ntdll.spec, dlls/ntdll/sysdeps.c, dlls/ntdll/thread.c, include/wine/pthread.h, libs/wine/port.c: Added wine_pthread_create_thread and wine_pthread_exit_thread to the pthread support, and removed the corresponding SYSDEPS functions. Moved stack allocation for new threads to wine_pthread_create_thread to allow more flexibility. * dlls/msacm/msacm.rc, dlls/msacm/msacm_Pt.rc, dlls/oleaut32/oleaut32.rc, dlls/oleaut32/oleaut32_Pt.rc, dlls/serialui/Pt.rc, dlls/serialui/serialui_rc.rc, dlls/setupapi/Pt.rc, dlls/setupapi/setupapi.rc, dlls/shell32/shell32_Pt.rc, programs/notepad/En.rc, programs/notepad/Pt.rc, programs/uninstaller/rsrc.rc: Marcelo Duarte Localization to the Portuguese of Brazil. * dlls/gdi/gdi32.spec, objects/dc.c: Vincent Béron Implemented GetDCPenColor and GetDCBrushColor. * dlls/winmm/wineoss/audio.c: Robert Reif Fix wave in stop. * include/msi.h, include/msiquery.h: Mike McCormack Move and correct the MSIDBOPEN defines. * dlls/msi/msi.c: Mike McCormack MsiOpenDatabase's szPersist parameter may be a string or a bitmask. * dlls/gdi/driver.c, dlls/gdi/enhmfdrv/init.c, dlls/gdi/gdi32.spec, dlls/gdi/mfdrv/init.c, dlls/x11drv/x11drv.spec, graphics/x11drv/brush.c, graphics/x11drv/pen.c, include/gdi.h, include/wingdi.h, objects/dc.c, objects/gdiobj.c: Ulrich Czekalla Implemented SetDCPenColor and SetDCBrushColor. * dlls/msi/msi.c, dlls/msi/msi.spec, include/msi.h: Mike McCormack Stub implementation for MsiVerifyPackage. * dlls/ntdll/ntdll.spec, dlls/ntdll/sec.c: Ulrich Czekalla Implemented RtlSelfRelativeToAbsoluteSD and RtlMakeSelfRelativeSD. Fixed some related SE_SELF_RELATIVE bugs. * dlls/oledlg/.cvsignore, dlls/oledlg/Makefile.in, dlls/oledlg/insobjdlg.c, dlls/oledlg/oledlg_En.rc, dlls/oledlg/oledlg_main.c, dlls/oledlg/resource.h, dlls/oledlg/rsrc.rc, include/oledlg.h: Ulrich Czekalla Initial implementation of OleUIInsertObject. * dlls/kernel/syslevel.c, dlls/ntdll/ntdll.spec, dlls/ntdll/signal_i386.c: Use the signal stack pointer to determine the current thread. Converted the SIGUSR2 handler to use setup_exception (probably still not working properly). * dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/system.c, dlls/kernel/thunk.c, dlls/winedos/int31.c, windows/winproc.c: Set %fs and %gs in the register context to their current value when calling 16-bit code. * dlls/wineps/driver.c, dlls/wineps/init.c, dlls/wineps/ppd.c, dlls/wineps/ps.c, dlls/wineps/psdlg.h, dlls/wineps/psdrv.h, dlls/wineps/wps_De.rc, dlls/wineps/wps_En.rc, dlls/wineps/wps_Fr.rc, dlls/wineps/wps_Ko.rc, dlls/wineps/wps_Pt.rc, dlls/wineps/wps_Ru.rc, dlls/wineps/wps_Si.rc, dlls/wineps/wps_Sk.rc: Huw Davies Support for duplex printing. * dlls/winspool/info.c: Huw Davies Make sure that all printer entries have a valid Name and Port key. Cope with cups printer deletion. * programs/winedbg/info.c: Rein Klazes Let "info wnd" print the client rectangle in screen coordinates. * dlls/comctl32/listview.c: Huw Davies LISTVIEW_GetSubItemRect should succeed if subitem == 0 whatever mode the listview is in. * dlls/comctl32/toolbar.c: Rein Klazes Correctly place a toolbar with CCS_BOTTOM style at the bottom, not the top. * dlls/msi/msi.c: Mike McCormack Implement MsiOpenProductW. 2003-11-04 Alexandre Julliard * include/winbase.h: Disable the asm inline functions when building ntdll to avoid trouble when compiling without optimization. The PPC inline functions are no longer needed now that kernel is properly separated. * dlls/kernel/thread.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/signal_i386.c, dlls/ntdll/sysdeps.c, dlls/ntdll/thread.c, dlls/ntdll/virtual.c, include/thread.h, include/wine/server.h: Allocate the TEB and signal stack separately from the main stack. Dynamically allocate the initial TEB too so that it is properly page-aligned. * dlls/ntdll/cdrom.c: Gerald Pfeifer The CDDA case of CDROM_RawRead() no longer works on FreeBSD -CURRENT, remove it. Also, combine the FreeBSD and NetBSD NYI notes. * dlls/comctl32/propsheet.c: Huw Davies PropSheetPageProc callback should always have hwnd = 0. * dlls/comctl32/listview.c: Ulrich Czekalla Huw Davies Added drag and drop support to listview. * dlls/comctl32/imagelist.c: Huw Davies Fix a fixme. * dlls/x11drv/winpos.c: Dmitry Timoshkov WM_WINDOWPOSCHANGING should receive original, not fixed values. * controls/scroll.c: Dmitry Timoshkov Always repaint scroll bar if requested. * dlls/shell32/pidl.c: Dmitry Timoshkov Protect ILIsParent from NULL pidls. * dlls/winmm/wineoss/audio.c: Robert Reif Fixed bug in capture stop. Only current header should be returned to app. Make wave fragment size adjustable to guarantee better than 10 ms latency. Makes a difference for 8 kHz voice apps. * Makefile.in: Mike Hearn Avoid argument list limit in etags generation. * dlls/d3d8/stateblock.c, dlls/d3d8/surface.c: Jason Edmeades Pass through floats correctly to the render states at initialization. Fixes point problems. * dlls/d3d8/device.c: Carlos Lozano Check that we don't write out of the defined range of palettes. 2003-11-03 Alexandre Julliard * dlls/ntdll/loader.c: Allocate a memory view for builtin dlls so that VirtualQuery returns something sensible. * dlls/ntdll/virtual.c, dlls/x11drv/dga2.c: Fixed type and protection values returned by NtQueryVirtualMemory to be closer to what Windows does. Allow using MEM_SYSTEM without MEM_RESERVE to avoid 64k alignment. Use pread instead of lseek+read when faking mmap. * libs/wine/loader.c, tools/winebuild/spec32.c: Put better values for code and data sizes in the NT header of builtin dlls. * controls/edit.c: Huw Davies WM_LBUTTONDOWN calls SetFocus under Windows. Remove the SetFocus in WM_MOUSEACTIVATE. * dlls/comctl32/propsheet.c: Huw Davies Don't get confused if PSN_SETACTIVE returns a positive number that isn't a resource id. * dlls/comctl32/listview.c: Huw Davies Make the listview send its notifications to the parent window passed to it in CREATESTRUCT. Based on a treeview patch by Igor Grahek. * dlls/wineps/bitmap.c: Huw Davies Fix the return value of StretchDIBits. * dlls/wineps/graphics.c, dlls/wineps/wineps.spec: Huw Davies Implement PSDRV_PaintRgn (also gets us FillRgn, FrameRgn and FillPath for free). * windows/spy.c: Dmitry Timoshkov Add common dialog notification messages and WM_SIZE. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Add support for QWERTZ virtual keys mapping, fix many keyboard layouts to conform to the XFree86 ones, add support for Russian cp1251 and phonetic keyboard layouts, Israelian phonetic and Saharon keyboard layouts. * dlls/winedos/int21.c: Jukka Heinonen Implement fat32 extended free space function. Make fat32 calls reset carry flag explicitly. * dlls/oleaut32/typelib.c: Marcus Meissner Do not coerce arguments of ITypeLib::Invoke in-place, or we get corrupted variants. Handle V_ARRAY | something -> VT_SAFEARRAY, as this is a NOP. * dlls/kernel/kernel32.spec, dlls/kernel/sync.c: Mike McCormack Stubs for job control. 2003-10-31 Alexandre Julliard * dlls/user/dde/client.c, dlls/user/focus.c, windows/painting.c, windows/syscolor.c, windows/sysparams.c: Use a timeout when sending broadcast messages. * dlls/msvcrt/console.c, dlls/msvcrt/file.c: Ulrich Czekalla Duplicate stdin/stdout handles to avoid closing them when library is unloaded. * dlls/iphlpapi/iphlpapi_main.c: Aric Stewart Switched a + to a - so that it makes sense when marking the last node in the Adapters Info linked list. * dlls/d3d8/device.c, dlls/d3d8/surface.c: Jason Edmeades Make support for CopyRects to a small area of the back buffer, and correct the general method of updating the back buffer. * dlls/kernel/nls/brf.nls, dlls/kernel/nls/cat.nls, dlls/kernel/nls/cor.nls, dlls/kernel/nls/dan.nls, dlls/kernel/nls/dea.nls, dlls/kernel/nls/dec.nls, dlls/kernel/nls/del.nls, dlls/kernel/nls/des.nls, dlls/kernel/nls/deu.nls, dlls/kernel/nls/eng.nls, dlls/kernel/nls/eni.nls, dlls/kernel/nls/esn.nls, dlls/kernel/nls/esp.nls, dlls/kernel/nls/eti.nls, dlls/kernel/nls/euq.nls, dlls/kernel/nls/fin.nls, dlls/kernel/nls/fos.nls, dlls/kernel/nls/fra.nls, dlls/kernel/nls/frb.nls, dlls/kernel/nls/frl.nls, dlls/kernel/nls/frm.nls, dlls/kernel/nls/frs.nls, dlls/kernel/nls/gae.nls, dlls/kernel/nls/gdh.nls, dlls/kernel/nls/gdv.nls, dlls/kernel/nls/glc.nls, dlls/kernel/nls/isl.nls, dlls/kernel/nls/ita.nls, dlls/kernel/nls/its.nls, dlls/kernel/nls/nlb.nls, dlls/kernel/nls/nld.nls, dlls/kernel/nls/nls.nls, dlls/kernel/nls/non.nls, dlls/kernel/nls/nor.nls, dlls/kernel/nls/ptg.nls, dlls/kernel/nls/sve.nls, dlls/kernel/nls/svf.nls, dlls/kernel/nls/uzl.nls, dlls/kernel/nls/wal.nls: Dmitry Timoshkov Replace 28591 by 28605 (euro) for appropriate locales. * files/file.c: Make sure GetTempFileName never returns 0 on success. * configure, configure.ac, dlls/Makefile.in, dlls/cfgmgr32/.cvsignore, dlls/cfgmgr32/Makefile.in, dlls/cfgmgr32/cfgmgr32.spec, dlls/cfgmgr32/main.c: Mike McCormack Mostly stub implemenation for cfgmgr32. * dlls/d3d8/device.c: Jason Edmeades Clear should not be affected by write masks. * dlls/kernel/thread.c, dlls/ntdll/ntdll.spec, dlls/ntdll/thread.c, include/winbase.h, include/winternl.h: Implemented RtlCreateUserThread, and use it to move thread creation to ntdll. * dlls/d3d8/device.c: Jason Edmeades ColorWriteEnable should not impact clearing the screen. * dlls/comctl32/toolbar.c: Robert Shearman - Use the style returned in custom draw structure to draw the button, as apps may modify the style this way. - Disabled buttons can become hot. - Retrieve image list for drawing after getting image list ID (in I_IMAGECALLBACK case). * dlls/dmloader/dmloader_private.h, dlls/dmloader/loader.c, dlls/dmscript/script.c, dlls/dmscript/scripttrack.c: Raphael Junqueira - better traces - some IPersistStream::GetClassID implementation - add the "search by name" support for IDirectMusicLoader8::GetObject (and a hack for understanding containers use) * dlls/comctl32/tab.c, dlls/comctl32/tests/.cvsignore, dlls/comctl32/tests/Makefile.in, dlls/comctl32/tests/tab.c: Vitaliy Margolen - Fix tab size for TCS_OWNERDRAWFIXED style. - Correct size recalculation after setting tab width. - Fix button sizes to match native. - Center both vertically and horizontally tab text & icon. - Use correct left/center alignment flags. 2003-10-30 Alexandre Julliard * dlls/d3d8/device.c: Jason Edmeades CopyRects (per rect) copied one too many lines, trashing the heap. Also tidies up scissor test from previous patch. * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/mailslot.c: Mike McCormack Added a test for mailslots. * dlls/ntdll/signal_i386.c: Fixed race in %gs selector restoring during vm86 mode return. Minor cleanups. * tools/winedump/pe.c: Gerald Pfeifer Change some variables from int to unsigned to avoid signedness mismatches. * tools/winegcc/utils.c: Gerald Pfeifer Add proper casts to avoid signed vs. unsigned mismatches in strmake(). * dlls/winmm/wineoss/audio.c: Robert Reif Cache the wave volume so it can be returned rather than the OSS derived value when possible. * dlls/kernel/sync.c: Mike McCormack Return more sane mailslot error values. * dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, dlls/winmm/winmm.c: Robert Reif Clean up *GetDevCaps to check for valid pointer and only copy proper amount of data. * dlls/ntdll/exception.c: Pavel Roskin Include ntdll_misc.h to avoid undefined reference to GetProcessHeap when compiled without optimization. * dlls/kernel/process.c: Mike McCormack Fix incorrectly sized buffer. * dlls/d3d8/device.c: Jason Edmeades Culling to different viewports failed as clearing the whole viewport cleared the screen. * tools/winebuild/spec32.c: Better defaults for heap and stack sizes. * dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c: Hannu Valtonen JoystickAImpl_Unacquire should return DI_NOEFFECT if the device is not in an acquired state. * dlls/msi/msi.c, dlls/msi/msi.spec, dlls/msi/msiquery.c, include/msi.h: Mike McCormack Some stub implementations. * dlls/msi/tokenize.c: Mike McCormack Sql tokens are case insensitive in msi.dll. * dlls/d3d8/device.c, dlls/d3d8/stateblock.c, dlls/d3d8/surface.c: Jason Edmeades Correct writing to back buffer in non-ortho mode, and ensure the line stipple is passed correctly to enable proper wireframe support. 2003-10-28 Alexandre Julliard * dlls/kernel/instr.c, dlls/kernel/wowthunk.c: Restored emulation of protected instructions in 32-bit code when running with a Win9x version. * dlls/msi/table.c: Mike McCormack Treat missing MSI tables as empty. * include/wine/library.h: Increase WINE_LDT_FIRST_ENTRY to leave room for glibc thread selectors. * dlls/ntdll/exception.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, include/thread.h: Removed no longer needed SIGNAL_Unblock() function. * dlls/comctl32/toolbar.c, dlls/kernel/tests/locale.c, dlls/oleaut32/variant.c, dlls/user/tests/input.c, include/tmschema.h, libs/unicode/cpmap.pl, programs/regapi/regapi.c, programs/regedit/regproc.c, tools/winapi/winapi_check_options.pm, tools/winapi_check/winapi_check: Francois Gouget Weekly spelling fixes. * dlls/msi/table.c: Mike McCormack Fixed MSI buffer overflow. * dlls/kernel/kernel32.spec, dlls/ntdll/exception.c, dlls/ntdll/ntdll.spec, include/winbase.h, include/winnt.h, include/winternl.h: Implemented Add/RemoveVectoredExceptionHandler. * tools/winemaker: Francois Gouget Add support for .dbg.c files. This makes it possible to use the Wine tracing macros in Winelib applications. The wine/lib, wine/ole, wine/unicode directories are gone. Simplify the wine_unicode and wine_uuid detection. Fix generation of the clean target (in some corner cases it could generate a $(RM) command with no parameter). Move the distclean target to the top-level Makefile and make it more thorough. Update a few autoconf constructs. Remote commented out code in wrapper.c. If we need that code we can always get it from CVS. * dlls/msvcrt/dir.c, include/msvcrt/stdlib.h: Pierre d'Herbemont Fixed _wfullpath prototype. * dlls/x11drv/wineclipsrv.c: Gerald Pfeifer Move event_names[] into EVENT_ProcessEvent(). * dlls/kernel/format_msg.c: Uwe Bonnes FormatMessageW: Allocate anough space. * dlls/msi/table.c: Mike McCormack Fix string value lookups in MSI. * dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_private.h: Rok Mandeljc Some fixes in dmband loading. * dlls/dinput/mouse/main.c: Hannu Valtonen SysMouseAImpl_Unacquire should return DI_NOEFFECT if the device is not in an acquired state. * dlls/kernel/process.c: Fixed typo that broke handling of .com and .bat files. * dlls/ntdll/signal_i386.c, tools/winebuild/relay.c: Switch back to the main process stack before calling exception handlers. * dlls/ntdll/loader.c: Repaired relay debugging for kernel and ntdll (spotted by Uwe Bonnes). * dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/input.c: Rein Klazes Test WM_KEY* and WM_SYSKEY* messages generated by various keyboard events. * dlls/winmm/lolvldrv.c, dlls/winmm/tests/wave.c, dlls/winmm/winealsa/audio.c, dlls/winmm/wineoss/audio.c: Robert Reif Added support for getting the wave device name. * dlls/dmloader/loader.c: Rok Mandeljc Fix dmloader's behavior to be more MS compliant. * dlls/gdi/freetype.c: Marcus Meissner Use freetype 2.0 defines for font encodings instead of misuse of MS_MAKE_TAG. * dlls/ntdll/path.c: Uwe Bonnes get_full_path_helper: Handle the case \\.\\ as intended; fix length arguments for memmove. * dlls/msvcrt/tests/scanf.c: Uwe Bonnes Another difference in the printf family. * windows/input.c: Rein Klazes Correct the logic that decides whether a WM_SYSKEYUP/DOWN or a WM_KEYUP/DOWN message is to be sent. 2003-10-27 Alexandre Julliard * tools/winemaker: libntdll.dll.so no longer exists, check for libntdll.def instead. * tools/winedump/pe.c: Added printing of the target of forwarded exports. * server/thread.c: Make init_thread request deal better with fd allocation errors. * dlls/dmime/performance.c, dlls/dmloader/container.c, dlls/dmloader/loader.c, dlls/dmloader/loaderstream.c, include/dsound.h: Raphael Junqueira - Some fixes on DirectSound init (need SetCooperativeLevel as seen in msdn) on IDirectMusicPerformance8::InitAudio. - Some fixes in IDirectMusicPerformance8ImplCreateStandardAudioPath (not perfect yet, need to understand/fix the channel init/use). - Fix typo on CreateDirectMusicContainer. - Add missing define in dsound.h. - Better traces on IDirectMusicLoader8::SetSearchDirectory. * dlls/shell32/control.c: Uwe Bonnes Control_DoLaunch: memmove needs bytes as length argument. * dlls/winedos/int33.c: Jukka Heinonen Clean up mouse driver implementation. * dlls/winedos/int21.c: Jukka Heinonen Moved drive parameter block (DPB) routines to winedos. * dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c: Uwe Bonnes Added a few stubs. * tools/winebuild/import.c: Pierre d'Herbemont Fix PowerPC assembler syntax mistakes. * dlls/avifil32/avifile_Nl.rc, dlls/avifil32/rsrc.rc, dlls/comctl32/comctl_Nl.rc, dlls/comctl32/rsrc.rc, dlls/msacm/msacm.rc, dlls/msacm/msacm_Nl.rc, dlls/serialui/Nl.rc, dlls/serialui/serialui_rc.rc, dlls/setupapi/Nl.rc, dlls/setupapi/setupapi.rc, dlls/wineps/rsrc.rc, dlls/wineps/wps_Nl.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_Nl.rc: Hans Leidekker Added Dutch translations. * programs/start/Nl.rc, programs/start/rsrc.rc, programs/view/Nl.rc, programs/view/viewrc.rc, programs/wineconsole/wineconsole_Nl.rc, programs/wineconsole/wineconsole_res.rc, programs/winefile/En.rc, programs/winefile/Nl.rc, programs/winefile/rsrc.rc, programs/winemine/Nl.rc, programs/winemine/rsrc.rc, programs/winhelp/Nl.rc, programs/winhelp/rsrc.rc: Hans Leidekker - Dutch translations of Wine programs. - Correct grammar error in winefile. * programs/wcmd/En.rc, programs/wcmd/Nl.rc, programs/wcmd/wcmdrc.rc: Hans Leidekker - Added Dutch translation. - Make an example's description consistent with the example. * dlls/kernel/nls/heb.nls: Shachar Shemesh Updated Hebrew resources. * dlls/winmm/winealsa/audio.c: Robert Reif Fix SMPTE time. Fix primary buffer volume setting. * dlls/winmm/mmsystem.c: Robert Reif Only copy amount requested up to size of structure. * dlls/winmm/wineoss/audio.c: Robert Reif Clear a new hardware buffer to proper silence values based on format. Allows dxdiag to play 8 bit sounds in hardware primary buffer now. * configure, configure.ac: Pierre d'Herbemont Include before . 2003-10-24 Alexandre Julliard * dlls/gdi/tests/generated.c, dlls/shlwapi/tests/generated.c, dlls/urlmon/tests/generated.c, dlls/user/tests/generated.c, dlls/wininet/tests/generated.c: Updated some of the generated tests. * tools/winapi/tests.dat, tools/winapi/winapi_test: Specify include quotes in the tests.dat file. * dlls/kernel/fiber.c, dlls/ntdll/exception.c, include/wine/exception.h: Use sigsetjmp instead of setjmp in Wine internal exception handlers to make sure the signal mask is restored properly. * server/signal.c: Added support for the linuxthreads cancel signal as an alternative to SIGCHLD. * dlls/msvcrt/tests/scanf.c: Uwe Bonnes Added a test case for sprintf. * dlls/shell32/shell32_main.c, dlls/shell32/shlview.c, dlls/shell32/shpolicy.c, dlls/shell32/systray.c: Filip Navara - Removed initialization of sh32_policy_table in SHInitRestricted, because it's already statically initialized. - Removed calling of SHInitRestricted(NULL, NULL) from DllMain because it does nothing in this case now. - Added support for flags FWF_DESKTOP, FWF_NOCLIENTEDGE, FWF_TRANSPARENT in ShellView. - Fixed small bug in setting SysTray window class hbrBackground. * dlls/user/tests/win.c: Dmitry Timoshkov More tests for window creation parameters. * windows/winpos.c: Dmitry Timoshkov Initialize MinMax.ptReserved, use better defaults for child windows. * dlls/x11drv/window.c: Dmitry Timoshkov Windows always sets cbtc.hwndInsertAfter to HWND_TOP. * dlls/msvcrt/file.c: Pavel Roskin Make MSVCRT__sopen() complain louder about unknown oflags, but not about _O_WRONLY. MSVCRT_fopen() should pass third argument to _open() because it may set _O_CREAT. * include/Makefile.in, include/amvideo.h, include/amvideo.idl, include/aviriff.h: Robert Shearman Added amvideo.{idl,h} and aviriff.h. * dlls/wineps/rsrc.rc, dlls/wineps/wps_It.rc: Ivan Leo Murray-Smith Added Italian resources. * dlls/comctl32/rebar.c: Robert Shearman Don't store band text if "" is passed into SetBandInfo. * programs/winecfg/En.rc, programs/winecfg/winecfg.c: Mike Hearn Minor GUI relayout. * dlls/kernel/process.c, dlls/ntdll/loader.c: Call the application entry point from kernel32, some apps depend on that. * dlls/setupapi/parser.c, dlls/setupapi/virtcopy.c, dlls/x11drv/xrender.c: Oleg Prokhorov Another portion of HeapReAlloc fixes. * tools/winebuild/import.c, tools/winebuild/spec32.c: Pierre d'Herbemont Change mctr PowerPC asm instruction to mtctr. Add Support for the .text section and the .space section of darwin's ld. * dlls/kernel/tests/locale.c: Jon Griffiths Added tests for FoldStringA/W. * dlls/kernel/locale.c: Jon Griffiths Implemented FoldStringA (using W version). Documentation updates. * dlls/msvcrt/tests/file.c: Pavel Roskin Added test for tmpnam(). * dlls/msvcrt/file.c, include/msvcrt/stdio.h: Pavel Roskin MSVCRT_tmpnam(): complete rewrite. Use the same names as the native version. Use the caller-supplied buffer if possible. 2003-10-22 Alexandre Julliard * dlls/kernel/thread.c, dlls/ntdll/signal_i386.c, dlls/ntdll/virtual.c, include/thread.h: Simplified signal stack allocation a bit, and avoid allocating it on non-i386 platforms. * dlls/ntdll/signal_powerpc.c: A signal stack is not needed on PowerPC. * tools/wmc/lang.c: Vincent Béron Added support for neutral language. * include/setupapi.h: Fixed naming of the A/W types. * dlls/advapi32/crypt.c: Robert Shearman - Fix error paths in advapi32.CryptAcquireContextA. - Call CRYPT_VerifyImage to verify the signature, even though it currently does nothing. * dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Robert Reif Fix MMDRV_PhysicalFeatures to handle both 16 and 32 bit pointers properly. * programs/winecfg/main.c: Mike Hearn Complete support DOS version and winelook settings. * dlls/gdi/enhmfdrv/init.c: Dave Belanger Fix EMF driver UpdateBBox routine. The EMF bounding box must be stored in device coordinates in the metafile. * programs/winecfg/appdefaults.c, programs/winecfg/drive.c, programs/winecfg/x11drvdlg.c: Mike Hearn - Clear screen depth combo box on page init. - Some appdefaults support. - Rename hDlg to dialog in some places so enable/disable macros work. - Don't update registry when the GUI is being initially configured. 2003-10-21 Alexandre Julliard * files/smb.c, graphics/x11drv/xfont.c, include/bitmaps/wine.xpm, libs/wpp/ppl.l, libs/wpp/preproc.c, misc/registry.c, server/unicode.c, server/unicode.h: Daniel Marmier Fixed warnings with gcc option "-Wwrite-strings". * dlls/msvcrt/dir.c, dlls/ntdll/string.c: Dave Belanger Fix splitpath and wsplitpath for the file extension. * dlls/rpcrt4/ndr_midl.c: Gregory M. Turner - Remove an erroneous check in NdrSendReceive. - Change fixmes. * dlls/msvcrt/process.c: Gerald Pfeifer Remove unused variables EXE, BAT, CMD, and COM. * dlls/x11drv/xrandr.c: Gerald Pfeifer Remove unused variable depths[]. * controls/edit.c: Rein Klazes A WM_CREATE message sent to an Edit window procedure should return 1. Power Builder masked edit controls depend on it. * tools/winapi/tests.dat, tools/winapi/winapi_test: Francois Gouget Update tests.dat to include the various #include fixes. gcc says that sizeof(long double)==12. Fix the detection of pragma packs to detect #include <...>. Generate ok("...\n") calls. * documentation/bugs.sgml, tools/testrun: Francois Gouget Change all head/tail -X to head/tail -n X to be more POSIXly compliant. * dlls/setupapi/Makefile.in, dlls/setupapi/infparse.c, dlls/setupapi/setupapi_private.h, dlls/setupapi/setupcab.c, dlls/setupapi/setupx16.h, include/setupapi.h: Steven Edwards - Win16/32 cleanup. - Fixes for building with the PSDK. * dlls/advapi32/registry.c, include/winreg.h: Daniel Marmier RegCreateKeyEx{A,W}: state that class string is constant. * dlls/comctl32/tab.c: Maxime Bellengé Fix TAB_DeleteItem and TAB_DeleteAllItems regressions introduced by the last TAB_InvalidateTabArea changes. Correct the indentation for these functions. * dlls/comctl32/status.c: Mike McCormack Don't use free'd pointer in status control - found by Valgrind. * dlls/kernel/tests/file.c: Ferenc Wagner Account for unique NT4 behaviour. Better error message. * files/directory.c: Gerald Pfeifer Remove unused variable wineW. * windows/win.c: Rein Klazes Use the extended window style for the previous style in the style changing/changed messages if WIN_SetWindowLong is called with GWL_EXSTYLE. * dlls/winmm/mmsystem.c: Robert Reif Only return the number of bytes requested. 2003-10-16 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20031016. ---------------------------------------------------------------- 2003-10-16 Alexandre Julliard * libs/wine/wine.def: Don't export the wine_pthread_* functions. * dlls/commdlg/cdlg32.c, dlls/dmloader/loaderstream.c, dlls/kernel/process.c, programs/notepad/dialog.c: Replaced a few more 0xffffffff by the appropriate constants. * dlls/msvcrt/dir.c, dlls/msvcrt/file.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/tests/shlfileop.c, dlls/version/install.c, dlls/winedos/int21.c, dlls/winmm/mmio.c, files/file.c, misc/registry.c, programs/avitools/aviinfo.c, programs/avitools/aviplay.c, programs/wcmd/directory.c, programs/winedbg/source.c, programs/winhelp/macro.c: Rolf Kalbermatter Use INVALID_FILE_ATTRIBUTES to test for failure of GetFileAttributesA/W and not -1 or 0xFFFFFFFF. * documentation/samples/config: Alex Pasadyn Add UseXRandR to sample config file. * dlls/oleaut32/typelib.c: The imported typelib name must be converted to Unicode. * dlls/ddraw/d3ddevice/mesa.c: Christian Costa Add support for all Z buffer depths that are lower that the current one. * configure, configure.ac: Recent versions of libXrandr depend on libXrender. * dlls/kernel/relay16.c, dlls/ntdll/relay.c, documentation/wine.conf.man: Fixed handling of relay and snoop include/exclude lists to behave as documented (based on a patch by Rein Klazes). * dlls/kernel/snoop16.c: Print thread id in snoop traces. * dlls/x11drv/Makefile.in, dlls/x11drv/desktop.c, dlls/x11drv/settings.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv_main.c, dlls/x11drv/xrandr.c, dlls/x11drv/xrandr.h, dlls/x11drv/xvidmode.c, dlls/x11drv/xvidmode.h: Alex Pasadyn - Added support for XRandR extension. - Added new debugging channels for resolution changing. - Streamlined resolution changing and removed duplicated code. * dlls/commdlg/Makefile.in, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg.h, dlls/commdlg/filedlg16.c, dlls/commdlg/filedlg95.c: Steven Edwards - Split Win16/32 file dialogs. - Remove support for Win16 style'd Win32 dialogs. 2003-10-15 Alexandre Julliard * programs/winedbg/debugger.h, programs/winedbg/memory.c: Get rid of the memory allocation macros, use real functions instead. * dlls/shlwapi/reg.c: Fixed cut&paste error. * dlls/comctl32/treeview.c: Adam Gundy Only send TVN_ITEMEXPANDING for items marked as having children. * dlls/winmm/lolvldrv.c, dlls/winmm/time.c, dlls/winmm/winejack/audio.c, dlls/winmm/wineoss/audio.c, dlls/winspool/info.c, graphics/x11drv/palette.c, programs/wineconsole/curses.c, programs/wineconsole/wineconsole.c, programs/winhelp/hlpfile.c: Oleg Prokhorov Another portion of HeapReAlloc fixes. * documentation/samples/win.ini: Dimitrie O. Paun Merge win.ini/[mci extensions] into the registry. * dlls/kernel/kernel32.spec, dlls/kernel/locale.c: Jon Griffiths Implemented FoldStringW. * include/wine/unicode.h, libs/unicode/Makefile.in, libs/unicode/fold.c, libs/unicode/wine_unicode.def: Jon Griffiths Added string folding support. * dlls/gdi/freetype.c: Marcus Meissner Specify fourcc codes for encodings directly, instead of using changing enum names. * programs/regapi/regapi.c: Gerald Pfeifer Remove unused variable commandSaveRegistry. * dlls/user/hook.c: Dmitry Timoshkov Fix an obvious typo in call_hook_AtoW. * dlls/oleaut32/.cvsignore, dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut.c, dlls/oleaut32/oleaut32.rc, dlls/oleaut32/oleaut32_Cz.rc, dlls/oleaut32/oleaut32_De.rc, dlls/oleaut32/oleaut32_Dk.rc, dlls/oleaut32/oleaut32_En.rc, dlls/oleaut32/oleaut32_Es.rc, dlls/oleaut32/oleaut32_Fr.rc, dlls/oleaut32/oleaut32_Hu.rc, dlls/oleaut32/oleaut32_It.rc, dlls/oleaut32/oleaut32_Nl.rc, dlls/oleaut32/oleaut32_No.rc, dlls/oleaut32/oleaut32_Sv.rc, dlls/oleaut32/oleaut32_Th.rc, dlls/oleaut32/resource.h, dlls/oleaut32/variant.h: Jon Griffiths Add resources for boolean strings in several languages. * dlls/winmm/mci.c: Dimitrie O. Paun Merge win.ini/[mci extensions] into the registry. * winedefault.reg: Dimitrie O. Paun A few more keys extracted from the old documentation/shell32. * documentation/installation-und-konfiguration.german: Dimitrie O. Paun Remove out-of-band installation-und-konfiguration.german. * configure, configure.ac: Regroup the X11 header checks to reduce the size of the generated configure a bit. * dlls/kernel/profile.c, files/directory.c, files/dos_fs.c, files/drive.c, include/drive.h: Get rid of the drive codepages and use CP_UNIXCP instead. * dlls/msvcrt/file.c, dlls/msvcrt/tests/cpp.c, include/wine/port.h, libs/port/spawn.c, programs/winemenubuilder/winemenubuilder.c, tools/winegcc/utils.c, tools/winegcc/utils.h, tools/winegcc/winewrap.c: Daniel Marmier Fixed warnings with gcc option "-Wwrite-strings". * objects/font.c: Dave Belanger Get Wine to behave like Windows does when Bold and/or Italic is specified in the typeface name argument to CreateFont. * configure, configure.ac, include/config.h.in: Alex Pasadyn Check for Xrandr extension. * dlls/msvcrt/dir.c, dlls/ntdll/string.c: Rewrote splitpath and wsplitpath to avoid modifying the path separators. * dlls/gdi/freetype.c: Dave Belanger Improved selection of freetype face charmap. * dlls/gdi/enhmfdrv/bitblt.c, dlls/gdi/enhmfdrv/init.c: Dave Belanger Implemented BitBlt, StretchBlt and SetDIBitsToDevice EMF driver callbacks. Cleaned up redundant code in EMFDRV_StretchDIBits. * libs/unicode/casemap.c, libs/unicode/cpmap.pl: Jon Griffiths Add generation of digit and compatability mapping tables. Generate smaller mapping tables by merging overlaps. * objects/dib.c: Dave Belanger In CreateDIBitmap, the fact that the bits init flag is set or not doesn't have anything to do with the color state of the DIB. 2003-10-14 Alexandre Julliard * programs/winedbg/dbg.y, programs/winedbg/debug.l, programs/winedbg/debugger.h, programs/winedbg/display.c, programs/winedbg/hash.c, programs/winedbg/info.c: Michal Janusz Miroslaw Extend displays: now one can add displays active only in specified function; displays now can be enabled/disabled like in gdb. * dlls/ole32/ifs.h, include/objbase.h, include/objidl.h, include/objidl.idl: Moved the 16-bit storage interfaces out of the exported headers. * documentation/running.sgml: Removed the --dll option. * documentation/Makefile.in, documentation/default.dsl: Dimitrie O. Paun Remove the default.dsl sheet -- the default is good enough. * dlls/comctl32/header.c, include/commctrl.h: Maxime Bellengé - Implemented HEADER_SetBitmapMargin and HEADER_GetBitmapMargin. - Get rid of some magic numbers in HEADER_DrawItem. - Fixed the drawing of images from imagelist when the HDF_BITMAP_ON_RIGHT flag is set. * dlls/comctl32/tab.c: Maxime Bellengé Only redraw the necessary area of the tab component and not the whole component like windows does. * graphics/x11drv/bitblt.c: Maxime Bellengé Prevent a crash with a BadDrawable X error message with some MaskBlt calls. * programs/winhelp/hlp2sgml.c: Gerald Pfeifer Remove unused variable debug_channels. * dlls/oleaut32/parsedt.c: Gerald Pfeifer Remove unused variables mdays, months, days, and DateStyle. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Fix Finnish keyboard layout to better match the XFree86 one. * dlls/commdlg/printdlg.c: Mike McCormack Pass the correct lparam when calling PageDlgProcA's PageSetupHook for WM_INITDIALOG. * dlls/avifil32/acmstream.c, dlls/avifil32/avifile.c: Michael Günnewig Fixed usage of GlobaReAlloc. * dlls/winmm/winmm.c: Robert Reif Free should not happen when still playing. * dlls/kernel/Makefile.in, dlls/kernel/kernel_main.c, dlls/kernel/locale.c, dlls/kernel/process.c, memory/codepage.c: Moved codepage functions to dlls/kernel. Changed initialisation of the locale functions so that CP_UNIXCP works as soon as possible during kernel32 init. * configure, configure.ac, dlls/gdi/Makefile.in, dlls/iphlpapi/ifenum.c, dlls/iphlpapi/ipstats.c, dlls/mshtml/mshtml.spec, dlls/msi/msi.spec, dlls/rpcrt4/Makefile.in, dlls/wininet/Makefile.in, dlls/wininet/internet.h, dlls/winsock/socket.c, include/config.h.in, include/wine/port.h, libs/wine/wine.def: Dmitry Timoshkov Fixed some problems found while compiling and linking Wine under Cygwin. * controls/listbox.c, dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/primary.c, dlls/kernel/editline.c, dlls/kernel/global16.c, dlls/kernel/resource16.c, dlls/kernel/snoop16.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/rpcrt4/rpc_server.c, dlls/setupapi/dirid.c, dlls/setupapi/setupx_main.c, dlls/user/message.c: Oleg Prokhorov Another portion of HeapReAlloc fixes. * dlls/kernel/instr.c, dlls/ntdll/signal_i386.c, dlls/winedos/dosvm.c, dlls/winedos/relay.c: Jukka Heinonen Remove races from DPMI async event handling. * dlls/ntdll/loader.c: Gerald Pfeifer Fix function pointer variable declaration in __wine_process_init(). * dlls/winmm/winealsa/audio.c: Oleg Prokhorov Small fix in sound flushing code. * dlls/kernel/debugger.c, dlls/kernel/except.c, dlls/kernel/process.c, dlls/ntdll/exception.c, dlls/ntdll/loader.c, include/wine/server_protocol.h, server/debugger.c, server/process.c, server/process.h, server/protocol.def, server/trace.c: Set or clear the BeingDebugged flag in the PEB when a debugger is attached to or detached from a process. Don't send exception events to the server unless a debugger is present. * configure, configure.ac, dlls/kernel/pthread.c, include/config.h.in, libs/wine/port.c: Added check for pthread.h (reported by Steven Edwards). Removed init_done check, the process heap is now created before kernel is loaded anyway. * dlls/msi/sql.y, tools/wrc/dumpres.c, tools/wrc/dumpres.h, tools/wrc/genres.c, tools/wrc/genres.h, tools/wrc/parser.l, tools/wrc/parser.y, tools/wrc/readres.c, tools/wrc/utils.c, tools/wrc/utils.h: Daniel Marmier Fixed warnings with gcc option "-Wwrite-strings". * dlls/x11drv/keyboard.c: Dmitry Timoshkov Fix some cases when 'keysym' might be left uninitialized. * dlls/winmm/winealsa/audio.c: Daniel Marmier ALSA_WaveInit: repaired device name. * loader/module.c: Dmitry Timoshkov Convert GetBinaryType to unicode. * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3dviewport.c: Christian Costa Add necessary AddRef/Release stuff to {Set/Get}CurrentViewport. When changing parameters of a viewport, do the appropriate update if it is current. * dlls/comctl32/tab.c: Vitaliy Margolen Fix setting size of tab control. 2003-10-12 Alexandre Julliard * scheduler/pthread.c: Moved the errno functions patching to wine_pthread_init_thread so that it's done early enough now that kernel is only loaded later on. * miscemu/Makefile.in: Link the main binary against libpthread for NPTL builds. 2003-10-11 Alexandre Julliard * dlls/kernel/process.c: Update __wine_main_argc after option processing. * dlls/dmusic/dmusic.c, programs/winedbg/hash.c, programs/winhelp/macro.c: Dimitrie O. Paun Fix some instances of memory allocation through HeapReAlloc(). * dlls/gdi/freetype.c, dlls/x11drv/xrender.c: Dave Belanger Implementation of underline and strikeout text in xrender. * objects/dib.c: Dave Belanger Improvement on the code that deals with setting the color map in GetDIBits. * dlls/*/Makefile.in: Dimitrie O. Paun Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. * Make.rules.in, configure, configure.ac, dlls/Makedll.rules.in, dlls/Maketest.rules.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in: Define an LDDLL command to link dlls, instead of using LDDLLFLAGS. * Makefile.in, dlls/Makefile.in, dlls/make_dlls, tools/winewrapper: We no longer need to link against ntdll in the Unix sense. 2003-10-10 Alexandre Julliard * dlls/ntdll/Makefile.in, miscemu/Makefile.in: Moved the pthread emulation into the main binary so that we don't need to link it against ntdll. * dlls/oleaut32/oleaut.c: Jon Griffiths Documentation update. * tools/winegcc/winewrap.c: Dimitrie O. Paun Have the wrapper load the used DLLs in case the main program calls them from constructors (with help from Alexandre Julliard). * dlls/kernel/process.c, include/wine/library.h, libs/wine/loader.c: Don't reference the environ global variable from kernel32, it may fail to link (reported by Gerald Pfeifer). * dlls/ntdll/loader.c: Fixed importing of dlls with no exports (reported by Warren Baird). Don't crash on an empty load order specification (reported by Maxime Bellengé). Try to avoid crashing when an import is missing for a builtin dll. * dlls/Makedll.rules.in: The intermediate .tmp.o file is no longer needed. DLLMAIN is not used anymore. * dlls/user/Makefile.in, dlls/user/user32.spec, dlls/user/user_main.c: Use the standard DllMain entry point. * dlls/Makedll.rules.in, dlls/Makefile.in, dlls/make_dlls: LDIMPORTS is no longer needed. * dlls/kernel/Makefile.in, dlls/kernel/kernel_main.c: We can now use the standard DllMain as entry point. * dlls/kernel/Makefile.in, dlls/ntdll/ntdll.spec: Link kernel32 as a normal dll. * libs/wine/port.c: Added placeholders for wine_pthread_init_process and wine_pthread_init_thread. * dlls/kernel/kernel32.spec, dlls/kernel/process.c, dlls/ntdll/heap.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/server.c, include/module.h, include/winternl.h, libs/wine/loader.c: Changed the init code to make libwine load only ntdll and transfer control to it, and then have ntdll load kernel32 using the normal loader mechanisms. Get rid of BUILTIN32_LoadExeModule. * dlls/gdi/enhmfdrv/dc.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/init.c: Dave Belanger Implementation of SetTextJustication EMF driver callback. * dlls/gdi/freetype.c: Dave Belanger Improved font glyph transformation support in GetGlyphOutline. * dlls/advapi32/service.c: Make sure we always use the same name for the semaphore (spotted by Ben A L Jemmett). * programs/wineconsole/curses.c: Peter Berg Larsen Changed debug channel to "curses" to seperate it from wineconsole.c and added some trace infomation. * dlls/msvcrt/tests/scanf.c: Uwe Bonnes Added test for %n. * dlls/msvcrt/scanf.h: Uwe Bonnes %n returns the number of consumed characters. 2003-10-09 Alexandre Julliard * dlls/kernel/process.c, dlls/ntdll/thread.c, include/winternl.h: Use the Rtl bitmap functions to implement Tls allocation. Get rid of the PDB structure. * dlls/kernel/wowthunk.c: We need to initialize the relay debug lists for +snoop too. * dlls/kernel/ne_segment.c, dlls/winedos/vga.c, files/directory.c: Oleg Prokhorov Avoid HeapReAlloc of a NULL pointer. * DEVELOPERS-HINTS: Dimitrie O. Paun Remove inexistent dir, add a doc reference from shell32. * dlls/shell32/pidl.c, dlls/shell32/shelllink.c, documentation/shell32: Dimitrie O. Paun Move useful information out of documentation/shell32. * dlls/kernel/kernel32.spec, dlls/kernel/sync.c: Mike McCormack Stub implementations for some functions related to RegisterWait. * programs/uninstaller/Makefile.in, programs/uninstaller/main.c: Mike McCormack Handle quoting on the command line in uninstaller. * dlls/winmm/wineoss/audio.c: Robert Reif Fixed SMPTE time. Fixed bad wave in position at startup and reset. * dlls/imagehlp/debug.c, dlls/imagehlp/imagehlp_main.c, include/imagehlp.h: Steven Edwards Bring imagehlp (mostly) inline with the PSDK and Mingw. * dlls/gdi/enhmfdrv/graphics.c: Dave Belanger Improved the bounding box calculation for the EMF driver ExtTextOut metarecord. It takes the text alignment into account. * dlls/ntdll/ntdll.spec: Added a few missing exports. * dlls/kernel/process.c, dlls/kernel/thread.c, dlls/ntdll/thread.c, include/thread.h: Moved the constructor for the initial TEB to ntdll so that it runs as early as possible on startup. * dlls/gdi/enhmfdrv/init.c, dlls/gdi/enhmfdrv/mapping.c: Dave Belanger Implementation of EMF driver OffsetViewportOrg and OffsetWindowOrg callbacks using the EMR_SETVIEWPORTORGEX and EMR_SETWINDOWORGEX metarecords respectively. * programs/wcmd/builtins.c, programs/wcmd/wcmd.h, programs/wcmd/wcmdmain.c, programs/winecfg/drive.c, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winedbg/db_disasm.c, programs/winedbg/dbg.y, programs/winedbg/debugger.h, programs/winedbg/gdbproxy.c, programs/winedbg/hash.c, programs/winedbg/info.c, programs/winedbg/types.c: Daniel Marmier Fixed warnings with gcc option "-Wwrite-strings". * configure, configure.ac, documentation/Makefile.in: Dimitrie O. Paun Use docbook2txt to generate the text output instead of adhoc hacks. * programs/wineconsole/wineconsole.c: Peter Berg Larsen Use CONSOLE_RENDERER_NONE_EVENT to compress an event instead of deleting it with a memmove. * programs/wineconsole/curses.c: Peter Berg Larsen The Tab key was considered a ctrl-key and Shift-Tab was ignored. 2003-10-08 Alexandre Julliard * dlls/kernel/syslevel.c, dlls/ntdll/ntdll.spec, dlls/ntdll/signal_i386.c, tools/winebuild/relay.c: Added __wine_set_signal_fs function to avoid sharing the SYSLEVEL_Win16CurrentTeb variable between kernel and ntdll. On the kernel side, replaced SYSLEVEL_Win16CurrentTeb by CallTo16_TebSelector stored directly in the asm relay code to avoid a run-time relocation. * dlls/kernel/relay16.c, dlls/kernel/snoop16.c, dlls/kernel/wowthunk.c, dlls/ntdll/relay.c: Duplicate parts of the relay debugging init code into kernel to avoid referencing ntdll internal symbols. * dlls/kernel/process.c, dlls/ntdll/env.c: Moved build_command_line back to kernel and make it handle Unicode properly. * dlls/dsound/capture.c, dlls/dsound/dsound_private.h, dlls/dsound/propset.c, dlls/dsound/tests/capture.c: Robert Reif Make capture more reliable by submitting all buffers before start. Added support for non pcm formats. Added more property set support. * dlls/ntdll/debugtools.c: Pavel Roskin Include ntdll_misc.h to get the GetCurrentProcess/ThreadId macros. * dlls/gdi/enhmfdrv/graphics.c: Dave Belanger Implementation of SetPixel metarecord. * dlls/gdi/enhmfdrv/init.c: Dave Belanger Avoid excessive heap memory reallocation when generating EMF metarecords in memory. * programs/wineconsole/wineconsole.c: Removed useless WINE_TRACE_ON tests. * programs/wineconsole/wineconsole.c: Peter Berg Larsen Moved debug output up before calling the backend. * dlls/ntdll/server.c, dlls/ntdll/virtual.c: Pavel Roskin Include ntdll_misc.h to get the GetCurrentProcess/ThreadId macros. * dlls/ntdll/heap.c: Pavel Roskin Eliminate dependency on SetLastError(). * dlls/gdi/wing.c, dlls/wininet/netconnection.c: Francois Gouget Some spelling fixes. * documentation/documentation.sgml: Francois Gouget Remove irrelevant (and incomplete) documentation in 'The Wine DocBook System' section. * dlls/ole32/storage.c: Warren Baird Dave Belanger Moved code out of assert statements so you can safely compile with -DNDEBUG. * dlls/winedos/interrupts.c, include/task.h: Mike McCormack Don't share some protected mode interrupts in winedos. * configure, configure.ac: Removed creation of loader/ne and win32 directories. * dlls/kernel/Makefile.in, dlls/kernel/console.c, dlls/kernel/device.c, dlls/kernel/process.c, dlls/kernel/sync.c, dlls/ntdll/Makefile.in, scheduler/handle.c: Moved a few more functions to the dlls/kernel directory. * dlls/kernel/Makefile.in, dlls/kernel/global16.c, dlls/kernel/heap.c, dlls/kernel/ne_module.c, dlls/kernel/process.c, dlls/kernel/string.c, dlls/kernel/task.c, dlls/kernel/thread.c, dlls/ntdll/Makefile.in, loader/task.c, memory/global.c, memory/heap.c, memory/string.c, scheduler/process.c, scheduler/thread.c: Link all remaining files that contain kernel APIs into kernel32.dll instead of ntdll.dll. Removed a number of no longer needed files. * include/module.h: Added hack to call CreateFileW through a pointer so that we don't need to link to kernel functions. Commented out SMB support in NtReadFile for now. * files/smb.c: Removed dependency on ntdll_misc.h. * dlls/kernel/process.c, dlls/ntdll/file.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/path.c: Added hack to call CreateFileW through a pointer so that we don't need to link to kernel functions. Commented out SMB support in NtReadFile for now. * dlls/ntdll/cdrom.c, dlls/ntdll/file.c, files/drive.c: Pass the cdrom device path in CDROM_InitRegistry so that ntdll doesn't need to call DRIVE_GetDevice. Get rid of GetDriveType calls. * include/wininet.h: Warren Baird Changed InternetSetStatusCallback declaration to InternetSetStatusCallbackA/W. * graphics/x11drv/bitblt.c: Warren Baird Handle cases where XGetImage or X11DRV_DIB_CreateXImage fail. * dlls/kernel/process.c, dlls/ntdll/server.c, include/options.h, misc/options.c: Get rid of the argv0 and full_argv0 global variables. * include/wine/library.h, libs/wine/config.c, libs/wine/loader.c: Added wine_get_argv0_path() to retrieve the path of the wine binary. * dlls/ntdll/loader.c, dlls/ntdll/virtual.c, files/file.c, include/wine/server_protocol.h, server/file.c, server/file.h, server/mapping.c, server/process.c, server/protocol.def, server/trace.c: Store a "removable" flag instead of the full drive type in the server file object; this way we don't need to use GetDriveTypeW in the loader code. Make sure we always have a valid builtin_load_info pointer. 2003-10-07 Alexandre Julliard * dlls/ntdll/loader.c, dlls/ntdll/loadorder.c, dlls/ntdll/ntdll_misc.h: Removed references to GetSystemDirectoryW. Optimized module lookup a bit. Keep track of the modref pointer across builtin dll loads to avoid having to look it up by name afterwards. * dlls/odbc32/proxyodbc.h, dlls/quartz/main.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_binding.h, dlls/shlwapi/reg.c, dlls/shlwapi/tests/path.c, dlls/shlwapi/tests/shreg.c, dlls/winmm/mcianim/mcianim.c, dlls/winmm/mciavi/info.c, dlls/winmm/mcicda/mcicda.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/winealsa/audio.c, dlls/winmm/wineoss/mixer.c: Daniel Marmier Fixed warnings with gcc option "-Wwrite-strings". * include/wincrypt.h: Warren Baird Added extern "C". * dlls/commdlg/printdlg.c, dlls/setupapi/devinst.c, dlls/winmm/joystick.c, include/setupapi.h: Steven Edwards Remove a few unneeded include statements in internal headers. Started bringing setupapi in line with PSDK. * programs/regsvr32/regsvr32.c: Mike McCormack When registering a dll, search the dll's directory for dll dependencies too. * configure, configure.ac, dlls/ntdll/cdrom.c, include/config.h.in: Rein Klazes Added a check for and include it in dlls/ntdll/cdrom.c. * dlls/msvcrt/tests/file.c: Uwe Bonnes Added some tests around fget(w)s. * dlls/msvcrt/file.c: Uwe Bonnes fget(w)s(): Don't drop characters when buffer is not large enough. * dlls/msvcrt/file.c: Uwe Bonnes _write(): Don't fragment WriteFile() for TEXT mode write. * dlls/ntdll/loader.c: Rewrite of the dll file search algorithm to better deal with the broken behavior of RtlDosSearchPath_U. * dlls/ntdll/path.c: A couple more fixes in RtlGetFullPathName_U. Reverted my previous fix in RtlDosSearchPath_U, extension handling is supposed to be broken. * dlls/user/focus.c, include/wine/server_protocol.h, server/protocol.def, server/request.h, server/trace.c, server/window.c, windows/winpos.c: Store the global shell, progman and taskman windows in the server (based on a patch by Martin Fuchs). * dlls/msvcrt/file.c: Uwe Bonnes _read(): In _O_TEXT mode make Readfile calls in chunks as big as possible. * dlls/gdi/enhmfdrv/dc.c: Dave Belanger Spit out EMR_RESTOREDC metarecords with -1 as argument as long as we don't get to the saved state we want. * dlls/winedos/interrupts.c: Jukka Heinonen Use correct pointer when accessing real mode interrupt vectors under Win16. * dlls/d3d8/drawprim.c, dlls/d3d8/surface.c: Jason Edmeades DXTn stride is to the next block, which is the equivalent to 4 rows worth of bytes. * dlls/advapi32/crypt.c, dlls/cabinet/cabextract.c, dlls/comctl32/header.c, dlls/comctl32/listview.c, dlls/comctl32/rebar.c, dlls/dinput/device.c, dlls/dplayx/dplay.c, dlls/dplayx/dplobby.c, dlls/winsock/tests/sock.c: Daniel Marmier Fixed warnings with gcc option "-Wwrite-strings". 2003-10-06 Alexandre Julliard * dlls/kernel/process.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, include/module.h, include/winternl.h: Moved the final process init and dependency loading to dlls/ntdll/loader.c, (ab)using the LdrInitializeThunk entry point. * dlls/user/resources/version.rc, dlls/winmm/winmm_res.rc: Vincent Béron Change resources from last language file used to LANG_NEUTRAL. * dlls/msvcrt/cpp.c: Uwe Bonnes MSVCRT___RTDynamicCast: Reject a NULL cppobj. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/typelib.c, dlls/oleaut32/variant.c: Daniel Marmier Fixed warnings with gcc option "-Wwrite-strings". * dlls/kernel/kernel32.spec, memory/codepage.c: Jon Griffiths Implemented GetCPInfoExA/W. Documentation updates. * tools/bin2res.c: Pavel Roskin Read and write binary files in binary mode on Windows. * include/tmschema.h: Kevin Koltzau Added missing defines and fixed a few typos. * dlls/ntdll/nt.c: Alex Pasadyn Fix buffer length error code for NtQueryInformationToken. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/helper.c, dlls/ddraw/main.c, dlls/ntdll/tests/path.c, dlls/ntdll/tests/rtlstr.c, dlls/ole32/compobj.c, dlls/user/tests/sysparams.c, dlls/winmm/lolvldrv.c, dlls/winmm/mci.c, windows/dialog.c, windows/spy.c, windows/sysparams.c, windows/winpos.c: Daniel Marmier Fixed warnings with gcc option "-Wwrite-strings". * tools/wrc/dumpres.c: Vincent Béron Get rid of useless comment (empty function header). 2003-10-04 Alexandre Julliard * programs/cmdlgtst/.cvsignore, programs/cmdlgtst/Makefile.in, programs/cmdlgtst/cmdlgr.rc, programs/notepad/Nl.rc, programs/progman/Pt.rc, programs/regedit/Makefile.in, programs/view/En.rc, programs/view/Es.rc, programs/view/Fr.rc, programs/view/It.rc, programs/view/Pt.rc, programs/view/Ru.rc, programs/view/Si.rc, programs/wcmd/.cvsignore, programs/wcmd/En.rc, programs/wcmd/Fr.rc, programs/wcmd/Makefile.in, programs/wcmd/Pt.rc, programs/wcmd/Ru.rc, programs/wcmd/Si.rc, programs/wcmd/wcmdrc.rc, programs/winefile/.cvsignore, programs/winefile/Makefile.in, programs/winefile/resource.rc, programs/winemine/.cvsignore, programs/winemine/Makefile.in, programs/winemine/rsrc.rc: Pavel Roskin Convert resources to standard format without embedded binary data. Fixes to be compatible with windres. * dlls/gdi/freetype.c: Dave Belanger Improved generation of font signature from freetype face charmaps. * dlls/kernel/process.c, dlls/ntdll/env.c, dlls/ntdll/loadorder.c, dlls/ntdll/version.c, files/drive.c, include/drive.h, include/file.h, include/module.h, include/wine/server_protocol.h, server/process.c, server/protocol.def, server/trace.c: Converted process creation to Unicode. * dlls/gdi/freetype.c: Dave Belanger Face families are in the top 4 bits of lfPitchAndFamily, so mask with 0xF0 before testing. * dlls/user/Makefile.in, dlls/user/resources/user32.rc, dlls/user/resources/user32_bin.rc, dlls/user/resources/user32_bitmaps.rc, dlls/user/resources/user32_cursors.rc, dlls/user/resources/user32_icons.rc: Dimitrie O. Paun Merge all binary resources for user32 in one file. * configure, configure.ac, dlls/Makefile.in, dlls/uxtheme/.cvsignore, dlls/uxtheme/Makefile.in, dlls/uxtheme/main.c, dlls/uxtheme/uxtheme.spec, include/Makefile.in, include/uxtheme.h: Kevin Koltzau Initial implementation of uxtheme.dll, mostly stubbed out for now. * dlls/ntdll/env.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, include/winternl.h: Implemented RtlCreateProcessParameters and related functions. * programs/uninstaller/.cvsignore, programs/uninstaller/Makefile.in, programs/uninstaller/rsrc.rc: Pavel Roskin Use a better icon. Comment out the binary resource. * programs/progman/En.rc, programs/progman/Nl.rc, programs/progman/rsrc.rc: Hans Leidekker Dutch translation of progman. Correct typo in English resources. * dlls/gdi/driver.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/graphics.c, dlls/gdi/enhmfdrv/init.c, dlls/gdi/mfdrv/init.c, include/gdi.h, objects/dc.c: Dave Belanger Implemented the SetArcDirection metarecord in EMF driver. * programs/winemine/main.c: Pavel Roskin Don't pass unused pointers to RegCreateKeyEx() - this prevents score saving on Windows 2000. * dlls/ntdll/path.c: Eric Pouech Fixed a couple of bugs in RtlGetFullPathName_U. * programs/winhelp/winhelp.c: Pavel Roskin Set win_style of the main window to WS_OVERLAPPEDWINDOW. * dlls/kernel/dosmem.c, dlls/winedos/int19.c, dlls/winedos/interrupts.c: Jukka Heinonen Reboot (int19) under DOS now does ExitProcess. Made BIOS reboot vector call int19. * dlls/ntdll/relay.c: Uwe Bonnes SNOOP_ShowDebugmsgSnoop(): check for NULL function name. * dlls/avifil32/Makefile.in, dlls/avifil32/api.c, dlls/avifil32/avifil32.spec, dlls/avifil32/avifile.c, dlls/avifil32/avifile_private.h, dlls/avifil32/editstream.c, dlls/avifil32/getframe.c: Michael Günnewig - First part of a new IAVIEditStream implementation. - Fixed/Added some parameter checking. - Fixed bug in EditStreamSetInfoW. - Fixed bug in avifil32.spec (str instead of wstr). - Fixed cosmetic bug in IAVIStreamImpl_fnRelease. - Fixed typo. * dlls/commdlg/printdlg.h, dlls/commdlg/printdlg16.c, dlls/ntdll/tests/error.c, dlls/ntdll/tests/large_int.c, dlls/ntdll/tests/rtlstr.c, dlls/ntdll/tests/string.c, dlls/opengl32/opengl_ext.h, dlls/winmm/mciavi/wnd.c: Michael Günnewig Fixed warnings with gcc option "-Wwrite-strings". 2003-10-03 Alexandre Julliard * Make.rules.in, dlls/comctl32/.cvsignore, dlls/comctl32/Makefile.in, dlls/comctl32/rsrc.rc, dlls/commdlg/.cvsignore, dlls/commdlg/Makefile.in, dlls/commdlg/cdlg_xx.rc, dlls/ole32/.cvsignore, dlls/ole32/Makefile.in, dlls/ole32/ole32res.rc, dlls/shell32/.cvsignore, dlls/shell32/Makefile.in, dlls/shell32/shres.rc, dlls/user/Makefile.in, dlls/user/resources/.cvsignore, dlls/user/resources/display.rc, dlls/user/resources/user32_bitmaps.rc, dlls/user/resources/user32_cursors.rc, dlls/user/resources/user32_icons.rc, programs/regedit/.cvsignore, programs/regedit/Makefile.in, programs/regedit/resource.rc, programs/winecfg/.cvsignore, programs/winecfg/Makefile.in, programs/winecfg/winecfg.rc: Dimitrie O. Paun Extract binary resources to files, to fit the standard. * dlls/ntdll/cdrom.c: Avoid closing the cdrom if we failed to open it. * dlls/d3d8/d3d8_private.h, dlls/d3d8/directx.c: Jason Edmeades Check for advertized vertex blend support before querying device capabilities, which silences issues about vertex blending. * dlls/oleaut32/tests/vartest.c: Jon Griffiths Tests for recent variant changes. * dlls/ntdll/cdrom.c: Pavel Roskin Add support for SCSI CD-ROMs to CDROM_GetInterfaceInfo(). Fix device number for IDE CD-ROMs. Return 0 for unsupported drives. * configure, configure.ac, include/config.h.in: Pavel Roskin Added check for scsi/scsi_ioctl.h. * dlls/msi/msi.spec: Mike McCormack Fixed msi spec file. * scheduler/pthread.c: A couple of new functions have been added to the pthread_functions structure. * dlls/x11drv/window.c: We only need to check for same process siblings in desktop mode for top-level windows. * dlls/oleaut32/variant.c, dlls/oleaut32/variant.h: Jon Griffiths Add VarParseNumFromStr()/VarNumFromParseNum(), use them for conversions. VariantInit(): Only touch V_VT field. VariantClear(): Support IRecordInfo, don't free null bstrs. Add support for upcoming vtypes, remove dead code, docs. * dlls/d3d8/device.c, dlls/d3d8/drawprim.c: Jason Edmeades Minor fixes - Remove light debug statements, handle disabled specular material properly, release surfaces when debugging and clean up trace a little. * libs/wine/debug.c, tools/fnt2bdf.c, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/relay.c, tools/winebuild/spec16.c: Daniel Marmier Fixed warnings with gcc option "-Wwrite-strings". * programs/regapi/regSet.sh: Gerald Pfeifer This is actually a /bin/sh script, /bin/bash is not needed. Check whether the two input files exists instead of assuming they do. * tools/bin2res.c: Dimitrie O. Paun Make bin2res silent by default. * include/Makefile.in, include/commctrl.h, include/tmschema.h, include/winuser.h: Kevin Koltzau Added tmschema.h and some other theme defines. * files/file.c: Pavel Roskin Implemented GetCompressedFileSize[AW]. * configure, configure.ac, include/config.h.in: Pavel Roskin Added check for st_blocks in struct stat. 2003-10-02 Alexandre Julliard * dlls/kernel/process.c, dlls/ntdll/loader.c, files/directory.c, include/file.h, loader/module.c: Changed LdrLoadDll to only search for the dll in the specified path, using ntdll functions. Moved LOAD_WITH_ALTERED_SEARCH_PATH functionality to LoadLibraryEx where it belongs. * dlls/x11drv/window.c: In desktop mode, only move the window in Z-order relative to siblings belonging to the same process. * files/drive.c: Hack to update ntdll current directory value in DRIVE_Chdir. * dlls/ntdll/path.c: Fixed a couple of bugs in RtlDosSearchPath_U and RtlGetFullPathName_U. Make RtlDoesFileExists_U do something useful by calling CreateFileW for now. * dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/msg.c, documentation/gui: Dimitrie O. Paun Move the message sequences documented in documentation/gui into a unit test. * dlls/user/resources/TODO: Dimitrie O. Paun Removed obsolete TODO file. * dlls/shdocvw/shdocvw_main.c: Rolf Kalbermatter SHDOCVW_118 (ShellDDEInit) is really a dynamic forward to SHELL32_188. * dlls/shell32/shpolicy.c, dlls/shell32/undocshell.h, include/shlobj.h: Rolf Kalbermatter Moved definition of newly documented API SHRestricted() and the according policy definitions to shlobj.h. Replace the policy numeric values with the new official defines and change SHRestricted() to match the new documented prototype. * dlls/ntdll/time.c, tools/wmc/write.c: Gerald Pfeifer Cast time_t parameters to fprintf(...,"%l",...) to long. * dlls/x11drv/keyboard.c: Salmela <9700584@cs.stadia.fi> Updated Finnish keyboard layout. * documentation/Makefile.in: Gerald Pfeifer Remove obsolete "status" directory from EXTRASUBDIRS. * programs/notepad/Nl.rc, programs/notepad/rsrc.rc: Hans Leidekker Added Dutch translation. * dlls/shell32/shellpath.c: Mike McCormack Change a MESSAGE about creating a directory to a TRACE. * dlls/comctl32/propsheet.c: Pavel Roskin Ignore window caption from PROPSHEETHEADER in wizards. Update window caption when changing pages. * documentation/winelib-bindlls.sgml, documentation/winelib-mfc.sgml, documentation/winelib-porting.sgml, documentation/winelib-user.sgml: Dimitrie O. Paun Add author list as with the other guides. Small cleanups. * dlls/odbc32/proxyodbc.c: Dimitrie O. Paun Tidy up the notes for the ODBC driver. * include/mmddk.h: Robert Reif Added some missing defines. Moved Wine only defines to not conflict. 2003-10-01 Alexandre Julliard * server/registry.c, server/trace.c, tools/make_requests: Gerald Pfeifer Cast time_t to long for printing. * dlls/advapi32/security.c, dlls/gdi/wing.c, dlls/kernel/atom.c, dlls/ntdll/large_int.c, dlls/shlwapi/string.c, loader/module.c: Jon Griffiths Documentation updates. * dlls/advapi32/crypt.c, dlls/commdlg/printdlg16.c, dlls/ole32/clipboard.c, dlls/ole32/filemoniker.c: Michael Stefaniuc Fix missing mem freeing on error path. * tools/bin2res.c: Dimitrie O. Paun Teach bin2res to deal with one file at a time. * dlls/kernel/kernel32.spec, dlls/kernel/locale.c: Mike McCormack Stubs for Get/SetUserGeoID(). * dlls/shlwapi/tests/.cvsignore, dlls/shlwapi/tests/Makefile.in, dlls/shlwapi/tests/clsid.c, dlls/shlwapi/tests/string.c: Jon Griffiths New tests for shlwapi string and clsid functions. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/url.c: Jon Griffiths Add @405/406, document URL functions. Fix MLLoadLibraryW prototype. * tools/c2man.pl: Jon Griffiths Ensure we generate for -noname ordinals documented as '@'. * dlls/dsound/capture.c, dlls/dsound/dsound.spec, dlls/dsound/dsound_main.c: Robert Reif Fixed some traces. Fixed spec file to match Microsoft dll. * dlls/shell32/shell32_main.c: Pavel Roskin Make it possible to close the "About Wine" dialog by pressing Escape. * programs/clock/Nl.rc, programs/clock/rsrc.rc, programs/cmdlgtst/Nl.rc, programs/cmdlgtst/cmdlgr.rc: Hans Leidekker Dutch translation of clock and cmdlgtst. * programs/winhelp/macro.c: Pavel Roskin Correctly set openfilename.lStructSize before calling GetOpenFileName(). 2003-09-30 Alexandre Julliard * dlls/kernel/process.c, dlls/kernel/toolhelp.c, dlls/ntdll/env.c, dlls/ntdll/loader.c, dlls/ntdll/nt.c, dlls/psapi/psapi_main.c, include/wine/server_protocol.h, programs/winedbg/debugger.h, programs/winedbg/gdbproxy.c, programs/winedbg/winedbg.c, server/debugger.c, server/process.c, server/process.h, server/protocol.def, server/trace.c: Store module names in Unicode in the server. * dlls/gdi/bidi.c, dlls/iphlpapi/ipstats.c, dlls/kernel/pthread.c, dlls/msvcrt/process.c, dlls/winsock/async.c, dlls/winsock/socket.c, include/pshpack1.h, include/pshpack2.h, include/pshpack4.h, include/pshpack8.h, include/winnt.h, scheduler/pthread.c, tools/winapi/winapi_test: Daniel Marmier Use #ifdef instead of #if for all feature tests. Check that _MSC_VER is defined before using it. * dlls/ddraw/ddraw/user.c, dlls/x11drv/desktop.c, dlls/x11drv/xvidmode.c: Alex Pasadyn - Add more logging to resolution changes and queries. - Always enumerate and allow 8, 16, and 32-bit modes. - Add more default choices to Wine desktop sizes. - Renamed some variables to make things easier to follow. * dlls/olesvr/olesvr.spec, dlls/olesvr/olesvr32.spec, dlls/olesvr/olesvr_main.c: Pavel Roskin Implement stubs for OleRenameServerDoc, OleRevertServerDoc and OleSavedServerDoc and their 16-bit equivalents. * dlls/ddraw/d3ddevice/mesa.c: Christian Costa Small lighting fix. * tools/wineshelllink: Francois Gouget Return 2 in case of a usage error. Use -z instead of comparing to an empty string. * programs/winecfg/En.rc, programs/winecfg/Makefile.in, programs/winecfg/appdefaults.c, programs/winecfg/drive.c, programs/winecfg/main.c, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c: Mike Hearn Move Applications tab before Libraries tab. Improve return_if_fail. Partly implement appdefaults UI. Replace usage of EnableWindow with clearer enable/disable macros. * dlls/shell32/shell32_En.rc, dlls/shell32/shell32_Fr.rc, dlls/shell32/shres.rc: Vincent Béron Extract localisable resources from shres.rc to proper language file. * dlls/ole32/compositemoniker.c, dlls/ole32/filemoniker.c, dlls/ole32/ole16.c: Michael Stefaniuc Fixes for memory leaks on error path. One fix for use of previous released pointer. * dlls/commdlg/colordlg.c: Michael Stefaniuc Fix memory leaks on error path. * dlls/winedos/devices.c, dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int09.c, dlls/winedos/int10.c, dlls/winedos/int16.c, dlls/winedos/int1a.c, dlls/winedos/timer.c: Jukka Heinonen Use correct linear pointer when accessing BIOS data area. * dlls/kernel/version.rc: Robert Shearman Set version of kernel32 to Windows 2000 SP4. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/stateblock.c: Jason Edmeades MaxActiveLights means number of concurrent lights, but any number can be set up. Change support for lights into a linked list and only set up an equivalent gl light when the light is enabled. * dlls/d3d8/surface.c: Jason Edmeades Make unlock of the backbuffer correctly restore the contents. * dlls/shell32/shell32.spec, dlls/shell32/shellpath.c: Rolf Kalbermatter Added IsLFNDriveA/W/AW exports and two more stubs. 2003-09-29 Alexandre Julliard * dlls/kernel/relay16.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/relay.c, files/directory.c, include/file.h, include/winternl.h: Converted most of the loader code to Unicode. * tools/wineinstall: Try to catch the case of a non-writable source directory before running configure. * tools/wrc/parser.y: Fixed handling of Unicode strings used as filenames (reports by Martin Fuchs). * dlls/dplayx/dplayx_messages.c, dlls/imm32/imm.c, dlls/kernel/lcformat.c, dlls/kernel/tests/comm.c, dlls/kernel/tests/locale.c, dlls/oleaut32/dispatch.c, dlls/shell32/pidl.c, dlls/shell32/shlfolder.c, documentation/README.it, documentation/cvs-regression.sgml, documentation/debugging.sgml: Francois Gouget Some spelling fixes. Fix the case of WineHQ. * dlls/shell32/shell32_En.rc, dlls/winmm/winmm_En.rc: Vincent Béron Change some resources from LANG_NEUTRAL to LANG_ENGLISH. * tools/c2man.pl, tools/winapi/winapi.pm, tools/winapi_check/modules.dat: Francois Gouget Update winapi and c2man so they know about -ret16. Remove support for the obsolete pascal16 and -noimport. Update modules.dat so winapi knows about the new dlls. * documentation/HOWTO-winelib: Dimitrie O. Paun Remove the obsolete Winelib HOWTO and DDE status. * dlls/msacm/msacm.rc, dlls/msacm/msacm_En.rc, dlls/msacm/msacm_Fr.rc: Vincent Béron Extract localisable resources from msacm resource file. * programs/winemine/En.rc, programs/winemine/Es.rc, programs/winemine/Fr.rc, programs/winemine/Pt.rc, programs/winemine/Si.rc: Pavel Roskin Widen the "About" dialog to prevent wrapping of text. * programs/winemine/dialog.c, programs/winemine/main.c: Pavel Roskin Fix processing of IDCANCEL command. Don't change settings if the user canceled the "Custom" dialog. * dlls/d3d9/version.rc: Tom Wickline Set version to 9. * dlls/dplayx/dplaysp.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplayx_main.c, dlls/dplayx/dplobby.c, dlls/dplayx/lobbysp.c, dlls/dplayx/name_server.c: Tom Wickline Remove obsolete information. 2003-09-27 Alexandre Julliard * dlls/kernel/ne_module.c, dlls/kernel/process.c, dlls/ntdll/loader.c, dlls/ntdll/loadorder.c, include/module.h: Converted the load order code to use Unicode throughout. * include/wine/unicode.h: Added strspnW and strcspnW. * dlls/shell32/shlfileop.c, dlls/shell32/tests/shlfileop.c: Rolf Kalbermatter Fix a return value in SHFileOperation and add some extra tests to internal helper functions necessary to deal with shortcomings of kernel32 functions for the time being. * dlls/user/user32.spec, include/winuser.h, windows/class.c: Dmitry Timoshkov Implemented RealGetWindowClass. * dlls/msvcrt/file.c: _tempnam and _wtempnam should not create the temp file (reported by Wim Vanderbauwhede). * tools/winedump/ne.c: Added dumping of the resident name table of NE files. * dlls/ttydrv/ttydrv_main.c, dlls/x11drv/x11drv_main.c, programs/winevdm/winevdm.c: Make sure all 16-bit system drivers are loaded for 16-bit apps. * dlls/Makefile.in, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/comm.drv.spec, dlls/kernel/comm.spec, dlls/user/.cvsignore, dlls/user/Makefile.in, dlls/user/display.drv.spec, dlls/user/display.spec, dlls/user/keyboard.drv.spec, dlls/user/keyboard.spec, dlls/user/mouse.drv.spec, dlls/user/mouse.spec: Renamed comm.dll, display.dll, keyboard.dll and mouse.dll to use the .drv extension. * dlls/setupapi/queue.c: Michael Stefaniuc Due to a misplaced "}" memory wasn't freed on the error path. * programs/notepad/dialog.c, programs/regapi/regapi.c, programs/regtest/regtest.c: Michael Stefaniuc Fix some memory leaks found by smatch. * dlls/shell32/shell.c: Eric Pouech Fix both a warning and some nasty crashes... * dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/suminfo.c: Mike McCormack Remove references to HEAP_strdupAtoW. * dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplay.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplayx_main.c, dlls/dplayx/dplayx_messages.c, dlls/dplayx/dplayx_queue.h: Dimitrie O. Paun Merge documentation/status/directplay into the code. * dlls/ddraw/ddraw/main.c: Dimitrie O. Paun Merge documentation/status/directdraw into the ddraw code. * dlls/version/info.c, dlls/version/install.c: Dimitrie O. Paun Merge documentation/status/version into the version code. * dlls/lzexpand/lzexpand_main.c: Dimitrie O. Paun Merge documentation/status/lzexpand into the lzexpand source. * programs/start/Es.rc, programs/start/rsrc.rc: José Manuel Ferrer Ortiz Added Spanish resources. * dlls/dsound/tests/.cvsignore, dlls/dsound/tests/Makefile.in, dlls/dsound/tests/capture.c, dlls/dsound/tests/dsound.c: Robert Reif Remove capture tests from dsound.c and place them in a new file capture.c. * dlls/winmm/wineoss/audio.c: Robert Reif Allow wave emulated capture while doing hardware accelerated playback. * include/msi.h, include/msiquery.h: Mike McCormack Added AW defines to msi.h and msiquery.h. 2003-09-26 Alexandre Julliard * tools/winebuild/spec32.c: Store the dll name for the export directory inside the exported names list. * loader/module.c: Avoid depending on MODULE_GetBinaryType in load_library_as_datafile. * dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c, files/directory.c: The "Path" value of the "App Paths" entry should be handled in ShellExecute by changing PATH in the new process, instead of being done in SearchPath. * dlls/commdlg/commdlg.spec, dlls/ctl3d/ctl3d.spec, dlls/ctl3d/ctl3dv2.spec, dlls/gdi/dispdib.spec, dlls/gdi/gdi.exe.spec, dlls/gdi/wing.spec, dlls/kernel/krnl386.exe.spec, dlls/kernel/system.drv.spec, dlls/kernel/toolhelp.spec, dlls/kernel/win87em.spec, dlls/lzexpand/lzexpand.spec, dlls/msacm/msacm.spec, dlls/msvideo/msvideo.spec, dlls/ole32/compobj.spec, dlls/ole32/ole2.spec, dlls/ole32/ole2nls.spec, dlls/olecli/olecli.spec, dlls/setupapi/setupx.spec, dlls/shell32/shell.spec, dlls/user/ddeml.spec, dlls/user/display.spec, dlls/user/keyboard.spec, dlls/user/mouse.spec, dlls/user/user.exe.spec, dlls/win32s/w32sys.spec, dlls/win32s/win32s16.spec, dlls/winaspi/winaspi.spec, dlls/wineps/wineps16.drv.spec, dlls/winmm/mmsystem.spec, dlls/winmm/sound.spec, dlls/winnls/winnls.spec, dlls/winsock/winsock.spec, dlls/wintab32/wintab.spec, tools/winebuild/parser.c, tools/winebuild/winebuild.man.in: Dimitrie O. Paun Remove the obsolete pascal16 (replaced by pascal -ret16). * dlls/x11drv/desktop.c: Michael Stefaniuc Fixed missing wine_tsx11_unlock() on error path. 2003-09-25 Alexandre Julliard * dlls/ntdll/loader.c, include/module.h: Moved WINE_MODREF definition to loader.c. Removed short module name from WINE_MODREF, Windows doesn't have it. Rewrote LdrGetDllHandle to only use Unicode. * dlls/quartz/filesource.c, dlls/quartz/pin.c, dlls/quartz/pin.h, dlls/quartz/quartz_private.h: Robert Shearman - A few cosmetic fixes. - Various bug fixes. - Add some OutputPin helpers. - Add a new type of pin, PullPin. * documentation/implementation.sgml, documentation/wine-devel.sgml, documentation/wine.texinfo: Dimitrie O. Paun Merge the non-obsolete bits from wine.texinfo into the Wine Developers Guide. * programs/cmdlgtst/En.rc, programs/cmdlgtst/Fr.rc, programs/cmdlgtst/It.rc, programs/cmdlgtst/Pt.rc, programs/cmdlgtst/Ru.rc, programs/cmdlgtst/Si.rc: Pavel Roskin Fix checkboxes in the "Color dialog flags" dialogs. They would not change state. * dlls/serialui/Es.rc, dlls/serialui/serialui_rc.rc, dlls/setupapi/Es.rc, dlls/setupapi/setupapi.rc: José Manuel Ferrer Ortiz Added Spanish resources. * dlls/kernel/ne_module.c, dlls/kernel/process.c, dlls/ntdll/Makefile.in, dlls/ntdll/loader.c, dlls/ntdll/loadorder.c, dlls/ntdll/ntdll_misc.h, documentation/wine.man.in, include/module.h, loader/loadorder.c, misc/options.c, tools/runtest: Moved loadorder support to dlls/ntdll. Removed the --dll option and replaced it by the WINEDLLOVERRIDES environment variable. * scheduler/pthread.c: Ignore __pthread_rwlock_unlock call if the pthread functions are not initialized yet. * dlls/advapi32/tests/registry.c, dlls/kernel/tests/console.c, dlls/kernel/tests/file.c, dlls/msvcrt/tests/scanf.c, dlls/netapi32/tests/access.c, dlls/netapi32/tests/wksta.c, dlls/ntdll/tests/rtlstr.c, dlls/shlwapi/tests/clist.c, dlls/shlwapi/tests/path.c, dlls/wininet/tests/http.c: Jon Griffiths Various test fixes for XP/msvc. * dlls/shell32/pidl.c, dlls/shell32/shell32.spec: Rolf Kalbermatter Add some comments to functions and minor fixes. Export already existing (but still undocumented) functions ILCreateFromPathA/W. * dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/utility.c: Mike McCormack Use unions instead of defines in async work requests. * documentation/cvs-regression.sgml: Richard Cohen - "wine-cvsdirs" should be "full-cvs". - Removed unnecessary 'cd'. * dlls/winmm/wineoss/audio.c: Robert Reif Avoid divide by zero if the sound driver returns 0 for speed. * dlls/d3d8/shader.c: Jason Edmeades Add real support for VS1.1, ie make the relative addressing mode work. * dlls/d3d8/directx.c, dlls/d3d8/drawprim.c: Jason Edmeades The 'w' component is used more than just for the vertex, so we cannot do the projection mapping ourselves. Also tidy up a tracepoint, and preinitialize the shaders output as windows seems to. * programs/uninstaller/main.c: Pavel Roskin Call HeapAlloc() on entries before HeapReAlloc() to avoid crash on Windows 2000. * programs/control/control.c: Pavel Roskin Fix processing of the command line. 2003-09-24 Alexandre Julliard * Make.rules.in, dlls/Makedll.rules.in, dlls/Maketest.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/ntdll/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in, include/Makefile.in, libs/Makelib.rules.in, libs/port/Makefile.in, libs/uuid/Makefile.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in: Moved DLLFLAGS to a separate variable instead of including it in DEFS. * dlls/msvcrt/environ.c: Rewrote getenv and _wgetenv to avoid returning a pointer to a freed memory block. * configure, configure.ac, include/config.h.in, include/wine/port.h, libs/port/spawn.c: Pavel Roskin Added configure check for spawnvp(). * dlls/kernel/tests/locale.c: Jon Griffiths More locale tests. * dlls/kernel/kernel32.spec, dlls/kernel/locale.c: Jon Griffiths Add LanguageGroup/GeoID enumeration fns. Add some reg entries from XP. SetLocaleInfo(): Set 2 I-values from S-values. Optimise code size, fix a few bugs, documentation. * dlls/msvcrt/tests/.cvsignore, dlls/msvcrt/tests/Makefile.in, dlls/msvcrt/tests/cpp.c: Jon Griffiths Added tests for cpp objects/RTTI. * dlls/kernel/Makefile.in, dlls/kernel/process.c, dlls/kernel/version.c, dlls/ntdll/Makefile.in, dlls/ntdll/rtl.c, dlls/ntdll/version.c, files/drive.c, include/winbase.h, include/windef.h, include/wine/winbase16.h, include/winnt.h, include/winternl.h, misc/version.c: Moved the Windows version code to dlls/ntdll, and implemented RtlGetVersion and RtlVerifyVersionInfo. Moved the 16-bit and DOS version support to dlls/kernel. * dlls/ntdll/error.c, dlls/shlwapi/clist.c, dlls/shlwapi/istream.c, dlls/shlwapi/wsprintf.c: Jon Griffiths Documentation updates. * dlls/oleaut32/oleaut.c, dlls/oleaut32/oleaut32.spec: Jon Griffiths Document BSTR functions, add SetOANoCache(). * tools/winebuild/res16.c: Jon Griffiths MSVC warning fix. * libs/port/mkstemps.c: Jon Griffiths Portability fix. * documentation/configuring.sgml, documentation/documentation.sgml, documentation/wine-faq.sgml, documentation/wine-user.sgml, documentation/winelib-user.sgml: Dimitrie O. Paun Small cleanups, remove references to authors.ent. 2003-09-23 Alexandre Julliard * dlls/kernel/pthread.c, include/wine/pthread.h, scheduler/pthread.c: Juraj Hercek Eric Frias Implemented pthread conditions. * include/winuser.h: Juraj Hercek Added SS_ENDELLIPSIS. * documentation/authors.ent, documentation/configuring.sgml, documentation/fonts.sgml, documentation/introduction.sgml, documentation/printing.sgml, documentation/running.sgml, documentation/wine-doc.sgml, documentation/wine-user.sgml: Dimitrie O. Paun Move authors to the wine-user.sgml. Remove unused files. * libs/port/pread.c, libs/port/pwrite.c, libs/wpp/preproc.c, programs/wineconsole/curses.c, programs/winedbg/ext_debugger.c, programs/winedbg/gdbproxy.c, programs/winedbg/msc.c, programs/winedbg/source.c, programs/winedbg/stabs.c, programs/winedbg/types.c: Jon Griffiths Not everyone has , some files need too (msvc). * tools/winapi/msvcmaker: Jon Griffiths Added some needed config.h entries. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/wcs.c: Jon Griffiths A first stab at wcstod(). * include/shlwapi.h: Jon Griffiths Added StrFormatKBSizeA/W. * include/commctrl.h: Felix Nawothnig Added definitions for ListView_GetColumnWidth, ListView_SetColumnWidth and ListView_RedrawItems. * windows/mdi.c: Rein Klazes Fix MDISetMenu in the case it is called before a Windows Menu exists as Agent newsreader does. * dlls/wininet/ftp.c: Mike McCormack Fix more unicode/memory allocation errors. 2003-09-22 Alexandre Julliard * dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/comctl32.h, dlls/comctl32/datetime.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/imagelist.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/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: Dimitrie O. Paun Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}. * documentation/Makefile.in, documentation/build.sgml, documentation/cvs.sgml, documentation/tools.sgml, documentation/wine-devel.sgml: Dimitrie O. Paun Remove redundant sections from the guide: tools: is now included in the new bin2res build: moved to PACKAGING cvs: is available in many other places. * msdos/int21.c: Small cleanup. * dlls/avifil32/avifile_Fr.rc, dlls/avifil32/rsrc.rc, dlls/comctl32/comctl_Fr.rc, dlls/comctl32/rsrc.rc, dlls/commdlg/cdlg_Fr.rc, dlls/msvideo/msrle32/msrle_Fr.rc, dlls/serialui/Fr.rc, dlls/serialui/serialui_rc.rc, dlls/setupapi/Fr.rc, dlls/setupapi/setupapi.rc, dlls/shell32/shell32_Fr.rc, dlls/user/resources/user32_Fr.rc, dlls/wineps/wps_Fr.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_Fr.rc, dlls/winmm/winmm_Fr.rc: Vincent Béron Yet another batch of French resources updates. * dlls/wininet/netconnection.c: Mike McCormack Fix logic problems with NETCON_connected. * documentation/multimedia.sgml: Eric Pouech Documentation updates. * documentation/debugging.sgml: Dimitrie O. Paun Big update to the debug logging section. * documentation/wine-devel.sgml: Dimitrie O. Paun Move the authors out of the sections. * programs/winecfg/En.rc, programs/winecfg/resource.h, programs/winecfg/x11drvdlg.c: Mike Hearn Remove Managed option. Add DXGrab, DesktopDoubleBuffer, UseTakeFocus. * dlls/winmm/winealsa/audio.c, dlls/winmm/wineaudioio/audio.c: Robert Reif Volume and Pan driver requests need to return success even though they are not implemented. * programs/winedbg/hash.c: Michal Janusz Miroslaw DEBUG_cmp_sym: micro optimization/cleanup. * programs/start/Fr.rc, programs/start/rsrc.rc, programs/wcmd/Fr.rc, programs/wineconsole/wineconsole_Fr.rc, programs/winefile/Fr.rc, programs/winemine/Fr.rc, programs/winemine/rsrc.rc, programs/winhelp/Fr.rc: Vincent Béron Another batch of French resources updates. * include/commctrl.h: Maxime Bellengé Added LVKF_* defines. * dlls/shlwapi/path.c: Mike McCormack Fixed a memory leak. * dlls/ole32/storage32.c: Mike McCormack Change erroneous malloc to HeapAlloc. * dlls/wininet/internet.c: Mike McCormack Fix a bunch of unicode/memory allocation errors. * tools/wrc/dumpres.c: Vincent Béron Fix strncpyWtoA to actually act as advertised (and not overflow the input buffer). Small cleanups of it at the same time. * dlls/advapi32/crypt.c: Marcus Meissner Print fixmes if we do not find a crypto providers for a specified type/name and other failures. * dlls/dmloader/dmloader_private.h, dlls/dmloader/loader.c, dlls/dmloader/loaderstream.c: Rok Mandeljc Rewritten cache code and fixed a bug that was in it. * documentation/cvs-regression.sgml: Dimitrie O. Paun Move Gerard's name to the author list. * documentation/consoles.sgml: Dimitrie O. Paun Cleanup formatting a bit. * documentation/porting.sgml: Dimitrie O. Paun Cleanup the introduction a bit. * documentation/implementation.sgml: Dimitrie O. Paun Remove a lot of obsolete information, misc cleanups. * documentation/multimedia.sgml: Dimitrie O. Paun Move Eric's name in the author list. * documentation/opengl.sgml: Dimitrie O. Paun Small cleanups of the OpenGL section. * documentation/ole.sgml: Dimitrie O. Paun Trivial cleanups to the OLE section. * documentation/architecture.sgml: Dimitrie O. Paun Remove obsolete info about the service thread. Update x11 wrapping description, misc cleanups. * documentation/i18n.sgml: Dimitrie O. Paun Rewrite the i18n section. * documentation/testing.sgml: Dimitrie O. Paun Remove uglifying notes. * documentation/patches.sgml: Dimitrie O. Paun Small cleanups on how to send in patches. * documentation/documentation.sgml: Dimitrie O. Paun Cleanup the documentation section. Comment out some empty sections. * documentation/debugger.sgml: Dimitrie O. Paun Cleanup the debugging section. * dlls/winedos/int2f.c: Michael Stefaniuc Silence the FIXME produced by an install check of MVSOUND.SYS. * dlls/winedos/int21.c: Michael Stefaniuc Silence the FIXME's produced by a check for a dos32 extender. * dlls/winedos/int31.c: Jukka Heinonen When entering protected mode, V86 flag must be clear. * programs/wineconsole/curses.c: Eric Pouech - win32 console's window cannot be larger than curses' stdscr - correctly manage backspace - various cleanup * dlls/user/message.c: Mike McCormack Always initialize send_message_info.flags. * dlls/x11drv/keyboard.c: Mike McCormack Only ignore certain keyboard events if a XLookupString returned a value (detected by Valgrind). * dlls/shell32/folders.c: Mike McCormack Fix errors in IExtractIcon detected by valgrind. * documentation/faq.sgml: Mike Hearn Removing the directory is almost always the wrong way to remove wine. * tools/winecheck: Michael Günnewig Adapted winecheck to use new environment variable syntax (ex. %HOME%). * dlls/ntdll/relay.c: Steven Edwards Porting fix. * tools/winebuild/utils.c: Steven Edwards Porting fix for Alpha. * dlls/comctl32/listview.c: Maxime Bellengé When an item is activated, we should send a NMITEMACTIVATE struct and not a NMHDR one. * DEVELOPERS-HINTS: Dimitrie O. Paun Update the directory list, tidy it up in the process. A few fixes for obsolete filenames in the debugging hints. * programs/winecfg/En.rc, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/x11drvdlg.c: Mike Hearn Add screen depth option and remove "Allocated System Colors" setting. * dlls/winmm/winealsa/audio.c: Oleg Prokhorov Implemented sound flushing. * dlls/winmm/lolvldrv.c: Michal Janusz Miroslaw MMDRV_Install: Fix confusing indentation. * programs/regedit/Nl.rc, programs/regedit/rsrc.rc: Hans Leidekker Added Dutch translation. * dlls/shell32/changenotify.c, dlls/shell32/pidl.c, dlls/shell32/shlview.c, dlls/shell32/undocshell.h, include/shlobj.h: Rolf Kalbermatter Added declarations for newly documented SHChangeNotify API and fixed some prototypes. * include/windef.h: Rolf Kalbermatter Don't redefine declspec under MSVC. * dlls/oleaut32/tmarshal.c: Marcus Meissner _nrroffuncs: Check for error before dereferencing returned pointer. 2003-09-19 Alexandre Julliard * DEVELOPERS-HINTS, configure, configure.ac, tools/winapi/msvcmaker: Get rid of relay32 directory. * dlls/kernel/ne_module.c, dlls/kernel/snoop16.c, dlls/ntdll/Makefile.in, dlls/ntdll/ntdll_misc.h, dlls/ntdll/relay.c, include/snoop.h: Moved 32-bit relay and snoop support to dlls/ntdll. * dlls/kernel/process.c, dlls/ntdll/Makefile.in, dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, include/module.h, include/snoop.h, loader/pe_image.c: Moved the 32-bit builtin loader and the remaining bits of the PE loader into dlls/ntdll/loader.c. * dlls/d3d8/device.c: Jason Edmeades DXTn format has odd mipmap levels in that the space allocated for small levels needs a lot of padding. * dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/surface.c, dlls/d3d8/utils.c: Jason Edmeades GL doesn't like incorrect lengths passed into DXTN processing. * tools/winegcc/winegcc.c, tools/winegcc/winewrap.c: Richard Cohen Handle default linker output name in winewrap instead of winegcc. * tools/winebuild/build.h, tools/winebuild/res16.c, tools/winebuild/res32.c: Richard Cohen Add printf format attributes & fix the warnings. * dlls/dsound/dsound_main.c, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/tests/dsound.c, dlls/winmm/wineoss/audio.c: Robert Reif Added volume and pan support to primary buffers. Added more property set support. * documentation/.cvsignore, documentation/Makefile.in: Dimitrie O. Paun Build the HTML documents as one big file. * dlls/d3d8/drawprim.c, dlls/d3d8/vshaderdeclaration.c: Jason Edmeades Vertex shader output is lit and transformed, so stop GL doing it all again. * dlls/d3d8/directx.c: Jason Edmeades Simple fix to handle the more common case of actually having a GL context! * dlls/kernel/kernel32.spec, dlls/kernel/process.c, dlls/ntdll/Makefile.in, dlls/ntdll/nt.c, dlls/ntdll/process.c, include/winnt.h: Eric Pouech Implemented kernel32.GetIoProcessCounters and stubbed ntdll.NtQueryProcessInformation(ProcessIoCounters). * dlls/kernel/console.c: Eric Pouech By default, console handles are inheritable. 2003-09-18 Alexandre Julliard * dlls/kernel/process.c, dlls/kernel/thread.c, dlls/ntdll/Makefile.in, dlls/ntdll/ntdll.spec, dlls/ntdll/server.c, include/wine/server.h, misc/registry.c, scheduler/client.c: Moved the wine server client-side support to dlls/ntdll. Removed a couple of unnecessary functions. * dlls/kernel/ne_module.c, loader/task.c: Moved a couple more functions to dlls/kernel. * dlls/kernel/selector.c, dlls/kernel/Makefile.in, dlls/kernel/dosmem.c, dlls/kernel/global16.c, dlls/kernel/heap.c, dlls/ntdll/Makefile.in, memory/global.c, memory/selector.c, msdos/dosmem.c: Moved 16-bit global heap, DOS memory and selector functions to dlls/kernel. * dlls/kernel/process.c: Eric Pouech Set default StdError to fd 2 (was on 1). * tools/bin2res.c: Dimitrie O. Paun Complete rewrite of bin2res, for a cleaner codebase. Add online help describing how the program works. Sanitize command line options. * scheduler/pthread.c: Gabriele Giorgetti Fix build with old libc. * documentation/.cvsignore, documentation/Makefile.in: Remove the FAQ from the doc tarball, and build it as a single .html file (based on patch by Dimitrie O. Paun). * dlls/kernel/Makefile.in, dlls/kernel/kernel_private.h, dlls/kernel/relay16.c, dlls/kernel/sync.c, dlls/kernel/syslevel.c, dlls/kernel/task.c, dlls/kernel/wowthunk.c, dlls/ntdll/Makefile.in, dlls/ntdll/signal_i386.c, include/syslevel.h, scheduler/synchro.c, scheduler/syslevel.c: Moved synchronization and syslevel routines to dlls/kernel. * dlls/kernel/ne_module.c, files/file.c, include/module.h, loader/module.c: Keep the file handle of 16-bit modules open while the module is loaded. This makes it possible to remove the InstallShield hack in OpenFile16. Moved LoadLibrary32_16 to kernel. * programs/winecfg/En.rc, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/x11drvdlg.c: Mike Hearn - Implement "managed mode" setting. - Make system colors setting work. - Disable DGA setting, as enabling it breaks wine. * tools/wrc/parser.y: Eric Frias Fixed combobox flags handling to allow CBS_DROPDOWN style. * documentation/PACKAGING: Dimitrie O. Paun Add blurb about soft/hard dependencies to the Packaging Guide, based on a contribution by Shachar Shemesh. * dlls/kernel/kernel_main.c, dlls/kernel/task.c, memory/environ.c: Moved the 16-bit environment support to dlls/kernel. * dlls/kernel/file16.c, files/dos_fs.c: Reimplemented the 16-bit FindFirstFile, FindNextFile and FindClose functions on top of their 32-bit counterpart, and moved them to dlls/kernel. * dlls/kernel/Makefile.in, dlls/ntdll/Makefile.in: Link msdos/int21.c into kernel for now, until it is properly moved to winedos. * dlls/kernel/Makefile.in, dlls/kernel/vxd.c: Moved VxDCall support to dlls/kernel. 2003-09-17 Alexandre Julliard * dlls/kernel/instr.c, dlls/ntdll/Makefile.in, dlls/winedos/Makefile.in, dlls/winedos/dosexe.h, dlls/winedos/ioports.c, dlls/winedos/ppdev.c, dlls/winedos/timer.c, dlls/winedos/winedos.spec, include/callback.h, include/miscemu.h, msdos/dpmi.c, msdos/ioports.c, msdos/ppdev.c: Moved I/O port handling to dlls/winedos. * dlls/comctl32/comctl32.h, dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c: Renamed the COMCTL32_* functions to use the exported name. * programs/winecfg/En.rc, programs/winecfg/drive.c, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h: Mike Hearn - All settings in the drive edit dialog are now instant apply. - Replace OK/Cancel buttons on the right with a close button on the bottom. - Warn the user when a C drive is not present. - Add drive functionality will now always create a C drive if one isn't present. - Misc crasher fixes. - Drive list box now reflects drives that take their data from a device correctly. - Various code cleanups. * dlls/kernel/tests/locale.c: Jon Griffiths More tests for kernel NLS functions. Use LOCALE_NOUSEROVERRIDE where appropriate. * dlls/kernel/lcformat.c: Jon Griffiths Re-implement and optimise the NLS formatting functions (many fixes). Documentation updates. * dlls/winmm/winealsa/audio.c: Oleg Prokhorov Avoid crash if invalid rate was specified. * dlls/setupapi/En.rc, dlls/setupapi/Ru.rc, dlls/setupapi/setupapi.rc: Igor Stepin Added Russian translation. * documentation/Makefile.in, documentation/make_winehq, documentation/print.dsl, documentation/winehq.dsl: Dimitrie O. Paun Get rid of no longer needed files. * programs/winhelp/winhelp.c: Mike Hearn Implemented mouse wheel support. * dlls/kernel/instr.c, dlls/kernel/wowthunk.c, dlls/winedos/dosvm.c, include/miscemu.h: Use WOWCallback16Ex to switch to vm86 mode so that we can setup a proper exception handler and handle instruction emulation. * dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/comctl32.h, dlls/comctl32/comctl32undoc.c, dlls/comctl32/datetime.c, dlls/comctl32/imagelist.c, dlls/comctl32/ipaddress.c, dlls/comctl32/listview.c, dlls/comctl32/nativefont.c, dlls/comctl32/pager.c, dlls/comctl32/progress.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/treeview.c, dlls/comctl32/updown.c, dlls/shell32/iconcache.c, dlls/shell32/shell32_main.c, dlls/shell32/shlview.c, include/commctrl.h: Moved undocumented functions out of the exported commctrl.h. * dlls/winmm/winealsa/midi.c: Avoid linking error with older alsa libs. * dlls/avifil32/avifile_Ru.rc, dlls/kernel/nls/rus.nls, dlls/wininet/rsrc.rc, dlls/wininet/wininet_Ru.rc, programs/cmdlgtst/Ru.rc, programs/cmdlgtst/cmdlgr.rc, programs/regedit/Ru.rc, programs/regedit/rsrc.rc, programs/start/Ru.rc, programs/view/Ru.rc, programs/view/viewrc.rc, programs/wcmd/Ru.rc, programs/wcmd/wcmdrc.rc, programs/winecfg/Ru.rc, programs/winecfg/winecfg.rc: Igor Stepin Added a lot of Russian translations. * dlls/serialui/En.rc, dlls/serialui/Ru.rc, dlls/serialui/serialui_rc.rc: Igor Stepin Added Russian translation. * dlls/kernel/sync.c: Jon Griffiths Documentation updates. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Mike McCormack Created stub functions for advapi32.GetExplicitEntriesFromAclA/W(). * dlls/opengl32/wgl.c: Mike McCormack Add missing LF in trace message. * programs/winecfg/Es.rc: José Manuel Ferrer Ortiz Updated Spanish translation. * dlls/kernel/Makefile.in, dlls/kernel/except.c, dlls/kernel/fiber.c, dlls/kernel/process.c, dlls/kernel/thread.c, dlls/ntdll/Makefile.in, libs/wine/loader.c, loader/module.c, scheduler/fiber.c, scheduler/process.c, scheduler/thread.c: Moved almost all remaining process, thread, fiber and exception functions to dlls/kernel. * dlls/kernel/Makefile.in, dlls/kernel/instr.c, dlls/kernel/wowthunk.c, dlls/ntdll/Makefile.in, dlls/ntdll/signal_i386.c, memory/instr.c: Moved instruction emulation to dlls/kernel. * controls/combo.c, dlls/comctl32/trackbar.c, dlls/oleaut32/parsedt.h, include/windef.h, include/wine/windef16.h, include/winuser.h, include/wtypes.h, include/wtypes.idl: Moved out of windef.h a few definitions that don't belong there (reported by Filip Navara). * controls/edit.c, controls/menu.c, controls/scroll.c, dlls/comctl32/header.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/pager.c, dlls/comctl32/treeview.c, dlls/comctl32/updown.c, dlls/commdlg/colordlg.c, dlls/x11drv/winpos.c, graphics/x11drv/text.c, windows/defwnd.c, windows/mdi.c, windows/nonclient.c: SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara). * documentation/samples/config: Hannu Valtonen Use native msi until our own implementation works decently. * dlls/kernel/tests/file.c: Rolf Kalbermatter Fix another error under Win9x (hopefully). * dlls/shell32/Makefile.in, dlls/shell32/pidl.c, dlls/shell32/shell32_main.h, dlls/shell32/shfldr_fs.c, dlls/shell32/shlfsbind.c: Rolf Kalbermatter Implemented SHSimpleIDListFromPath correctly. * dlls/ntdll/debugtools.c: Steven Edwards Remove redundant includes. 2003-09-16 Alexandre Julliard * dlls/kernel/locale.c: More robust detection of charset names. * dlls/kernel/string.c, dlls/ntdll/path.c, files/dos_fs.c, memory/string.c: Moved most kernel string functions to dlls/kernel. * dlls/kernel/Makefile.in, dlls/kernel/heap.c, dlls/ntdll/Makefile.in, memory/global.c, memory/heap.c, memory/local.c, memory/selector.c, scheduler/process.c: Moved most 32-bit heap functions to dlls/kernel. * tools/winegcc/winewrap.c: Dimitrie O. Paun Do not require GUI support for displaying errors in wrapper. Link the wrapper only against kernel (no dl, msvcrt, etc). Allow the setting of the app DLL when a wrapper is created. * dlls/imagehlp/integrity.c: Mike McCormack Implemented ImageGetCertificateData. * include/winnt.h: Mike McCormack Added mailslot defines. * dlls/winmm/winealsa/midi.c: Pavel Roskin Moved WINE_DEFAULT_DEBUG_CHANNEL outside of the #ifdef. * dlls/ddraw/ddraw/user.c: Alex Pasadyn Enable resolution changes for older D3D/DDraw applications. * dlls/d3d8/directx.c: Alex Pasadyn Enable resolution changes for D3D8 applications. * dlls/x11drv/desktop.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv.h, dlls/x11drv/xvidmode.c: Alex Pasadyn - Allow applications to resize the Wine desktop window. - Some cleanup of ChangeDisplaySettings and friends. * dlls/kernel/tests/file.c, files/dos_fs.c: Alex Pasadyn - Use HeapAlloc instead of GlobalAlloc in FindNextFile. - Add test for FindNextFile that checks last error value. * dlls/kernel/tests/directory.c, dlls/kernel/tests/file.c: Rolf Kalbermatter Added a few todo_wine tests with filenames with wildcards. * dlls/kernel/tests/process.c, dlls/kernel/tests/thread.c: Rolf Kalbermatter Remove to allow compilation with MS PSDK headers. * dlls/comctl32/rebar.c, dlls/comctl32/tooltips.c, include/commctrl.h: Filip Navara Fixed definitions of TTTOOLINFOA/W_V1_SIZE and REBARBANDINFOA/W_V3_SIZE. * programs/winecfg/main.c, programs/winecfg/properties.c: Mike Hearn Normalize win2000, nt2k, nt2000 to win2k, normalize win2k3 to win2003 (spotted by Vincent Béron). * dlls/ntdll/nt.c, include/wine/server_protocol.h, include/winternl.h, server/handle.c, server/handle.h, server/process.c, server/process.h, server/protocol.def, server/snapshot.c, server/trace.c: Eric Pouech - Implemented a few information classes in NtQuerySystemInformation. - Added handle information to (wineserver) process snapshot. * documentation/Makefile.in: Dimitrie O. Paun Remove the unused WINE_DOC_SRCS, and the useless BOOKS_TARGETS. * dlls/oleaut32/variant.c: Use SysAllocStringByteLen/SysStringByteLen to copy BSTR variants. * programs/clock/Fr.rc, programs/cmdlgtst/Fr.rc, programs/cmdlgtst/cmdlgr.rc, programs/notepad/Fr.rc, programs/progman/Fr.rc, programs/progman/rsrc.rc, programs/regedit/Fr.rc, programs/regedit/rsrc.rc, programs/uninstaller/rsrc.rc, programs/view/Fr.rc, programs/view/init.c, programs/view/viewrc.rc: Vincent Béron Updates for various French resources. 2003-09-15 Alexandre Julliard * programs/clock/It.rc, programs/notepad/It.rc, programs/start/It.rc, programs/start/rsrc.rc, programs/view/It.rc, programs/view/viewrc.rc: Ivan Leo Murray-Smith Added/improved Italian translations. * dlls/shell32/shfldr.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlfolder.c: Rolf Kalbermatter Make sure the bind context is forwarded in ShellFolder_ParseDisplayName. * dlls/shell32/shell32_main.c, dlls/shell32/shellord.c: Rolf Kalbermatter Signed/unsigned warnings and some formatting. * dlls/shell32/Makefile.in, dlls/shell32/shell32_main.h, dlls/shell32/shlfsbind.c, include/shlobj.h: Rolf Kalbermatter Added IFileSystemBindData implementation. * dlls/shell32/changenotify.c: Rolf Kalbermatter SHChangeNotify should use SHSimpleIDListFromPath as this function should not fail on paths that do not exist anymore. * programs/winecfg/winecfg.c: Mike Hearn Added a simple TODO list. * dlls/winmm/winealsa/Makefile.in, dlls/winmm/winealsa/alsa.c, dlls/winmm/winealsa/alsa.h, dlls/winmm/winealsa/midi.c, dlls/winmm/winealsa/winealsa.drv.spec: Christian Costa Added midi support to the ALSA driver. * dlls/kernel/kernel32.spec, dlls/kernel/sync.c: Mike McCormack Move the mailslot stubs into the dlls/kernel directory. * documentation/Makefile.in, documentation/dlls.sgml, documentation/wine-devel.sgml, documentation/wine-doc.sgml: Dimitrie O. Paun Remove obsolete documentation/dlls.sgml. * dlls/kernel/Makefile.in: Remove generated assembly code on make clean. * dlls/winmm/driver.c, dlls/winmm/mci.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/winmm.c, dlls/winmm/winmm.spec, include/mmddk.h, include/mmsystem.h: Eric Pouech - Moved Wine extension to get DSound interface from a wave device from include/mmsystem.h to include/mmddk.h. - Removed all dependencies on heap.h. - Fixed a few prototypes (mmioRename[AW], mciSendStringW, *Message). * documentation/winelib-porting.sgml: Dimitrie O. Paun Remove no longer current issues from the Winelib guide. * documentation/porting.sgml: Dimitrie O. Paun Update the porting documentation. * dlls/dsound/tests/dsound.c: Robert Reif Added better tests for volume and pan. Added capture notification test. Fixed capture query notification test bug. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/winmm/wineoss/audio.c: Robert Reif Device enumeration callbacks should return a NULL guid for default devices. Fixed some volume and pan cases. Added missing property set. Fixed capture notification bug. * documentation/debugger.sgml, documentation/default.dsl: Francois Gouget Removed reference to 'systemname' and added a link to winsite in debugger.sgml. Remove cruft from default.dsl. Add comments explaining what our other settings do. * documentation/faq.sgml: Francois Gouget Remove the Lycos link (which does not even point to Lycos). Point to ibiblio.org's mirrors page. * graphics/x11drv/xfont.c: Lionel Ulmer Check X11 errors on each XLoadQueryFont calls. * tools/winegcc/Makefile.in, tools/winegcc/winegcc.c: Dimitrie O. Paun Teach winegcc to masquerade as cpp. * include/winbase.h: Mike McCormack Declare mailslot functions. * dlls/kernel/comm.c, dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/comm.c: Kevin Groeneveld - Fix small bug with parsing of numbers in BuildCommDCB functions. - Add conformance test for BuildCommDCB functions. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/dsurface/fakezbuffer.h, dlls/ddraw/gl_api.h, dlls/ddraw/gl_private.h, dlls/ddraw/helper.c: Lionel Ulmer - add ZBuffer write support - some TRACEing fixes * dlls/ddraw/d3dexecutebuffer.c: Lionel Ulmer Use ddraw_geom in the execute buffer code. * dlls/user/message.c, dlls/user/user32.spec: Eric Pouech - Implemented IsHungAppWindow. - Added rejection of interprocess messages related to icons. * dlls/rpcrt4/rpc_server.c: Mike Hearn Move packet linked list tail forward correctly on push. 2003-09-11 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20030911. ---------------------------------------------------------------- 2003-09-11 Alexandre Julliard * dlls/kernel/comm.c, include/winbase.h: Kevin Groeneveld Add missing wReserved1 member to DCB structure definition. Fix several bugs in BuildCommDCBAndTimeouts: - make sure LPCSTR parameter is really treated as constant - fix possible buffer overflow if passed in string is too long - if the device control string is invalid, do not modify DCB - do not clear entire DCB, only modify appropriate members - fix parsing of stop bits parameter so it works for 1 and 1.5 - populate COMMTIMEOUTS when to=xxx parameter is specified - added support for xon, odsr, octs, dtr, rts, and idsr parameters - fix several other parsing errors * tools/winegcc/winewrap.c: Richard Cohen Handle -L in a separate array. * dlls/msvideo/msvideo_main.c, dlls/winmm/winemm.h, include/mmsystem.h: Eric Pouech Moved some MM internal definition to internal include files. * windows/dialog.c: Kevin Groeneveld Modify CheckRadioButton function to be more consistent with Windows. * dlls/oleaut32/usrmarshal.c: Mike Hearn Implement dispatch variant marshalling. * dlls/glu32/glu32.spec: Dave Miller Alphabetized the functions. * dlls/comctl32/toolbar.c: Robert Shearman - Make sure dropdown arrow is always centered. - Add support for the TBNRF_HIDEHELP customization flag, but emit a FIXME when it isn't present. * tools/winegcc/Makefile.in, tools/winegcc/winewrap.c: Set the dll search path to the location specified in configure (spotted by Vincent Béron). * include/poppack.h, include/pshpack1.h, include/pshpack2.h, include/pshpack4.h, include/pshpack8.h: Dimitrie O. Paun Remove checks from {pop,psh}pack[1248].h that were causing the standalone processor to fail. * dlls/shlwapi/shlwapi.spec: Jon Griffiths MLLoadlibrary: Remove -noname and duplicate entry. * documentation/faq.sgml, documentation/samples/config: Vincent Béron Mention win2k3 support in the sample config and in the faq. * tools/winegcc/Makefile.in, tools/winegcc/utils.c, tools/winegcc/utils.h, tools/winegcc/winegcc.c, tools/winegcc/winewrap.c: Richard Cohen Use an extendable array to store the lists of strings. Only make wrapper argument lists if we're going to use them. * configure, configure.ac, tools/.cvsignore, tools/Makefile.in, tools/winegcc.c, tools/winegcc/.cvsignore, tools/winegcc/Makefile.in, tools/winegcc/winegcc.c, tools/winegcc/winewrap.c, tools/winewrap.c: Moved winegcc and winewrap to a separate directory. * dlls/quartz/Makefile.in, dlls/quartz/enummedia.c, dlls/quartz/main.c, dlls/quartz/memallocator.c, dlls/quartz/quartz_private.h: Robert Shearman Implemented IMemAllocator and IMediaSample. * include/wine/list.h, server/change.c, server/list.h, server/object.c, server/object.h: Moved list.h to include/wine so that it can be used everywhere. * programs/wcmd/wcmdmain.c: Ferenc Wagner Implement >> style (append) output redirection. * include/wingdi.h: Dimitrie O. Paun The Get[RGB]Value() macros should return a BYTE, not the same type as the one passed in. * dlls/shlwapi/shlwapi.spec: Changed ordinal functions that now have a name to use -noname instead of nameless exports. * dlls/netapi32/netapi32.c, dlls/netapi32/netapi32.spec, include/Makefile.in, include/lm.h, include/lmstats.h: Geoff Thorpe Added a stub for NetStatisticsGet. * dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compobj.c, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/errorinfo.c, dlls/ole32/filemoniker.c, dlls/ole32/ftmarshal.c, dlls/ole32/hglobalstream.c, dlls/ole32/ifs.c, dlls/ole32/itemmoniker.c, dlls/ole32/marshal.c, dlls/ole32/memlockbytes.c, dlls/ole32/moniker.c, dlls/ole32/ole2.c, dlls/ole32/ole2impl.c, dlls/ole32/ole2stubs.c, dlls/ole32/ole32_main.c, dlls/ole32/oleobj.c, dlls/ole32/oleproxy.c, dlls/ole32/regsvr.c, dlls/ole32/storage32.c: Dave Miller Removed ordinals from comments. * dlls/ole32/ole32.spec: Dave Miller Remove all the ordinals and use @ instead. * dlls/kernel/kernel32.spec, dlls/kernel/toolhelp.c, include/tlhelp32.h: Geoff Thorpe Added a stub for Heap32ListFirst. * dlls/setupapi/devinst.c, dlls/setupapi/infparse.c, dlls/setupapi/install.c, dlls/setupapi/parser.c, dlls/setupapi/queue.c, dlls/setupapi/setupcab.c, dlls/setupapi/stubs.c: Steven Edwards Porting fixes. * dlls/shlwapi/assoc.c, dlls/shlwapi/clist.c, dlls/shlwapi/istream.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/path.c, dlls/shlwapi/reg.c, dlls/shlwapi/regstream.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, dlls/shlwapi/thread.c, dlls/shlwapi/url.c: Robert Shearman - Convert ordinals to their real names. - Partially implement a few Assoc* functions. * dlls/winmm/tests/wave.c: Francois Gouget Modify ok("xxx") calls into ok("xxx\n") as is now expected. * documentation/faq.sgml: Francois Gouget Updated the Wine ports section. * scheduler/pthread.c: Added ptr___pthread_cond_timedwait in the pthread_functions structure to match the latest glibc. * dlls/kernel/tests/locale.c, dlls/oleaut32/tests/vartest.c, dlls/user/tests/sysparams.c, include/wine/test.h: Francois Gouget Modify winetest_ok to only add a trailing '\n' if there is none. Modify macros in the kernel, oleaut32 and user tests to print a '\n'. * dlls/rpcrt4/rpcrt4_main.c: Gregory M. Turner Updated the "TODO" comments. * dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c, dlls/shdocvw/shdocvw.spec, dlls/shdocvw/shdocvw_main.c: Robert Shearman Add proper names to ordinal-only functions. * programs/winemine/Ru.rc: Oleg Prokhorov Small grammar fix. * msdos/ppdev.c: Andreas Mohr - spelling fixes - change one ill-chosen FIXME to ERR * dlls/comctl32/commctrl.c: György 'Nog' Jeney Fix invalid C constructs (spotted by Marcus Meissner). * documentation/faq.sgml: Francois Gouget Revert some word-splits to their normal form, e.g. InstallShield. Fix case of TransGaming in two places. Fix the URL to dosfs. * dlls/quartz/version.rc: Tom Wickline Set version to 8.1. 2003-09-10 Alexandre Julliard * tools/winedump/pe.c: Added dumping of message table resources. * 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/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/commctrl.c, dlls/comctl32/datetime.c, dlls/comctl32/flatsb.c, dlls/comctl32/header.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/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/commdlg/colordlg.c, dlls/commdlg/colordlg16.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg95.c, dlls/commdlg/finddlg.c, dlls/commdlg/finddlg32.c, dlls/commdlg/fontdlg.c, dlls/commdlg/fontdlg16.c, dlls/commdlg/printdlg.c, dlls/commdlg/printdlg16.c, dlls/ddraw/dsurface/wndproc.c, dlls/kernel/format_msg.c, dlls/kernel/locale.c, dlls/kernel/resource16.c, dlls/msvcrt/locale.c, dlls/richedit/richedit.c, dlls/setupapi/virtcopy.c, dlls/shell32/brsfolder.c, dlls/shell32/dialogs.c, dlls/shell32/shell32_main.c, dlls/shell32/shlview.c, dlls/shell32/systray.c, dlls/shlwapi/ordinal.c, dlls/user/controls.h, dlls/user/dialog16.c, dlls/user/exticon.c, dlls/user/resource.c, dlls/user/tests/sysparams.c, dlls/user/tests/win.c, dlls/winmm/mci.c, dlls/winmm/mciavi/wnd.c, dlls/winmm/mmsystem.c, dlls/x11drv/desktop.c, include/wine/winuser16.h, include/winuser.h, programs/winemenubuilder/winemenubuilder.c, programs/winhelp/winhelp.c, windows/class.c, windows/cursoricon.c, windows/defwnd.c, windows/dialog.c, windows/mdi.c, windows/msgbox.c, windows/nonclient.c: Removed the A/W constants for builtin cursors, icons and resource types since they don't exist on Windows, and added typecasts everywhere instead. * tools/wrc/utils.c: Steven Edwards Portability fix for language ids. * programs/clock/Wa.rc, programs/notepad/Wa.rc, programs/winhelp/Wa.rc: Pavel Roskin Compile Walon resources only if LANG_WALON is defined. * programs/winecfg/drive.c, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h: Mike Hearn - Bugfixes to the transaction system. - Better protection against incomplete config sections. - Implement "Add Drive". - Partly reactivate edit drive dialog. 2003-09-09 Alexandre Julliard * dlls/avicap32/avicap32_main.c, dlls/avifil32/extrachunk.c, dlls/avifil32/factory.c, dlls/avifil32/getframe.c, dlls/dplayx/dplay.c, dlls/dplayx/dplaysp.h, dlls/dplayx/dplayx_global.h, dlls/dplayx/dplobby.c, dlls/dplayx/lobbysp.h, dlls/mshtml/main.c, dlls/msvideo/msrle32/msrle_private.h, dlls/ole32/compositemoniker.c, dlls/ole32/defaulthandler.c, dlls/ole32/git.c, dlls/ole32/hglobalstream.c, dlls/ole32/ifs.c, dlls/ole32/itemmoniker.c, dlls/ole32/marshal.c, dlls/ole32/memlockbytes.c, dlls/ole32/memlockbytes16.c, dlls/ole32/moniker.c, dlls/ole32/ole16.c, dlls/ole32/oleobj.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/stg_bigblockfile.c, dlls/oleaut32/ole2disp.c, dlls/olepro32/olepro32stubs.c, dlls/quartz/enummoniker.c, dlls/rpcrt4/rpcrt4_main.c, dlls/shdocvw/Makefile.in, dlls/shdocvw/events.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/shdocvw_main.c, dlls/shell32/dragdrophelper.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shlfolder.c, include/oleidl.h, include/oleidl.idl: Fixed a few more headers dependency issues. * dlls/commdlg/filedlg95.c, dlls/shell32/shell32_main.h, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, include/Makefile.in, include/shlguid.h, include/shlobj.h, include/shobjidl.h, include/shobjidl.idl, include/wine/obj_commdlgbrowser.h, include/wine/obj_contextmenu.h, include/wine/obj_dockingwindowframe.h, include/wine/obj_dragdrophelper.h, include/wine/obj_extracticon.h, include/wine/obj_shellfolder.h, include/wtypes.h, include/wtypes.idl: Converted the rest of the obj_*.h headers to IDL into shobjidl.idl. * include/winnt.h: Some STATUS_* defines have to be duplicated in winnt.h. 2003-09-08 Alexandre Julliard * dlls/avicap32/avicap32_main.c, dlls/comctl32/listview.c, dlls/crypt32/main.c, dlls/imm32/imm.c, dlls/kernel/locale.c, dlls/kernel/locale_rc.rc, dlls/kernel/string.c, dlls/kernel/nls/*.nls, dlls/kernel/tests/format_msg.c, dlls/mapi32/mapi32_main.c, dlls/mpr/pwcache.c, dlls/msi/distinct.c, dlls/msi/handle.c, dlls/msi/msi.c, dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/order.c, dlls/msi/query.h, dlls/msi/record.c, dlls/msi/select.c, dlls/msi/sql.y, dlls/msi/suminfo.c, dlls/msi/table.c, dlls/msi/where.c, dlls/msisys/msisys.c, dlls/ntdll/loader.c, dlls/ole32/ole32_main.c, dlls/ole32/ole32_main.h, dlls/ole32/ole32res.rc, dlls/rpcrt4/rpcrt4_main.c, dlls/setupapi/devinst.c, dlls/setupapi/devinst16.c, dlls/setupapi/infparse.c, dlls/setupapi/setupx16.h, dlls/shell32/memorystream.c, dlls/sti/sti_main.c, dlls/urlmon/urlmon_main.h, dlls/wininet/resource.h, dlls/wininet/rsrc.rc, dlls/wininet/wininet_En.rc, documentation/README.it, documentation/README.pt, documentation/README.pt_br, documentation/faq.sgml, documentation/getting.sgml, documentation/installation-und-konfiguration.german, documentation/status/dde, programs/rundll32/rundll32.c, programs/winecfg/x11drvdlg.c, programs/winemenubuilder/winemenubuilder.c, tools/bug_report.pl, tools/config.guess, tools/winedump/cvinclude.h: Francois Gouget Fix the case of product and company names. * configure, configure.ac, dlls/Makefile.in, dlls/mshtml/.cvsignore, dlls/mshtml/Makefile.in, dlls/mshtml/document.c, dlls/mshtml/main.c, dlls/mshtml/mshtml.spec: Mike McCormack Added an initial (mostly stub) implementation of MSHTML.DLL. * programs/winecfg/drive.c, programs/winecfg/main.c, programs/winecfg/properties.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h: Mike Hearn - Removed the central configuration structure, all changes are committed instantly now. - Updated the drive handling code so it loads direct from the registry. - Removed DRIVE_DESC, drives are keyed by drive letter now. - Documented drive_available_mask. - Simplified the code somewhat. * server/protocol.def: Fixed include statements to match server_protocol.h (spotted by Eric Pouech). * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/thread.c, include/thread.h, include/winternl.h, scheduler/process.c, scheduler/thread.c: On TlsFree, clear the released TLS index in all threads. * dlls/iphlpapi/Makefile.in, dlls/iphlpapi/iphlpapi.spec, dlls/iphlpapi/iphlpapi_main.c: Juan Lang - Fix buffer overrun in GetNetworkParams. - Implement GetBest(Route,Interface). - Implement some AllocateAndGet*FromStack functions. * programs/winecfg/En.rc, programs/winecfg/main.c, programs/winecfg/properties.c, programs/winecfg/properties.h, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c: Mike Hearn - Remove "PerfectGraphics", "Use XSHM extension", and "Use a private colour map". - Implement a simple transaction system for instant apply. - Complete the desktop size code, this now reads and writes to the registry correctly. - Remove const modifier from version accessor functions. - Change registry root to Wine/WineCfg for testing purposes. * dlls/cabinet/fdi.c, dlls/dmloader/loader.c, documentation/faq.sgml: Francois Gouget A few spelling fixes. * tools/wineinstall: Vincent Béron wineinstall used a Unix-style environment variable in the temporary config file. * programs/winemine/Ru.rc, programs/winemine/rsrc.rc: Pavel Roskin Added Russian resources. * programs/notepad/Fr.rc: Pavel Roskin Fix French translation. * documentation/architecture.sgml: Bill Medland Modify the wineserver documentation for the new location of the socket and add a warning. * memory/instr.c: Marcus Meissner Fixed compile warning. * dlls/odbc32/odbc32.spec: Dave Miller Fix incorrect ordinals. * dlls/shell32/shellpath.c, include/shlobj.h, include/wine/obj_shellfolder.h: Rolf Kalbermatter Change parameter in SHGetSpecialFolderPathA/W to int as documented in MSDN. Add some more definitions and move SHGetDesktopFolder() from wine/obj_shellfolder.h to here. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Mike McCormack Create a proper stub for oleaut32.VarMod. 2003-09-07 Alexandre Julliard * programs/regedit/main.h, programs/wineconsole/curses.c, programs/winedbg/gdbproxy.c, server/registry.c: Added a few missing stdarg.h includes. 2003-09-06 Alexandre Julliard * dlls/Maketest.rules.in: Added a missing dependency for testlist.c files. * dlls/ole32/dcom.h: Regenerated with the latest widl. 2003-09-05 Alexandre Julliard * */*.c, include/*.h: Fixed header dependencies to be fully compatible with the Windows headers (with help from Dimitrie O. Paun). 2003-09-04 Alexandre Julliard * dlls/shell32/shelllink.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlview.c, include/Makefile.in, include/shlguid.h, include/shlobj.h, include/shobjidl.h, include/shobjidl.idl, include/shtypes.h, include/shtypes.idl, include/wine/obj_enumidlist.h, include/wine/obj_shellbrowser.h, include/wine/obj_shellextinit.h, include/wine/obj_shellfolder.h, include/wine/obj_shelllink.h, include/wine/obj_shellview.h: Implemented shtypes.idl and shobjidl.idl and removed a few more wine/obj_* headers. * include/dbghelp.h, include/digitalv.h, include/winioctl.h: Dimitrie O. Paun Removed non-standard header includes. * dlls/comctl32/listview.c: Dimitrie O. Paun Adjust selection ranges before we insert the item so we don't mix the new selection with the existing ones (reported by Eric Pouech). * dlls/shdocvw/shdocvw.h, dlls/shdocvw/webbrowser.c, dlls/shlwapi/ordinal.c, include/Makefile.in, include/exdisp.h, include/exdisp.idl, include/wine/obj_webbrowser.h, libs/uuid/uuid.c: Converted obj_webbrowser.h to IDL and moved the definitions to exdisp.idl where they belong. * include/Makefile.in, include/docobj.h, include/docobj.idl: Converted docobj.h to IDL. * include/docobj.h, include/ole2.h, include/oleauto.h, include/olectl.h: Removed no longer needed include protections. * dlls/winmm/wineoss/midi.c: Christian Costa Fix modLongData. Enable opening of MOD_SYNTH type devices. Add some comments. * dlls/comctl32/comctl32.h: Stefan Leichter Updated minor version number. * include/Makefile.in, include/oaidl.h, include/oaidl.idl, include/ocidl.h, include/ocidl.idl, include/oleidl.h, include/oleidl.idl, include/wine/obj_connection.h, include/wine/obj_control.h, include/wine/obj_olefont.h, include/wine/obj_oleundo.h, include/wine/obj_picture.h, include/wine/obj_property.h: Converted ocidl.h to IDL. 2003-09-03 Alexandre Julliard * include/Makefile.in, include/urlmon.h, include/urlmon.idl, include/wtypes.h, include/wtypes.idl: Converted urlmon.h to IDL. * include/Makefile.in, include/servprov.h, include/servprov.idl: Converted servprov.h to IDL. * dlls/ole32/datacache.c, dlls/shell32/shlview.c, include/Makefile.in, include/oleidl.h, include/oleidl.idl, include/wine/obj_cache.h, include/wine/obj_dragdrop.h, include/wine/obj_inplace.h, include/wine/obj_oleobj.h, include/wine/obj_oleview.h: Converted oleidl.h to IDL. * tools/widl/header.c, tools/widl/header.h, tools/widl/parser.y, tools/widl/proxy.c, tools/widl/widltypes.h: Added partial support for function pointers. * include/Makefile.in, include/comcat.h, include/comcat.idl, include/wine/obj_comcat.h, include/wine/obj_enumguid.h: Converted comcat.h to IDL. * include/objidl.h, tools/widl/parser.l, tools/widl/parser.y, tools/widl/widl.c: Use <> format in generated #include statements. Integer constants should be unsigned. * dlls/dsound/buffer.c, dlls/dsound/dsound_main.c, dlls/dsound/propset.c, dlls/winmm/winealsa/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/wineoss/audio.c: Robert Reif Use the drivers to get device capabilities and property sets. * tools/winegcc.c: Dimitrie O. Paun Forward all arguments to gcc when we have no input files. Kill the -V option, as it's not compatible with gcc. Fix silly bug when we are not given an output name. * configure, configure.ac, dlls/kernel/Makefile.in, dlls/kernel/pthread.c, dlls/ntdll/sysdeps.c, include/config.h.in, include/wine/pthread.h, libs/wine/loader.c, scheduler/process.c, scheduler/pthread.c: Moved the implementation of the pthread wrappers to dlls/kernel. * documentation/installation-und-konfiguration.german: Michael Stefaniuc Use DOS style variables in the German documentation of the config file. * dlls/gdi/mfdrv/init.c: Avoid heap reallocation each time a metarecord is written in memory (based on a patch by Warren Baird). * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/devenum/devenum_private.h, dlls/oleaut32/oleaut.c, dlls/oleaut32/olepicture.c, dlls/quartz/filtermapper.c, dlls/shell32/shell32_main.h, dlls/shlwapi/ordinal.c, include/Makefile.in, include/wine/obj_serviceprovider.h: Avoid including wine/obj_*.h files directly from C files. Removed no longer used obj_serviceprovider.h. * dlls/shell32/dragdrophelper.c, dlls/shell32/shellole.c, include/shlobj.h, libs/uuid/uuid.c: shlobj.h must include wine/obj_dragdrophelper.h (reported by Martin Fuchs). * dlls/winedos/int21.c: Sylvain Petreolle Changed some functions to reset CFLAG on success. Added some traces. 2003-09-02 Alexandre Julliard * dlls/comctl32/updown.c: Kevin Groeneveld Change default range of up-down control to match range used in window. * programs/winecfg/En.rc, programs/winecfg/drive.c, programs/winecfg/resource.h: Mike Hearn - Path changes are saved to the struct correctly. - Rename enable_cdrom_box to enable_labelserial_box to better reflect purpose. - Rename IDC_BOX_CDROM to IDC_BOX_LABELSERIAL. - Support for editing label for all drives, allow editing of serial/device for CD-ROMS. * documentation/faq.sgml: Tom Wickline Merge from lostwages faq. * documentation/testing.sgml: Ferenc Wagner Fix testing example. * documentation/PACKAGING, documentation/configuring.sgml: Vincent Béron Bring documentation in sync regarding expansion of environment variables in the config file. * tools/wineinstall: Vincent Béron Bring wineinstall in sync regarding expansion of environment variables in the config file. * include/commctrl.h, include/dbghelp.h, include/winbase.h: Eric Pouech Added a few missing definitions. * files/dos_fs.c: Stefan Leichter Moved implementation of QueryDosDevice from ascii to unicode. * dlls/shell32/shlfileop.c: Rolf Kalbermatter Make the different helper functions all return actual error codes. Avoid code duplication between ANSI and Unicode variant of those functions. * dlls/winsock/async.c, dlls/winsock/socket.c: Rein Klazes _ws_gethostbyname() and WSAAsyncGetHostByName() when called with a null name, should use the name returned by gethostname(). * dlls/msvideo/msvideo_main.c: Michael Günnewig - Implemented semi-stubs for GetOpenFileNamePreviewA/W and GetSaveFileNamePreviewA/W based on GetOpenFileName dialog in COMDLG32.DLL - still must add OFN_ENABLEHOOK and it's handler. - Implemented ICCompressorFree. - Prepared ICCompressorChoose. * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filedlgbrowser.h, dlls/shell32/brsfolder.c, dlls/shell32/changenotify.c, dlls/shell32/dataobject.c, dlls/shell32/debughlp.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shfldr.h, dlls/shell32/shlfolder.c, dlls/shell32/shlmenu.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shell32/undocshell.h, include/shlobj.h: Martin Fuchs Declare LPCITEMIDLIST as 'const' pointer and adjust shell32 implementation to the corrected type. * dlls/winedos/int33.c: Michael Stefaniuc int33 21h is identical to int33 00h. * include/Makefile.in, include/msvcrt/limits.h, include/msvcrt/math.h: Vincent Béron Added msvcrt headers limits.h and math.h. * programs/winelauncher.in: Marcus Meissner Change all head -1 to head -n 1 to be more POSIXly compliant. * dlls/comctl32/tab.c: Maxime Bellengé Implemented TAB_SetMinTabWidth and TAB_HighlightItem. * dlls/dsound/buffer.c, dlls/dsound/dsound_private.h, dlls/dsound/sound3d.c: Robert Reif Now that reference counting is correct, there is no need to check if the base object goes away. * dlls/iphlpapi/ipstats.c: Juan Lang Fixed bug parsing /proc/net/arp for arp table. * dlls/wsock32/socket.c: Juan Lang Implemented arp table querying through WsControl, and fixed problem I introduced getting IP addresses for multiple interfaces. * dlls/avifil32/api.c, dlls/avifil32/avifile.c, dlls/avifil32/getframe.c, include/vfw.h: Michael Günnewig - Implemented AVIStreamBeginStreaming and AVIStreamEndStreaming. - Fixed loading of empty AVI files. - Fixed bug in IGetFrame interface with uncompressed streams. - Fixed missing ICOM_DEFINE for IAVIStreaming. * dlls/kernel/format_msg.c: Juan Lang Fix FormatMessage when FORMAT_MESSAGE_FROM_HMODULE is specified and lpSource is NULL. Make indenting consistent too. * dlls/d3d8/d3d8_main.c, dlls/d3d8/directx.c: Jason Edmeades Use a dummy GL context if one is not available when GetDeviceCaps is called. Remove the compiler warnings introduced in the last DXTn patch. * dlls/winedos/int20.c, dlls/winedos/int21.c, dlls/winedos/int31.c, dlls/winedos/module.c: Jukka Heinonen Make DOS process exit using ExitProcess instead of ExitThread. Make calling DOS exit functions from DPMI either return to StartPM or print error message if not allowed by DPMI specification. 2003-09-01 Alexandre Julliard * tools/wrc/Makefile.in: Vincent Béron Fixed typo. * dlls/dsound/tests/dsound.c: Robert Reif Added more tests and restructured tests for easier debugging. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c: Robert Reif Added SecondaryBuffer and DirectSoundCaptureNotify COM objects to get reference counting right. * dlls/msi/msi.c, dlls/msi/msi.spec: Robert Reif Added a few stub implementations. * dlls/kernel/ne_module.c: Don't strip the path in LoadModule16 before we have opened the file (reported by Jukka Heinonen). * dlls/winedos/dosvm.c: Jukka Heinonen Add support for specific EOI PIC command. * dlls/comctl32/listview.c: Dimitrie O. Paun If we don't send custom draw messages for subitems, inherit the color & text attributes of the main item. * include/winuser.h: Martin Fuchs Define ICON_SMALL2 and ShowWindowAsync(). * include/commctrl.h: Martin Fuchs Define TBIF_BYINDEX. 2003-08-30 Alexandre Julliard * programs/winecfg/En.rc, programs/winecfg/Makefile.in, programs/winecfg/drive.c, programs/winecfg/main.c, programs/winecfg/properties.h, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h: Mark Westcott Mike Hearn - Merge drive code from Mark. - Rename saveX11DrvDlgSettings to fetchX11DrvDlgSettings. - Make the listbox display drive title, not letter. * programs/winecfg/Makefile.in, programs/winecfg/main.c, programs/winecfg/properties.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/x11drvdlg.c: Mark Westcott Mike Hearn - Rename hSession to configKey. - Make the config struct a global, rename to "config". - Correct bug in OK/Cancel handling. - Merge X11DRV dialog code from Mark. - Add newline to the initial FIXME. * programs/winecfg/En.rc, programs/winecfg/main.c, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h: Mike Hearn - Correct return code of loadConfig(). - Make the registry key used a constant. - Made code slightly more consistant with itself. - Some style changes, expanding out variable names, whitespace, removing unnecessary variable initializers and hungarian notation etc. - Replace dialog box with a FIXME in WinMain() to warn of incompleteness. - Implement saveConfigValue(). - Hook up support for save/load of WinVer. * programs/regedit/En.rc, programs/regedit/Es.rc, programs/regedit/Si.rc, programs/start/En.rc, programs/start/Pt.rc, programs/start/Ru.rc, programs/winecfg/En.rc, programs/winecfg/Es.rc, programs/winecfg/Pt.rc, programs/winecfg/Si.rc, programs/winecfg/winecfg.rc, programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Fr.rc, programs/winefile/Hu.rc, programs/winefile/Ru.rc, programs/winefile/Si.rc, programs/winefile/Zh.rc: Removed wrong or unneeded codepage pragmas. * dlls/winsock/socket.c: Juan Lang - improve some parameter checking in WSAIoctl - fix a memory leak I introduced in WSAIoctl * dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/metafiledrv.h, dlls/gdi/mfdrv/objects.c, objects/palette.c: Dave Belanger Implementation of SelectPalette and RealizePalette in the metafile driver. * dlls/gdi/mfdrv/dc.c: Warren Baird Save the ext alignment information in a 8-bytes metarecord as it should be. 2003-08-29 Alexandre Julliard * dlls/ntdll/sysdeps.c, include/thread.h, include/wine/library.h, libs/wine/Makefile.in, libs/wine/loader.c, libs/wine/port.c, scheduler/fiber.c, scheduler/process.c: Export SYSDEPS_SwitchToThreadStack() functionality from libwine as wine_switch_to_stack(). * dlls/comctl32/comctl_Si.rc, dlls/commdlg/cdlg_Si.rc, dlls/shell32/shell32_Si.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_Si.rc, dlls/winmm/winmm_Si.rc, programs/clock/Si.rc, programs/cmdlgtst/Si.rc, programs/cmdlgtst/cmdlgr.rc, programs/notepad/Si.rc, programs/progman/Si.rc, programs/start/Si.rc, programs/start/rsrc.rc, programs/view/Si.rc, programs/view/viewrc.rc, programs/wcmd/Si.rc, programs/wcmd/wcmdrc.rc, programs/winecfg/Si.rc, programs/winecfg/winecfg.rc, programs/winefile/Si.rc, programs/winefile/rsrc.rc, programs/winemine/Si.rc, programs/winemine/rsrc.rc: Rok Mandeljc Minor updates of Slovenian translations. * dlls/wsock32/socket.c, dlls/wsock32/wscontrol.h: Juan Lang - improve WsControl error checking - make WsControl output more closely match Win98's - document WsControl behavior a bit better * dlls/winedos/int33.c: Jukka Heinonen Workaround implemented for passing faked mickeys to mouse callback routine. * dlls/winedos/vga.c: Jukka Heinonen Allow application to use VGA window that overlaps framebuffer only partially. * dlls/msi/msi.spec: Robert Reif Added some missing functions. * dlls/winmm/wineoss/audio.c: Mike Hearn Fixed the error message in Wave(In|Out)Init, it used to give a confusing message, now uses strerror. * dlls/shell32/changenotify.c, dlls/shell32/undocshell.h: Rolf Kalbermatter Change protoype of SHChangeNotifyRegister to what MSDN says. Remove an unsigned mismatch warning. * dlls/ntdll/nt.c: John K. Hohm Set SE_GROUP_ENABLED in Attributes of Administrators SID during NtQueryInformationToken for TokenGroups. * dlls/comctl32/imagelist.c: Mike Hearn Avoid division by zero when the imagelist is created with a width of zero (ie no images). * dlls/ole32/bindctx.c: Rolf Kalbermatter Make sure the passed in object pointer is only addrefed on success. 2003-08-28 Alexandre Julliard * dlls/oleaut32/olepicture.c: Warning fix. * include/*.h: Dimitrie O. Paun Use angle brackets (<>) rather than quotes ("") for the include directives in our .h files. This should avoid some potentially nasty surprises for Winelib apps. * dlls/kernel/change.c, dlls/kernel/process.c, dlls/msvcrt/except.c, dlls/ntdll/exception.c, dlls/ntdll/thread.c, dlls/ntdll/virtual.c, dlls/ole32/compobj_private.h, dlls/user/msg16.c, dlls/user/user_main.c, dlls/winedos/dosvm.c, dlls/winsock/socket.c, include/async.h, include/thread.h, include/wine/server.h, include/winternl.h, loader/module.c, memory/environ.c, tools/winebuild/spec16.c, windows/message.c: Start using the exported TEB structure from winternl.h where possible. * dlls/oleaut32/typelib.c: Mike Hearn Implemented a typelib loader cache. * include/objbase.h: Dave Belanger Added CoDisconnectObject and CoRegisterMessageFilter prototypes. * programs/winefile/winefile.c: Don't use alloca. * dlls/ntdll/signal_sparc.c: Dave Belanger Fixed a compile error. * include/dsound.h: Robert Reif Added speaker config macros. * include/uuids.h: Mike McCormack Add CLSID_HTMLDocument. * include/urlmon.h: Mike McCormack Define the IPersistMoniker interface. * dlls/msvcrt/except.c, dlls/ntdll/exception.c, dlls/ntdll/sysdeps.c, include/thread.h, scheduler/fiber.c, scheduler/thread.c, tools/winebuild/relay.c: Renamed a few more TEB fields. * dlls/kernel/wowthunk.c, dlls/msvcrt/cppexcept.c, dlls/msvcrt/cppexcept.h, dlls/msvcrt/except.c, dlls/ntdll/exception.c, include/stackframe.h, include/thread.h, include/winnt.h, include/wine/exception.h, programs/winedbg/info.c: Renamed EXCEPTION_FRAME to EXCEPTION_REGISTRATION_RECORD since that seems to be the official name. * scheduler/pthread.c: Added missing functions for platforms that don't build the pthreads emulation (reported by Todd Vierling). 2003-08-27 Alexandre Julliard * dlls/kernel/task.c, dlls/kernel/wowthunk.c, dlls/ntdll/debugtools.c, dlls/ntdll/loader.c, dlls/ntdll/sysdeps.c, dlls/ntdll/virtual.c, dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, include/thread.h, include/winternl.h, scheduler/client.c, scheduler/fiber.c, scheduler/process.c, scheduler/syslevel.c, scheduler/thread.c: Renamed a few TEB fields to use the "official" names. * dlls/setupapi/Makefile.in, dlls/setupapi/setupapi_private.h, dlls/setupapi/setupcab.c, dlls/setupapi/setupx_main.c, dlls/setupapi/stubs.c, include/setupapi.h: Gregory M. Turner Implement (most of) SetupIterateCabinet. * programs/wcmd/wcmdmain.c: Oleg Prokhorov No handles were inherited in CreateProcess, all child console programs were silent. Eric Pouech Ensure redirected stream handle for child process are actually inheritable. * dlls/comctl32/toolbar.c: Duane Clark Button width should be the larger of text width/bitmap width. * libs/wine/loader.c: Todd Vierling Use MAP_TRYFIXED on NetBSD if available. * dlls/kernel/ne_module.c, dlls/kernel/task.c, dlls/kernel/thunk.c, include/stackframe.h: Removed some no longer needed definitions from stackframe.h. * dlls/kernel/krnl386.exe.spec, dlls/kernel/wowthunk.c: Converted remaining 16-bit functions to the new varargs mechanism. * dlls/ntdll/sec.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, dlls/winedos/dosvm.c, dlls/winedos/int31.c, dlls/winedos/relay.c, memory/selector.c, relay32/relay386.c, scheduler/syslevel.c, scheduler/thread.c, win32/device.c, win32/except.c, windows/win.c: Avoid including stackframe.h if it's not needed. * dlls/kernel/debugger.c, dlls/kernel/krnl386.exe.spec, dlls/kernel/relay16.c, dlls/msvideo/msvideo.spec, dlls/msvideo/msvideo16.c, dlls/msvideo/vfw16.h, dlls/user/user.exe.spec, dlls/user/wsprintf.c, include/stackframe.h, include/wine/windef16.h, include/wine/winuser16.h, tools/winebuild/build.h, tools/winebuild/parser.c, tools/winebuild/spec16.c, tools/winebuild/winebuild.man.in: Added varargs support for 16-bit entry points. Added -ret16 entry point flag to allow 16-bit cdecl and varargs function to return 16-bit values too. * dlls/dpnhpast/main.c, dlls/dsound/tests/propset.c, dlls/opengl32/opengl_norm.c, dlls/twain/twain.h, include/windef.h, include/wtypes.idl, programs/cmdlgtst/cmdlgtst.c: Dimitrie O. Paun Remove some unneeded __WINESRC__ tests from the headers. Miscellaneous cleanups and fixes. * DEVELOPERS-HINTS: Mike Hearn Update DLL list, add a link to msdn.com. 2003-08-26 Alexandre Julliard * dlls/kernel/Makefile.in, dlls/kernel/profile.c, dlls/ntdll/Makefile.in, files/directory.c, files/drive.c, files/profile.c, include/file.h: Moved profile functions to dlls/kernel. * DEVELOPERS-HINTS, configure, configure.ac, tools/winapi/msvcmaker, tools/winapi_check/modules.dat: The if1632 directory no longer exists. * dlls/kernel/local16.c, loader/task.c, memory/local.c: Moved a few more functions to dlls/kernel. * dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/ne_module.c, dlls/kernel/relay16.c, dlls/kernel/snoop16.c, dlls/ntdll/.cvsignore, dlls/ntdll/Makefile.in, loader/ne/module.c: Moved 16-bit relay and snoop support to dlls/kernel. 2003-08-25 Alexandre Julliard * programs/winecfg/main.c: Mike Hearn Warn users of winecfg about its incompleteness. * dlls/kernel/wowthunk.c, memory/instr.c, tools/winebuild/relay.c: Moved selector fixup for the relay code to the callto16 exception handler. Make sure to only use pop instructions to modify segment registers in the relay code to simplify the selector fixup. * include/wine/port.h, libs/port/memcpy_unaligned.c: Don't build memcpy_unaligned on 386 to avoid MSVC breakage (reported by Jon Griffiths). * dlls/comctl32/listview.c: Dimitrie O. Paun Always setup the selection colour, not just in custom draw. * dlls/winedos/devices.c, dlls/winedos/dosaspi.c, dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int31.c, dlls/winedos/int33.c, dlls/winedos/interrupts.c, dlls/winedos/module.c: Jukka Heinonen Make all users of DOSVM_Enter explicitly set V86 flag. Fix mouse relay stack usage in protected mode. Raw mode switch now handles interrupt flag correctly. * dlls/kernel/kernel_main.c, dlls/kernel/kernel_private.h, dlls/kernel/wowthunk.c, dlls/ntdll/exception.c, include/module.h, memory/instr.c, tools/winebuild/relay.c: Moved 16-bit calls initialization and exception handling to kernel32. Store the call_to_16 return address on the stack from the C code so that we don't need two variants of call_to_16_regs. * dlls/winedos/int31.c: Fixed copy/paste error in WOWCallback16Ex call (spotted by Dmitry Timoshkov). * dlls/winedos/vga.c: Jukka Heinonen Replace some magic numbers with symbols. Add sanity checks so that VGA window cannot be used to access memory outside framebuffer. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix the hit test for full row select in REPORT mode (found, debugged, and tested by Eric Pouech). 2003-08-23 Alexandre Julliard * dlls/kernel/kernel32.spec, dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/system.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, dlls/winedos/int31.c, include/stackframe.h, include/wine/winbase16.h, include/wownt32.h, tools/winebuild/relay.c, windows/winproc.c: Extended WOWCallback16Ex to support register functions too. This allows simplifying the wine_call_to_16 assembly code by moving part of it to C code, and getting rid of the extra kernel exports. * dlls/comctl32/treeview.c: Maxime Bellengé Fix the creation of treeview with checkboxes. * dlls/setupapi/Makefile.in: Steven Edwards Split win16/32 support. * dlls/kernel/ne_module.c, dlls/ntdll/Makefile.in, include/module.h, loader/loadorder.c: Moved 16-bit builtin module handling to dlls/kernel/ne_module.c. * dlls/d3dim/version.rc, dlls/dinput/version.rc, dlls/dplayx/version.rc: Tom Wickline Set version to 8.1. * dlls/comctl32/comctl_Es.rc, dlls/comctl32/rsrc.rc, dlls/msvideo/msrle32/msrle_Es.rc, dlls/msvideo/msrle32/rsrc.rc, dlls/wineps/rsrc.rc, dlls/wineps/wps_Es.rc: José Manuel Ferrer Ortiz More Spanish translations. * dlls/dsound/Makefile.in, dlls/dsound/dsound.spec, dlls/dsound/regsvr.c, dlls/dsound/version.rc: John K. Hohm Implement DllRegisterServer and DllUnregisterServer for dsound.dll, and add OleSelfRegister version string. * programs/notepad/It.rc, programs/notepad/rsrc.rc: Ivan Leo Murray-Smith Added Italian resources. * programs/progman/It.rc: Ivan Leo Murray-Smith Minor fixes. * dlls/shdocvw/Makefile.in, dlls/shdocvw/regsvr.c, dlls/shdocvw/shdocvw_main.c, dlls/shdocvw/version.rc: John K. Hohm Implement DllRegisterServer and DllUnregisterServer for shdocvw.dll, and add OleSelfRegister version string. * dlls/quartz/.cvsignore, dlls/quartz/Makefile.in, dlls/quartz/main.c, dlls/quartz/quartz.spec, dlls/quartz/regsvr.c, dlls/quartz/version.rc: John K. Hohm Implement DllRegisterServer and DllUnregisterServer for quartz.dll, and add OleSelfRegister version string. * dlls/dplayx/Makefile.in, dlls/dplayx/dplayx.spec, dlls/dplayx/regsvr.c, dlls/dplayx/version.rc: John K. Hohm Implement DllRegisterServer and DllUnregisterServer for dplayx.dll, and add OleSelfRegister version string. * dlls/avifil32/Makefile.in, dlls/avifil32/avifil32.spec, dlls/avifil32/regsvr.c, dlls/avifil32/rsrc.rc: John K. Hohm Implement DllRegisterServer and DllUnregisterServer for avifil32.dll, and add OleSelfRegister version string. * controls/static.c: Igor Grahek Send STN_CLICKED ad STN_DBLCLK messages to parent window if SS_NOTIFY is enabled. * dlls/ole32/git.c: Mike Hearn In the global interface table: - Print warnings when things go wrong. - Alter the way we do refcounting. - Don't release the stream on retrieval, just rewind it instead. - Implement thread safety. * Make.rules.in, Makefile.in, dlls/Makedll.rules.in, dlls/ntdll/.cvsignore, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/spec16.c, tools/winebuild/winebuild.man.in: Got rid of 16-bit glue code generation since it is no longer used. * dlls/kernel/Makefile.in, dlls/kernel/kernel_main.c, dlls/kernel/ne_module.c, dlls/kernel/ne_segment.c, dlls/kernel/task.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, dlls/ntdll/Makefile.in, files/drive.c, include/task.h, include/thread.h, loader/module.c, loader/ne/module.c, loader/ne/segment.c, loader/task.c, msdos/int21.c, scheduler/thread.c: Moved most of the 16-bit task support and NE module loader to dlls/kernel. 2003-08-22 Alexandre Julliard * dlls/dmband/Makefile.in, dlls/dmband/band.c, dlls/dmband/bandtrack.c, dlls/dmband/dmband_main.c, dlls/dmband/dmband_private.h, dlls/dmband/regsvr.c, winedefault.reg, dlls/dmcompos/Makefile.in, dlls/dmcompos/chordmap.c, dlls/dmcompos/chordmaptrack.c, dlls/dmcompos/composer.c, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/dmcompos_private.h, dlls/dmcompos/regsvr.c, dlls/dmcompos/signposttrack.c, dlls/dmime/Makefile.in, dlls/dmime/audiopath.c, dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmime/graph.c, dlls/dmime/lyricstrack.c, dlls/dmime/markertrack.c, dlls/dmime/paramcontroltrack.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/regsvr.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/segtriggertrack.c, dlls/dmime/seqtrack.c, dlls/dmime/song.c, dlls/dmime/sysextrack.c, dlls/dmime/tempotrack.c, dlls/dmime/timesigtrack.c, dlls/dmime/tool.c, dlls/dmime/track.c, dlls/dmime/wavetrack.c, dlls/dmloader/Makefile.in, dlls/dmloader/container.c, dlls/dmloader/dmloader_main.c, dlls/dmloader/dmloader_private.h, dlls/dmloader/getloader.c, dlls/dmloader/loader.c, dlls/dmloader/loaderstream.c, dlls/dmloader/regsvr.c, dlls/dmscript/Makefile.in, dlls/dmscript/dmscript_main.c, dlls/dmscript/dmscript_private.h, dlls/dmscript/regsvr.c, dlls/dmscript/script.c, dlls/dmscript/scripttrack.c, dlls/dmstyle/Makefile.in, dlls/dmstyle/auditiontrack.c, dlls/dmstyle/chordtrack.c, dlls/dmstyle/commandtrack.c, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/melodyformulationtrack.c, dlls/dmstyle/motiftrack.c, dlls/dmstyle/mutetrack.c, dlls/dmstyle/regsvr.c, dlls/dmstyle/style.c, dlls/dmstyle/styletrack.c, dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/regsvr.c, dlls/dmsynth/synth.c, dlls/dmsynth/synthsink.c, dlls/dmusic/Makefile.in, dlls/dmusic/buffer.c, dlls/dmusic/clock.c, dlls/dmusic/collection.c, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/download.c, dlls/dmusic/downloadedinstrument.c, dlls/dmusic/instrument.c, dlls/dmusic/object.c, dlls/dmusic/port.c, dlls/dmusic/portdownload.c, dlls/dmusic/thru.c, dlls/dmusic32/dmusic32.spec, dlls/dmusic32/dmusic32_main.c: Rok Mandeljc - implemented loader, loader's stream and loading of objects (now you can use builtin dmloader and native other dm*.dlls) - implemented proper creation of objects and retrieval of dmusic interfaces from them (object, stream, ...) - implemented all "standard track types" and appropriate stream (for dmband, loading is almost complete) - cleaned some obsolete stuff - split debug channels * dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c, dlls/comctl32/imagelist.c, include/commctrl.h: Filip Navara Fixed prototypes of CreateStatusWindowA/W, ImageList_Copy, ImageList_EndDrag, ImageList_SetImageCount. * programs/regedit/Si.rc, programs/regedit/rsrc.rc: Rok Mandeljc Added Slovenian translation. * include/winerror.h: Removed obsolete WIN32_LastError definition. * documentation/faq.sgml: Francois Gouget Fix/make the case of Bochs and Plex86 more consistent. Add CodeWeavers to the list of contributors (currently hosts WineHQ). Tweak the 'how to submit patches' FAQ. Add Kylix and MusicMatch JukeBox to the list of applications ported using Wine(lib). * documentation/faq.sgml: Francois Gouget Be more explicit when describing what belongs in Wine (API) and what does not belong in Wine (drivers, Windows applets, window managers, etc.). Also point to projects where such contributions would be more appropriate. * documentation/faq.sgml: Francois Gouget Answer this eternal question: Can I use Wine to make the Windows driver for my network card / graphics card / scanner / etc. work on Unix? * documentation/faq.sgml: Francois Gouget Add an entry answering the eternal question: When will Wine integrate an x86 CPU emulator? * dlls/advapi32/advapi.c, dlls/crtdll/crtdll_main.c, dlls/twain/capability.c, dlls/twain/ds_image.c, dlls/twain/dsm_ctrl.c, dlls/twain/twain32_main.c, dlls/winaspi/aspi.c, tools/bin2res.c, tools/wrc/genres.c: Steven Edwards Fixes for building with w32api headers on Mingw. * include/winnls.h: Removed no longer used internal definitions. * include/wtypes.h: Removed reference to the WINE_UNICODE_TEXT macro that no longer exists. * dlls/avifil32/avifile_Es.rc, dlls/avifil32/rsrc.rc, dlls/shell32/shell32_Es.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_Es.rc, programs/clock/Es.rc, programs/notepad/Es.rc, programs/regedit/Es.rc, programs/regedit/rsrc.rc, programs/view/Es.rc, programs/view/viewrc.rc, programs/winecfg/Es.rc, programs/winecfg/winecfg.rc, programs/winhelp/Es.rc: José Manuel Ferrer Ortiz Some new Spanish translations and improvements to other existing ones. * programs/wcmd/wcmdmain.c: Oleg Prokhorov Avoid crash in WCMD_run_program when no extension was specified. * dlls/commdlg/filedlg95.c: Dmitry Timoshkov Some applications depend on the order of initialization steps of the custom file open dialog. * windows/sysparams.c: Dmitry Timoshkov Protect SystemParametersInfoA(SPI_GETxxx) from NULL pvParam. * documentation/faq.sgml: Francois Gouget Tweak 'Will there be a Windows version of Wine?': - Add a pointer to the MinGW project - Fix the ReactOS case - Explain the rationale behind these porting projects 2003-08-21 Alexandre Julliard * server/ptrace.c: Cope with wait4 being interrupted by a signal. * dlls/ntdll/debugtools.c, dlls/ntdll/sysdeps.c, include/thread.h, scheduler/thread.c: Store the debug info structure on the thread stack. Moved thread initialization code from sysdeps.c to thread.c to avoid an indirection. * include/imm.h, include/ras.h, include/windowsx.h: Removed a few remaining WINVER checks. * configure, configure.ac: It seems FreeBSD no longer requires libpthread when linking with OpenGL. * programs/winedbg/winedbg.c: Correctly pass the exception to the application when BreakOnFirstChance is 0. * dlls/avifil32/avifile_En.rc, programs/clock/It.rc, programs/cmdlgtst/It.rc: Ivan Leo Murray-Smith Small resources fixes. * dlls/avifil32/avifile_It.rc, dlls/avifil32/rsrc.rc: Ivan Leo Murray-Smith Added Italian resources. * dlls/shell32/shlfileop.c: Mike McCormack Remove useless comments that clutter the code. * dlls/shell32/shell32.spec, dlls/shell32/shlfolder.c: Mike McCormack Stub for (undocumented) SHCreateLinks. * tools/winedump/output.c: Jon Griffiths Update install script to match current build process. Fix a warning in generated dll now we build with -DSTRICT. * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filedlgbrowser.h: Dmitry Timoshkov Cope with potentially moved and resized file view window. 2003-08-20 Alexandre Julliard * controls/menu.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg16.c, dlls/commdlg/fontdlg.c, dlls/commdlg/fontdlg16.c, dlls/ddraw/main.c, dlls/devenum/devenum.rc, dlls/msacm/imaadp32/imaadp32.c, dlls/msacm/msadp32/msadp32.c, dlls/msacm/msg711/msg711.c, dlls/msacm/winemp3/mpegl3.c, dlls/ntdll/resource.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib16.c, dlls/shell32/shellpath.c, dlls/shell32/shellstring.c, dlls/shell32/shlview.c, dlls/shell32/systray.c, dlls/shlwapi/assoc.c, dlls/shlwapi/thread.c, dlls/shlwapi/url.c, dlls/ttydrv/graphics.c, dlls/winmm/joystick.c, graphics/x11drv/codepage.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c, include/winnls.h, memory/virtual.c, msdos/ioports.c, objects/enhmetafile.c, objects/font.c, programs/wineconsole/curses.c, windows/dialog.c, windows/input.c: winnls.h must not include winbase.h. * dlls/dsound/tests/propset.c: Robert Reif Added tests for buffer property sets. * dlls/dsound/buffer.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/propset.c: Robert Reif Split property sets into two types: buffer and private. * dlls/winedos/fpu.c: Jukka Heinonen Make FPU emulation use CS:IP when determining location of calling software interrupt. * dlls/winedos/dosexe.h, dlls/winedos/int31.c, dlls/winedos/relay.c: Jukka Heinonen Remove unnecessary __wine_call_from_16_regs call frame management code from raw mode switch handler. * include/wine/unicode.h: Steven Edwards Fix building libwine_unicode with w32api headers. * configure, configure.ac, include/config.h.in, programs/wineconsole/Makefile.in, programs/wineconsole/curses.c: Mike McCormack Dlopen libncurses.so in wineconsole. * tools/Makefile.in: BINDIR is no longer needed. * tools/winegcc.c: Richard Cohen Support -mconsole. * tools/winegcc.c, tools/winewrap.c: Richard Cohen Remove hardcoded BINDIR paths. * configure, configure.ac, include/config.h.in, libs/wine/Makefile.in, libs/wine/errno.c: Remove the dummy pthread functions and use -lpthread instead to resolve missing symbols in GL libs. * dlls/x11drv/keyboard.c: Nerijus Baliunas Updated LT keyboard. * files/dos_fs.c, include/file.h: Eric Pouech Removed the DOSFS_ specific time related conversion routine, and make use of the ntdll equivalents. * misc/registry.c: Eric Pouech Translate a few more kernel32 calls into the ntdll equivalents. * files/profile.c: Eric Pouech Removed code for handling ${VAR} constructs in .ini files. * dlls/winmm/winealsa/audio.c: Fix parameter to snd_pcm_sw_params_set_silence_size(). * dlls/ntdll/rtlstr.c: Dmitry Timoshkov Apply only specified tests. Implement IS_TEXT_UNICODE_REVERSE_SIGNATURE, IS_TEXT_UNICODE_STATISTICS and IS_TEXT_UNICODE_NULL_BYTES tests. Revert IS_TEXT_UNICODE_ODD_LENGTH test. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c, dlls/msvcrtd/msvcrtd.spec: Dimitrie O. Paun Stub out the _[w]popen/_pclose() functions. 2003-08-19 Alexandre Julliard * server/process.c: We need to ignore STATUS_OBJECT_TYPE_MISMATCH errors too when setting the process console. * programs/clock/It.rc, programs/clock/rsrc.rc, programs/cmdlgtst/It.rc, programs/cmdlgtst/cmdlgr.rc, programs/progman/It.rc: Ivan Leo Murray-Smith Added Italian resources. * dlls/Makefile.in, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/kernel_main.c, dlls/kernel/system.drv.spec, dlls/kernel/system.spec, loader/loadorder.c: Renamed system.dll to system.drv. * dlls/kernel/computername.c, documentation/samples/config, files/directory.c, files/dos_fs.c, files/drive.c, files/file.c, files/profile.c, include/file.h, misc/registry.c, msdos/ioports.c: Replaced remaining calls to PROFILE_GetWineIniString/Bool by direct registry accesses. * winedefault.reg: Jon Griffiths Added i8n entries. * dlls/msvcrt/cpp.c: Jon Griffiths Use exception as the base for all exception derived classes. Implement type_info methods correctly. Add static RTTI for exported objects. Throw exceptions when run time casts fail. * dlls/advapi32/registry.c, include/wine/server_protocol.h, server/protocol.def, server/registry.c, server/request.h, server/trace.c: Mike McCormack Implement registry key unloading. * include/wine/server_protocol.h, scheduler/process.c, server/console.c, server/process.c, server/protocol.def, server/trace.c: Eric Pouech Fixed regression in process creation (std handle inheritance). * dlls/crtdll/crtdll.spec, dlls/msvcrt/msvcrt.spec, dlls/msvcrtd/msvcrtd.spec, dlls/ntdll/misc.c, dlls/ntdll/ntdll.spec: _ftol should return a 64-bit int (spotted by Jon Griffiths). * dlls/winedos/relay.c: Jukka Heinonen When forcing call to DOS relay from protected mode, make sure that relay sees original stack and code pointers. Make it possible for DOS relay to modify code and stack pointers. * include/mmsystem.h: Erwin Wolff Removed VERSION typedef. * programs/winedbg/msc.c: Gregory M. Turner Wrap error-prone msc symbol loading with a __TRY block. * dlls/imagehlp/access.c: Christian Costa Allocate space to contain the IMAGE_NT_HEADERS structure (ImageLoad function). Add some more traces. * dlls/comctl32/treeview.c: Maxime Bellengé Fix unreachable TVHT_ONITEMSTATEICON in TREEVIEW_LButtonDown. * dlls/ntdll/time.c, include/winternl.h: Jon Griffiths Make RtlTimeToSecondsSince1970 consistent with other time calls. Documentation fixes. 2003-08-18 Alexandre Julliard * dlls/shlwapi/ordinal.c, documentation/introduction.sgml, graphics/x11drv/dib.c, objects/dc.c, programs/avitools/aviplay.c, programs/notepad/main.c, programs/regedit/main.c: Francois Gouget Spelling and case fixes. * programs/winemine/Es.rc, programs/winemine/rsrc.rc: José Manuel Ferrer Ortiz Added Spanish translation. * dlls/winedos/fpu.c: Added missing \n in TRACE calls. * dlls/kernel/sync.c: Free the debug info when making a critical section global. * libs/wpp/preproc.c, tools/bin2res.c, tools/widl/utils.c, tools/winedump/ne.c: Jon Griffiths Portability fixes. * include/oaidl.h, include/oaidl.idl: Jon Griffiths Make I1 fields explicitly signed. Add support for I8 fields in variants. Add a missing undocumented FADF_ flag. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/gl_private.h, dlls/ddraw/main.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Added support for multi-texturing. * dlls/ntdll/rtlstr.c, include/winnls.h: Jon Griffiths Add some new types and functions. Remove ITU_IMPLEMENTED_TESTS, its not part of the Win32 Api. * dlls/oleaut32/olepicture.c: Robert Reif Fixed Warblade image loading. * dlls/dsound/tests/propset.c: Robert Reif Fixed bug where last tests were not executed. Print out sound device info. * dlls/winedos/interrupts.c: Jukka Heinonen Fix CPU flag handling when internal interrupts are branched to. * loader/module.c: Dmitry Timoshkov Windows ignores values of e_cparhdr and e_crlc of the MZ header. * dlls/x11drv/keyboard.c: Raul Small Estonian keyboard fix. * dlls/cabinet/fdi.c: Gregory M. Turner Don't touch perf in FDIIsCabinet, InstallShield may already have freed it. * tools/winedump/Makefile.in: Jon Griffiths Use $(EXEEXT) for the winedump executable. * tools/wrc/wrc.c: Jon Griffiths Only statics are sure to be set to 0, explicitly initialise globals. * dlls/ole32/defaulthandler.c: Jon Griffiths Remove redundant wine specific #include. * tools/winapi/msvcmaker: Jon Griffiths ole/ directory doesn't exist anymore. * dlls/kernel/time.c: Jon Griffiths Spelling fixes. * include/winerror.h: Jon Griffiths Cast hresult error codes to HRESULT. * dlls/comctl32/treeview.c: Maxime Bellengé Fix things broken by the last TREEVIEW_UpdateDispInfo patch. * dlls/ntdll/file.c: Eric Pouech Regression fixes for Nt{Read|Write}File: - actually block in TIMEOUT mode - in overlapped mode, if any data is already available then process it without returning a pending status code * programs/regedit/Pt.rc, programs/regedit/rsrc.rc: Marcelo Duarte Localization to the Portuguese of Brazil. 2003-08-15 Alexandre Julliard * dlls/ntdll/sysdeps.c, include/thread.h, scheduler/pthread.c, scheduler/thread.c: Moved __errno_location() handling to pthread.c, and added similar handling for __res_state(). * dlls/msi/Makefile.in: Added missing dependency. * programs/rundll32/rundll32.c: Fixed indentation. * documentation/configuring.sgml, documentation/installation-und-konfiguration.german, documentation/samples/config, programs/winecfg/properties.h, programs/winecfg/winecfg.c: Lionel Ulmer Remove from docs / config tool useless / obsoleted options. * dlls/d3d8/d3d8_main.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/utils.c: Jason Edmeades DXT1/3/5 support was broken, but unnoticeable since we also indicated it wasn't supported. * programs/winecfg/properties.c: E. C. F. Wolff Added Windows 2k3. * dlls/wininet/http.c: Mike McCormack Use WideByteToMultiChar not strlenW. Use HeapAlloc, not malloc. * programs/regedit/regedit.c: Vincent Béron Fixed command line support. 2003-08-13 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20030813. ---------------------------------------------------------------- 2003-08-13 Alexandre Julliard * include/msvcrt/stdio.h: Dimitrie O. Paun Alias _vsnprintf as vsnprintf. * tools/winebuild/import.c: Support for Mac OS X powerpc register names (based on a patch by Pierre d'Herbemont). * programs/winefile/winefile.c: Francois Gouget Fix compilation error. * programs/winefile/Makefile.in, programs/winefile/resource.rc, programs/winefile/winefile.c: Richard Cohen Use __WINE__ instead of _WINE_, _WIN32. * programs/winemenubuilder/winemenubuilder.c: Richard Cohen Remove no longer necessary includes , . * dlls/comctl32/treeview.c: Maxime Bellengé Fix for TREEVIEW_UpdateDispInfo to test with the correct callbackMask. * misc/version.c: Vincent Béron Add Windows 2003 to the versions Wine can return. * objects/dc.c: Dmitry Timoshkov Convert initData as well. * include/msvcrt/sys/stat.h: Dimitrie O. Paun Add definitions for the S_IS* macros. * include/winnt.h: Dimitrie O. Paun Add a bunch of IMAGE_SIZEOF_* constants. * dlls/advapi32/advapi32.spec: Mike McCormack Fix spec for InitiateSystemShutdownExA, as pointed out by Stefan Leichter. * configure, configure.ac, dlls/Makefile.in, dlls/msi/.cvsignore, dlls/msi/Makefile.in, dlls/msi/distinct.c, dlls/msi/handle.c, dlls/msi/msi.c, dlls/msi/msi.spec, dlls/msi/msipriv.h, dlls/msi/msiquery.c, dlls/msi/order.c, dlls/msi/query.h, dlls/msi/record.c, dlls/msi/select.c, dlls/msi/sql.y, dlls/msi/suminfo.c, dlls/msi/table.c, dlls/msi/tokenize.c, dlls/msi/where.c, include/Makefile.in, include/msi.h, include/msiquery.h: Mike McCormack Partial implementation of the Microsoft Installer (msi.dll). * programs/winefile/Makefile.in, programs/winefile/resource.h, programs/winefile/winefile.c, programs/winefile/winefile.h: Martin Fuchs Extended winefile for an optional shell namespace mode. * dlls/ntdll/critsection.c: Don't try to allocate the debug info before the process heap exists. 2003-08-12 Alexandre Julliard * dlls/dinput/keyboard/main.c, dlls/gdi/driver.c, dlls/kernel/console.c, dlls/kernel/kernel_main.c, dlls/ntdll/critsection.c, dlls/ntdll/loader.c, dlls/ntdll/rtl.c, dlls/ntdll/virtual.c, dlls/ole32/compobj.c, dlls/ole32/ifs.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_server.c, dlls/shell32/changenotify.c, dlls/shell32/iconcache.c, dlls/user/dde/misc.c, dlls/user/message.c, dlls/winaspi/winaspi32.c, dlls/winedos/dosvm.c, dlls/winedos/vga.c, dlls/winsock/async.c, dlls/x11drv/x11drv_main.c, dlls/x11drv/xrender.c, files/profile.c, graphics/x11drv/xfont.c, include/winbase.h, objects/gdiobj.c, scheduler/pthread.c, scheduler/syslevel.c, windows/cursoricon.c, windows/timer.c, windows/user.c, windows/win.c, windows/winproc.c: Allocate DebugInfo field for all critical sections (based on a patch by Alex Pasadyn). Get rid of the Wine-specific CRITICAL_SECTION_INIT macro. * dlls/winspool/info.c: Avoid crashes when devmode is null. * dlls/gdi/driver.c, dlls/gdi/gdi32.spec, dlls/ttydrv/dc.c, dlls/wineps/init.c, dlls/winspool/Makefile.in, dlls/winspool/info.c, graphics/x11drv/init.c, include/gdi.h, include/wingdi.h, objects/dc.c: Dmitry Timoshkov Convert CreateDC to unicode in the driver interface. * dlls/ntdll/heap.c: Minor tracing fix. * dlls/x11drv/x11drv_main.c: Dmitry Timoshkov Print X display and locale of X Input Method in the debug log. * dlls/user/user32.spec, include/winuser.h, windows/win.c: Mike McCormack Stub implementation of FlashWindowEx. * dlls/shell32/shell32_Sv.rc: Johan Dahlin Updated Swedish translation. * dlls/ntdll/sysdeps.c, scheduler/pthread.c: Fixed the pthread wrappers to work with the new glibc/linuxthreads interface in glibc 2.3.2. * dlls/kernel/Makefile.in, dlls/kernel/kernel32.spec, dlls/kernel/powermgnt.c, dlls/kernel/thread.c, include/winbase.h, include/winnt.h, win32/newfns.c: Dimitrie O. Paun Consolidate all kernel power management functions. Provide prototypes and stubs for missing functions. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Ignore some keyboard events. In any case we don't know how to handle them. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec: Mike McCormack Stub some winspool functions. * include/winerror.h: Mike McCormack Added two printer error codes. * dlls/shell32/shell32.spec: Mike McCormack Export SHBindToParent (already implemented). * dlls/advapi32/advapi.c, dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Mike McCormack Stubs for advapi32 functions InitiateSystemShutdownEx, SetEntriesInAcl and SetNamedSecurityInfo. * include/richedit.h: Phil Krylov Added ES_SELECTIONBAR style. 2003-08-11 Alexandre Julliard * controls/scroll.c, controls/static.c: Dmitry Timoshkov WM_PAINT(wParam) might be a valid HDC. * dlls/comctl32/status.c: Dmitry Timoshkov Accept SIZE_MAXIMIZED as one of statuses of MDI windows. * include/commdlg.h: Phil Krylov Added some missing FR_* defines. * programs/winhelp/winhelp.c: Johan Dahlin Make sure winhelp doesn't scroll outside of its display area. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Mike McCormack Stubs for BuildTrusteeWithSid(A/W). * configure, configure.ac: Gerald Pfeifer resolv.h may require netinet/in.h, so try to #include that when checking for the former. 2003-08-08 Alexandre Julliard * dlls/winsock/socket.c: Make do_block use poll() rather than select() (based on a patch by Mike Hearn). * dlls/avifil32/api.c, dlls/comcat/regsvr.c, dlls/ctl3d/ctl3d.c, dlls/ctl3d/ctl3d.spec, dlls/ctl3d/ctl3d32.c, dlls/ctl3d/ctl3dv2.spec, dlls/d3d8/d3d8_main.c, dlls/d3d9/d3d9_main.c, dlls/iphlpapi/ifenum.c, dlls/iphlpapi/iphlpapi_main.c, dlls/kernel/locale.c, dlls/ole32/memlockbytes16.c, dlls/ole32/ole2.spec, dlls/ole32/regsvr.c, dlls/oleaut32/olepicture.c, dlls/opengl32/wgl.c, dlls/shell32/shlfileop.c, dlls/winedos/interrupts.c, dlls/wineps/driver.c, dlls/wininet/cookie.c, dlls/wininet/internet.c, dlls/wininet/urlcache.c, dlls/x11drv/window.c, dlls/x11drv/x11drv.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/config.pm, tools/winapi/win16.api, tools/winapi/win32.api, tools/winapi/winapi.pm, tools/winapi_check/modules.dat, tools/winapi_check/nativeapi.pm, tools/winapi_check/preprocessor.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm, tools/winapi_check/winapi_global.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - API files update. - Minor bug fixes. * programs/regedit/treeview.c: Dmitry Timoshkov Fixed build with older compilers. * dlls/d3dim/version.rc, dlls/dinput/version.rc: Tom Wickline Set version to DirectX 7. 2003-08-07 Alexandre Julliard * dlls/dplayx/version.rc: Tom Wickline Set version to DirectX 7. * dlls/dsound/propset.c: Duane Clark Move declarations to compile with older compilers. * tools/winegcc.c: Dimitrie O. Paun Better support for __declspec() (based on a suggestion from Ove Kaaven). * dlls/x11drv/keyboard.c: Supphachoke Suntiwichaya Added Thai keyboard layout. * misc/registry.c: Get rid of wrong/confusing _strdupnA usage. * programs/regedit/.cvsignore, programs/regedit/En.rc, programs/regedit/Makefile.in, programs/regedit/about.c, programs/regedit/childwnd.c, programs/regedit/framewnd.c, programs/regedit/listview.c, programs/regedit/main.c, programs/regedit/main.h, programs/regedit/regedit.c, programs/regedit/regproc.c, programs/regedit/regproc.h, programs/regedit/resource.h, programs/regedit/resource.rc, programs/regedit/rsrc.rc, programs/regedit/treeview.c: Robert Dickenson Steven Edwards Mike McCormack Implemented GUI for regedit. * dlls/dsound/tests/.cvsignore: Added propset.ok. * dlls/user/tests/sysparams.c: Richard Cohen SystemParametersInfo returning a value for Wallpaper does not mean that the registry key exists. * programs/winedbg/hash.c, programs/winedbg/stabs.c: Richard Cohen Use the ELF sections for the addresses of globals, as the STABS are likely to be wrong. * programs/winedbg/memory.c, programs/winedbg/types.c: Richard Cohen - Print short ASCII strings without the "..." - Make printing for Unicode strings more similar to ASCII. 2003-08-06 Alexandre Julliard * dlls/quartz/Makefile.in, dlls/quartz/filesource.c, dlls/quartz/main.c, dlls/quartz/quartz_private.h: Robert Shearman Added File Source (Async) Filter. * dlls/dsound/tests/Makefile.in, dlls/dsound/tests/dsound.c, dlls/dsound/tests/propset.c: Robert Reif Added some COM and property set tests. Added LIBUUID to makefile. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c: Robert Reif Added class factories for DirectSoundCapture, DirectSoundFullDuplex and DirectSoundPrivate. Added error checking to QueryInterface and CreateInterface. Added some more functionality to property sets. * dlls/ntdll/tests/large_int.c, dlls/ntdll/tests/rtl.c, dlls/ntdll/tests/string.c, dlls/shlwapi/string.c: Avoid non-portable long long constants. * dlls/kernel/local16.c, dlls/kernel/tests/atom.c, dlls/msvcrt/locale.c, dlls/shell32/shell.c: Warning fixes. * libs/uuid/uuid.c: Mike McCormack Defined FMTIDs for ole32. * dlls/comctl32/trackbar.c: Duane Clark Oops, back to hard coding initial thumb size until we figure out how it really should work. Fix the channel size/selection range for the TBS_ENABLESELRANGE style. One pixel tweaks in several spots. * dlls/quartz/Makefile.in, dlls/quartz/enummedia.c, dlls/quartz/enumpins.c, dlls/quartz/filtergraph.c, dlls/quartz/filtermapper.c, dlls/quartz/main.c, dlls/quartz/pin.c, dlls/quartz/pin.h, dlls/quartz/quartz_private.h: Robert Shearman - Bugfix when adding filters to graph due to not initializing variables on creation of graph. - Remove clue of where I copied one of the copyright messages from. - Add implementation of input and output pins which will be used by a lot of filters in Quartz. 2003-08-05 Alexandre Julliard * dlls/wininet/Makefile.in, dlls/wininet/urlcache.c, dlls/wininet/wininet.spec: Robert Shearman - Documentation of the index.dat files. - Read support for "Temporary Internet Files". - Limited write support for "Temporary Internet Files" (provided file does not need enlarging). - Delete support (untested on anything other than Temporary Internet Files). * dlls/wininet/internet.h: Avoid DSA type conflict between ssl.h and commctrl.h. * dlls/devenum/mediacatenum.c: Robert Shearman Make IPropertBag_Read use a dynamically allocated array rather than a static one. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/stateblock.c: Jason Edmeades Only reapply the texture states necessary when a different texture gets bound to the same texture unit. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/gl_api.h, dlls/ddraw/gl_private.h, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Support the mimap lod bias extension. * objects/font.c: Dmitry Timoshkov Use same formula to convert from device to logical units as everywhere else. * windows/winproc.c: Dmitry Timoshkov Protect CallWindowProcA/W from NULL pointers. * dlls/cabinet/fdi.c: Gregory M. Turner Many words about cabinets. * tools/winemaker: Martin Wilck Fix -i option for winebuild linking. * dlls/wininet/http.c: David Hammerton Added support for http-POST (well, any kind of http request that sends data in the lpOptional field). * misc/cpu.c: Lionel Ulmer Fix the MHz detection code. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/drawprim.c: Jason Edmeades glColorMaterial enable/disable setup is only done when really necessary. If glColorMaterial is set to track current color and none is supplied, it gets disabled. glMaterial is reset when I think it is necessary. Slow mode now has defaults for when fvf parms are not supplied (as per fast mode). Slow mode now sets up the specular color (forgot that bit previously, I think!). Trace now lists the front, back and stencil buffers for ease of debugging. * dlls/ddraw/d3dtexture.c, dlls/ddraw/gl_api.h, dlls/ddraw/gl_private.h, dlls/ddraw/mesa_private.h, dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Proper MIRROR texture address support. * dlls/devenum/parsedisplayname.c: Robert Shearman ICreateDevEnum_CreateClassEnumerator can return S_FALSE when there is no category, so return MK_E_NOOBJECT from IParseDisplayName_ParseDisplayName. * windows/win.c: Dmitry Timoshkov Make GetWindowInfo() work for all windows and return correct values. * objects/font.c: Dmitry Timoshkov Correctly truncate tmFirstChar, tmLastChar, tmBreakChar at 255 in the process of W->A conversion. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Remove remnants of the old code. * dlls/comctl32/trackbar.c: Stephan BEUZE - Avoid division by zero in TRACKBAR_GetTicPos - Manage negative range TRACKBAR_DrawOneTic 2003-08-02 Alexandre Julliard * configure, configure.ac, dlls/Makefile.in, dlls/mswsock/.cvsignore, dlls/mswsock/Makefile.in, dlls/mswsock/mswsock.c, dlls/mswsock/mswsock.spec, dlls/mswsock/version.rc: André Johansen Introduced the mswsock dll. Added stubs for TransmitFile() and AcceptEx(). * tools/winebuild/spec32.c: Make sure dllname doesn't get optimized out (spotted by Marcus Meissner). * dlls/ntdll/sysdeps.c: Properly free thread stacks on NPTL systems. * dlls/comctl32/trackbar.c: Duane Clark The initial size of the thumb depends on SM_CYCAPTION. Correctly draw the thumb as in Windows. The channel/thumb position also depends on TBS_NOTICKS. The first and last tic marks should be inset from the channel length by half the thumb width. When TBS_BOTH style set, make sure to draw both sets of tics. * programs/winedbg/msc.c: André Johansen Avoid crashing when unable to read pdb file. * dlls/cabinet/fdi.c: Gregory M. Turner Remember decompression state during extraction, so as to avoid unnecessary work. * dlls/commdlg/Makefile.in, dlls/commdlg/printdlg.c, dlls/commdlg/printdlg.h, dlls/commdlg/printdlg16.c: Steven Edwards Split Win16/32 printer dialogs. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Report some news caps that were added in DX6. 2003-07-30 Alexandre Julliard * dlls/avifil32/avifil32.spec, dlls/comcat/comcat.spec, dlls/ddraw/ddraw.spec, dlls/devenum/devenum.spec, dlls/dinput/dinput.spec, dlls/dinput8/dinput8.spec, dlls/dmband/dmband.spec, dlls/dmcompos/dmcompos.spec, dlls/dmime/dmime.spec, dlls/dmloader/dmloader.spec, dlls/dmscript/dmscript.spec, dlls/dmstyle/dmstyle.spec, dlls/dmsynth/dmsynth.spec, dlls/dmusic/dmusic.spec, dlls/dplayx/dplayx.spec, dlls/dpnhpast/dpnhpast.spec, dlls/dsound/dsound.spec, dlls/mpr/mpr.spec, dlls/msisys/msisys.ocx.spec, dlls/ole32/ole32.spec, dlls/oleaut32/oleaut32.spec, dlls/olepro32/olepro32.spec, dlls/qcap/qcap.spec, dlls/quartz/quartz.spec, dlls/rpcrt4/rpcrt4.spec, dlls/shdocvw/shdocvw.spec, dlls/shell32/shell32.spec, dlls/urlmon/urlmon.spec: Make the DllRegisterServer, DllRegisterServerEx, DllUnregisterServer, DllGetClassObject and DllCanUnloadNow functions private (suggested by Jon Griffiths). * dlls/cabinet/cabinet.h, dlls/cabinet/fdi.c: Gregory M. Turner - ERR("WARNING") just doesn't look right ;) - treat zero file handle as invalid if the callback returns it - provide the same args as Windows to the Open callback * documentation/PACKAGING, tools/wineinstall: Francois Gouget 'grep -q' is not portable -> don't use it. * dlls/avifil32/extrachunk.c, dlls/avifil32/extrachunk.h, dlls/commdlg/fontdlg.c: Francois Gouget Some spelling fixes. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Fixed the TEXCOORDINDEX code. * dlls/ddraw/d3dtexture.c, dlls/ddraw/helper.c: Lionel Ulmer Added ddraw_tex to add texture snooping without needing to recompile. 2003-07-28 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/parser.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Added -private flag for entry points that shouldn't be imported from other dlls. Support PRIVATE flag in .def files (based on a patch by Jon Griffiths). * dlls/commdlg/cdlg_Ca.rc, dlls/commdlg/cdlg_Cn.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_Si.rc, dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Wa.rc, dlls/commdlg/cdlg_Zh.rc, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.h: Dmitry Timoshkov Improve handling of custom dialog templates passed to GetOpenFileName. * misc/cpu.c, win32/newfns.c: Mike Hearn Merge CPU detection code into misc/cpu.c. Add support for Mhz registry key. * programs/clock/winclock.c: Steven Edwards Include port.h so we define M_PI on Mingw build. * documentation/faq.sgml: Francois Gouget Small spelling/punctuation fixes. Small rephrasings. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/main.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Better caps support (ie more in line with what GL reports). * dlls/msvcrt/errno.c, dlls/msvcrt/msvcrt.spec: André Johansen Added a dummy implementation of the _set_error_mode() function. * dlls/winmm/wineoss/audio.c: Robert Reif Use same GUIDs as win2k and xp for dsound drivers. * dlls/dsound/dsound_main.c: Robert Reif Fixed a bug where a NULL primary buffer pointer is used when the DirectSound object didn't create properly. 2003-07-26 Alexandre Julliard * objects/bitmap.c, objects/brush.c, objects/font.c, objects/gdiobj.c, objects/palette.c, objects/pen.c: Mike McCormack When GetObject is called with a NULL pointer, return the object's size. * dlls/user/message.c, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/trace.c, windows/input.c: Implemented inter-thread SendMessageCallback. * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/ddraw/main.c: Lionel Ulmer - added a ddraw_fps debug channel - checked what Windows does on empty surface description - fix the GetTextureStageStage call * dlls/shell32/clipboard.c, dlls/shell32/dataobject.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shell32_main.h, include/shlobj.h: Martin Fuchs Fixed Ansi version of RenderFILENAME and implement a Unicode version. Implemented CFSTR_FILENAME with Unicode filename. * include/winbase.h: Martin Fuchs Fixed GetFileEttributesEx define. * include/wine/obj_shellfolder.h: Martin Fuchs Extend for additional Shell Content and Attribute Flags. * aclocal.m4, configure: Todd Vierling Make WINE_GET_SONAME work on NetBSD. * dlls/shlwapi/ordinal.c, dlls/shlwapi/ordinal.h, dlls/shlwapi/shlwapi.spec: Jon Griffiths Implement @13, 160, 161, 173, 177, 178, 189, 192, 221, 238, 239, 257, 278, 279, 285, 287, 355, 363, 413, ColorRGBToHLS. Stub @191,ColorAdjustLuma. Misc cleanups and documentation updates. 2003-07-24 Alexandre Julliard * configure, configure.ac: Disable gcc strict aliasing optimization for now. * dlls/ntdll/nt.c, include/wine/server_protocol.h, server/Makefile.in, server/object.h, server/process.c, server/process.h, server/protocol.def, server/request.h, server/thread.c, server/thread.h, server/token.c, server/trace.c: Mike McCormack Added a security token object in wineserver. * documentation/samples/config: Mike Hearn Set ole32 native for dcom95/98. * dlls/user/Makefile.in: Steven Edwards Move comm16.c to the 16-bit sources. * dlls/urlmon/Makefile.in: Steven Edwards Add ntdll to list of imports for urlmon. * include/winbase.h: Pierre d'Herbemont Make the PowerPC interlocked assembler code volatile. * dlls/comctl32/listview.c: Stefan Haller Ignoring LISTVIEW_ScrollColumns() request if no columns in list. * dlls/ntdll/sysdeps.c: Pierre d'Herbemont Added PowerPC support in SYSDEPS_SwitchToThreadStack. * dlls/commdlg/cdlg_Pt.rc, dlls/wininet/rsrc.rc, dlls/wininet/wininet_Pt.rc: Marcelo Duarte - lesser adjustments in cdlg_Pt.rc (better visual) - localization to the Portuguese of Brazil of wininet resource. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Mike McCormack Implemented LookupPrivilegeValueA/W. 2003-07-22 Alexandre Julliard * tools/widl/header.c, tools/widl/proxy.c: Support objects with no method definitions (suggested by Jon Griffiths). * dlls/wininet/.cvsignore, dlls/wininet/Makefile.in, dlls/wininet/dialogs.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/resource.h, dlls/wininet/rsrc.rc, dlls/wininet/wininet.spec, dlls/wininet/wininet_En.rc: Mike McCormack Implement support for proxies with usernames and passwords. * dlls/wininet/tests/http.c: Use trace() instead of printf(). * dlls/shell32/enumidlist.c: Martin Fuchs Only return FALSE in IEnumIDList_fnNext if no item could be fetched at all. * dlls/devenum/devenum_main.c, dlls/devenum/mediacatenum.c, dlls/devenum/parsedisplayname.c: Marcus Meissner Fix some small pointer aliasing problems. * dlls/shlwapi/ordinal.c, dlls/shlwapi/string.c: Jon Griffiths Implement @203. Fix a brown paper bag in StrFormatKBSizeW. Misc cleanups and documentation updates. * programs/wcmd/wcmdmain.c: Fixed check for .bat and .cmd extensions (spotted by Mike McCormack). * dlls/ole32/git.c: Mike Hearn - GIT should not dereference ppv when unmarshalling interface. - Correctly eliminate refcounting in the GIT. - Add warning when given riid does not match. * dlls/ole32/ifs.c: Mike Hearn IMallocSpy cannot cause an allocation failure when cb == 0. * dlls/shell32/pidl.c: Mike Hearn Deal with the case of loading an empty PIDL from a stream better in ILLoadFromStream. * programs/rundll32/Makefile.in, programs/rundll32/rundll32.c: Mike McCormack rundll32 requires a window for some functions to work, so create one. * dlls/winsock/socket.c: Mike McCormack Add an empty hook function for WSASetBlockingHook to return. * dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec: Jon Griffiths Implement @280,343,344. Misc cleanups and documentation updates. * dlls/shlwapi/shlwapi_main.c: Jon Griffiths Add a handle for urlmon.dll, fix MSVC warning. * dlls/shlwapi/clist.c: Jon Griffiths Fix MSVC warnings. * tools/winedump/README: Jon Griffiths Spelling fix. * tools/winedump/msmangle.c, tools/winedump/pe.c, tools/winedump/symbol.c: Jon Griffiths Support float and function ptr args better, -W warning fixes. 2003-07-21 Alexandre Julliard * tools/winebuild/utils.c: Pierre d'Herbemont Change __PPC__ flag to __powerpc__. * include/wine/obj_shellfolder.h: Martin Fuchs Define SHGDNF. * include/wine/obj_extracticon.h: Martin Fuchs Define IExtractIcon for ANSI/Unicode. * dlls/advapi32/crypt.c: Fixed prototypes of VTableProcStruc callback functions. * dlls/advapi32/crypt.h, include/wincrypt.h: Mike McCormack Moved declaration of VTableProvStruc from dlls/advapi32/crypt.h to include/wincrypt.h. * dlls/shlwapi/assoc.c, dlls/shlwapi/shlwapi.spec: Mike McCormack Create stub for AssocIsDangerous. * documentation/architecture.sgml, documentation/bugs.sgml, documentation/configuring.sgml, documentation/cvs-regression.sgml, documentation/debugger.sgml, documentation/debugging.sgml, documentation/dlls.sgml, documentation/documentation.sgml, documentation/fonts.sgml, documentation/getting.sgml, documentation/glossary.sgml, documentation/i18n.sgml, documentation/introduction.sgml, documentation/multimedia.sgml, documentation/opengl.sgml, documentation/porting.sgml, documentation/printing.sgml, documentation/registry.sgml, documentation/running.sgml, documentation/winelib-toolkit.sgml: Vincent Béron Fixed indentation of list items. * documentation/configuring.sgml, documentation/getting.sgml, documentation/installing.sgml, documentation/introduction.sgml, documentation/registry.sgml: Vincent Béron Begin to uniformize sample commands in documentation. * documentation/.cvsignore, documentation/configuring.sgml, documentation/consoles.sgml, documentation/cvs.sgml, documentation/glossary.sgml, documentation/installing.sgml, documentation/introduction.sgml, documentation/running.sgml, documentation/winelib-intro.sgml: Vincent Béron Name all sections of type sect1. Name the glossary. * dlls/dmband/Makefile.in, dlls/dmband/band.c, dlls/dmband/dmband.spec, dlls/dmband/dmband_main.c, dlls/dmband/dmband_private.h, dlls/dmband/regsvr.c, dlls/dmcompos/Makefile.in, dlls/dmcompos/chordmap.c, dlls/dmcompos/composer.c, dlls/dmcompos/dmcompos.spec, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/dmcompos_private.h, dlls/dmcompos/regsvr.c, dlls/dmime/Makefile.in, dlls/dmime/audiopath.c, dlls/dmime/dmime.spec, dlls/dmime/dmime_main.c, dlls/dmime/dmime_private.h, dlls/dmime/graph.c, dlls/dmime/patterntrack.c, dlls/dmime/performance.c, dlls/dmime/regsvr.c, dlls/dmime/segment.c, dlls/dmime/segmentstate.c, dlls/dmime/song.c, dlls/dmime/tool.c, dlls/dmime/track.c, dlls/dmloader/Makefile.in, dlls/dmloader/container.c, dlls/dmloader/dmloader.spec, dlls/dmloader/dmloader_main.c, dlls/dmloader/dmloader_private.h, dlls/dmloader/getloader.c, dlls/dmloader/loader.c, dlls/dmloader/regsvr.c, dlls/dmscript/Makefile.in, dlls/dmscript/dmscript.spec, dlls/dmscript/dmscript_main.c, dlls/dmscript/dmscript_private.h, dlls/dmscript/regsvr.c, dlls/dmscript/script.c, dlls/dmstyle/Makefile.in, dlls/dmstyle/dmstyle.spec, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/dmstyle_private.h, dlls/dmstyle/regsvr.c, dlls/dmstyle/style.c, dlls/dmsynth/Makefile.in, dlls/dmsynth/dmsynth.spec, dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/dmsynth_private.h, dlls/dmsynth/regsvr.c, dlls/dmsynth/synth.c, dlls/dmsynth/synthsink.c, dlls/dmusic/Makefile.in, dlls/dmusic/buffer.c, dlls/dmusic/clock.c, dlls/dmusic/collection.c, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_instrument.c, dlls/dmusic/dmusic_loader.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_misc.c, dlls/dmusic/dmusic_performance.c, dlls/dmusic/dmusic_plugins.c, dlls/dmusic/dmusic_port.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/dmusic_segment.c, dlls/dmusic/dmusic_style.c, dlls/dmusic/dmusic_synth.c, dlls/dmusic/download.c, dlls/dmusic/downloadedinstrument.c, dlls/dmusic/helper.c, dlls/dmusic/instrument.c, dlls/dmusic/object.c, dlls/dmusic/port.c, dlls/dmusic/portdownload.c, dlls/dmusic/regsvr.c, dlls/dmusic/thru.c, dlls/dmusic32/Makefile.in, include/dmusicc.h, include/dmusici.h, include/dmusics.h: Rok Mandeljc Split the dmusic interfaces. * dlls/comctl32/treeview.c: Martin Fuchs Send TVN_ITEMEXPANDING when the user tries to expand a tree item _before_ checking for child items. * dlls/wininet/ftp.c, dlls/wininet/internet.h: Lionel Ulmer - fix multiple consecutive downloads (by flushing when needed the command socket) - detect attempts to download multiple files at the same time - fix size / date reporting when enumerating files - fix Y2K problem in NT parsing of files * Make.rules.in, configure, configure.ac: Richard Cohen Always use our own c2man. * programs/notepad/En.rc, programs/notepad/License_En.c, programs/notepad/Makefile.in, programs/notepad/dialog.c, programs/notepad/dialog.h, programs/notepad/main.c, programs/notepad/main.h, programs/notepad/rsrc.rc: Dmitry Timoshkov Convert Notepad to unicode. * include/winbase.h: Jon Griffiths Add GetSystemWindowsDirectory, GetCurrentHwProfile. Remove warnings building under VS.Net. * documentation/ole.sgml: Richard Cohen Revert bogus spelling "fix". * dlls/msdmo/.cvsignore, dlls/msdmo/Makefile.in, dlls/msdmo/dmoreg.c, dlls/msdmo/dmort.c, dlls/msdmo/msdmo.spec, dlls/msdmo/rsrc.rc: Michael Günnewig - Implemented Mo* methods. - Added stubs for DMORegister, DMOUnregister, DMOEnum, DMOGetTypes, DMOGetName. - Added version resources. * dlls/ntdll/signal_powerpc.c: Marcus Meissner Added missing register defines for Linux/PPC. * loader/module.c: Pierre d'Herbemont Add Mach-O (Darwin file format) support. * files/drive.c: Mike McCormack Fix a couple of bugs in CDROM_GetSerial: - it would fail if DeviceIoControl succeeded. - it would leak handles in some cases. * dlls/comctl32/propsheet.c: Mike McCormack Set defaults for the Next/Prev button. * dlls/commdlg/filedlgbrowser.c: Mike McCormack Send a CDN_FOLDERCHANGE message when we change folders. * dlls/d3d8/drawprim.c: Jason Edmeades Disable client texture states when not in use (fast mode) otherwise traps occur. Correct number of texture coords supplied in both fast and slow mode. Dont supply a default colour of white when diffuse mode is disabled. Reenable fast mode. * documentation/faq.sgml: Mike Hearn Misc FAQ changes and improvements. * dlls/avifil32/wavfile.c: Michael Günnewig - Added support for Sun Audio files in wave-file handler. - Fallback to mmioOpenA if mmopOpenW doesn't work (when using Win9x DLLs). * dlls/msacm/pcmconverter.c: Michael Günnewig Fixed wrong assert in PCM_round, which didn't allow to call acmStreamSize with a value of 0 to convert -- native allows it. * dlls/avifil32/api.c, dlls/avifil32/avifile.c: Michael Günnewig - Fixed AVIStreamTimeToSample and AVIStreamSampleToTime methods to stay in bounds and behave like the native ones. - Fallback to mmioOpenA if mmioOpenW doesn't work (when using Win9x DLLs). - Fixed a bug of using mmioDescend/mmioAscend (occured with native libs). - Silent a message which could be incorrect for non-video streams. * dlls/wininet/ftp.c, dlls/wininet/internet.c, dlls/wininet/internet.h: Lionel Ulmer - use SIZE command to retrieve the file size (as the file size is not part of the WinNT acknowledgement string) - free the handle / close the socket on end of download - fix InternetReadFile in the FTP case - fix FTP_ReceiveResponse * dlls/dinput/joystick/linuxinput.c: Marcus Meissner KEY_MAX is 511, which does not fit in a BYTE. * tools/winapi_check/modules.dat: Stefan Leichter Fixed warnings about missing, new spec files. 2003-07-19 Alexandre Julliard * dlls/shlwapi/path.c, dlls/shlwapi/shlwapi.spec: Jon Griffiths Implemented @440, 441. Warning fixes/documentation. * dlls/ddraw/Makefile.in, dlls/ddraw/ddraw.spec, dlls/ddraw/regsvr.c, dlls/ddraw/version.rc: John K. Hohm Implement DllRegisterServer and DllUnregisterServer for ddraw.dll, and add OleSelfRegister version string. * dlls/cabinet/cabextract.c, dlls/cabinet/cabinet.h, dlls/cabinet/fdi.c: Gregory M. Turner - eliminate pesky global variables; should be threadsafe now - fix more memory leaks - fix some bugs - some decruftification - implement support for split cabinets and "NEXT_CABINET" notification * DEVELOPERS-HINTS: Dimitrie O. Paun Small documentation cleanup. * tools/c2man.pl: Jon Griffiths Correctly spot forwards. Various improvements and fixes to the output, add index for html. * dlls/wininet/internet.c, dlls/wininet/urlcache.c, dlls/wininet/wininet.spec: Mike McCormack Stubs for InternetCreateUrlA/W and CreateUrlCacheEntryA. * dlls/shell32/classes.c, dlls/shlwapi/assoc.c: Jon Griffiths Move IQueryAssociations into shlwapi. Docs/-W/MSVC++ fixes. * include/winsock.h: Jon Griffiths MSVC fixes. * dlls/kernel/tests/file.c: Jon Griffiths Fix MSVC warning. * dlls/ntdll/tests/rtlstr.c: Jon Griffiths Fix -W warnings. * libs/unicode/string.c: Jon Griffiths vsnprintfW: %% should output a literal % sign. * libs/port/mkstemps.c: Jon Griffiths MSVC doesn't like K&R function declarations: use ansi instead. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/drawprim.c: Jason Edmeades Add fps debug channel, so we can see how the d3d code is performing and their impact of performance changes. SetTransform almost rewritten in a much neater way, and in coordination with drawprim it significantly reduces the number of times that we reload the matrixes. * include/winnt.h: Jeff Muizelaar - add IMAGE_FILE_NET_RUN_FROM_SWAP define - update IMAGE_FILE_MACHINE_* defines - update IMAGE_SUBSYSTEM_* defines - uncomment IMAGE_SCN_TYPE_NO_PAD define - update IMAGE_SCN_ALIGN_* defines 2003-07-18 Alexandre Julliard * dlls/ntdll/loader.c: Print status codes in hex. * dlls/user/wsprintf.c: Mike McCormack wvsnprint accepts %p too (on win2k). * windows/dialog.c: Mike McCormack Strip WS_CAPTION and WS_SYSMENU for child dialogs. * dlls/ole32/moniker.c, dlls/ole32/ole32.spec: Mike McCormack Created stub for CreateClassMoniker. * dlls/winmm/mci.c: Mike McCormack Fixed incorrect strcasecmp usage. * dlls/wininet/utility.c: Mike McCormack Only call wininet callbacks if dwContext is non-zero. * dlls/mpr/pwcache.c, include/winnetwk.h: Mike McCormack Implemented password caching. * include/msvcrt/conio.h, include/msvcrt/crtdbg.h, include/msvcrt/ctype.h, include/msvcrt/direct.h, include/msvcrt/dos.h, include/msvcrt/eh.h, include/msvcrt/errno.h, include/msvcrt/fcntl.h, include/msvcrt/io.h, include/msvcrt/locale.h, include/msvcrt/malloc.h, include/msvcrt/mbctype.h, include/msvcrt/mbstring.h, include/msvcrt/process.h, include/msvcrt/search.h, include/msvcrt/setjmp.h, include/msvcrt/share.h, include/msvcrt/stddef.h, include/msvcrt/stdio.h, include/msvcrt/stdlib.h, include/msvcrt/string.h, include/msvcrt/sys/locking.h, include/msvcrt/sys/stat.h, include/msvcrt/sys/timeb.h, include/msvcrt/sys/types.h, include/msvcrt/sys/utime.h, include/msvcrt/time.h, include/msvcrt/wchar.h, include/msvcrt/wctype.h: Jon Griffiths Don't redefine __WINE_USE_MSVCRT (msvc warning). Don't return a void value in swab(). 'long long' is not recognised by msvc, use __int64. * dlls/shlwapi/thread.c: Jon Griffiths Misc fixes. * dlls/ntdll/file.c: Jon Griffiths Documentation updates. * dlls/ntdll/tests/rtl.c: Jon Griffiths Added some new Rtl* tests. * include/winternl.h: Jon Griffiths Fixed msvc warning. * dlls/msvcrt/data.c, dlls/msvcrt/msvcrt.spec: Jon Griffiths Implement __p__wpgmptr, _wpgmptr. Avoid using static storage for pgm pointers. * DEVELOPERS-HINTS: Jon Griffiths Improve the sample comment. * dlls/ole32/ole32_main.h: Jon Griffiths Remove FIXMEs and prototypes for now-implemented functions. * dlls/netapi32/tests/wksta.c: Jon Griffiths Fix compilation under VS.Net. * tools/winapi/msvcmaker: Jon Griffiths Handle long file names in pre-build step (quote them). dlls/gdi/win16drv doesn't exist any more. * include/ole2.h: Jon Griffiths Include oleauto.h before oleidl.h, as per native headers. * dlls/oleaut32/variant.c, include/oleauto.h: Jon Griffiths Add a bunch of missing stuff. Use proper types for SafeArray/variant prototypes. Change I1 functions to take signed chars * tools/winewrap.c: Dimitrie O. Paun Add "-wrap" to the wrapped app, to avoid possible name conflicts. Add the app dir to WINEDLLPATH. 2003-07-16 Alexandre Julliard * configure, configure.ac: Pierre d'Herbemont Add PowerPC processor detection. * dlls/oleaut32/regsvr.c, dlls/shell32/regsvr.c: Fixed string.h includes. * dlls/dmusic/Makefile.in, dlls/dmusic/dmusic_main.c, dlls/dmusic/regsvr.c, dlls/dmusic/version.rc: John K. Hohm Implement DllRegisterServer and DllUnregisterServer for dmusic.dll, and add OleSelfRegister version string. * dlls/rpcrt4/ndr_stubless.c: Gregory M. Turner RPCRT4_NdrClientCall2 is ATM hardly "semi-stub". * dlls/ntdll/signal_powerpc.c: Pierre d'Herbemont Change __darwin__ to __APPLE__. * dlls/ntdll/sysdeps.c: Pierre d'Herbemont Added support for the TEB on Mac OS X. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c: Lionel Ulmer - do not forget to set the 'initial_upload_done' flag (to have better performance) - better handling of the 'initial' flag for frame-buffer flushes 2003-07-15 Alexandre Julliard * documentation/wine-doc.sgml: Andrew Borodin Removed extra /book tag. * dlls/ddraw/d3ddevice/mesa.c, dlls/ntdll/exception.c, dlls/shell32/changenotify.c, dlls/x11drv/scroll.c, include/ddraw.h, loader/ne/module.c, programs/winedbg/hash.c, server/file.h, tools/wineconf.libs/general.eng, tools/wineconf.libs/wineconf.eng, tools/winemaker.man: Francois Gouget Spelling fixes (s/occured/occurred/ and variants). * dlls/d3d8/device.c: Warning fix. * dlls/wininet/ftp.c, dlls/wininet/wininet.spec: Lionel Ulmer - fix spec file for FTPFindFirstFileA/W functions - implement parsing of NT directory format * dlls/winedos/int1a.c: Jukka Heinonen Make int1a BIOS ticks be equal to BIOS segment ticks. Fix bugs in int1a subfunctions. * dlls/shell32/.cvsignore, dlls/shell32/Makefile.in, dlls/shell32/regsvr.c, dlls/shell32/shell32.spec, dlls/shell32/version.rc, dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut.c, dlls/oleaut32/regsvr.c, dlls/oleaut32/version.rc: John K. Hohm Implement DllRegisterServer and DllUnregisterServer, and add OleSelfRegister version string. * dlls/x11drv/keyboard.c: Huw D M Davies Make the return buffer larger (for example EuroSign in uft8 is 3+1 bytes long). * dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec, include/urlmon.h: Mike McCormack Lionel Ulmer Implement URLDownloadToFileA/W. * include/basetsd.h, include/rpc.h, include/winnt.h: Pierre d'Herbemont Change __PPC__ define to __powerpc__. * include/wine/port.h: Casper Hornstrup Define constants of M_PI & M_PI_2. * dlls/ddraw/dsurface/main.c: Lionel Ulmer Some broken games do not put the TEXTURE flags in the surface caps. * dlls/x11drv/xvidmode.c: Lionel Ulmer Desktop mode should only disable mode switching, not gamma ramp support. * programs/clock/main.c, programs/clock/winclock.c, programs/clock/winclock.h: Richard Cohen - Remove Idle(). - Fix repainting artefacts by drawing only through WM_PAINT. - Unify hand drawing functions. - 0 & 6 ticks are now always vertical. 2003-07-11 Alexandre Julliard * dlls/user/hook.c, dlls/user/message.c, dlls/user/message.h, include/user.h, include/wine/server_protocol.h, server/hook.c, server/protocol.def, server/queue.c, server/trace.c, server/user.h: Run WH_KEYBOARD_LL and WH_MOUSE_LL hooks in the context of the thread that set the hook. * dlls/opengl32/wgl.c: Lionel Ulmer Check if 'GLX_ARB_get_proc_address' is supported before using glXGetProcAddressARB. * programs/clock/language.c, programs/clock/main.c, programs/clock/winclock.c: Richard Cohen Make indentation consistent (4 chars). * programs/clock/README, programs/clock/TODO, programs/clock/language.c, programs/clock/main.c, programs/clock/winclock.c: Richard Cohen - remove escaped newlines, bogus "exit", printf's - start at a sensible size - tidy up WndProc - use a timer instead of sleeping in the message loop (Ugh!) * dlls/ntdll/file.c: Paul Rupe register_new_async sets status already. Do not overwrite it with the function's return value. * programs/wcmd/En.rc, programs/wcmd/Pt.rc: Marcelo Duarte Minor fixes in Pt, En resources. * dlls/lzexpand/lzexpand_main.c: Marcelo Duarte LZCopy: modified timestamp of a expanded file has to be the same of original file. * dlls/ntdll/error.c, dlls/user/message.c, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/trace.c: Implemented the SMTO_ABORTIFHUNG flag of SendMessageTimeout. * include/objidl.h, include/objidl.idl: Warning fix. * dlls/opengl32/make_opengl: Avoid empty lines at the end of generated files. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c: Lionel Ulmer - added fast-path for color-keyed Blts - fix 565 colour-keying conversion - properly handles Pitch in colour conversion - easier and less buggy UNPACK_WIDTH support * dlls/opengl32/wgl.c: Lionel Ulmer Load glXGetProcAddressARB dynamically. * documentation/build.sgml: Vincent Béron Fixed typos. * programs/wcmd/En.rc, programs/wcmd/Fr.rc, programs/wcmd/builtins.c, programs/wcmd/wcmdmain.c, programs/wcmd/wcmdrc.rc: Sylvain Petreolle French translation + misc fixes. 2003-07-09 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20030709. ---------------------------------------------------------------- 2003-07-09 Alexandre Julliard * dlls/user/user_main.c, dlls/user/winproc.h, windows/winproc.c: Store window procedures in a static array instead of creating a heap. Only allocate the winproc selector when actually needed. * programs/wcmd/wcmdmain.c: Avoid hard-coded command line length limit in WCMD_process_command. * dlls/wininet/http.c, dlls/wininet/internet.c: Fixed a couple of buffer overflows. * include/winbase.h: Dmitry Timoshkov Use inline versions of APIs only internally in Wine. * programs/winedbg/hash.c: Catalin Patulea Only display filenames when showing addresses. * programs/wcmd/wcmdmain.c: Greg Marsden Allow command lines with pipes to be processed by wcmd. * win32/except.c: Juraj Hercek Modified unhandled exception message to contain also thread identifier. * tools/wrc/parser.y: Juraj Hercek Adjusted grammar to accept also help-ids for dialogex controls. * dlls/iphlpapi/ifenum.c: Robert Lunnon Fixed some compile problems under Solaris. * scheduler/thread.c: Use NtQueryInformationThread to implement GetExitCodeThread. * dlls/user/controls.h, dlls/user/dialog16.c, dlls/user/user_main.c, windows/dialog.c: Only compute dialog base units once we need them. * documentation/architecture.sgml, documentation/bugs.sgml, documentation/configuring.sgml, documentation/consoles.sgml, documentation/cvs-regression.sgml, documentation/cvs.sgml, documentation/debugger.sgml, documentation/dlls.sgml, documentation/documentation.sgml, documentation/getting.sgml, documentation/i18n.sgml, documentation/implementation.sgml, documentation/multimedia.sgml, documentation/ole.sgml, documentation/opengl.sgml, documentation/patches.sgml, documentation/porting.sgml, documentation/printing.sgml, documentation/running.sgml, documentation/testing.sgml, documentation/tools.sgml, documentation/winelib-bindlls.sgml, documentation/winelib-intro.sgml, documentation/winelib-porting.sgml, documentation/winelib-toolkit.sgml: Tom Wickline Spelling and URL fixes. * dlls/ole32/Makefile.in, dlls/ole32/compobj.c, dlls/ole32/ole16.c, dlls/ole32/ole2.c, dlls/ole32/ole2_16.c: Steven Edwards - Create new file ole2_16.c for ole2 16bit only functions. - Move CLSIDFromProgID16 so it can be used internally. - Compile out more Win16 sources. * dlls/kernel/locale.c: Gerald Pfeifer Add charset information as used by FreeBSD. * dlls/ntdll/ntdll.spec: Dmitry Timoshkov Fix spec entry for ZwSetTimerResolution. * dlls/kernel/locale.c, dlls/x11drv/clipboard.c, dlls/x11drv/keyboard.c, dlls/x11drv/window.c, documentation/configuring.sgml, documentation/samples/config, include/winnls.h, memory/codepage.c, programs/winecfg/properties.h, programs/winecfg/winecfg.c: Dmitry Timoshkov Added support for CP_UNIXCP. * dlls/oleaut32/dispatch.c: Robert Shearman - AddRef type info stored in StdDispatch. - Don't use outer unknown in StdDispatch. * graphics/x11drv/xfont.c: Lionel Ulmer Do not crash when trying to load bad fonts. * dlls/kernel/thread.c, dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/thread.c, include/wine/server_protocol.h, include/winternl.h, server/protocol.def, server/thread.c, server/trace.c: Implemented the ThreadBasicInformation case for NtQueryInformationThread. * dlls/avifil32/api.c, dlls/comctl32/listview.c, dlls/dmusic/helper.c, dlls/dplayx/dplay.c, dlls/dsound/sound3d.c, dlls/msvideo/msrle32/msrle32.c, dlls/ole32/storage32.c, dlls/oleaut32/safearray.c, dlls/oleaut32/typelib16.c, dlls/oleaut32/variant.c, dlls/shell32/tests/shlfileop.c, documentation/configuring.sgml, include/ddraw.h: Francois Gouget Spelling fixes. * documentation/authors.ent, documentation/build.sgml, documentation/wine-devel.sgml: Shachar Shemesh The begining of a "building wine" documentation. More detailed explanation of the "soft" vs. "hard" dependencies. * dlls/ntdll/env.c, programs/wcmd/wcmdmain.c, programs/winevdm/winevdm.c: Mike McCormack Null parameters need to be quoted on the commandline. * dlls/comctl32/propsheet.c: Mike McCormack Preserve A/W when creating propsheet dialogs. 2003-07-08 Alexandre Julliard * dlls/kernel/process.c, dlls/ntdll/ntdll.spec, dlls/ntdll/virtual.c, include/winternl.h: Implemented NtRead/WriteVirtualMemory. * dlls/user/comm16.c, dlls/user/user_main.c: Lookup COM/LPT devices in the registry when they are used, instead of loading everything at startup. * dlls/winedos/dosvm.c, dlls/winedos/himem.c, dlls/winedos/int31.c, dlls/winedos/int33.c, dlls/winedos/vga.c: Jukka Heinonen Real mode context should always have V86 flag turned on. Entering protected mode uses simpler and more robust virtual interrupt flag check. Mouse events are now received in graphics modes. Improved tracing output of int33 handler. * dlls/netapi32/netapi32.c: Uwe Bonnes Removed a no longer used header. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/mesa.c: Lionel Ulmer - fix FPS computation - some TRACEing fixes - optimize BltFast locking rectangles * documentation/samples/win.ini: Tom Wickline 6 new mci extensions. * dlls/shell32/shell32_main.c: Rein Klazes Fixed a typo in the previous SHGetFileInfo() patch. * dlls/opengl32/make_opengl, dlls/opengl32/opengl32.spec, dlls/opengl32/opengl_ext.c, dlls/opengl32/opengl_norm.c: Lionel Ulmer Only put 'pure' GL 1.2 calls in the 'opengl_norm.c' file. * graphics/x11drv/xfont.c: Ove Kaaven Fixed a memory allocation/corruption bug when growing the font cache. * include/d3d8.h, include/d3d9types.h: Raphael Junqueira Some fixes on d3d8 and d3d9 headers. * dlls/x11drv/clipboard.c, dlls/x11drv/event.c, dlls/x11drv/x11drv.h: Ulrich Czekalla Fixed handling of synthesized data. Don't report errors when there is no selection owner. Reintegrate the COMPOUND_TEXT patch by Kusanagi Kouichi. * dlls/d3d8/surface.c, dlls/d3d8/volume.c: Raphael Junqueira - some cosmetic fixes - fix a bug on IDirect3DVolume8Impl_AddDirtyBox 2003-07-03 Alexandre Julliard * if1632/builtin.c, include/module.h, include/wine/library.h, libs/wine/loader.c, relay32/builtin32.c, scheduler/process.c: Added a file_exists argument to wine_dll_load to allow checking whether a failed dll load is because the file didn't exist; more robust than trying to guess the contents of the error string... Get rid of BUILTIN32_dlopen. * server/hook.c, server/queue.c, server/thread.c, server/thread.h, server/user.h: Store the hook table in the thread queue instead of the thread structure, and make sure the queue is allocated when setting a hook. * dlls/ntdll/sysdeps.c, files/smb.h: Fixed compile when functions are not inlined. * server/fd.c: One more workaround for a missing NFS lock daemon. * dlls/shell32/shell32_main.c: Stephan BEUZE - Fixed iIndex use in SHGetFileInfoA (as of MSDN, iIndex is copied in the iIcon field of psfi) - Removed DLL_THREAD_ATTACH and DLL_THREAD_DETACH cases. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/drawprim.c, dlls/d3d8/surface.c, dlls/d3d8/utils.c: Jason Edmeades Implement UpdateTexture for 2D textures only. Handle alphaop disabled but color op not-disable in a more appropriate way (Docs say this is an illegal state and then proceed to use it). Trace out textures as they are created. Update the comments around the debug code and complete the debugging set so textures which are used in the game can also be viewed. * dlls/quartz/filtergraph.c: Robert Shearman - Improve QueryInterface FIXME message. - Add stubs for IMediaFilter interface in IGraphBuilder. - Implement some simple methods. * dlls/kernel/locale.c, dlls/kernel/tests/locale.c: Dmitry Timoshkov Exit ealier from LCMapStringA in the case of LCMAP_SORTKEY. Don't rely on computing string length by MultiByteToWideChar in CompareStringA, do it manually. * dlls/winmm/winejack/jack.c: Marcus Meissner Use standard debugging macros for jack. JACK_SONAME -> SONAME_LIBJACK so we do not need the devel symlink there. * dlls/winedos/int31.c: Marcus Meissner DPMI exceptions only happen on i386. 2003-07-02 Alexandre Julliard * controls/combo.c, dlls/cabinet/fdi.c, dlls/dsound/sound3d.c, dlls/kernel/format_msg.c, dlls/ntdll/time.c, dlls/ole32/datacache.c, dlls/ole32/moniker.c, dlls/ole32/ole2.c, dlls/quartz/filtermapper.c, dlls/shlwapi/path.c, dlls/twain/twain.h, dlls/user/lstr.c, dlls/wininet/internet.c, dlls/winmm/wineoss/midi.c, documentation/multimedia.sgml, graphics/x11drv/opengl.c, objects/palette.c, programs/regsvr32/regsvr32.c: Francois Gouget Fixed some common spelling errors. * loader/task.c: Avoid accessing uninitialized variable in TASK_Create (spotted by Robert Shearman). * dlls/imm32/imm.c, programs/winemenubuilder/winemenubuilder.c: Francois Gouget Remove some unnecessary casts when assigning NULL to handles. * dlls/dmusic/dmusic_performance.c: Christian Costa Make Init and InitAudio return an error when no audio driver is available. Fix crash in InitAudio when releasing the dsound object. * libs/port/interlocked.c: Marcus Meissner Added isync to the interlocked functions. * include/winbase.h: Marcus Meissner PowerPC inline versions of the interlocked functions. * dlls/msacm/driver.c, dlls/msacm/internal.c, dlls/msacm/stream.c, dlls/msacm/wineacm.h, dlls/msvideo/msvideo_main.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/winmm.c, include/mmsystem.h: Eric Pouech - renamed winmm.OpenDriverW into winmm.OpenDriver - replaced all inter-DLL calls (msacm and msvideo) to OpenDriverA with OpenDriver (unicode form) - as a consequence, driver name handling in msacm is now mostly unicode - moved UserYield16 and UnMapLS call out of the 32bit part of winmm * dlls/msvideo/msrle32/msrle32.c: Michael Günnewig Fixed 2 typos in my last patch. * dlls/avifil32/api.c, dlls/avifil32/avifile.c, include/vfw.h: Michael Günnewig - Fixed memory leak in AVISaveOptions. - Implemented AVISaveVW method. - Semi-stub implementation for CreateEditableStream method. - Added support for creation of interleaved AVI files. - Fixed creation of index table in AVI files. - Added declaration for IAVIStreaming interface. - Added some more macros. - Fixed some minor bugs. * dlls/d3d8/texture.c: Jason Edmeades Ensure MIPMAP levels is reset when rebinding an existing texture to a texture unit. * dlls/d3d8/basetexture.c: Jason Edmeades Add GetLevelCount to the basetexture class. * dlls/shell32/brsfolder.c: Eric Pouech Only release object if we actually got it. * dlls/d3d8/drawprim.c: Jason Edmeades Ensure pixel coordinates point to the bottom left of the pixel not the middle. * objects/text.c: Shachar Shemesh Don't call the reordering function if the string length is 0. This eliminates a noisy FIXME about ICU returning an incorrect error code. * dlls/quartz/filtermapper.c: Robert Shearman Fix compilation due to nameless structs and unions. 2003-07-01 Alexandre Julliard * libs/wpp/preproc.c, libs/wpp/wpp.c, libs/wpp/wpp_private.h: Create a new list of defined symbols when parsing a file, to allow recursive parsing of multiple files. * dlls/dmusic/dmusic_misc.c, dlls/dmusic/dmusic_private.h, include/axextend.idl, include/dmusicc.h, include/dsound.h, include/strmif.h, include/uuids.h, libs/uuid/uuid.c: Add strmif.h to the headers included in libuuid. Fixed a few header conflicts. * dlls/devenum/.cvsignore, dlls/devenum/Makefile.in, dlls/devenum/createdevenum.c, dlls/devenum/devenum.rc, dlls/devenum/devenum.spec, dlls/devenum/devenum_main.c, dlls/devenum/devenum_private.h, dlls/devenum/factory.c, dlls/devenum/mediacatenum.c, dlls/devenum/parsedisplayname.c: Robert Shearman Implemented DevEnum dll. * dlls/quartz/Makefile.in, dlls/quartz/enummoniker.c, dlls/quartz/filtergraph.c, dlls/quartz/filtermapper.c, dlls/quartz/main.c, dlls/quartz/quartz_private.h: Robert Shearman Implemented IFilterMapper2. * include/oaidl.h, include/objidl.h, include/strmif.h, include/unknwn.h, tools/widl/header.c: Add #ifdefs around forwards and interfaces like MIDL does. * dlls/ntdll/loader.c, include/module.h, include/winternl.h, loader/pe_image.c, relay32/relay386.c, scheduler/process.c: Eric Pouech - removed next & prev fields from WINE_MODREF and implement instead the three linked lists in LDR_MODULE - added PEB_LDR_DATA structure to PEB - removed a couple of no longer needed global & static variables * dlls/ntdll/signal_i386.c, dlls/winedos/himem.c, dlls/winedos/int31.c, dlls/winedos/interrupts.c, memory/instr.c: Jukka Heinonen Start processing asynchronous DOS events in DPMI mode. * configure, configure.ac, dlls/Makefile.in, dlls/make_dlls: Added d3d9 dll. * dlls/d3d9/.cvsignore, dlls/d3d9/Makefile.in, dlls/d3d9/basetexture.c, dlls/d3d9/cubetexture.c, dlls/d3d9/d3d9.spec, dlls/d3d9/d3d9_main.c, dlls/d3d9/d3d9_private.h, dlls/d3d9/device.c, dlls/d3d9/directx.c, dlls/d3d9/indexbuffer.c, dlls/d3d9/pixelshader.c, dlls/d3d9/query.c, dlls/d3d9/resource.c, dlls/d3d9/stateblock.c, dlls/d3d9/surface.c, dlls/d3d9/swapchain.c, dlls/d3d9/texture.c, dlls/d3d9/version.rc, dlls/d3d9/vertexbuffer.c, dlls/d3d9/vertexdeclaration.c, dlls/d3d9/vertexshader.c, dlls/d3d9/volume.c, dlls/d3d9/volumetexture.c, dlls/d3d9/vshaderdeclaration.c, include/d3d8.h, include/d3d9.h, include/d3d9types.h: Raphael Junqueira - some cleanups and fixes on d3d8 and d3d9 headers - a lot of stubs for d3d9.dll * libs/uuid/Makefile.in, libs/uuid/dx9guid.c: Raphael Junqueira Added d3d9 guids. 2003-06-30 Alexandre Julliard * dlls/kernel/tests/locale.c: Dmitry Timoshkov Add tests for NORM_IGNORENONSPACE and NORM_IGNORESYMBOLS in the LCMapString(LCMAP_SORTKEY) branch. * dlls/ntdll/file.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, dlls/ntdll/sync.c, include/winternl.h, scheduler/synchro.c: Implemented NtDelayExecution and make Sleep call it. The handle count must not be 0 in NtWaitForMultipleObjects (spotted by Troy Rollo). * dlls/avifil32/factory.c, dlls/comctl32/commctrl.c, dlls/crtdll/crtdll_main.c, dlls/d3d8/d3d8_main.c, dlls/ddraw/main.c, dlls/dinput/dinput_main.c, dlls/dmusic/dmusic_main.c, dlls/dplayx/dplayx_main.c, dlls/dpnhpast/main.c, dlls/gdi/gdi_main.c, dlls/imagehlp/imagehlp_main.c, dlls/imm32/imm.c, dlls/msacm/msacm32_main.c, dlls/msisys/Makefile.in, dlls/msisys/msisys.c, dlls/msvideo/msrle32/msrle32.c, dlls/netapi32/netapi32.c, dlls/odbc32/Makefile.in, dlls/odbc32/proxyodbc.c, dlls/ole32/ole32_main.c, dlls/opengl32/wgl.c, dlls/quartz/main.c, dlls/richedit/richedit.c, dlls/rpcrt4/rpcrt4_main.c, dlls/serialui/confdlg.c, dlls/shlwapi/shlwapi_main.c, dlls/snmpapi/Makefile.in, dlls/snmpapi/main.c, dlls/ttydrv/ttydrv_main.c, dlls/twain/twain32_main.c, dlls/urlmon/urlmon_main.c, dlls/winaspi/winaspi32.c, dlls/winedos/dosvm.c, dlls/wineps/init.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/winmm.c, dlls/winsock/socket.c, dlls/winspool/wspool.c: Dmitry Timoshkov For all DLLs with defined DllMain and which do not require DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call DisableThreadLibraryCalls() in order to slightly improve performance on thread creation/exiting. * dlls/dmusic/helper.c: Fixed warning. * dlls/quartz/filtergraph.c, include/Makefile.in, include/axcore.idl, include/axextend.idl, include/devenum.idl, include/dyngraph.idl, include/strmif.h, include/strmif.idl: Robert Shearman - Added DShow headers. - Added needed const's in FilterGraph implementation. * dlls/avifil32/avifile_Pt.rc, dlls/avifil32/rsrc.rc, dlls/comctl32/comctl_Pt.rc, dlls/comctl32/rsrc.rc, dlls/commdlg/cdlg_Pt.rc, dlls/msvideo/msrle32/msrle_Pt.rc, dlls/msvideo/msrle32/rsrc.rc, dlls/shell32/shell32_Pt.rc, dlls/user/resources/user32_Pt.rc, dlls/wineps/rsrc.rc, dlls/wineps/wps_Pt.rc, dlls/winmm/winmm_Pt.rc, programs/winefile/Pt.rc: Marcelo Duarte - Localization to Portuguese of Brazil - Revision and addition of missing resources - Minor typo fix and codepage fix in programs/winefile resource. * documentation/README.pt_br: Marcelo Duarte Localization to Portuguese of Brazil of README file. * programs/winedbg/winedbg.c: Catalin Patulea Fixed Unicode string output. * dlls/dmusic/dmusic_loader.c, dlls/dmusic/dmusic_performance.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/helper.c: Rok Mandeljc File loading improvements. * include/winnt.h, misc/cpu.c: Marcus Meissner Added PF_PAE_ENABLED and PF_XMMI64_INSTRUCTIONS defines. Detect them and 3DNOW and XMMI_INSTRUCTIONS for Linux. * dlls/winmm/wineaudioio/Makefile.in: Robert Lunnon Added libuuid to wineaudioio makefile. * include/Makefile.in, include/dpaddr.h, include/dplay8.h: Raphael Junqueira Added DirectPlay8 headers. * dlls/kernel/file.c, dlls/kernel/system.c, dlls/user/comm16.c, dlls/winedos/vga.c: Replace calls to WaitForMultipleObjects with a 0 count by calls to SleepEx. * dlls/commdlg/printdlg.c: Get/SetPropW needs a Unicode string. * dlls/msvideo/msrle32/msrle32.c: Michael Günnewig - Fixed interframe compression - now works for RLE4 and RLE8. - Fixed alignment of RLE4 in absolute mode. - Improved compression (smaller output). * DEVELOPERS-HINTS: Tom Wickline - added 2 dlls - added link to apilist - removed suggestion to look at Byte from 20 years ago * misc/cpu.c: Marcus Meissner Fixed CPU detection for FreeBSD and P4. * dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo_main.c, dlls/msvideo/msvideo_private.h: Christian Costa Added support for video compressor/decompressor dynamic installation. * dlls/avifil32/api.c, dlls/avifil32/avifil32.spec: Christian Costa Added some stubs. * dlls/winedos/dosexe.h, dlls/winedos/interrupts.c, dlls/winedos/module.c, dlls/winedos/timer.c: Jukka Heinonen Make timer IRQ handler regular builtin interrupt handler instead of using an assembler stub. 2003-06-27 Alexandre Julliard * dlls/imagehlp/access.c, include/imagehlp.h: Removed Wine-specific definition from exported header (spotted by Steven Edwards). * dlls/dsound/buffer.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/sound3d.c, dlls/dsound/tests/dsound.c: Robert Reif 3D buffer and listener reference counts should be fixed. 3D sound now plays in 3D. COM interfaces should be correct for buffers and 3D stuff. The COM interface is broken on notifications but I will fix that next. Fixed the bug when closing and opening the same or another sound device quickly. Fixed some locking but there is a lot of work left yet. * dlls/commdlg/printdlg.c: Mike Hearn Store PrintStructures in a window property instead of extra window bytes. * dlls/d3d8/d3d8_main.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/d3dcore_gl.h, dlls/d3d8/drawprim.c: Raphael Junqueira - currently always use sloaw path as fast path have some problems - fix APIENTRY mismatched value used by gl func pointers (in d3dcore_gl.h) * dlls/gdi/Makefile.in, dlls/gdi/bidi.c, include/gdi.h, objects/font.c, objects/text.c: Shachar Shemesh Implementation of the reordering algorithm by calling ICU's reordering functions. * dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_loader.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_misc.c, dlls/dmusic/dmusic_performance.c, dlls/dmusic/dmusic_plugins.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/dmusic_segment.c, dlls/dmusic/dmusic_style.c, dlls/dmusic/dmusic_synth.c, dlls/dmusic/helper.c: Raphael Junqueira - huge COM cleanup: only keep dmusic8 version of interfaces when they inherit from dmusic1 and dmusic2 version. And always use dmusic8 versions when available. - really stupid implementation of IDirectMusicLoader8::GetObject when IDirectMusicScript wanted - really fix the refcount problem found by Rok * dlls/winedos/dosvm.c: Gerald Pfeifer Enable all of DllMain(), even if if not MZ_SUPPORTED. * files/profile.c: Stefan Leichter Added line wrapping for a FIXME. * dlls/winedos/int31.c: Sylvain Petreolle Display the interrupt number in hexadecimal. * dlls/oleaut32/typelib.c: Robert Shearman - Silence the FIXME about constructor/destructor since it is wrong for 99.9% of cases (if MS will ever use the feature at all) - Added stubs for ITypeComp interface in ITypeLib - Implementation of ITypeComp in ITypeInfo * configure, configure.ac, dlls/kernel/Makefile.in, dlls/kernel/locale.c, dlls/kernel/tests/locale.c, dlls/ntdll/debugtools.c, include/wine/unicode.h, include/winnls.h, libs/unicode/Makefile.in, libs/unicode/mbtowc.c, libs/unicode/sortkey.c, libs/unicode/utf8.c, libs/unicode/wctomb.c, libs/unicode/wine_unicode.def: Dmitry Timoshkov Implement LCMapString using unicode collation tables. Move CompareString and LCMapString to dlls/kernel/locale.c. * dlls/kernel/Makefile.in, dlls/kernel/process.c, dlls/ntdll/Makefile.in, dlls/ntdll/sysdeps.c, include/thread.h, scheduler/fiber.c, scheduler/process.c, scheduler/sysdeps.c, scheduler/thread.c: Moved some of the process functions to dlls/kernel. Removed kernel dependencies from sysdeps.c and moved it to dlls/ntdll. * dlls/ntdll/loader.c: Make sure to return an error if load_dll fails because the load order is empty. * dlls/ntdll/loader.c: Troy Rollo Removed FIXME when loading second exe file. * libs/unicode/collation.c, libs/unicode/cpmap.pl: Added generation of table of collation keys (based on a patch by Dmitry Timoshkov). * dlls/wininet/netconnection.c: Dmitry Timoshkov Add inclusion of needed for struct timeval declaration. Protect some optional headers from inclusion. * dlls/ole32/ole2.c, dlls/ole32/ole32.spec: Troy Rollo Implemented OleDraw. 2003-06-26 Alexandre Julliard * libs/unicode/c_037.c, libs/unicode/c_042.c, libs/unicode/c_10000.c, libs/unicode/c_10006.c, libs/unicode/c_10007.c, libs/unicode/c_10029.c, libs/unicode/c_1006.c, libs/unicode/c_10079.c, libs/unicode/c_10081.c, libs/unicode/c_1026.c, libs/unicode/c_1250.c, libs/unicode/c_1251.c, libs/unicode/c_1252.c, libs/unicode/c_1253.c, libs/unicode/c_1254.c, libs/unicode/c_1255.c, libs/unicode/c_1256.c, libs/unicode/c_1257.c, libs/unicode/c_1258.c, libs/unicode/c_20866.c, libs/unicode/c_20932.c, libs/unicode/c_28591.c, libs/unicode/c_28592.c, libs/unicode/c_28593.c, libs/unicode/c_28594.c, libs/unicode/c_28595.c, libs/unicode/c_28596.c, libs/unicode/c_28597.c, libs/unicode/c_28598.c, libs/unicode/c_28599.c, libs/unicode/c_28600.c, libs/unicode/c_28603.c, libs/unicode/c_28604.c, libs/unicode/c_28605.c, libs/unicode/c_28606.c, libs/unicode/c_424.c, libs/unicode/c_437.c, libs/unicode/c_500.c, libs/unicode/c_737.c, libs/unicode/c_775.c, libs/unicode/c_850.c, libs/unicode/c_852.c, libs/unicode/c_855.c, libs/unicode/c_856.c, libs/unicode/c_857.c, libs/unicode/c_860.c, libs/unicode/c_861.c, libs/unicode/c_862.c, libs/unicode/c_863.c, libs/unicode/c_864.c, libs/unicode/c_865.c, libs/unicode/c_866.c, libs/unicode/c_869.c, libs/unicode/c_874.c, libs/unicode/c_875.c, libs/unicode/c_878.c, libs/unicode/c_932.c, libs/unicode/c_936.c, libs/unicode/c_949.c, libs/unicode/c_950.c, libs/unicode/casemap.c, libs/unicode/wctype.c: Updated to the latest Unicode standard. * dlls/kernel/comm.c, dlls/kernel/file.c, dlls/ntdll/file.c, dlls/ntdll/sync.c, dlls/winsock/socket.c, files/file.c, files/smb.c, files/smb.h, include/async.h, include/winternl.h: Eric Pouech - made async.h ready for use in ntdll: replaced all calls to kernel32 functions with ntdll equivalent - replaced status setter/getter for wine async structures with direct access to a (now included) IO_STATUS_BLOCK structure - since we now have a IO_STATUS_BLOCK in async_private, we no longer need in most of the user (derivated) structures a field for LPOVERLAPPED (it's stored as the IO_STATUS_BLOCK) - rewrote the async.h users accordingly - implemented ntdll.Nt{Read|Write}File and let kernel32.{Read|Write}File(Ex)? use those new ntdll functions - rewrote smb read/write interfaces to be more ntdll stylish (no overlapped yet) * include/Makefile.in, include/dbghelp.h: Eric Pouech Added dbghelp.h header. * dlls/kernel/tests/process.c: Eric Pouech Added a small test for process exit code retrieval. * dlls/commdlg/cdlg32.c: Steven Edwards Remove unneeded calls to LoadLibrary16 and FreeLibrary16. 2003-06-24 Alexandre Julliard * dlls/oleaut32/variant.c: Marcus Meissner VarAdd: Added VT_R8, VT_EMPTY, VT_NULL handling. * dlls/x11drv/winpos.c: Map top-level windows when WS_VISIBLE is set, but don't unmap them when it's cleared. * dlls/Makefile.in, dlls/make_dlls: Another make install dependency fix. * dlls/ntdll/cdrom.c, dlls/ntdll/file.c, dlls/ntdll/ntdll_misc.h, include/file.h, win32/device.c: Eric Pouech - started implementing ntdll.NtDeviceIoControlFile and made kernel32.DeviceIoControl call it - changed cdrom ioctl function's prototype to stick to ntdll.NtDeviceIoControlFile signature * include/d3d9.h, include/d3d9types.h: Raphael Junqueira d3d9 headers are better when they build. * dlls/commdlg/filedlg.c, dlls/commdlg/filedlg.h, dlls/commdlg/filedlg16.c: Steven Edwards More splitting of the Win16/32 internal filedlgproc window procedures and dialog init. Make a few internal function static and share a few others. * files/smb.c, files/smb.h: Bill Medland A little SMB preparatory work: Don't publish internal information. Add a function for detecting UNC names. Account for the fact that NT allows either separator character. * dlls/oleaut32/olefont.c, dlls/oleaut32/tests/.cvsignore, dlls/oleaut32/tests/Makefile.in, dlls/oleaut32/tests/olefont.c, dlls/oleaut32/variant.c: Marcus Meissner OleCreateFontIndirect(NULL,...) uses the OLE StdFont. Added testcase for OleCreateFontIndirect(NULL). Added VT_NULL -> VT_BOOL variant converter. * dlls/kernel/Makefile.in, dlls/kernel/resource.c, dlls/kernel/sync.c, dlls/kernel/tape.c, dlls/kernel/thread.c, dlls/ntdll/Makefile.in, files/tape.c, scheduler/critsection.c, scheduler/thread.c, win32/kernel32.c: Moved tape.c to dlls/kernel. Moved critical section and resource update functions to dlls/kernel. Started moving some of the thread functions too. * dlls/gdi/mfdrv/init.c: Mike McCormack Handle CreateMetaFileW(NULL) correctly. * dlls/shell32/shv_item_cmenu.c: Aric Stewart ISvItemCm_fnInvokeCommand: added support for "delete" command. * dlls/kernel/Makefile.in, dlls/kernel/file.c, dlls/kernel/file16.c, dlls/kernel/kernel_private.h, dlls/ntdll/file.c, dlls/ntdll/ntdll.spec, files/file.c, include/wine/server_protocol.h, include/winternl.h, misc/registry.c, server/file.c, server/protocol.def, server/trace.c: Eric Pouech - start moving a few file related functions from files/file.c to dlls/kernel subdir (also splitting 16bit APIs in a separate file) - implemented ntdll.Nt{Lock|Unlock}File, and made use of those for the kernel32 equivalent - implemented a few information classes in NtQueryInformationFile and NtSetInformationFile (still lots of missing classes) - enhanced the get_file_info server request in order to implement correctly NtQueryInformationFile (change time & file alloc size) - rewrote registry loading to comply with latest changes * dlls/dmusic/Makefile.in, dlls/dmusic/dmusic_loader.c, dlls/dmusic/dmusic_performance.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/helper.c: Rok Mandeljc Added framework for file loading. * dlls/winedos/dosvm.c: Gerald Pfeifer Expose part of DOSVM_SendQueuedEvents() also for platforms without MZ_SUPPORTED. 2003-06-23 Alexandre Julliard * dlls/user/user32.spec, dlls/user/user_main.c, dlls/x11drv/clipboard.c, dlls/x11drv/event.c, dlls/x11drv/x11drv.h, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c, include/clipboard.h, include/user.h, include/wine/server_protocol.h, server/Makefile.in, server/clipboard.c, server/protocol.def, server/request.h, server/thread.c, server/trace.c, server/user.h, windows/clipboard.c, windows/win.c: Ulrich Czekalla - use global atoms for the format ids - add timeout when calling XCheckTypedWindowEvent - fix broken IsClipboardFormatAvailable; it tried to do a trick with EnumClipboardFormats by making incorrect assumptions - in X11DRV_IsClipboardFormatAvailable do a quick exit if no one owns the selection - add 1 second *minimum* time lapse between XSelectionOwner calls - sync clipboard ownership between different wine processes - prevents apps from getting into wierd state where they thought they didn't own the selection but they did and as a result queried themselves for available selection data * dlls/wineps/init.c: Huw Davies Make sure we update dc->bitsPerPixel. * dlls/gdi/driver.c: Added special case for "display" in DRIVER_GetDriverName so that GetDC(NULL,"display") works. * dlls/gdi/freetype.c, include/gdi.h, objects/font.c, objects/text.c: Huw Davies Don't enable client side fonts unless we have at least one non-symbol font installed - this avoids a nasty Wingdings only scenario. Add the ability to perform font replacements, this essentially lets you give a second name to a font family so that familyA gets enumerated as familyB too. If we encounter two copies of the same font then use the one with the larger version number. Dmitry Timoshkov Move GetTextCharsetInfo implementation to the font driver. * windows/win.c: Aric Stewart Simple optimization in EnableWindow. * windows/painting.c: Dmitry Timoshkov Dump RDW_ flags in RedrawWindow. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Along with AltGr state save also all possible modifier states. * dlls/wineps/download.c, dlls/wineps/escape.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/type42.c: Huw Davies For PostScript versions < 2.015 we need to explicitly allocate space for the 'glyf' array. To conserve VM, we only allow up to two fonts to be downloaded before reclaiming their VM. * dlls/winspool/info.c: Huw Davies It seems cupsGetDefault returns the system default printer and ignores a user's override. So use cupsGetDests instead which does respect the user's choice. Delete all automatically generated printer keys on startup before querying the cups server. * documentation/Makefile.in, programs/Makefile.in, tools/winebuild/Makefile.in: Francois Gouget Make sure to return an error if the file generation fails. * dlls/winedos/int13.c: Francois Gouget O_RDONLY==0 but it's cleaner to pass it to DRIVE_OpenDevice() anyway. * dlls/shell32/changenotify.c, dlls/shell32/shell32.spec: Mike McCormack Change notification fixes. * dlls/gdi/driver.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/init.c, dlls/gdi/enhmfdrv/mapping.c, dlls/gdi/mfdrv/init.c, include/gdi.h, objects/dc.c: Mike McCormack Record SetWorldTransform and ModifyWorldTransform in enhanced metafiles. * dlls/Makefile.in, dlls/make_dlls: Added import libs dependency for make install. * programs/clock/En.rc, programs/clock/Pt.rc, programs/clock/rsrc.rc, programs/cmdlgtst/En.rc, programs/cmdlgtst/Pt.rc, programs/cmdlgtst/cmdlgr.rc, programs/notepad/En.rc, programs/notepad/Pt.rc, programs/progman/Pt.rc, programs/progman/rsrc.rc, programs/start/Pt.rc, programs/start/rsrc.rc, programs/view/En.rc, programs/view/Pt.rc, programs/view/viewrc.rc, programs/wcmd/En.rc, programs/wcmd/Pt.rc, programs/wcmd/wcmdrc.rc, programs/winecfg/En.rc, programs/winecfg/Pt.rc, programs/winecfg/winecfg.rc, programs/wineconsole/wineconsole_Pt.rc, programs/wineconsole/wineconsole_res.rc, programs/winefile/Pt.rc, programs/winefile/rsrc.rc, programs/winemine/En.rc, programs/winemine/Pt.rc, programs/winemine/rsrc.rc, programs/winhelp/Pt.rc, programs/winhelp/rsrc.rc: Marcelo Duarte - localization to the Portuguese of Brazil of "programs/*" - separation of some resources that only existed in English - lesser adjustments in menus * dlls/kernel/console.c, dlls/kernel/kernel_main.c, dlls/ntdll/heap.c, files/profile.c, files/smb.c, memory/heap.c, scheduler/pthread.c, scheduler/syslevel.c: Eric Pouech - in kernel32, replaced all {Enter|Leave}CriticalSection calls with ntdll counterparts - {Enter|Leave}CriticalSection is now a pure forward from kernel32 to ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32) - replaced a few kernel32 heap management calls from ntdll, with RtlHeap* equivalents * dlls/cabinet/fdi.c: Gregory M. Turner - remove unused loop that always iterates once - remove warning - preparations to use multiple fdi_decomp_state structures in a linkedlist, which will be used to implement split cabinets, if all goes according to plan -- this is somewhat analogous to struct cabinet in cabextract. * dlls/avifil32/Makefile.in, dlls/avifil32/acmstream.c, dlls/avifil32/api.c, dlls/avifil32/avifil32.spec, dlls/avifil32/avifile.c, dlls/avifil32/avifile.spec, dlls/avifil32/avifile_private.h, dlls/avifil32/extrachunk.c, dlls/avifil32/getframe.c, dlls/avifil32/icmstream.c, dlls/avifil32/tmpfile.c, dlls/avifil32/wavfile.c, include/vfw.h: Michael Günnewig - Fixed some signed/unsigned mismatches. - Fixed bugs in AVISaveOptions dialog handling. - Fixed bug in AVIFILE_LoadFile -- now check for more than MAX_AVISTREAMS streams in file. - Implemented AVIMakeFileFromStreams and AVISaveVA method. - Added IAVIEditStream interface. - Implemented EditStream* methods. - Added stubs for AVISaveVW, CreateEditableStream. - Added stubs for clipboard handling. * configure, configure.ac, dlls/Makefile.in, dlls/oleacc/.cvsignore, dlls/oleacc/Makefile.in, dlls/oleacc/main.c, dlls/oleacc/oleacc.spec: Eric Pouech Created an empty oleacc DLL. * dlls/kernel/console.c, include/wine/server_protocol.h, programs/wineconsole/wineconsole.c, server/console.c, server/console.h, server/protocol.def, server/trace.c: Eric Pouech In console input record queue, replace semaphore with a manual reset event, so that we get correct behavior in synchronization handling. * dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int09.c, dlls/winedos/relay.c: Jukka Heinonen Add IRQ acknowledge handler for internal IRQs. Change DPMI asynchronous event handling. Always use alternate stack in DPMI relays and check for pending events after original stack has been restored. * include/commctrl.h: Kusanagi Kouichi Added ListView_GetItemText macro. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/mesa.c: Lionel Ulmer - some TRACEing fixes - faster Blt to the framebuffer using texture engine * dlls/commdlg/cdlg_Ru.rc: Oleg Prokhorov Fixed Russian commdlg localization. Some resource elements didn't have proper size, and were partially visible. * dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo_main.c, dlls/msvideo/msvideo_private.h, documentation/samples/system.ini: Michael Günnewig - added stubs for GetOpenFileNamePreview{A,W} - added stubs for GetSaveFileNamePreview{A,W} - removed invalid VIDC.MRLD line from system.ini * dlls/iphlpapi/iphlpapi_main.c, dlls/netapi32/tests/wksta.c, dlls/netapi32/wksta.c: Eric Pouech Fixed a few bugs in network interface handling (code & test). 2003-06-21 Alexandre Julliard * dlls/kernel/console.c, dlls/kernel/editline.c, dlls/kernel/kernel32.spec, dlls/kernel/kernel_private.h, dlls/kernel/tests/console.c, files/file.c, include/wine/server_protocol.h, programs/wineconsole/wineconsole.c, scheduler/handle.c, scheduler/process.c, scheduler/synchro.c, server/console.c, server/console.h, server/fd.c, server/process.c, server/protocol.def, server/request.h, server/trace.c: Eric Pouech - adapted kernel32 so that it no longer (directly) manages console handles as wineserver handles - console input handle object is no longer waitable (input record synchronisation is now implemented as a simple semaphore), and removed FD_TYPE_CONSOLE from fd types in wineserver - console handles now always have their two lower bit set so one can distinguish a console handle from a kernel object handle - implemented some undocumented kernel32 console related APIs (CloseConsoleHandle, GetConsoleInputWaitHandle, OpenConsoleW, VerifyConsoleIoHandle, DuplicateConsoleHandle) - allowed a few kernel32 APIs to take console pseudo-handles (FlushFileBuffer, GetFileType, WaitFor*Object*) - simplified the console inheritance at process creation - in console tests, no longer create a console if one already exists * server/mapping.c: The server also needs to cope with IMAGE_SCN_CNT_UNINITIALIZED_DATA and IMAGE_SCN_CNT_INITIALIZED_DATA flags set together. * dlls/ntdll/virtual.c: Eric Pouech Fixed section mapping in PE loading when both IMAGE_SCN_CNT_UNINITIALIZED_DATA and IMAGE_SCN_CNT_INITIALIZED_DATA are set. * dlls/shell32/shell32_main.c: Jason Edmeades SHGetFileInfo should tolerate null pointers. 2003-06-20 Alexandre Julliard * dlls/x11drv/window.c: Kusanagi Kouichi Store WM_NAME and WM_ICON_NAME in COMPOUND_TEXT format. * configure, configure.ac, dlls/wininet/Makefile.in, dlls/wininet/cookie.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/netconnection.c, include/config.h.in: David Hammerton - implemented support for https protocol - fixes to the http protocol * configure, configure.ac, dlls/gdi/Makefile.in, include/config.h.in: Added checks for ICU libraries (based on a patch by Shachar Shemesh). * tools/makedep.c: Added support for #include in IDL files (based on a patch by Robert Shearman). * include/wtypes.h, include/wtypes.idl: Robert Shearman Added typedef for COLORREF. * dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.c, dlls/opengl32/opengl_norm.c: Lionel Ulmer Do not use any typedefs in the GL thunks to prevent all possible compilation issues. * include/Makefile.in, include/d3d9.h, include/d3d9caps.h, include/d3d9types.h: Raphael Junqueira Added d3d9 headers. * dlls/winedos/dosvm.c, dlls/winedos/int31.c: Jukka Heinonen Add int31 VIF manipulation functions. Fix asynchronous event locking. Make asynchronous event handling support DPMI. * documentation/debugger.sgml: Eric Pouech Added a section about using kgdb and ddd to debug wine. 2003-06-18 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20030618. ---------------------------------------------------------------- 2003-06-18 Alexandre Julliard * dlls/advapi32/registry.c, dlls/advapi32/service.c, dlls/comcat/information.c, dlls/comcat/regsvr.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/propsheet.c, dlls/comctl32/tooltips.c, dlls/ddraw/ddraw/thunks.c, dlls/kernel/sync.c, dlls/kernel/tests/format_msg.c, dlls/ntdll/file.c, dlls/ole32/regsvr.c, dlls/ole32/storage32.c, dlls/oleaut32/parsedt.c, dlls/serialui/confdlg.c, dlls/setupapi/devinst.c, dlls/shell32/shelllink.c, dlls/shell32/shellord.c, dlls/user/comm16.c, dlls/user/tests/class.c, dlls/wininet/internet.c, dlls/winmm/lolvldrv.c, dlls/winsock/socket.c, dlls/winspool/info.c, files/smb.c, graphics/x11drv/xfont.c, programs/uninstaller/main.c, programs/winemenubuilder/winemenubuilder.c, scheduler/client.c, server/named_pipe.c, server/registry.c, server/request.c: Francois Gouget 'sizeof type' is best avoided as it won't always compile (e.g. 'int main() {return sizeof int;}'). Use 'sizeof(type)' instead. * LICENSE: Gerald Pfeifer Include 2003 in the copyright years. * programs/notepad/License_En.c, programs/notepad/license.c: Gerald Pfeifer #include instead of "windows.h". * dlls/dsound/primary.c, dlls/dsound/sound3d.c: Robert Reif Fixed a reference counting bug I introduced. * dlls/cabinet/cabextract.c, dlls/cabinet/fdi.c, dlls/comctl32/toolbar.c, dlls/comctl32/updown.c, dlls/commdlg/printdlg.c, dlls/dplayx/dplayx_global.c, dlls/kernel/tests/path.c, dlls/kernel/tests/thread.c, winedefault.reg, dlls/ntdll/time.c, dlls/ole32/antimoniker.c, dlls/ole32/compobj.c, dlls/ole32/compositemoniker.c, dlls/ole32/itemmoniker.c, dlls/oleaut32/safearray.c, dlls/oleaut32/variant.c, dlls/shell32/shlexec.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, dlls/shlwapi/clist.c, dlls/shlwapi/path.c, dlls/shlwapi/thread.c, dlls/winmm/wineoss/midi.c, documentation/HOWTO-winelib, documentation/PACKAGING, documentation/debugger.sgml, documentation/debugging.sgml, documentation/dlls.sgml, documentation/patches.sgml, documentation/shell32, documentation/status/directplay, libs/wpp/ppl.l, objects/font.c, programs/notepad/main.c, programs/view/view.c, programs/winecfg/main.c, programs/winecfg/winecfg.rc, programs/winedbg/registers.c, tools/winedump/README, tools/wrc/parser.y: Francois Gouget Typos/spelling fixes. * dlls/kernel/tests/environ.c, dlls/kernel/tests/process.c, dlls/ntdll/tests/env.c: Eric Pouech - kernel32's environment tests: a few more tests now succeed - added some console related tests to process creation - added a few more test cases to the ntdll environment tests * dlls/kernel/kernel_main.c, dlls/ntdll/env.c, dlls/ntdll/ntdll_misc.h, include/winternl.h, memory/environ.c, scheduler/process.c: Eric Pouech - fixed a couple of bugs in ntdll environment functions (one in trace, the other one in environment variable expansion) - the process parameters, when passed thru wineserver, are now fully handled in ntdll, they are stored in the RTL_USER_PROCESS_PARAMETERS structure. - later on in kernel32 loading sequence, those parameters are copied into STARTUPINFO shadow structures - later modification to those paramters are now reflected to the RTL_USER_PROCESS_PARAMETERS structure (and STARTUPINFO is kept untouched) (for example, StdHandle setting) (Win 2k behaves like this) - ENVDB has been removed - command line inheritance (from unix command line) is now purely in ntdll - all kernel32 environment functions now rely on their ntdll counterparts - goodies: input/output handle inheritance while asking for a detached console is better handled; a few more kernel32 environment tests now pass ; silenced a valgrind warning in process creation * programs/winefile/En.rc, programs/winefile/Fr.rc, programs/winefile/rsrc.rc: Sylvain Petreolle Added French translation, finished English translation. * documentation/README.pt: Tom Wickline Tranlation of English README to Portuguese. * dlls/dmusic/dmusic_loader.c, dlls/dmusic/dmusic_performance.c, dlls/dmusic/dmusic_segment.c: Raphael Junqueira - add IDirectMusicContainer support in IDirectMusicLoader8Impl::LoadObjectFromFile - don't use IDirectMusicSegment*Impl when IDirectMusicSegment*8Impl can be used instead (avoid code duplication) * dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/drawprim.c, dlls/d3d8/stateblock.c, dlls/d3d8/surface.c, dlls/d3d8/texture.c, dlls/d3d8/utils.c, dlls/d3d8/volumetexture.c: Raphael Junqueira - dsound and d3d works better when x11drv locks/unlocks are correct - more traces 2003-06-17 Alexandre Julliard * dlls/msvcrt/cpp.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec, dlls/msvcrtd/msvcrtd.spec: Added an assembly wrapper to retrieve the this pointer from %ecx for _thiscall functions. Fixed some bugs, and added a few missing functions. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/git.c, dlls/ole32/oleproxy.c: Mike Hearn Implement a class factory for the Global Interface Table. * dlls/cabinet/cabextract.c, dlls/cabinet/cabinet.h, dlls/cabinet/fdi.c: Gregory M. Turner - move macros and constants into cabinet.h where they can be shared between cabextract.c and fdi.c - reminders to eliminate global variables (for multithread compatibility) - remove struct fdi_cab: due to the nature of the FDI API, we cannot preload all the cabinets; this appears to obviate the need for struct fdi_cab - "oppress" (that is, do not process) partial files which were continuations from another cabinet - more than one partial file can exist in a single cabinet (how!?) -- so move the partial file notification (and "oppression" that goes with it) into the loop that iterates through files 2003-06-16 Alexandre Julliard * dlls/dmusic/dmusic_loader.c, dlls/dmusic/dmusic_misc.c, dlls/dmusic/dmusic_performance.c, dlls/dmusic/dmusic_private.h: Christian Costa Allocate necessary dsound buffers for standard audio paths and enable retrieval of their interfaces via GetObjectInPath. Fix and clean dsound and dmusics objects allocation when initializing the performance object. Some stubs improvements. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer - rewrote the buffer to buffer fast path using Texture engine (much faster on my NVIDIA hardware) - small optimizations * dlls/dinput/device.c, dlls/dinput/device_private.h, dlls/dinput/dinput.spec, dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c, dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c, include/dinput.h: Raphael Junqueira - DInput WideChar classes support. This time all dinput versions have widechar classes. - fix a stupid bug in callback handling caught by Lionel. - add some forgotten IID on class factory (better if we want to active the code) - many cleanups on COM Macros (don't need A and W variants as they are the same) * dlls/d3d8/surface.c: Raphael Junqueira Fix AddDirtyRect uncorrect behavior (crash in some cases). Based on a patch from Roderick Colenbrander. * winedefault.reg: Sylvain Petreolle Display icons of executables in the OpenFile dialog boxes. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, dlls/ntdll/ntdll.spec, dlls/ntdll/sec.c, include/winnt.h, include/winternl.h: Added AddAccessAllowdAceEx, AddAccessDeniedAceEx, GetAclInformation. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/gl_api.h, dlls/ddraw/gl_private.h, dlls/ddraw/mesa.c: Lionel Ulmer - fix some regressions - GetDC does not lock in ReadOnly mode as it leads to problems with some D3D optimizations - added a fast Back => Front / Front => Back Blt fast path * dlls/setupapi/Makefile.in, dlls/setupapi/devinst.c, dlls/setupapi/devinst16.c: Steven Edwards Split Win16/32 setupapi device installer support. * dlls/wininet/urlcache.c, dlls/wininet/wininet.spec: Mike Hearn Stub out SetUrlCacheEntryInfoA/W. * dlls/comctl32/trackbar.c: Mike Hearn - Unbreak vertical trackbars - Make it more closely resemble the native control - Add focus rectangle - Misc fixes and cleanups * dlls/shell32/control.c, dlls/shell32/shell32.spec: Mike Hearn Add stubs for Control_FillCache_RunDLL ansi/unicode variants. * dlls/iphlpapi/ipstats.c: Gerald Pfeifer Unbreak getTcpTable() on Linux-based systems and make it work on BSD and Solaris as well. * dlls/ntdll/critsection.c: Mike Hearn Add the ID of the blocking thread to the error message. * dlls/avifil32/avifile_Si.rc, dlls/avifil32/rsrc.rc, dlls/commdlg/cdlg_Si.rc, dlls/msvideo/msrle32/msrle_Si.rc, dlls/msvideo/msrle32/rsrc.rc, dlls/user/resources/user32.rc, dlls/user/resources/user32_Si.rc, dlls/wineps/rsrc.rc, dlls/wineps/wps_Si.rc, dlls/winmm/winmm_Si.rc, programs/start/Si.rc, programs/start/rsrc.rc, programs/winhelp/Si.rc: Rok Mandeljc Updated a bunch of translations for Slovenian language. * dlls/ntdll/ntdll.spec, dlls/ntdll/path.c, include/winternl.h: Eric Pouech Implemented: - RtlDoesFileExists_U as a stub - RtlDosSearchPath_U * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - GL state change optimizations - some more preparations for GL-accelerated Blts - added debug code to compute FPS (nice when adding optimizations) * dlls/netapi32/Makefile.in, dlls/netapi32/netapi32.c, dlls/netapi32/wksta.c, include/nb30.h: Juan Lang Use iphlpapi to enumerate LAN adapters. Add names to NetBIOS transports, and eliminates loopback adapters from enumerated LAN adapters. * include/strmif.h: Lionel Ulmer Make the header in-line with current ICOM naming conventions. * dlls/x11drv/xvidmode.c: Correct mode nr passed to X11DRV_XF86VM_SetCurrentMode. * winedefault.reg: Lionel Ulmer Fix the FilterGraph CLSID declaration. * dlls/commdlg/Makefile.in, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg.h, dlls/commdlg/filedlg16.c: Steven Edwards Split Win16/32 file dialogs. * dlls/ntdll/signal_i386.c, include/thread.h: Jukka Heinonen Remove SIGALRM handler. Reserve TEB field for DPMI virtual interrupt flag. * dlls/winedos/int21.c, msdos/int21.c: Jukka Heinonen Migrate create/open file functions to winedos. Some fixes based on patch by Ferenc Wagner. * dlls/winedos/dosvm.c: Jukka Heinonen Make DOSVM_Wait work in protected mode. Replace SHOULD_PEND macro with a function. * include/control.h: Lionel Ulmer Make the header in-line with current ICOM naming conventions. 2003-06-14 Alexandre Julliard * programs/wineconsole/curses.c: Fixed WCCURSES_InitBackend prototype in the no curses case. * files/file.c, include/wine/server_protocol.h, server/named_pipe.c, server/protocol.def, server/trace.c: Make it possible to retrieve an inheritable handle in open_named_pipe (spotted by Uwe Bonnes). 2003-06-13 Alexandre Julliard * Make.rules.in, dlls/Makedll.rules.in, dlls/Maketest.rules.in, dlls/x11drv/Makefile.in, libs/Makelib.rules.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in, server/Makefile.in: Proper support for CPPFLAGS and LDFLAGS (suggested by Todd Vierling). * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer - fixes the COLORFILL case for front-buffer - some preparations for GL-accelerated Blts - some small optimizations in the Clear code * dlls/winedos/int31.c: Sylvain Petreolle Trace which real mode interrupt is emulated. * dlls/msvideo/msrle32/msrle32.c, dlls/msvideo/msrle32/msrle_private.h: Michael Günnewig - Fixed end flags while encoding -- only EOI instead of EOL and EOI. - Fixed 4-bit RLE encoding of keyframes. - Fixed signed/unsigned mismatches. - Added some missing const's. * dlls/cabinet/fdi.c: Gregory M. Turner - most of FDICopy is now implemented, although the actual decompression is not. - "can" -> "do" - a novella about a bug - fix some memory leaks * dlls/rasapi32/rasapi32.spec: Removed ordinals that differ between Windows versions. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/surface.c, dlls/d3d8/utils.c: Jason Edmeades Fix the texture operations to resolve glitches shown in UT2003 when get quad damage. checkGLcall must not supply a \n as that is supplied by its expansion. Performance fixes to save applying the same states 6 times and to reduce function calls when accessing front/back buffers. Make traces more readable by more constants -> english descriptions. * dlls/dmusic/dmusic_loader.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_misc.c, dlls/dmusic/dmusic_performance.c, dlls/dmusic/dmusic_private.h: Raphael Junqueira - always use IDirectMusicPerformance8Impl instead of IDirectMusicPerformanceImpl (as the first inherits from the second) - implement many Loader, AudioPath and Performance8 stubs - fix the class factory - more debug traces - for now IDirectMusicLoader8::LoadObjectFromFile always returns not supported format - fix the IDirectMusicPerformance8::Init (many crashes) - implementation of IDirectMusicPerformance8InitAudio * dlls/dinput/device.c, dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c, dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c, include/dinput.h: Christian Costa Make dinput8 behaviour more correct for mouse and keyboard. Fix small bug when keyboard buffer overflows. Use DI_OK instead of 0 for returned values. * dlls/ddraw/d3dexecutebuffer.c: Christian Costa Fix matrix multiplication. * dlls/cabinet/cabinet.h: Gregory M. Turner Fix some uglies. * dlls/x11drv/keyboard.c: Sylvain Petreolle Added Euro and antiquote to the French keyboard layout. * dlls/d3d8/directx.c: Jason Edmeades When emulating fullscreen it helps to not allocate space for menu bars and borders. Make this window a popup window. * dlls/rasapi32/rasapi32.spec, include/ras.h: Francois Gouget Add stubs for RasDeleteSubEntry* (new in WinMe/WinXP). Add prototypes for RasDeleteEntry* and RasDeleteSubEntry* in ras.h. * dlls/d3d8/Makefile.in, dlls/d3d8/d3d8_private.h, dlls/d3d8/d3dcore_gl.h, dlls/d3d8/device.c, dlls/d3d8/drawprim.c, dlls/d3d8/shader.c, dlls/d3d8/surface.c, dlls/d3d8/utils.c, dlls/d3d8/vshaderdeclaration.c: Jason Edmeades Make the fixed function pipeline support multiple streams for created vertex shaders with no function supplied. Also split down draw primitive along the lines of the d3dcore requirements and put in some diagnostic aids. * dlls/commdlg/Makefile.in, dlls/commdlg/colordlg.c, dlls/commdlg/colordlg.h, dlls/commdlg/colordlg16.c: Steven Edwards Split Win16/32 color dialog support. Supporting compiling out 16 bit find dialog support. * include/winsock.h: Yorick Hardy Include time.h instead of sys/time.h. * dlls/quartz/Makefile.in, dlls/quartz/filtergraph.c, dlls/quartz/main.c, dlls/quartz/quartz_private.h, include/Makefile.in, include/control.h, include/dshow.h, include/strmif.h, include/uuids.h, winedefault.reg: Lionel Ulmer Stubbed some interfaces for the FilterGraph CLSID. * dlls/winedos/int21.c, msdos/int21.c: Jukka Heinonen Move get current directory and set current directory int21 subfunctions into winedos. Fix quite a few bugs in the implementation of these functions. * dlls/cabinet/cabinet.h, dlls/cabinet/fdi.c: Gregory M. Turner - implement FDI{Create,Destroy,IsCabinet} - fix a typo - duplicate a bug - some blathering about code duplication - change fdi.c indentation to be consistent with cabextract.c * dlls/oleaut32/safearray.c, dlls/oleaut32/tests/safearray.c: Marcus Meissner Fixed index handling for multi dimensional arrays. * BUGS: Tom Wickline - cosmetic fixes - remove obsolete link * winedefault.reg: Sylvain Petreolle Show that TCP/IP is installed to windows apps, like winipcfg. * dlls/ntdll/cdrom.c, include/file.h, include/ntddscsi.h, win32/device.c: Eric Pouech Added support for overlapped ioctl requests (and a few other cosmetics). * programs/wineconsole/curses.c, programs/wineconsole/user.c, programs/wineconsole/winecon_private.h, programs/wineconsole/wineconsole.c: Eric Pouech If (n)curses wasn't available at compile time: - print sensible information - fall back to user backend * dlls/dinput/device.c: Paul Bain Put IID_IDirectInputDevice2A back in IDirectInputDevice2AImpl_QueryInterface. * dlls/ddraw/dsurface/main.c: Lionel Ulmer Be more stringent in the 'Lock' invalid RECT check. * dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.c: Lionel Ulmer Upgrade OpenGL thunks with latest version of OpenGL extension registry. * dlls/comctl32/toolbar.c: Robert Shearman - Make button text centre correctly when dropdown arrow is present - Centre dropdown arrow * dlls/psapi/psapi.spec, dlls/shdocvw/shdocvw.spec, dlls/wintrust/wintrust.spec: Francois Gouget Add stubs for some new WinXP APIs. * dlls/urlmon/urlmon.spec, include/urlmon.h: Francois Gouget Add a stub for CompareSecurityIds (new in WinXP). * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Fix the BLT COLOR_FILL case. * dlls/winedos/Makefile.in, dlls/winedos/dosvm.c, dlls/winedos/timer.c: Jukka Heinonen Split timer code into separate source file. Stop using SIGALRM for timers. * dlls/cabinet/cabextract.c, dlls/cabinet/cabinet.h: Gregory M. Turner - paranoia: eliminate some global variables - better reminder on how to fix memory leaks 2003-06-07 Alexandre Julliard * dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_instrument.c, dlls/dmusic/dmusic_loader.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_misc.c, dlls/dmusic/dmusic_performance.c, dlls/dmusic/dmusic_plugins.c, dlls/dmusic/dmusic_port.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/dmusic_segment.c, dlls/dmusic/dmusic_style.c, dlls/dmusic/dmusic_synth.c: Rok Mandeljc - added debug - implemented fake midi & performance channels - implemented some IDirectMusic*8* functions where IDirectMusic* equivalent exists - IDirectMusic*8 interfaces can now be obtained from IDirectMusic interfaces (QueryInterface...) - channel-related performance functions are kinda implemented now * graphics/painting.c: Arjen Nienhuis New implementation of GdiGradientFill using integer math. * dlls/dinput/mouse/main.c: Christian Costa Fix SetDataFormat and implement GetDeviceInfo for mouse device. * documentation/samples/config: Mike Hearn Add a drive mapping for root to the default configuration file. * tools/wineinstall: Mike Hearn Check for /lib/tls directory for Red Hat 9. * dlls/winsock/socket.c: Kester Maddock Check for a null pointer in WS_setsockopt. * dlls/user/dde/misc.c: Mike Hearn Protect WDML_GetConv against null handles. * dlls/commdlg/Makefile.in, dlls/commdlg/fontdlg.c, dlls/commdlg/fontdlg.h, dlls/commdlg/fontdlg16.c: Steven Edwards Separate Win16 and Win32 font dialog support. * dlls/ntdll/signal_i386.c: Eric Pouech Correctly convert into EXCEPTION_RECORD SIGTRAPs received from DebugBreakProcess. 2003-06-06 Alexandre Julliard * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Sylvain Petreolle Implemented wininet.InternetGetConnectedStateEx. * dlls/comctl32/listview.c: Dimitrie O. Paun Align the text vertically in single line labels (spotted by BiGgUn). * dlls/d3d8/d3d8_private.h, dlls/d3d8/d3dcore_gl.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/utils.c: Raphael Junqueira Fixed compilation problems. * dlls/msvcrt/locale.c, dlls/msvcrt/msvcrt.spec: Martin Fuchs Stub implementation for _Gettnames. * dlls/kernel/sync.c: Mike McCormack Always return FALSE when doing an overlapped ConnectNamedPipe. * objects/text.c: Ingmar Thiemann Implemented PolyTextOutA/PolyTextOutW. * dlls/shell32/brsfolder.c, include/shlobj.h: Robert Shearman - Support a few more flags - Rewrite the enumeration loop - Support non-desktop root - Silence harmless and implemented debug messages * dlls/winedos/dosexe.h, dlls/winedos/dosvm.c: Jukka Heinonen Pending timer interrupts no longer deadlock DOSVM_Wait. Restored interrupt priorities to correct values. 2003-06-04 Alexandre Julliard * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - fix the texture upload code when RECT is actually used - optimize FB Locks / Unlocks when RECTs are used * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3dviewport.c: Lionel Ulmer - Viewport hack to get some old D3D1 games to work - TRACEing fix * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c: Lionel Ulmer - small TRACEing fix - fix bug in texture upload (I wonder how I missed this :-/ ) - improve the D3D1/2 texture mapping modes * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/mesa.c: Lionel Ulmer - fix (stupid) regressions introduced by last series of patch - 24 bpp handling for lock / unlock code - some better checks for AlphaPixel value - better TRACEing to better catch threading problems * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - some GL critical section fixes - only bind textures at start of rendering - optimized the texture parameter code - optimize of the 'dirty checking code' for mipmapping - handles the MAXMIPLEVEL texture parameter * dlls/ddraw/d3d_private.h, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/main.h, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/dsurface/main.c: Lionel Ulmer - proper (tested on Win2K) reference counting for Direct3D object - fix one case of reference counting on textures - fix stupid bug in texture upload code - yet another texture enumeration reordering * dlls/ddraw/d3dtexture.c: Lionel Ulmer Fixed a bug in the FrameBuffer => Texture blits. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - added RECT support to the texture upload code - use the common code for the FB Unlock code * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - some clean-ups (extension code to be added soon) - some interface changes for future reuse for Blt / Lock code - fixed some Pitch problems in texture uploads (mostly for 'small' mip-mapping levels) * dlls/ddraw/d3dtexture.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Refactoring of the texture upload code. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Fix texture parameters handling on texture change. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c: Lionel Ulmer - remove some extraneous saving of the read buffer settings - cleaned-up the GL / device critical section handling * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c: Lionel Ulmer - protect viewport setting with GL lock - no need anymore to flush to FB on execute buffer calling * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c: Lionel Ulmer Some threading fixes (prevents some dead-locks). * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/gl_api.h, dlls/ddraw/gl_private.h, dlls/ddraw/mesa_private.h: Lionel Ulmer - implement FB => Texture blits - fix compilation on non-recent glext.h systems * dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/surface.c, dlls/d3d8/texture.c, dlls/d3d8/volume.c, dlls/d3d8/volumetexture.c: Raphael Junqueira - cleaning of volume.c/volumetexture.c as done previously for surface.c/*texture.c (with add of lockable, locked and Dirty flags) - add of dirtyRect/dirtyBox for better dirtification management (not used yet, but huge optimisation can be possible now) - fix some debug traces (well it's better to use debug_d3dpool) - fix some stupid regression on point parameters (forgot to check extension on fillcaps) * dlls/d3d8/d3d8_private.h, dlls/d3d8/d3dcore_gl.h, dlls/d3d8/device.c, dlls/d3d8/directx.c: Raphael Junqueira - add a new private header d3dcore_gl.h that declares needed opengl defines and the caps defines - cleanup of device.c using the caps defines (avoid the #ifdef nigthmare) - add {Set,Get}GammaRamp support * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/surface.c, dlls/d3d8/swapchain.c: Raphael Junqueira - some cleanup and warning fixes - split of CreateDevice gl/gxl detection code into FillGLCaps - implementation of resolution change (using ChangeDisplaySettings) but desactived as ChangeDisplaySettings don't seem to work well - begin of swap chain support (now need to split/clean gxlpbuffer/glxpixmap code for swap chain use) * dlls/d3d8/surface.c: Jason Edmeades Fix the glRead call when pRect != NULL, resolve the file format of the saved snapshot correctly. * dlls/d3d8/surface.c: Raphael Junqueira - fix another time the stupid locking bug (i had already fixed it in ActiveRender) - fix stupid rescaling of colors values on SaveSnapshot * dlls/d3d8/d3d8.spec, dlls/d3d8/d3d8_main.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/shader.c: Raphael Junqueira - pixel shader program dump code - pixel shader code split into a new "COM object" (as done before for vertex shader) - some fixes on Validate* functions call types - add pixel shader (ie fragment_program) detection on caps code * dlls/d3d8/device.c, dlls/d3d8/utils.c: Jason Edmeades Add support for a lot of the remaining texture ops, move code into the utils module, and clean up the main code path. * dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/surface.c, dlls/d3d8/texture.c, dlls/d3d8/utils.c, dlls/d3d8/volumetexture.c: Raphael Junqueira - some cleanups - more cubetextures fixes (now d3d8 sdk cubemap sample work almost perfectly) - add a new debug function "debug_d3dpool" and use it - add a new param (the device) for the conversions functions (because we need to check caps to see how to convert) - some crashes fixed in render to surface code with no stencil-depth surface - a very simple cliplane fix - a stupid palettes fix (stupid language) - begin of anisotropic filter support - begin of compressed textures support - a very useful debug functions: IDirect3DSurface8Impl_SaveSnapshot to dump surfaces as png ;) - many useful surfaces debug code (using SaveSnapshot) * dlls/d3d8/device.c, dlls/d3d8/directx.c: Jason Edmeades Correct specular enable renderstate. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/stateblock.c: Jason Edmeades Avoid the use of glGet when we know the information locally. * dlls/d3d8/directx.c, dlls/d3d8/utils.c: Jason Edmeades Opengl 1.4 added stencil wrap support as per directx (also in the GL_EXT_stencil_wrap extension). * dlls/d3d8/Makefile.in, dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/resource.c, dlls/d3d8/shader.c, dlls/d3d8/stateblock.c, dlls/d3d8/surface.c, dlls/d3d8/swapchain.c, dlls/d3d8/texture.c, dlls/d3d8/utils.c, dlls/d3d8/volumetexture.c: Raphael Junqueira - implemented render to surfaces (and render to new rendertargets) using glx pbuffers (with a useful debug code to display rendered surface into window drawable) - better cubetextures - split utilities functions into utils.c and added more - more readable debug again - a better caps code (not perfect but i'll use glx code later) - use of the new caps code - begin of UpdateTexture - begin of Cursor support - cleaning most of deprecated #if 0/#endif - correct some lockable/unlockable behavior - correct some returns code * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c: Lionel Ulmer - do not search for attached surfaces if the texture doesn't have the MIPMAP flag set - add GL crit. section support for matrix setting - support the various BLEND texture operations * dlls/ddraw/mesa.c: Yorick Hardy Added the D3DTBLEND_DECAL render state. * controls/edit.c, dlls/setupapi/queue.c, documentation/debugging.sgml, files/profile.c, memory/global.c, programs/rpcss/rpcss_main.c: Francois Gouget Fix some typos. * dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/winenas/audio.c, dlls/winmm/wineoss/audio.c: Robert Reif Added a dynamically growing ring buffer for oss, alsa, arts, and nas. * documentation/authors.ent: Tom Wickline Updated my e-mail address. * libs/wpp/ppl.l: Paul Laufer Work around for flex brain damage. * dlls/msvcrt/locale.c, dlls/msvcrt/msvcrt.spec: Marcus Meissner Implemented localeconv() with libc function. * include/msvcrt/time.h: Antonio Larrosa Jiménez Added CLOCKS_PER_SEC. * dlls/winsock/ws2_32.spec: Antonio Larrosa Jiménez Added WSASetEvent forward. * documentation/samples/win.ini: Tom Wickline Added 10 new mci extensions. * controls/listbox.c: Mike Hearn Update listbox directory mode to new FindFirstFile error code. * dlls/user/text.c: Vitaliy Margolen DrawTextEx: honor clipping for underscores. * winedefault.reg: Robert Reif Added DirectSound entries. * graphics/x11drv/palette.c: Jason Edmeades With >256 colours, there is no need to realize a palette, so skip it and return that no palette entries had to change. * dlls/comctl32/listview.c: Dimitrie O. Paun Remove bFirstPain funky optimization, it is causing too much grief. * dlls/winedos/int21.c, files/drive.c, include/drive.h, msdos/int21.c: Jukka Heinonen Migrate most int21 ioctl routines to winedos. Migrate int21 set drive routine to winedos. * dlls/kernel/kernel32.spec, scheduler/process.c: Lionel Ulmer Implemented a semi-stub for GetProcessPriorityBoost. * dlls/user/dde/server.c: Dmitry Timoshkov Revert some really unwanted changes to the DDE code. * dlls/ntdll/cdrom.c: Yorick Hardy Improve CDROM_GetIdeInterface (becomes CDROM_GetInterfaceInfo), in order to better support SCSI drives. * include/winsock.h: Yorick Hardy Include sys/time.h for struct timeval definition. * dlls/ntdll/signal_i386.c: Yorick Hardy Use SA_RESTART on NetBSD. * programs/wineconsole/curses.c: Jukka Heinonen Wineconsole curses backend now works even if terminal is smaller than console size. Cursor is no longer left into wrong location after screen updates. * dlls/ntdll/sync.c: Jukka Heinonen Timer routines must check for NULL timer name. * programs/winhelp/Si.rc, programs/winhelp/Sk.rc, programs/winhelp/hlpfile.c, programs/winhelp/winhelp.c: Eric Pouech - added some missing strings to resources - made the decompression code a bit more pedantic to avoid crashes - fixed startup without .HLP filename passed on command line - passed a few more commands from remote applications to the macros * dlls/ddraw/Makefile.in, dlls/ddraw/ddraw/hal.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/user.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/main.c, dlls/ddraw/gl_api.h, dlls/ddraw/gl_private.h, dlls/ddraw/main.c, dlls/ddraw/mesa_private.h: Mike McCormack Lionel Ulmer Make DDraw not linked 'statically' to OpenGL. * dlls/dinput/keyboard/main.c: Mark Westcott DInput keyboard handling checks for incoming X11 events. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/errorinfo.c: Ove Kaaven Preliminary support for COM apartments. * dlls/d3d8/device.c, include/d3d8types.h: Jason Edmeades Fill in lots of unimplemented render states. 2003-05-22 Alexandre Julliard * dlls/dsound/sound3d.c: Duane Clark Fix compile error. * dlls/ntdll/heap.c, dlls/ntdll/ntdll_misc.h, include/thread.h, include/winternl.h, loader/module.c, memory/heap.c, programs/winedbg/winedbg.c, scheduler/thread.c: Start to make use of the proper PEB structure for process information. * miscemu/main.c: Warning fix. * dlls/kernel/kernel_main.c, win32/newfns.c: Beep() is still needed in ntdll, move it back to some random file. * miscemu/Makefile.in: Added dependency on libntdll to make sure that everything links properly. * dlls/dsound/tests/dsound.c: Robert Reif Add 3d primary and secondary buffer tests. Check reference count at object release. Remove redundant cooperative level setting. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c: Robert Reif - make parameter checking and error notification consistent - propagate driver and local function errors where needed - fix error returns where pointer is given for returned data - add 3d listener to primary buffer when needed - copy 3d part of buffer when duplicated - fix bug when primary buffer is reopened with smaller buffer - loosen requirements on caps data size check - set caps for emulated mode based on actual driver caps * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/dsurface/fakezbuffer.c: Lionel Ulmer - remove fogging too when doing the flush of the frame buffer - handle dest rect in the Blt DEPTH_FILL case - fix QueryInterface on the D3D Device * dlls/comctl32/listview.c: Maxime Bellengé Fix listview custom draw notification for CDDS_ITEMPREPAINT and CDDS_SUBITEMPREPAINT messages. * dlls/ole32/dcom.h, dlls/ole32/dcom.idl: Ove Kaaven DCOM IDL file based on the DCOM specification. * dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/rpc_message.c, dlls/rpcrt4/rpc_misc.h, dlls/rpcrt4/rpc_server.c: Ove Kaaven Initial support for RPC call failures, by catching RPC server exceptions and returning simple failure packets, and throwing exceptions on the client side when unmarshalling the failure packet. * dlls/d3d8/device.c: Jason Edmeades Avoid setting and resetting the same values when there are many rectangles. * dlls/comctl32/header.c: Robert Shearman Update ordering on insertion of an item. 2003-05-21 Alexandre Julliard * configure, configure.ac, dlls/shell32/Makefile.in, dlls/shell32/memorystream.c, dlls/shell32/shell32_main.h, dlls/shell32/shelllink.c, include/wine/obj_shelllink.h, programs/Makefile.in, programs/winemenubuilder/.cvsignore, programs/winemenubuilder/Makefile.in, programs/winemenubuilder/winemenubuilder.c: Mike McCormack Remove code that starts wineshelllink, instead create a windows compatible shortcut (*.lnk) file. After creating that file, start a link processor (winemenubuilder) on it, which reads it back then calls wineshelllink. Rework CreateStreamFromFile to create an IStream object that is writeable. * libs/port/spawn.c: Reset SIGCHLD handler to default if we need to wait. Reset SIGPIPE handler before exec. * include/module.h, loader/module.c, loader/ne/module.c: Moved a couple of 16-bit module functions from to loader/ne/module.c. * dlls/kernel/Makefile.in, dlls/kernel/change.c, dlls/kernel/error16.c, dlls/kernel/kernel_main.c, dlls/ntdll/Makefile.in, misc/error.c, misc/main.c: Moved misc/error.c to dlls/kernel/error16.c. Get rid of misc/main.c. * dlls/gdi/driver.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/init.c, dlls/gdi/enhmfdrv/objects.c, dlls/gdi/mfdrv/init.c, include/gdi.h, objects/gdiobj.c: Mike McCormack Implemented GdiComment for enhanced metafiles. * dlls/iphlpapi/ifenum.c: Fixed wrong length argument in getInterfacePhysicalByName. * dlls/comctl32/listview.c: Dimitrie O. Paun Inserting column zero should not modify the main item (spotted by Robert Shearman). * misc/cpu.c: Eric Anholt Added CPU detection for FreeBSD. * dlls/kernel/tests/pipe.c: Gerald Pfeifer Avoid "might be used uninitialized" warning in exercizeServer(). * dlls/rpcrt4/rpc_message.c, dlls/rpcrt4/rpc_server.c: Ove Kaaven For RPC servers, don't deallocate the RPC request packet before the RPC reply packet is sent, in case marshalling the reply needs any of the request data. * dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/rpcrt4.spec: Ove Kaaven Added semi-stub for NdrProxyErrorHandler. Fixed a case of potential stack trashing. 2003-05-20 Alexandre Julliard * dlls/ntdll/Makefile.in, loader/main.c, loader/task.c, scheduler/process.c: Moved all process initialisation code to process.c and removed loader/main.c. * dlls/ntdll/ntdll.spec, dlls/ntdll/om.c, include/winternl.h: Eric Pouech Implemented NtQueryObject and NtSetInformationObject for the ObjectDataInformation class. * memory/global.c: Dmitry Timoshkov Make the Global* memory API functions thread safe. * dlls/x11drv/xvidmode.c: Carlos Lozano Avoid printing an uninitialized buffer. * dlls/ntdll/cdrom.c: Yorick Hardy Implement CDROM_ScsiPassThrough and CDROM_ScsiPassThroughDirect on NetBSD. * dlls/kernel/Makefile.in, dlls/kernel/system.c, dlls/ntdll/Makefile.in, memory/instr.c, misc/system.c: Moved system.dll implementation to dlls/kernel. * dlls/olecli/Makefile.in, dlls/olecli/olecli16.c, dlls/olecli/olecli_main.c: Steven Edwards Win16/32 separation of olecli32. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/dsurface/fakezbuffer.c: Christian Costa Remove all openGL calls in execute buffers and use the Direct3D7 APIs. Enable retrieving the render target surface of a device through its QueryInterface method. Avoid lights updating when a viewport and a device have not been associated to them. Clear the Z buffer only when we're asked to by Checking D3DBTL_FILL flag. * dlls/winedos/int21.c: Jukka Heinonen Added some long filename functions. * configure, configure.ac, include/config.h.in, misc/cpu.c: Yorick Hardy Implemented GetSystemInfo on NetBSD. * dlls/kernel/sync.c, dlls/ntdll/Makefile.in, include/wine/server_protocol.h, scheduler/pipe.c, server/Makefile.in, server/pipe.c, server/protocol.def, server/request.h, server/trace.c: Eric Pouech Implement anonymous pipes on top of named pipes. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/mesa_private.h, dlls/ddraw/dsurface/main.c: Lionel Ulmer - some tracing fixes - flush the right buffer to the screen * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/mesa_private.h: Lionel Ulmer No need to flush the surface back if last lock was a RO lock. * dlls/kernel/sync.c, dlls/ntdll/Makefile.in, scheduler/timer.c: Moved timer functions to dlls/kernel. * dlls/oleaut32/oleaut.c: Ove Kaaven Handle requests for CLSID_PSDispatch. * dlls/rpcrt4/cproxy.c, dlls/rpcrt4/cpsf.c, dlls/rpcrt4/cpsf.h, dlls/rpcrt4/cstub.c: Ove Kaaven Fixed NdrDllRegisterProxy so it registers the key names that ole32 expects. Better debug traces (include name of interface). * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - fix bug in 'Blt DEPTH_FILL' override - added a lock around the flushing of a surface to the frame buffer - optimize texture loading my minimizing the cases where a conversion needs to occur and also by reusing the allocated memory * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/sync.c, include/wine/server_protocol.h, include/winternl.h, scheduler/timer.c, server/protocol.def, server/timer.c, server/trace.c: Eric Pouech Implemented timer related functions in ntdll and make the kernel32 functions use them. * dlls/kernel/tests/pipe.c: Use the trace macro for debugging output. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c: Lionel Ulmer Have Lights and Clipplanes transformed properly. * dlls/ntdll/loader.c, include/module.h, loader/module.c, loader/ne/module.c, loader/pe_image.c: Only create the 16-bit dummy module when we need really it. * dlls/wineps/escape.c, dlls/wineps/init.c: Huw Davies Look up the printer's port in the registry if neither CreateDC or StartDoc specify one. Photoshop 7 has a bug that results in cbInput being 2 less than the length of the string rather than 2 more. So use the WORD at in_data[0] instead. * dlls/wineps/init.c, dlls/wineps/ppd.c, dlls/wineps/psdrv.h: Huw Davies CUPS uses the ppd file to store the default paper size, so we'll read it from here. If the ppd doesn't contain an explicit resolution then default to 300dpi. * dlls/kernel/nls/*.nls, include/winnls.h: Added value for default Unix codepage to all the locale definitions. * dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/rpcrt4.spec: Ove Kaaven Implemented "dereference" pointer flag. Added NdrClearOutParameters stub. * dlls/rpcrt4/ndr_ole.c: Ove Kaaven Portability fix. Better debug messages (display IID of interface to marshal). * documentation/README.it: Francesco Di Punzio Italian translation of the README file. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c: Lionel Ulmer - implement the TFACTOR texture stage state - support Texture matrices - various misc. clean-ups 2003-05-19 Alexandre Julliard * dlls/user/dde/client.c, dlls/user/dde/dde_private.h, dlls/user/dde/misc.c, dlls/user/dde/server.c, dlls/user/message.c, include/dde.h, include/ddeml.h: Dmitry Timoshkov Expect multiple DNS_ flags. Partially implemented DdeEnableCallback. Call a callback with XTYP_CONNECT_CONFIRM after an accepted XTYP_CONNECT. Added traces, clarify data types, other cosmetics. * objects/font.c: Fixed return value of GetTextFaceA. * objects/dc.c: Huw Davies After we update the mapping mode reselect the current font back into the dc so that its size is recalculated. * dlls/wineps/ps.c: Huw Davies Don't add spaces in the PostScript between every pixel - this made debugging easier but results in an awful lot of whitespace being sent to the printer. Don't generate the %%Orientation DSC comment. The cups pstops filter tries to rotate the image by 90degs when to it sees this comment. Stop a crash if the document title is NULL. * dlls/wineps/type1.c: Huw Davies Reset the escapement back to zero before retrieving the outline (we're already in a rotated coordinate system). * dlls/wineps/text.c: Huw Davies Fix handling of text align modes for rotated text. * dlls/winspool/Makefile.in, dlls/winspool/info.c: Huw Davies Basic implementation of EnumPortsA: dump all the serial and printer port names into a structure. * programs/notepad/Da.rc, programs/notepad/De.rc, programs/notepad/En.rc, programs/notepad/Es.rc, programs/notepad/Fi.rc, programs/notepad/Fr.rc, programs/notepad/Pt.rc, programs/notepad/Si.rc, programs/notepad/Sk.rc, programs/notepad/Sw.rc, programs/notepad/Wa.rc: Dmitry Timoshkov Removed redundant LANGUAGE statements. * programs/view/view.c: Mike McCormack Fix an uninitialized buffer. * scheduler/process.c: Francois Gouget Fix CreateProcess("c:\Program Files\hello.bat"). * windows/winproc.c: Huw Davies We can't use RtlCreateUnicodeStringFromAsciiz for WM_SETTEXT as the resulting unicode string may be greater than 0xffff bytes. * dlls/shell32/shlview.c: Aric Stewart Make sure we find the drag and drop functions before calling them. * dlls/user/tests/class.c, windows/class.c: Dmitry Timoshkov GetClassInfo returns class atom on success. * dlls/shell32/classes.c, dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c: Ulrich Czekalla Handle SEE_MASK_CLASSKEY case for ShellExecute. * dlls/netapi32/netapi32.c, dlls/netapi32/netapi32.spec: Aric Stewart Added stub for NetServerEnum. * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dviewport.c: Lionel Ulmer Added support for non-full screen viewports and clearing. * dlls/gdi/enhmfdrv/dc.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/init.c: Huw Davies Implemented a few more device caps. * dlls/kernel/tests/file.c: Ferenc Wagner New _lcreat tests for filename ending in a slash and volume label attribute. * configure, configure.ac, dlls/ntdll/cdrom.c, include/config.h.in: Yorick Hardy Added the implementation for CDROM_GetIdeInterface on NetBSD. * dlls/oleaut32/safearray.c: Robert Shearman Use correct type of pointer in SafeArrayCreateVector to avoid memory corruption. Add traces. * dlls/shell32/debughlp.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h: Robert Shearman Add a PIDL type For Network Provider. * dlls/iphlpapi/iphlpapi_main.c: Pierre d'Herbemont Include arpa/nameser.h before resolv.h. * controls/edit.c: Rein Klazes Revert the WM_GETDLGCODE handling patch completely this time. It breaks too much. * dlls/winedos/int21.c, msdos/int21.c: Jukka Heinonen Move get current drive int21 function to winedos. Fix spelling mistakes. Add some drive handling helper routines. * include/wine/obj_shellfolder.h: Robert Shearman Fix value of IID_IShellFolder2. * dlls/ddraw/dsurface/dib.c: Lionel Ulmer Better handling of pitch set to 0. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Added RGB 32 surface locking (seems to work fine without resorting to Alpha hacks). * dlls/x11drv/winpos.c: Make sure drawable_org is set correctly when using one of the parents as drawable (found by Dmitry Timoshkov). * dlls/x11drv/window.c: Avoid the 'Below' stacking mode when changing Z order since many window managers don't get it right. Fix Z order synchronization for child windows (found by Dmitry Timoshkov and Ulrich Czekalla). * dlls/x11drv/event.c: Dmitry Timoshkov Mask out MWMO_WAITALL if only server queue handle was passed in. * dlls/wineps/bitblt.c, dlls/wineps/bitmap.c, dlls/wineps/brush.c, dlls/wineps/clipping.c, dlls/wineps/graphics.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/text.c: Huw Davies Rework clipping so that the PS clip path is only set just before any graphics output event. Doing it this way means we don't ever need to call initclip which is a Good Thing. * files/dos_fs.c: Mike McCormack Removed unnecessary casts. * include/wingdi.h, objects/clipping.c, objects/region.c: Huw Davies GetRandomRgn(...,1) returns the current clipping rgn. Moved GetRandomRgn and the MetaRgn functions to objects/clipping.c. * windows/mdi.c: Dmitry Timoshkov Restore MDI window in the case of disabled maximize button. * windows/cursoricon.c: Dmitry Timoshkov Initialize hbmColor only for color icons in GetIconInfo. * dlls/user/message.c, include/win.h, windows/win.c, windows/winpos.c: Catch broadcast window handles in functions that are implemented using SendMessage. * dlls/user/user32.spec, windows/message.c: Mike McCormack Implemented BroadcastSystemMessageW. * dlls/shell32/shlexec.c: Aric Stewart Added support for the %L escape. * dlls/shell32/shellord.c, dlls/shell32/undocshell.h: Mike McCormack Implemented ReadCabinetState and WriteCabinetState. * dlls/setupapi/Makefile.in, dlls/setupapi/infparse.c, dlls/setupapi/queue.c: Aric Stewart Respect the version SP_COPY flags when installing files. Make GenInstall16 only copy files if the version is new or same. * dlls/ole32/ole32.spec, dlls/ole32/ole32_main.c: Mike McCormack Semi-correct implementation of OleMetafilePictFromIconAndLabel. * dlls/gdi/enhmfdrv/bitblt.c, dlls/gdi/enhmfdrv/init.c: Mike McCormack Implemented StretchDIBits in the EMF code. * dlls/gdi/enhmfdrv/graphics.c: Dmitry Timoshkov Fixed some issues in EMFDRV_ExtTextOut. * dlls/gdi/mfdrv/init.c: Huw Davies Record escapes in metafiles. 2003-05-17 Alexandre Julliard * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/mesa_private.h: Lionel Ulmer Support for device surface locking. * dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/resource.c, dlls/d3d8/shader.c, dlls/d3d8/stateblock.c, dlls/d3d8/surface.c, dlls/d3d8/texture.c, dlls/d3d8/vshaderdeclaration.c: Raphael Junqueira - mor usefull debug functions debug_d3dusage and debug_d3ddevicetype - fix a crash in pixel shader parser (happened with unreal2) - currently desactive pixel shaders caps (with #define) while hw shaders code isn't merged - when we have a special debug channel for shader, use it ;) - fix again some stubs return value - more more readable traces now (principaly IDirect3D8 capacities check and surface locking code) using new debug functions - fix/cleaning the surface locking code - now we support D3DTOP_SUBSTRACT so declare it in caps - now support true 32bit (well X 24 bit can be used as 32 bit in caps code) - first try to get D3DTSS_TCI_CAMERASPACENORMAL and D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR look good - native support 32 bit support (now application can choose 16 or 32 bit support) if current resolution is 24 bit (as we can only launch games in windowed mode) - textures palettes support - fix reflexion placement code (the sdk sample begin to work) - fix a stupid crash when using traces in vshaderdeclaration - more more readable traces (init/caps) - more cubetextures fixes * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c: Lionel Ulmer Silence some TRACEs to better spot real errors. * dlls/oleaut32/variant.c: Stefan Leichter Partial implementaion of VarBstrFromDec. 2003-05-16 Alexandre Julliard * dlls/user/hook16.c, dlls/user/wnd16.c, loader/task.c, windows/cursoricon.c: Avoid using the MapHModule functions. * dlls/kernel/kernel32.spec, dlls/user/user_main.c, loader/ne/module.c: Call the user signal proc for exe modules too, to avoid duplicating the module cleanup code. * dlls/kernel/Makefile.in, dlls/kernel/local16.c, memory/heap.c, memory/local.c: Moved most local heap functions to dlls/kernel. * dlls/oleaut32/variant.c, include/wtypes.h, include/wtypes.idl: Stefan Leichter Fixed DECIMAL_SETZERO Removed a workaround for the former problem. * tools/wineinstall: Mike Hearn Silence error on non-redhat systems. * tools/c2man.pl: Hans Leidekker Force perl to use byte semantics. * dlls/wininet/http.c: Uwe Bonnes HTTP_HttpOpenRequestA: Calculate size from the right argument. * graphics/bitblt.c: Jaekil Lee Implement MaskBlt using BitBlt (adapted by Dimitrie O. Paun). * dlls/d3d8/device.c: Jason Edmeades Implement texture transform flags the best we can for now. * dlls/kernel/Makefile.in, dlls/kernel/atom.c, dlls/ntdll/Makefile.in, memory/atom.c: Moved atom functions to dlls/kernel. * dlls/d3d8/device.c: Jason Edmeades Fixed range checking on the number of lights. Silence the fixmes. 2003-05-15 Alexandre Julliard * configure, configure.ac, dlls/comctl32/Makefile.in, dlls/comctl32/tests/.cvsignore, dlls/comctl32/tests/Makefile.in, dlls/comctl32/tests/dpa.c: Uwe Bonnes New comctl32 test directory and test case for DPA_Search. * dlls/comctl32/comctl32undoc.c: Uwe Bonnes DPA_Search: Handle DPAS_INSERTBEFORE on empty list. * dlls/Makefile.in, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/wprocs.spec, dlls/ntdll/Makefile.in, dlls/winedos/.cvsignore, dlls/winedos/Makefile.in, dlls/winedos/vxd.c, dlls/winedos/wprocs.spec, msdos/vxd.c: Moved vxd support to winedos. * dlls/d3d8/device.c: Jason Edmeades Supply the correct box on the screen to be processed during the clear call, using opengl coordinates, not directx coordinates. * dlls/user/user.exe.spec, dlls/user/user16.c, include/module.h, include/user.h, loader/ne/module.c, loader/ne/segment.c, loader/task.c, scheduler/process.c, scheduler/thread.c, windows/user.c: Get rid of the 32-bit user signal proc since we always run builtin USER now. Moved USER module cleanups to the 16-bit signal proc. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Stefan Leichter Added stub for VarBstrFromDec. * dlls/oleaut32/typelib.c: Marcus Meissner Handle VT_I2 <-> VT_USERDEFINED/TKIND_ENUM conversions too. * files/file.c: Philip Mason Force FILE_GetTempFileName to continue looking for new temp file name if error returned from CreateFileW is ERROR_SHARING_VIOLATION. * dlls/d3d8/device.c: Jason Edmeades Solved the transparency problem seen in the ClipMirror SDK sample properly. Also a few tabs->spaces to correct formatting. * dlls/ole32/Makefile.in, dlls/ole32/memlockbytes.c, dlls/ole32/memlockbytes16.c: Steven Edwards Separate Win16 and Win32 implementations in memlockbytes. * dlls/iphlpapi/ipstats.c: Gerald Pfeifer In getTcpTable(), guard Linux-specific constants by #ifdef. * dlls/winedos/int21.c: Thomas Mertes Implement file control block (FCB) functions: INT21_OpenFileUsingFCB [0x0f], INT21_CloseFileUsingFCB [0x10], INT21_SequenialReadFromFCB [0x14], INT21_SequenialWriteToFCB [0x15], INT21_ReadRandomRecordFromFCB [0x21], INT21_WriteRandomRecordToFCB [0x22], INT21_RandomBlockReadFromFCB [0x27], INT21_RandomBlockWriteToFCB [0x28]. * dlls/kernel/tests/pipe.c: Dan Kegel More named pipes tests. * dlls/Makefile.in, dlls/make_dlls: Explicitly clean generated symlinks. Removed no longer needed install dependencies. * dlls/kernel/sync.c, dlls/kernel/tests/pipe.c, dlls/ntdll/file.c, include/wine/server_protocol.h, server/fd.c, server/file.c, server/file.h, server/handle.c, server/named_pipe.c, server/protocol.def, server/serial.c, server/trace.c: Mike McCormack - rewrite of the named pipe code - allow NtFileFlushBuffers to wait - allow DisconnectNamedPipe to invalidate client cached fd - fix the pipe test now that one extra test passes * dlls/ntdll/ntdll.spec, dlls/ntdll/path.c, dlls/ntdll/rtl.c, include/winternl.h, scheduler/process.c: Eric Pouech Implemented RtlDosPathNameToNtPathName_U, RtlGetCurrentDirectory_U, RtlGetFullPathName_U and RtlSetCurrentDirectory_U (the last one partially as we can't test whether a path exists or not). * dlls/imm32/imm.c: Raphael Junqueira Fix a null pointer crash in ImmGetOpenStatus. * dlls/d3d8/cubetexture.c: Raphael Junqueira Fix compilation error reported by Stefan Leichter when using old openGL headers. * dlls/d3d8/directx.c: Jason Edmeades Previous viewport fix only works for full screen applications as we didn't change the back buffer size information until after copying the presentation parameters, so when setting up the viewport the backbufferwidth/height was 0. Moved the copy until after it has been corrected. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Stefan Leichter Partial implementation of VarDecFromStr. * controls/edit.c: Rein Klazes Revert the previous patch for capturing keys in an edit-listbox combo. 2003-05-14 Alexandre Julliard * dlls/ntdll/loader.c, include/module.h, loader/pe_image.c, scheduler/process.c, scheduler/thread.c: Rewrote module TLS support and moved it to ntdll. * dlls/ntdll/signal_i386.c, include/miscemu.h, memory/instr.c: Made INSTR_EmulateInstruction return the exception code. Don't allow intXX instructions from 32-bit code (based on a patch by Jukka Heinonen). * tools/winebuild/import.c: Only print warning on nm failure because it fails on darwin if there are no symbols (reported by Pierre d'Herbemont). * dlls/winmm/winejack/Makefile.in: Marcus Meissner winejack.drv.so needs -lwine_uuid too. * dlls/d3d8/shader.c: Raphael Junqueira - new debug channel for shaders code 'd3d_shader' - more debugging traces * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c: Raphael Junqueira - declare a new debug chanel for vertex shaders - some useful debug functions for textures format - correct DrawPrimitive (RHW correctness and vshader RHW) - more copyrects fixes (only two unimplemented behavior remain) - fix GetFrontBuffer to get screenshots samples working - add D3DCOLORTOGLFLOAT4 and use it - first try of D3DRS_FOGTABLEMODE support * dlls/d3d8/directx.c: Raphael Junqueira Declare that we can support cube textures now (currently only creation is done). * include/winuser.h: Dimitrie O. Paun Add missing ENDSESSION_LOGOFF define. * dlls/commdlg/printdlg.c: Dmitry Timoshkov Use SetDlgItemText instead of sending a WM_SETTEXT. * dlls/d3d8/device.c: Jason Edmeades Make sure the viewport is from the GL (bottom left) not the DirectX (top left). 2003-05-13 Alexandre Julliard * dlls/gdi/enhmfdrv/init.c, dlls/gdi/mfdrv/init.c, dlls/ttydrv/dc.c, graphics/x11drv/bitblt.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, graphics/x11drv/init.c, graphics/x11drv/palette.c, include/gdi.h, objects/bitmap.c, objects/dc.c, objects/gdiobj.c: Use a different magic for memory DCs and get rid of the DC_MEMORY flag. * dlls/d3d8/volumetexture.c: Raphael Junqueira - moved loading code of volume texture to VolumeTexture::Preload as done in Texture/CubeTexture - fixed some stubs return values * dlls/d3d8/cubetexture.c: Raphael Junqueira - cubetexture loading/preloading - some stubs must return 0 (and non D3D_OK) - fix IDirect3DCubeTexture8Impl::Get* (potentials CD) * dlls/d3d8/device.c: Jason Edmeades Properly support texture coordinate indexes. * dlls/d3d8/directx.c: Jason Edmeades Make sure we advertize our capabilites correctly. * dlls/kernel/tests/path.c: Make the test pass on NT4 too. * dlls/d3d8/stateblock.c: Jason Edmeades Initialize the tex coord index correctly. * dlls/d3d8/device.c: Jason Edmeades CopyRects needs to lock the area it is copying to (esp. if that area is the back buffer, as locking/unlocking causes glread/draw pixels). * dlls/d3d8/directx.c: Christian Costa Mark some surface formats as not supported. * dlls/msvcrt/scanf.h, dlls/msvcrt/tests/scanf.c: Uwe Bonnes Fix some sscanf cases and testcase to get wxtide32.exe running. * dlls/user/exticon.c: Robert Shearman PrivateExtractIcon* should search the path for the icon file. * dlls/comctl32/toolbar.c: Vitaliy Margolen Revert change for resizing buttons. * dlls/iphlpapi/iphlpapi_main.c, dlls/iphlpapi/ipstats.c: Gerald Pfeifer Add missing #includes for non-Linux systems. * tools/wineinstall: Mike Hearn Make sure prefix is actually honoured by configure. Temporary hack for redhat users to enable NPTL. * dlls/kernel/resource.c: Dmitry Timoshkov Fix an obvious typo in get_res_name. Spotted by Mike McCormack. * dlls/oleaut32/tests/safearray.c, dlls/oleaut32/tests/vartest.c: Dimitrie O. Paun Make sure winsock.h gets included before stdlib.h. * dlls/user/user32.spec, include/winuser.h, windows/queue.c: Mike McCormack Implemented SetMessageExtraInfo. * dlls/kernel/tests/path.c: Francois Gouget Added a test for GetLongPathNameA("c:"). Added a test for GetFullPathNameA("c:"). Fix a number of messages that referred to GetLongPathName instead of GetFullPathName. * dlls/shdocvw/.cvsignore, dlls/shdocvw/Makefile.in, dlls/shdocvw/version.rc, dlls/winsock/.cvsignore, dlls/winsock/Makefile.in, dlls/winsock/version.rc, dlls/wsock32/.cvsignore, dlls/wsock32/Makefile.in, dlls/wsock32/version.rc: Francois Gouget Added version information. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec: Aric Stewart Stub AddPortA. * dlls/user/message.c: Mike McCormack Fixed packing/unpacking of WM_WININICHANGE. * dlls/shell32/shell32.spec, dlls/shell32/shellord.c: Ulrich Czekalla Partial implementation/stub of undocumented function shell32.256. * dlls/shell32/shell32_main.c: Huw Davies Pass correct pointer to CoCreateInstance in SHLoadInProc. * dlls/setupapi/devinst.c, dlls/setupapi/setupx.spec: Huw Davies Implement a load of setupx Di* stubs. * dlls/setupapi/install.c: Huw Davies Use strtoulW instead of strtolW for DWORD conversion. * dlls/oleaut32/typelib.c: Dmitry Timoshkov Remove redundant ITypeLib2_AddRef's. Makes LoadTypeLib/ITypeLib2_Release work. * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Mike McCormack Added stub for OleDoAutoConvert. * dlls/imm32/Makefile.in, dlls/imm32/imm.c: Aric Stewart Implemented a number of IMM functions. Create a default HWND to process WM_IME messages. * dlls/commdlg/filedlg.c: Huw Davies Better handling of OFN_NOVALIDATE for win31 style file dialogs. * dlls/comctl32/pager.c: Ulrich Czekalla Fixed bad non-client calculation. * dlls/comctl32/datetime.c: Huw Davies Fix DTM_SETSYSTEMTIME. Make the show/hide button actually do something. Add support for the 'yyyy' format. * dlls/iphlpapi/ifenum.c: Fixed some string overflows. * dlls/iphlpapi/.cvsignore: Added iphlpapi.spec.def. * dlls/kernel/tests/pipe.c: Dimitrie O. Paun Make sure winsock.h gets included before stdlib.h. * documentation/winelib-intro.sgml: Dimitrie O. Paun Fix a few style issues. * tools/winedump/main.c, tools/winedump/pe.c: Eric Pouech Listed recently added sections' types (resource, tls) for dumping to usage strings. Fixed some header size testing. * programs/wineconsole/registry.c: Eric Pouech Quiet some valgrind reports. * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/console.c: Eric Pouech Added a set of tests for the console API. * dlls/kernel/console.c: Eric Pouech Fixed console output for non wrapped mode. * dlls/ntdll/tests/env.c: Eric Pouech Enhanced test for queries, added tests for expansion. * dlls/ntdll/env.c, dlls/ntdll/ntdll.spec, include/winternl.h: Eric Pouech Implemented RtlExpandEnvironmentStrings_U and fixed an incorrect behavior in RtlQueryEnvironmentString. * tools/winegcc.c: Dimitrie O. Paun Ignore -mthreads, it's not needed in Unix. * dlls/shdocvw/shdocvw.spec, dlls/shdocvw/shdocvw_main.c: Andreas Mohr Added some stubs needed for Win98 explorer.exe. * dlls/wsock32/Makefile.in, dlls/wsock32/socket.c, dlls/wsock32/wscontrol.h: Juan Lang Changed wsock32 to use the new iphlpapi for interface and route enumeration in WsControl. * dlls/winsock/Makefile.in, dlls/winsock/socket.c: Juan Lang Use iphlpapi to implement SIO_GET_INTERFACE_LIST in WSAIoctl, and corrects iiFlags entry in the returned interface list. * programs/winedbg/gdbproxy.c: Use int instead of socklen_t. * controls/edit.c: Vitaliy Margolen Fix problem with capturing [return] keys in multi-line edits. * dlls/comctl32/toolbar.c: Vitaliy Margolen Get rid of direct ImageList access hacks. * dlls/comctl32/imagelist.c, dlls/comctl32/imagelist.h: Vitaliy Margolen Rearrange members of HIMAGELIST to match Windows. Reuse image and mask DCs. * dlls/ntdll/signal_powerpc.c: Pierre d'Herbemont - Save more registers (exception, float...) if they are defined. - Add Mac OS X signal support. * configure, configure.ac, dlls/Makefile.in, dlls/iphlpapi/.cvsignore, dlls/iphlpapi/Makefile.in, dlls/iphlpapi/ifenum.c, dlls/iphlpapi/ifenum.h, dlls/iphlpapi/iphlpapi.spec, dlls/iphlpapi/iphlpapi_main.c, dlls/iphlpapi/ipstats.c, dlls/iphlpapi/ipstats.h, include/Makefile.in, include/config.h.in, include/ipexport.h, include/iphlpapi.h, include/ipifcons.h, include/iprtrmib.h, include/iptypes.h: Juan Lang Added an implementation of iphlpapi.dll; most Get* functions introduced through Win98 are included. * dlls/kernel/kernel_main.c, scheduler/sysdeps.c, scheduler/thread.c: Allocate/free the 16-bit thread stack in the kernel dll init routine. * dlls/gdi/printdrv.c: Reset signal handlers when starting child process. * dlls/avifil32/acmstream.c, dlls/avifil32/api.c, dlls/avifil32/avifile.c, dlls/ddraw/d3ddevice/mesa.c, dlls/dplayx/name_server.c, dlls/kernel/tests/path.c, dlls/msvcrt/except.c, dlls/ntdll/rtlbitmap.c, dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/ftmarshal.c, dlls/ole32/marshal.c, dlls/ole32/oleproxy.c, dlls/ole32/storage32.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/usrmarshal.c, dlls/rpcrt4/rpcrt4_main.c, dlls/rpcrt4/rpcss_np_client.c, dlls/setupapi/setupapi.rc, dlls/shell32/shres.rc, dlls/shlwapi/path.c, documentation/documentation.sgml, documentation/porting.sgml, documentation/winelib-porting.sgml, graphics/painting.c, msdos/ppdev.c, programs/rpcss/rpcss_main.c, tools/c2man.pl: Francois Gouget Fix miscellaneous spelling errors and typos. * include/winsock.h, include/winsock2.h: Dimitrie O. Paun Add prototype for __WSAFDIsSet. Fix syntax error. * dlls/ole32/ole2stubs.c, include/objidl.h, include/objidl.idl: Robert Shearman - Implement a few more cases in PropVariantClear. - Partially implement PropVariantCopy. - Implement FreePropVariantArray. * documentation/samples/config: Marcus Meissner Added 2 more InstallShield temporary exes for Desktop Mode. * dlls/kernel/wowthunk.c: Eric Pouech Support 14 and 15 arguments in WOW_CallProc32W16. * dlls/comctl32/listview.c: Robert Shearman Fix use of freed memory. * dlls/msvcrt/tests/file.c, dlls/shlwapi/tests/path.c: Francois Gouget Change the #include order so the test compiles with the MSVC headers. Fix a few signed/unsigned warnings. * tools/winapi/msvcmaker: Francois Gouget library/Makefile.in and unicode/Makefile.in don't exist anymore. * misc/main.c: Dimitrie O. Paun Small debug channel cleanup. * dlls/ntdll/loader.c: Robert Shearman Fix NULL pointer error when displaying error message about missing forwarded export. 2003-05-12 Alexandre Julliard * dlls/user/user32.spec: Commented out the new win98 exports, they are causing trouble. * dlls/ntdll/ntdll.spec: Aric Stewart RtlUnicodeToMultiByteSize argument is not a null terminated string, use 'ptr'. * dlls/ntdll/heap.c: Dmitry Timoshkov Added missing return in HEAP_ValidateInUseArena. * dlls/msvcrt/dir.c, dlls/msvcrt/msvcrt.spec: Mike McCormack Implemented _wfullpath. * dlls/mpr/pwcache.c: Aric Stewart Better error return values from stub functions. * dlls/mpr/mpr.spec, dlls/mpr/mpr_main.c: Aric Stewart Added stub for DllCanUnloadNow. * dlls/kernel/sync.c: Aric Stewart Ignore requested access rights when emulated version is not NT. * dlls/gdi/mfdrv/graphics.c: Warren Baird Fix the PolyPolygon function so it really generates a polypolygon and not multiple sets of polygons. * dlls/gdi/printdrv.c: Huw Davies Allow the cups port to be redirectable. This gives us the option of piping the PostScript through something before it gets sent to the printer (like we can already do for non-cups systems). * dlls/ctl3d/ctl3d32.c, dlls/ctl3d/ctl3d32.spec: Mike McCormack Added ordinals to ctl3d32.dll, MyODBC references it by ordinal. * controls/combo.c, controls/edit.c: Aric Stewart Added handling of WM_IME_CHAR. * controls/static.c, include/winuser.h: Dmitry Timoshkov Added definition of SS_USERITEM. * dlls/crypt32/crypt32.spec, dlls/crypt32/main.c, include/wincrypt.h: Mike McCormack Added stubs for CertSaveStore and CertEnumCertificatesInStore. * dlls/comctl32/monthcal.c: Huw Davies Fixed a possible memory corruption. Fixed a memory leak. * controls/menu.c: Don't track the system menu for managed windows. * dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/surface.c, dlls/d3d8/texture.c, dlls/d3d8/volume.c, dlls/d3d8/volumetexture.c: Raphael Junqueira - surface pool init fixes - minor indentation and traces fixes - fix locking/unlocking/dirty behavior (dirtify on lock) + optimisations (only copy when dirty) - fix IDirect3DDevice8::Clear behavior (problem seen after a locking/unlocking code error) - begin to fix volume and cube textures management * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - separate geometry tracing in a new debug channel (ddraw_geom) - added handling for some new texturing ops - prepare for addition of multi-texturing - another way to fix the device enumeration for the reference device - fix compilation with some glext.h files - fix a bug in one texture conversion function - added new texture format (but still texturing problems in 3DMark2000) * dlls/wsock32/wscontrol.h: Pierre d'Herbemont Undef if_type, if_mtu and if_lastchange for darwin. * server/context_powerpc.c: Pierre d'Herbemont Add support for Darwin's ptrace. 2003-05-11 Alexandre Julliard * dlls/ddraw/ddraw/main.c: Lionel Ulmer Initialize the dwMipmapCount field even if the application forgets it. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c: Lionel Ulmer - added mipmapping support - added locking for concurrent access to the D3D device - improved tracing - added support for most texture combine stages (inspired by the D3D8 code) - disable current lock / unlock code pending proper solution * dlls/comctl32/listview.c: Stephan Beuze Implemented Get/SetToolTips functions. * dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c: Ordinals 410-413 are the window subclassing functions. * documentation/wine-faq.sgml: Store the HTML into index.html like for the other docs. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/indexbuffer.c, dlls/d3d8/resource.c, dlls/d3d8/stateblock.c, dlls/d3d8/surface.c, dlls/d3d8/swapchain.c, dlls/d3d8/vertexbuffer.c, dlls/d3d8/volume.c, dlls/d3d8/volumetexture.c: Raphael Junqueira - minor COM fixes (fixes some crashes on stupid games) - minor indentation changes - fix SELECTARG2 behavior (with help from Lionel Ulmer) - surface locking/unlocking (only rendering and textures surfaces supported now) - beginning of Target/Front surface support - try to get D3DTOP_SELECTARG_* working - implemented D3DTOP_SUBTRACT: currently only if OpenGL1.3 is used, we have to use GL_SUBTRACT_ARB for other versions * dlls/gdi/gdi32.spec, objects/dc.c: Added partial stub for GetTransform. * dlls/shell32/shlfileop.c: Mike McCormack Clean up SHFileOperationA/W debugging a little. * dlls/winmm/wavemap/wavemap.c, dlls/winmm/wineoss/audio.c: Eric Pouech Stop wavemap lookup if a device isn't functional (spotted by Lionel Ulmer). * dlls/winedos/int21.c: Jukka Heinonen Make read from stdin use buffered input code and redirect stderr to console. * msdos/ioports.c: Jukka Heinonen Make ioport instruction emulation call winedos handlers. * windows/queue.c: Dmitry Timoshkov Poll X events in GetInputState the same way as in GetQueueStatus. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix custom draw for item 0. * dlls/ddraw/d3dexecutebuffer.c: Christian Costa Enable branch forward operation in execute buffer. * dlls/ddraw/d3ddevice/mesa.c: Christian Costa Put the device name string on the stack during devices enumeration. Disable reference enumeration. * controls/edit.c: Christian Costa Add missing ReleaseDC in EDIT_BuildLineDefs_ML. * objects/metafile.c: Huw Davies Playback escapes in metafiles. * dlls/ntdll/ntdll.spec, dlls/oleaut32/oleaut32.spec: Removed unnecessary function link names. * Makefile.in: Remove libs/Makelib.rules on distclean. * dlls/gdi/gdi32.spec, objects/dc.c: Huw Davies Added stub for SetVirtualResolution. * dlls/x11drv/scroll.c, windows/scroll.c: Ulrich Czekalla We should pass the callers client-area rect and clip rect to x11drv otherwise we'll fail to scroll all children. * dlls/winmm/winmm.c: Avoid local WINAPI function pointers. * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Mike McCormack Implemented InternetSetOptionExA/W. * dlls/user/painting.c: Dmitry Timoshkov Fix the logic for setting the lps->fErase flag in BeginPaint. * dlls/user/message.c, windows/winproc.c: Added A<->W mappings for WM_IME_CHAR. * memory/global.c: Dmitry Timoshkov Protect GlobalLock from bad pointers. * libs/unicode/wctomb.c: Handle overlapping buffers properly in wcstombs_sbcs (spotted by Dmitry Timoshkov). * graphics/x11drv/clipping.c: Ulrich Czekalla Don't delete region until after we're done with it. * objects/clipping.c: Ulrich Czekalla Return value of ExtSelectClipRgn should consider visible region. * graphics/mapping.c, objects/enhmetafile.c: Dmitry Timoshkov Make SetMapMode set default window and viewport extents as in Windows. * programs/wcmd/wcmdmain.c: Francois Gouget Fix handling of wcmd /c "c:\Program Files\hello.bat". Make /c and /k effectively exclusive, like the real cmd does. Fix handling of /q: it's compatible with /c and /k. Added compatibility with /t /x and /y, just ignore them. * programs/winepath/winepath.c: Francois Gouget Reset the result buffer after each argument. * server/fd.c: Ignore locking failures caused by missing NFS locking daemon. Handle EINVAL the same way as EOVERFLOW. * windows/msgbox.c: Dmitry Timoshkov Ignore high word of wParam when handling WM_COMMAND in the MessageBox proc. * windows/input.c: Dusan Lacko Fix ALT context bit for WM_KEYDOWN/UP. * windows/dialog.c: Dmitry Timoshkov Windows treats dialog control class ids 0-5 same way as 0x80-0x85. * dlls/user/dialog16.c: Dmitry Timoshkov Do not abort dialog creation if DS_NOFAILCREATE allows to continue. * dlls/rasapi32/rasapi.c, dlls/rasapi32/rasapi32.spec: Aric Stewart Added RasEnumEntriesW stub. * dlls/ole32/ole2stubs.c, dlls/ole32/storage32.c: Mike McCormack Implemented WriteFmtUserTypeStg and ReadFmtUserTypeStg. * dlls/commdlg/filedlg95.c: Mike McCormack Fill the filedialog95 controls before sending a CDN_INITDONE notification. * dlls/comctl32/progress.c: Huw Davies Invalidate the window when the range is changed. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Mike McCormack Stubs for AccessCheckAndAuditAlarmA/W. 2003-05-08 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20030508. ---------------------------------------------------------------- 2003-05-08 Alexandre Julliard * libs/unicode/utf8.c: Fixed return value of wine_utf8_wcstombs (spotted by Jan Sporbeck). * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c: Lionel Ulmer - only enumerate 32 bpp ARGB texture format and remove RGBA one - add support for 32 bpp ARGB texture format * scheduler/sysdeps.c: Adam Gundy writejump() needs to tell valgrind which piece of code has been modified. * dlls/msvcrt/file.c: Adam Gundy _open_osfhandle is expected to take the absence of either _O_TEXT or _O_BINARY to mean _O_BINARY. * dlls/d3d8/basetexture.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c: Raphael Junqueira - Disable some 'classic' debug traces (avoid useless flood of traces while debugging games). - Fix the texture size caps using GL_MAX_TEXTURE_SIZE. * dlls/oleaut32/olepicture.c: Maxime Bellengé - Fix scanline size in OLEPictureImpl_Load for jpeg - Convert from RGB to BGR according to BITMAPINFOHEADER documentation. * controls/button.c: Maxime Bellengé Correctly fill the background of a checkbox button. * dlls/ntdll/loader.c, include/module.h, include/winternl.h, loader/pe_image.c: Added support for calling the TLS callback functions. * tools/winedump/pe.c: Added dumping of the TLS directory. * dlls/ntdll/virtual.c: Fixed wrong file offset used when mapping the import directory from a shared section. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/shader.c, dlls/d3d8/texture.c: Jason Edmeades - Move texture loading into PreLoad for 2D textures (needs doing for the others as well), and call when needed as well. - Change D3DFMT_R5G6B5 handling to make backdrop of Max Payne appear. - Add code to reject attempts to use invalid texture units (Max Payne did this a lot). - ValidateDevice fixme silenced as harmless but occurs frequently. - Add trace which can be compiled in to debug vertex shaders, and correct fixmes and dprintf's into appropriate trace statements. - Ensure we trace what we return when querying the device caps. - Correct bug with negative numbers in vertex shader code. * include/winnt.h: Pierre d'Herbemont Add Dar, Dsisr and Trap registers for the PowerPC CONTEXT structure. * dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/env.c: Eric Pouech Added environment tests. * dlls/ntdll/Makefile.in, dlls/ntdll/env.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, dlls/ntdll/rtl.c, include/winternl.h, scheduler/process.c: Eric Pouech Implemented a bunch of environment related NTDLL APIs. 2003-05-07 Alexandre Julliard * dlls/kernel/resource.c: Added NONAMELESSUNION/STRUCT defines. * server/context_i386.c: Fixed typo in return value of tkill(). * dlls/kernel/resource.c, dlls/ntdll/Makefile.in, dlls/ntdll/resource.c, include/winbase.h, include/winternl.h, loader/pe_resource.c: Moved the EnumResource* functions to the kernel dll, and fixed their prototypes. * dlls/kernel/format_msg.c: Use RtlFindMessage to load message resources. * dlls/opengl32/make_opengl, dlls/opengl32/opengl32.spec, dlls/opengl32/wgl.c, dlls/opengl32/wgl.h: Michael Schlüter Added wglGetExtensionsStringARB. * dlls/winedos/vga.c: Jukka Heinonen Add scrolling support for VGA text mode. 2003-05-06 Alexandre Julliard * dlls/ntdll/virtual.c: Added comment about why changing ADDRESS_SPACE_LIMIT is wrong. * dlls/ntdll/signal_i386.c: Added support for retrieving page fault address on Solaris (based on a patch by Robert Lunnon). * configure, configure.ac: In assembler check, try to use gas first (based on a patch by Robert Lunnon). * dlls/shell32/shelllink.c: Robert Lunnon Eliminate segfault due to NULL This->sIcoPath. * documentation/configuring.sgml: Andreas Mohr Mention the necessary configuration file header. * Make.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in, programs/winhelp/Makefile.in: Dimitrie O. Paun Make it easy to use something other than wrc to compile resources. * dlls/ntdll/tests/rtlstr.c: Thomas Mertes Tests for RtlDuplicateUnicodeString, RtlFindCharInUnicodeString, RtlInitUnicodeStringEx. * dlls/ntdll/ntdll.spec, dlls/ntdll/rtlstr.c, include/winternl.h: Thomas Mertes Implement RtlDuplicateUnicodeString, RtlFindCharInUnicodeString, RtlInitUnicodeStringEx. Documentation updates for RtlInitAnsiString, RtlInitString, RtlInitUnicodeString, RtlAnsiStringToUnicodeString and RtlOemStringToUnicodeString. * dlls/winmm/wineoss/midi.c: Marcus Meissner Added include . * controls/edit.c: Achim Kaiser Take font metrics into account for EC_USEFONTINFO margins. * server/ptrace.c: Fixed a couple of races with exiting threads in suspend_for_ptrace(). * dlls/kernel/sync.c: Fixed return value of CreateNamedPipe (spotted by Mike McCormack). * dlls/d3d8/device.c: Jason Edmeades Add support for MultiplyTransform (helps make the SkimmedMesh SDK sample look better). * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c: Jason Edmeades Add the beginnings of support for texture coordinates. * dlls/dpnhpast/main.c: Marcus Meissner Fix return code of DPNHPAST_DllGetClassObject stub. * dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_performance.c, dlls/dmusic/dmusic_port.c, dlls/dmusic/dmusic_private.h: Rok Mandeljc - implemented some more port related-functions - fixed warnings (reported by Gerald Pfeifer) * dlls/winedos/int21.c: Jukka Heinonen Report errors to applications when illegal dates are passed to set system date call (required by many installation checks). 2003-05-04 Alexandre Julliard * dlls/avifil32/avifile_Ru.rc, dlls/avifil32/rsrc.rc, dlls/comctl32/comctl_Ru.rc, dlls/comctl32/rsrc.rc, dlls/commdlg/cdlg_Ru.rc, dlls/msvideo/msrle32/msrle_Ru.rc, dlls/msvideo/msrle32/rsrc.rc, dlls/shell32/shell32_Ru.rc, dlls/user/resources/user32_Ru.rc, programs/clock/Ru.rc, programs/clock/rsrc.rc, programs/notepad/Ru.rc, programs/notepad/rsrc.rc, programs/progman/Ru.rc, programs/progman/rsrc.rc, programs/start/Ru.rc, programs/start/rsrc.rc, programs/wineconsole/wineconsole_Ru.rc, programs/wineconsole/wineconsole_res.rc, programs/winefile/Ru.rc, programs/winefile/rsrc.rc, programs/winhelp/Ru.rc, programs/winhelp/rsrc.rc: Igor Stepin Added a lot of Russian translations. * dlls/x11drv/event.c, dlls/x11drv/window.c: Mike Hearn Support _NET_WM_PING protocol so the WM can detect freezes. * libs/port/interlocked.c: Pierre d'Herbemont Add register preservation when using lawrx instruction. Fix ';' ending to '\n' ending for a better compatibility with darwin. * dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_loader.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_performance.c: Rok Mandeljc Dmusic class factory can now create dmloader8 and dmperformance8. * dlls/winedos/dosvm.c: Marcus Meissner Fixed non-x86 DOSVM_Wait prototype. * dlls/ntdll/signal_powerpc.c: Marcus Meissner Fixed powerpc compile. * dlls/dsound/dsound_main.c: Lionel Ulmer Give the right ids to the DirectSoundCreate8 function (thanks to Robert Reif). * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Actually set the GL context before doing any GL calls. * dlls/kernel/kernel32.spec, dlls/kernel/time.c: Lionel Ulmer Added SetSystemTimeAdjustment stub. 2003-05-02 Alexandre Julliard * programs/winedbg/stabs.c: Added dummy read_elf_info for the non-ELF case (reported by Steven Edwards). * dlls/user/keyboard.spec: Andreas Mohr Added some stubs. * dlls/dsound/mixer.c, dlls/dsound/primary.c: Robert Reif Move all tests to outside the loop when setting volume. Add traces to functions. * dlls/dsound/dsound_main.c: Lionel Ulmer - misc. tracing fixes - handle IID_IDirectSound(8) as the default sound driver * dlls/dmusic/Makefile.in, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_private.h, winedefault.reg: Rok Mandeljc Implemented DirectMusic:EnumPort and DirectMusic:GetDefaultPort. * server/semaphore.c: Removed no longer correct assertion. * misc/registry.c: Removed useless check for registry file version. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/propset.c: Robert Reif Reversed relationship between buffers and notifies. Fixed notify reuse bug. Minor documentation and error message cleanup. * dlls/winmm/wineoss/audio.c: Robert Reif Added driver property set implementation. Fixed notify release bug. * dlls/comctl32/treeview.c: Adam Gundy When items are inserted in a partially populated treeview, the first visible item was not correctly updated. The first visible item was sometimes used to calculate the location of other items when it had been freed. * dlls/comctl32/listview.c, include/commctrl.h: Adam Gundy Check the mask flags in the item structure to determine how much memory to read/write. * dlls/winedos/devices.c, dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int16.c, dlls/winedos/int21.c: Jukka Heinonen Remove obsolete code from DOSVM_Wait. Prepare DOSVM_Wait for handling nested interrupts in both real and protected mode. Provide temporary workaround for keyboard related deadlock. * dlls/winedos/int31.c: Jukka Heinonen Report correct IRQ bases to DPMI applications. Make int31 print more tracing information. * dlls/winedos/module.c, programs/winevdm/winevdm.c: Jukka Heinonen Fix argument passing to DOS program from winevdm. Add support for invoking DOS programs with long command lines. * documentation/faq.sgml: Dimitrie O. Paun Remove stale links from the FAQ. * dlls/user/user32.spec: Andreas Mohr Added missing Win98 user32.dll function exports entries. * documentation/introduction.sgml, documentation/running.sgml: Andreas Mohr - improve intro text - describe alternatives to Wine * documentation/HOWTO-winelib: Dimitrie O. Paun Remove some obsolete and/or redundant info. 2003-05-01 Alexandre Julliard * Make.rules.in, configure, configure.ac, include/wine/wpp.h, libs/Makefile.in, libs/wpp/.cvsignore, libs/wpp/Makefile.in, libs/wpp/ppl.l, libs/wpp/ppy.y, libs/wpp/preproc.c, libs/wpp/wpp.c, libs/wpp/wpp_private.h, tools/Makefile.in, tools/widl/Makefile.in, tools/widl/parser.l, tools/widl/widl.c, tools/winewrapper, tools/wrc/Makefile.in, tools/wrc/parser.y, tools/wrc/wrc.c: Moved the wpp library from tools/ to libs/. Create symlinks to the various libraries in the libs directory. * configure, configure.ac, libs/.cvsignore, libs/Makelib.rules.in, libs/unicode/Makefile.in, libs/wine/Makefile.in: Moved rules for building shared libraries into a global Makelib.rules file. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, dlls/ntdll/ntdll.spec, dlls/ntdll/sec.c, include/winternl.h: Robert Shearman - Implemented RtlAddAccessAllowedAce, RtlAddAccessDeniedAce, RtlAddAce, RtlValidAcl. - Added the corresponding functions in advapi32. - Grouped the ACL functions in advapi32. * documentation/wine.conf.man: Stefan Leichter Application specific settings are also supported for dsound and version sections. * programs/winefile/winefile.c: Igor Stepin Changed font charset from ANSI to DEFAULT_CHARSET. 2003-04-30 Alexandre Julliard * dlls/comctl32/animate.c: Mike Hearn Change return code comparison in AVI control (from patch by stanleyg76@yahoo.com). * documentation/samples/system.ini: Mike Hearn Add default codec entry (from patch by stanleyg76@yahoo.com). * controls/button.c: Maxime Bellengé - Fix some indentation problems. - Handle correctly the alignement of the checkboxes if the BS_TOP/BS_BOTTOM flags are set. * dlls/winmm/mci.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h: Avoid calling Win32 resource functions on 16-bit modules. * miscemu/Makefile.in: We still need to link against ntdll until the pthread stuff is fixed properly. * dlls/lzexpand/lzexpand16.c, dlls/lzexpand/lzexpand_main.c, dlls/version/resource.c, include/lzexpand.h: Steven Edwards Fix for building lzexpand with Mingw or MS_VC++ includes * libs/wine/wine.def: Added wine_init. * dlls/ntdll/resource.c: Fixed typo in last minute change (spotted by Gerald Pfeifer). * dlls/kernel/Makefile.in, dlls/kernel/resource.c, dlls/kernel/resource16.c, dlls/ntdll/Makefile.in, if1632/builtin.c, include/module.h, loader/ne/convert.c, loader/ne/module.c, loader/ne/resource.c, loader/pe_resource.c, loader/resource.c: Moved most of the kernel resource APIs to dlls/kernel. * dlls/user/painting.c: Dmitry Timoshkov Protect BeginPaint and EndPaint from lps being NULL. * dlls/comctl32/tab.c: Maxime Bellengé Fix bounding rectangle computation for an ownerdraw tab. * dlls/comctl32/listview.c: Dimitrie O. Paun Generate custom draw notifications for ownerdraw listviews (based on a patch by Maxime Bellengé). Reorganize the custom draw code for better reuse. * dlls/netapi32/tests/wksta.c, dlls/netapi32/wksta.c: Juan Lang Better API compliance and test case for NetWkstaTransportEnum. 2003-04-29 Alexandre Julliard * dlls/kernel/locale.c, dlls/ntdll/Makefile.in, dlls/ntdll/ntdll.spec, dlls/ntdll/resource.c, include/winternl.h: Implemented ntdll resource functions. * dlls/winmm/wineoss/audio.c: Robert Reif Fixed a problem where OSS trigger support is inconsistent. * dlls/commdlg/cdlg.h, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg95.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/generic.c, dlls/commdlg/printdlg.c: Get rid of the COMMDLG_hInstance variables. * dlls/dsound/dsound_main.c, dlls/dsound/propset.c, include/Makefile.in, include/dsconf.h, libs/uuid/dxguid.c: Robert Reif Added partial property set support which is used by dxdiag.exe. * dlls/winmm/wineoss/Makefile.in, dlls/winmm/wineoss/audio.c: Robert Reif Added driver notify implementation. * dlls/dinput/device.c: Christian Costa Small fix in IDirectInputDevice2Impl_QueryInterface. * windows/cursoricon.c: Maxime Bellengé - Fix some indentation. - Fix the loading of icon resources. * dlls/d3d8/d3d8_private.h: Christian Costa Reserve space for 16 streams in the stateblock. * dlls/dinput/dinput_main.c: Christian Costa Enable creation of DirectInput objects trough CoCreateInstance. 2003-04-27 Alexandre Julliard * dlls/winedos/module.c: Fixed non-MZ case broken by previous patch. * programs/Makefile.in: Hans Leidekker Install winevdm. * objects/font.c: Stefan Leichter Moved (stub) implementation of GetKerningPairs from ascii to unicode. * include/commctrl.h: Dimitrie O. Paun Indentation fixes. * dlls/wininet/urlcache.c, dlls/wininet/wininet.spec: Uwe Bonnes Some UrlCache stubs. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec: Uwe Bonnes Added GetPrintProcessorDirectoryA stub. * dlls/comctl32/tab.c: Stephan BEUZE Implemented message TCM_SETPADDING with the Dimitri's advice. * configure, configure.ac, dlls/winedos/module.c, dlls/winedos/winedos.spec, include/callback.h, libs/wine/loader.c, loader/ne/module.c, loader/task.c, miscemu/.cvsignore, miscemu/Makefile.in, miscemu/main.c, msdos/dpmi.c, programs/Makefile.in, programs/winevdm/.cvsignore, programs/winevdm/Makefile.in, programs/winevdm/winevdm.c, scheduler/process.c: Moved the functionality of starting Win16 and DOS programs from the common process startup into a separate winevdm application. * dlls/oleaut32/usrmarshal.c: Added NONAMELESSUNION/STRUCT defines. * loader/loadorder.c: Silently ignore 'so' loadorder in the config file instead of displaying an error. * dlls/winmm/winealsa/audio.c: Make sure that snd_pcm_open returned a valid handle before using it. * dlls/winmm/winearts/Makefile.in, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/Makefile.in, dlls/winmm/winenas/audio.c: Jerry Ji The missing part of multiple device support for winearts, wineaudioio, winejack and winenas. * dlls/dmusic/Makefile.in, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_performance.c, dlls/dmusic/dmusic_private.h: Rok Mandeljc Some dmusic functions implementation. * programs/winecfg/Makefile.in, programs/winecfg/winecfg.c: Matthew Davison Added some registry-loading code. * controls/edit.c: Brad Campbell EM_REPLACESTR was not respecting buffer_limit. * win32/except.c: Stefan Leichter Removed W->A calls from FatalAppExitW. * dlls/comctl32/trackbar.c: Maxime Bellengé Fix the computation of the trackbar's size. 2003-04-26 Alexandre Julliard * server/ptrace.c: Properly handle the wait4 syscall failure on kernels that don't support the __WALL flag. * dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/rpcrt4.spec: Added a few stubs needed by the generated oaidl_p.c. * dlls/oleaut32/Makefile.in, dlls/oleaut32/oaidl_p.c, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/usrmarshal.c: Ove Kaaven Preliminary implementation of proper IDispatch marshalling. * documentation/faq.sgml: Francois Gouget Many typo fixes and case fixes. Rephrased things here and there. * dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/listbox.c: Ferenc Wagner Added listbox test. * dlls/winmm/wineoss/audio.c: Robert Reif Fixed bug caused by OSS inconsistent trigger operation on different hardware. * dlls/comctl32/trackbar.c: Maxime Bellengé Remove the sending of NM_TOOLTIPSCREATED which is non existent under Windows during the creation of the trackbar. * winedefault.reg: Rok Mandeljc Added dmusic registry entries. * dlls/kernel/nls/nld.nls: Hans Leidekker Dutch localisation of language group names. * dlls/shell32/shlfileop.c: Rolf Kalbermatter Fix some typos and a memory leak in SHFileOperationA. 2003-04-22 Alexandre Julliard * dlls/d3d8/directx.c, dlls/ddraw/d3ddevice/mesa.c, dlls/opengl32/wgl.c, dlls/x11drv/x11drv.h, include/x11drv.h: Moved x11drv.h to dlls/x11drv. * dlls/ntdll/file.c, dlls/ntdll/ntdll.spec, files/file.c, include/winternl.h: Eric Pouech Moved kernel32.FlushFileBuffers to ntdll.NtFlushBuffersFile. * tools/wineinstall: Vincent Béron Don't change to ttydrv to install registry, regedit doesn't use X. Make sure the current dir is mapped in DOS. * dlls/user/user32.spec, dlls/user/user_main.c, dlls/x11drv/x11drv.spec, dlls/x11drv/xvidmode.c, include/user.h, include/winuser.h, windows/user.c: Alex Pasadyn Implemented EnumDisplaySettings* and ChangeDisplaySettings*. 2003-04-21 Alexandre Julliard * Make.rules.in, dlls/Makedll.rules.in, dlls/Maketest.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/ntdll/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in, include/Makefile.in, miscemu/Makefile.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in: Removed no longer needed uses of LDPATH. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c: Jason Edmeades Only reapply the world, view or projection transform changes if we really have to. * dlls/d3d8/device.c: Jason Edmeades MIRROR_ARB support is not dependent on OpenGL 1.3 as I originally ifdef'ed. It is apparently introduced fully in 1.4, or dependent on another ifdef, GL_ARB_texture_mirrored_repeat. * tools/winebuild/Makefile.in, tools/winebuild/res32.c: Resource names don't need a case-sensitive comparison; this avoids depending on libwine_unicode. * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Dan Wolf Implemented a stub for DetectAutoProxyUrl. * dlls/ntdll/Makefile.in, dlls/winedos/Makefile.in, dlls/winedos/dosconf.c, dlls/winedos/dosexe.h, dlls/winedos/int21.c, include/miscemu.h, include/msdos.h, msdos/dosconf.c, msdos/int21.c: Jukka Heinonen Moved dosconf.c to winedos. * dlls/d3d8/device.c: Jason Edmeades Don't reapply all the texture states if the texture we are replacing is the same as the texture there already and the texture is not 'dirty'. * Make.rules.in, configure, configure.ac, dlls/Maketest.rules.in: Support resources in cross-compiled tests. * dlls/kernel/nls/ptb.nls, dlls/kernel/nls/ptg.nls: Marcelo Duarte Localization of the new language group strings. * documentation/documentation.sgml: Dimitrie O. Paun Remove references to obsolete files. * dlls/d3d8/indexbuffer.c: Jason Edmeades Silence index buffer lock + offset fixme to a trace because the behaviour under that scenario works. * dlls/d3d8/device.c, dlls/d3d8/directx.c: Jason Edmeades DOT3 isn't there on earlier opengl versions. 2003-04-20 Alexandre Julliard * configure, configure.ac, include/config.h.in, include/wine/port.h: Check for struct option independently of the getopt_long check. * scheduler/client.c: Set SA_NOCLDWAIT in the SIGCHLD sigaction to avoid zombies. * dlls/d3d8/directx.c: Jason Edmeades When a game requests fullscreen, make its window the dimensions requested. Ideally this should be followed by making the screen that resolution, but this suffices for now. * misc/version.c, scheduler/process.c: Explicitly call VERSION_Init with the main exe file name, so that application settings work for Win16 and DOS apps too. * documentation/db2html-winehq, documentation/make_winehq: Dimitrie O. Paun Use the standard db2html instead of our db2html-winehq script. * dlls/d3d8/directx.c: Jason Edmeades Windows never reports 24 bit colours, and some games fail to work unless in specific modes. Report 16bit colour for 24bit modes. 2003-04-19 Alexandre Julliard * programs/winedbg/gdbproxy.c: Eric Pouech - added support for multi-thread in GDB remote read/write register(s) commands - by default, internal errors are now verbose * controls/desktop.c, dlls/ttydrv/wnd.c, dlls/x11drv/desktop.c, dlls/x11drv/window.c: Don't bother sending WM_NCCREATE to the desktop window, this doesn't work anyway (spotted by Uwe Bonnes). * dlls/d3d8/directx.c: Jason Edmeades Correct device capabilites including support in previous patch, as well as making the texture operations capabilities more accurate. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c: Jason Edmeades Add DotProduct3 support if supported by opengl. * dlls/kernel/locale.c, dlls/kernel/locale_rc.rc, dlls/kernel/nls/*.nls, include/winnls.h: Maxime Bellengé Added resource strings for language groups. * dlls/shell32/shlfileop.c, include/shellapi.h: Rolf Kalbermatter Reimplement SHFileOperation in Unicode, based on the work of Dietrich Teickner. * dlls/d3d8/device.c: Jason Edmeades Make codesampler texture addressing mode sample work better. Add mirrorsupport (if opengl 1.3) and make clamp and border appear more similar to Windows. * include/rpc.h: Ove Kaaven Dummy RPC exception macros. * dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_binding.h, dlls/rpcrt4/rpc_server.c: Ove Kaaven Implemented simple caching of client connections. * documentation/Makefile.in, documentation/architecture.sgml, documentation/bugs.sgml, documentation/build.sgml, documentation/compiling.sgml, documentation/configuring.sgml, documentation/consoles.sgml, documentation/cvs-regression.sgml, documentation/cvs.sgml, documentation/debugger.sgml, documentation/debugging.sgml, documentation/dlls.sgml, documentation/documentation.sgml, documentation/faq.sgml, documentation/fonts.sgml, documentation/getting.sgml, documentation/i18n.sgml, documentation/implementation.sgml, documentation/installing.sgml, documentation/introduction.sgml, documentation/make_winehq, documentation/multimedia.sgml, documentation/ole.sgml, documentation/opengl.sgml, documentation/patches.sgml, documentation/porting.sgml, documentation/printing.sgml, documentation/running.sgml, documentation/testing.sgml, documentation/tools.sgml, documentation/winelib-bindlls.sgml, documentation/winelib-intro.sgml, documentation/winelib-mfc.sgml, documentation/winelib-pkg.sgml, documentation/winelib-porting.sgml, documentation/winelib-toolkit.sgml: Dimitrie O. Paun Remove the generation of all documentation in one document. * dlls/rpcrt4/rpc_server.c: Ove Kaaven Fixed a race condition on RPC worker thread creation, and a typo. * dlls/rpcrt4/cstub.c: Ove Kaaven Added missing AddRef. * files/drive.c: Michal Janusz Miroslaw Fixed typo in comment. * include/msvcrt/search.h: Vincent Béron Terminate the lfind inline function. * misc/version.c: Vincent Béron Change the version of win2k to SP3. Change the version of XP to SP1. Modify values of XP according to a post by Philipp Wollermann. * tools/wrc/wrc.c, tools/wrc/wrc.man: Dimitrie O. Paun Add -fo as a synonym for -o, for compatibility with rc. Line up help message, cleanup some error messages. * files/dos_fs.c: Michal Janusz Miroslaw On Linux: avoid blocking in DOSFS_OpenDir_VFAT if specified path is not a directory. 2003-04-17 Alexandre Julliard * include/winsock.h: Yet another attempt at fixing the htonl functions. * include/msvcrt/malloc.h: Fixed alloca handling the way mingw does it (reported by Vincent Béron). * dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h: Avoid local WINAPI function pointers in _invoke. * dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shell32.spec, dlls/shell32/shlmenu.c, dlls/shell32/undocshell.h, include/wine/obj_shellfolder.h: Rolf Kalbermatter Implemented ILGetDisplayNameExA and ILGetDisplayNameExW and call them from ILGetDisplayNameAW and ILGetDisplayNameExAW. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c: Christian Costa Handle creation of a depth/stencil buffer when creating a device. Implement IDirect3D8DeviceImpl_GetDepthStencilBuffer. * dlls/msvcrt/mbcs.c: Michael Stefaniuc mbtowc returns -1 if we can't find a valid multibyte char in the non NULL source string. * dlls/kernel/time.c: Martin Fuchs Fixes for SystemTimeToTzSpecificLocalTime() and TzSpecificLocalTimeToSystemTime(). * server/fd.c, server/named_pipe.c: Bill Medland Fix for client accessing a named pipe after the server closes it. * files/drive.c: Michal Janusz Miroslaw Refuse to read non-block device set in config. Avoid blocking on open if user sets device to unconnected pipe. * dlls/kernel/tests/file.c, files/dos_fs.c: Uwe Bonnes FindFirstFile on root directory should fail. 2003-04-16 Alexandre Julliard * server/ptrace.c: Fall back to kill() if the kernel doesn't support tkill(). * dlls/ntdll/ntdll.spec, dlls/ntdll/path.c, dlls/ntdll/rtlstr.c, dlls/ntdll/tests/path.c, include/winternl.h: Implemented RtlIsNameLegalDOS8Dot3 (based on a patch by Eric Pouech). Implemented RtlUpcaseUnicodeStringToCountedOemString. * dlls/dplayx/dplay.c, winedefault.reg: Sylvain Petreolle - Fix DirectPlayEnumerateA exit code. - Add default registry entry for DirectPlay Service Providers. * dlls/x11drv/keyboard.c: Rein Klazes Fix the path of keyboard.c inside a FIXME log statement. * win32/except.c: Uwe Bonnes Don't use a hex number for the event in the default string. * tools/c2man.pl: Thomas Mertes Change c2man that it works with the new format of the spec files (without exported name). * dlls/Maketest.rules.in: Hans Leidekker Don't link cross compiled tests against Wine import libraries. * misc/version.c: Andreas Mohr Print out Windows version values, in human-readable format. * include/commctrl.h: Rein Klazes Fix the ListView_SetItemState macro. 2003-04-14 Alexandre Julliard * Make.rules.in, configure, configure.ac, dlls/Makedll.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in: Allow overriding CFLAGS when running configure. Other small cleanups. * dlls/ntdll/heap.c: Insert the last free block of a subheap at the end of the free list to avoid using uncomitted space unless really necessary. * include/wine/debug.h: Fixed gcc varargs macro syntax (reported by Gabriele Giorgetti). * libs/unicode/c_042.c, libs/unicode/c_10000.c, libs/unicode/c_10007.c, libs/unicode/c_10029.c, libs/unicode/c_1006.c, libs/unicode/c_10079.c, libs/unicode/c_10081.c, libs/unicode/c_20866.c, libs/unicode/c_20932.c, libs/unicode/c_28592.c, libs/unicode/c_28593.c, libs/unicode/c_28594.c, libs/unicode/c_28595.c, libs/unicode/c_28596.c, libs/unicode/c_28600.c, libs/unicode/c_28604.c, libs/unicode/c_28605.c, libs/unicode/c_28606.c, libs/unicode/c_437.c, libs/unicode/c_737.c, libs/unicode/c_852.c, libs/unicode/c_855.c, libs/unicode/c_860.c, libs/unicode/c_861.c, libs/unicode/c_862.c, libs/unicode/c_865.c, libs/unicode/c_866.c, libs/unicode/c_874.c, libs/unicode/c_878.c, libs/unicode/c_932.c, libs/unicode/c_936.c, libs/unicode/c_949.c, libs/unicode/c_950.c, libs/unicode/cpmap.pl, libs/unicode/defaults: Hacked 0x00a5 to map to backslash in Shift-JIS codepage. Added mapping for 0x00a6. * Makefile.in: Hans Leidekker Fix typo: sqml -> sgml. * tools/c2man.pl: Hans Leidekker Handle multiline output from grep and don't grep for empty strings. * dlls/opengl32/make_opengl: Lionel Ulmer Have the 'make_opengl' in line with the (manually edited) spec file. * dlls/msvcrt/file.c, dlls/ole32/storage.c: Andreas Mohr Fix blatantly wrong SetFilePointer() calls. * dlls/wininet/Makefile.in, dlls/wininet/http.c, dlls/wininet/internet.c: Dominik Strasser Partially implement proxy support. * documentation/.cvsignore, documentation/Makefile.in, documentation/PACKAGING, documentation/make_winehq, documentation/packaging.sgml, documentation/wine-doc.sgml, documentation/wine-pkg.sgml: Dimitrie O. Paun Transform the Packaging Guide into a nice ASCII file. Update it to the latest info, make it less prone to obsolescence. Updated the Wine executables from list produced by Tom Wickline. 2003-04-13 Alexandre Julliard * dlls/dsound/tests/dsound.c: Don't use Wine debugging API in tests. * dlls/winedos/interrupts.c: Jukka Heinonen Interrupt handling now prints more trace information. Replaced some magic numbers with preprocessor constants. * server/signal.c: Yorick Hardy Fix for compiling on NetBSD. * include/shlobj.h, include/wine/obj_shelllink.h: Vincent Béron Include shlguid.h from shlobj.h. Expose IShellLink to Winelib apps. * include/mmsystem.h: Vincent Béron Define some additional constants. * scheduler/sysdeps.c: Yorick Hardy errno should not be used as a variable name. * dlls/d3d8/directx.c: Christian Costa Increase MaxStreams to 2 in CAPS. * include/d3d8.h: Christian Costa Added some defines to d3d8 header. 2003-04-12 Alexandre Julliard * dlls/ntdll/Makefile.in, dlls/ntdll/ntdll.spec, dlls/ntdll/path.c, dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/path.c, include/winternl.h: Implemented RtlDetermineDosPathNameType_U and RtlIsDosDeviceName_U. * dlls/ole32/ole16.c, include/oaidl.h, include/objbase.h, include/objidl.h, include/unknwn.h, include/unknwn.idl, tools/widl/header.c: The com_interface attribute is not needed on derived classes. Removed the ICOM_CTHIS* macros. * dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8_main.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/indexbuffer.c, dlls/d3d8/resource.c, dlls/d3d8/shader.c, dlls/d3d8/stateblock.c, dlls/d3d8/surface.c, dlls/d3d8/swapchain.c, dlls/d3d8/texture.c, dlls/d3d8/vertexbuffer.c, dlls/d3d8/volume.c, dlls/d3d8/volumetexture.c, dlls/d3d8/vshaderdeclaration.c, dlls/ddraw/d3ddevice/main.h, dlls/ddraw/direct3d/main.h, dlls/dmusic/dmusic_private.h: Header files must not include config.h. * dlls/Makedll.rules.in, dlls/Makefile.in, dlls/make_dlls: Fixed rules for auto documentation (reported by Vincent Béron). * dlls/ntdll/nt.c: Robert Shearman Added NtQueryProcessInformation case needed by NT version of MSI. * configure, configure.ac: Hans Leidekker Add aliases to configure check for mingw cross compiler and dlltool. 2003-04-11 Alexandre Julliard * dlls/dsound/capture.c: Robert Reif Fixed PCM format evaluation bug. Properly clean up partially created sound buffers. * Make.rules.in, include/Makefile.in, tools/makedep.c: Added support for generating dependencies for idl files. * graphics/painting.c: Maxime Bellengé Added the GRADIENT_FILL_TRIANGLE case in GdiGradientFill. * dlls/dsound/tests/dsound.c: Robert Reif Changed capture format printing to hex. * libs/uuid/dxguid.c: Robert Reif Add direct sound driver guids. * dlls/dplayx/dplaysp.h, dlls/dplayx/lobbysp.h, dlls/ole32/ifs.h, dlls/shell32/shellfolder.h, include/commctrl.h, include/d3d.h, include/d3d8.h, include/d3dx8core.h, include/ddraw.h, include/dinput.h, include/dmplugin.h, include/dmusicc.h, include/dmusici.h, include/dmusics.h, include/docobj.h, include/dplay.h, include/dplobby.h, include/dsdriver.h, include/dsound.h, include/oaidl.h, include/objbase.h, include/objidl.h, include/oledlg.h, include/servprov.h, include/shlobj.h, include/shlwapi.h, include/unknwn.h, include/unknwn.idl, include/urlmon.h, include/vfw.h, include/wine/obj_cache.h, include/wine/obj_comcat.h, include/wine/obj_commdlgbrowser.h, include/wine/obj_connection.h, include/wine/obj_contextmenu.h, include/wine/obj_control.h, include/wine/obj_dockingwindowframe.h, include/wine/obj_dragdrop.h, include/wine/obj_dragdrophelper.h, include/wine/obj_enumguid.h, include/wine/obj_enumidlist.h, include/wine/obj_extracticon.h, include/wine/obj_inplace.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_property.h, include/wine/obj_serviceprovider.h, include/wine/obj_shellbrowser.h, include/wine/obj_shellextinit.h, include/wine/obj_shellfolder.h, include/wine/obj_shelllink.h, include/wine/obj_shellview.h, include/wine/obj_webbrowser.h, tools/widl/header.c: Simplified COM interface declarations, removing the need to define both an xxx_METHODS and an xxx_IMETHODS macro. 2003-04-10 Alexandre Julliard * dlls/dplayx/dplaysp.h, dlls/dplayx/lobbysp.h, dlls/shell32/shellfolder.h, include/d3d.h, include/d3d8.h, include/d3dx8core.h, include/ddraw.h, include/dinput.h, include/dmplugin.h, include/dmusicc.h, include/dmusici.h, include/dmusics.h, include/docobj.h, include/dplay.h, include/dplobby.h, include/dsdriver.h, include/dsound.h, include/objbase.h, include/oledlg.h, include/servprov.h, include/shlobj.h, include/shlwapi.h, include/urlmon.h, include/vfw.h, include/wine/obj_cache.h, include/wine/obj_comcat.h, include/wine/obj_commdlgbrowser.h, include/wine/obj_connection.h, include/wine/obj_contextmenu.h, include/wine/obj_control.h, include/wine/obj_dockingwindowframe.h, include/wine/obj_dragdrop.h, include/wine/obj_dragdrophelper.h, include/wine/obj_enumguid.h, include/wine/obj_enumidlist.h, include/wine/obj_extracticon.h, include/wine/obj_inplace.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_property.h, include/wine/obj_serviceprovider.h, include/wine/obj_shellbrowser.h, include/wine/obj_shellextinit.h, include/wine/obj_shellfolder.h, include/wine/obj_shelllink.h, include/wine/obj_shellview.h, include/wine/obj_webbrowser.h, tools/widl/header.c, tools/widl/widl.c, tools/widl/widl.h: Get rid of the ICOM_CALL macros. * tools/winebuild/import.c: Ignore "U " in nm -u output. * dlls/winmm/wineoss/audio.c: Robert Reif Better error messages. * dlls/avifil32/acmstream.c, dlls/avifil32/avifile.c, dlls/avifil32/factory.c, dlls/avifil32/getframe.c, dlls/avifil32/icmstream.c, dlls/avifil32/wavfile.c, dlls/comcat/information.c, dlls/dplayx/dplay.c, dlls/dplayx/dplaysp.c, dlls/dplayx/dplobby.c, dlls/dplayx/lobbysp.c, dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compositemoniker.c, dlls/ole32/ftmarshal.c, dlls/ole32/git.c, dlls/ole32/hglobalstream.c, dlls/ole32/ifs.c, dlls/ole32/memlockbytes.c, dlls/ole32/moniker.c, dlls/ole32/ole16.c, dlls/ole32/oleobj.c, dlls/ole32/stg_stream.c, dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/oleaut32/typelib.c, dlls/shell32/classes.c, dlls/shell32/dataobject.c, dlls/shell32/dragdrophelper.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shlwapi/istream.c, dlls/shlwapi/regstream.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/audio_05.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/wineoss/audio.c: Removed uses of the non standard ICOM_VTBL macro. * dlls/ddraw/direct3d/mesa.c, dlls/dplayx/dplaysp.h, dlls/dplayx/lobbysp.h, dlls/ole32/ifs.h, dlls/shell32/shellfolder.h, include/d3d.h, include/d3d8.h, include/d3dx8core.h, include/ddraw.h, include/dinput.h, include/dmplugin.h, include/dmusicc.h, include/dmusici.h, include/dmusics.h, include/docobj.h, include/dplay.h, include/dplobby.h, include/dsdriver.h, include/dsound.h, include/oaidl.h, include/objbase.h, include/objidl.h, include/oledlg.h, include/servprov.h, include/shlobj.h, include/shlwapi.h, include/unknwn.h, include/urlmon.h, include/vfw.h, include/winnt.h, include/wine/obj_cache.h, include/wine/obj_comcat.h, include/wine/obj_commdlgbrowser.h, include/wine/obj_connection.h, include/wine/obj_contextmenu.h, include/wine/obj_control.h, include/wine/obj_dockingwindowframe.h, include/wine/obj_dragdrop.h, include/wine/obj_dragdrophelper.h, include/wine/obj_enumguid.h, include/wine/obj_enumidlist.h, include/wine/obj_extracticon.h, include/wine/obj_inplace.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_property.h, include/wine/obj_serviceprovider.h, include/wine/obj_shellbrowser.h, include/wine/obj_shellextinit.h, include/wine/obj_shellfolder.h, include/wine/obj_shelllink.h, include/wine/obj_shellview.h, include/wine/obj_webbrowser.h, tools/widl/header.c: Use a more compatible technique to declare COM interfaces methods, using Microsoft's STDMETHOD macros instead of the Wine-specific ICOM_METHOD ones. 2003-04-09 Alexandre Julliard * dlls/dsound/version.rc: Robert Reif Changed DLL version to 8. * tools/winewrap.c: Dimitrie O. Paun We don't need to dlopen the app module before the LoadLibrary(). * include/winsock.h: Vitaliy Margolen Added more extended error codes. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec: Vitaliy Margolen Add and fix a few stubs to return correct error. * documentation/README.fr: Vincent Béron Keep README.fr in sync. 2003-04-08 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20030408. ---------------------------------------------------------------- 2003-04-08 Alexandre Julliard * README: Updated URLs. * dlls/dmusic/Makefile.in, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic8.c, dlls/dmusic/dmusic_buffer.c, dlls/dmusic/dmusic_collection.c, dlls/dmusic/dmusic_dlinstrument.c, dlls/dmusic/dmusic_download.c, dlls/dmusic/dmusic_instrument.c, dlls/dmusic/dmusic_loader.c, dlls/dmusic/dmusic_misc.c, dlls/dmusic/dmusic_performance.c, dlls/dmusic/dmusic_plugins.c, dlls/dmusic/dmusic_port.c, dlls/dmusic/dmusic_portdl.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/dmusic_segment.c, dlls/dmusic/dmusic_style.c, dlls/dmusic/dmusic_synth.c, dlls/dmusic/dmusic_thru.c, dlls/dmusic/reference_clock.c: Rok Mandeljc Added stubs for all dmusic interfaces. * include/commctrl.h: Juraj Hercek Fixed tagLVDISPINFO definition. * tools/winemaker: Juraj Hercek Fixed generation of makefiles and wrapper files when "--wrap" option is used. * dlls/tapi32/assisted.c: Rein Klazes Only log the parameters of tapiGetLocationInfo as addresses, as output parameters they probably point to garbage. * controls/listbox.c: Rein Klazes Compare the two items in LISTBOX_FindStringPos() in the same order as in Windows. * tools/winapi_check/modules.dat: Hans Leidekker Add some more newly arrived dlls. * dlls/winedos/int10.c, dlls/winedos/int21.c: Jukka Heinonen Return correct segment for VESA information. Check oem number/version flag first and after that overwrite condition code. * dlls/kernel/kernel32.spec, dlls/kernel/locale.c: Michal Janusz Miroslaw Add stub for InvalidateNLSCache. * files/drive.c: Make DRIVE_FindRootW really behave like DRIVE_FindRoot. * configure, configure.ac, dlls/Makefile.in, dlls/dmband/.cvsignore, dlls/dmband/Makefile.in, dlls/dmband/dmband.spec, dlls/dmband/dmband_main.c, dlls/dmband/version.rc, dlls/dmcompos/.cvsignore, dlls/dmcompos/Makefile.in, dlls/dmcompos/dmcompos.spec, dlls/dmcompos/dmcompos_main.c, dlls/dmcompos/version.rc, dlls/dmime/.cvsignore, dlls/dmime/Makefile.in, dlls/dmime/dmime.spec, dlls/dmime/dmime_main.c, dlls/dmime/version.rc, dlls/dmloader/.cvsignore, dlls/dmloader/Makefile.in, dlls/dmloader/dmloader.spec, dlls/dmloader/dmloader_main.c, dlls/dmloader/version.rc, dlls/dmscript/.cvsignore, dlls/dmscript/Makefile.in, dlls/dmscript/dmscript.spec, dlls/dmscript/dmscript_main.c, dlls/dmscript/version.rc, dlls/dmstyle/.cvsignore, dlls/dmstyle/Makefile.in, dlls/dmstyle/dmstyle.spec, dlls/dmstyle/dmstyle_main.c, dlls/dmstyle/version.rc, dlls/dmsynth/.cvsignore, dlls/dmsynth/Makefile.in, dlls/dmsynth/dmsynth.spec, dlls/dmsynth/dmsynth_main.c, dlls/dmsynth/version.rc, dlls/dmusic32/.cvsignore, dlls/dmusic32/Makefile.in, dlls/dmusic32/dmusic32.spec, dlls/dmusic32/dmusic32_main.c, dlls/dmusic32/version.rc, dlls/dpnhpast/.cvsignore, dlls/dpnhpast/Makefile.in, dlls/dpnhpast/dpnhpast.spec, dlls/dpnhpast/main.c, dlls/dpnhpast/version.rc, include/Makefile.in, include/dmplugin.h, include/dmusicf.h, include/dmusici.h, include/dmusics.h, libs/uuid/dxguid.c: Rok Mandeljc Added stubs for dpnhpast and for all the dmusic dlls. * dlls/user/tests/sysparams.c: Avoid warning. * dlls/ntdll/tests/rtl.c, dlls/ntdll/tests/rtlstr.c: Thomas Mertes Tests for RtlUlonglongByteSwap, RtlRandom, RtlAreAllAccessesGranted, RtlAreAnyAccessesGranted, RtlUnicodeStringToAnsiString, RtlAppendAsciizToString, RtlAppendStringToString, RtlAppendUnicodeToString and RtlAppendUnicodeStringToString. * dlls/ntdll/large_int.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, dlls/ntdll/rtlstr.c, include/winnt.h, include/winternl.h: Thomas Mertes Implemented RtlRandom, RtlAreAllAccessesGranted, RtlAreAnyAccessesGranted, RtlCopyLuid, RtlEqualLuid, RtlMapGenericMask and RtlCopyLuidAndAttributesArray. Documentation updates for RtlExtendedMagicDivide, RtlUniform, RtlUnicodeStringToAnsiString, RtlAppendAsciizToString, RtlAppendStringToString, RtlAppendUnicodeToString and RtlAppendUnicodeStringToString. 2003-04-07 Alexandre Julliard * dlls/msvcrtd/msvcrtd.spec: Adam Gundy Fixed ecvt/fcvt/gcvt entries. * dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, documentation/samples/config, documentation/wine.conf.man, include/snoop.h, relay32/builtin32.c, relay32/relay386.c, relay32/snoop.c: Added possibility to filter relay traces based on the module that called the function. Cleaned up a few traces. * dlls/gdi/gdi32.spec, dlls/msimg32/msimg32.spec, dlls/msimg32/msimg32_main.c, graphics/painting.c: Maxime Bellengé Implemented the GRADIENT_FILL_RECT{H|V} cases of GdiGradientFill. * documentation/getting.sgml, documentation/glossary.sgml, documentation/introduction.sgml: Tom Hughes Fix a few incorrect tags. * tools/winapi/winapi.pm: Hans Leidekker Make winapi_check handle spec files where no handler is specified. * tools/winapi_check/modules.dat: Hans Leidekker Sync winapi_check to Wine spec files. * dlls/shlwapi/ordinal.c, dlls/shlwapi/ordinal.h, dlls/shlwapi/shlwapi.spec: Rolf Kalbermatter Implement SHLWAPI_269 and SHLWAPI_270. Fix a 0 reference bug in SHLWAPI_436 and change its return value to what at least W2K does as well. * dlls/dsound/mixer.c: Jerry Jenkins Align data to proper size. 2003-04-05 Alexandre Julliard * dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, loader/pe_image.c: Rewrote most of the import fixup code to avoid doing redundant work for every entry point. Moved it all to dlls/ntdll/loader.c. Various optimizations in the other loader routines. * loader/module.c: Fetch the exe module directly from the PDB instead of calling LdrGetDllHandle. * dlls/dsound/capture.c, dlls/dsound/dsound_main.c: Robert Reif Fixed a problem when multiple devices are present and a device other than the first one is used. * dlls/ole32/bindctx.c: Alberto Massari - The bindcontext object was leaking strings. - Removed unused variable. * dlls/rasapi32/rasapi.c: Gerald Pfeifer Improve error message for RAS not being supported. * dlls/winmm/wineoss/audio.c: Eric Pouech Work around not implemented ioctl in BSD. 2003-04-04 Alexandre Julliard * dlls/winsock/socket.c: Cleaned up the option mapping code a bit. * dlls/ntdll/Makefile.in, dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/signal_i386.c, dlls/ntdll/sync.c, dlls/ntdll/thread.c, include/wine/server_protocol.h, include/winternl.h, scheduler/thread.c, server/async.c, server/named_pipe.c, server/protocol.def, server/thread.c, server/thread.h, server/timer.c, server/trace.c: Implemented NtQueueApcThread, and changed the server APC interface to always take 3 parameters. Implemented a number of other ntdll thread functions, and use them from the kernel ones. * dlls/dsound/sound3d.c, programs/winecfg/properties.c: Warning fixes. * Makefile.in, README, tools/winecheck: Andreas Mohr Structure README file in a better way, some doc fixes. * files/dos_fs.c: Mike Hearn Correct the error code returned when a file does not exist. * dlls/winsock/socket.c, dlls/wsock32/socket.c, dlls/wsock32/wsock32.spec, include/winsock.h, include/ws2tcpip.h: Mike Hearn - Map winsock sockopts to the POSIX equivalents for IP multicast. - Remap winsock1 constant values to winsock2 using a forwarder function. - Change a FIXME to a TRACE, it appeared to be simply reporting progress. * dlls/ntdll/loader.c, include/module.h, loader/pe_image.c: Merged PE_InitDLL into MODULE_InitDLL. Fixed a few traces. * dlls/ntdll/critsection.c, include/winbase.h, programs/winedbg/gdbproxy.c, programs/winedbg/winedbg.c, win32/except.c: Remove the Wine-specific EXCEPTION_CRITICAL_SECTION_WAIT define. * configure, configure.ac, dlls/Makefile.in, dlls/msvcrtd/.cvsignore, dlls/msvcrtd/Makefile.in, dlls/msvcrtd/debug.c, dlls/msvcrtd/msvcrtd.spec: Adam Gundy Added an implementation of the MSVCRTD.DLL debugging C runtime DLL. * dlls/icmp/icmp_main.c: Removed the commented out winsock support, it can't work anyway. * include/winsock.h: Yet another hack to try to make this file compile in all circumstances. * include/winuser.h: Dimitrie O. Paun Add a few missing BN_* constants. 2003-04-03 Alexandre Julliard * programs/wineconsole/curses.c: Avoid warning on redefinition of KEY_EVENT. * dlls/ntdll/critsection.c, dlls/ntdll/rtl.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c: Eric Pouech No longer call WaitFor*Object* from ntdll (but NtWait*Object*). * dlls/ddraw/version.rc: Rok Mandeljc Update version info to 8.1. * dlls/d3d8/.cvsignore, dlls/d3d8/Makefile.in, dlls/d3d8/version.rc, dlls/dmusic/.cvsignore, dlls/dmusic/Makefile.in, dlls/dmusic/version.rc: Rok Mandeljc Added version info. * tools/winebuild/spec32.c: Don't output register function code if it's a forwarded entry point. * dlls/cabinet/cabextract.c, dlls/dplayx/dplobby.c, dlls/kernel/console.c, dlls/psapi/psapi_main.c: Michael Stefaniuc Add some missing HeapFree's and one missing free. * dlls/user/message.c: Vitaliy Margolen Remove bogus initialization in SetKeyboardState. * dlls/dsound/dsound_main.c: Robert Reif Added wide character enumeration of sound devices. * include/dsound.h: Robert Reif Added a few missing DX8 definitions. * dlls/kernel/kernel32.spec, win32/kernel32.c: Paul McNett Stubs for BeginUpdateResourceA(), BeginUpdateResourceW(), EndUpdateResourceA(), and EndUpdateResourceW(). * scheduler/sysdeps.c: Added hack to patch the glibc errno_location to jump to our function, based on a patch by Marcus Meissner. * configure, configure.ac, dlls/ntdll/Makefile.in, include/config.h.in, libs/wine/errno.c, scheduler/pthread.c, scheduler/sysdeps.c: Added --with-nptl configure option and necessary changes to support running on top of NPTL threads. 2003-04-02 Alexandre Julliard * aclocal.m4, configure, configure.ac, include/config.h.in, scheduler/sysdeps.c: Don't bother checking for the errno function, simply define all of them. * dlls/comctl32/datetime.c: Vitaliy Margolen Fix buffer overflow in datetime. * dlls/comctl32/toolbar.c: Adam Gundy Zero initialize the reserved bytes in the toolbar details returned by TOOLBAR_GetButton(). * dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c: Uwe Bonnes Added some stubs. * dlls/comctl32/imagelist.c: Vitaliy Margolen Fix ImageList_Read - the root cause of ugly toolbar icons. * dlls/ntdll/ntdll_misc.h, dlls/ntdll/sync.c, dlls/ntdll/time.c, include/wine/server_protocol.h, scheduler/timer.c, server/protocol.def, server/thread.c, server/timer.c, server/trace.c, tools/make_requests: Added abs_time_t structure to the server protocol, and added a dump routine for it that displays the relative timeout to make timeout values easier to interpret. * dlls/winmm/tests/wave.c: Robert Reif Added more information to some of the failure messages. Fixed a bug where garbage data is printed out for the 2 MHz tests. * tools/winegcc.c, tools/winewrap.c: Dimitrie O. Paun Make use of the new spawnvp function in wine{gcc,wrap}. * dlls/dsound/dsound.spec: Robert Reif Added entry for DirectSoundFullDuplexCreate. * tools/winedump/pe.c: Dump string resources in a more readable way. * include/wine/port.h, libs/port/Makefile.in, libs/port/spawn.c: Dimitrie O. Paun Add spawnvp to the portability lib. * server/signal.c: Initialize the dummy char we send down the pipe to make valgrind happy. * programs/notepad/Makefile.in, programs/regedit/Makefile.in: Make sure we don't use libwine_port functions when linking with msvcrt. * configure, configure.ac, dlls/ntdll/heap.c, include/config.h.in: Added support for marking heap blocks as inaccessible/uninitialized if valgrind is installed, based on a patch by Adam Gundy. * dlls/winsock/tests/sock.c, include/winsock.h: Handle htonl() and friends like select(), this will hopefully avoid conflicts with Unix headers. * dlls/commdlg/colordlg.c, dlls/commdlg/filedlg95.c, dlls/ntdll/rtlbitmap.c, dlls/setupapi/dirid.c, dlls/shdocvw/events.c, dlls/shell32/shell32_main.c, dlls/shlwapi/path.c, dlls/shlwapi/thread.c, dlls/user/text.c, dlls/winmm/midimap/midimap.c, include/winnt.h, memory/global.c, tools/wineconf: Andreas Mohr Some spelling and formatting fixes. * programs/winedbg/stabs.c: Eric Pouech Added support for R types in stabs parsing. * dlls/ntdll/cdrom.c: Eric Pouech Fixed a few FormatCode entries. 2003-04-01 Alexandre Julliard * dlls/shell32/tests/shlfileop.c: Rolf Kalbermatter Fix test to succeed in Win 98/2K and most probably ME/XP as well. * configure, configure.ac, include/config.h.in, include/thread.h, scheduler/client.c, scheduler/sysdeps.c: Added SYSDEPS_GetUnixTid to return the Unix thread id to send to the server. * dlls/shell32/undocshell.h, include/shlobj.h: Rolf Kalbermatter Moved prototype for SHBindToParent() to shlobj.h. * documentation/Makefile.in, documentation/architecture.sgml, documentation/bugs.sgml, documentation/build.sgml, documentation/compiling.sgml, documentation/configuring.sgml, documentation/cvs-regression.sgml, documentation/cvs.sgml, documentation/debugger.sgml, documentation/dlls.sgml, documentation/documentation.sgml, documentation/faq.sgml, documentation/fonts.sgml, documentation/getting.sgml, documentation/glossary.sgml, documentation/implementation.sgml, documentation/installation-und-konfiguration.german, documentation/installing.sgml, documentation/introduction.sgml, documentation/multimedia.sgml, documentation/packaging.sgml, documentation/printing.sgml, documentation/registry.sgml, documentation/running.sgml, documentation/wine-devel.sgml, documentation/wine-doc.sgml, documentation/wine-user.sgml, documentation/winelib-bindlls.sgml, documentation/winelib-porting.sgml, documentation/winelib-toolkit.sgml: Andreas Mohr - new, much more detailed and easier "step-by-step" layout - better intro - add Glossary (glossary.sgml) - much better Getting Wine chapter - much better Wine configuration chapter - better Wine drive layer configuration section - explain wineserver cmdline options - rearranged tons of things into a less messy state - tons of janitorial fixes * dlls/gdi/driver.c, dlls/winedos/int1a.c, dlls/winedos/vga.c, include/wine/winsock16.h, programs/winedbg/dbg.y: Portability fixes. * configure, configure.ac, include/config.h.in, tools/winegcc.c, tools/winewrap.c: Use _spawnvp to replace fork for non-Unix platforms. * dlls/Makedll.rules.in, dlls/user/Makefile.in, tools/winebuild/main.c: Added support for specifying an stdcall dll entry point. * programs/winedbg/debugger.h, programs/winedbg/gdbproxy.c, programs/winedbg/module.c, programs/winedbg/stabs.c, programs/winedbg/winedbg.c: Removed uses of u_long. Use void* type for pointers where possible. 2003-03-31 Alexandre Julliard * dlls/commdlg/Makefile.in, dlls/kernel/Makefile.in, dlls/oleaut32/Makefile.in, dlls/urlmon/umon.c, dlls/wininet/urlcache.c, dlls/wininet/wininet.spec, dlls/winspool/Makefile.in, include/wininet.h: Dmitry Timoshkov Fix some problems found while compiling and linking Wine under Cygwin. * include/winsock.h: Try to make winsock.h more portable (based on a patch by Francois Gouget). * configure, configure.ac, programs/Makefile.in, programs/winecfg/.cvsignore, programs/winecfg/Makefile.in, programs/winecfg/main.c, programs/winecfg/properties.c, programs/winecfg/properties.h, programs/winecfg/resource.h, programs/winecfg/winecfg.c, programs/winecfg/winecfg.h, programs/winecfg/winecfg.rc: Dimitrie O. Paun New winecfg skeleton app, based heavily on original work by Jaco Greeff. * README, documentation/README.fr, documentation/installing.sgml, documentation/registry.sgml, tools/winecheck, winedefault.reg: Sylvain Petreolle Use regedit instead of regapi. * dlls/advapi32/crypt.c: Andreas Mohr Trace format fix. * dlls/ntdll/sync.c: Added missing NONAMELESSSTRUCT/UNION. * dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, dlls/ntdll/om.c, dlls/ntdll/sync.c, dlls/ntdll/time.c, include/winternl.h, scheduler/synchro.c, scheduler/timer.c: Moved WaitForMultipleObjects to ntdll (based on a patch by Eric Pouech). Added NTDLL_get_server_timeout function to compute ntdll-style timeouts and adapted the timer code to use it. * documentation/compiling.sgml: Francois Gouget - s/cvs -PAd update/cvs update -PAd/. - Fix the Odin link. - Add a link to BeWine. - Small typo fixes and rephrasing. * dlls/dsound/sound3d.c: Rok Mandeljc Framework for the doppler effect. * dlls/dmusic/dmusic.c: Rok Mandeljc (sorta) implemented EnumPorts. * graphics/x11drv/dib.c: Vitaliy Margolen Fix random segfaults in X11DRV_SetImageBits_1. 2003-03-30 Alexandre Julliard * windows/sysparams.c: Use the right buffer size in SYSPARAMS_Load instead of some random value. * include/wine/server.h, scheduler/client.c: Clear the entire request, not just the end, in case it contains padding bytes. * misc/version.c: Fixed regression in VERSION_GetLinkedDllVersion() introduced by previous change. * dlls/msvcrt/file.c: Adam Gundy MSVCRT_fclose() mustn't use the _flag field from the file structure after _close() has been called. When _open_osfhandle() is used by MFC's CStdioFile, it expects write access even though it doesn't set the necessary flag bit. * dlls/commdlg/filetitle.c, dlls/shlwapi/path.c, dlls/shlwapi/reg.c: Vitaliy Margolen Unicode strings termination fixes. * misc/registry.c: Maxime Bellengé Fix a regression when loading a real windows registry. * dlls/winedos/int21.c, include/winbase.h, msdos/int21.c: Jukka Heinonen Add prototype for GetCompressedFileSize. Move some int21 functions to winedos. Improve file attribute functions. * dlls/gdi/freetype.c: Adam Gundy Don't look at the second character of the path unless the first character is non-NUL. * dlls/shell32/folders.c: Adam Gundy Don't convert uninitialized bytes of the filename from wide to multibyte. * dlls/winspool/info.c: Adam Gundy Make sure the new array of printer pointers is NULL initialized. * files/profile.c: Adam Gundy Don't read uninitialized data when a '$' is found. * libs/wine/ldt.c: Adam Gundy Make sure all the bits of the LDT are initialized. * windows/sysparams.c: Adam Gundy Initialize lpLogFont->lfQuality to the default. 2003-03-28 Alexandre Julliard * documentation/running.sgml: Mike Hearn Add info on how to use the Wine uninstaller. * dlls/user/Makefile.in, dlls/user/controls.h, dlls/user/dialog16.c, dlls/user/user32.spec, dlls/user/wnd16.c, windows/dialog.c: Moved 16-bit dialog routines to a separate dialog16.c file. Fixed window creation to create ASCII windows when called through one of the ASCII dialog functions. * dlls/winmm/winealsa/audio.c: Avoid crash if snd_pcm_open fails. * dlls/ole32/.cvsignore, dlls/ole32/Makefile.in, dlls/ole32/ole32.spec, dlls/ole32/ole32_main.c, dlls/ole32/regsvr.c, dlls/ole32/version.rc: John K. Hohm Implement DllRegisterServer and DllUnregisterServer for ole32.dll, and add OleSelfRegister version string. * Make.rules.in, tools/wrc/parser.y, tools/wrc/wrc.c, tools/wrc/wrc.h, tools/wrc/wrc.man: Dimitrie O. Paun Remove the no longer needed -m option, ignore -r for compatibility with rc. Rename -B to --endianess, -d to --debug, -W to --pedantic. Add a new -U,--undefine option to undefined preprocessor symbols. Cleanup the help message (order the long options alphabetically). * include/msvcrt/errno.h: Dimitrie O. Paun Fix errno linkage when compiling in C++. * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Alberto Massari Added InternetSetStatusCallbackA and a stub for InternetSetStatusCallbackW. * aclocal.m4, configure, configure.ac, dlls/netapi32/netapi32.c, dlls/rpcrt4/rpcrt4_main.c, dlls/winsock/socket.c, files/drive.c, include/config.h.in, include/wine/port.h, scheduler/client.c, server/request.c, server/signal.c: Replaced WINE_CHECK_STRUCT_MEMBER autoconf macro by the standard AC_CHECK_MEMBERS. Added check for si_fd in siginfo_t. * libs/wine/loader.c: Yorick Hardy stdint.h should be included for compiling on NetBSD. * dlls/ntdll/signal_i386.c: Yorick Hardy Added fields from NetBSD struct sigcontext on i386. * memory/global.c: Yorick Hardy Added the sysctl calls for NetBSD to determine the physical memory available. * libs/unicode/wine_unicode.def, libs/wine/wine.def: Steven Edwards Fixed the .def files for the Mingw build. 2003-03-27 Alexandre Julliard * tools/wpp/preproc.c, tools/wpp/wpp.c, tools/wpp/wpp.h, tools/wpp/wpp_private.h: Dimitrie O. Paun Allow wpp users to undefine previously defined symbols. * dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in, tools/wrc/wrc.c, tools/wrc/wrc.h, tools/wrc/wrc.man: Dimitrie O. Paun Remove unused options -a and -C. Collapse the -w into -O, for symmetry with -J. Update the man page to the latest options. * tools/winemaker: Dimitrie O. Paun Do not pass unnecessary flags to wrc in generated makefiles. * dlls/msvcrt/dir.c: Sylvain Petreolle _wsplitpath: Display correctly the path being split. * dlls/shlwapi/ordinal.c, dlls/shlwapi/ordinal.h, dlls/shlwapi/shlwapi.spec: Rolf Kalbermatter Implemented SHLWAPI_266 and SHLWAPI_271. * objects/dc.c: P. Christeas Fixed typo in SetGraphicsMode. * dlls/imagehlp/imagehlp_main.c: P. Christeas Implemented MakeSureDirectoryPathExists. * dlls/comctl32/treeview.c: Mike Hearn TreeView should not send two click notifications when bTrack is true. * dlls/shell32/shlview.c, dlls/shell32/shpolicy.c: Rolf Kalbermatter Cosmetic fixes. 2003-03-26 Alexandre Julliard * dlls/shell32/shell32.spec, dlls/shell32/shellstring.c, dlls/shell32/undocshell.h: Rolf Kalbermatter Implemented CheckEscapesA/W. * dlls/kernel/Makefile.in, dlls/kernel/change.c, dlls/ntdll/Makefile.in, files/change.c, include/wine/server_protocol.h, server/change.c, server/file.c, server/file.h, server/protocol.def, server/request.h, server/signal.c, server/trace.c: Implemented file change notifications, based on a patch by Mike McCormack. * dlls/commdlg/filedlg95.c: Maxime Bellengé Fix the lookin combobox overlapping the toolbar in open/save file dialog. * dlls/comctl32/treeview.c: Mike Hearn TREEVIEW_GetItemA should ignore stateMask. * dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shfldr_fs.c: Rolf Kalbermatter Add new helper function to create a relative file or folder ItemIDList for a path and change usage of SHSimpleIDListFromPath to call new function instead. * include/thread.h, libs/wine/errno.c, scheduler/sysdeps.c, scheduler/thread.c: Moved errno_location support to sysdeps.c. * server/Makefile.in, server/fd.c, server/main.c, server/object.h, server/ptrace.c, server/request.c, server/signal.c, server/thread.h: Added generic signal handling mechanism based on pipes to synchronize signals with the main poll loop. * include/msvcrt/conio.h, include/msvcrt/io.h, include/msvcrt/process.h, include/msvcrt/stdio.h: Use aliases instead of #defines for the varargs functions when using gcc. * if1632/builtin.c, include/module.h, relay32/builtin32.c, relay32/relay386.c, relay32/snoop.c: Eric Pouech - no longer using kernel32's APIs but ntdll's - BUILTIN32_dlopen now properly returns NTDLL style status codes * windows/sysparams.c: Stephan BEUZE Implemented a default behavior for SPI_GETGRADIENTCAPTIONS flag in SystemParametersInfoA. * dlls/kernel/kernel32.spec, dlls/kernel/locale.c, include/winnls.h: Maxime Bellengé Stubs for EnumSystemLanguageGroups{A|W}. * dlls/comctl32/treeview.c: Mike Hearn Correct the check for changed treeview items, so item sets repaint properly. 2003-03-25 Alexandre Julliard * dlls/ntdll/signal_i386.c, scheduler/sysdeps.c, tools/winebuild/relay.c: Store %gs in the TEB on every call to 16-bit code, and don't restore it from the TEB for signals that did not happen in 16-bit code. * dlls/commdlg/filedlg95.c: Maxime Bellengé Fix how the size of the dialog is computed and the child component placed. In case the help button and the readonly check box are hidden, perform the resizing before calling the hook procedure. * dlls/shell32/shlexec.c, programs/wcmd/batch.c, programs/wcmd/wcmdmain.c: Stefan Leichter Let wcmd handle .cmd files like .bat files. * misc/registry.c: Eric Pouech No longer using kernel32's APIs but ntdll's. * files/directory.c: Gerald Pfeifer Add trailing full-stop to warning in DIR_GetPath(). 2003-03-24 Alexandre Julliard * tools/winebuild/spec16.c: Avoid reference to wine_get_cs function from libwine. * controls/scroll.c: Revert broken change to the scrollbar position adjustment code. * configure, configure.ac, miscemu/Makefile.in: If supported, relocate the main wine binary to a higher address to leave more space for the Win32 executable. * dlls/ntdll/signal_i386.c: Make sure changes to the debug registers while inside a SIGTRAP exception are taken into account (based on a patch by Alex Pasadyn). * tools/wineinstall: Brian Vincent Prompt the user again if they don't get the root password right. * tools/winegcc.c: Dimitrie O. Paun Don't attempt to compile .res files. * dlls/comctl32/listview.c: Dimitrie O. Paun Send LVN_ODCACHEHINT notification for LVS_OWNERDATA style in all modes (based on a patch by Vitaliy Margolen). * dlls/imm32/imm.c: Tony Lambregts Get rid of W->A calls. * objects/text.c: Shachar Shemesh Reordering can take place even if the font does not identify itself as a reordering one. 2003-03-23 Alexandre Julliard * configure, configure.ac, include/config.h.in, libs/port/mkstemps.c, libs/port/usleep.c, libs/unicode/Makefile.in: Portability fixes. * dlls/x11drv/keyboard.c, dlls/x11drv/x11drv_main.c, include/x11drv.h: Properly initialize keyboard auto-repeat for all X connections. * include/rpcproxy.h: Dimitrie O. Paun Comment out unneeded extensions. * dlls/shell32/shpolicy.c: Rolf Kalbermatter SHInitRestricted() fix boolean error introduced in last patch. * files/profile.c: Stefan Leichter Moved implementation of GetPrivateProfileInt from ascii to unicode. * Make.rules.in, Makefile.in, dlls/Makedll.rules.in, dlls/avifil32/Makefile.in, dlls/commdlg/Makefile.in, dlls/ctl3d/Makefile.in, dlls/gdi/Makefile.in, dlls/imm32/Makefile.in, dlls/kernel/Makefile.in, dlls/lzexpand/Makefile.in, dlls/msacm/Makefile.in, dlls/msvideo/Makefile.in, dlls/ole32/Makefile.in, dlls/oleaut32/Makefile.in, dlls/olecli/Makefile.in, dlls/olesvr/Makefile.in, dlls/rasapi32/Makefile.in, dlls/setupapi/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in, dlls/version/Makefile.in, dlls/win32s/Makefile.in, dlls/winaspi/Makefile.in, dlls/wineps/Makefile.in, dlls/winmm/Makefile.in, dlls/winnls/Makefile.in, dlls/winsock/Makefile.in, dlls/wintab32/Makefile.in, miscemu/Makefile.in: List 16-bit spec files explicitly to avoid problems with some versions of make. * Make.rules.in, dlls/Makedll.rules.in, dlls/Maketest.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in, miscemu/Makefile.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Converted winebuild option parsing to use getopt_long. Added a number of long aliases for the existing short options. * libs/wine/Makefile.in, libs/wine/wine.def: Added a .def file for libwine. * configure, configure.ac, include/config.h.in, tools/winebuild/spec32.c: Christian Costa Make use of .half and/or .asciiz assembler keywords when necessary. 2003-03-22 Alexandre Julliard * include/msvcrt/conio.h, include/msvcrt/ctype.h, include/msvcrt/direct.h, include/msvcrt/malloc.h, include/msvcrt/process.h, include/msvcrt/search.h, include/msvcrt/stdio.h, include/msvcrt/stdlib.h, include/msvcrt/string.h: Madhura Sahasrabudhe Changed the macros in the msvcrt headers to static inline functions. * dlls/winedos/int31.c, include/miscemu.h: Changed the SET_AX etc. macros to not return a value. * msdos/int21.c: Rein Klazes Fix two comparisons between a 32 bit register with a 16 bit error code. * include/wine/server_protocol.h, scheduler/client.c, scheduler/sysdeps.c, server/context_i386.c, server/context_powerpc.c, server/context_sparc.c, server/protocol.def, server/ptrace.c, server/thread.c, server/thread.h, server/trace.c: Make a distinction between the thread Unix pid and the process wide pid for platforms that use both. * dlls/ntdll/loader.c: Fixed duplicate initialization of some of the wm->ldr fields. * Make.rules.in, Makefile.in, configure, configure.ac, dlls/Makedll.rules.in, dlls/checklink.c, libs/Makefile.in, libs/unicode/Makefile.in, libs/uuid/Makefile.in, libs/wine/.cvsignore, libs/wine/Makefile.in, libs/wine/config.c, libs/wine/debug.c, libs/wine/errno.c, libs/wine/ldt.c, libs/wine/loader.c, tools/winewrapper: Moved libwine to libs/ directory. Some makefile fixes and cleanups. * dlls/kernel/Makefile.in, dlls/kernel/lcformat.c, ole/ole2nls.c: Moved date/time/currency format handling to new lcformat.c. * dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/rtl.c, dlls/ntdll/tests/rtlstr.c: Thomas Mertes Tests for RtlCompareMemoryUlong, RtlUniform, RtlDowncaseUnicodeString, RtlAppendUnicodeStringToString. * dlls/ntdll/large_int.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, dlls/ntdll/rtlstr.c, dlls/ntdll/string.c, dlls/ntdll/wcstring.c, include/winternl.h: Thomas Mertes - Implement RtlDowncaseUnicodeString, RtlUniform, iswdigit, iswlower, iswspace, iswxdigit. - Fixed RtlInt64ToUnicodeString and RtlIntegerToUnicodeString. - According to tests RtlAppendUnicodeStringToString leaves the destination unchanged when the source length is 0 (FIXED). - Documentation updates in RtlExtendedMagicDivide, RtlLargeIntegerToChar, RtlInt64ToUnicodeString, RtlUpperChar, RtlUpperString, RtlUpcaseUnicodeChar, RtlCharToInteger, RtlIntegerToChar, RtlUnicodeStringToInteger, RtlIntegerToUnicodeString, _ultoa, _ltoa, _itoa, _ui64toa, _i64toa, _atoi64, _ultow, _ltow, _itow, _ui64tow, _i64tow, _wtol, _wtoi, _wtoi64. 2003-03-21 Alexandre Julliard * dlls/ntdll/exception.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, include/thread.h, scheduler/sysdeps.c: Split signal blocking code out of SIGNAL_Reset into SIGNAL_Block. Added SIGTERM handler. * dlls/shell32/Makefile.in, dlls/shell32/shell.c: Steven Edwards shell.c is now 16-bit only. * server/fd.c: Ignore fcntl failure when setting a write lock on a read only file. * dlls/ntdll/rtlstr.c, include/wine/unicode.h, libs/unicode/casemap.c, libs/unicode/cpmap.pl, libs/unicode/cptable.c, libs/unicode/mbtowc.c, libs/unicode/utf8.c, libs/unicode/wctomb.c, libs/unicode/wctype.c, libs/unicode/wine_unicode.def, memory/codepage.c, tools/wmc/lang.c, tools/wmc/mcl.c, tools/wmc/write.c, tools/wrc/parser.l, tools/wrc/utils.c: Added 'wine' prefix to libwine_unicode exports. * dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, include/module.h, loader/pe_image.c: Eric Pouech Removed no longer needed MODREF.find_export field. * dlls/shell32/shpolicy.c, dlls/shell32/undocshell.h: Rolf Kalbermatter - Add new W2K policies to the known list of policies. - Modify the algorithme to go through the list until a NULL entry is found instead of hardcoding the number of elements (I was to lazy to count them again ;-) - Fix SHInitRestricted to work as Unicode on NT systems. * dlls/shell32/shell32.spec, dlls/shell32/shlfileop.c: Rolf Kalbermatter Implement some more Win API functions and add support functions for coming changes to SHFileOperation. * Make.rules.in, Makefile.in, configure, configure.ac, dlls/Makedll.rules.in, libs/Makefile.in, libs/unicode/.cvsignore, libs/unicode/Makefile.in, libs/unicode/c_037.c, libs/unicode/c_042.c, libs/unicode/c_10000.c, libs/unicode/c_10006.c, libs/unicode/c_10007.c, libs/unicode/c_10029.c, libs/unicode/c_1006.c, libs/unicode/c_10079.c, libs/unicode/c_10081.c, libs/unicode/c_1026.c, libs/unicode/c_1250.c, libs/unicode/c_1251.c, libs/unicode/c_1252.c, libs/unicode/c_1253.c, libs/unicode/c_1254.c, libs/unicode/c_1255.c, libs/unicode/c_1256.c, libs/unicode/c_1257.c, libs/unicode/c_1258.c, libs/unicode/c_20866.c, libs/unicode/c_20932.c, libs/unicode/c_28591.c, libs/unicode/c_28592.c, libs/unicode/c_28593.c, libs/unicode/c_28594.c, libs/unicode/c_28595.c, libs/unicode/c_28596.c, libs/unicode/c_28597.c, libs/unicode/c_28598.c, libs/unicode/c_28599.c, libs/unicode/c_28600.c, libs/unicode/c_28603.c, libs/unicode/c_28604.c, libs/unicode/c_28605.c, libs/unicode/c_28606.c, libs/unicode/c_424.c, libs/unicode/c_437.c, libs/unicode/c_500.c, libs/unicode/c_737.c, libs/unicode/c_775.c, libs/unicode/c_850.c, libs/unicode/c_852.c, libs/unicode/c_855.c, libs/unicode/c_856.c, libs/unicode/c_857.c, libs/unicode/c_860.c, libs/unicode/c_861.c, libs/unicode/c_862.c, libs/unicode/c_863.c, libs/unicode/c_864.c, libs/unicode/c_865.c, libs/unicode/c_866.c, libs/unicode/c_869.c, libs/unicode/c_874.c, libs/unicode/c_875.c, libs/unicode/c_878.c, libs/unicode/c_932.c, libs/unicode/c_936.c, libs/unicode/c_949.c, libs/unicode/c_950.c, libs/unicode/casemap.c, libs/unicode/compose.c, libs/unicode/cpmap.pl, libs/unicode/cptable.c, libs/unicode/defaults, libs/unicode/mbtowc.c, libs/unicode/string.c, libs/unicode/utf8.c, libs/unicode/wctomb.c, libs/unicode/wctype.c, libs/unicode/wine_unicode.def, tools/winewrapper: Moved libwine_unicode to the libs/ directory. * loader/pe_image.c: Eric Pouech Rewrote mapping of module into memory using only NTDLL APIs. * configure, configure.ac, dlls/Makefile.in, winedefault.reg, dlls/dmusic/.cvsignore, dlls/dmusic/Makefile.in, dlls/dmusic/dmusic.c, dlls/dmusic/dmusic.spec, dlls/dmusic/dmusic8.c, dlls/dmusic/dmusic_buffer.c, dlls/dmusic/dmusic_collection.c, dlls/dmusic/dmusic_dlinstrument.c, dlls/dmusic/dmusic_download.c, dlls/dmusic/dmusic_instrument.c, dlls/dmusic/dmusic_main.c, dlls/dmusic/dmusic_port.c, dlls/dmusic/dmusic_portdl.c, dlls/dmusic/dmusic_private.h, dlls/dmusic/dmusic_thru.c, dlls/dmusic/reference_clock.c, include/Makefile.in, include/dls1.h, include/dmdls.h, include/dmerror.h, include/dmusbuff.h, include/dmusicc.h, libs/uuid/dxguid.c: Rok Mandeljc Stub implementation of the dmusic dll. * dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec, include/winternl.h, misc/version.c: Eric Pouech - implemented LdrQueryProcessModuleInformation - rewrote VERSION_GetLinkedDllVersion() with this new function instead of accessing directly the modref list * scheduler/pthread.c: Gerald Pfeifer Forward-declare struct _pthread_cleanup_buffer, as it is Linux-specific and not available in the headers of other systems. 2003-03-20 Alexandre Julliard * configure, configure.ac, dlls/msvcrt/math.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec, include/config.h.in: Moved [efg]cvt functions to msvcrt and fixed them to use a per-thread buffer. * include/wine/port.h, libs/port/Makefile.in, libs/port/memcpy_unaligned.c, loader/ne/resource.c: Added memcpy_unaligned to libwine_port. * dlls/kernel/locale.c, ole/ole2nls.c: Moved a couple of locale functions from ole2nls.c into locale.c. * include/wine/unicode.h: Added sprintfW and vsprintfW. * dlls/ntdll/loader.c, include/module.h, include/winternl.h, loader/pe_image.c, misc/version.c, relay32/relay386.c: Eric Pouech Moved WINE_MODREF.flags to WINE_MODREF.ldr.Flags, and make use of the same flags values as Win2000. * include/wine/port.h, libs/port/Makefile.in, libs/port/interlocked.c: Moved interlocked functions to libwine_port. * dlls/ntdll/loader.c, include/module.h, loader/pe_image.c, misc/version.c, relay32/builtin32.c, relay32/relay386.c, scheduler/process.c: Eric Pouech Move some fields (refCount, tls_index and module) from WINE_MODREF to LDR_MODULE. * dlls/ntdll/cdrom.c: Eric Pouech Fixed some unneeded unix to Win32 error mapping. * tools/winegcc.c: Replaced tempnam by mkstemps. * tools/Makefile.in, tools/makedep.c: Don't use libwine_port in makedep to avoid dependency problems. * configure, configure.ac, dlls/shell32/shelllink.c, dlls/wsock32/protocol.c, include/config.h.in, include/wine/port.h, libs/port/Makefile.in, libs/port/mkstemp.c, libs/port/mkstemps.c, programs/winedbg/gdbproxy.c, scheduler/sysdeps.c, server/file.c, tools/winebuild/import.c, tools/wpp/wpp.c: Replaced mkstemp by mkstemps from libiberty. Removed a couple of unnecessary portability functions. * dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c: Changed name of the asm version of RtlUlong/shortByteSwap to avoid conflicts with the inline version. * tools/wrc/wrc.c, tools/wrc/wrc.man: Dimitrie O. Paun Introduce the -J, --input-format options for compatibility with windres. Collpase the -e option into the -J option. Update man page. Cleanup file header (remove history that's already in log msgs, etc.) * documentation/introduction.sgml: Tony Lambregts Remove incorrect entry for 16 bit driver support. * files/profile.c: Gerald Pfeifer Tweak error message in PROFILE_UsageWineIni(). * dlls/ntdll/loader.c, include/module.h, loader/module.c: Eric Pouech Moved the module loading/unloading code and the remaining needed static variables to ntdll. * dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec, include/winternl.h, loader/module.c: Partially implemented LdrLock/UnlockLoaderLock. * dlls/advapi32/advapi32.spec, dlls/avicap32/avicap32.spec, dlls/avifil32/avifil32.spec, dlls/cabinet/cabinet.spec, dlls/comctl32/comctl32.spec, dlls/commdlg/comdlg32.spec, dlls/crtdll/crtdll.spec, dlls/crypt32/crypt32.spec, dlls/ctl3d/ctl3d32.spec, dlls/d3d8/d3d8.spec, dlls/d3dx8/d3dx8.spec, dlls/dciman32/dciman32.spec, dlls/ddraw/ddraw.spec, dlls/dinput/dinput.spec, dlls/dinput8/dinput8.spec, dlls/dplayx/dplayx.spec, dlls/dsound/dsound.spec, dlls/gdi/gdi32.spec, dlls/icmp/icmp.spec, dlls/imagehlp/imagehlp.spec, dlls/imm32/imm32.spec, dlls/kernel/kernel32.spec, dlls/lzexpand/lz32.spec, dlls/mapi32/mapi32.spec, dlls/mpr/mpr.spec, dlls/msacm/msacm32.spec, dlls/msimg32/msimg32.spec, dlls/msvcrt/msvcrt.spec, dlls/msvideo/msvfw32.spec, dlls/netapi32/netapi32.spec, dlls/ntdll/ntdll.spec, dlls/odbc32/odbc32.spec, dlls/ole32/ole32.spec, dlls/oleaut32/oleaut32.spec, dlls/olecli/olecli32.spec, dlls/oledlg/oledlg.spec, dlls/olesvr/olesvr32.spec, dlls/opengl32/opengl32.spec, dlls/psapi/psapi.spec, dlls/rasapi32/rasapi32.spec, dlls/rpcrt4/rpcrt4.spec, dlls/setupapi/setupapi.spec, dlls/shell32/shell32.spec, dlls/shlwapi/shlwapi.spec, dlls/sti/sti.spec, dlls/tapi32/tapi32.spec, dlls/twain/twain_32.spec, dlls/urlmon/urlmon.spec, dlls/user/user32.spec, dlls/version/version.spec, dlls/win32s/w32skrnl.spec, dlls/winaspi/wnaspi32.spec, dlls/wininet/wininet.spec, dlls/winmm/winmm.spec, dlls/winsock/ws2_32.spec, dlls/winspool/winspool.drv.spec, dlls/wintab32/wintab32.spec, dlls/wintrust/wintrust.spec, dlls/wsock32/wsock32.spec, dlls/x11drv/x11drv.spec: Take advantage of new winebuild syntax to remove redundant function names in spec files. * dlls/msnet32/msnet32.spec, tools/winebuild/parser.c: Added check for duplicate ordinals, and fixed bug it uncovered in msnet32.spec. * dlls/ole32/git.c: Mike Hearn Fixed copyright date. * Make.rules.in, Makefile.in, configure, configure.ac, dlls/kernel/Makefile.in, libs/Makefile.in, libs/uuid/.cvsignore, libs/uuid/Makefile.in, libs/uuid/dx8guid.c, libs/uuid/dxguid.c, libs/uuid/uuid.c, ole/.cvsignore, ole/Makefile.in, ole/dx8guid.c, ole/dxguid.c, ole/uuid.c: Moved libwine_uuid to the new libs/ directory. 2003-03-19 Alexandre Julliard * Make.rules.in, tools/wrc/wrc.c, tools/wrc/wrc.man: Dimitrie O. Paun Remove -J, -P, and -V as they have long options equivalents. Update documentation, small code cleanups. * include/wine/port.h, libs/port/Makefile.in, libs/port/getopt.c, libs/port/getopt.h, libs/port/getopt1.c: Added getopt routine to libwine_port (based on a patch by Dimitrie O. Paun). * server/Makefile.in: We still need libwine here... * Make.rules.in, Makefile.in, configure, configure.ac, dlls/Makedll.rules.in, dlls/Maketest.rules.in, libs/.cvsignore, libs/Makefile.in, libs/port/.cvsignore, libs/port/Makefile.in, libs/port/getpagesize.c, libs/port/lstat.c, libs/port/memmove.c, libs/port/mkstemp.c, libs/port/pread.c, libs/port/pwrite.c, libs/port/statfs.c, libs/port/strcasecmp.c, libs/port/strerror.c, libs/port/strncasecmp.c, libs/port/usleep.c, miscemu/Makefile.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in, server/Makefile.in, tools/Makefile.in, tools/widl/Makefile.in, tools/widl/utils.c, tools/winebuild/Makefile.in, tools/winedump/Makefile.in, tools/wmc/Makefile.in, tools/wrc/Makefile.in: Created a separate static portability library and moved some of the libwine routines in there. 2003-03-18 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20030318. ---------------------------------------------------------------- 2003-03-18 Alexandre Julliard * dlls/user/message.c, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/trace.c: Fixed bug that could cause SendMessage to return too early in certain cases. * dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, include/winternl.h: Implemented Rtl*ByteSwap() functions, based on a patch by Jon Griffiths. * dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, include/winternl.h: Jon Griffiths Correct the agument count for RtlInitializeGenericTable(). Fix my own brown paper bag in RtlFillMemoryUlong(). RtlGetNtVersionNumbers() should never return < 5. Remove RtlCopyMemory(), its not an ntdll export. Implement RtlCompareMemoryUlong(), RtlComputeCrc32(). Documentation updates. * loader/module.c: Make GetModuleFileNameA call GetModuleFileNameW. Small cleanups. * dlls/ntdll/tests/rtlbitmap.c: Avoid explicit long long constants. * include/ddrawi.h: Fixed a few function pointer typedefs. * dlls/shlwapi/shlwapi.spec, dlls/shlwapi/url.c: Maxime Bellengé Stub for SHAutoComplete. * dlls/advapi32/advapi.c, dlls/advapi32/registry.c, dlls/advapi32/security.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c, dlls/kernel/thunk.c, dlls/kernel/time.c, dlls/ntdll/critsection.c, dlls/ntdll/heap.c, dlls/ntdll/om.c, dlls/ntdll/time.c, dlls/oleaut32/dispatch.c, dlls/oleaut32/ole2disp.c, dlls/oleaut32/typelib16.c, dlls/shell32/pidl.c, dlls/shell32/shell.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shlfileop.c, dlls/shlwapi/path.c, dlls/shlwapi/reg.c, dlls/shlwapi/regstream.c, dlls/shlwapi/shlwapi_main.c, dlls/shlwapi/string.c, dlls/shlwapi/thread.c, dlls/shlwapi/url.c, dlls/shlwapi/wsprintf.c, dlls/urlmon/umon.c, dlls/wsock32/service.c, ole/ole2nls.c, windows/dce.c: Jon Griffiths Documentation updates. * dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec, include/module.h, include/winternl.h, loader/module.c: Eric Pouech - added LDR_MODULE structure to WINE_MODREF and made dummy filling of this structure - implementation of LdrFindEntry - implementation of GetModuleFileName[AW] on top of LdrFindEntry * dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/string.c: Thomas Mertes Tests for _itoa, _ltoa, _ultoa, _i64toa, _ui64toa, _itow, _ltow, _ultow, _i64tow, _ui64tow, _atoi64, _wtoi, _wtol, _wtoi64. * server/fd.c, server/file.h: Gerald Pfeifer Fix signature of open_fd(). * dlls/msvcrt/cppexcept.c, dlls/msvcrt/cppexcept.h: Jon Griffiths Add __CxxDetectRethrow(), __CxxQueryExceptionSize(). Constify parameters (enabling static RTTI). Move type definitions into a header for sharing with cpp.c objects. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c, tools/winebuild/utils.c, tools/winebuild/winebuild.man.in: Handle end of line as a syntactic element in the spec file parser; backslashes can be used to continue lines. This allows us to skip over errors to continue parsing, and also to make specification of an entry point link name optional. * dlls/kernel/tests/file.c, files/file.c, include/winbase.h, include/wine/server_protocol.h, server/fd.c, server/file.c, server/file.h, server/list.h, server/process.c, server/process.h, server/protocol.def, server/trace.c: Implemented file locking functions (partly based on my old Corel patch). Added a few regression tests. 2003-03-17 Alexandre Julliard * dlls/dsound/mixer.c: Ove Kaaven Somewhat more reliable dsound position notifications. * dlls/commdlg/printdlg.c: Tony Lambregts Janitorial. Get rid of W->A call. * include/msvcrt/sys/types.h, include/winsock.h: Dimitrie O. Paun Define the u_{char,short,int,long} in msvcrt/sys/types.h for Unix compatibility (needed by winsock.h as well). * dlls/msvcrt/main.c, dlls/msvcrt/msvcrt.h: Jon Griffiths Move a couple of shared definitions into msvcrt.h. init_vtables() is redundant with upcoming fixes to cxx functions. * dlls/msvcrt/mtdll.h: Jon Griffiths _EXIT_LOCK2 is used by type_info objects. * include/winreg.h: Jon Griffiths Added prototypes for the Remote Shutdown Api calls. * dlls/ntdll/sec.c: Jon Griffiths Documentation updates. * programs/wineconsole/wineconsole.c: Tony Lambregts Convert WINE_DPRINTF calls to WINE_TRACE. * tools/winebuild/build.h, tools/winebuild/parser.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Removed support for the 'forward' ordinal type. * dlls/crtdll/crtdll.spec, dlls/msvcrt20/msvcrt20.spec: Replaced forwards by normal function declarations. * dlls/msvcrt/msvcrt.spec: Fixed a couple of relay arguments, and updated some of the stub comments. * dlls/comctl32/tab.c: Mike Hearn Fix the tab height so the labels don't clip, and restore the offset constant to what it was before. * dlls/comctl32/imagelist.c: Mike Hearn Fix a typo. * dlls/shell32/shellpath.c, include/shlobj.h: Paul Rupe Add CSIDL_PROFILES. Improved logging for non-existent CSIDL values. * dlls/gdi/freetype.c: Paul Rupe Fix a couple INT/UINT comparisons. * dlls/winsock/socket.c: Paul Rupe Treat blank protocol the same as NULL in getservbyname & getservbyport. * dlls/advapi32/advapi32.spec, dlls/dplay/dplay.spec, dlls/kernel/kernel32.spec, dlls/msvcrt/msvcrt.spec, dlls/netapi32/netapi32.spec, dlls/ole32/ole32.spec, dlls/oleaut32/oleaut32.spec, dlls/olecli/olecli32.spec, dlls/olepro32/olepro32.spec, dlls/opengl32/opengl32.spec, dlls/shell32/shell32.spec, dlls/shfolder/shfolder.spec, dlls/shlwapi/shlwapi.spec, dlls/urlmon/urlmon.spec, dlls/version/version.spec, dlls/win32s/w32skrnl.spec, dlls/winsock/ws2_32.spec, dlls/wow32/wow32.spec, dlls/wsock32/wsock32.spec: Replaced forwards by normal function declarations. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c: Implemented _getdllprocaddr(), it cannot be simply a forward to GetProcAddress. * tools/winebuild/parser.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Disable 'variable' in Win32 spec files. Added support for forwarded 'extern' ordinals. * dlls/winmm/wineoss/audio.c: Avoid warnings. 2003-03-16 Alexandre Julliard * tools/winebuild/import.c: Don't enter an imported dll in the import table at all if we didn't need to import any symbol from it. * include/basetsd.h, include/wtypes.h, include/wtypes.idl: Properly import basetsd.h and guiddef.h. * tools/widl/parser.l, tools/widl/utils.c, tools/widl/widl.c: Make sure we display the correct file name and line in error messages. * dlls/shell32/shell32_main.c: Vitaliy Margolen - make SHGetFileInfo handle relative paths - fix requests for large icons 2003-03-15 Alexandre Julliard * dlls/msvcrt/misc.c: Implemented _chkesp, based on a patch by Jon Griffiths. * dlls/msvcrt/Makefile.in, dlls/msvcrt/exit.c: Jon Griffiths Display abnormal exit text in a message box for GUI apps. * include/wtypes.h, include/wtypes.idl: Jon Griffiths Add some missing types needed for the upcoming ocidl.idl. Add missing variant types. Correct the definition of DECIMAL type. * dlls/winmm/wineoss/audio.c: Added #ifdef checks for SOUND_MIXER_INFO. * documentation/authors.ent: Added Jon Griffiths. * Make.rules.in, Makefile.in, documentation/Makefile.in: Jon Griffiths Updated rules for API doc generation. Add sgmlpages target for making a docbook 'Wine API Guide'. * tools/c2man.pl: Jon Griffiths Improve the look/content of the man page output. Generate for all exported functions (that have docs). Add dll summary page, HTML and SGML output. * documentation/documentation.sgml: Jon Griffiths Document the API generation process and format. Provide an overview of the Wine documentation system. A couple of minor other fixes. * dlls/ntdll/ntdll.spec, dlls/ntdll/rtlstr.c: Jon Griffiths Add RtlDowncaseUnicodeChar(), RtlEqualComputerName(), RtlEqualDomainName(). Documentation updates. * dlls/shlwapi/istream.c: Jon Griffiths Documentation updates. * include/shlwapi.h: Jon Griffiths Add some missing prototypes. * dlls/shlwapi/shlwapi.spec: Jon Griffiths SHCreateThread is exported by name _and_ ordinal. * dlls/shlwapi/clist.c, dlls/shlwapi/tests/clist.c: Jon Griffiths Correct behaviour for some error conditions. Documentation updates. * include/wine/debug.h: Jon Griffiths Really get rid of debug code/strings if we're building without them. * dlls/msvcrt/data.c, dlls/msvcrt/msvcrt.spec: Jon Griffiths Implemented __p__pgmptr, _pgmptr. * tools/winedump/pe.c: Jon Griffiths Only sort the number of symbols actually found. * tools/winapi/msvcmaker: Jon Griffiths Output a dummy function for linking. Define __WINE_USE_NATIVE_HEADERS for tests that need to care. Change the debug information format to prevent winedbg from crashing. * include/wingdi.h: Jon Griffiths Protect the TEXTMETRIC struct from redefinition. * controls/listbox.c, controls/scroll.c, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/dsurface/main.c: Tony Lambregts Replace DPRINTF with TRACE. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.spec, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/winmm/lolvldrv.c, dlls/winmm/winealsa/Makefile.in, dlls/winmm/winealsa/audio.c, dlls/winmm/wineoss/audio.c, documentation/samples/config, include/mmddk.h: Robert Reif Added support for multiple direct sound devices. * dlls/comcat/information.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/main.c, dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c, dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c, dlls/odbc32/proxyodbc.c, dlls/richedit/richedit.c, dlls/setupapi/parser.c, dlls/version/info.c, dlls/winaspi/winaspi16.c, dlls/winaspi/winaspi32.c, dlls/x11drv/keyboard.c, files/smb.c: Tony Lambregts Replace DPRINTF with TRACE. * winedefault.reg: Maxime Bellengé Rename "Shortcut" to "Desktop". * scheduler/sysdeps.c: Init signals before calling CLIENT_InitThread since we can receive a signal there. * dlls/comctl32/listview.c: Vitaliy Margolen Changes for Icon and SmallIcon modes: - fix typo causing wrong scroll boundaries - reverse mouse wheel scroll directions - fix navigation with keyboard when auto arranged 2003-03-14 Alexandre Julliard * loader/module.c: Cleaned up load_library_as_datafile(). * dlls/ntdll/reg.c, dlls/ntdll/rtl.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c: Avoid GetProcessHeap() inside ntdll. * dlls/kernel/kernel32.spec, win32/newfns.c: Rein Klazes Added stub for GetDevicePowerState(). * dlls/msnet32/msnet32.spec, dlls/msnet32/msnet_main.c: Rein Klazes Added a stub for msnet32.57 * dlls/comctl32/listview.c: Dimitrie O. Paun Spacing information is signed (debugged and fixed by Vitaliy Margolen). Decode spacing information in the window procedure. Some spelling fixes. * dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, include/module.h, include/winternl.h, loader/module.c, loader/pe_image.c, relay32/builtin32.c: Eric Pouech - implementation of LdrLoadDll out of loader/module.c - in impacted functions, ensure that we only use ntdll functions - for internal loading, start using NTDLL style for error reporting - making use of new LdrLoadDll * dlls/advapi32/Makefile.in, dlls/advapi32/registry.c: Tony Lambregts Janitorial. Get rid of W->A calls. * dlls/comctl32/rebar.c, windows/dialog.c, windows/win.c, windows/winpos.c: Tony Lambregts Replace DPRINTF with TRACE. * server/main.c, server/object.h, server/request.c: Added -f option to make wineserver remain in the foreground for debugging. Close stdin/stdout when not in the foreground (based on a patch by Francois Gouget). * dlls/kernel/tests/profile.c: Warning fixes. * dlls/ntdll/debugtools.c: Only print the trace header when we are at the beginning of a new line (suggested by Dimitrie O. Paun). * dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, include/module.h, loader/module.c: Eric Pouech - implementation of LdrUnloadDll out of loader/module.c - in impacted functions, ensure that we only use ntdll functions - making use of new LdrUnloadDll 2003-03-12 Alexandre Julliard * server/fd.c, server/file.c, server/file.h, server/named_pipe.c, server/pipe.c, server/process.c, server/request.c, server/serial.c, server/smb.c, server/sock.c, server/thread.c: Added an inode object to keep track of all file descriptors open for a given file. Plugged a couple of potential file descriptor leaks. * dlls/msvcrt/wcs.c, dlls/ntdll/wcstring.c, include/wine/unicode.h, unicode/string.c, unicode/wine_unicode.def: Dmitry Timoshkov Move vsnwprintf implementation to libwine_unicode, export snprintfW and vsnprintfW from there, forward MSVCRT and NTDLL functions to libwine_unicode. * dlls/shell32/shpolicy.c: Jon Griffiths Constify the strings in the policy cache. Documentation updates. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/wcs.c, dlls/msvcrt20/msvcrt20.spec: Thomas Mertes Forward to the ntdll functions _itoa, _ltoa, _ultoa, _i64toa, _ui64toa, _itow, _ltow, _ultow, _i64tow, _ui64tow, _atoi64, _wtoi, _wtol, _wtoi64 from msvcrt / msvcrt20. * dlls/ntdll/ntdll.spec, dlls/ntdll/string.c, dlls/ntdll/wcstring.c: Thomas Mertes Implement _itoa, _ltoa, _ultoa, _i64toa, _ui64toa, _itow, _ltow, _ultow, _i64tow, _ui64tow, _atoi64, _wtoi, _wtol, _wtoi64. * dlls/kernel/comm.c: Marcus Meissner Fixed 2 fd leaks in comm functions. Removed erroneous GetLastError() check in WaitCommEvent(). * documentation/packaging.sgml, programs/wineboot/wineboot.c: Shachar Shemesh - Implement finer grained control over what gets run. - Implement command line to control presets of said control for various scenarios: o start - session startup - run everything. o restart - session close (presumeably after reboot) - only perform *once operations. * include/winnt.h: Tony Lambregts Add flags for RegRestoreKey. * dlls/comctl32/tab.c: Mike Hearn - Reduced tab offset constant slightly to avoid clipping the label. - Prevent label overdraw of updown control by reducing the width of the invalidated region. 2003-03-11 Alexandre Julliard * server/context_i386.c, server/context_powerpc.c, server/context_sparc.c, server/debugger.c, server/process.c, server/ptrace.c, server/thread.h: Attaching the debugger to a running process should work again (reported by Eric Pouech). Misc cleanups. * dlls/ole32/Makefile.in, dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/git.c, winedefault.reg, dlls/ole32/marshal.c: Mike Hearn Implemented the global interface table object using a simple linked list. 2003-03-10 Alexandre Julliard * documentation/consoles.sgml, documentation/running.sgml, documentation/samples/config: Eric Pouech Put console documentation in sync with current console status. * dlls/dsound/sound3d.c: Rok Mandeljc - implemented panning - implemented coning - many minor fixes * relay32/snoop.c: Uwe Bonnes SNOOP_PrintArg: don't try to decipher snoop args when seh chanel is on. * server/ptrace.c: Eric Pouech Fixed typo. * dlls/user/exticon.c: Vitaliy Margolen Fixed typo in PrivateExtractIconExW function. * dlls/comctl32/tab.c: Mike Hearn It's not just height that can be set to the default by passing zero to TCM_SETITEMSIZE, but also width. * programs/wineconsole/wineconsole.c: Eric Pouech - fixed another regression in sub-process creation (curses backend must be default for AllocConsole() invocation) - fixed endless loop when unknown argument was passed on commandline * dlls/winmm/wavemap/wavemap.c: Eric Pouech Fixed error code when no mapping is found for wave input. * dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec: Maxime Bellengé Implemented SHRegSetUSValueA and SHRegSetUSValueW. 2003-03-07 Alexandre Julliard * dlls/ntdll/rtlbitmap.c: Rewrote RtlFind{Most,Least}SignificantBit in a more portable way. * dlls/gdi/enhmfdrv/init.c: Tony Lambregts Janitorial. Get rid of W->A call. * controls/scroll.c: Andrew Johnston Move keyboard event processing from WndProc code into the existing helper. Create a helper function for the create event and clean up code. Remove macro for detecting invalid SCROLLINFO structures and make it an inline function. * controls/menu.c: Adam Gundy Allow modifying a menu string to be NULL. * dlls/comctl32/toolbar.c: Adam Gundy TOOLBAR_AddBitmap() and TOOLBAR_ReplaceBitmap() are not supposed to modify the bitmap - we call ImageList_AddMasked() which turns all masked pixels black. Fixed by making a copy of the bitmap to give to ImageList_AddMasked(). * controls/scroll.c: Andrew Johnston - GetScrollRange zeros the return parameters for no infoPtr - GetScrollRange, GetScrollPos and GetScrollInfo send a message to the window for the SB_CTL case - Moved code for GetScroll* to into worker functions * dlls/winmm/wineoss/audio.c: Robert Reif Fixed bug where the enable state of the output and input were not set properly when doing full duplex. Fixed bug where resetting the output would affect the capture when doing full duplex. * dlls/dsound/tests/dsound.c: Robert Reif Fixed a bug where a capture device was used after it failed to open due to a missing driver. Added tests to try all possible combinations of sample rate, sample size and mono/stereo. * dlls/wineps/init.c, dlls/winspool/info.c: Marcus Meissner Was using the wrong define for the CUPS soname. * dlls/comctl32/listview.c: Adam Gundy When shifting the list's indices, we must not send notify messages if we have to refocus. Item modification handlers are not supposed to be called here. * programs/wineconsole/wineconsole.c: Eric Pouech Fixed regression in sub-process creation. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/ddraw/user.c: Lionel Ulmer - some Caps clean-up when no OpenGL compiled in - fix some fonts displaying problems * documentation/patches.sgml: Tony Lambregts Clarify patch requirements. * dlls/winmm/Makefile.in: Steven Edwards Add import of ntdll. * dlls/comctl32/propsheet.c: Adam Gundy PROPSHEET_CreateDialog() is documented to return -1 on failure, and the dialog handle on success. * dlls/commdlg/filedlg95.c: Adam Gundy ArrangeCtrlPositions() did not cope correctly with a templated dialog which has an extra 'preview' control to the right of the 'marker' control. FILEDLG95_Handle_GetFilePath() did not return the path - it wasn't combining the path with the filename. 2003-03-06 Alexandre Julliard * library/ldt.c: Hardcode set_thread_area syscall number to avoid trouble with broken headers. * dlls/ntdll/loader.c, dlls/ntdll/ntdll_misc.h, include/module.h, loader/module.c, loader/pe_image.c: Eric Pouech - implemented LdrGetProcedureAddress and made use of it for GetProcAddress - implemented LdrGetDllHandle and made use of it in GetModuleHandle - removed MODULE_DllThreadDetach from loader/module.c (should have been removed in a previous patch) * dlls/opengl32/make_opengl, dlls/opengl32/opengl32.spec, dlls/opengl32/wgl.c: Lionel Ulmer Support 'stub' wglGetExtensionsStringEXT function. * dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/primary.c: Robert Reif Added a configuration option for setting the hardware acceleration level just like the direct sound control panel app. More work on the full duplex interface so the compile warning is no longer generated. Full duplex interface is still stubbed out. Moved full duplex mixer reset fix into wineoss driver where it belongs. Added some more locking fixes. Capture and full duplex are now stable. * include/dsound.h: Robert Reif Fixed a FIXME for full duplex. * dlls/commdlg/printdlg.c, dlls/comctl32/imagelist.c: Tony Lambregts Janitorial. Get rid of W->A call. * dlls/oleaut32/variant.c: Adam Gundy Handle coercing VT_DISPATCH into VT_PTR. * dlls/comctl32/treeview.c: Adam Gundy TREEVIEW_UpdateScrollBars() now copes with an empty tree. 2003-03-05 Alexandre Julliard * dlls/ntdll/Makefile.in, documentation/configuring.sgml, documentation/wine.conf.man, documentation/wine.man.in, include/module.h, loader/elf.c, loader/loadorder.c, loader/module.c, loader/ne/module.c: Eric Pouech Removed SO loading type. * programs/wcmd/wcmdmain.c: Sylvain Petreolle Allow to run autoexec.bat when launching wcmd, it was broken due to a function change. * dlls/shell32/shlfolder.c: Vitaliy Margolen Add few SFGAO_CAN* attributes to supported list. * tools/examine-relay: Duane Clark Add full listing format option. Fix an infinite loop if the last line is a partial line. * dlls/dsound/sound3d.c: Rok Mandeljc Changed some stuff so distance attenuation works for both 3d processing modes. 2003-03-04 Alexandre Julliard * dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, include/wine/server_protocol.h, scheduler/client.c, scheduler/process.c, server/context_i386.c, server/context_powerpc.c, server/context_sparc.c, server/process.c, server/ptrace.c, server/thread.c, server/thread.h, server/trace.c: Use SIGUSR1 instead of SIGSTOP to suspend threads. * dlls/winmm/tests/wave.c, dlls/winmm/winmm.c: Robert Reif Added waveIn tests. * files/profile.c: Fixed int conversion in GetPrivateProfileInt so that all the tests succeed. * dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec, include/module.h, include/winternl.h, loader/module.c, scheduler/process.c, scheduler/thread.c: Eric Pouech - added Ldr* information to include/winternl.h - exported a few functions/global vars from module.h while we move code from loader/module.c to dlls/ntdll/loader.c - implemented LdrShutdownProcess, LdrShutdownThread and LdrDisableThreadCalloutsForDll (and made use of them) * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/profile.c: Stefan Leichter Added tests for GetPrivateProfileInt. * dlls/comctl32/tab.c: Vitaliy Margolen Fix invisible tabs in TabControls with fixed tab width. * documentation/samples/config: Sylvain Petreolle Document [WinMM] drivers options. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/time.c: Marcus Meissner Added _daylight stub int, and __p__daylight function. * programs/winedbg/dbg.y, programs/winedbg/debugger.h, programs/winedbg/intvar.h, programs/winedbg/winedbg.c: Eric Pouech Added support for Ctrl-C handling if not running in a console. Added (maintenance) configuration var to trigger external debugger on winedbg's exceptions. * dlls/shlwapi/string.c: Rolf Kalbermatter Fix endless loop in StrPBrkW. * dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.c: Lionel Ulmer - update to latest GL spec files - added KTX Buffer Region extension * dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int31.c, dlls/winedos/interrupts.c: Jukka Heinonen Move real mode interrupt emulation code to file interrupts.c. Remove last wrapper check from int31 handler. Move RM/PM hardware interrupt emulation code to separate functions. * dlls/kernel/kernel32.spec, dlls/winedos/int21.c, msdos/int21.c: Jukka Heinonen Move decoding of long file name functions to winedos. Move some int21 functions to winedos. * files/drive.c: Enrico Horn Simple way to get the label of mixed-mode cd. * controls/menu.c: Tony Lambregts Janitorial. Get rid of W->A call. * dlls/oleaut32/variant.c: Marcus Meissner VarAdd: set 'rc' correctly from BSTR addition. * dlls/oleaut32/typelib.c: Marcus Meissner Handle VT_PTR->VT_VARIANT arguments of Invoke. * programs/wineconsole/wineconsole.c: Eric Pouech - added ability to use --backend=(curses|user) as wineconsole parameter - rewrote wineconsole command line option parsing * programs/wineconsole/curses.c: Eric Pouech In curses backend, apply the quick-edit directive from registry. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/tests/dsound.c: Robert Reif Fixed code to handle full duplex properly. Added support for capture driver (disabled). Fixed direct sound capture test to handle notifications properly. * dlls/winmm/wineoss/audio.c, include/dsdriver.h: Robert Reif Capture thread checks queue for more headers before giving error. Capture driver work started. 2003-02-28 Alexandre Julliard * loader/module.c: Only do the unload_dll server call at the time we actually unload the dll. * server/process.c, server/thread.c, server/thread.h: Peter Hunnisett Suspended threads should not acquire synchronization objects. * documentation/faq.sgml: Andreas Mohr - supported Platforms didn't mention MacOS X prominently enough by far... - add some URLs, correct URL handling - remove linux.corel.com, as it's DEAD :-\ 2003-02-27 Alexandre Julliard * dlls/ntdll/signal_i386.c, include/thread.h, scheduler/sysdeps.c, tools/winebuild/relay.c: Properly save/restore %gs register across 16-bit calls. * controls/edit.c, dlls/gdi/.cvsignore, dlls/gdi/Makefile.in, dlls/gdi/gdi16.c, dlls/gdi/printdrv.c, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/utthunk.c, dlls/msvideo/.cvsignore, dlls/msvideo/Makefile.in, dlls/msvideo/msvideo16.c, dlls/setupapi/.cvsignore, dlls/setupapi/Makefile.in, dlls/setupapi/virtcopy.c, dlls/user/.cvsignore, dlls/user/Makefile.in, dlls/user/hook16.c, dlls/user/dde/ddeml16.c, dlls/user/property.c, dlls/user/user16.c, dlls/user/wnd16.c, dlls/winaspi/.cvsignore, dlls/winaspi/Makefile.in, dlls/winaspi/winaspi16.c, dlls/winmm/.cvsignore, dlls/winmm/Makefile.in, dlls/winmm/message16.c, dlls/winmm/mmsystem.c, include/wownt32.h, objects/dc.c, objects/font.c, objects/metafile.c, windows/driver.c, windows/painting.c: Replaced most uses of the auto-generated glue code by explicit calls to WOWCallback16Ex. * dlls/shell32/shlfolder.c: Alberto Massari Fixes to IShellFolder::GetAttributesOf: - before computing the flags for the requested entry, reset the bits we don't support, or we will tell something we didn't want to. - instead of using an hexadecimal mask for the unsupported flags, use a mask made of the supported ones - replace the obscure hexadecimal values with the proper macros * dlls/kernel/wowthunk.c, scheduler/thread.c: Moved CreateThread16 to kernel, and made it use WOWCallback16. * documentation/debugger.sgml, programs/winedbg/intvar.h, programs/winedbg/winedbg.c: Eric Pouech Removed no longer needed UseXTerm internal variable. * programs/wcmd/builtins.c, programs/wcmd/directory.c, programs/wcmd/wcmdmain.c: Eric Pouech - don't create a new console upon startup - no longer assume we're always attached to a console * configure, configure.ac, dlls/gdi/Makefile.in: Get rid of win16drv directory. * dlls/gdi/Makefile.in, dlls/gdi/driver.c, dlls/gdi/gdi.exe.spec: Removed the 16-bit graphics driver support; this has been broken for a long time anyway. 2003-02-26 Alexandre Julliard * dlls/kernel/kernel_main.c, dlls/winedos/int31.c, include/miscemu.h, include/selectors.h, include/wine/library.h, library/ldt.c, loader/task.c, memory/instr.c, memory/selector.c, scheduler/sysdeps.c, scheduler/thread.c: Moved LDT selector allocation routines to libwine. Added support for correct locking of all LDT operations. Added separate functions to manipulate the %fs selector, which allows using a global GDT selector on recent Linux kernels. * files/file.c: MoveFile[AW] should simply call MoveFileEx[AW]. Should fix issue reported by Roderick Colenbrander. * dlls/winedos/soundblaster.c: Sylvain Petreolle Implemented DSP Version command. * tools/wrc/wrc.c, tools/wrc/wrc.h, tools/wrc/wrc.man, tools/wrc/writeres.c, tools/wrc/writeres.h: Dimitrie O. Paun Remove assembly generation from wrc. * dlls/winedos/int10.c, include/miscemu.h, msdos/dosmem.c: Jukka Heinonen Move controller info and state/functionality info initialization to winedos. Convert many incorrectly static fields into dynamic fields. Fix vesa mode reporting and realloc memory block consistency checks. * programs/wineconsole/wineconsole.c: Eric Pouech Fixed behavior when changing both sb and win size, as the order of operation is important to keep sb always bigger than win. * scheduler/process.c, windows/winproc.c: Eric Pouech Only print 4 hexdigits for tid. * dlls/oleaut32/typelib.c: Mike Hearn Check both pointers in GetContainingTypeLib. * dlls/kernel/kernel32.spec, include/winbase.h, memory/global.c: Mike Hearn Implemented GlobalMemoryStatusEx(). * include/docobj.h: Mike Hearn Add some OLECMDIDs present in MS headers. * documentation/authors.ent, documentation/running.sgml: Mike Hearn Added a "basic usage" section that deals with installation, uninstallation and control panel applets to the "Running Wine" part of the users guide. 2003-02-25 Alexandre Julliard * server/console.c, server/debugger.c, server/process.c, server/ptrace.c, server/thread.c, server/thread.h: Added send_thread_signal() function and properly handle errors caused by the thread having already died when we send it a signal. Use -1 instead of 0 as invalid Unix pid value. * server/registry.c: Avoid some redundant calls to time(NULL). touch_key() must not be called in create_key. * configure, configure.ac: Mike McCormack Turn off -Wpointer-arith if it generates warnings when including string.h. * dlls/comctl32/treeview.c: Tim Segall Accept either TVI_ROOT or NULL for the parent to imply sort the entire tree. * programs/wcmd/directory.c, programs/wcmd/wcmd.h, programs/wcmd/wcmdmain.c: Eric Pouech - made support for paged output a generic feature in wcmd - rewrote DIR command accordingly * programs/wineconsole/user.c: Eric Pouech Forbids selecting (for clipboard) areas larger than the actual screen-buffer size. * dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/tests/http.c: Uwe Bonnes InternetOpenUrlA (http/s case): Use client for HttpOpenRequestA, don't insert HOST: twice. HttpAddRequestHeadersA: allow lpszHeader == NULL. * tools/winewrap.c: Dimitrie O. Paun No need to support -mwindows as a synonim for -mgui: it's a gcc-ism that is handled in winegcc. Link in GDI only in gui mode. * dlls/kernel/tests/pipe.c: Dan Kegel Now compiles on windows. Added a couple more checks. * dlls/ntdll/cdrom.c: Gerald Pfeifer Define CD_SECS and CD_FRAMES also on non-Linux systems. Avoid a non-portable TRACE on non-Linux systems. 2003-02-24 Alexandre Julliard * include/wine/server_protocol.h, scheduler/process.c, server/process.c, server/protocol.def, server/thread.c, server/thread.h, server/trace.c: Pass the pid of the new process in the new_process request, don't depend on the parent pid to find the startup info. * dlls/comctl32/rebar.c, dlls/winedos/vga.c, dlls/wininet/internet.c, dlls/winsock/socket.c: Michael Stefaniuc Remove some unreachable code. * dlls/dsound/tests/dsound.c: Robert Reif Fixed a problem getting the GUID to compile under windows and wine. * dlls/winedos/int10.c: Gerald Pfeifer Fix TRACE format string. * dlls/dinput/dinput_main.c, dlls/dinput/keyboard/main.c: Lionel Ulmer Implement GetDeviceInfo and GetObjectInfo for the keyboard device. * programs/wineconsole/dialog.c, programs/wineconsole/wineconsole_De.rc, programs/wineconsole/wineconsole_En.rc, programs/wineconsole/wineconsole_Fr.rc, programs/wineconsole/wineconsole_Hu.rc, programs/wineconsole/wineconsole_Zh.rc, programs/wineconsole/wineconsole_res.h: Eric Pouech Added checks when editing window and sb size so that they are kept consistent. * dlls/comctl32/propsheet.c: Eric Pouech Added handling for PSNRET_INVALID in PSN_APPLY notification. * programs/wineconsole/registry.c: Eric Pouech Set a default 50 lines in history for console apps. * programs/wcmd/wcmdmain.c: Dan Kegel Make 'cmd /c cl /MUMBLE foo.c' pass /MUMBLE to cl. * dlls/dsound/capture.c: Michael Stefaniuc Add missing LeaveCriticalSection's in error path. * programs/winedbg/winedbg.c: Marcus Meissner Print out name of float exceptions. * tools/winegcc.c: Dimitrie O. Paun Link in shell32 only in gui mode. Add all the standard defines that MinGW provides (with the exception of __MINGW__, that's MinGW prerogative). Do not pass along linker options when only compiling. * include/dsound.h: Robert Reif Added definitions for DirectSoundFullDuplex and moved some GUIDs around. 2003-02-19 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20030219. ---------------------------------------------------------------- 2003-02-19 Alexandre Julliard * dlls/kernel/tests/.cvsignore: Added pipe.ok. * AUTHORS, dlls/shell32/authors.h: Updated authors list. * server/console.c: Eric Pouech Fixed read-overflow spotted by valgrind. * dlls/winedos/int10.c, dlls/winedos/vga.c: Jukka Heinonen Ignore get shadow buffer function. Remember to synchronize VGA display on program exit because update thread may not have time to run. * dlls/Makefile.in, dlls/make_dlls: Fixed installation order of linkable dlls. * dlls/kernel/kernel32.spec, dlls/winedos/int21.c, include/miscemu.h, memory/global.c, msdos/dosmem.c, msdos/int21.c: Jukka Heinonen Move resize memory block to winedos and make it resize in place and work correctly even when trying to allocate too much memory. * dlls/msvcrt/file.c, dlls/msvcrt/tests/file.c: Uwe Bonnes Rough implementation of _O_TEXT/_O_BINARY translation by doing single byte read/writes in _O_TEXT mode and CR/LR handling. fput/getwc must read multibyte characters in _O_TEXT. Added test cases for _O_TEXT/_O_BINARY file handling and fgetws. * dlls/ntdll/cdrom.c: Waldeck Schutzer - Some systems/drives are very slow to read the TOC. To address this issue, we are caching it inside the driver. - Windows will seek while not playing, Linux will not. We are providing better compatibility with Windows by also caching the current position. * dlls/winmm/mcicda/mcicda.c: Waldeck Schutzer Avoid playing data tracks. * relay32/relay386.c: Gerald Pfeifer Avoid warnings. * dlls/kernel/sync.c, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/pipe.c: Dan Kegel Added check for illegal pipe names. Added regression test. * windows/sysmetrics.c, windows/sysparams.c: Andreas Mohr Convert Twips values from the registry. * controls/edit.c: Sander van Leeuwen Dietrich Teickner - Fixed incorrect undo buffer size (previous code caused heap corruption when using backspace many times). - Always kill timer when left mouse button is released and in captured state. * dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_binding.h, dlls/rpcrt4/rpc_message.c, dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpc_server.h: Ove Kaaven For better concurrency, separate the connections from the bindings. * include/winternl.h: Thomas Mertes - Implement RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar, RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString, RtlLargeIntegerToChar, RtlUnicodeStringToInteger and RtlUpcaseUnicodeChar. - Use toupperW instead of toupper in RtlCompareUnicodeString. * dlls/msvcrt/dir.c: Warren Baird - Avoid possible seg fault when calling TRACE with NULL string pointers. - Fix bad side-effect of makepath on input parameters. * scheduler/process.c: Warren Baird Increase size of insufficiently big stack allocated buffer used for error messages in PROCESS_InitWine. * dlls/kernel/editline.c: Jukka Heinonen When updating the edited line, remember to update attributes, too. * programs/winedbg/debugger.h, programs/winedbg/hash.c: Eric Pouech - removed unused function: SetSymbolValue - enhanced a bit AddSymbol regarding invalid symbol management (and enhanced its traces) - now printing type information in 'info sym' * programs/winedbg/stabs.c: Eric Pouech - added parsing of C++ inheritence information - added an internal trace for displaying errors in typedef parsing - enhanced ELF symbol management (direct call to AddSymbol in ELF header) * dlls/richedit/richedit.c: Duane Clark A fix to get edit control scrolls bars to draw in the correct position. * dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/large_int.c, dlls/ntdll/tests/rtlstr.c: Thomas Mertes Tests for RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar, RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString, RtlLargeIntegerToChar, RtlUnicodeStringToInteger and RtlUpcaseUnicodeChar. * dlls/ntdll/large_int.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, dlls/ntdll/rtlstr.c: Thomas Mertes - Implement RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar, RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString, RtlLargeIntegerToChar, RtlUnicodeStringToInteger and RtlUpcaseUnicodeChar. - Use toupperW instead of toupper in RtlCompareUnicodeString. * include/wininet.h: Alberto Massari - the first argument in several Unicode functions was an ASCII string instead of a Unicode one - added more macro definitions * include/rpcproxy.h: Ove Kaaven "Implemented" IID_BS_* macros. * server/queue.c: Mike McCormack Added missing release_object. * server/Makefile.in, server/async.c, server/atom.c, server/change.c, server/console.c, server/debugger.c, server/device.c, server/fd.c, server/file.c, server/file.h, server/handle.c, server/hook.c, server/main.c, server/mapping.c, server/named_pipe.c, server/object.c, server/object.h, server/pipe.c, server/process.c, server/process.h, server/queue.c, server/registry.c, server/request.c, server/select.c, server/serial.c, server/smb.c, server/snapshot.c, server/sock.c, server/thread.c, server/thread.h, server/timer.c: Moved all references to file descriptors out of the generic object structure. Changed the poll()-related routines to deal with file descriptors instead of objects and integrated poll support into fd.c. 2003-02-18 Alexandre Julliard * dlls/msvcrt/main.c, dlls/ntdll/critsection.c, dlls/ntdll/debugtools.c, dlls/user/hook.c, graphics/x11drv/dib.c, if1632/relay.c, loader/pe_image.c, relay32/relay386.c, relay32/snoop.c, scheduler/thread.c, windows/spy.c: Print thread ids in traces with only 4 digits now that they are small integers. * dlls/ntdll/exception.c: Print dll name too for stub exceptions. * dlls/x11drv/winpos.c, windows/nonclient.c: Duane Clark Correctly encode wParam for WM_SYSCOMMAND,SC_SIZE messages. * dlls/crypt32/crypt32.spec: Alberto Massari Added stub for CryptUnprotectData. * documentation/patches.sgml: Tony Lambregts Add entry for no html in patches. * tools/winegcc.c, tools/winewrap.c: Steven Edwards Porting fixes. * dlls/ntdll/rtlbitmap.c, dlls/ntdll/tests/rtlbitmap.c: Thomas Mertes - Fix small bug in RtlFindMostSignificantBit. It returned sometimes wrong results if more then one bit was set. - Update the test cases as well. 2003-02-17 Alexandre Julliard * server/mapping.c: Make sure get_file_size uses a valid fd (spotted by Uwe Bonnes). * loader/loadorder.c: Set default loadorder to native for dlls that contain an explicit path. * documentation/cvs-regression.sgml: Tony Lambregts Updated regression testing documentation. * dlls/winmm/winmm.c: Eric Pouech Allowed waveInMessage to use physical information (as waveOut does). * dlls/rpcrt4/ndr_marshall.c: Ove Kaaven NDR marshalling fixes. * dlls/rpcrt4/cpsf.c: Ove Kaaven Make NdrDllRegisterProxy use the interface stub header instead of the interface proxy header to avoid stubless proxy ambiguities. * programs/winedbg/debugger.h, programs/winedbg/types.c: Eric Pouech - added GetName() to retrieve type name - reimplemented DumpTypes so that it really dumps the types content - now printing type information in 'info sym' * programs/winedbg/dbg.y: Eric Pouech Moved expr freeing when translating a command (no longer done on each command which uses an expr). * dlls/dsound/sound3d.c: Rok Mandeljc Reimplemented distance attenuation formula. Removed coning formula since i believe it's inappropriate. 2003-02-15 Alexandre Julliard * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg_Ca.rc, dlls/commdlg/cdlg_Da.rc, dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_En.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_Nl.rc, dlls/commdlg/cdlg_Pl.rc, dlls/commdlg/cdlg_Pt.rc, dlls/commdlg/cdlg_Ru.rc, dlls/commdlg/cdlg_Si.rc, dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Wa.rc, dlls/commdlg/cdlg_Zh.rc, dlls/commdlg/fontdlg.c: Shachar Shemesh - Implemented two lookup tables for the sample fonts. The first, "CHARSET_ORDER", is for converting codepage to ordinal charset num, and the second, "SAMPLE_LANG_TEXT", is for giving the actual sample text. - Removed all references to changing the font directly in stc5. - Modified the "InvalidateRect" calls to invalidate the rect where stc5 is, rather than stc5 itself. - Added handling of WM_PAINT that draws the sample text, properly truncated. - Removed handling of WM_CTLCOLOR - no longer neccessary. * dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/primary.c, dlls/dsound/tests/dsound.c: Robert Reif Added support for direct sound capture and a real direct sound capture driver. Capture now works with some skipping. Full duplex does not but I will be working on that next. * dlls/winmm/wavemap/wavemap.c: Robert Reif Added additional formats. Fixed a few bugs in read/write positions when the format is mapped using acm. Fixed a bug where the number of waveOut devices is used when iterating over waveIn devices. 2003-02-14 Alexandre Julliard * dlls/winmm/wineoss/audio.c: Robert Reif Started to add support for a real direct sound capture driver. Changed the capture fragment size but this still needs tuning for best performance. * include/dsdriver.h, include/dsound.h: Robert Reif Added/fixed some definitions for direct sound capture. * dlls/comctl32/listview.c: Duane Clark Support the undocumented behavior of deleting column zero. * server/snapshot.c: Eric Pouech Fixed regression in process parent handling. * dlls/ole32/rpc.c: Dan Kegel Roll loop back up to avoid code duplication. * include/wingdi.h, objects/enhmetafile.c: Mike McCormack Huw Davies - make world transforms work in EMFs - fix declaration of GDICOMMENT_* macros - refuse to load unaligned EMFs - fix SetWinMetaFileBits * dlls/netapi32/netapi32.c, dlls/netapi32/netapi32.spec, dlls/netapi32/wksta.c, include/lmwksta.h: Uwe Bonnes Separate "Enumerate Hardware Addresses" as function, as other netapi32 function need it. Implemented level 0 of NetWkstaTransportEnum. * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: Michael Stefaniuc Implemented _mbsnbcat. * files/dos_fs.c, include/wine/server_protocol.h, server/atom.c, server/change.c, server/console.c, server/console.h, server/context_i386.c, server/context_powerpc.c, server/context_sparc.c, server/debugger.c, server/device.c, server/event.c, server/fd.c, server/file.c, server/file.h, server/handle.c, server/handle.h, server/hook.c, server/mapping.c, server/mutex.c, server/named_pipe.c, server/object.c, server/object.h, server/pipe.c, server/process.c, server/protocol.def, server/ptrace.c, server/queue.c, server/registry.c, server/request.c, server/request.h, server/select.c, server/semaphore.c, server/serial.c, server/smb.c, server/snapshot.c, server/sock.c, server/thread.c, server/timer.c, server/trace.c, win32/device.c: Changed fd operations to take a struct fd instead of a struct object. Removed get_file_info function from object operations. Added get_device_id request to avoid abusing get_file_info. * dlls/comctl32/listview.c: Dimitrie O. Paun Correctly remember the first paint event, but delay item metrics calculation until we actually have some items. * programs/wineconsole/curses.c: Eric Pouech - fixed mouse event generation - better management of some keys - now generating several wincon-events for a given curses-event - added basic support for V-scrolling (disabled by default) - fixed printing of some unsupported characters * dlls/winedos/int10.c, dlls/winedos/vga.c: Jukka Heinonen Outputting backspaces should only move the cursor. Text buffer copy is now always initialized correctly. Preserve video memory flag is parsed and text screen is now really cleared when flag is clear. * programs/winedbg/info.c: Mike Hearn Removed the nonexistant command "debugmsg" from winedbg help screen. 2003-02-12 Alexandre Julliard * dlls/ddraw/d3d_private.h, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dvertexbuffer.c: Lionel Ulmer Use the dwStartVertex argument in the Draw*PrimitiveVB methods. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Change algorithm to detect lighted / unlighted vertices. * dlls/ddraw/mesa.c, dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Handle the COLORVERTEX render state. * dlls/ddraw/d3ddevice/main.c: Lionel Ulmer Trace after the matrix has been copied, not before. * server/named_pipe.c: Removed direct references to the file descriptor, use the new fd functions instead so that get_fd works properly. * dlls/shlwapi/string.c: Sergei Turchanov - _SHStrDupAA forgot about terminating '\0'. - SHStrDupA adds extra terminator which is not needed as the length returned by MultiByteToWideChar(,,-1,,) already includes it. * dlls/msvcrt/locale.c: Marcus Meissner Fix warning in __crtLCMapStringA. * dlls/comctl32/listview.c: Gerald Pfeifer Avoid warnings caused by assert(...). * dlls/winspool/info.c: Duane Clark Replace HEAP_strdupAtoW call and delete extra RtlCreateUnicodeStringFromAsciiz. * dlls/dinput/device.c, dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c: Lionel Ulmer Implemented EnumObjects for the keyboard device. * dlls/ddraw/d3ddevice/main.c: Lionel Ulmer - fixed GetTransform - implemented MultiplyTransform * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Added fogging for transformed vertices. * dlls/dplayx/dplobby.c, dlls/winedos/dosvm.c, dlls/winmm/mciavi/mciavi.c: Michael Stefaniuc Added some missing LeaveCriticalSection's. * dlls/msvcrt/mbcs.c, dlls/ole32/rpc.c: Michael Stefaniuc Remove dead code after return or properly comment it out. * documentation/faq.sgml: Tony Lambregts Add entry for "Error installing iKernel.exe: (0x1400)". * dlls/winspool/info.c: Duane Clark Winspool expects NULLs to be preserved in ascii to unicode conversions. * loader/elf.c: Warren Baird Increase size of insufficiently big stack allocated buffer used for error messages in ELF_LoadLibraryExA. * dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/metafiledrv.h: Warren Baird Implementation of GetDeviceCaps in metafile driver. * include/wingdi.h: Warren Baird Added BYTE explicit casts in RGB macro definition. * programs/wineboot/wineboot.c: Matthew Davison Make trace output produced by wineboot more useful. * dlls/dinput/device.c, dlls/dinput/mouse/main.c: Lionel Ulmer Report an error if GetDeviceData is called on an Unacquired device. * documentation/samples/config, tools/wineconf: Tony Lambregts Modify the wineconf tags so that the sample config can be included in the documentation. * dlls/ddraw/d3ddevice/mesa.c: Christian Costa Fix comment in ZfromZproj. Fix missing path in lighting code. Move some OpenGL fog init to the right place. * dlls/ddraw/d3ddevice/main.c: Christian Costa Implemented IDirect3DDevice7_Load. 2003-02-11 Alexandre Julliard * server/file.c, server/named_pipe.c, server/object.h, server/request.c, server/select.c, server/serial.c, server/smb.c, server/sock.c, server/trace.c: Steven Edwards Porting fixes. * dlls/winedos/dosexe.h, dlls/winedos/int21.c, dlls/winedos/module.c, dlls/winedos/winedos.spec, include/callback.h, msdos/dpmi.c, msdos/int21.c: Jukka Heinonen Reorganize IOCTL handling. Move ASPI hooking to winedos. Move some miscellaneous functions to winedos. Remove unnecessary exports from winedos dll. * loader/pe_image.c: Rein Klazes In PE_fixup_imports report "module file not found" only in case of a "file not found" error. Otherwise report failure and error number. * dlls/rpcrt4/ndr_marshall.c: Marcus Meissner Fixed undefined operation compiler warning. * dlls/winedos/vga.c: Jukka Heinonen Add locking to VGA_SetWindowStart. Move console updates to update thread instead of immediately writing to console. * dlls/winedos/int10.c: Jukka Heinonen Add support for VESA mode information. Reorganize controller and state information routines. * dlls/comctl32/listview.c: Dimitrie O. Paun Compute matrix of first paint when we actually have some items (problem first spotted & debugged by Duane Clark). * include/commctrl.h: Dimitrie O. Paun Add missing ListView_SetItemCount declaration. * dlls/opengl32/make_opengl, dlls/opengl32/opengl32.spec: Lionel Ulmer Added stub for undocumented 'wglGetDefaultProcAddress' function. * dlls/gdi/mfdrv/objects.c: Warren Baird Fix wrong structure used to determine the size of a memcpy in MFDRV_CreateBrushIndirect. * dlls/kernel/time.c: Martin Fuchs Fixed time zone calculation. * dlls/kernel/tests/file.c: Francois Gouget With help from Enio Schutt Jr Skip the overlapped I/O tests on files on Win9x. * dlls/msvcrt/locale.c, dlls/msvcrt/msvcrt.spec: Marcus Meissner Implemented __crtLCMapStringA. * dlls/ctl3d/ctl3d.c, dlls/ctl3d/ctl3d32.c: Dmitry Timoshkov Manage internal ctl3d auto subclass flag. * dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/keyboard/main.c: Ove Kaaven Only install the keyboard hook on device creation. * programs/winedbg/ext_debugger.c, programs/winedbg/hash.c, programs/winedbg/module.c, programs/winedbg/source.c: Eric Pouech Translated sprintf calls into snprintf. * programs/winedbg/gdbproxy.c: Eric Pouech - translated sprintf calls into snprintf - added helper for sending strings in hex form * programs/winedbg/dbg.y, programs/winedbg/debugger.h, programs/winedbg/winedbg.c: Eric Pouech Attach command no longer worked as expected, fixed it. * programs/wcmd/builtins.c, programs/wcmd/wcmd.h, programs/wcmd/wcmdmain.c: Sylvain Petreolle Fixed handling of PATH command with spaces. * tools/wrc/wrc.c, tools/wrc/wrc.man: Dimitrie O. Paun Add option to set preprocessor (not yet implemented). Remove the -N option, which is equivalent to '-P cat'. * dlls/ddraw/dsurface/dib.c: Christian Costa Add support for 24 bpp to _Blt_ColorFill. Fix endianness issue in DIB_DirectDrawSurface_Blt. * dlls/ntdll/exception.c: Andreas Mohr Added FIXME on stub exception. 2003-02-01 Alexandre Julliard * server/process.c, server/process.h, server/ptrace.c, server/request.c, server/thread.c, server/thread.h, server/trace.c, tools/make_requests: Made process and thread ids small integers instead of pointers. * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.h: Store mbstok() next pointer in the per-thread data. * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: Michael Stefaniuc Implemented _mbstok and _mbsnbset. * dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/ndr_misc.h, dlls/rpcrt4/ndr_ole.c, dlls/rpcrt4/rpcrt4.spec: Ove Kaaven Implemented marshalling of pointers, simple and complex structures, conformant and complex arrays, and user-marshalled types. Improved marshalling of conformant strings and interface pointers a bit. * dlls/shell32/shell32.spec, dlls/shell32/shlfileop.c, include/shlobj.h: Rolf Kalbermatter Change SHCreateDirectory and Win32DeleteFile to be Unicode or ANSI depending on OS version. Add ShCreateDirectoryEx API. * tools/wrc/README.wrc, tools/wrc/wrc.man: Dimitrie O. Paun Merge README.wrc into wrc's man page. * include/wingdi.h, objects/palette.c: Andrew John Hughes Extended SetSystemPaletteUse to deal with error conditions. * dlls/d3d8/directx.c: Jason Edmeades Correct some capabilities, and default others to fully supported for now. 2003-01-31 Alexandre Julliard * include/wrc_rsc.h: No longer used. * dlls/wineps/driver.c, dlls/wineps/psdrv.h, include/wingdi.h: Andrew John Hughes - DeviceCapabilities16 now calls PSDRV_DeviceCapabilities. - ExtDeviceMode16 now calls PSDRV_ExtDeviceMode. - Extended switch statement in DeviceCapabilities to handle new options. - Added comments to functions. * dlls/user/text.c: Bill Medland Better handling of bad data in TabbedTextOut/TabbedTextExtent Checked with: a) Null tabstop array with non-zero number of entries b) Negative number of entries (MSDN is wrong; it is not an error) c) Single tabwidth of negative size d) Single specified tabwidth of zero size * dlls/rpcrt4/ndr_midl.c: Ove Kaaven ReuseBuffer should be FALSE for RPC clients. Some cleanups and elimination of some duplicate code. * dlls/rpcrt4/rpc_binding.c: Ove Kaaven Fixed a bug in CompleteBindingA/W. * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Ove Kaaven Implemented RpcRaiseException. * include/rpcdce.h, include/rpcndr.h, include/wine/rpcfc.h: Ove Kaaven Some RPC definitions. * tools/wrc/wrc.c, tools/wrc/wrc.h, tools/wrc/wrc.man, tools/wrc/writeres.c, tools/wrc/writeres.h: Dimitrie O. Paun Remove header file generation, and related options. * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: Marcus Meissner Implemented mbsicoll (without locale handling). * dlls/winmm/winmm_Si.rc: Waldeck Schutzer Removed invalid char. 2003-01-30 Alexandre Julliard * programs/winedbg/stabs.c: Eric Pouech - Added experimental parsing for C++ code (but winedbg doesn't support C++ ABI). - Now loading symbols for included files. * dlls/x11drv/x11drv_main.c: XCloseIM sometimes crashes in Xlib, don't call it. * dlls/x11drv/window.c: Liu Spider Added XNFocusWindow attribute when creating a IC. * server/Makefile.in, server/async.c, server/atom.c, server/change.c, server/console.c, server/debugger.c, server/device.c, server/event.c, server/fd.c, server/file.c, server/file.h, server/handle.c, server/hook.c, server/mapping.c, server/mutex.c, server/named_pipe.c, server/object.c, server/object.h, server/pipe.c, server/process.c, server/queue.c, server/registry.c, server/request.c, server/select.c, server/semaphore.c, server/serial.c, server/smb.c, server/snapshot.c, server/sock.c, server/thread.c, server/timer.c: Started moving functions that deal with Unix file descriptors to a separate fd object. This will be needed for file locking. * documentation/debugger.sgml, programs/winedbg/dbg.y, programs/winedbg/debug.l, programs/winedbg/debugger.h, programs/winedbg/info.c, programs/winedbg/module.c: Eric Pouech - Removed no longer used queue & modref related commands. - Protected walk commands while being called with no process loaded. - In command grammar, allowed some expressions while only numbers where accepted. - Renamed 'info maps' info 'walk maps' and let it work on any process. * dlls/wsock32/Makefile.in, dlls/wsock32/protocol.c, dlls/wsock32/service.c, dlls/wsock32/wsock32.spec, include/nspapi.h: Andrew John Hughes Provide stub implementations of GetTypeByNameA and SetServiceA. * include/winnt.h, library/port.c: Dimitrie O. Paun Remove writable-strings support. * dlls/richedit/richedit.c: Dan Kegel Only warn if message is >= WM_USER && < WM_APP. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c: Raphael Junqueira - Defer of IDirect3DVertexShader_SetConstant, waiting for DrawPrimitive call. - Beginning of VertexShader constants support into stateblock (only stored, not captured yet). - Fix compiation with nivdia GL/gl.h and mesa Gl/glext headers as reported by Andrew John Hughes. - One glActiveTexture/glActiveTextureARB missing. * scheduler/pthread.c: Gerald Pfeifer Add missing casts related to pthread_t. Tweak comments. * dlls/winedos/int21.c, msdos/int21.c: Jukka Heinonen Fix buffered input function. Add support for UMB subfunctions to memory allocation strategy function. Move flock to winedos. * dlls/msvideo/msvideo16.c, dlls/msvideo/msvideo_main.c, dlls/msvideo/msvideo_private.h: Eric Pouech - made ICInfo closer to Windows behavior (i.e. no longer opens the driver) - fixed most endianess related bugs in fourCC handling - added debug function for printing fourCC:s - internal function fixes and speed-up * programs/wcmd/wcmdrc.rc: Dan Kegel Add real syntax doc for LABEL command. 2003-01-28 Alexandre Julliard * dlls/d3d8/Makefile.in, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/shader.c, dlls/d3d8/stateblock.c, dlls/d3d8/vshaderdeclaration.c: Raphael Junqueira Some needed cleanups for future dx9 and d3d common layer support: - stateblocks to IDirect3DStateBlockImpl interface and moving into a new file (stateblock.c) - shaders to IDirect3D*ShaderImpl interfaces - splitting vshader and vshader declaration as in dx9 into 2 interfaces (for future common layer use) - vshader declaration code to a new file (vsaderdeclaration.c) - device calls to new interfaces (redirect stubs) Simple texture fix for a little regression after last Jason's patches. Some caps code using the GL/glext.h defines (GL_VERSION_*). * programs/notepad/En.rc, programs/notepad/dialog.c, programs/notepad/dialog.h, programs/notepad/main.c, programs/notepad/main.h, programs/notepad/notepad_res.h: Shachar Shemesh Implemented font selection. Added accelerators resources. * dlls/winsock/socket.c: Gerald Pfeifer Properly #define sipx_node for FreeBSD. * documentation/packaging.sgml: Tom Wickline Updated the Sample config Replaced with . * dlls/ole32/ole2.c: Juergen Schmied Fix DoDragDrop in case of child windows. * dlls/x11drv/desktop.c, dlls/x11drv/x11drv_main.c, include/x11drv.h: When using desktop mode attach all thread inputs together, so that keyboard focus works properly. * documentation/packaging.sgml: Tom Wickline Removed the old win.ini sample replaced it with a RH 8.0 rpm .spec. Changed title name of section 5.1. Other small fixes. * dlls/oleaut32/oleaut.c: Marcus Meissner Do not free the old string in SysReAllocStringLen, reuse the old string memory (if 'in' is NULL). * dlls/ole32/storage.c: Gerald Pfeifer Avoid compiler warning in STORAGE_get_free_pps_entry(). * dlls/winsock/socket.c, server/sock.c: Martin Wilck Do not clear FD_WINE_CONNECTED on shutdown(). FD_WINE_CONNECTED (currently unused) can thus be used to determine if a stream socket was ever connected. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Marcus Meissner Added R4 and R8 comparison to VarCmp. Added I2 to VarFormat. Added VarSub, VarDiv, VarMul for integer and float types. * dlls/winedos/int31.c: Jukka Heinonen Replace FIXMEs with TRACEs in those paging functions that really are not supposed to do anything. Add simple emulation of coprocessor state functions. * dlls/winedos/int21.c, msdos/int21.c: Jukka Heinonen Return scancode when extended keycodes are read using console input functions. Move file stamp handling to winedos. Implement DOS7 file stamp extensions. * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg_En.rc, dlls/commdlg/fontdlg.c: Shachar Shemesh - Defined IDs for string constants for font color names and for the various charsets. - Load the color names from the resources in the fonts dialog. * dlls/wininet/internet.c, dlls/wininet/wininet.spec, include/wininet.h: Andreas Mohr "InternetAutoDial" should be "InternetAutodial". * dlls/winedos/vga.c: Jukka Heinonen Handle horizontal and vertical retrace separately. * dlls/winedos/int10.c: Jukka Heinonen Unify VGA and VESA video mode setting code. 2003-01-24 Alexandre Julliard * configure, configure.ac, dlls/Makefile.in, dlls/d3dim/.cvsignore, dlls/d3dim/Makefile.in, dlls/d3dim/d3dim.spec, dlls/d3dim/d3dim_main.c, dlls/d3dim/version.rc: Enrico Horn Added d3dim.dll with stubs. * dlls/advapi32/eventlog.c, dlls/advapi32/security.c, dlls/comctl32/listview.c, dlls/comctl32/propsheet.c, dlls/commdlg/filedlg.c, dlls/kernel/thunk.c, dlls/ntdll/heap.c, dlls/oleaut32/tmarshal.c, dlls/shell32/shellord.c, dlls/winmm/playsound.c, files/directory.c, files/drive.c, files/smb.c, windows/message.c, windows/msgbox.c: Removed no longer needed inclusion of heap.h. * include/richedit.h, include/winnt.h: Removed a couple of extra semicolons. * documentation/packaging.sgml: Tom Wickline Fixed $PREFIX location. Some small updates. Added sample config. * dlls/d3d8/device.c: Jason Edmeades Add support for color material sources, with help from Lucho. * dlls/x11drv/keyboard.c: Leonardo Quijano Vincenzi Fixed Latin American keyboard (key "?!" was reversed). * dlls/advapi32/service.c: Matthew Davison Removed some Unicode -> Ascii cross-calls. * dlls/winspool/tests/info.c: Stefan Leichter Removed windows version checks from GetPrinterDriverDirectory tests. * objects/dc.c: Rein Klazes Load default stock bitmap in CreateDC(). 2003-01-23 Alexandre Julliard * include/heap.h: Matthew Davison Remove the HEAP_strdupAtoW macro. * dlls/advapi32/security.c, dlls/advapi32/service.c, dlls/commdlg/filedlg.c, dlls/oleaut32/variant.c, dlls/user/hook.c, dlls/winmm/mmsystem.c, dlls/winmm/playsound.c, dlls/winspool/info.c, loader/resource.c, memory/environ.c, windows/winproc.c: Matthew Davison Removed calls to HEAP_strdupAtoW. * dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c, dlls/gdi/win16drv/prtdrv.c, dlls/ntdll/critsection.c, dlls/winedos/module.c, dlls/winmm/winearts/audio.c, dlls/winmm/winejack/audio.c, dlls/winmm/winenas/audio.c, files/profile.c, files/smb.c, library/config.c, msdos/int21.c, programs/wineconsole/curses.c, scheduler/critsection.c, server/pipe.c, server/process.c, server/select.c, server/serial.c, server/smb.c: Marcus Meissner Remove errno.h from files that do not need it. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c: Jason Edmeades Use device max lights and clipplane support. Also change clipplane to be affected by view matrix. * dlls/x11drv/keyboard.c: Keysym check should use 0x8000 instead of 0x800 (spotted by Dmitry Timoshkov). * configure, configure.ac, dlls/d3d8/device.c, dlls/d3d8/indexbuffer.c, dlls/d3d8/shader.c, dlls/ddraw/d3dexecutebuffer.c, dlls/gdi/freetype.c, dlls/ntdll/cdrom.c, dlls/oleaut32/safearray.c, dlls/winedos/vga.c, dlls/winmm/lolvldrv.c, dlls/winmm/wineoss/audio.c, dlls/x11drv/clipboard.c, programs/winedbg/gdbproxy.c: Added -Wpointer-arith gcc flag, and fixed the resulting warnings. * dlls/cabinet/cabextract.c, dlls/cabinet/cabinet.h: Greg Turner Fix some problems when Extract is used more than once. * tools/wrc/wrc.c: Gerald Pfeifer Declare variable only if needed. * dlls/msacm/format.c: Waldeck Schutzer Audio codecs were erroneously being listed multiple times, making it difficult to run certain applications like VirtualDub. * dlls/msacm/stream.c: Waldeck Schutzer Make sure the parameter phas is correct by setting it equal to NULL in query mode. * dlls/winsock/socket.c: Gerald Pfeifer Improve portability wrt. struct sockaddr_ipx. * files/smb.c: Gerald Pfeifer Properly cast struct sockaddr_in* to struct sockaddr* where needed. * dlls/x11drv/event.c, dlls/x11drv/keyboard.c, windows/message.c: Added dead keys support using X input methods (based on a patch by Dmitry Timoshkov). * dlls/x11drv/window.c, dlls/x11drv/x11drv_main.c, include/x11drv.h: Create an X input context for each top-level window. * dlls/oleaut32/olefont.c, include/wine/obj_olefont.h: Marcus Meissner Fixed ICOM_CALLs for IFont_xx methods. Added IPersistPropertyBag, IPersistStreamInit interfaces with stubs. Implemented IDispatch::Invoke for the used DISPIDs. * dlls/winedos/int21.c, msdos/int21.c: Jukka Heinonen Return number of bytes written when writing to DOS console using int21 function 0x40. Move some int21 functions to winedos. * dlls/winedos/int10.c: Jukka Heinonen Reorganize int10 code. Fix comments. * dlls/msvideo/msvideo_main.c: Waldeck Schutzer Fixed initialization of szDevice in ICINFO. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c: Christian Costa Implement vertex and pixel fog. Fix fog color initialization. 2003-01-21 Alexandre Julliard * dlls/x11drv/event.c, dlls/x11drv/window.c: Make sure to always set X focus on the top-level window, not on child windows. * winedefault.reg: Dan Kegel .txt files are handled by notepad. * configure, configure.ac, programs/Makefile.in, programs/start/.cvsignore, programs/start/En.rc, programs/start/Makefile.in, programs/start/resources.h, programs/start/rsrc.rc, programs/start/start.c, tools/wineinstall: Dan Kegel Added Windows-compatible start.exe. * dlls/shell32/changenotify.c, dlls/shell32/shell32.spec, dlls/shell32/shfldr_fs.c, dlls/shell32/shlfileop.c, include/shlobj.h: Rolf Kalbermatter Change SHChangeNotify to be Unicode and ANSI indifferent, as the type of parameters is really defined by uFlags parameter. * dlls/commdlg/filetitle.c: Liu Spider Implemented GetFileTitleW; GetFileTitleA now is a call to GetFileTitleW. * documentation/authors.ent: Tom Wickline Fix incorrect alphabetical order by last name. * dlls/ntdll/cdrom.c: Gerald Pfeifer Only declare variables we actually need. * dlls/oleaut32/typelib.c: Marcus Meissner Print a large failure message if we try to load stdole32.tlb and fail. * dlls/msvideo/msvideo_main.c: Waldeck Schutzer Fixed problems with finding and listing all the video compression/decompression codecs. Proper initialization of szDriver field in ICINFO by ICGetInfo. * dlls/shell32/shlview.c: Robert Shearman - Clear bits in structure passed to IOleCommandTarget_QueryStatus to show that we don't support any Exec's. - Add two Exec cases that were found during testing. * objects/gdiobj.c: Rein Klazes Allocate palette objects on the large gdi heap. * dlls/d3d8/device.c: Jason Edmeades Ensure using correct args during complement texture operations. * configure, configure.ac: Moved the IPX check so that the sys/socket.h check has already been done when we check for IPX headers. * dlls/d3d8/device.c: Jason Edmeades Restore the texture env mode on SetTexture - Fixes problem in codesampler demo. * dlls/user/tests/generated.c, include/winuser.h: Marcus Meissner Changed MONITORINFOEXA,W definition to the one in MSDN which does not cause gcc 3.3 warnings. * documentation/samples/config: Marcus Meissner Add Desktop mode for 3 known bad working InstallShield versions. * programs/wcmd/wcmdrc.rc, tools/wrc/parser.l: Dan Kegel \ at EOL in string now behaves like in msvc6's rc. * documentation/packaging.sgml: Tom Wickline Added myself to authors section. Updated last revision date. Some small updates. 2003-01-20 Alexandre Julliard * documentation/authors.ent, documentation/testing.sgml: Francois Gouget Provide very much needed recommendations on how to write good error messages. It is now possible to use windows.h in conformance tests. Adding myself to the authors list. * dlls/user/tests/sysparams.c: Francois Gouget Check for sysparams keys in either the Win9x or NT locations. This makes the test succeed on Win9x and NT4 platforms. Add a 'strict' mode which specifically makes sure that the NT location is set. In strict mode the test succeeds on Windows XP and Wine. * tools/wrc/README.wrc, tools/wrc/wrc.c, tools/wrc/wrc.h, tools/wrc/wrc.man, tools/wrc/writeres.c: Dimitrie O. Paun Remove the obsolete wrc options: -A, -T, and -t. * dlls/winmm/tests/wave.c: Francois Gouget Make sure we always know about the 48 and 96kHz formats even if they are not defined in the (old) Windows headers. * tools/winemaker: Marcus Meissner Include $prefix/include/wine/windows into the WINE include search path. wrc no longer understands -r (not needed). * dlls/dsound/tests/dsound.c: Gerald Pfeifer #include instead of the non-standard . * dlls/ddraw/d3ddevice/mesa.c: Christian Costa Handle more light states. * dlls/kernel/tests/thread.c: Francois Gouget {Get,Set}ThreadPriorityBoost are stubs on Win98. * windows/sysparams.c: Francois Gouget Extend the code to set both the Win9x and the NT registry keys. Only the NT keys are authoritative (i.e. we set the Win9x keys but don't re-read them). * dlls/comcat/.cvsignore, dlls/comcat/Makefile.in, dlls/comcat/version.rc, include/wine/wine_common_ver.rc: John K. Hohm Added optional OLESelfRegister to wine_common_ver.rc, used in dlls/comcat. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dviewport.c: Christian Costa Make D3D1..3 lights code rely on D3D7. * dlls/d3d8/device.c: Jason Edmeades Only reload the mipmap images when dirty. * dlls/advapi32/eventlog.c, dlls/advapi32/registry.c, dlls/advapi32/security.c, dlls/advapi32/service.c: Matthew Davison Remove some calls to HEAP_strdupAtoW from advapi32. * dlls/winedos/int21.c: Lawson Whitney Fix reversed hour and minute in int 21 ah=2c. 2003-01-15 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20030115. ---------------------------------------------------------------- 2003-01-15 Alexandre Julliard * controls/menu.c: Removed flag checks in SetMenuItemInfoA, NT doesn't do this. * dlls/winmm/wineoss/audio.c: Francois Gouget Warn if open_count is already 0 when OSS_CloseDevice is called. Don't decrement it in that case. * memory/global.c: Michael Stefaniuc The Minolta DiMAGE Image Viewer relies on Global{,Re}Alloc called with the GMEM_MOVEABLE flag set, to allocate the exact specified size and no byte more when size is a multiple of 8. To achieve this align the storage needed for the HGLOBAL in the heap to 8byte boundary. * dlls/dsound/mixer.c: Francois Gouget Use the same 8/16bit conversion routines as in pcmconverter.c. Reorder the two ifs in the first part of cp_fields to simplify the code. * dlls/dsound/tests/dsound.c: Francois Gouget SetFormat may not change the primary buffer format as requested. Dump the effective format and prepare the tone signal accordingly. Play tones from the secondary buffers at -3dB rather than -12dB. Always print the volume the tone is going to be played at. Remove the gamedev URL. * dlls/user/tests/sysparams.c: Francois Gouget Don't use old_spacing-1 if old_spacing already has the minimum value. * dlls/winmm/wineoss/audio.c: Francois Gouget Return MMSYS_NOERROR even if we don't open the device with the requested format, otherwise OSS_OpenDevice will not increment open_count. Use -1 to signal OSS_RawOpenDevice not to do ioctls because 0 is ambiguous (also means mono as opposed to stereo). * dlls/kernel/tests/locale.c, ole/ole2nls.c: Bill Medland Correct GetDateFormat handling of uninitialised fields: only the year, month and day fields matter; the rest may be uninitialised. * dlls/ntdll/tests/rtlstr.c: Francois Gouget ok() does not support '%S'. Store the Ansi version, convert to Unicode when needed, and print the Ansi version using ok(). Fix 'value is so large it is unsigned' warnings. * programs/wcmd/batch.c, programs/wcmd/builtins.c, programs/wcmd/wcmdmain.c: Use proper file sharing parameters when opening files. Fixed handling of 'if a == b' syntax in batch files. * dlls/commdlg/cdlg_De.rc: Juergen Schmied Translated some remaining English words. * include/winnt.h: Fixed typo. * include/msvcrt/process.h, include/windef.h: Define __stdcall in msvcrt/process.h if windef.h hasn't been included. * dlls/shlwapi/shlwapi.spec, dlls/shlwapi/thread.c: Juergen Schmied Give some functions real names. * programs/wineboot/wineboot.c: Shachar Shemesh - Added a "runCmd" function, based on Andreas Mohr's "BOOT_CreateProcess" function. - Added a function "ProcessRunKeys", to process all the keys that have the common "Run" syntax. - Called the new function from main for all the various keys. * controls/menu.c: Mike Hearn Fail SetMenuItemInfo if both MFT_BITMAP and MFT_SEPARATOR are specified (an api violation). * dlls/winspool/info.c: Stefan Leichter Make GetPrinterDriverDirectoryA pass all tests. * configure, configure.ac, dlls/winspool/Makefile.in, dlls/winspool/tests/.cvsignore, dlls/winspool/tests/Makefile.in, dlls/winspool/tests/info.c: Stefan Leichter Added tests for GetPrinterDriverDirectoryA. * dlls/shell32/clipboard.c: Robert Shearman Separate the HINSTANCEs used by GetShellOle() and other delay load functions. * dlls/dsound/dsound_main.c, dlls/dsound/primary.c, dlls/winmm/wineoss/audio.c: Francois Gouget Initialize the pwave array whenever we don't have a hardware buffer. Always create the wineoss thread. Change the mmap ERR into a TRACE: there are normal circumstances where mmap will fail and we can deal with them. * include/wine/library.h, library/ldt.c: Jeroen Janssen Fixed wine_ldt_copy importing on cygwin. 2003-01-14 Alexandre Julliard * dlls/avifil32/factory.c, dlls/comctl32/commctrl.c, dlls/comctl32/listview.c, dlls/commdlg/filedlg95.c, dlls/imagehlp/access.c, dlls/imagehlp/debug.c, dlls/imagehlp/imagehlp_main.c, dlls/kernel/tests/path.c, dlls/msacm/internal.c, dlls/msacm/msacm32_main.c, dlls/msvcrt/console.c, dlls/msvideo/msvideo_main.c, dlls/ole32/clipboard.c, dlls/richedit/richedit.c, dlls/rpcrt4/rpcrt4_main.c, dlls/rpcrt4/rpcss_np_client.c, dlls/shell32/dialogs.c, dlls/shell32/shell32_main.c, dlls/shell32/shlexec.c, dlls/shell32/shpolicy.c, dlls/shell32/tests/shlfileop.c, dlls/shlwapi/istream.c, dlls/wineps/init.c, dlls/wininet/ftp.c, dlls/winsock/tests/sock.c, dlls/winspool/info.c, memory/global.c, programs/regtest/regtest.c, programs/rpcss/np_server.c, programs/rpcss/rpcss_main.c, programs/winhelp/hlpfile.c, win32/newfns.c: Francois Gouget Remove (POINTER)NULL casts. * controls/scroll.c, windows/nonclient.c: Alberto Massari Handle the WS_EX_LEFTSCROLLBAR style (that is, draw the vertical scrollbar on the left side of the control). * dlls/d3d8/device.c, dlls/d3d8/directx.c: Raphael Junqueira - beginning of vertex matrix blending using extensions (currently alpha alpha stage as i haven't understand needed extension behavior) - modify SetRenderState for matrix blending specific params - by default diffuse color is white ;) - comments most of the traces (else flood ...) - add more urls in comments - indent, cleanups * dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/resource.c, dlls/d3d8/surface.c, dlls/d3d8/texture.c, dlls/d3d8/volumetexture.c: Raphael Junqueira Beginning of more COM compliant behavior: - AddRef/Release where needed - use IUnknown* instead void* - fix many GetDevice using AddRef - fix IDirect3DSurface8Impl_GetContainer using QueryInterface * dlls/d3d8/device.c: Jason Edmeades Copyrect should flag destination texture as dirty, to force it to be reloaded. * dlls/d3d8/device.c, dlls/d3d8/directx.c: Jason Edmeades Add support for some of the texture address states and border colour. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/shader.c: Raphael Junqueira - move input and output data in VertexShader struct - better traces - specific input data filling function for vertex shaders using vertex shader declaration (and not FVF ... maybe FVF will return for fast path with simples vertex shader declarations) - huge vertex shader fixes: - add and fix many vs (1.0->2.0) used opcodes in complex shaders - improvements to programs parser: parse comments, version, .. - add a vertex shader input filler function (parsing vertex shader declaration): almost complete - comments most of the traces (else flood ...) - add more urls in comments - indent, cleanups * configure, configure.ac, include/config.h.in, include/wine/port.h: Steven Edwards Check for vsnprintf and _vsnprintf, and define vsnprintf with _vsnprintf if needed. * documentation/authors.ent: Tom Wickline Updated authors e-mail adresses. Added my e-mail to the list. * programs/wineboot/wineboot.c: Shachar Shemesh - Added listing of what the boot process is like, listing what is and what is not (yet) done. - Fixed incorrect statement in the "bugs" list. - Added trace when everything is done. * windows/queue.c: Duane Clark Check for pending X events before getting queue status. * dlls/ole32/ole2.c: Alberto Massari - Align the cleanup phase of ReleaseStgMedium to the native API. - When the data is a bitmap or an enhanced metafile, use the correct data member. * dlls/advapi32/advapi32.spec, dlls/advapi32/service.c: Uwe Bonnes Stubs for Un|LockServiceDatabase. * dlls/dsound/sound3d.c: Rok Mandeljc Added cone support. * windows/defdlg.c: Dmitry Timoshkov Post correct notification code on WM_CLOSE for dialogs. * controls/menu.c: Robert Shearman Move internal implementation into the exported function DrawMenuBarTemp. 2003-01-13 Alexandre Julliard * dlls/advapi32/advapi32.spec, dlls/kernel/kernel32.spec, dlls/ntdll/ntdll.spec, dlls/setupapi/setupapi.spec, dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec, dlls/wintrust/wintrust.spec, files/drive.c, include/winbase.h, win32/except.c: Robert Shearman - Add some stubs. - Implement kernel32.FatalExit. * dlls/dinput/.cvsignore, dlls/dinput/Makefile.in, dlls/dinput/version.rc: Enrico Horn Add version info to dinput. * dlls/dsound/.cvsignore, dlls/dsound/Makefile.in, dlls/dsound/version.rc: Enrico Horn Add version info to dll/dsound. * dlls/user/tests/sysparams.c, windows/sysparams.c: Francois Gouget Update the registry keys of SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING and SPI_SETICONTITLEWRAP to match XP. The SPI_SETBORDER test leaves an incorect border setting and is just too erratic: comment it out for now. Modified the SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING and SPI_SETWORKAREA to not cause the icons to be reorganized. Don't test out-of-bound values for SPI_SETKEYBOARDSPEED as behavior differs accross Windows platforms. On Win9x the maximum value for SPI_SETSCREENSAVETIMEOUT is 32767. The registry keys and values stored in them for SPI_ICONHORIZONTALSPACING and SPI_ICONVERTICALSPACING depend on the Windows platform: ignore them. No Windows platform seems to SPI_SETFASTTASKSWITCH: no longer test it. The lParam of WM_SETTINGCHANGE is quite useless (even the MSDN says so!) and varies accross Windows platforms. Ignore it. Always check the SystemParametersInfoA return code as it fails in very strange ways on some platforms. Skip unsupported settings. Skip Unicode tests on platforms that don't support it. * dlls/ole32/ole2.c, dlls/ole32/ole2stubs.c: Robert Shearman Support a few trivial cases in PropVariantClear. * dlls/user/misc.c, dlls/user/user32.spec: Robert Shearman AlignRects stub. * configure, configure.ac, include/config.h.in, programs/winedbg/hash.c: Added configure check for regex.h. * documentation/packaging.sgml: Tom Wickline Added missing .so files in 3:2. Added winemaker in 3:3. Added missing .h files in 3:4. Added doc html files in 3:5. * include/msvcrt/sys/stat.h: Dimitrie O. Paun Define the (old name) struct stat, it is used by programs using the old names. * dlls/dplayx/version.rc: Enrico Horn Extend version info. * dlls/ddraw/ddraw/hal.c, dlls/ddraw/ddraw/thunks.c, dlls/ddraw/main.c: Lionel Ulmer Update the 'DIRECTDRAW7' flag according to the interface initialized. * dlls/oleaut32/tests/vartest.c, dlls/oleaut32/variant.c: Francois Gouget Fix the case of floats in VarBstrFromR4, VarBstrFromR8 and VarBstrFromCy. We cannot check for equality of floats or doubles because of rounding errors. Check equality to 14 digits for doubles. Add more precision to the expected results so that they match actual results. Print floating values with more precision so we know what went wrong. Specify the locale for all variant functions that depend on it. Added return codes for Win95. Win95 returns dates with only two digits for the year. Uncommented more VariantCopyInd and VariantChangeTypeEx tests. * dlls/advapi32/tests/registry.c: Francois Gouget Use only Ansi APIs for cleaning up the registry. Skip Unicode tests if the Unicode APIs are not implemented. If the value name buffer is too small, Win9x returns the number of characters returned as specified in the MSDN while other Windows return the number of bytes written (including the trailing '\0'). * windows/sysparams.c: Robert Shearman SPI_GETMINIMIZEDMETRICS implemented. * dlls/kernel/tests/process.c: Eric Pouech Added tests for environment variables, debug and suspend flags. 2003-01-11 Alexandre Julliard * dlls/msvcrt/scanf.h, programs/wineboot/wineboot.c: Warning fixes. * include/msvcrt/io.h, include/msvcrt/stdio.h, include/msvcrt/sys/stat.h, include/msvcrt/sys/timeb.h, include/msvcrt/sys/types.h, include/msvcrt/sys/utime.h: Dimitrie O. Paun Use inline functions instead of macros to avoid problems in C++. Inline functions respect scope, whereas macros don't. Define umask in sys/stat.h, and mode_t in sys/types.h. * programs/winedbg/dbg.y, programs/winedbg/debug.l, programs/winedbg/debugger.h, programs/winedbg/hash.c: Eric Pouech Added 'info symbol' command to look for defined symbols. * dlls/sti/sti.spec, dlls/sti/sti_main.c: Eric Pouech Added a few more stubs. * dlls/winmm/wineoss/audio.c: Francois Gouget Modify OSS_Wave{In,Out}Init to report the exact capabilities of the OSS driver. Add support for the 48kHz and 96kHz formats. * dlls/winmm/mciwave/mciwave.c: Eric Pouech Some code cleanups. Better error handling. Removed unneeded internal variables. * windows/spy.c: Print the message name for registered messages. * dlls/msvcrt/scanf.h: Fixed EOF return value for sscanf. * dlls/comcat/comcat_main.c, dlls/comcat/regsvr.c, dlls/comcat/regsvr.h: John K. Hohm Reimplemented DllRegisterServer and DllUnregisterServer in a more generally useful way, entirely in regsvr.c. Added (un)registration of interfaces. * files/file.c: Shachar Shemesh Removed the FIXMEs when performing MoveFileEx with MOVEFILE_DELAY_UNTIL_REBOOT, as wineboot will now take care of it. * programs/wineboot/Makefile.in, programs/wineboot/wineboot.c: Shachar Shemesh Implemented the "pending rename" registry processing. * tools/wpp/ppl.l: Johannes E. Schindelin Allow C++ comments after #endif. * dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.spec: Dimitrie O. Paun Create stubs for chsize, dup, and dup2. * programs/wineconsole/dialog.c, programs/wineconsole/wineconsole_De.rc, programs/wineconsole/wineconsole_En.rc, programs/wineconsole/wineconsole_Fr.rc, programs/wineconsole/wineconsole_Hu.rc, programs/wineconsole/wineconsole_Zh.rc, programs/wineconsole/wineconsole_res.h: Eric Pouech Added the GUI part for setting the edition mode flavor. * msdos/vxd.c: Eric Pouech Removed non needed include of module.h. * dlls/oleaut32/variant.c: Marcus Meissner Coerce VT_UNKNOWN <-> VT_DISPATCH, NULL is valid in these cases. Drop VT_x -> VT_x coercions, they are handled before the switch() already. * dlls/oleaut32/typelib.c: Marcus Meissner Convert VT_DISPATCH variants into VT_USERDEFINED/TKIND_DISPATCH and TKIND_INTERFACE targets, Query IID_IDispatch if necessary. * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Marcus Meissner Implemented CoGetTreatAsClass. * tools/wrc/wrc.c, tools/wrc/wrc.man: Dimitrie O. Paun Added windres compatibility switches: -v, --[no-]use-temp-file. New -h option to conform to standard practice (and MS' rc). Updated documentation, minor option parsing cleanup. * dlls/dsound/dsound_main.c, dlls/dsound/primary.c: Francois Gouget DSB.SetFormat:Trace the requested format as soon as possible in case it is not supported and simplify validity check. Initialize the buffer format, and only from the fields we checked. DirectSoundCreate8 fully initializes the buffer format (just in case). * include/msvcrt/stdlib.h: Dimitrie O. Paun Define qsort and bsearch in stdlib.h. * include/Makefile.in, include/msvcrt/dirent.h: Dimitrie O. Paun Add dirent.h header for Unix/mingw compatibility. * dlls/dsound/mixer.c: Francois Gouget Fix latent deadlock in DSOUND_callback. * dlls/msvcrt/scanf.h, dlls/msvcrt/tests/scanf.c: Mehmet Yasar - return EOF when stream is empty - conformance test updated 2003-01-10 Alexandre Julliard * tools/wpp/ppl.l: Fixed handling of trailing whitespace after #else and #endif. * programs/wineconsole/wineconsole_Zh.rc, programs/wineconsole/wineconsole_res.rc: Liu Spider Added Simplified Chinese resources. * include/Makefile.in, include/msvcrt/sys/unistd.h, include/msvcrt/unistd.h: Dimitrie O. Paun Add unistd.h files for mingw/Unix compatibility. * dlls/dsound/sound3d.c: Rok Mandeljc 3d sound diminishes with distance. * dlls/shell32/shell32_main.c: Juergen Schmied Fixed crash in winamp reported by Andreas Mohr. * dlls/shell32/classes.c: Juergen Schmied Fix recently broken GetDisplayNamesOf of names of shell extension dlls. * include/windef.h: Dmitry Timoshkov Change types of WPARAM, LPARAM and LRESULT according to MS SDK definitions. * tools/winegcc.c: Dimitrie O. Paun Support default output name (a.out); some configure scripts check for it. * files/file.c: Shachar Shemesh Set correct last error if the path contains wildcard characters. 2003-01-09 Alexandre Julliard * configure, configure.ac, dlls/oleaut32/Makefile.in, dlls/oleaut32/olepicture.c, include/config.h.in: Marcus Meissner Added GIF decompressor support to OLE Automation IPictures. * dlls/d3d8/device.c: Jason Edmeades Calculate starting position for a copyrect correctly. * programs/wineconsole/registry.c, programs/wineconsole/winecon_private.h, programs/wineconsole/wineconsole.c: Eric Pouech Added an edition mode flavor (win32/emacs...) to the console settings in the registry. * dlls/kernel/console.c, dlls/kernel/console_private.h, dlls/kernel/editline.c, include/wincon.h, include/wine/server_protocol.h, server/console.c, server/console.h, server/protocol.def, server/trace.c: Eric Pouech Set the edition mode as a specific attribute, not an extension of the console mode. * programs/winedbg/winedbg.c: Eric Pouech Removed emacs edition flavor (it's now a console attribute). * graphics/x11drv/bitblt.c: Duane Clark If bit/stretchblt source and destination DCs are the same, make sure the changes are committed before unlocking. * Make.rules.in, miscemu/Makefile.in, miscemu/main.c, tools/widl/Makefile.in, tools/winapi/Makefile.in, tools/winebuild/Makefile.in, tools/winedump/Makefile.in, tools/wmc/Makefile.in, tools/wpp/Makefile.in, tools/wrc/Makefile.in: Do not define __WINESRC__ when building tools and miscemu. * dlls/Maketest.rules.in: Remove global NONAMELESS* define for tests too. * include/oaidl.h, include/objidl.h, include/wtypes.h: Regenerated with latest widl. * Make.rules.in, include/Makefile.in: Added a few rules to rebuild idl headers. * tools/widl/header.c, tools/widl/widl.c: Ove Kaaven Declare user-marshaller prototypes for types declared with [wire_marshal]. Define __WIDL__ preprocessor macro, so Wine-specific IDL can be enclosed in #ifdef __WIDL__. Fixed a file output bug. * programs/clock/Zh.rc, programs/clock/rsrc.rc, programs/notepad/Zh.rc, programs/notepad/rsrc.rc, programs/progman/Zh.rc, programs/progman/rsrc.rc, programs/winefile/Zh.rc, programs/winefile/rsrc.rc, programs/winhelp/Zh.rc, programs/winhelp/rsrc.rc: liu spider Added Simplified Chinese resources. * dlls/shlwapi/path.c, dlls/shlwapi/tests/.cvsignore, dlls/shlwapi/tests/Makefile.in, dlls/shlwapi/tests/path.c: Matthew Mastracci Add implementation for PathCreateFromUrlW and add the start for some URL unit tests. * Make.rules.in, configure, configure.ac: Marcus Meissner Check and define AS (for cross/biarch compiler support). * configure, configure.ac: Add -gstabs+ option if supported (based on a patch by Marcus Meissner). * Make.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in, tools/wrc/wrc.c, tools/wrc/wrc.man: Dimitrie O. Paun Collapse the -hHrs options into the -O option. Generate .res files by default. * dlls/psapi/psapi_main.c: Eric Pouech Implemented GetModuleBaseName(AW), GetModuleFileNameEx(AW) and GetModuleInformation. * include/wine/server_protocol.h, dlls/kernel/toolhelp.c, server/process.c, server/protocol.def, server/request.h, server/snapshot.c, server/trace.c: Eric Pouech - no longer depend on toolhelp definitions for generating snapshots - added get_dll_info request 2003-01-08 Alexandre Julliard * include/psapi.h: Eric Pouech Added the missing APIs. * controls/combo.c, controls/listbox.c, controls/menu.c, controls/uitools.c, dlls/comctl32/comboex.c, dlls/comctl32/datetime.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/pager.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/d3d8/device.c, dlls/d3d8/surface.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/dsurface/main.c, dlls/oleaut32/olepicture.c, dlls/shell32/shlmenu.c, dlls/shell32/shlview.c, dlls/ttydrv/wnd.c, dlls/user/painting.c, dlls/user/tests/sysparams.c, dlls/user/text.c, dlls/wineps/escape.c, dlls/wineps/init.c, dlls/winmm/mciavi/wnd.c, dlls/x11drv/scroll.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/xrender.c, graphics/x11drv/bitblt.c, graphics/x11drv/text.c, include/windef.h, include/wine/debug.h, objects/clipping.c, objects/enhmetafile.c, objects/region.c, programs/winedbg/info.c, programs/winhelp/winhelp.c, windows/dce.c, windows/defwnd.c, windows/mdi.c, windows/nonclient.c, windows/painting.c, windows/spy.c, windows/sysparams.c, windows/win.c, windows/winpos.c: Dan Kegel Change RECT to use LONG to match win32 standard headers and fix format strings to use %ld for RECT elements. * dlls/user/message.c, dlls/user/msg16.c, dlls/user/user.exe.spec, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/request.h, server/trace.c, windows/message.c: Store the keyboard state in the thread input structure on the server side. * server/window.c: Removed no longer used local variable (spotted by Dmitry Timoshkov). * server/async.c: Grab the thread object in case the thread terminates with pending async requests (spotted by Andreas Mohr). * windows/win.c: Duane Clark WS_CAPTION is a two bit field, so test appropriately. * dlls/winspool/info.c: Stefan Leichter GetPrinterDriverDirectoryA: do not crash on null pointers. * dlls/user/message.c, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/user.h, server/window.c, windows/input.c, windows/message.c: Store the hardware messages in the thread input structure, not in the thread queue. Get rid of the cooked messages queue. 2003-01-07 Alexandre Julliard * programs/Makeprog.rules.in, programs/avitools/Makefile.in, programs/avitools/aviplay.c, programs/rpcss/rpcss_main.c, programs/wcmd/directory.c, programs/wineconsole/dialog.c: Defined NONAMELESSUNION/STRUCT directly in the files that need it instead of globally in the makefile. * include/tchar.h: Dimitrie O. Paun Use the standard symbol names instead of the msvcrt specific ones. * dlls/wineps/builtin.c, dlls/wineps/download.c, dlls/wineps/font.c, dlls/wineps/type1.c, dlls/wineps/type42.c, dlls/winspool/info.c, dlls/winspool/wspool.c, include/winspool.h: Francois Gouget Remove extra #include directives from winspool.h. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer - rewrote a little bit the state magagement to remove the RenderState stucture and use only the state_block code - factorize some code between interface revisions - fix some smalls bugs * dlls/winmm/wineoss/audio.c: Francois Gouget In OSS_RawOpenDevice, always retrieve the device format and store it in the OSS_DEVICE structure. Modify our internal functions so that they can be told to still open the device even if the device format is not an exact match. In wodOpen return the actual device format if the WAVE_DIRECTSOUND flag is set. Fixes DirectSound on i810 soundcards (i.e. cards supporting only 48000x16x2). * dlls/comctl32/comctl32undoc.c, dlls/comctl32/propsheet.c, dlls/comctl32/treeview.c, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/printdlg.c, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/user.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/helper.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/dsurface/hal.c, dlls/ddraw/dsurface/main.c, dlls/dplayx/dplay.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplobby.c, dlls/dplayx/name_server.c, dlls/dsound/sound3d.c, dlls/kernel/time.c, dlls/ntdll/cdrom.c, dlls/ntdll/file.c, dlls/ntdll/heap.c, dlls/ntdll/time.c, dlls/ntdll/virtual.c, dlls/ole32/antimoniker.c, dlls/ole32/clipboard.c, dlls/ole32/compobj.c, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/filemoniker.c, dlls/ole32/hglobalstream.c, dlls/ole32/itemmoniker.c, dlls/ole32/memlockbytes.c, dlls/ole32/ole2.c, dlls/ole32/ole2impl.c, dlls/ole32/ole2stubs.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/stg_bigblockfile.c, dlls/ole32/stg_stream.c, dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/oleaut32/variant.c, dlls/rpcrt4/ndr_ole.c, dlls/shell32/brsfolder.c, dlls/shell32/dataobject.c, dlls/shell32/shellstring.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shlwapi/istream.c, dlls/shlwapi/string.c, dlls/twain/dsm_ctrl.c, dlls/urlmon/umon.c, dlls/user/exticon.c, dlls/version/resource.c, dlls/winedos/int2f.c, dlls/winedos/vga.c, dlls/wineps/driver.c, dlls/wineps/init.c, dlls/wineps/ps.c, dlls/winmm/mmsystem.c, dlls/winmm/wineoss/mixer.c, dlls/winmm/winmm.c, dlls/winspool/info.c, dlls/x11drv/dga2.c, dlls/x11drv/keyboard.c, dlls/x11drv/mouse.c, dlls/x11drv/x11ddraw.c, files/drive.c, files/file.c, include/winnt.h, library/loader.c, loader/pe_resource.c, memory/heap.c, memory/virtual.c, misc/cpu.c, misc/system.c, msdos/vxd.c, scheduler/timer.c, tools/winedump/pe.c, win32/newfns.c, windows/input.c: Dimitrie O. Paun Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. * tools/Makefile.in, tools/winegcc.c: Dimitrie O. Paun Teach winegcc to produce executables directly from a bunch of source files. Create a wineg++ akin to g++. Drop support for the abused -xc++ switched. * windows/win.c: Duane Clark A window with a WS_EX_APPWINDOW extended style can also get a menu. * programs/winedbg/gdbproxy.c: Eric Pouech Fixed protocol packet handling when winedbg is too slow to answer. * programs/wineboot/wineboot.c: Shachar Shemesh - Cleaned up the code (saving on chaining strings) by CDing to the system root directory before doing anything else. - Will now rename wininit.ini to wininit.bak instead of erasing it as before. * dlls/dsound/dsound_main.c: Francois Gouget Always open the device in the default 22050x8x2 format, and let it report the actual device format to us. * dlls/winmm/wineoss/audio.c: Francois Gouget Fix the BlockSize check. * dlls/ole32/ole2.spec, dlls/ole32/ole2stubs.c: Dimitrie O. Paun Stubs for DllGetClassObject, Ole[GS]etClipboard in ole2. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c: Christoph Frick Implementation of (Get|Set)ClipPlane for d3d7. * dlls/oleaut32/tests/safearray.c, dlls/oleaut32/tests/vartest.c: Francois Gouget Many oleaut32 APIs are missing on Win95/IE3. Load them dynamically. Uncomment some 'NULL' tests as they pass on Windows and on Wine. Comment out those that crash on Win95 and indicate why they are commented out. Remove two redundant tests in vartest.c (VarI1FromBool and VarUI2FromI2, last diff hunk). * documentation/winelib-bindlls.sgml: Francois Gouget Standardize the capitalization of Wine. * tools/winapi/msvcmaker: Francois Gouget Add support for .drv extension (for winspool.drv tests for instance). * programs/wineconsole/curses.c: Eric Pouech - fixed some update problems (generic & while scrolling) - now generating key event for Ctrl-[A-Z] that our editline understands - implemented cursor visibility 2003-01-05 Alexandre Julliard * programs/winedbg/expr.c: Eric Pouech Fixed some bugs in cast operator. * dlls/oleaut32/dispatch.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/typelib.c, include/wine/obj_webbrowser.h: Fixed some issues caused by the new oaidl.h. * include/Makefile.in, include/oaidl.h, include/oaidl.idl, include/wine/obj_errorinfo.h, include/wine/obj_oleaut.h: Ove Kaaven Wrote a new oaidl.idl to replace include/wine/obj_oleaut.h and include/wine/obj_errorinfo.h. * tools/winegcc.c: Dimitrie O. Paun mingw links in comdlg32, shell32, and advapi32 by default. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Factorize the 'ortho' code (will be needed later on). * dlls/ddraw/ddraw/main.c: Lionel Ulmer Ignore the LPSURFACE bit if ALLOCONLOAD is set. * documentation/architecture.sgml, documentation/debugger.sgml, documentation/fonts.sgml, documentation/implementation.sgml, documentation/multimedia.sgml, documentation/ole.sgml, documentation/packaging.sgml, documentation/porting.sgml, documentation/printing.sgml, documentation/winelib-bindlls.sgml, tools/bug_report.pl: Francois Gouget Standardize the capitalization of Wine. * programs/clock/Da.rc, programs/clock/De.rc, programs/clock/En.rc, programs/clock/Es.rc, programs/clock/Fi.rc, programs/clock/Fr.rc, programs/clock/Pt.rc, programs/clock/Sk.rc, programs/clock/Sw.rc, programs/clock/Wa.rc, programs/notepad/Da.rc, programs/notepad/De.rc, programs/notepad/Es.rc, programs/notepad/Fi.rc, programs/notepad/Fr.rc, programs/notepad/Pt.rc, programs/notepad/Si.rc, programs/notepad/Sk.rc, programs/notepad/Sw.rc, programs/notepad/Wa.rc, programs/progman/En.rc, programs/progman/Fr.rc, programs/winhelp/Da.rc, programs/winhelp/De.rc, programs/winhelp/En.rc, programs/winhelp/Es.rc, programs/winhelp/Fi.rc, programs/winhelp/Fr.rc, programs/winhelp/Hu.rc, programs/winhelp/It.rc, programs/winhelp/Ko.rc, programs/winhelp/Pt.rc, programs/winhelp/Sw.rc, programs/winhelp/Va.rc, programs/winhelp/Wa.rc: Shachar Shemesh Change the SUBLANG_NEUTRAL clause in all winelib applications to SUBLANG_DEFAULT, as they should be. * server/console.c: Eric Pouech - Fixed several bugs while resizing an existing screenbuffer. - Reduced update area for some write conditions. - Started implementing event message collapsing. * tools/winewrap.c: Dimitrie O. Paun Pass -l's that are not .dll's or .a's to the linker. * tools/winegcc.c: Dimitrie O. Paun - Define the standard __WINE__ and __WIN32__ macros. - Map -luuid to -lwine_uuid, in Unix -luuid does something else. * include/docobj.h, include/ocidl.h: Ove Kaaven Include oaidl.h instead of wine/obj_oleaut.h. * include/oleidl.h: Ove Kaaven Temporarily include objbase.h from oleidl.h. Removed inclusion of obj_errorinfo.h. * dlls/oleaut32/variant.c: Ove Kaaven Avoid direct ICOM_CALL usage. * include/oleauto.h, include/wine/obj_oleaut.h, ole/dxguid.c: Ove Kaaven Moved a couple of definitions from include/wine/obj_oleaut.h to include/oleauto.h. * Makefile.in: Christoph Frick Creation of a tags file with the ctags tool. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/mesa.c: Lionel Ulmer - fix in the GetHandle method - factorize some code between D3D1/2/3 and D3D7 - fix reference counting for palettes * dlls/ole32/Makefile.in, dlls/ole32/ifs.h, dlls/ole32/memlockbytes.c, dlls/ole32/ole2.spec, dlls/ole32/storage.c, dlls/ole32/storage.spec: Marcus Meissner ole2nls.c is a 16bit only. No need to define ICOM macros for 16bit iface IMalloc16. Define and implement HGLOBAL_LockBytes16. Started on StgOpenStorageOnILockBytes. * include/wine/winbase16.h: Marcus Meissner Added several missing K32WOW* prototypes. * dlls/oleaut32/tests/safearray.c: Francois Gouget The vt field should be a VARTYPE not a VARENUM. * dlls/user/tests/sysparams.c: Francois Gouget Fix signed/unsigned compilation warnings. 2003-01-04 Alexandre Julliard * configure, configure.ac, programs/Makefile.in, programs/wineboot/.cvsignore, programs/wineboot/Makefile.in, programs/wineboot/wineboot.c: Shachar Shemesh Initial wineboot implementation; at this stage only wininit.ini processing has been written. * dlls/dsound/sound3d.c: Rok Mandeljc - 3d buffers produce sounds - some other small fixes * dlls/dsound/sound3d.c: Rok Mandeljc - cleaned *Set* functions - added initial code for 3d buffer recalculating - added some auxiliary functions * Make.rules.in, dlls/Makedll.rules.in, include/mmddk.h, include/mmsystem.h, include/oaidl.h, include/objbase.h, include/objidl.h, include/objidl.idl, include/ocidl.h, include/oleidl.h, include/prsht.h, include/rpc.h, include/rpcdce.h, include/rpcproxy.h, include/shlwapi.h, include/tchar.h, include/winbase.h, include/windef.h, include/windows.h, include/wine/debug.h, include/wine/obj_control.h, include/wine/obj_inplace.h, include/winnt.h, include/winsock.h, include/winternl.h, include/wownt32.h, include/wtypes.h, include/wtypes.idl, library/Makefile.in, miscemu/Makefile.in, ole/Makefile.in, server/Makefile.in, tools/widl/Makefile.in, tools/winapi/Makefile.in, tools/winapi/msvcmaker, tools/winebuild/Makefile.in, tools/winedump/Makefile.in, tools/wmc/Makefile.in, tools/wpp/Makefile.in, tools/wrc/Makefile.in, unicode/Makefile.in: Dimitrie O. Paun Rename __WINE__ to __WINESRC__. * dlls/comctl32/imagelist.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, include/commctrl.h, include/d3d8types.h, include/msvcrt/eh.h, include/msvcrt/stdio.h, include/msvcrt/stdlib.h, include/winbase.h, include/wine/exception.h: Removed a few more #ifdef __WINE__. * include/winnt.h: Dimitrie O. Paun Enable nameless structures in C++ for gcc >= 3.x (discovery and testing done by Dan Kegel). * tools/winegcc.c: Dimitrie O. Paun Pass only the -o -l -L options to winewrap, ignore the rest. 2003-01-03 Alexandre Julliard * tools/winemaker: Removed a couple of no longer used tests in the generated configure script. * dlls/winmm/tests/wave.c: Gerald Pfeifer #include instead of the non-standard . * dlls/ddraw/d3ddevice/main.c: Lionel Ulmer Enable Z buffer by default. * include/mmsystem.h: Francois Gouget Added TIME_KILL_SYNCHRONOUS. * tools/winegcc.c: Dimitrie O. Paun Properly handle the -M switch. * tools/winewrap.c: Dimitrie O. Paun Properly link agains .a files using the -l switch. Support more verbose output. * dlls/d3d8/device.c: Jason Edmeades Added basic support for mipmaping, verified using sample from codesampler.com. * dlls/d3d8/device.c: Jason Edmeades - Use faster vertex arrays (rather than processing vertexes one by one), whenever possible. - Less trace in the slower form by default. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - some fixes / optimisations in the color keying code - minimize at the maximum texture uploads * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/mesa.c: Lionel Ulmer - re-activate the color-keying code - fix yet again texture enumeration to please all games :-/ * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c: Christian Costa Reenable device's default render states initialization. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Fix order of texture enumeration to fix yet another set of dumb games. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/main.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Christian Costa Beginning of state block. Initialize the device with the right D3D default values. Implements GetRenderState, GetTextureStageState and GetLightState. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - hack for one case of the ProcessVertices case - some changes in the execute buffer to reuse the new Matrix code - always reinitialize the enumeration structures in case some games modify them - added support for the (unused) Reserved1 field in the FVF formats - fix 32 bit texturing and added more checks - remove some useless and annoying fixme * dlls/ddraw/d3d_private.h, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - create a function to set the various transformation matrices to factorize the code between the various code path - fixed some logging stuff * dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/d3ddevice/main.c: Lionel Ulmer - more thunking in the D3DVertexBuffer COM object - added 'support' for GetInfo * dlls/ddraw/d3dcommon.c, dlls/ddraw/mesa.c, dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer - light improvements - misc. fixes * tools/winewrap.c: Dimitrie O. Paun Simplify the code for the generated wrapper. Miscellaneous small cleanups. * dlls/avicap32/avicap32_main.c, dlls/avifil32/acmstream.c, dlls/avifil32/api.c, dlls/avifil32/avifile.c, dlls/avifil32/extrachunk.c, dlls/avifil32/factory.c, dlls/avifil32/getframe.c, dlls/avifil32/icmstream.c, dlls/avifil32/wavfile.c, dlls/comcat/comcat_private.h, dlls/comctl32/animate.c, dlls/commdlg/cdlg.h, dlls/commdlg/filedlgbrowser.h, dlls/dplayx/Makefile.in, dlls/msvideo/mciwnd.c, dlls/msvideo/msrle32/msrle_private.h, dlls/msvideo/msvideo16.c, dlls/msvideo/msvideo_private.h, dlls/ole32/Makefile.in, dlls/ole32/compositemoniker.c, dlls/oleaut32/Makefile.in, dlls/oledlg/oledlg_main.c, dlls/olepro32/olepro32stubs.c, dlls/rpcrt4/Makefile.in, dlls/shdocvw/shdocvw.h, dlls/shdocvw/shdocvw_main.c, dlls/shell32/Makefile.in, dlls/shlwapi/ordinal.c, dlls/shlwapi/string.c, dlls/urlmon/umon.c, dlls/winmm/mciavi/private_mciavi.h, dlls/x11drv/event.c, include/comcat.h, include/docobj.h, include/mapicode.h, include/mapidefs.h, include/mediaobj.h, include/oaidl.h, include/ocidl.h, include/ole2.h, include/oleidl.h, include/servprov.h, include/urlmon.h, include/wingdi.h, include/winnls.h, include/winuser.h, ole/dx8guid.c, ole/dxguid.c, ole/uuid.c: Dimitrie O. Paun Eliminate lots of __WINE__ conditionals from the headers. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h, include/d3d.h: Lionel Ulmer - some additionnal flags logged - fixes in the vertex buffer thunking + optimized flag support * dlls/user/tests/win.c: Francois Gouget Win9x does not support {Get,Set}WindowLongW. Use the Ansi version instead since it won't impact _these_ tests anyway. * dlls/ntdll/debugtools.c, include/wine/debug.h, include/wine/library.h, library/debug.c: Added wine_dbg_sprintf function that allocates a temporary buffer in the per-thread strings area. Added inline functions to format POINT, SIZE and RECT structures. * dlls/shell32/shellole.c, include/shlobj.h: Dimitrie O. Paun SHGetMalloc() returns a HRESULT, not a DWORD. * include/msvcrt/stdlib.h: Dimitrie O. Paun Define NULL if it's not defined already. * dlls/comctl32/propsheet.c: Lionel Ulmer Check the value of the pfnCallback in addition to the callback bit. * tools/winewrap.c: Dimitrie O. Paun Support outputing files to a different directory than pwd. Small cleanups. * tools/winapi/winapi_cleanup, tools/winapi/winapi_cleanup_options.pm, tools/winapi_check/nativeapi.pm: Patrik Stridvall Added --include-quotes option that fixes #include to use the correct of <> and "". * dlls/winspool/info.c: Stefan Leichter Moved implementation of GetPrinterDriverDirectory from ascii to unicode. * dlls/comctl32/listview.c: Chris Morgan Listview should scroll by at least one column, fixes bug where item being wider than listview prevents any scrolling from occuring. Added printing of the scroll code text during tracing of scroll functions. * dlls/shell32/shlexec.c: Dan Kegel ShellExecute(NULL, "wordpad.exe",) now correctly finds wordpad.exe in App Paths. * dlls/kernel/kernel32.spec: Dominik Strasser Implement VerSetConditionMask by forwarding to ntdll. * dlls/ntdll/tests/rtlstr.c: Francois Gouget Call lstrcmpW rather than wcscmp. 2003-01-02 Alexandre Julliard * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/safearray.c, dlls/oleaut32/tests/Makefile.in, dlls/oleaut32/tests/safearray.c, include/oleauto.h, include/wine/obj_oleaut.h: Marcus Meissner Implemented SafeArray{SetIID,GetIID,SetRecordInfo,GetRecordInfo}. Added support for FADF_HAVEIID, FADF_RECORD, FADF_HAVEVARTYPE. Implemented SafeArrayAllocDescriptorEx and SafeArrayGetVarType correctly. Fixed second argument of SafeArrayCopyData (it is just SAFEARRAY*). Changed allocation to include 16 bytes before the SAFEARRAY (to store IID/VARTYPE/IRecordInfo*). VARTYPE -> size array was not indexed correctly. Added lots of testcases for most functionality. Added IRecordInfo interface definition. * dlls/oleaut32/variant.c: Marcus Meissner Handle VT_ERROR->VT_I4/VT_R4 coercion. VariantCopy does not need to check the return of VariantClear. VariantCopyInd now copies VT_UNKNOWN and VT_DISPATCH too. VarCmp handles VT_BOOL. VarFormat handles VT_BSTR. coerce_array fixed for VT_ARRAY|VT_UI1 -> VT_BSTR and VT_ARRAY|x -> VT_SAFEARRAY cases. VarCat tries to coerce types into VT_BSTR to do cat. * dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h: Marcus Meissner Process TKIND_ALIAS in SLTG typelibs, 0x14 in the tail is the tdescAlias.vt entry. Added a small handler for TKIND_DISPATCH in SLTG. ITypeLib_Release can have a NULL pointer as ITypeInfo*. Split out _copy_arg function for both DispCall and ITypeInfo_fnInvoke, added some more functionality. ITypeInfo_fnInvoke can handle VT_USERDEFINED variants. * dlls/dsound/tests/dsound.c: Francois Gouget Add the ability of playing a test tone when in interactive mode. Test both primary and secondary buffers. * dlls/wininet/internet.c: Alberto Massari - Implemented InternetCrackUrlW and re-implemented InternetCrackUrlA by using the Unicode version. - InternetCrackUrlW now parses URL having the "about" and "res" schemes. * tools/winegcc.c: Dimitrie O. Paun Added C++ support & small cleanups. * tools/winewrap.c: Dimitrie O. Paun Support C++ linking with a new -C switch. Modify the app launcher to pass all options but --debugmsg and --dll to the app. Link the wrapper against all of the app's libs. Drop support for passing the dll names to the launcher. * dlls/ddraw/dsurface/dib.c: Lionel Ulmer Fix for stupid applications reading some bytes after the end of the surface memory. * dlls/ddraw/mesa.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/direct3d/mesa.c: Lionel Ulmer - added enumeration of the Reference device (some games seems to need it to work and they want it enumerated first..) - some comments about potential problems with Z masking * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Added support for per-vertex material properties. * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/main.h, dlls/ddraw/d3ddevice/mesa.c: Christian Costa Reimplemented SwapTextureHandles. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/mesa.c: Lionel Ulmer - removed some useless WARNs - fixed backface culling and material settings * dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/d3dviewport.c: Christian Costa Fix IDirect3DVertexBuffer interface. Implements GetVertexBufferDesc. Remove some useless FIXME. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - beginning of Material and Light support for D3D7 - new rendering states supported * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Fixed texturing. * dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - allow application to load palette-less textures - handle palette change of loaded textures - some changes in the ExecuteBuffer * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - added some tracing in the fake ZBuffer methods - added support for the DEPTH_FILL BLT - set by defaut perspective correction to nicest. - decrease the limit where 'w' is ignored * dlls/ddraw/mesa.c: Lionel Ulmer Added some blend states. * dlls/ddraw/mesa.c: Christian Costa Handle more blend states. * dlls/ddraw/d3dvertexbuffer.c: Lionel Ulmer Prevent memory leak in freeing of the VertexBuffer. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Implement GetTransform and rework a bit the matrices storage. * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/main.h, dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer - implemented GetTexture - semi-stubbed ValidateTexture - fixed some errors in logging * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/dib.c: Lionel Ulmer Added 'blt' and 'bltfast' override functions. * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/d3ddevice/main.h, dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Added 'emulated' VertexBuffer support. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/helper.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - do not use the alpha coordinates when ALPHABLEND is disabled - disable fogging in the XYZRHW case - various other small fixes * dlls/ddraw/d3dtexture.c: Lionel Ulmer Factorize some code in the texture uploading function. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Handle texture addressing the D3D7 way. * dlls/ddraw/d3dtexture.c: Lionel Ulmer Prevent lock-up in paletted texture with no palette case. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Enable the application to create first textures and then the D3D device. * configure, configure.ac, dlls/Makefile.in, dlls/ctl3d/.cvsignore, dlls/ctl3d/Makefile.in, dlls/ctl3d/ctl3d.c, dlls/ctl3d/ctl3d.spec, dlls/ctl3d/ctl3d32.c, dlls/ctl3d/ctl3d32.spec, dlls/ctl3d/ctl3dv2.spec, dlls/user/user32.spec: Dmitry Timoshkov Added ctl3d, ctl3dv2 and ctl3d32 API implementations. * tools/winebuild/winebuild.man.in, tools/wrc/wrc.man: Updated for recent options changes. * dlls/crtdll/crtdll_main.c, dlls/d3d8/shader.c, dlls/d3dx8/d3dx8_main.c, dlls/msvcrt/msvcrt.spec, dlls/winmm/winejack/audio.c, include/d3dx8core.h: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winemaker: Jeff Smith Several improvements and corrections, foremost being correcting wrc flags and shared object file naming. * tools/winapi/win16.api, tools/winapi/win32.api, tools/winapi/winapi.pm, tools/winapi_check/modules.dat, tools/winapi_check/winapi_check, tools/winapi_check/winapi_local.pm: Patrik Stridvall - API files update. - Minor improvement and bug fixes. * dlls/commdlg/filedlg95.c, include/wine/unicode.h: Alberto Massari Moved implementation of strpbrkW from filedlg95.c to wine/unicode.h. * dlls/kernel/kernel32.spec, files/file.c: Alberto Massari Add stub implementation for ReplaceFile. * tools/winewrap.c: Dimitrie O. Paun Add support for wrapper generation to winewrap. Quite a few micro cleanups, code should be simpler to follow. * tools/winegcc.c: Dimitrie O. Paun Compile with WINE_UNICODE_NATIVE defined, essential for C++. New -V option to display the version. Do not link -lc, screws up linking, just get the default. * dlls/kernel/windebug.c, dlls/winedos/int16.c, dlls/winedos/int2f.c, dlls/winedos/module.c, dlls/winedos/xms.c, memory/global.c, tools/fnt2bdf.c: Eric Pouech Removed unused #include of module.h. * dlls/d3d8/d3d8.spec, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/shader.c, include/d3d8.h, include/d3d8types.h: Raphael Junqueira - integration with DrawPrimitive - remove non-esthetic c++ comments into c comments block ;) - more more debug - indent, cleanups - trying to use DIFFUSE and SPECULAR for vertex shader - many fixes - integration with Jason's texture patch * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Some clean-ups after the DrawPrimitive rewrite. * dlls/ddraw/ddraw/main.c: Lionel Ulmer Fix crash in GetAvailableVidMem function when TRACE is activated. * dlls/winmm/lolvldrv.c, dlls/winmm/message16.c, dlls/winmm/winemm.h: Eric Pouech When unmapping a (wave|midi)-header unprepare message, make sure the unpreparation was successful. * dlls/msvideo/drawdib.c: Eric Pouech Fixed some nasty bugs in drawdib creation/deletion. * dlls/devenum/devenum.spec, dlls/devenum/devenum_main.c, dlls/qcap/qcap.spec, dlls/qcap/qcap_main.c, dlls/quartz/main.c, dlls/quartz/quartz.spec: Dominik Strasser Some stubs for dll setup needed by IE6 setup. * dlls/oleaut32/oleaut.c, dlls/oleaut32/olepicture.c: Marcus Meissner Support DllGetClassObject of CLSID_StdPicture. PICTYPE_NONE has width/height 0. * dlls/comctl32/animate.c: Rein Klazes Let ANIMATE_OpenA return FALSE (= failure) upon a request to close a previously opened AVI clip when there isn't one. * tools/bug_report.pl: Andreas Mohr Increment log output from 200 lines to 3000 lines. Added Win XP as a listed Windows version. * dlls/cabinet/cabextract.c: Gerald Pfeifer Fix off_t cast that breaks FreeBSD. * dlls/winmm/tests/wave.c, include/wine/test.h: Francois Gouget Add support for WINETEST_INTERACTIVE. If set then tests can perform additional explicitly interactive tests. Modify the winmm test to use WINETEST_INTERACTIVE. * dlls/ole32/bindctx.c: Alberto Massari IBindCtx::RegisterObjectParam is supposed to replace the old value if the key is already registered. * dlls/comctl32/imagelist.c, dlls/comctl32/imagelist.h: Duane Clark Validate imagelists with christmas magic. * dlls/ntdll/error.c, dlls/ntdll/tests/error.c: Francois Gouget Fix mapping of STATUS_DEVICE_NOT_CONNECTED to match XP. Fixed the prototype of statustodoserror to make the test work on NT4. Added alternate return values to make the test work on Win98. Check whether RtlNtStatusToDosError ismissing to make the test work on Win95. Added a strict option to cause the test to only accept the standard mapping. * dlls/oleaut32/tests/vartest.c: Francois Gouget Remove unnecessary sprintf calls. * tools/winebuild/main.c: Dimitrie O. Paun Add the -F option to set a DLL's filename. * programs/wcmd/directory.c, programs/wcmd/wcmdmain.c: Chris Morgan Default to $P$G prompt. Make width of date 10 characters to align date column with DATE_SHORTDATE format. * dlls/kernel/tests/locale.c: Chris Morgan Use the locale id we created instead of the system or user default, otherwise some tests are broken on systems where things aren't english/us. * dlls/oleaut32/tests/safearray.c: Francois Gouget Fix signed/unsigned warnings. 2002-12-24 Alexandre Julliard * configure, configure.ac: Fixed quoting in INSTALL check. * dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/mouse/main.c: Pass the correct instance when installing the mouse hook (spotted by Lionel Ulmer). * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - actually use the background color when Clear-ing - replace glOrtho by a hand-built matrix - fix applications doing SetTransform + using XYZRHW vertices * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/mesa.c: Lionel Ulmer - factorize Clear method between Viewport and Device - some more rendering states handled * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c: Lionel Ulmer Support viewports the D3D7 way. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Added some stencil / D3DDevice7 capabilities. * DEVELOPERS-HINTS, README, documentation/README.fr, documentation/bugs.sgml, documentation/configuring.sgml, documentation/faq.sgml: Jeff Smith Updated directory info in DEVELOPERS-HINTS, and IRC info in several documents. * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/main.h, dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer Combine texturing for D3D3 and 7 by thunking 3 to 7. * dlls/oleaut32/tests/vartest.c: Francois Gouget Move the test strings into their own array and convert them to unicode using a for loop. This lets us later print the offending string when a test fails. Fix the MSVC compilation error (XXXe183) and warnings (put suffixes as in 0L & 1.0F, signed/unsigned warnings, s/-2147483648/0x80000000L/). Uncomment the DateFromStr tests and fill in the todo fields where appropriate. Define an NB_OLE_STRINGS macro and use it to make sure all the arrays have the right number of fields. In the *FromStr loops, fill the return field with a dummy value (42) before calling the conversion function. This way a test no longer depends on whether the previous test failed or not! If a test is expected to fail, then retval is meaningless -> omit it from the result arrays. If a test actually fails or was expected to fail, then there is no point in checking retval. Improve error reporting. Pass the printf-style format directly to ok, remove the unnecessary sprintfs. * dlls/ddraw/d3dcommon.c: Lionel Ulmer Dump new D3D7 rendering states. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer - factorize the D3D1/2 draw_primitive code with the new strided function - rewrote a little bit this strided function to always use the static functions * configure, configure.ac: Make sure INSTALL path is relative to the top dir when using the script in tools/. * dlls/winspool/info.c: The name of the driver should be the 16-bit one in case the app tries to load it. * dlls/rpcrt4/cpsf.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpcrt4_main.c, dlls/rpcrt4/tests/rpc.c, include/rpcdce.h: Dimitrie O. Paun Fix definitions for Uuid{To,From}String, RpcStringFree. * include/commctrl.h: Dimitrie O. Paun Fix the defintion of {,LP}NM_TREEVIEW{A,W}. * include/winerror.h: Francois Gouget Add a couple missing macros. * dlls/ddraw/d3ddevice/main.c: Christian Costa Remove useless FIXMEs since there is nothing to do in BeginScene and EndScene. * dlls/ddraw/d3ddevice/mesa.c: Christian Costa Update and clean-up draw_primitive_strided_7. Make draw_primitive_7 based on draw_primitive_strided_7. 2002-12-23 Alexandre Julliard * dlls/ddraw/d3dtexture.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/dsurface/dib.c: Lionel Ulmer - fix mipmap texture creation - some logging improvements * dlls/ddraw/dsurface/main.c, dlls/ddraw/mesa.c: Lionel Ulmer - fix small TRACE bug introduced in a previous patch - add WRAPU / WRAPV warning * dlls/Makefile.in, dlls/wineps/.cvsignore, dlls/wineps/Makefile.in, dlls/wineps/wineps16.drv.spec, dlls/wineps/wineps16.spec: wineps16.dll should be named .drv. * dlls/winmm/lolvldrv.c, dlls/winmm/message16.c, dlls/winmm/wineoss/mixer.c, dlls/winmm/wineoss/wineoss.drv.spec, documentation/multimedia.sgml: Jeff Smith Correct all instances of mixMessage to mxdMessage. * tools/winewrap.c: Dimitrie O. Paun Add support for library path (-L). Add support for linking against static libs. Ignore -W for gcc compatibility. * dlls/ddraw/dsurface/main.c: Lionel Ulmer Have the 'Lock' warning a bit clearer. * dlls/ddraw/ddraw/main.c: Lionel Ulmer Report that we do not support compressed texture yet. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer - fix returning of capabilities in FindDevice - fill properly some caps according to what OpenGL can do * dlls/oleaut32/variant.c: Marcus Meissner VariantChangeTypeEx for VT_ARRAY | type style variants. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/safearray.c, dlls/oleaut32/tests/.cvsignore, dlls/oleaut32/tests/Makefile.in, dlls/oleaut32/tests/safearray.c: Marcus Meissner Fixed VarBstrCmp/Cat .spec entries. Started regression test for SafeArray functions. Fixed SafeArrayAllocDescriptor (check bounds, set cDims). Fixed VARTYPE_SIZE array entries so it matches native. * dlls/comctl32/listview.c: Duane Clark Report mode padding tweaks. Fix to LISTVIEW_GetSubItemRect. * dlls/oleaut32/dispatch.c, dlls/olecli/olecli_main.c, dlls/olesvr/olesvr_main.c, include/ole.h, include/windows.h: Get rid of ole.h. * include/Makefile.in, include/objbase.h, include/unknwn.h, include/unknwn.idl, include/wine/obj_base.h: Ove Kaaven Merge the rest of include/wine/obj_base.h into include/objbase.h. * dlls/comcat/comcat.h, dlls/comcat/comcat_main.c, dlls/comcat/comcat_private.h, dlls/comcat/factory.c, dlls/comcat/information.c, dlls/comcat/manager.c, dlls/comcat/register.c, dlls/ole32/ifs.h, dlls/shell32/enumidlist.c, include/comcat.h: Removed some remaining references to wine/obj_base.h. * files/drive.c: Uwe Bonnes DRIVE_Init: Use strtoulW to initialize the drive serial number. * programs/wineconsole/curses.c, programs/wineconsole/winecon_private.h, programs/wineconsole/wineconsole.c: Eric Pouech Fixed several bugs: - wrong drawing for chars outside the 20-7F range - console mouse event generation - console Alt-? char event generation Prefix for curses functions is now WCCURSES_ instead of WCCURSE_. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c: Jason Edmeades Query opengl to ensure it supports multitexture, and honour the number of supported texture units. Especially important for NVidia drivers which only support 2 texture units. * dlls/ddraw/direct3d/main.c: Lionel Ulmer Fix Direct3D2 => Direct3D3 thunk for FindDevice. * include/dinput.h, include/oaidl.h: Ove Kaaven Where ICOM macros are needed, include objbase.h. * include/oleauto.h: Dimitrie O. Paun Added missing GetActiveObject declaration. * include/shlobj.h: Dimitrie O. Paun Added missing LPDROPFILES definition. * include/wingdi.h: Dimitrie O. Paun DEVMODE structure uses short not SHORT for its fields. 2002-12-19 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20021219. ---------------------------------------------------------------- 2002-12-19 Alexandre Julliard * tools/winebuild/import.c: Don't ignore sprintf/sscanf imports, semantics are not exactly the same on Windows. * dlls/msvcrt/scanf.h, dlls/msvcrt/tests/scanf.c: Handle unknown format chars correctly (spotted by György 'Nog' Jeney) and added test for it. Removed unneeded _L_ macro. * documentation/patches.sgml: Tony Lambregts More information on style and format of patches. * Make.rules.in, library/Makefile.in, unicode/Makefile.in: Removed unnecessary --add-stdcall-alias flag. * tools/.cvsignore, tools/Makefile.in, tools/mingwrap.c, tools/winegcc.c: Renamed mingwrap to winegcc. Removed -DWINE_DEFINE_WCHAR_T. * tools/wpp/wpp.c: Tapio Kautto Fix for missing ppdebug variable. * dlls/ole32/bindctx.c, dlls/ole32/ftmarshal.c, dlls/ole32/ifs.c, dlls/ole32/marshal.c, dlls/ole32/ole16.c, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c: Fixed a few problems caused by the new objidl.idl. * include/wingdi.h: Dimitrie O. Paun Added missing GetWinMetaFileBits() declaration. * include/Makefile.in, include/objidl.h, include/objidl.idl, 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: Ove Kaaven Wrote a new objidl.idl to replace a number of include/wine/obj_*.h files. * dlls/cabinet/Makefile.in, dlls/cabinet/cabextract.c, dlls/cabinet/cabinet.h, dlls/cabinet/cabinet.spec, dlls/cabinet/cabinet_main.c, dlls/cabinet/fdi.c, dlls/urlmon/Makefile.in, dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec, winedefault.reg: Greg Turner - port cabextract to wine - implement cabinet.dll.Extract, urlmon.dll.Extract - add SP6a registry key to winedefault.reg * dlls/ntdll/tests/rtlstr.c: Avoid some warnings. * dlls/x11drv/keyboard.c: Mauro Carvalho Chehab Included a specific ABNT-2 scan and vkey tables, and an ABNT-2 keyboard with key codes. * include/wine/obj_misc.h, include/wine/obj_storage.h, include/wtypes.h, include/wtypes.idl: Ove Kaaven Moved a couple of types from include/wine/obj_*.h to include/wtypes.idl. * include/commctrl.h: Dimitrie O. Paun Fix defines for LV_ITEM, LV_DISPINFO, and LV_FINDINFO. * dlls/kernel/tests/format_msg.c: Francois Gouget On Win9x "hi\n" gives us "hi\r\n". * include/winnt.h: Dimitrie O. Paun Add definitions for N[W]PSTR. Add a bunch of SE_* definitions. * dlls/kernel/tests/locale.c: Chris Morgan Add additional tests for GetTimeFormat() and GetDateFormat(). Uncomment wine_todo tests that now succeed with fixes to GetTime/DateFormat(). * include/winnls.h, ole/ole2nls.c: Chris Morgan GetDateFormat() and GetTimeFormat() should check the validity of the time/date structure it is processing. Add comments to describe flags behavior. Add support for TIME_FORCE24HOURFORMAT, TIME_NOMINUTESORSECONDS, TIME_NOSECONDS and TIME_NOTIMEMARKER. Add check in GetDateFormatW() for invalid flag combinations. Added some missing DATE_* defines to winnls.h. Behavior verified against NT4.0. * dlls/msvcrt/ctype.c, dlls/msvcrt/data.c, dlls/msvcrt/dir.c, dlls/msvcrt/environ.c, dlls/msvcrt/file.c, dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/scanf.c, dlls/msvcrt/scanf.h, dlls/msvcrt/wcs.c: Use MSVCRT_wchar_t instead of WCHAR so that the implementation matches the prototypes. * tools/wmc/mcy.y: Avoid referencing potentially freed token. * dlls/shlwapi/path.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/url.c: Robert Shearman Implemented UrlCreateFromPath[AW] and slightly related PathCreateFromFileA. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Chris Morgan Stub for GetSecurityInfoExW(). * include/Makefile.in, include/accctrl.h: Added accctrl.h header. * tools/wrc/parser.y, tools/wrc/wrc.c, tools/wrc/wrc.h: Dimitrie O. Paun Remove the -L wrc option, as no automatic fudging of filenames can ever be correct. * include/winuser.h, windows/painting.c: Dimitrie O. Paun UpdateWindow returns a BOOLean. * dlls/ddraw/d3dtexture.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/helper.c: Lionel Ulmer Added surface dumping function for debug. * dlls/kernel/kernel32.spec, dlls/kernel/time.c: Martin Fuchs Implementation of SystemTimeToTzSpecificLocalTime() and TzSpecificLocalTimeToSystemTime(). * dlls/shell32/shell32_main.h, dlls/shell32/shfldr_fs.c, dlls/shell32/shlfileop.c, dlls/shell32/shres.rc, dlls/shell32/shresdef.h: Rolf Kalbermatter Introduced some declarations and resources needed for a more complete implementation of SHFileOperation. * ole/ole2nls.c: Alberto Massari CompareStringW should return 0 when one of the provided strings is a NULL pointer. * dlls/user/dde/client.c, dlls/user/dde/misc.c, include/ddeml.h: LPCONVCONTEXT should be PCONVCONTEXT (spotted by Dimitrie O. Paun). Same for LPHSZPAIR and LPCONVINFO. * dlls/ole32/antimoniker.c, dlls/ole32/compositemoniker.c, dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c, dlls/ole32/moniker.h, include/wine/obj_moniker.h: Ove Kaaven Moved some definitions from include/wine/obj_moniker.h to dlls/ole32/moniker.h. * documentation/wine.man.in: Uwe Bonnes Fixed typo. * dlls/netapi32/tests/access.c, dlls/netapi32/tests/apibuf.c, dlls/netapi32/tests/wksta.c: Francois Gouget On Win9x netapi32.dll does not export a single API so we do a GetProcAddress for each of them and skip the tests when necessary. On Win9x GetUserNameW and GetComputerNameW are stubs. Improve error reporting in access.c. * dlls/kernel/tests/alloc.c, include/winbase.h: Francois Gouget Declare LocalDiscard and GlobalDiscard (used by kernel/tests/alloc.c) Remove the DISCARD_DEFINED #ifdefs. Remove another double HeapFree (caused an assert when run on NT4), and a HeapSize on a freed heap (the test failed on Win9x). Fix the LocalLock/LocalUnlock tests (the memory must be allocated with LMEM_MOVEABLE otherwise the tests don't make sense). Remove many unnecessary casts. Improved error reporting somewhat. 2002-12-18 Alexandre Julliard * dlls/kernel/tests/format_msg.c: Francois Gouget Improve error reporting. * dlls/kernel/tests/path.c: Francois Gouget All filenames containing a ":" are invalid on Win9x and 2000 but are valid on NT4 -> remove these tests. * dlls/kernel/tests/process.c: Francois Gouget #ifdef-out decodeW since it is not used yet. Fix the lpDesktop and lpTitle checks on NT platforms. * dlls/user/tests/wsprintf.c: Francois Gouget wsprintfW is not supported on Win9x platforms. wsprintf{A,W}Test should be void. Improve error reporting. Remove unnecessary #includes. * dlls/shlwapi/tests/clist.c, dlls/shlwapi/tests/shreg.c: Francois Gouget Fix signed/unsigned warnings. * include/wtypes.h, include/wtypes.idl: Ove Kaaven Unquoted some 16-bit types, so the IDL compiler can use them. * include/msvcrt/string.h: Dimitrie O. Paun Map strcasecmp to _stricmp. * include/objbase.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_storage.h: Ove Kaaven Moved COM API prototypes to objbase.h, from wine/obj_*.h. * dlls/ole32/ole2.c, dlls/shell32/dataobject.c, dlls/shell32/shell32_main.h, ole/uuid.c: Ove Kaaven Removed a few more inclusions of deprecated wine/obj_*.h headers. * dlls/crtdll/Makefile.in, dlls/crtdll/crtdll_main.c: Made crtdll a normal user of msvcrt by setting the right include path. * dlls/msvcrt/file.c, dlls/msvcrt/misc.c, dlls/msvcrt/scanf.c, include/msvcrt/ctype.h, include/msvcrt/direct.h, include/msvcrt/dos.h, include/msvcrt/eh.h, include/msvcrt/errno.h, include/msvcrt/io.h, include/msvcrt/locale.h, include/msvcrt/malloc.h, include/msvcrt/mbctype.h, include/msvcrt/mbstring.h, include/msvcrt/process.h, include/msvcrt/search.h, include/msvcrt/setjmp.h, include/msvcrt/stddef.h, include/msvcrt/stdio.h, include/msvcrt/stdlib.h, include/msvcrt/string.h, include/msvcrt/sys/stat.h, include/msvcrt/sys/timeb.h, include/msvcrt/sys/types.h, include/msvcrt/sys/utime.h, include/msvcrt/time.h, include/msvcrt/wchar.h, include/msvcrt/wctype.h, include/winnt.h: Avoid including other headers from the msvcrt headers, duplicate some definitions instead like Windows does. Always define wchar_t (suggested by Dimitrie O. Paun), and use wchar_t everywhere instead of WCHAR to avoid depending on Windows headers. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/shader.c, dlls/d3d8/texture.c, dlls/d3d8/volumetexture.c: Raphael Junqueira - some fixes in CreateDevice init - vertex shader declaration parser (with output dump) and interpretation (generate the FVF descriptor for program input) - vertex shader program parser (with output dump) - software vertex shader program emulation * include/d3d8types.h: Raphael Junqueira Added some necessary definitions for D3D8 Vertex and Pixel shader support. * server/registry.c: Bill Medland If a .reg function is accessed through a symlink then write directly to the file rather than replacing it with a temp file. This preserves ownership and permissions. * dlls/ntdll/time.c, include/winternl.h: Implemented RtlTimeToElapsedTimeFields. * dlls/ddraw/d3dtexture.c: Lionel Ulmer Fix in another place in the code computing the memory usage. * documentation/configuring.sgml, documentation/wine.conf.man, documentation/wine.man.in: Uwe Bonnes Purge traces of the old relay debug mechanism and document new mechanism better. * dlls/kernel/tests/atom.c, dlls/kernel/tests/directory.c, dlls/kernel/tests/environ.c, dlls/kernel/tests/file.c, dlls/kernel/tests/path.c, dlls/kernel/tests/process.c: Francois Gouget Use strlen or lstrlenA as appropriate to avoid signed/unsigned warnings. * tools/winapi/msvcmaker: Francois Gouget The link command specifies which version of the C library to link with (see /M[TD]d? option). So we must not explicitly link with 'msvcrt.lib'. Fixes the msvcrt test crashes. * include/rpc.h, include/rpcdce.h: Ove Kaaven Moved UUID type to rpcdce.h, as in the MS RPC headers. Removed redundant prototype. 2002-12-17 Alexandre Julliard * loader/ne/segment.c, loader/pe_image.c: Debug channels cleanup. * dlls/kernel/kernel32.spec, dlls/ntdll/Makefile.in, include/thread.h, include/winbase.h, include/winnt.h, scheduler/fiber.c: Implemented the Fiber* functions (with the help of Huw Davies). * include/unknwn.h, tools/widl/header.c: Fix the type of the This pointer in the vtbl functions inherited from the base class. * dlls/wininet/tests/http.c: Fixed warnings. * server/hook.c: Alberto Massari The handler for the server message get_next_hook was returning the module name of the current hook, instead of the next one. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec: Dimitrie O. Paun Added stubs for {Start,End}{Doc,Page}Printer. * controls/scroll.c: Duane Clark Need to initialize tracking value on mousedown. * dlls/msvcrt/file.c, dlls/msvcrt/tests/.cvsignore, dlls/msvcrt/tests/Makefile.in, dlls/msvcrt/tests/file.c: Bill Currie fdopen: don't rewind the file after creating the FILE* handle. Added unit test for that. * controls/menu.c: Alberto Massari Set the ODS_DISABLED bit when the item is grayed. * tools/winewrap.c: Dimitrie O. Paun Better handling of errors while fork/execing. Add verbose command line switch. Add -z defs at link stage, to catch missing symbols. * tools/mingwrap.c: Dimitrie O. Paun Pass the gui flag to winewrap if we're linking a GUI app. * documentation/compiling.sgml, documentation/getting.sgml: Bill Medland Move CVS docu from User Guide to Devel Guide. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer If we support 'non-native' texture format, advertise it. * dlls/d3d8/device.c: Jason Edmeades The simple bits of fog. * configure, configure.ac, dlls/Makefile.in, dlls/wintab32/.cvsignore, dlls/wintab32/Makefile.in, dlls/wintab32/context.c, dlls/wintab32/manager.c, dlls/wintab32/wintab.spec, dlls/wintab32/wintab16.c, dlls/wintab32/wintab32.spec, include/Makefile.in, include/pktdef.h, include/wintab.h, include/wintabx.h: Patrik Stridvall Added stubs for WINTAB{,32}.DLL (used by many important drawing applications for supporting tablets). * dlls/oleaut32/dispatch.c: Robert Shearman Add standard dispatch implementation (CreateStdDispatch). * include/wine/test.h: Tony Lambregts Direct the output of the tests to stdout so that Win98 can redirect the output to a file. * dlls/netapi32/access.c: Uwe Bonnes NetUserGetInfo: implemented Level 1. * ole/Makefile.in, ole/dx8guid.c, ole/dxguid.c, ole/uuid.c: Split DirectX GUIDs to separate files to avoid header conflicts. * configure, configure.ac, dlls/Makefile.in, dlls/d3d8/Makefile.in, dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8_main.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/indexbuffer.c, dlls/d3d8/shader.c, dlls/d3d8/surface.c, dlls/d3d8/swapchain.c, dlls/d3d8/texture.c, dlls/d3d8/vertexbuffer.c, dlls/d3d8/volume.c, dlls/make_dlls, dlls/d3dx8/.cvsignore, dlls/d3dx8/Makefile.in, dlls/d3dx8/d3dx8.spec, dlls/d3dx8/d3dx8_main.c, dlls/d3dx8/d3dx8core_private.h, dlls/d3dx8/d3dxbuffer.c, include/Makefile.in, include/d3d8.h, include/d3d8types.h, include/d3dx8core.h: Raphael Junqueira - some D3D8 fixes - beginning of shaders support (Vertex and Pixel Shaders 1.1 on DirectX8) - beginning of D3DX8 support the D3D8 utility API (very basic, only the core header) 2002-12-16 Alexandre Julliard * include/Makefile.in, include/unknwn.h, include/unknwn.idl, include/wine/obj_base.h: Ove Kaaven Wrote a Wine-compatible unknwn.idl, moving the IUnknown definition from wine/obj_base.h to the generated unknwn.h. * dlls/shell32/pidl.c, dlls/shell32/shellole.c, dlls/shell32/shfldr_desktop.c: Rolf Kalbermatter Change calls to CLSIDFromString to SHCLSIDFromStringW except in SHCLSIDFromStringW for the time being. * dlls/advapi32/security.c, include/winbase.h: Andreas Mohr - actually use PLUID - initialize the outbound lpLuid variable with bogus values * dlls/ddraw/d3dtexture.c, dlls/ddraw/ddraw/main.c: Lionel Ulmer - fix bad TRACE - fixed computation of memory used by a texture * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/mesa.c: Lionel Ulmer - revert some optimisations breaking some games - added a new texture format (4444 ARGB) - fixed the computation of colors - added new render states and fog support (NOT handled yet for transformed vertices) * dlls/ddraw/d3ddevice/mesa.c: Christian Costa Implemented DrawPrimitiveStrided and DrawIndexPrimitiveStrided. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Fix a memory leak and optimize a little bit the generic path. * dlls/ddraw/d3dtexture.c, dlls/ddraw/mesa.c: Christian Costa Improve traces + small fix. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/mesa.c: Lionel Ulmer - fix Twist demo - some clean-ups / traces * dlls/comctl32/comboex.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/progress.c, dlls/comctl32/propsheet.c, dlls/comctl32/rebar.c, dlls/comctl32/treeview.c: Rolf Kalbermatter Add config.h/port.h to allow compilation/linking in MSVC. Fix some unsigned/signed warnings. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: György 'Nog' Jeney - Implement ordinals 167 and 171. - Add stubs for ordinals 282 and 406. * dlls/shell32/shlexec.c, dlls/shell32/shlfileop.c, dlls/shell32/shlview.c: Rolf Kalbermatter Make some shell32 files compile in MSVC. * dlls/shell32/shellord.c: Rolf Kalbermatter Do at least something for SHDragDrop functions although that isn't the complete operation. * dlls/shell32/debughlp.c: Rolf Kalbermatter Add debug info for IExtractIconW. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Supports the ALPHAFUNC and ALPHAREF rendering states. * tools/make_ctests: Francois Gouget On Windows windef.h must be included before winbase.h. * dlls/winmm/tests/wave.c: Francois Gouget Add the capacity of playing a test tone using the 'play' option. Factorize the regular and WAVE_FORMAT_DIRECT tests. Test the new 48 and 96kHz formats. * windows/nonclient.c: Rein Klazes Fix an A/W structure size bug in DrawCaptionTempW(). * tools/runtest: Francois Gouget Add '--' option for passing extra arguments to the test. * graphics/x11drv/dib.c: Dmitry Timoshkov Separate XShm using code. * programs/winhelp/hlp2sgml.c, programs/winhelp/hlpfile.c, programs/winhelp/hlpfile.h, programs/winhelp/winhelp.c, programs/winhelp/winhelp.h: Eric Pouech - links can now spread across several elements - link information is now shared between file & presentation - first try at handling metafiles * programs/winedbg/gdbproxy.c: Eric Pouech Fixed a few issues with the gdb proxy. * dlls/kernel/comm.spec: Andreas Mohr Added some Win3.1 export stubs. * documentation/configuring.sgml, documentation/getting.sgml, documentation/introduction.sgml, documentation/running.sgml: Andreas Mohr - spelling corrections - properly document how to set the DOS PATH * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Andreas Mohr Implemented VarOr(). * dlls/ddraw/mesa.c: Lionel Ulmer Add support for the TextureAddress render state. 2002-12-15 Alexandre Julliard * include/Makefile.in, tools/widl/header.c, tools/widl/widl.c, tools/widl/widl.h: Ove Kaaven Output raw ICOM-less C/C++ interface definitions by default. Added new -b and -B command-line options for compatibility with ICOM macros. * tools/winemaker: Jeff Smith Updated winemaker to account for change in wine's linking method. * dlls/winmm/mmsystem.c, dlls/winmm/wavemap/wavemap.c, dlls/winmm/winmm.c, include/mmsystem.h: Francois Gouget In the latest sdk the {waveOut,midiOut}{Get,Set}Volume functions take a handle as the first parameter. * dlls/winmm/wineoss/audio.c: Eric Pouech Fixed hangup condition at the end of some playback. * dlls/kernel/kernel32.spec, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/parser.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Added support for defining forward functions as stdcall so that we can get the proper number of arguments for stdcall decoration. * dlls/Makefile.in, dlls/Maketest.rules.in, dlls/make_dlls: Use import libraries when building tests too. Make sure the .a libraries are built for crosstest. * programs/winedbg/Makefile.in, tools/widl/Makefile.in, tools/wmc/Makefile.in, tools/wpp/Makefile.in, tools/wrc/Makefile.in: Added y.tab.[ch] pseudo-dependencies to fix parallel makes. * dlls/winedos/Makefile.in, dlls/winedos/dosexe.h, dlls/winedos/himem.c, dlls/winedos/int31.c, dlls/winedos/interrupts.c, dlls/winedos/relay.c, dlls/winedos/winedos16.spec: Jukka Heinonen Add support for DPMI32. Make winedos16.dll unnecessary. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/dsurface/main.c: Lionel Ulmer - rework how texturing is done in the D3D driver - added the generic path for DrawPrimitive API in D3D 3 / 7 * tools/mingwrap.c: Dimitrie O. Paun Teach mingwrap to use winewrap to do the linking, just like gcc uses ld to link on Unix. Based loosely on a uClib utility developed by Manuel Novoa III. * tools/Makefile.in, tools/winewrap.c: Dimitrie O. Paun Small cleanups to match current build process. * dlls/msvideo/drawdib.c: Lionel Ulmer Fix bad logic in == NULL test. * dlls/shell32/shell32_main.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c: Rolf Kalbermatter Add support for Unicode IExtractIcon creation in IShellFolder->GetUIObjectOf. * dlls/shell32/folders.c: Rolf Kalbermatter Fix crash when constructing ANSI interface pointer to IExtractIcon, found by Uwe Bonnes. Add some traces to the constructors. * tools/widl/header.c, tools/widl/parser.l, tools/widl/parser.y, tools/widl/widltypes.h: Ove Kaaven Include guiddef.h in widltypes.h. * dlls/winmm/wineoss/audio.c: Francois Gouget If unable to set the desired format, OSS_RawOpenDevice should call TRACE, not ERR. * dlls/winmm/wavemap/wavemap.c: Francois Gouget Our resampling algorithm is quite primitive so try simple 8/16 mono/stereo conversions first. Only resample if we cannot avoid it. * dlls/msacm/pcmconverter.c: Francois Gouget Use slighly more accurate formula for C816. Wrap a couple of comments to 80 columns. * dlls/winmm/tests/wave.c, dlls/winmm/winmm.c: Francois Gouget If given a bad device id waveOutGetDevCapsA is supposed to return MMSYSERR_BADDEVICEID. Fixes a todo_wine in the winmm test. 2002-12-13 Alexandre Julliard * dlls/shell32/classes.c, dlls/shell32/debughlp.c, dlls/shell32/folders.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shlexec.c: Rolf Kalbermatter Added Unicode versions of the HCR_ internal functions. * documentation/testing.sgml: Francois Gouget Document how to cross-compile the tests with MinGW. * programs/wineconsole/Makefile.in, programs/wineconsole/curses.c, programs/wineconsole/registry.c, programs/wineconsole/wineconsole.c: Eric Pouech Added a (n)curses backend to the wineconsole. * configure, configure.ac, include/config.h.in, library/port.c: Brad Campbell Added additional test for gcvt as uClibc appears to have this and not ecvt. * dlls/ntdll/signal_i386.c: Jukka Heinonen When asynchronous signals are blocked, block also SIGUSR2. Fix race that made signal handler forget to restore FS register. * dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c: Robert Shearman Implemented StrStrIW. * dlls/dsound/sound3d.c: Rok Mandeljc Implementation of IDirectSound3DListenerImpl_Set*(). * dlls/kernel/time.c, dlls/ntdll/time.c, include/winbase.h: Avoid casts between LARGE_INTEGER and FILETIME. Fixed day of week of epoch. Small cleanups. * dlls/Makedll.rules.in, dlls/Maketest.rules.in: Fixed some dependencies. * dlls/kernel/time.c, dlls/ntdll/Makefile.in, files/dos_fs.c, files/file.c, win32/time.c: György 'Nog' Jeney - Reimplement time functions using ntdll functions. - Some cleanups. * dlls/netapi32/access.c, dlls/netapi32/netapi32.spec, include/lmerr.h: Chris Morgan Stub NetGetDCName(). Add in the rest of the NERR_* defines. * dlls/dsound/tests/Makefile.in, dlls/dsound/tests/dsound.c: Francois Gouget Extend the test by creating a PrimaryBuffer object and perform a few basic tests such as querying its characteristics and changing its format. Changing the format requires that we call SetcooperativeLevel first, which means we need an hwnd. So the test must now link with user32.dll. * dlls/dsound/buffer.c, dlls/dsound/primary.c: Francois Gouget IDirectSoundBuffer.GetCaps should fail if caps.dwSize is not set. * dlls/d3d8/device.c: Jason Edmeades Thanks to Lucho, text support in samples now starts to appear. Textures now saved in state blocks, and correct FVF's used for drawing. * DEVELOPERS-HINTS, configure, configure.ac, dlls/Makefile.in, dlls/winmm/winejack/.cvsignore, dlls/winmm/winejack/Makefile.in, dlls/winmm/winejack/audio.c, dlls/winmm/winejack/jack.c, dlls/winmm/winejack/jack.h, dlls/winmm/winejack/winejack.drv.spec, documentation/samples/config, include/config.h.in: Chris Morgan Add support for Jack audio server. * dlls/msacm/pcmconverter.c, dlls/winmm/wavemap/wavemap.c: Francois Gouget Add support for the 48 and 96kHz formats. * dlls/shell32/control.c, dlls/shell32/shell32.spec: Robert Shearman - Change launch functions to use unicode and implement Control_RunDLLW. - Enable support for unicode in control panel applications. * loader/task.c: Don't crash in DirectedYield16 if no other task is running. * tools/.cvsignore, tools/Makefile.in, tools/winewrap.c: Dimitrie O. Paun New wine build utility that should make it easy for Winelib apps to link, and generate an executable. * dlls/shell32/changenotify.c, dlls/shell32/clipboard.c, dlls/shell32/dataobject.c, dlls/shell32/dialogs.c, dlls/shell32/shellord.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shlexec.c, dlls/shell32/shlview.c, dlls/shell32/shv_item_cmenu.c: Rolf Kalbermatter Fixed some signed/unsigned comparison warnings. * dlls/winmm/winealsa/audio.c: Nikolay Stefanov Fix issues with i810-based audio cards. Support for user-selectable audio cards through the ALSA_CARD environment variable (M.Miroslaw@elka.pw.edu.pl). * dlls/comctl32/animate.c: Rolf Kalbermatter Typo found by compiling with standard MSVC warning level. * documentation/faq.sgml: Francois Gouget Change 'Getting-Wine' to 'FAQ-Getting-Wine' since the former is already used in getting.sgml. * documentation/getting.sgml: Francois Gouget Tweak the screen sections. Add various tags such as: prompt, userinput, replaceable, filename. Use '' to close tags. * include/rpc.h, include/windows.h: Francois Gouget Updated the #include directives to match the latest Windows SDK and to include our new headers. * dlls/dsound/sound3d.c: Rok Mandeljc Implemented IDirectSound3DBufferImpl_Set*(). * dlls/shell32/brsfolder.c: Rolf Kalbermatter Fix SHBrowseForFolder W -> A calls. 2002-12-12 Alexandre Julliard * dlls/kernel/computername.c, dlls/kernel/console.c, dlls/msvcrt/cppexcept.c, dlls/msvcrt/except.c, dlls/ntdll/debugtools.c, dlls/ntdll/exception.c, dlls/ntdll/loader.c, dlls/ntdll/sec.c, dlls/user/lstr.c, dlls/winedos/dosvm.c, dlls/wininet/internet.c, files/dos_fs.c, include/Makefile.in, include/excpt.h, include/msvcrt/excpt.h, include/windows.h, loader/ne/module.c, loader/resource.c, memory/global.c, memory/string.c, memory/virtual.c, programs/winedbg/dbg.y, programs/winedbg/winedbg.c, relay32/snoop.c, win32/except.c, windows/cursoricon.c: Dimitrie O. Paun Move excpt.h out of include/msvcrt/ as it does not conflict with any standard Unix header. * programs/expand/expand.c: Fixed LZCopy return value check. * dlls/dsound/sound3d.c: Rok Mandeljc Implemented IDirectSound3DListenerImpl_Get*() functions. * dlls/shell32/shell.c: Rolf Kalbermatter Cleanup InternalExtractIconEx. The PrivateExtractIcons functions should also handle the case for 32bit PE and 16bit NE files so no need to do this here in a different way, too. * dlls/shell32/pidl.c: Rolf Kalbermatter Resolve SHGetPathFromIDListW -> SHGetPathFromIDListA call. Remove Fixme comment in SHGetPathFromIDList as StrRetToStrN should take care of this. Get rid of some unsigned/signed comparison warnings with default warnings in MSVC. * dlls/shell32/folders.c: Rolf Kalbermatter Implement IExtractIconW and inherit IExtractIconA from it. * dlls/user/exticon.c: Rolf Kalbermatter Fix a possible memory leak when extracting from an ICO file. Fix some signed/unsigned warnings showing up in MSVC with default warning level. Fix possible problem with short PIMAGE_NT_HEADERS. * dlls/oleaut32/typelib.c: Alberto Massari Implemented DispCallFunc so that it works when calling event handlers that have no return value. * dlls/oleaut32/safearray.c: Alberto Massari Calling SafeArrayDestroy on a destroyed array should be a no-op. * dlls/dsound/sound3d.c: Rok Mandeljc Implemented some stubs. * tools/winemaker: Jeff Smith Add 'distclean' target to winemaker-generated projects. * dlls/winmm/lolvldrv.c, dlls/winmm/wineoss/midi.c: Jeff Smith MMDRV_GetDescription32 fix + a few cosmetic improvements. * dlls/kernel/tests/locale.c: Francois Gouget Mention the applications that depend on the behavior checked by the GetLocaleInfoA partial buffer test. * dlls/oleaut32/tmarshal.c: Marcus Meissner Reverted last VT_USERDEFINED patch (was broken). Marshal TKIND_DISPATCH interfaces just like TKIND_INTERFACE. * dlls/oleaut32/Makefile.in, dlls/oleaut32/dispatch.c, dlls/oleaut32/ole2disp.c, dlls/oleaut32/oleaut.c: Marcus Meissner Separated out 16bit sources for ole2disp.dll. * tools/wrc/wrc.c: Dimitrie O. Paun Do not display the long options in the usage message if we don't actually support them. Small other cleanups. * dlls/ntdll/cdrom.c: Alex Pasadyn Fix return from IOCTL_CDROM_CHECK_VERIFY. * dlls/winmm/tests/wave.c, dlls/winmm/wavemap/wavemap.c: Francois Gouget Fix error reporting in wavemap.c:wodOpen(); this solves the waveOutOpen problem so that we can remove the todo_wine. Win9x does not support WAVE_FORMAT_DIRECT. Don't check the format if the waveOutOpen command failed. Use trace, not winetest_trace! * loader/ne/module.c: Also trace implicitly loaded dlls for +loaddll. * dlls/advapi32/.cvsignore, dlls/avifil32/.cvsignore, dlls/cabinet/.cvsignore, dlls/commdlg/.cvsignore, dlls/crypt32/.cvsignore, dlls/d3d8/.cvsignore, dlls/dciman32/.cvsignore, dlls/ddraw/.cvsignore, dlls/devenum/.cvsignore, dlls/dinput8/.cvsignore, dlls/dplay/.cvsignore, dlls/dsound/.cvsignore, dlls/gdi/.cvsignore, dlls/glu32/.cvsignore, dlls/icmp/.cvsignore, dlls/imm32/.cvsignore, dlls/kernel/.cvsignore, dlls/lzexpand/.cvsignore, dlls/mpr/.cvsignore, dlls/msacm/.cvsignore, dlls/msdmo/.cvsignore, dlls/msimg32/.cvsignore, dlls/msnet32/.cvsignore, dlls/msvcrt/.cvsignore, dlls/msvcrt20/.cvsignore, dlls/msvideo/.cvsignore, dlls/msvideo/msrle32/.cvsignore, dlls/netapi32/.cvsignore, dlls/ntdll/.cvsignore, dlls/odbc32/.cvsignore, dlls/ole32/.cvsignore, dlls/oleaut32/.cvsignore, dlls/olecli/.cvsignore, dlls/oledlg/.cvsignore, dlls/olepro32/.cvsignore, dlls/opengl32/.cvsignore, dlls/psapi/.cvsignore, dlls/qcap/.cvsignore, dlls/quartz/.cvsignore, dlls/rasapi32/.cvsignore, dlls/rpcrt4/.cvsignore, dlls/serialui/.cvsignore, dlls/setupapi/.cvsignore, dlls/shell32/.cvsignore, dlls/shfolder/.cvsignore, dlls/snmpapi/.cvsignore, dlls/sti/.cvsignore, dlls/ttydrv/.cvsignore, dlls/url/.cvsignore, dlls/urlmon/.cvsignore, dlls/user/.cvsignore, dlls/version/.cvsignore, dlls/win32s/.cvsignore, dlls/winaspi/.cvsignore, dlls/winedos/.cvsignore, dlls/wineps/.cvsignore, dlls/wininet/.cvsignore, dlls/winmm/.cvsignore, dlls/winnls/.cvsignore, dlls/winsock/.cvsignore, dlls/winspool/.cvsignore, dlls/wintrust/.cvsignore, dlls/wow32/.cvsignore, dlls/wsock32/.cvsignore, dlls/x11drv/.cvsignore: Added .spec.def files. * Make.rules.in, Makefile.in, configure, configure.ac, dlls/Makedll.rules.in, dlls/Makefile.in, dlls/commdlg/Makefile.in, dlls/make_dlls, dlls/wineps/Makefile.in, tools/winebuild/import.c, tools/winebuild/spec32.c: Implemented import libraries; on Unix we import the .def file directly, on Mingw we use it to build the .a library. * configure, configure.ac, include/config.h.in, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Made stdcall decoration in .def files the default, and added -k option to switch it off. * dlls/oleaut32/Makefile.in, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib16.c: Marcus Meissner Split out 16bit code into typelib16.c. * dlls/kernel/tests/locale.c: Francois Gouget Don't test whether Get{Currency,Date,Number,Time}FormatA writes as much as possible in the buffer even if it is too small. This is undocumented and does not match the Win9x behavior. Skip Unicode tests on Win9x. Fix usage of memset/sizeof/COUNTOF. Fix signed/unsigned warnings (in MSVC) by using lstrlenA instead of strlen. * ole/ole2nls.c: Francois Gouget In Get{Currency,Number}FormatA, SetLastError to ERROR_INSUFFICIENT_BUFFER if the buffer is too small. * dlls/glu32/glu32.spec, dlls/kernel/kernel32.spec: Francois Gouget Add stubs for missing APIs. * dlls/kernel/tests/directory.c: Francois Gouget Skip the Unicode tests on Win9x. Test Get{System,Windows}Directory{A,W}(NULL, 0). This is a more standard way to get len_with_null too. Adapt the error code checks to take into account variations between Win9x and NT. * dlls/kernel/tests/file.c, files/file.c: Francois Gouget Fix the error codes returned by DeleteFile{A,W} to match NT. Adapt the DeleteFileA error code checks to take into account variations between Win9x and NT. Test DeleteFile(NULL). Add tests for DeleteFileW. On NT, calling _lclose on an already closed handle will cause memory corruption and thus sometimes crash -> removed the relevant test. Skip the Unicode tests when on Win9x. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt20/msvcrt20.spec, dlls/ntdll/ntdll.spec, dlls/winsock/ws2_32.spec, dlls/wsock32/wsock32.spec, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/parser.c, tools/winebuild/spec32.c, tools/winebuild/winebuild.man.in: Added list of symbols to ignore by default in winebuild. Made the -i option support removing ignored symbols too. Removed the -noimport flag in spec files. * tools/mingwrap.c: Warning fix. * dlls/ole32/bindctx.c, dlls/ole32/ole32.spec: Robert Shearman Implemented BindMoniker function. * dlls/shell32/shell32_main.c: Rolf Kalbermatter Fix shell32.ExtractIcon with A->W and 16 -> 32 calls. * dlls/wininet/wininet.spec: Alberto Massari Added stubs for FtpCommand[A|W]. * dlls/kernel/tests/codepage.c: Francois Gouget The Win9x platforms support WideCharToMultiByte and MultiByteToWideChar but not lstrcmpW! So I implemented our own so that we can have a meaningful test. * msdos/dosmem.c: Jukka Heinonen Give DOS applications 638k of free conventional memory. * dlls/oleaut32/tmarshal.c: Marcus Meissner Serialize/deserialize all reftypes in VT_USERDEFINED. * dlls/user/tests/class.c: Francois Gouget Skip the Unicode tests (effectively all tests currently) on Win9x. 2002-12-11 Alexandre Julliard * Make.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/shell32/Makefile.in, dlls/user/Makefile.in, programs/winhelp/Makefile.in: Pass the -J option to wrc to avoid including installed headers. * tools/mingwrap.c: Wine internal includes should not be in the include path. * tools/wrc/Makefile.in, tools/wrc/wrc.c: Dimitrie O. Paun wrc should be aware of the location of the system headers. * tools/config.guess, tools/config.sub: Updated to the latest version. * tools/makedep.c: Try to open source file in current directory first in case it is a generated file. * dlls/Maketest.rules.in: Francois Gouget Generate proper dependencies for testlist.c. * dlls/commdlg/cdlg_Si.rc, dlls/winmm/winmm_Si.rc: Rok Mandeljc Fixed some characters. * aclocal.m4, configure, configure.ac: Added WINE_CHECK_DEFINE macro to factor out some repeated code. * dlls/kernel/time.c, dlls/ntdll/ntdll.spec, dlls/ntdll/time.c, files/dos_fs.c, include/winternl.h: György 'Nog' Jeney - Implement RtlLocalTimeToSystemTime and RtlSystemTimeToLocalTime. - Use new time functions to reimplement FileTimeToLocalTime and LocalTimeToFileTime. * tools/runtest: Francois Gouget Fix stderr redirection. Simplify $infile existence test. * include/wine/test.h: Francois Gouget When reporting a test failure, only report the file name, not the full path. Merge winetest_set_trace_location with winetest_set_ok_location. * dlls/kernel/tests/path.c: From: Francois Gouget '"' is an illegal character on Win9x so we cannot test it. GetShortPathNameA behaves differently on Win9x and NT: on NT it succeeds even if not all path components exist, as long as they are already in the 8.3 format. Wine apparently implements the NT behavior thus many todo_wine went away. Fixed some error code checks to take into account all possible return values. GetTempFileNameA appears to only use the lower 16bits of the id on Win95 (and never returns more than 16 bits on other platforms). GetLongPathNameA is missing on some Windows versions. Modified the GetTempPath tests to make sure they return the expected value. Removed the redundant tests (e.g. if buf[0]==0 then buf!="foo", no need to test both). The 'len_with_null - 1' case is not testable as the Windows behavior varies too much between versions. We cannot check whether Windows touches the buffer either as this heavily depends on the Windows version and specific circumstances of the call. Finally NT4 sometimes exaggerates the required buffer size. * programs/wcmd/wcmdmain.c: Sylvain Petreolle Implement $V in builtin PROMPT. 2002-12-10 Alexandre Julliard * dlls/dplayx/dplobby.c, dlls/msvcrt/locale.c, dlls/ntdll/exception.c, dlls/ntdll/large_int.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/oleaut32/parsedt.h, dlls/shlwapi/ordinal.c, dlls/twain/twain.h, dlls/winedos/int17.c, dlls/winedos/int29.c, dlls/winedos/int31.c, dlls/winedos/interrupts.c, dlls/wineps/ppd.c, dlls/wineps/truetype.c, dlls/wineps/type1afm.c, dlls/x11drv/xrender.c, graphics/x11drv/init.c, if1632/relay.c, include/miscemu.h, include/msacm.h, include/msvcrt/stdlib.h, include/windef.h, include/wine/exception.h, include/wine/rpcss_shared.h, include/winnt.h, library/loader.c, memory/instr.c, misc/registry.c, relay32/relay386.c, server/change.c, server/event.c, server/mapping.c, server/mutex.c, server/registry.c, server/request.c, server/semaphore.c, server/timer.c, server/trace.c, tools/winedump/debug.c, tools/winedump/ne.c, tools/winedump/pe.c: winnt.h should not be self-contained, it must depend on windef.h so that STRICT works correctly; moved some definitions back to windef.h where they belong, and removed a couple of definitions that don't exist on Windows. * dlls/Maketest.rules.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in: -DSTRICT is now the default behavior. * configure, configure.ac: Steven Edwards Alpha porting fix. * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec: Alberto Massari Added parameters to NtXxxPort functions prototypes. * include/windef.h: Vincent Béron Add a definition for STRICT. * include/winnt.h: Jeff Smith Added definitions for REG_QWORD and REG_QWORD_LITTLE_ENDIAN. * dlls/winedos/int21.c, include/miscemu.h, msdos/dosmem.c, msdos/int21.c: Jukka Heinonen Move int21 country information handling to winedos. Improve country information handling. Move collate table to upper memory. * configure, configure.ac, include/config.h.in, tools/wrc/wrc.c: Dimitrie O. Paun Gracefully degrade to getopt if getopt_long does not exist. * dlls/winmm/tests/wave.c: Vincent Béron Suppress some signed/unsigned comparison warning. * dlls/shell32/iconcache.c, include/shellapi.h: Rolf Kalbermatter Change the return value for ExtractIconEx from HICON to UINT and make the function call directly user32.PrivateExtractIconEx. * dlls/user/exticon.c, dlls/user/user32.spec, include/winuser.h: Rolf Kalbermatter - Modify ICO_ExtractIconExW to: return more compliant values for usage in PrivateExtractIcons and PrivateExtractIconEx accept and fill in the icon identifier array correctly if provided allow to retrieve both small and large icons together. - Simplify PrivateExtraxtIcons - Modify PrivateExtractIconExW to: use compatible signature to ExtractIconEx in shell32 which it really is directly as tested on W2K by calling both functions with the same parameters directly call internal extraction function fix error when requesting 1 icon for both sizes * dlls/comctl32/comctl32.h, dlls/comctl32/trackbar.c: Dimitrie O. Paun Get rid of generic notification support in comctrl32. The MS docs were misleading in that all controls send these notifications. They don't. * dlls/comctl32/listview.c: Dimitrie O. Paun - Plug a bunch of memory leaks. - Make ranges_destroy behave more like free(). - Fix messed up indentation from tabs set to 4 chars. - Updated the documentation. * dlls/winmm/wineoss/audio.c: Chris Morgan Reset the oss device before we try to close it. Fixes hang on startup of Starcraft due to oss device being in a bad state. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Jason Edmeades VarAdd support for integers. * documentation/faq.sgml: Dimitrie O. Paun Update Wine FAQ to latest revision. - Better Bochs/Plex86 info - Add Q&A about upgrading configuration - Replace Deneba's Canvas 7 with Ability Office From entries submitted by Tom Wickline. * windows/input.c: Mike Hearn Make WM_MOUSEHOVER coordinates client relative. * include/basetsd.h, include/winnt.h: Steven Edwards Alpha porting fixes. 2002-12-07 Alexandre Julliard * tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/winebuild.man.in: Replaced 'ignore' spec file directive by the -i option. * dlls/Makedll.rules.in: Don't build tests by default just yet. * dlls/shell32/iconcache.c, dlls/shell32/shell32.spec, include/shlobj.h: Rolf Kalbermatter Add SHDefExtractIcon{AW} function. * documentation/debugger.sgml: Tony Lambregts Update debugger documentation for when programs hangs. * dlls/shlwapi/shlwapi.spec: Rolf Kalbermatter Fix signature of SHLWAPI_334 as its string parameter really is an output. * include/ddraw.h: Vincent Béron Fills the name of the arguments of the COM methods, else MSVC doesn't like them. * files/drive.c: Stefan Leichter Moved implementation of GetDiskFreeSpaceEx from ascii to unicode. * dlls/kernel/kernel32.spec, dlls/winedos/devices.c, dlls/winedos/dosexe.h, dlls/winedos/himem.c, dlls/winedos/int21.c, dlls/winedos/module.c, include/msdos.h, msdos/int21.c: Jukka Heinonen Move int08 stub and LOL to upper memory. Move simple int21 functions to winedos. 2002-12-06 Alexandre Julliard * dlls/Makedll.rules.in, dlls/Maketest.rules.in, programs/Makeprog.rules.in, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/res32.c, tools/winebuild/winebuild.man.in: Check file header to differentiate between object files and resources so that the -r option is not necessary. * tools/Makefile.in: Fixed mingwrap install command. * dlls/wininet/tests/http.c: Fixed the list of accepted types passed to HttpOpenRequestA. * dlls/shell32/shell32_main.h, dlls/shell32/shellord.c: Rolf Kalbermatter Implement ParseFieldW function based on its ANSI sibling. * dlls/wininet/http.c: Alberto Massari - When sending a request using HttpOpenRequest/HttpSendRequest, send the User-Agent header; fixed the Accept and the Referer header handling to really work. - Fixed bug in the HTTP_ProcessHeader: when a second value was supposed to be added to an existing one, the buffer was reduced to be 1 char long instead of being expanded, due to the precedence rules of the operator '?'. - Added support for opening URLs that redirect to a different place. * dlls/comctl32/propsheet.c, include/prsht.h: Francois Gouget Define PSH_WIZARD97 (problem reported by jaymz@free.fr). * dlls/winsock/socket.c: Christoph Frick Force (WS_)SO_REUSEADDR before binding to a socket; ignore (WS_)SO_DONTROUTE; Network games in Grand Prix Legends and Nascar 2002 are possible now. * dlls/Makedll.rules.in, dlls/Maketest.rules.in: Build test programs as part of the normal build. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Rolf Kalbermatter Fix some parameter types. * include/objbase.h, include/wine/obj_base.h: Ove Kaaven Moved COM API prototypes in include/wine/obj_base.h to include/objbase.h. * tools/wrc/wrc.c: Dimitrie O. Paun Make wrc command line compatible with windres. * tools/Makefile.in: Fixed passing of -DINCLUDEDIR when building mingwrap. * include/Makefile.in: Dimitrie O. Paun Install DDK headers as well. 2002-12-05 Alexandre Julliard * include/objbase.h: Added rpc.h include to fix tests compilation. * dlls/comctl32/imagelist.c, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/mesa.c, dlls/dplayx/dpclassfactory.c, dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/compobj.c, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/errorinfo.c, dlls/ole32/filemoniker.c, dlls/ole32/ftmarshal.c, dlls/ole32/ifs.c, dlls/ole32/itemmoniker.c, dlls/ole32/moniker.c, dlls/ole32/ole32_main.c, dlls/ole32/ole32_main.h, dlls/ole32/oleobj.c, dlls/ole32/stg_bigblockfile.c, dlls/ole32/storage.c, dlls/ole32/storage32.h, dlls/oleaut32/connpt.c, dlls/oleaut32/dispatch.c, dlls/oleaut32/olefont.c, dlls/oleaut32/safearray.c, dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c, dlls/rpcrt4/cproxy.c, dlls/rpcrt4/cpsf.c, dlls/rpcrt4/cstub.c, dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/ndr_ole.c, dlls/shdocvw/classinfo.c, dlls/shdocvw/shdocvw.h, dlls/shell32/dragdrophelper.c, dlls/shell32/folders.c, dlls/shell32/shellfolder.h, dlls/shell32/shellord.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlfolder.c, dlls/shell32/shlmenu.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shlwapi/clist.c, dlls/shlwapi/istream.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/regstream.c, dlls/shlwapi/thread.c, include/dplay.h, include/oaidl.h, include/objbase.h, include/objidl.h, include/ocidl.h, include/ole.h, include/ole2.h, include/oleauto.h, include/olectl.h, include/oledlg.h, include/oleidl.h, include/servprov.h, include/shlguid.h, include/shlobj.h, include/unknwn.h, include/urlmon.h, include/wine/obj_base.h, include/wine/obj_misc.h, include/wine/obj_serviceprovider.h: Ove Kaaven Make sure that no files except unknwn.h include wine/obj_base.h directly. * dlls/commdlg/filedlg95.c, dlls/ntdll/file.c, dlls/ntdll/heap.c, dlls/ntdll/misc.c, dlls/ntdll/nt.c, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/sec.c, dlls/ntdll/sync.c, loader/module.c, scheduler/process.c, scheduler/thread.c, win32/device.c: Patrik Stridvall Replace 0x%p with %p. * dlls/x11drv/keyboard.c: Peter Mladek Added 2 more Czech keyboard layouts compatible with XFree86 4.1. * dlls/wininet/internet.c, dlls/wininet/urlcache.c, dlls/wininet/wininet.spec, include/wininet.h: Alberto Massari - Moved GetUrlCacheEntryInfoA and CommitUrlCacheEntryA to urlcache.c. - Added stub implementation of GetUrlCacheEntryInfoExW. - Implemented InternetQueryOptionW, InternetCombineUrl[A|W]. - InternetSetOptionW prints FIXMEs with more informations. - INTERNET_SetLastError was crashing if called after the thread local storage area had already been deleted (it happens if you close Internet Explorer while the download is still in progress). * dlls/dsound/dsound_main.c: Back out the aRts volume patch, this is not user-friendly at all. * configure, configure.ac, dlls/dsound/Makefile.in, dlls/dsound/tests/.cvsignore, dlls/dsound/tests/Makefile.in, dlls/dsound/tests/dsound.c: Francois Gouget A simple test for IDirectSound.GetCaps. * documentation/faq.sgml, documentation/wine-doc.sgml, documentation/wine-faq.sgml: Francois Gouget Wrap faq.sgml in an article tag in wine-doc.sgml. Set the article class to 'faq'. Move the title to faq.sgml. * documentation/testing.sgml: Francois Gouget Removed references to the Perl tests. Added a section describing how to build and run tests on Windows. The Visual C++ section should be relatively complete but the MinGW and cross-compiling section still need some work. * include/wine/obj_extracticon.h: Rolf Kalbermatter Add prototypes for IExtractIconW interface. * dlls/oleaut32/tmarshal.c: Marcus Meissner Marshal VT_R4 (4 byte float). * tools/.cvsignore, tools/Makefile.in, tools/mingwrap.c: Dimitrie O. Paun New MinGW wrapper that makes gcc on Linux behave like MinGW on Windows, using the Wine headers. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/main.h, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Have only one GUID for Wine's OpenGL D3D device. * tools/wineinstall: Sylvain Petreolle Install apps in windows\system since that's what the system directory is set to in the config file. * dlls/winsock/socket.c: Martin Wilck Correct 2 bugs connected to asynchronous shutdown(): - Cannot call WSAGetOverlappedResult() because completion function destroys the overlapped structure. - ws2_async_cleanup() called twice in case of failure. * dlls/winsock/tests/sock.c: Martin Wilck Set the socket to overlapped mode. * dlls/rpcrt4/tests/rpc.c: Francois Gouget Skip Unicode tests if there's no Unicode support. * dlls/dsound/dsound_main.c: Francois Gouget Return an error if dwSize is not valid. No need to dump dwFlags before it is initialized. * include/msvcrt/errno.h: Francois Gouget Added EDEADLOCK. 2002-12-03 Alexandre Julliard * Make.rules.in, include/Makefile.in: Added rules for compiling IDL files. * documentation/.cvsignore, documentation/Makefile.in: Added rules for building the FAQ. * controls/combo.c, controls/listbox.c, controls/scroll.c, dlls/comctl32/rebar.c, dlls/user/hook.c, dlls/user/hook16.c, dlls/user/message.c, dlls/user/message.h, dlls/user/msg16.c, dlls/user/user_main.c, dlls/user/winproc.h, dlls/x11drv/event.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, include/input.h, include/message.h, include/queue.h, include/spy.h, include/sysmetrics.h, include/user.h, include/win.h, include/winproc.h, windows/class.c, windows/cursoricon.c, windows/defdlg.c, windows/defwnd.c, windows/input.c, windows/message.c, windows/painting.c, windows/queue.c, windows/spy.c, windows/syscolor.c, windows/sysmetrics.c, windows/sysparams.c, windows/timer.c, windows/user.c, windows/win.c, windows/winpos.c, windows/winproc.c: Removed input.h, queue.h, spy.h and sysmetrics.h and moved their contents to user.h. Moved message.h and winproc.h to dlls/user. * documentation/faq.sgml, documentation/make_winehq, documentation/wine-doc.sgml, documentation/wine-faq.sgml: Tony Lambregts Added the FAQ, and build it when creating the documentation for the website. * scheduler/process.c: Uwe Bonnes Use COMSPEC command interpreter to run .bat files. * msdos/int21.c: Andreas Mohr Fixed error checking in file creation and closing. * dlls/ddraw/mesa.c: Christian Costa Add support for D3DBLEND_ONE for D3DRENDERSTATE_{DEST/SRC}BLEND. * dlls/icmp/icmp_main.c, include/Makefile.in, include/icmpapi.h, include/ipexport.h, include/wine/icmpapi.h, include/wine/ipexport.h: Install ipexport.h and icmpapi.h with the other Windows includes. * dlls/oleaut32/variant.c, include/wine/obj_oleaut.h, include/wtypes.h, include/wtypes.idl: Ove Kaaven Added more types to wtypes.idl. * dlls/winsock/tests/sock.c: Martin Wilck Fixed test to run fine (0 errors) on Win NT. * dlls/shell32/shell32.spec, dlls/shell32/shellord.c, include/shlobj.h: Alberto Massari SHGetSetSettings has now the right signature and the expected behavior when the user is asking to get the current settings. * dlls/shell32/iconcache.c: Rolf Kalbermatter Fix ANSI->Unicode calling for ExtractIconExA/W. * dlls/user/exticon.c, dlls/user/user32.spec, include/winuser.h: Rolf Kalbermatter Modify PrivateExtractIcons{AW} to match better current MDSN documentation. * include/Makefile.in: Dimitrie O. Paun Change header install location as such: ${prefix}/include/wine/windows -- standard Windows headers ${prefix}/include/wine/msvcrt -- MS Visual C Runtime library ${prefix}/include/wine -- Wine specific headers * dlls/gdi/freetype.c, dlls/gdi/mfdrv/objects.c, dlls/gdi/win16drv/init.c, dlls/ntdll/signal_powerpc.c, dlls/ttydrv/objects.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv_main.c, dlls/ttydrv/user.c, dlls/x11drv/x11font.h, graphics/fontengine.c, graphics/painting.c, graphics/path.c, graphics/x11drv/xfont.c, include/font.h, include/gdi.h, include/path.h, include/x11font.h, loader/task.c, objects/dc.c, objects/font.c, objects/gdiobj.c: Merged font.h and path.h into gdi.h. Moved x11font.h to dlls/x11drv. Removed a number of unnecessary #includes. * tools/widl/header.c, tools/widl/header.h, tools/widl/parser.l, tools/widl/parser.y, tools/widl/proxy.c, tools/widl/widl.c, tools/widl/widl.h, tools/widl/widltypes.h: Ove Kaaven Parse the NOT operator, the [idempotent] attribute, and the handle_t and error_status_t types. Improved some parsing rules to get rid of the LINK_LAST and LINK_SAFE macros. Enclose generated .h file within an extern "C" (for C++). Output function prototypes for regular RPC interfaces. Fixed a couple of bugs. * dlls/winedos/int21.c, msdos/int21.c: Jukka Heinonen Clean up int21 handling. Move error handling to winedos. Call INT_Int21Handler only to emulate selected functions. 2002-12-02 Alexandre Julliard * dlls/kernel/kernel32.spec, dlls/winedos/Makefile.in, dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/himem.c, dlls/winedos/int67.c, include/miscemu.h, msdos/dosmem.c: Jukka Heinonen Move DPMI segments to winedos. * dlls/ddraw/d3dtexture.c, dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer - only handle memory allocation for non-already loaded textures - implement GetCaps for D3DDevice7 * configure, configure.ac, dlls/rpcrt4/Makefile.in, dlls/rpcrt4/rpc_binding.h, dlls/rpcrt4/rpc_epmap.c, dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c, dlls/rpcrt4/rpcss_np_client.c, dlls/rpcrt4/rpcss_np_client.h, include/rpcdce.h, include/rpcdcep.h, include/rpcndr.h, include/winbase.h, include/wine/rpcss_shared.h, programs/Makefile.in, programs/rpcss/.cvsignore, programs/rpcss/Makefile.in, programs/rpcss/epmap_server.c, programs/rpcss/np_server.c, programs/rpcss/rpcss.h, programs/rpcss/rpcss_main.c: Greg Turner , Ove Kaaven - preliminary implementation of endpoint-mapping via a new on-demand server-ish process - more header fixups - (re)implement RpcEpRegisterA, RpcEpUnregister, and RpcEpResolveBinding using the new rpcss functionality - update the todo list in rpcrt4_main.c a bit - many beautifications and touch-ups - command-line configurable timeout - micro-client imbedded in np_server.c * dlls/ddraw/d3ddevice/mesa.c: Christian Costa Handle D3DLIGHTSTATE_COLORVERTEX to prevent SetLightState from failing. * dlls/cabinet/Makefile.in, dlls/cabinet/fci.c, dlls/cabinet/fdi.c, include/fci.h, include/fdi.h: Patrik Stridvall Added FIXME:s in the stubs. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c: Lionel Ulmer - implement the texturing the D3D3 way - prepare for multi-texturing support * include/wingdi.h: Ove Kaaven Protect PALETTEENTRY and LOGPALETTE with #ifndefs. * dlls/kernel/kernel32.spec, dlls/winedos/int21.c, msdos/dpmi.c, msdos/int21.c: Jukka Heinonen Rename old DOS3Call as INT_Int21Handler and make new DOS3Call call directly winedos int21 handler. * dlls/winedos/int13.c, win32/device.c: Jukka Heinonen Move int13 handler to winedos. * dlls/winmm/midimap/midimap.c: Jeff Smith Fix for MIDI Mapper. * controls/button.c, controls/combo.c, controls/edit.c, dlls/avifil32/acmstream.c, dlls/avifil32/api.c, dlls/avifil32/avifile.c, dlls/avifil32/extrachunk.c, dlls/avifil32/getframe.c, dlls/avifil32/icmstream.c, dlls/avifil32/wavfile.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, 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/commdlg/filedlg95.c, dlls/ddraw/dsurface/dib.c, dlls/imm32/imm.c, dlls/kernel/tests/alloc.c, dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/imaadp32/imaadp32.c, dlls/msacm/msacm32_main.c, dlls/msacm/msadp32/msadp32.c, dlls/msacm/msg711/msg711.c, dlls/msacm/pcmconverter.c, dlls/msacm/stream.c, dlls/msacm/winemp3/mpegl3.c, dlls/msvideo/mciwnd.c, dlls/msvideo/msvideo_main.c, dlls/ole32/ole2stubs.c, dlls/richedit/richedit.c, dlls/setupapi/virtcopy.c, dlls/shell32/control.c, dlls/shell32/dialogs.c, dlls/shell32/shlexec.c, dlls/shlwapi/assoc.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/shlwapi/regstream.c, dlls/shlwapi/tests/shreg.c, dlls/ttydrv/bitmap.c, dlls/ttydrv/wnd.c, dlls/user/dde/client.c, dlls/user/dde/misc.c, dlls/user/dde/server.c, dlls/user/resource.c, dlls/winedos/vga.c, dlls/x11drv/winpos.c, graphics/path.c, objects/enhmetafile.c, programs/wineconsole/user.c, programs/winver/winver.c, windows/dialog.c, windows/multimon.c, windows/painting.c: Francois Gouget Removed unnecessary HANDLE typecasts. 2002-11-30 Alexandre Julliard * dlls/ddraw/d3ddevice/mesa.c: Christian Costa Add D3D capability. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/helper.c, dlls/ddraw/mesa_private.h, include/ddraw.h: Lionel Ulmer - actually use the VertexBuffer stubs - implement Lock function to prevent crash when the stubs are used * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer Beginning of support for D3D7 / D3DDevice7. * dlls/Makedll.rules.in, dlls/Maketest.rules.in, programs/Makefile.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in: Removed some checklink rules made unnecessary by the -z defs linker flag. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - some more code sharing between D3DDevice versions - implementation of D3DFVF_TLVERTEX format fast path * include/msvcrt/stddef.h: Dimitrie O. Paun Add a way to tell msvcrt to define wchar_t. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - fixed D3DFVF_VERTEX case - some other miscellaneous fixes * programs/winedbg/README: Vincent Béron Change CRLF end of lines in LF only. * dlls/ddraw/d3dviewport.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/helper.c, dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer - start of support for device locking / unlocking via glReadPixels / glDrawPixels interface (slow but should be enough for a start) - implement one vertex case for the D3D3/7 DrawPrimitive functions - fix a missing \n in a TRACE call * dlls/kernel/nls/bel.nls: Hleb Valoska Some fixes to Belarusian locale. * tools/winapi/msvcmaker: Patrik Stridvall - Fixed bug caused by changes to Wine. - Added support for running all the tests in batch. * dlls/kernel/tests/thread.c: Francois Gouget {Get,Set}ThreadPriorityBoost and SetThreadIdealProcessor are missing on Win95 -> use GetProcAddress. Cleanup the handling of OpenThread. Check SuspendThread after a thread terminates (needed by Ipix). Remove unnecessary version checks (check for ERROR_CALL_NOT_IMPLEMENTED and similar instead). Cleanup casts, signed/unsigned comparisons. * dlls/kernel/tests/drive.c: Francois Gouget GetDiskFreeSpace(all NULLs) crashes on NT4 -> removed. GetDiskFreeSpace("." | "..") fails on Win98 and NT4 but succeeds on XP -> removed. Skip the GetDiskFreeSpace tests on floppy drives because NT pops up a MessageBox if no floppy is present. Fix the error code checks to take into account the differences between Win9x, NT4 and XP. Skip the unicode tests if the first call returns ERROR_CALL_NOT_IMPLEMENTED. Whenever a test fails, print sufficient information (typically return code and GetLastError()!) to let the developer figure out what is wrong. * dlls/kernel/tests/environ.c: Francois Gouget SetEnvironmentVariableA(NULL, NULL) crashes on Win98 -> removed. SetEnvironmentVariableA("", value) crashes on NT4 -> removed. The behavior of SetEnvironmentVariableA("", "") varies to much -> removed. Test the behavior of SetEnvironmentVariable{A,W}(name, "") taking into account the differences between Win9x and NT. Test the behavior of GetEnvironmentVariable{A,W}(name, buf, 0). Fix the error code checks to take into account the differences between Win9x, NT4 and XP. Skip the unicode tests if the first call returns ERROR_CALL_NOT_IMPLEMENTED. Whenever a test fails, print sufficient information (typically return code and GetLastError()!) to let the developer figure out what is wrong. * dlls/shell32/iconcache.c, dlls/shell32/shell32.spec, include/shellapi.h: Rolf Kalbermatter Added stub implementation with correct prototypes for ExtractAssociatedIconExA/W. * programs/Makefile.in: Uwe Bonnes Make wcmd available from inside the source tree. * dlls/ddraw/d3ddevice/main.c: Lionel Ulmer Implemented GetRenderTarget. * dlls/ddraw/direct3d/mesa.c: Lionel Ulmer Added enumeration of ZBuffer format. * documentation/debugger.sgml: Tony Lambregts Update the debugger documentation for current usage. * dlls/kernel/tests/thread.c, scheduler/thread.c: Partially implemented kernel/user times in GetThreadTimes (based on a patch by Ryan Cumming). * dlls/opengl32/wgl.c: Lionel Ulmer Implement wglCreateLayerContext for layer 0. * dlls/ddraw/d3ddevice/main.c: Lionel Ulmer Do not forget to AddRef the returned Direct3D interface. * dlls/x11drv/x11ddraw.c: Lionel Ulmer Add DDCAPS2_CANRENDERWINDOWED capabilities to our DDraw driver. * include/winbase.h: Francois Gouget Added declaration for SignalObjectAndWait. * include/msvcrt/stdlib.h: Francois Gouget Added constants for _set_error_mode(). * dlls/winmm/winmm.c: Jeff Smith Fixed 32 bit flag in midiOutShortMsg. * include/ddraw.h: Christian Costa Replace LPDDSURFACEDESC by LPDDSURFACEDESC2 in IDirectDrawSurface4 methods declaration. * dlls/winedos/int10.c: Andreas Mohr Fixed text mode value. * include/mmsystem.h: Francois Gouget Add the 48 and 96kHz WAVE_FORMAT constants. * tools/widl/header.c, tools/widl/header.h, tools/widl/parser.h, tools/widl/parser.l, tools/widl/parser.y, tools/widl/widltypes.h: Ove Kaaven Handle encapsulated unions in a cleaner (and less buggy) way. Emit the names "DUMMYUNIONNAME" and "DUMMYSTRUCTNAME" for anonymous unions and structs. Support const and extern definitions. Retain tokens (and whether numbers are hex or not) used for computing constant expressions, so that the full expression can be written to the header file instead of the computed integer result of the expression. Parse the sizeof() operator. Compute and remember constant definitions and enum values so they can be used in expressions. Improved identifier lookup speed. Fixed some bugs. * include/wtypes.idl: Ove Kaaven Added missing union names for some encapsulated unions. * dlls/ddraw/d3ddevice/mesa.c: Lionel Ulmer - fix caps filling to be more in line with what we support - optimize a little bit the DrawPrimitive function * files/file.c: Martin Wilck Fixed some problems with asynchronous file IO. 2002-11-27 Alexandre Julliard * dlls/ddraw/d3d_private.h, dlls/ddraw/d3dtexture.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/main.c: Lionel Ulmer - fix texture snooping (plus adds snoop for 1555 format) - add texture memory usage tracking * dlls/kernel/computername.c, dlls/kernel/kernel32.spec, include/winbase.h: Steve Lustbader Provide stubs for DnsHostnameToComputerNameA/W. * dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo_main.c, dlls/wininet/internet.c, dlls/wininet/wininet.spec: Added definitions for a couple of stub functions that we import so that we don't import stubs directly. * dlls/kernel/kernel32.spec, dlls/ntdll/ntdll.spec, graphics/x11drv/opengl.c: Patrik Stridvall Fixed some issues found by winapi_check. * dlls/kernel/kernel32.spec, dlls/ntdll/Makefile.in, dlls/winedos/Makefile.in, dlls/winedos/dosexe.h, dlls/winedos/int25.c, dlls/winedos/int26.c, dlls/winedos/interrupts.c, include/miscemu.h, msdos/int25.c, msdos/int26.c: Jukka Heinonen Moved handlers for int25 and int26 to winedos. * objects/font.c: Huw D M Davies EnumFont16 should enumerate gdi fonts too. * dlls/comctl32/treeview.c: Dimitrie O. Paun - Typesafe parameters from TREEVIEW_NotifyFormat. - Rewrite TREEVIEW_NotifyFormat. - Fix several invocations of TREEVIEW_SendTreeviewNotify. * include/winbase.h: Francois Gouget Added SwitchToThread. * dlls/ntdll/time.c: Vincent Béron Fix for implicit declaration of abs. * dlls/x11drv/xrender.c: Vincent Béron Fix for deprecated use of label at the end of compound statement. * dlls/kernel/tests/locale.c, ole/ole2nls.c: Bill Medland Correct GetNumberFormatA for zero decimals and for zero grouping. * programs/winhelp/winhelp.c: Matthew Davison Prevent Winhelp from crashing when it can't find the helpfile. * include/d3d.h, include/ddraw.h: Christian Costa Add some DDRAW and D3D definitions. * tools/winapi/options.pm, tools/winapi/win32.api, tools/winapi/winapi.pm, tools/winapi/winapi_check_options.pm, tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_local.pm: Patrik Stridvall - API files update. - Minor improvement and bug fixes. 2002-11-25 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20021125. ---------------------------------------------------------------- 2002-11-25 Alexandre Julliard * configure, configure.ac, include/config.h.in, library/port.c, scheduler/pthread.c: Patrik Stridvall Fixed pthreads on FreeBSD (based on patch by Alexandre Julliard). * windows/dialog.c: Added CS_DBLCLKS style to dialog window class. * objects/font.c: Shachar Shemesh Change some of the number seperators to "Neutral" rather than "Left to right". * dlls/kernel/kernel32.spec, include/winbase.h, scheduler/timer.c: Steve Lustbader Stubs for CreateTimerQueue and DeleteTimerQueueEx. * dlls/advapi32/advapi32.spec, dlls/advapi32/service.c, dlls/ntdll/ntdll.spec, include/winsvc.h: Steve Lustbader Assorted Win2k/WinXP stubs. * dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.spec: Stefan Leichter Converted implementation of _lseek to _lseeki64, implemented _lseek by calling _lseeki64. * dlls/advapi32/registry.c, include/wine/server_protocol.h, include/winnt.h, server/handle.c, server/object.h, server/protocol.def, server/registry.c, server/request.h, server/trace.c: Mike McCormack Implemented registry change notifications. * graphics/x11drv/graphics.c: Uwe Bonnes X11DRV_DrawArc: Don't overwrite the ENDCAP style. * graphics/x11drv/pen.c: Uwe Bonnes X11DRV_SelectPen(): Don't use a pen with half the width. * dlls/comctl32/propsheet.c: Andreas Mohr Added the missing cx member to the MyDLGITEMTEMPLATEEX struct. * dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.spec: Stefan Leichter Converted implementation of _stat and _fstat to _stati64 and _fstati64. Implemented _stat/_fstat by calling _stati64/_fstati64. * dlls/oleaut32/variant.c: Jason Edmeades Add support for VarAnd between integers. * dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/main.c, dlls/ddraw/helper.c: Lionel Ulmer - Prevent the backbuffer to also have the frontbuffer flag set. - Log the Locking flags. - Print symbolic name (if any) of zero values for bit fields (thanks Andi). * dlls/kernel/tests/thread.c: Moved some GetThreadTimes tests out of the todo block. * include/wine/server_protocol.h, scheduler/thread.c, server/protocol.def, server/thread.c, server/thread.h, server/trace.c: Ryan Cumming Partially implement GetThreadTimes. * misc/registry.c: Warnings fixes. * dlls/kernel/time.c, dlls/ntdll/ntdll.spec, dlls/ntdll/time.c, include/winternl.h: György 'Nog' Jeney - Move SetSystemTime, GetTimeZoneInformation and SetTimeZoneInformation implementation to ntdll. - Docu updates. * dlls/comctl32/listview.c: Aric Stewart LVN_GETDISPINFO seems to always be Ansi. * objects/dib.c: Steve Lustbader StretchDIBits: avoid crash on null pointers. * controls/scroll.c: Robert Shearman Add support for painting SBS_SIZEBOX style properly. 2002-11-24 Alexandre Julliard * dlls/kernel/kernel32.spec, dlls/ntdll/Makefile.in, dlls/winedos/Makefile.in, dlls/winedos/dosexe.h, dlls/winedos/int11.c, dlls/winedos/int15.c, dlls/winedos/int5c.c, dlls/winedos/interrupts.c, include/miscemu.h, msdos/dpmi.c, msdos/int11.c, msdos/int15.c, msdos/int5c.c: Jukka Heinonen Moved handlers for int11, int15 and int5c to winedos. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/main.h, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/mesa_private.h: Lionel Ulmer - add implementation for FindDevice function - some miscellaneous clean-ups / additions * misc/registry.c: Replace most PROFILE_GetWineIni calls by direct registry accesses. Keep the config key open to query all values instead of re-opening it all the time. * documentation/Makefile.in: Added dist rule for building the distribution tarballs. * dlls/shell32/systray.c: Added CS_DBLCLKS so that systray receives double clicks. * dlls/winedos/int10.c, dlls/winedos/int33.c, dlls/winedos/vga.c, dlls/winedos/vga.h: Jukka Heinonen VGA text mode no longer flickers and it is much faster. VGA text mode is now initialized earlier. VGA text mode is now emulated even without console. * dlls/user/hook.c: Bill Medland Correct UnhookWindowsHook: clear the handle so that the server doesn't try to use it. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/mesa.c: Christian Costa Reenable OpenGL surface's flip method. Reenable execute buffers. Some bug fixes. * dlls/dinput/dinput_main.c: Jens Hoffmann Pass correct instance in keyboard_hook setup. * windows/mdi.c, windows/msgbox.c, windows/nonclient.c, windows/win.c: Matthew Davison Fix some unicode->ascii calls. * tools/widl/parser.y: Gerald Pfeifer Avoid using labels at the end of commpound statements. 2002-11-23 Alexandre Julliard * files/profile.c, include/file.h, loader/main.c: Removed no longer needed PROFILE_LoadWineIni(). * dlls/kernel/kernel32.spec, dlls/ntdll/Makefile.in, dlls/winedos/Makefile.in, dlls/winedos/dosexe.h, dlls/winedos/int2f.c, dlls/winedos/interrupts.c, include/miscemu.h, msdos/int2f.c: Jukka Heinonen Move int2f handler to winedos. Clean winedos headers a bit. * configure, configure.ac, documentation/.cvsignore, documentation/Makefile.in: Vincent Béron The default behavior of "make everything" is now to build separate guides rather than the big one. Determines the name of the installed docbook filter (db2html or docbook2html, etc.) in configure, defaulting to false if absent. * windows/input.c: Mike Hearn Altered WM_MOUSEHOVER so the lParam and wParam fields are set correctly to virtual key states and cursor position. * include/wine/server_protocol.h, include/winnt.h, server/protocol.def: Removed the WINE_NO_STRICT support. * include/basetsd.h: Dimitrie O. Paun Allow apps to define __int{8,16,32,64} on the command line. 2002-11-22 Alexandre Julliard * controls/menu.c: Fixed use of HBMMENU_* in switch statements. * dlls/gdi/Makefile.in, dlls/gdi/driver.c, dlls/gdi/enhmfdrv/init.c, dlls/gdi/freetype.c, dlls/gdi/mfdrv/init.c, dlls/gdi/printdrv.c, dlls/gdi/win16drv/font.c, dlls/gdi/win16drv/init.c, dlls/gdi/win16drv/text.c, graphics/bitblt.c, graphics/mapping.c, graphics/painting.c, graphics/path.c, objects/bitmap.c, objects/brush.c, objects/clipping.c, objects/dc.c, objects/dib.c, objects/enhmetafile.c, objects/font.c, objects/gdiobj.c, objects/metafile.c, objects/palette.c, objects/region.c: Made gdi compile with -DSTRICT. * dlls/gdi/printdrv.c, objects/clipping.c, objects/dc.c, objects/gdiobj.c, objects/metafile.c: Fixed a number of -DSTRICT issues. * controls/combo.c, controls/edit.c, controls/listbox.c, controls/menu.c, controls/scroll.c, controls/uitools.c, dlls/user/Makefile.in, dlls/user/caret.c, dlls/user/comm16.c, dlls/user/focus.c, dlls/user/hook.c, dlls/user/dde/client.c, dlls/user/dde/misc.c, dlls/user/dde/server.c, dlls/user/message.c, dlls/user/misc.c, dlls/user/msg16.c, dlls/user/painting.c, dlls/user/resource.c, dlls/user/text.c, windows/class.c, windows/clipboard.c, windows/cursoricon.c, windows/dce.c, windows/defdlg.c, windows/defwnd.c, windows/dialog.c, windows/input.c, windows/mdi.c, windows/message.c, windows/nonclient.c, windows/painting.c, windows/spy.c, windows/timer.c, windows/user.c, windows/win.c, windows/winpos.c, windows/winproc.c: Made user compile with -DSTRICT. * files/profile.c, tools/wineinstall: Removed support for converting old format config, everybody should have converted by now. Removed log info from wineinstall, this info is already in ChangeLog. * controls/menu.c, dlls/user/dde/client.c, dlls/user/dde/ddeml16.c, dlls/user/dde/misc.c, dlls/user/dde/server.c, dlls/user/message.c, include/cursoricon.h, include/user.h, windows/class.c, windows/clipboard.c, windows/cursoricon.c, windows/dce.c, windows/dialog.c, windows/mdi.c, windows/struct32.c, windows/syscolor.c, windows/win.c, windows/winproc.c: Fixed more -DSTRICT issues. * dlls/user/text.c, dlls/user/user16.c: Properly split the 16-bit versions of GrayString and TabbedTextOut. * controls/edit.c, controls/icontitle.c, controls/menu.c, controls/scroll.c, dlls/user/caret.c, dlls/user/focus.c, dlls/user/painting.c, dlls/user/property.c, dlls/user/text.c, dlls/user/user16.c, windows/class.c, windows/clipboard.c, windows/dce.c, windows/mdi.c, windows/syscolor.c, windows/win.c, windows/winhelp.c, windows/winproc.c: Moved some more 16-bit functions to user16.c. A few fixes for -DSTRICT. * dlls/ole32/Makefile.in, dlls/ole32/clipboard.c, dlls/ole32/compobj.c, dlls/ole32/datacache.c, dlls/ole32/ole2.c, dlls/ole32/ole2stubs.c, dlls/ole32/ole32_main.c, dlls/ole32/rpc.c, dlls/ole32/storage.c: Compile ole32 with -DSTRICT. 2002-11-21 Alexandre Julliard * dlls/shell32/Makefile.in, dlls/shell32/brsfolder.c, dlls/shell32/changenotify.c, dlls/shell32/control.c, dlls/shell32/dialogs.c, dlls/shell32/dragdrophelper.c, dlls/shell32/iconcache.c, dlls/shell32/memorystream.c, dlls/shell32/pidl.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shellreg.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlexec.c, dlls/shell32/shlmenu.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shell32/systray.c: Johan Dahlin Make shell32 compile with -DSTRICT. * dlls/commdlg/Makefile.in, dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg95.c, dlls/commdlg/finddlg32.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c: Andrew John Hughes Make commdlg compile with -DSTRICT. * tools/wineinstall: Matthew Davison Remove obsolete --enable-opengl. * objects/clipping.c, objects/enhmetafile.c: Marcus Meissner Fixed aliasing problems (do not use (POINT*)&rect constructs). * dlls/kernel/console.c, include/wincon.h: Marcus Meissner Handle the COORD <-> DWORD conversion the canonical way. * dlls/user/message.c: Steve Lustbader Have PostMessage call PostThreadMessage when hwnd is NULL. * include/winsock.h: Dimitrie O. Paun Add definition for WSAEDISCON. * configure, configure.ac: Removed OpenGL thread safety check. Renamed option to --without-opengl for consistency. * dlls/gdi/enhmfdrv/objects.c, dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/objects.c, dlls/gdi/wing.c, dlls/gdi/win16drv/font.c, dlls/gdi/win16drv/graphics.c, dlls/gdi/win16drv/objects.c, graphics/mapping.c, objects/bitmap.c, objects/brush.c, objects/dcvalues.c, objects/dib.c, objects/enhmetafile.c, objects/font.c, objects/metafile.c, objects/palette.c, objects/pen.c, objects/region.c: Michael Stefaniuc Some -DSTRICT fixes. * include/winsock.h: Martin Wilck Fixed circular include sequence winsock.h -> windows.h -> winsock2.h -> winsock.h. * windows/class.c: Stefan Leichter Moved implementation of Get/SetClassLong from ascii to unicode. * windows/cursoricon.c: Stefan Leichter Replaced CreateDCA by CreateDCW in LoadImageW. * dlls/ddraw/Makefile.in, dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/main.h, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dvertexbuffer.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/ddcomimpl.h, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/main.h, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h, include/d3d.h: Lionel Ulmer - Clean up all the D3D COM handling (but the underlaying code is still as ugly as before). - Handle properly (ie as on real Windows) negative values in rectangles during blitting. * configure, configure.ac: Use the '-z defs' linker option if supported to better catch undefined symbols. * controls/edit.c: Carl Sopchak Ignore buffer limit on WM_SETTEXT. * dlls/gdi/gdi32.spec, include/wingdi.h, objects/dc.c: Steve Lustbader Stub for SetDCBrushColor. * dlls/Makedll.rules.in, dlls/Maketest.rules.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in: Add -lc when linking dlls to avoid warnings on FreeBSD. * dlls/ntdll/Makefile.in, dlls/ntdll/file.c, dlls/ntdll/heap.c, dlls/ntdll/misc.c, dlls/ntdll/nt.c, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/rtl.c, dlls/ntdll/sec.c, dlls/ntdll/sync.c, dlls/ntdll/virtual.c, files/dos_fs.c, files/file.c, files/smb.c, files/tape.c, loader/module.c, loader/ne/module.c, loader/ne/resource.c, loader/ne/segment.c, loader/pe_image.c, loader/resource.c, memory/global.c, misc/registry.c, relay32/builtin32.c, relay32/snoop.c, scheduler/handle.c, scheduler/process.c, scheduler/syslevel.c, scheduler/thread.c, win32/device.c, win32/except.c, win32/newfns.c: Andrew John Hughes Build ntdll with -DSTRICT. * loader/ne/module.c: Added wrapper to replace llseek+lread to avoid HANDLE/HFILE conversions. * tools/wineinstall: Shachar Shemesh - If running wineinstall and asking not to install, the symbolic links are no created pointing to the source tree files rather to the (non-existing) $libdir - If Windows is found on the system, the installer does not assume that the user is interested in using it. Instead, the user is asked, and if she answers "no", Wine is installed as if no Windows was found. * tools/widl/header.c, tools/widl/parser.l, tools/widl/parser.y, tools/widl/proxy.c, tools/widl/widl.c, tools/widl/widl.h: Ove Kaaven Added "generate headers only" command-line option. Implemented imports from inside interface definitions. Fixed a few problems with generating header files for COM interfaces. * dlls/kernel/kernel32.spec, dlls/kernel/wprocs.spec, dlls/ntdll/Makefile.in, loader/task.c, msdos/int21.c, msdos/interrupts.c, windows/user.c: Jukka Heinonen Removed last users of msdos/interrupts.c. 2002-11-20 Alexandre Julliard * dlls/user/hook.c, include/wine/server_protocol.h, server/hook.c, server/protocol.def, server/request.c, server/trace.c, server/user.h: Added support for system-wide hooks. * dlls/msvcrt/msvcrt.spec: Removed -noimport on functions that are forwards to ntdll. Added -noimport on functions that directly call the libc equivalent. * dlls/comctl32/comctl_Cn.rc, dlls/comctl32/rsrc.rc, dlls/commdlg/cdlg_Cn.rc, dlls/commdlg/rsrc.rc, dlls/shell32/shell32_Cn.rc, dlls/shell32/shres.rc, tools/wmc/lang.c: Tisheng Chen Added Simplified Chinese support. * dlls/msvideo/drawdib.c, dlls/msvideo/msvideo16.c, dlls/msvideo/msvideo_main.c, dlls/msvideo/msvideo_private.h: Eric Pouech No longer using Win32 API relative to 16 bit subsystem for the 32 bit part. * dlls/winmm/wineoss/midi.c: Eric Pouech Better support for multiple midi devices on the OSS interface. * programs/winhelp/hlpfile.c, programs/winhelp/hlpfile.h, programs/winhelp/macro.c, programs/winhelp/string.c, programs/winhelp/winhelp.c, programs/winhelp/winhelp.h: Eric Pouech Wrote back & history support. Correctly implemented << and >> buttons. Added support for page level macros. * tools/winedump/output.c: Alberto Massari winedump was still using the "init" keyword in the .spec file. * dlls/kernel/krnl386.exe.spec, include/selectors.h, memory/selector.c, msdos/vxd.c: Jukka Heinonen Remove some Win32s specific code. * msdos/int13.c, msdos/int20.c, dlls/kernel/wprocs.spec, dlls/ntdll/Makefile.in, include/miscemu.h: Jukka Heinonen Removed obsolete code. 2002-11-19 Alexandre Julliard * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: Implemented some ismbc* functions (based on a patch by Greg Turner). * configure, configure.ac, dlls/Makefile.in, dlls/cabinet/.cvsignore, dlls/cabinet/Makefile.in, dlls/cabinet/cabinet.spec, dlls/cabinet/fci.c, dlls/cabinet/fdi.c, include/Makefile.in, include/fci.h, include/fdi.h: Patrik Stridvall Added stub implementation of cabinet.dll. * include/richedit.h: Robert Shearman Add some RichEdit 2.0/3.0 definitions. * include/winbase.h: Dimitrie O. Paun Added definition for PeekNamedPipe Fixed a lot of badly indented functions. 2002-11-18 Alexandre Julliard * dlls/gdi/Makefile.in, dlls/gdi/gdi.exe.spec, dlls/kernel/Makefile.in, dlls/kernel/krnl386.exe.spec, dlls/shell32/Makefile.in, dlls/shell32/shell.spec, dlls/user/Makefile.in, dlls/user/display.spec, dlls/user/mouse.spec, dlls/user/user.exe.spec, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/winebuild.man.in: Removed support for 'rsrc' spec file statement. * dlls/richedit/reader.c, dlls/richedit/rtf.h: Vincent Béron Get rid of the vararg and generic stuff. * tools/winapi/win16.api, tools/winapi/win32.api: Vincent Béron Removed some unused types. * dlls/kernel/computername.c: Vincent Béron Added netdb.h protection. * scheduler/pthread.c, scheduler/timer.c: Marcus Meissner Fixed strict aliasing issue in __pthread_once and SetWaitableTimer. * dlls/ntdll/Makefile.in, msdos/dosmem.c, msdos/int1a.c: Jukka Heinonen Removed last user of msdos/int1a.c. * dlls/kernel/kernel32.spec, dlls/kernel/wprocs.spec, dlls/winedos/dosaspi.c, dlls/winedos/dosexe.h, include/callback.h, include/miscemu.h, msdos/dpmi.c: Jukka Heinonen Removed obsolete INT_Int31Handler. * dlls/comctl32/listview.c: Setting the horizontal scrollbar can change the values for the vertical one so make sure we compute them separately. * graphics/x11drv/opengl.c: Added empty X11DRV_OpenGL_Init for the non-OpenGL case. * dlls/ntdll/large_int.c: Marcus Meissner Fixed strict aliasing problem in RtlEnlargedUnsignedDivide. * include/wincon.h: Marcus Meissner Fixed strict aliasing problem in __wine_GetLargestConsoleWindowSize_wrapper. * programs/winhelp/hlpfile.c, programs/winhelp/hlpfile.h, programs/winhelp/macro.c, programs/winhelp/winhelp.c, programs/winhelp/winhelp.h: Eric Pouech Added support for window information from the .hlp file. Added support for window numbers in link. * windows/input.c: Stefan Leichter Moved implementation of LoadKeyboardLayout from ASCII to Unicode. * include/winnt.h, include/winuser.h: Patrik Stridvall No version of GNU C++ (unlike GNU C) supports unnamed structs. * include/commctrl.h: Dimitrie O. Paun Support commctrl message-helper macros in C++. * dlls/comctl32/imagelist.c: Dimitrie O. Paun Use DeleteDC instead of DeleteObject to free HDCs (spotted by Dietrich Teickner ). Clear the imagelist structure on deletion, as some stupid apps free imagelists multiple times. * windows/user.c: Stefan Leichter Moved implementation of EnumDisplaySettings from ASCII to Unicode. * include/winternl.h: Mike McCormack Add some definitions for structures used by NtQueryFileInfo. * dlls/ole32/storage.c, dlls/ole32/storage32.c: Ryan Cumming - Move StgIsStorageFile16's implementation to StgIsStorageFile; port it to Win32. - Move StgIsStorageFile from storage.c to storage32.c. - StgIsStorageFile only returns S_OK, STG_E_FILENOTFOUND, and S_FALSE. - StgIsStorageFile doesn't check if a file is large enough to be a storage file, it only checks for the presence of the 8-byte magic. * include/urlmon.h, include/wininet.h: Alberto Massari - Added some definitions. - Fixed signature of GetUrlCacheEntryInfoExW. * tools/wineinstall: Alberto Massari Install link to rundll32.exe too. * programs/rundll32/rundll32.c: Alberto Massari Fix crash when invoked with no arguments. * windows/cursoricon.c: Ryan Cumming Make LookupIconIdFromDirectoryEx16 call LookupIconIdFromDirectoryEx, instead of the other way around. 2002-11-15 Alexandre Julliard * dlls/kernel/computername.c, programs/rundll32/rundll32.c: Warning fixes. * configure, configure.ac, dlls/d3d8/Makefile.in, dlls/ddraw/Makefile.in, dlls/glu32/Makefile.in, dlls/opengl32/Makefile.in, dlls/x11drv/x11drv_main.c, graphics/x11drv/opengl.c, include/config.h.in, include/x11drv.h: Lionel Ulmer Load OpenGL library dynamically from x11drv. * loader/module.c: Eric Pouech Don't fully process FreeLibrary when process is stopping. * programs/notepad/main.c: Dmitry Timoshkov Minor bug fixes. * dlls/kernel/kernel32.spec, files/file.c, include/winbase.h: Ryan Cumming Implemented GetFileSizeEx (based on a patch by Steve Lustbader). * configure, configure.ac, programs/Makefile.in, programs/rundll32/.cvsignore, programs/rundll32/Makefile.in, programs/rundll32/rundll32.c: Alberto Massari Added rundll32 utility. * dlls/winedos/interrupts.c, dlls/winedos/winedos.spec, include/callback.h, msdos/dpmi.c, win32/device.c: Jukka Heinonen DeviceIoControl now calls winedos interrupt handlers. Fixed RawModeSwitch. * windows/sysmetrics.c: Tony Lambregts Fix SM_CYVTHUMB, SM_CXSMSIZE, SM_CXMENUCHECK and SM_CYMENUCHECK. * programs/winhelp/.cvsignore, programs/winhelp/Makefile.in, programs/winhelp/macro.c, programs/winhelp/macro.h, programs/winhelp/macro.lex.l, programs/winhelp/macro.yacc.y, programs/winhelp/winhelp.c, programs/winhelp/winhelp.h: Eric Pouech Rewrote macro engine for adding dynamic macro loading capability. Wrote RegisterRoutine and IsBook macros. * dlls/gdi/mfdrv/dc.c, dlls/wineps/text.c, objects/font.c: Huw Davies Proper handling of SetTextCharacterExtra. * dlls/kernel/Makefile.in, dlls/kernel/computername.c, dlls/kernel/kernel32.spec, dlls/kernel/kernel_main.c, dlls/ntdll/Makefile.in, documentation/configuring.sgml, documentation/samples/config, documentation/wine.conf.man, include/winbase.h, misc/registry.c, win32/init.c, win32/newfns.c: Martin Wilck - Allow setting NetBIOS ComputerName through registry. - Keep old behavior as default, using new config option to change. - Implement SetComputerName(), SetComputerNameEx(), GetComputerNameEx(). - ComputerName initialization moved to kernel32. * dlls/ntdll/rtl.c: Mike McCormack Partial implementation of RtlDosPathNameToNtPathName_U. * dlls/shell32/tests/shlfileop.c, dlls/user/tests/win.c: Patrik Stridvall Made tests compile on Windows. * dlls/shell32/shelllink.c: Marcus Meissner Also silence IShellLinkA_fnSetShowCmd. * dlls/wineps/brush.c, dlls/wineps/escape.c, dlls/wineps/graphics.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, include/wine/wingdi16.h: Huw Davies Implemented Escapes *_PATH and POSTSCRIPT_IGNORE. 2002-11-14 Alexandre Julliard * dlls/x11drv/x11drv_main.c, dlls/x11drv/xrender.c, documentation/samples/config, graphics/x11drv/bitmap.c, graphics/x11drv/clipping.c, graphics/x11drv/xfont.c, include/x11drv.h: Huw Davies Client side render fonts for XServers without the Render extension using X11 core requests. * dlls/user/user_main.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.spec, include/user.h, windows/dce.c, windows/win.c: Added ReleaseDC function to the USER driver interface. 2002-11-13 Alexandre Julliard * dlls/gdi/freetype.c: Huw Davies We need to compare the world transforms (at least the 4 scaling elements) when we accept a font from the cache. Get the correct values for the underscore size and position. Added a missing closedir(). * dlls/wineps/graphics.c: Huw Davies Fix PSDRV_DrawArc to work properly with logical coords. * dlls/wineps/download.c, dlls/wineps/ppd.c, dlls/wineps/type42.c: Huw Davies Instead of trying to download the Type 42 glpyh metrics incrementally (which most printers don't seem to understand), we'll download the whole hmtx table in one go (sigh) unless it's larger than 64K in which case we'll go back to using a Type 1 font. * dlls/wineps/type1.c: Huw Davies We can't cache the unscaled font's hfont, since the mapping mode may change. This resulted in some glyphs being downloaded at the wrong size. * tools/widl/header.c, tools/widl/parser.l, tools/widl/parser.y, tools/widl/widltypes.h: Make sure widl doesn't depend on the headers it has to generate. * dlls/Makefile.in: Updated dependencies. * dlls/tapi32/Makefile.in, dlls/tapi32/line.c, winedefault.reg: Huw Davies Zero out the returned LINETRANSLATECAPS structure. Read country list from the registry. Add a load of countries to winedefault.reg. * dlls/commdlg/filedlg95.c: Mike McCormack Send a CDN_FILEOK in FILEDLG95_OnOpenMultipleFiles. Restructure the handling of Custom dialog notifications. * dlls/comctl32/toolbar.c, include/commctrl.h: Ulrich Czekalla - Add support for multiple image lists. - Add TBN_INITCUSTOMIZE notification. - Correctly populate TBN_QUERYDELETE. - Support TBN_GETBUTTONINFOW. * controls/combo.c: Aric Stewart Fixed a bug with combo boxes where only 1 items was being displayed. * windows/win.c: Fixed sign problem in GetWindowWord/Long check for offset larger than the window extra bytes. * winedefault.reg: Huw Davies Add IStream and IStorage interface entries. * memory/global.c: Francois Gouget Cap the reported physical memory to 2GB to prevent applications (e.g. QuickTime 6) from crashing. * files/profile.c: Dmitry Timoshkov Maintain lower cased file names in the Wine config directory. * dlls/x11drv/keyboard.c: Huw Davies Use iso8859-15 on European keyboards. * dlls/advapi32/registry.c: Aric Stewart Work with the correct subkey with loading keys. Not a true fix to the LoadKey/SaveKey situation. * dlls/shlwapi/path.c, windows/cursoricon.c, windows/nonclient.c: Mike McCormack Fix a few GDI memory leaks. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, include/winsock2.h: Mike McCormack Add stubs and declarations for WSAInstallServiceClassA/W. * dlls/wininet/internet.c: Huw Davies Add a counter to keep track of the number of outstanding async requests. This gets around a problem where a SetEvent could be called before a previous event had been dealt with. * dlls/comctl32/comboex.c: Huw Davies Check the return value of ImageList_GetImageInfo before adjusting the size. * dlls/ntdll/debugtools.c: Huw Davies Reduce the maximum length of debug strings to 80 characters. * dlls/winedos/dosexe.h: Marcus Meissner Do not define MZ_SUPPORTED if we do not have sys/vm86.h for all the struct definitions. * dlls/ttydrv/ttydrv.h: Marcus Meissner Only include curses headers if we are using curses at all. * dlls/oleaut32/typelib.c: Alberto Massari ITypeInfo::Invoke now is able to invoke a function even when it is provided with a byref argument. * dlls/msvcrt/process.c: Fixed data copying in msvcrt_argvtos (spotted by bill@taniwha.org). * include/wtypes.h, include/wtypes.idl, tools/widl/widl.c: Moved rpc.h inclusion in widl-generated file so that tests compile. * include/wine/wingdi16.h, include/wingdi.h, include/x11font.h, objects/font.c: Patrik Stridvall Fixed mismatches between the Wine headers and the Microsoft headers. * programs/winhelp/hlpfile.c, programs/winhelp/hlpfile.h, programs/winhelp/winhelp.c: Eric Pouech Fixed several bugs in: - page/paragraph reading for >= Win95 help files without compression - bitmap & metafile loading - btree reading Now caching bitmap loading for better performance. Several internal code cleanups. * dlls/commdlg/fontdlg.c: Shachar Shemesh - Added support for CF_ENABLETEMPLATEHANDLE. - Revised the FIXME on unsupported flags to not reported the flags now turned supported. * dlls/wininet/http.c, dlls/wininet/urlcache.c, dlls/wininet/wininet.spec: Alberto Massari Added stubs for IsHostInProxyBypassList and GetUrlCacheEntryInfoExA. * programs/winedbg/memory.c: Eric Pouech Actually exit loop on '\0' while printing a string. * include/wtypes.h, include/wtypes.idl: Ove Kaaven Wrote a Wine-compatible wtypes.idl, and generated wtypes.h from it. 2002-11-12 Alexandre Julliard * dlls/kernel/kernel32.spec, dlls/kernel/wprocs.spec, dlls/ntdll/Makefile.in, dlls/winedos/Makefile.in, dlls/winedos/dosexe.h, dlls/winedos/fpu.c, dlls/winedos/int12.c, dlls/winedos/int13.c, dlls/winedos/int1a.c, dlls/winedos/int2a.c, dlls/winedos/int41.c, dlls/winedos/int4b.c, dlls/winedos/interrupts.c, msdos/fpu.c, msdos/int12.c, msdos/int2a.c, msdos/int41.c, msdos/int4b.c: Jukka Heinonen Move simple interrupt handlers to winedos. * dlls/shell32/shelllink.c: Marcus Meissner Silence IShellLink::SetShowCmd for the case we support. * documentation/bugs.sgml: Tony Lambregts Update Reporting Bugs section to reflect current state of wine bugs. * configure, configure.ac: Gerald Pfeifer ucontext.h check requires signal.h. * dlls/msvcrt/msvcrt.spec: Alberto Massari The already implemented function swscanf was missing an entry. * configure, configure.ac, dlls/wineps/Makefile.in, dlls/wineps/init.c, dlls/winspool/Makefile.in, dlls/winspool/info.c, include/config.h.in: Marcus Meissner Do not link against -lcups directly, but dynamically load it if present (just like freetype etc.) * dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/rtlstr.c: Robert Shearman First of tests for the Rtl* string manipulation functions. * dlls/ntdll/ntdll.spec, dlls/ntdll/rtlstr.c: Robert Shearman Implemented RtlUnicodeStringToInteger. * documentation/wine-devel.sgml: Vincent Béron Add multimedia.sgml to standalone wine-devel guide, was already in wine-doc.sgml. * documentation/db2html-winehq: Vincent Béron Correctly identify a RedHat distribution. * documentation/getting.sgml: Dustin Navea Rearranged code to make it more readable. Added in Redhat install instructions, and made note in Other Distro's section to check the Redhat page if you are using Mandrake, as it is Redhat-based. Updated FTP list in the docs, only 1 link different from the most recent ANNOUNCE, wow! Added instructions on un-tarring, compiling, and installing wine from a tarball. * documentation/wine-doc.sgml: Dustin Navea Corrected code spacing for readability. * documentation/introduction.sgml: Dustin Navea Change first usage of the Word Linux into a link to the linux FAQ at linuxdoc.org. Change first usage of the word X11 into a link to the X11 FAQ at xfree86.org. Add wine-devel to the places to go for burning questions. Upped the system req's to the current requirements. Fixed a few grammatical errors and made the text look a little prettier. * documentation/authors.ent: Dustin Navea Add the wine-devel list and myself to the entities to be referenced in the docs. * dlls/d3d8/device.c: Jason Edmeades - Fix bug in multitexturing introduced during dummy texture changes. - Additional traces. * dlls/ole32/hglobalstream.c: Alberto Massari Implemented body of HGLOBALStreamImpl::Clone. * dlls/wininet/Makefile.in, dlls/wininet/http.c, dlls/wininet/wininet.spec: Alberto Massari Added HttpOpenRequestW, HttpQueryInfoW, HttpSendRequestW. * tools/widl/header.c, tools/widl/parser.l, tools/widl/parser.y, tools/widl/proxy.c, tools/widl/widl.c, tools/widl/widltypes.h: Ove Kaaven Support for enums, arrays, encapsulated unions, signed/unsigned qualifiers, UUIDs, include guards, the new ICOM_DEFINE1 macro, and some other improvements. * documentation/HOWTO-winelib: Dimitrie O. Paun Remove parts that have been moved already in the Development Guide. * dlls/kernel/tests/file.c: Ryan Cumming Add test for DeleteFileA with empty paths. * configure, configure.ac, dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, dlls/shell32/tests/.cvsignore, dlls/shell32/tests/Makefile.in, dlls/shell32/tests/generated.c, dlls/shlwapi/tests/.cvsignore, dlls/shlwapi/tests/Makefile.in, dlls/shlwapi/tests/generated.c, dlls/urlmon/Makefile.in, dlls/urlmon/tests/.cvsignore, dlls/urlmon/tests/Makefile.in, dlls/urlmon/tests/generated.c, dlls/user/tests/generated.c, dlls/wininet/tests/.cvsignore, dlls/wininet/tests/Makefile.in, dlls/wininet/tests/generated.c: Patrik Stridvall Updated the generated tests. * tools/winapi/c_parser.pm, tools/winapi/c_type.pm, tools/winapi/tests.dat, tools/winapi/winapi_test: Patrik Stridvall Added tests for a few new DLLs. * dlls/shell32/clipboard.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shv_bg_cmenu.c, include/shellapi.h, include/shlobj.h, include/shlwapi.h: Patrik Stridvall Fixed mismatches between the Wine headers and the Microsoft headers. * scheduler/sysdeps.c: Fixed sparc check. 2002-11-11 Alexandre Julliard * documentation/authors.ent, documentation/documentation.sgml: Tony Lambregts Make the instructions of how to install sgml easier to understand. * dlls/oleaut32/typelib.c: Marcus Meissner Added partial implementation of ITypeInfo::GetDllEntry(). * dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/main.c, dlls/ddraw/helper.c: Lionel Ulmer Proper logging of DDSCAPS / DDSCAPS2 structures. * dlls/user/user16.c, programs/Makefile.in, programs/winhelp/string.c, programs/winhelp/winhelp.c, windows/winhelp.c: Eric Pouech Implemented a Wine-only scheme for interprocess WinHelp message passing. * dlls/comctl32/imagelist.c: Rolf Kalbermatter Fix some NULL dereferencing. * msdos/int11.c: Robert 'Admiral' Coeyman Fixed bit 2 value and set bit 1 too. * Makefile.in, configure, configure.ac, programs/Makefile.in: Removed winetest. * dlls/ddraw/dsurface/dib.c: Marko Kreen Clip bottom coordinates. * Make.rules.in, dlls/Maketest.rules.in, tools/make_ctests, tools/runtest: Dimitrie O. Paun Rewrite make_ctests and runtest in shell. * dlls/kernel/kernel32.spec, dlls/winedos/int31.c: Jukka Heinonen Move all int31 functions to winedos. Fix some obvious bugs in int31 functions. * dlls/winsock/socket.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/win16.api, tools/winapi/win32.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_global.pm, tools/winapi_check/winapi_local.pm: Patrik Stridvall - API files update. - Fixed options --cross-call-{unicode-ascii,win32-win16}. - Minor reorganization of the global checks. * scheduler/sysdeps.c: Marcus Meissner Add case for non sparc / non i386 SYSDEPS_CallOnStack. * dlls/oleaut32/olepicture.c: Marcus Meissner Implemented OleLoadPictureEx. * dlls/oleaut32/typelib.c: Marcus Meissner Silence one FIXME(). Implement ITypeInfo::GetDocumentation for variable descriptions. * dlls/winmm/driver.c, dlls/winmm/lolvldrv.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Eric Pouech Now properly unloading multimedia drivers when winmm unloads. * windows/msgbox.c: Dmitry Timoshkov Fix copy/paste bug. Make MessageBox without an icon look better. * programs/winhelp/hlpfile.c: Eric Pouech Fixed loading HCW 4.0 files without phrase image compression. 2002-11-08 Alexandre Julliard * configure, configure.ac: Patrik Stridvall - Added #include where needed for FreeBSD. - Added protection for #include . * dlls/commdlg/cdlg_Ca.rc, dlls/commdlg/cdlg_Da.rc, dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_En.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_Nl.rc, dlls/commdlg/cdlg_Pl.rc, dlls/commdlg/cdlg_Pt.rc, dlls/commdlg/cdlg_Ru.rc, dlls/commdlg/cdlg_Si.rc, dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Wa.rc, dlls/commdlg/cdlg_Zh.rc, dlls/commdlg/fontdlg.c: Shachar Shemesh - Changed all numeric resources in ChooseFont to labels for better readability. - Changed all handling of stc6 (1093) to atc5 (1092) so that will be compatible with Windows resource numbers. - Added code to load the user's resources rather than our own if CF_ENABLETEMPLATE is passed in "flags". * server/context_i386.c: Pierre Beyssac Avoid FreeBSD compatibility issues with dbreg structure. * include/wine/obj_base.h, include/wine/obj_misc.h: Ove Kaaven Moved IMalloc definition from obj_base.h to obj_misc.h. * include/custcntl.h: Juraj Hercek Added WINELIB_NAME_AW for LPCCINFO. * dlls/ntdll/signal_sparc.c: Juraj Hercek Fixed bug in context registers, added HANDLER_DEF and HANDLER_CONTEXT macros. * dlls/ntdll/signal_i386.c: Marcus Meissner Only enable VM86 mode if we have the include file. * dlls/rasapi32/rasapi.c, dlls/rasapi32/rasapi32.spec, include/ras.h: Marcus Meissner New structures: RASIPADDR, RASDEVINFO, RASENTRY. New stubs: RasSetEntryProperties. RasEnumDevicesA enhanced. * dlls/shell32/dataobject.c: Alberto Massari The object returned by IEnumFORMATETC::Clone should have the same cursor position of the source object. * dlls/rpcrt4/cstub.c: Alberto Massari Avoid crashing when releasing an NdrCStdStubBuffer that had been previously disconnected. * files/file.c: Ryan Cumming - Silence annoying "Empty path passed" error. - Set error correctly when an empty path is passed to DeleteFile. * dlls/kernel/tests/locale.c, ole/ole2nls.c: Ryan Cumming Remove OLE_GetFormatA, reimplement GetDateFormatA and GetTimeFormatA as wrappers around their Unicode versions. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/typelib.c: Marcus Meissner Draft implementation of DispCallFunc. 2002-11-06 Alexandre Julliard * dlls/ntdll/virtual.c: Disable address space limit check on non-i386 platforms. * dlls/comctl32/listview.c: Dimitrie O. Paun Do not draw the text of the item being edited. * tools/winebuild/import.c: Eric Frias Added quotes to assembly language output. * scheduler/sysdeps.c: Juraj Hercek Implemented SYSDEPS_CallOnStack for sparcs. * programs/regedit/regproc.c: Juraj Hercek Bug fixes related to sparc 4-byte boundary alignment. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix the 'jumping selection' bug (#1108). Misc small cleanups. * configure, configure.ac: Gerald Pfeifer When checking for sys/mount.h and sys/user.h also include sys/types.h if available. * dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, dlls/user/tests/generated.c: Patrik Stridvall Updated the generated tests. * tools/winapi/tests.dat, tools/winapi/winapi_test: Patrik Stridvall - Added code for detection of missing types. - Added missing types. - Added a function for each type test to improve compiling with -O2. * dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpcrt4_main.c: Greg Turner - Remove stupid indentations from trace msgs. - Update the rpc TODO list a bit. - Add some constants for winapi_check. - Nil pointer support for some UUID functions (spotted by Olivier Evalet). * controls/menu.c: Chris Morgan Remove ERR() if menu entry isn't of type MF_STRING as some applications set flags of MT_SEPARATOR and erroneous errors are produced. Add a couple of comments. * dlls/ntdll/time.c: György 'Nog' Jeney - Fix RtlTimeToTimeFields to actually work. - Remove comments about leap seconds, windows doesn't take that into account. * dlls/winedos/dosvm.c, dlls/winedos/interrupts.c: Jukka Heinonen Start using winedos handlers for all interrupts. * windows/sysmetrics.c: Francois Gouget Compute SM_CYMAXIMIZED purely based on the screen height until we know how to take into account 'start menus' correctly. * Make.rules.in, dlls/Makedll.rules.in, dlls/Maketest.rules.in, dlls/kernel/Makefile.in, dlls/kernel/kernel32.spec, dlls/ntdll/Makefile.in, dlls/user/Makefile.in, dlls/user/user32.spec, miscemu/Makefile.in, miscemu/wine.spec, programs/Makeprog.rules.in, programs/avitools/Makefile.in, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/winebuild.man.in, tools/winemaker: Added winebuild -e option to specify the entry point and removed the 'init' spec file directive. Winebuild long options now use a more standard double dash format (older format still supported for backwards compatibility). * tools/winapi/win16.api, tools/winapi/win32.api, tools/winapi_check/modules.dat: Patrik Stridvall API files update. * dlls/msvcrt/tests/scanf.c, dlls/msvideo/msvideo16.c, dlls/winedos/int09.c, dlls/winedos/int10.c, dlls/winedos/int16.c, dlls/winedos/int17.c, dlls/winedos/int20.c, dlls/winedos/int21.c, dlls/winedos/int29.c, dlls/winedos/int33.c, dlls/winedos/int67.c, dlls/winedos/interrupts.c, dlls/winmm/mmsystem.c: Patrik Stridvall Fixed some issues found by winapi_check. * include/wine/obj_base.h: Ove Kaaven Add ICOM_DEFINE1 macro to define a COM interface without a base class. Use it to define IUnknown. * dlls/d3d8/d3d8_main.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c: Jason Edmeades - Stencil mapping now works (it helps to actually allocate a stencil buffer). - Texture mapping corrected if no real texture bound. - Code now detects which opengl extensions are present - to be extended later. - More debug tracepoints. * programs/winedbg/hash.c: Eric Pouech Replaced assert by simple if + warning message for too long symbols. * dlls/winedos/int31.c: Jukka Heinonen Move most int31 functions to winedos. Add DPMI32 fixes. * dlls/ddraw/ddraw/hal.c, dlls/ddraw/ddraw/user.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/dsurface/gamma.c, dlls/ddraw/dsurface/hal.c, dlls/ddraw/dsurface/thunks.c, dlls/ddraw/dsurface/user.c: Matthew Bloch Vtable fixes. * dlls/rasapi32/rasapi.c, dlls/rasapi32/rasapi32.spec: Marcus Meissner Added RasValidateEntryNameA stub. 2002-11-04 Alexandre Julliard * dlls/avifil32/avifil32.spec, dlls/avifil32/factory.c, dlls/comcat/comcat.spec, dlls/comcat/comcat_main.c, dlls/comctl32/comctl32.spec, dlls/comctl32/commctrl.c, dlls/commdlg/cdlg32.c, dlls/commdlg/comdlg32.spec, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/d3d8/d3d8.spec, dlls/d3d8/d3d8_main.c, dlls/ddraw/ddraw.spec, dlls/ddraw/main.c, dlls/dinput/dinput.spec, dlls/dinput/dinput_main.c, dlls/dplayx/dplayx.spec, dlls/dplayx/dplayx_main.c, dlls/gdi/gdi32.spec, dlls/gdi/gdi_main.c, dlls/imagehlp/imagehlp.spec, dlls/imagehlp/imagehlp_main.c, dlls/msacm/msacm32.spec, dlls/msacm/msacm32_main.c, dlls/msisys/msisys.c, dlls/msisys/msisys.ocx.spec, dlls/msvcrt/main.c, dlls/msvcrt/msvcrt.spec, dlls/msvideo/msrle32/msrle32.c, dlls/msvideo/msrle32/msrle32.spec, dlls/netapi32/netapi32.c, dlls/netapi32/netapi32.spec, dlls/odbc32/odbc32.spec, dlls/odbc32/proxyodbc.c, dlls/ole32/ole32.spec, dlls/ole32/ole32_main.c, dlls/opengl32/opengl32.spec, dlls/opengl32/wgl.c, dlls/richedit/riched32.spec, dlls/richedit/richedit.c, dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c, dlls/serialui/confdlg.c, dlls/serialui/serialui.spec, dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/shlwapi_main.c, dlls/snmpapi/main.c, dlls/snmpapi/snmpapi.spec, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/ttydrv_main.c, dlls/twain/twain32_main.c, dlls/twain/twain_32.spec, dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c, dlls/winaspi/winaspi32.c, dlls/winaspi/wnaspi32.spec, dlls/winedos/dosvm.c, dlls/winedos/winedos.spec, dlls/wineps/init.c, dlls/wineps/wineps.spec, dlls/wininet/internet.c, dlls/wininet/wininet.spec, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/mciavi.drv.spec, dlls/winmm/winmm.c, dlls/winmm/winmm.spec, dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, dlls/winspool/winspool.drv.spec, dlls/winspool/wspool.c, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c, tools/winebuild/spec32.c: Made the dll entry point default to DllMain and removed most of the 'init' spec file declarations. * dlls/shell32/control.c: Warning fix. * dlls/kernel/format_msg.c: Ryan Cumming Handle FORMAT_MESSAGE_FROM_HMODULE and FORMAT_MESSAGE_FROM_SYSTEM both being set at once. * configure, configure.ac, dlls/winmm/Makefile.in, dlls/winmm/tests/.cvsignore, dlls/winmm/tests/Makefile.in, dlls/winmm/tests/wave.c: Francois Gouget Test sound format support with waveOutGetDevCaps and waveOutOpen. * relay32/relay386.c, tools/winebuild/spec32.c: Hack to detect register functions automatically so that relay debug also works for functions using the DEFINE_REGS_ENTRY_POINT macros. * files/directory.c: Make COMSPEC point to wcmd.exe, not command.com. * include/winuser.h, windows/sysparams.c: Greg Turner - noop redefinition of SPI_[GET/SET]MENUUNDERLINES - define and fixme for SPI_[GET/SET][SELECTIONFADE/DROPSHADOW/KEYBOARDCUES] * dlls/user/resources/user32_Hu.rc, programs/clock/Hu.rc, programs/clock/rsrc.rc, programs/notepad/Hu.rc, programs/notepad/rsrc.rc, programs/progman/Hu.rc, programs/progman/rsrc.rc, programs/wineconsole/wineconsole_Hu.rc, programs/wineconsole/wineconsole_res.rc, programs/winefile/Hu.rc, programs/winefile/rsrc.rc, programs/winhelp/Hu.rc: Zoly Nagy Added/upgraded Hungarian resources. * dlls/gdi/freetype.c, dlls/win32s/win32s16.c, graphics/x11drv/xfont.c, include/gdi.h, include/winbase.h, include/wingdi.h, include/winnt.h, include/winuser.h, include/x11font.h, memory/virtual.c, msdos/vxd.c, objects/enhmetafile.c, objects/font.c: Patrik Stridvall Fixed mismatches between the Wine headers and the Microsoft headers. * tools/winapi/msvcmaker: Patrik Stridvall - Updated it to support changes in Wine. - Added support for C++ compilation (off by default). * dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, dlls/user/tests/generated.c: Patrik Stridvall Updated the generated tests. * tools/winapi/c_parser.pm, tools/winapi/c_type.pm, tools/winapi/tests.dat, tools/winapi/tests.pm, tools/winapi/winapi_test: Patrik Stridvall Added tests for normal types (not just structures). * include/winnls.h: Ryan Cumming Added missing CSTR_ definitions. * dlls/winmm/wineoss/audio.c: Francois Gouget OSS_RawOpenDevice should return an error if the format is not supported. * dlls/rasapi32/rasapi.c, dlls/rasapi32/rasapi32.spec: Ryan Cumming Add stub for RasEnumConnectionsW. * dlls/ole32/marshal.c, dlls/ole32/ole2stubs.c: Marcus Meissner Handle errors in std marshaller better, do not crash. Added another error message if some program tries to marshal IOleObject. OleCreate() should be able to use Local Servers too (it can't as of now, just for debugging). * dlls/wineps/driver.c, dlls/wineps/init.c: Marcus Meissner Specify existing extra size of WINEPS Devmode structure. Make ExtDeviceMode16 in WINEPS return the correct size. * programs/wcmd/wcmdmain.c: Jaco Greeff Skip the allocation of a new console on "wcmd /c " execution, using the current allocated STDIN and STDOUT handles for command input/output. * dlls/winedos/int31.c, dlls/winedos/int67.c, dlls/winedos/xms.c: Jukka Heinonen Ignore VCPI installation checks. Handle XMS query any extended memory function. Add stubs for get/set exception handler vector. * dlls/winedos/interrupts.c, msdos/dosmem.c: Jukka Heinonen When returning from 32-bit default interrupt handlers, eflags are now returned correctly. * dlls/ddraw/ddraw/user.c: Lionel Ulmer Additional exported capabilities to please some picky games. * dlls/ddraw/dsurface/main.c: Lionel Ulmer - only compare the first WORD in the DDSCAPS2 structure if no DX7 - add some TRACEs * dlls/ddraw/helper.c: Lionel Ulmer Augment the DDSCAPS2 dumping routine with new caps. 2002-10-31 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20021031. ---------------------------------------------------------------- 2002-10-31 Alexandre Julliard * dlls/msvcrt/cppexcept.c, dlls/msvcrt/except.c: Added clobber lists to the inline assembly functions. * dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c: Matthew Davison Fixed some handle conversions for -DSTRICT. * dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpcrt4.spec, include/rpcdce.h, include/rpcdcep.h: Greg Turner Fix some problems found by winapi_check. * dlls/rpcrt4/ndr_marshall.c: Greg Turner Fix stupid clone of broken macro, found by Marcus. * include/wine/rpcfc.h: Ove Kaaven Some RPC format characters from MS documentation. * dlls/shell32/control.c: Stefan Leichter Remove quotes from filename before calling LoadLibrary in DoLaunch. * dlls/shell32/shell32_main.c: Alberto Massari - Fixed typo in SHGetFileInfoA. - Properly convert return values back to Unicode in SHGetFileInfoW. * dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_server.c, include/rpcdcep.h: Greg Turner Remove #ifdef WINNT conditionals; just use the NT definitions. * dlls/rpcrt4/ndr_marshall.c: Greg Turner - Use appropriate per-platform NDR_LOCAL Data Representation. - Minor housekeeping changes. * dlls/shell32/shelllink.c: Marcus Meissner Escape \ in path and arguments. Use UNIX style work_dir, not windows dir. * programs/progman/Si.rc, programs/progman/rsrc.rc: Rok Mandeljc Updated Slovenian resources for (new) version of progman. * dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpcrt4.spec, include/rpcdce.h: Greg Turner - Fix offset bug in the conformant string unmarshall routine. - Fix discrepancy between headers and implementation of I_RpcBindingSetAsync when compiling under WINNT. - Eliminate race conditions in the relationship between "listen_count" and "std_listen" in rpc_server.h. - Code-stubs for RpcServerUnregisterIf, RpcServerUnregisterIfEx. - Attempt to implement RpcMgmtStopServerListening (definitely not happy just yet). - RpcServerUnregisterIfEx wasn't xp-sepcific after all; this leads me to suspect there are more such mistakes in the spec-file comments, but I haven't looked into it or fixed them yet (coming soon). - Cleanups, trace-enhancements, etc. * server/hook.c: Work around to make system-global hooks at least run in the thread that set them. * controls/listbox.c, dlls/user/user16.c, dlls/user/user32.spec, dlls/winmm/mmsystem.c, dlls/x11drv/winpos.c, windows/win.c, windows/winpos.c: Split out some more 16-bit code. * dlls/msvcrt/except.c, dlls/msvcrt/msvcrt.spec: Marcus Meissner _seh_longjmp_unwind is i386 only for now. * include/rpc.h, include/rpcndr.h: Greg Turner - Cast NDR_* #defines to (unsigned long) instead of (UINT32) like MS headers. - Create __RPC_MAC__ and __RPC_WIN64__ conditional #defines. - Correct NDR_LOCAL_DATA_REPRESENTATION for Mac's. - New NDR_LOCAL_IS_BIG_ENDIAN conditional #define. - #define TARGET_IS_NT50_OR_LATER. * dlls/rpcrt4/ndr_marshall.c: Greg Turner Rename the *_32_READ macros to *_UINT32_READ for clarity. * programs/progman/En.rc: Vincent Béron Fix English progman resources by translating French bits. * programs/progman/Fr.rc: Vincent Béron Small cleanup for the French progman resources. * dlls/comctl32/comboex.c: Carlos Lozano lParam was not properly sent in COMBOEX_DrawItem. * dlls/comctl32/listview.c: Dimitrie O. Paun Append columns with large column indices. * configure, configure.ac, include/config.h.in, scheduler/client.c: Steven Edwards Mingw porting fix. * dlls/winedos/int10.c, dlls/winedos/vga.c, dlls/winedos/vga.h: Jukka Heinonen Prevent crashes when DOS program tries to access console and no Windows console is available. * dlls/x11drv/Makefile.in, dlls/x11drv/clipboard.c, dlls/x11drv/event.c, dlls/x11drv/scroll.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/xrender.c, graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/dib.c, graphics/x11drv/init.c, graphics/x11drv/palette.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c: Converted x11drv to -DSTRICT. * dlls/msvideo/mciwnd.c, dlls/winmm/mcianim/mcianim.c, dlls/winmm/mciavi/private_mciavi.h, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h, include/mmddk.h, include/wine/mmsystem16.h, windows/driver.c: Moved 16-bit definitions out of mmddk.h into mmsystem16.h. * dlls/x11drv/clipboard.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/xrender.c, graphics/x11drv/brush.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c: Fixed a number of -DSTRICT warnings. * dlls/msvcrt/cppexcept.c, dlls/msvcrt/msvcrt.h: Added support for nested exceptions happening inside a catch block. * windows/msgbox.c: Uwe Bonnes MSGBOX_DlgProc: break out of WM_COMMAND. * controls/menu.c, dlls/avifil32/api.c, dlls/comctl32/propsheet.c, dlls/comctl32/toolbar.c, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg95.c, dlls/commdlg/finddlg.c, dlls/commdlg/finddlg32.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, dlls/msacm/format.c, dlls/serialui/confdlg.c, dlls/setupapi/virtcopy.c, dlls/shell32/brsfolder.c, dlls/shell32/dialogs.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/user/message.c, dlls/wineps/driver.c, include/winuser.h, windows/dialog.c, windows/input.c, windows/mdi.c, windows/msgbox.c, windows/timer.c, windows/winhelp.c: Dmitry Timoshkov Fix some types and function prototypes according to Platform SDK definitions. * dlls/winmm/Makefile.in, dlls/winmm/driver.c, dlls/winmm/joystick.c, dlls/winmm/lolvldrv.c, dlls/winmm/mci.c, dlls/winmm/message16.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/playsound.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c, include/mmddk.h: Eric Pouech winmm/mmsystem now compiles with -DSTRICT. * include/vfw.h: Eric Pouech Split between 16 / 32 bit code. * dlls/comctl32/treeview.c: Dimitrie O. Paun Fix some treeview notification codes between ANSI/Unicode mode. * dlls/winmm/wavemap/wavemap.c: Eric Pouech Return correct values for wave(In|Out)GetPosition even if playing non PCM files. * dlls/msvideo/Makefile.in, dlls/msvideo/drawdib.c, dlls/msvideo/msvideo.spec, dlls/msvideo/msvideo16.c, dlls/msvideo/msvideo_main.c, dlls/msvideo/msvideo_private.h, dlls/msvideo/vfw16.h: Eric Pouech Split between 16 / 32 bit code. 2002-10-30 Alexandre Julliard * dlls/winedos/.cvsignore: Added winedos16.spec.c. * configure, configure.ac, dlls/msvcrt/Makefile.in, dlls/msvcrt/tests/.cvsignore, dlls/msvcrt/tests/Makefile.in, dlls/msvcrt/tests/scanf.c: Uwe Bonnes First version of msvcrt scanf test. * controls/combo.c, controls/desktop.c, controls/edit.c, controls/static.c, controls/uitools.c, dlls/user/user16.c, include/win.h, windows/defwnd.c, windows/message.c, windows/nonclient.c, windows/painting.c, windows/scroll.c, windows/sysparams.c, windows/win.c: Michael Stefaniuc Some more fixes for compiling the user dll with -DSTRICT. * dlls/winedos/Makefile.in, dlls/winedos/winedos16.spec: Jukka Heinonen Add winedos16.dll which contains 16-bit protected mode interrupt entry points. * dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h: Carlos Lozano Fixed SHGFI_SYSICONINDEX flag handling. * Makefile.in, dlls/Maketest.rules.in, include/wine/test.h, programs/winetest/Makefile.in, programs/winetest/make_ctests, programs/winetest/wtmain.c: Moved the test routines from wtmain.c into wine/test.h so that they can be compiled separately with different flags for each dll. * dlls/rpcrt4/ndr_marshall.c: Marcus Meissner Fixed LITTLE_ENDIAN_32_READ macro to at least compile. * dlls/winsock/Makefile.in, dlls/winsock/async.c, dlls/winsock/socket.c, include/winsock.h: Martin Wilck - Define SOCKET as UINT_PTR for Win64 (thanks to P. Stridvall). - Make winsock compile without WINE_NO_STRICT. * dlls/ntdll/signal_powerpc.c: Marcus Meissner Powerpc instruction pointer is Iar, not Eip. * dlls/winmm/wavemap/Makefile.in, dlls/winmm/wavemap/wavemap.c: Eric Pouech wavemap now compiles with -DSTRICT. 2002-10-29 Alexandre Julliard * tools/wineinstall: Removed no longer needed support for patching the debugger path in the registry. * dlls/Makedll.rules.in: Only run the 32-bit checklink for dlls that contain 16-bit files. * documentation/bugs.sgml, documentation/configuring.sgml, documentation/installing.sgml, documentation/wine.man.in: Andreas Mohr - added troubleshooting section to Wine Users Guide (taken from Wine Troubleshooting Guide) - documented Windows/DOS version values (grrr !) - misc. other stuff * dlls/kernel/kernel32.spec, dlls/winedos/int20.c, dlls/winedos/int21.c, dlls/winedos/int31.c, dlls/winedos/interrupts.c, include/miscemu.h: Jukka Heinonen Modify winedos interrupt handlers so that they work with PM interrupts. Add forwarding functions for handlers in other DLLs. Make DOSVM_GetBuiltinHandler use static table instead of GetProcAddress. * dlls/comctl32/listview.c: Rein Klazes Fix for listview wheelmouse message handling. * include/wine/test.h: Patrik Stridvall Added {ok,trace}_ macros to take explicit file and line number. * dlls/rpcrt4/ndr_marshall.c: Greg Turner - more comments and comment-cleanup - attempt to implement NdrConformantStringMemorySize - fix NdrConformantStringUnMarshall - w00t! * dlls/winmm/joystick.c, dlls/winmm/mmsystem.c: Eric Pouech Moved 16 bit joystick function to mmsystem.c. * dlls/winmm/Makefile.in, dlls/winmm/joystick.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Eric Pouech - internal renaming (no longer using MMSYSTEM prefixes for WINMM only functions) - moved time 16/32 conversions functions to 16 bit source files - final Makefile changes (16 bit part can now really be not compiled when -disable-win16 is requested) * dlls/winmm/mmsystem.c, dlls/winmm/time.c, dlls/winmm/winemm.h: Eric Pouech - let all time related functions make use of low level drivers 16 bit functions - some renaming (prefixing internal time functions with TIME) * dlls/winmm/lolvldrv.c, dlls/winmm/message16.c, dlls/winmm/winemm.h: Eric Pouech All low level driver functions (internals for wave, midi, mixer and aux) are now cleanly separated. * dlls/winmm/mci.c, dlls/winmm/message16.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Eric Pouech All MCI functions are now cleanly separated. * dlls/winmm/driver.c, dlls/winmm/mmsystem.c, dlls/winmm/playsound.c, dlls/winmm/winemm.h: Eric Pouech All driver functions are now properly separated. * dlls/winmm/mmsystem.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Eric Pouech - revisited mmsystem/winmm loading mechanism - added WINMM_CheckMMSystem function (helps 32 bit code detect presence of our own mmsystem DLL) - some internal renaming (MULTIMEDIA => WINMM) * dlls/winmm/driver.c, dlls/winmm/mci.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h: Eric Pouech Now only storing thread id for mci tasks (16 bit htask is now gotten from WOW functions). * windows/winpos.c: Fixed ShowWindowAsync. * dlls/user/user_main.c, include/queue.h, windows/queue.c: Removed a couple of no longer used queue functions. * controls/combo.c, dlls/avicap32/avicap32.spec, dlls/avifil32/api.c, dlls/avifil32/avifile.spec, dlls/rpcrt4/rpcrt4.spec, dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c, dlls/user/user32.spec, dlls/wininet/internet.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/win16.api, tools/winapi/win32.api: Patrik Stridvall API file update. * dlls/shell32/shell.c, dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c: György 'Nog' Jeney Separate out 16-bit ShellExecute function. * dlls/comctl32/tooltips.c: Sander van Leeuwen Fixed font object leak in WM_SETFONT handler. * dlls/x11drv/keyboard.c: Jeff Smith Corrections to the Spanish keyboard layout. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec: Hagen Heiduck Added WSASendDisconnect. * dlls/kernel/Makefile.in, dlls/oleaut32/Makefile.in: Patrik Stridvall Added some defines for compatibility with Windows headers. * dlls/kernel/wowthunk.c: Eric Pouech Silence unneeded ERR while converting tasks. * dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h: Eric Pouech - finish mmio separation - no longer storing function pointers in global IData * dlls/comctl32/treeview.c: Dimitrie O. Paun Send the right notification code (A/W) depending on the Unicode setting. * tools/winapi/msvcmaker, tools/winapi/msvcmaker_options.pm, tools/winapi/util.pm: Patrik Stridvall Add new options --wine and --winetest so workspace and project files for Wine and Winetest might be generated independently. * dlls/shell32/tests/shlfileop.c, dlls/user/tests/sysparams.c, dlls/user/tests/win.c, dlls/wininet/tests/http.c: Patrik Stridvall Fixed tests to compile with MS C on Windows. * dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, dlls/user/tests/generated.c: Patrik Stridvall Updated the generated tests. * tools/winapi/tests.dat, tools/winapi/winapi_test: Patrik Stridvall Added support for excluding optional fields. * include/wingdi.h, include/winuser.h: Patrik Stridvall Fixed mismatches between the Wine headers and the Microsoft headers. * dlls/setupapi/infparse.c: Jaco Greeff Made the reporting for the (current) unsupported flags in GenInstall16 more user-friendly, i.e. report per missing flag instead of DWORD value. * dlls/ttydrv/wnd.c, dlls/user/Makefile.in, dlls/user/focus.c, dlls/user/hook.c, dlls/user/hook16.c, dlls/user/message.c, dlls/user/msg16.c, dlls/user/user.exe.spec, dlls/user/user32.spec, dlls/user/user_main.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, include/hook.h, include/queue.h, include/user.h, include/wine/server_protocol.h, include/wine/winuser16.h, server/Makefile.in, server/hook.c, server/list.h, server/protocol.def, server/request.h, server/thread.c, server/thread.h, server/trace.c, server/user.h, windows/hook.c, windows/input.c, windows/message.c, windows/nonclient.c, windows/queue.c, windows/user.c, windows/win.c: Rewrote hook support to store the hook chain in the server. Split off 16-bit hook functions and re-implemented them on top of the 32-bit ones; system-wide 16-bit hooks are no longer supported at this point. 2002-10-28 Alexandre Julliard * dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, include/wine/exception.h, programs/winedbg/winedbg.c, win32/except.c: Lionel Ulmer Raise an exception if any Wine or Winelib code does an assert. * programs/wcmd/directory.c: Steven Edwards Porting fix. * dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/rpc_message.c: Greg Turner - Pull the buffer from the rpc message into the midl stub message during RpcServerInitializeNew. - Attempt to implement NdrConformantStringUnmarshall. - More assertions. - Comments and cleanups. * dlls/rpcrt4/rpcrt4.spec: Greg Turner Add a bunch of stubs, all of which I presume to be WXP additions. * dlls/winedos/dosvm.c, dlls/winedos/int09.c, dlls/winedos/int16.c, programs/wineconsole/user.c, windows/message.c: Andreas Mohr - Make int09 update the BIOS data segment's keyboard status flags bytes, implement pause key handling. - Let int16/02 read the keyboard status flags bytes instead of calling GetAsyncKeyState(). - Make the keyboard state buffer used for Get*Key*() reflect VK_L/RMENU properly. - Small fixes. * dlls/comctl32/listview.c: set_main_item: ignore meaningless bits in stateMask for LVS_OWNERDATA instead of failing. * dlls/shell32/shell.c, dlls/shell32/shellreg.c: György 'Nog' Jeney Separate out 16-bit registry functions. * dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/rpc_message.c, dlls/rpcrt4/rpc_server.c, include/rpcndr.h: Greg Turner - Clean up and add some comments. - Add NDR Data representation constants. - Propagate DataRepresentation into and out of packet headers. - Implement NdrServerInitializeNew * dlls/winmm/lolvldrv.c, dlls/winmm/message16.c, dlls/winmm/winemm.h: Eric Pouech Move low level multimedia message mapping out of 32 bit code. * dlls/winmm/Makefile.in, dlls/winmm/mci.c, dlls/winmm/message16.c, dlls/winmm/winemm.h: Eric Pouech Move MCI message mapping out of 32 bit code. * dlls/winmm/driver.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h: Eric Pouech Move driver message mapping out of 32 bit code. * dlls/d3d8/device.c: Jason Edmeades Handle texture FVF formats when no texture is bound. * dlls/rpcrt4/ndr_marshall.c: Greg Turner - Distinguish between actual paranoia and meaningful buffer space. - No need to #undef BUFFER_PARANOIA here. * dlls/comctl32/listview.c: Dimitrie O. Paun We should always have a main item in report mode. * dlls/comctl32/listview.c: Dimitrie O. Paun Properly fill lParam in NMLISTVIEW. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix crash-inducing typo/thinko. * dlls/comctl32/listview.c: Dimitrie O. Paun Mark immutable objects as const. Fix inconsistent *-style. * dlls/comctl32/listview.c: Dimitrie O. Paun Add LVHITTESTINFO debug helper. More tracing. * dlls/comctl32/listview.c: Dimitrie O. Paun Despite what the docs say, we have to invalidate the list on WM_SETREDRAW(TRUE). * dlls/comctl32/listview.c: Dimitrie O. Paun Eliminate flicker when resizing, docs updates. * dlls/comctl32/listview.c: Dimitrie O. Paun Cleanup, and simplification of UpdateSize. * dlls/comctl32/listview.c: Dimitrie O. Paun Handle focus item properly in SetItemCount. * dlls/comctl32/listview.c: Dimitrie O. Paun Remove only the necessary selections when setting the item count. * dlls/comctl32/listview.c: Dimitrie O. Paun Rewrite of the SetItemCount: bugs got squashed, LVSICF_{NOSCROLL,NOINVALIDATEALL} implemented. * dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int31.c, dlls/winedos/interrupts.c, dlls/winedos/module.c: Jukka Heinonen Add routines for manipulating protected mode interrupt handlers to winedos dll. Add routine for checking if process is Windows process. Fix DOSVM_IsDos32 interface. Move real mode interrupt handler manipulation routines to interrupts.c. * windows/user.c: Andreas Mohr Make GetFreeSystemResources16 print its values on TRACE. * controls/button.c, controls/listbox.c, dlls/user/exticon.c, dlls/user/message.c, dlls/user/wnd16.c, windows/defdlg.c, windows/mdi.c: Michael Stefaniuc Some fixes for the compilation of the user dll with -DSTRICT. * dlls/d3d8/device.c: Jason Edmeades Add copyrects support. * dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpcrt4.spec, include/rpcndr.h: Greg Turner - Clean up and enhance some traces. - Stubs for NdrConvert, NdrConvert2, and NdrServerInitializeNew. * dlls/shell32/enumidlist.c: Dimitrie O. Paun Add proper support for the SHCONTF_INCLUDEHIDDEN flag. * dlls/lzexpand/Makefile.in, dlls/lzexpand/lzexpand16.c, dlls/lzexpand/lzexpand_main.c: Matthew Davison Made lzexpand compile with STRICT defined. * dlls/winmm/mci.c: Eric Pouech Fixed mciSendString debug reporting when an error occurs (spotted by Erland Lewin). * dlls/user/Makefile.in, dlls/user/msg16.c, dlls/user/wnd16.c, windows/hook.c, windows/spy.c, windows/win.c, windows/winpos.c, windows/winproc.c: Moved a few remaining 16-bit window functions to wnd16.c and moved it to the C_SRCS16 sources. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c: Jason Edmeades - Initialize the texture state information. - Add dummy textures so texture operations which dont reference the texture can work. - Support 2d and 3d textures properly. - Reapply the texture state information as textures get set, as opengl stores the state along with the bound texture whereas directx uses the current state information during the draw stage. - 3rd attempt to sort out lighting, for programs which dont set normals. - Temporarily silence some unnecessary fixmes. * dlls/comctl32/toolbar.c: Carlos lParam was not properly sent in TTM_ADDTOOLW. * dlls/comctl32/comboex.c: Carlos lParam was not properly sent in CBEN_GETDISPINFOW. * files/dos_fs.c: György 'Nog' Jeney Copy the necessary data from the unicode struct to the ascii one in DOSFS_FindNext. * dlls/wininet/ftp.c, dlls/wininet/internet.c, dlls/wininet/wininet.spec: Jaco Greeff - Implementation of [Internet|Ftp]*W functions to extend (almost) non-existant wide-character support. - Moved some functions from "stub in wininet.spec" to "FIXME("STUB")" to allow for testing of changes. * dlls/rpcrt4/ndr_marshall.c: Greg Turner Fix endianness dependency in the (there is only one :) ) marshall function. * dlls/shell32/shell32_main.c: Carlos The function SHGetFileInfoA wasn't supporting the flag SHGFI_USEFILEATTRIBUTES. 2002-10-25 Alexandre Julliard * dlls/x11drv/dga2.c: Greg Turner Avoid X11 error during DGA detection. * dlls/kernel/Makefile.in, dlls/kernel/comm.c, dlls/kernel/console.c, dlls/kernel/debugger.c, dlls/kernel/sync.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c: Michael Stefaniuc Compile the kernel dll with -DSTRICT. * dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/rpc_message.c: Greg Turner - Use memset instead of ZeroMemory, just to be consistent with Ove's code. - Add some assertions where assumptions are made (need way more). - Plug the binding handle into the RPC_MESSAGE during NdrGetBuffer. - Implement NdrSendReceive. - Attempt to support client and server bindings in I_RpcSend[Receive]. * dlls/shell32/dragdrophelper.c, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_mycomp.c: Alberto Massari Don't touch the This pointer after it has been freed. * dlls/shell32/shell.c, dlls/user/user32.spec: Install the shell hook as a 32-bit hook. * dlls/advapi32/Makefile.in, dlls/advapi32/eventlog.c, dlls/advapi32/registry.c, dlls/advapi32/security.c, dlls/advapi32/service.c: Michael Stefaniuc Compile the advapi32 dll with -DSTRICT. * dlls/ntdll/reg.c, include/winternl.h: Made the ntdll registry functions use HKEY instead of HANDLE. * dlls/comctl32/listview.c, dlls/comctl32/treeview.c, dlls/kernel/tests/alloc.c, dlls/shell32/shellole.c, dlls/shlwapi/reg.c, dlls/winmm/winealsa/audio.c, dlls/x11drv/keyboard.c: Andreas Mohr - fix some pselling - enhance some TRACEs * winedefault.reg: Sylvain Petreolle Added DirectPlayLobby CLSID entries. * dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/ndr_misc.h, dlls/rpcrt4/ndr_stubless.c, dlls/rpcrt4/rpcrt4_main.c, include/rpcndr.h, include/wine/rpcfc.h: Greg Turner - Make explicit some missing include dependencies. - Implement NdrGetBuffer, NdrFreeBuffer, NdrConformantStringBufferSize and NdrConformantStringMarshall. - Define the RPC_FC_C_CSTRING constant. - Perhaps I don't want those MIDL_*_FORMAT_STRING structs, after all. Removed. - Add RPC todo list. - MIDL_STUB_MESSAGE.uFlags aren't. - Comment out the NdrClientCall2 mock-up since that stuff is in the process of being implemented and might cause problems. * dlls/kernel/tests/locale.c, ole/ole2nls.c: Bill Medland Fix OLE_GetFormatW so that GetDateFormatW works. Rearranged for simplicity. * programs/winedbg/memory.c: Jeff Smith Fixed behaviour of "x /s ...". * dlls/ttydrv/Makefile.in, dlls/ttydrv/bitmap.c, dlls/ttydrv/dc.c, dlls/ttydrv/graphics.c, dlls/ttydrv/objects.c, dlls/ttydrv/wnd.c: Michael Stefaniuc Compile the ttydrv dll with -DSTRICT. * dlls/winmm/mci.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/playsound.c, dlls/winmm/time.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Eric Pouech Simplify the global internal data handling. * dlls/winmm/lolvldrv.c, dlls/winmm/mci.c, dlls/winmm/winemm.h: Eric Pouech Unify the constant used for error codes reporting mapping functions success/failures. * dlls/d3d8/d3d8_main.c, include/d3d8.h: Jason Edmeades Define the main directx8 entrypoint. * dlls/commdlg/filedlgbrowser.c, dlls/shell32/shellstring.c, dlls/twain/ds_image.c: Michael Stefaniuc Some small cleanups. * programs/wineconsole/wineconsole_De.rc, programs/wineconsole/wineconsole_En.rc: Andreas Mohr - correct German strings to what they're really supposed to be - less confusion about stored settings * dlls/winedos/int17.c: Andreas Mohr Tiny int17 printer fix. * dlls/crypt32/crypt32.spec, dlls/crypt32/main.c: Andreas Mohr Added CertOpenStore stub. * files/directory.c, files/dos_fs.c, files/drive.c, files/file.c, include/file.h, include/winnt.h: Get rid of FILE_ATTRIBUTE_SYMLINK (based on a patch by Bill Medland). * dlls/comctl32/listview.c: Dimitrie O. Paun Do not invalidate list on WM_SETREDRAW. Update size info even if redrawing is disabled. Trivial cleanups, and some tracing. * dlls/comctl32/listview.c: Dimitrie O. Paun We can avoid flicker on column resize only if it's left align. * dlls/comctl32/listview.c: Dimitrie O. Paun Always draw the main item in full row select. * dlls/comctl32/listview.c: Dimitrie O. Paun Use iterators to render over the columns, in report mode. * dlls/comctl32/listview.c: Dimitrie O. Paun Small iterator-over-range[s] cleanup. * dlls/comctl32/listview.c: Dimitrie O. Paun Eliminate most of the flicker when resizing columns. More debug tracing. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix subitem background color in full row select. * dlls/comctl32/listview.c: Dimitrie O. Paun We should callback for inexistent subitems. Do not store callback items for subitems, even if we're asked to. Small cleanup. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix crash when computing the item width of a report with no columns. Override custom draw bkgnd color for selection items. Fill background for all items that have a bkgnd colour. * dlls/comctl32/listview.c: Dimitrie O. Paun Keep autoarranging items until one is moved. * dlls/comctl32/listview.c: Dimitrie O. Paun Abstract autoarranging decision to a helper function. * dlls/comctl32/listview.c: Dimitrie O. Paun Do not do screen work if refreshing is disabled. Reimplement SetRedraw to cope with the changes. * dlls/comctl32/listview.c: Dimitrie O. Paun Rewrite the UpdateScroll function: simpler, faster. Add debugging helper for SCROLLINFO. Fix potential bug in debugging helpers. * dlls/oleaut32/Makefile.in, dlls/oleaut32/ole2disp.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/stubs.c: Michael Stefaniuc Compile the oleaut32 dll with -DSTRICT. * dlls/shlwapi/Makefile.in, dlls/shlwapi/ordinal.c, dlls/shlwapi/path.c, dlls/shlwapi/reg.c, dlls/shlwapi/regstream.c, dlls/shlwapi/shlwapi_main.c, dlls/shlwapi/thread.c: Michael Stefaniuc Compile the shlwapi dll with -DSTRICT. * dlls/msvcrt/Makefile.in, dlls/msvcrt/dir.c, dlls/msvcrt/file.c, dlls/msvcrt/main.c, dlls/msvcrt/thread.c: Michael Stefaniuc Compile the msvcrt dll with -DSTRICT. * tools/winecheck: Andreas Mohr - check for root user - silence errors * dlls/tapi32/phone.c: Andreas Mohr Added some comments. * winedefault.reg: Andreas Mohr - add "ProductId" key - add HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM default mapping - remember old DirectX version strings 2002-10-23 Alexandre Julliard * dlls/rpcrt4/ndr_midl.c, include/rpcndr.h: Greg Turner Implemented NdrClientInitializeNew. * dlls/rpcrt4/rpc_binding.c: Greg Turner Whitespace cleanup. * dlls/rpcrt4/rpc_server.c: Greg Turner Fixed a tiny trace bug. * dlls/winedos/module.c: Chris Morgan Call CreateProcessA() when executing non-dos applications from a dos application. * Makefile.in: Gerald Pfeifer Also remove configure.lineno when performing distclean. * dlls/commdlg/cdlg_Fr.rc, dlls/shell32/shell32_En.rc, dlls/shell32/shell32_Fr.rc, dlls/user/resources/user32_Fr.rc, dlls/wineps/rsrc.rc, dlls/wineps/wps_Fr.rc, dlls/winmm/winmm_Fr.rc, programs/clock/Fr.rc, programs/notepad/Fr.rc, programs/winhelp/Fr.rc: Vincent Béron Bring some French resources in sync with English ones. * dlls/msvideo/Makefile.in, dlls/msvideo/drawdib.c, dlls/msvideo/mciwnd.c, dlls/msvideo/msvideo16.c, dlls/msvideo/msvideo_main.c, dlls/msvideo/vfw16.h: Michael Stefaniuc Compile the msvideo dll with -DSTRICT. * dlls/comctl32/listview.c: Dimitrie O. Paun Avoid division by 0 by initializing the item size in on creation. Rename update_icon_size to set_icon_size, fix parameters order. Assorted cleanups. * dlls/comctl32/comctl32undoc.c: Dimitrie O. Paun Append to the end of the DPA, if insert index is too large. * dlls/comctl32/header.c: Carlos Fixed duplicated arrows in header control. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix thinko that slipped in with the prev patch (reenables refresh). Mark a few things that needs looking at. Small cleanup. * dlls/comctl32/listview.c: Dimitrie O. Paun Do not invalidate the window before the first paint job. Assorted cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun Use InvalidateItem instead of explicit InvalidateRect, it is cleaner, and faster when redraw is disabled. * dlls/comctl32/listview.c: Dimitrie O. Paun Transform the invalidation macros to proper functions. * dlls/comctl32/listview.c: Dimitrie O. Paun Delay some size computations until after first paint. * dlls/comctl32/listview.c: Rein Klazes Reorganize the item size calculation (a bit simpler, and faster). * dlls/comctl32/listview.c: Rein Klazes Search through all items when LISTVIEW_FindItemW is called with LVFI_PARAM flag. * dlls/comctl32/listview.c: Dimitrie O. Paun Delete the items if we actually own them. * dlls/comctl32/listview.c: Dimitrie O. Paun Do not callback to the parent for lParam when in LVS_OWNERDATA. Docs update. * dlls/winedos/Makefile.in, dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int31.c, dlls/winedos/interrupts.c, dlls/winedos/module.c, dlls/winedos/winedos.spec, include/callback.h, include/miscemu.h, memory/instr.c, msdos/dpmi.c: Jukka Heinonen Move interrupt emulation code from INSTR_EmulateInstruction to winedos dll. Make CTX_SEG_OFF_TO_LIN work with 32-bit segmented pointers common in DPMI32. Fix winedos initialization so that DOSMEM_Init(TRUE) is only called when DOS executable is started. * dlls/dplayx/Makefile.in, dlls/dplayx/dplay.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplayx_main.c, dlls/dplayx/dplobby.c: Michael Stefaniuc Compile the dplayx dll with STRICT defined. * dlls/comctl32/Makefile.in, dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c, dlls/comctl32/datetime.c, dlls/comctl32/draglist.c, dlls/comctl32/flatsb.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/imagelist.c, dlls/comctl32/ipaddress.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/pager.c, dlls/comctl32/progress.c, dlls/comctl32/propsheet.c, dlls/comctl32/rebar.c, dlls/comctl32/smoothscroll.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: Michael Stefaniuc - fix the "int format, HANDLE arg" type of warnings for comctl32 - compile the comctl32 dll with -DSTRICT * dlls/comctl32/listview.c: Michael Stefaniuc Add casts to compile with -DSTRICT. * dlls/comctl32/listview.c: Dimitrie O. Paun Do not crash if callback text is not filled (behave like native). Render report mode from top to bottom (easier on the eye). Docs updates, type fixes, more traces. * dlls/comctl32/listview.c: Dimitrie O. Paun Collect all bugs, missing features, etc in the header doc. Minor cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun Do not autoarrange if we insert/delete from the end of the list. * dlls/comctl32/listview.c: Dimitrie O. Paun Rework SetItemPosition, bunch of bugs squashed in the process. Complete icon alignment rewrite: cleaner, incremental, etc. Completely avoid aligning all icons on every insert - icon placement is incrementally computed now: it's fast. Small cleanups, docs update, etc. * dlls/comctl32/listview.c: Dimitrie O. Paun Rename LISTVIEW_ITEM to ITEM_INFO for consistency. Rename LISTVIEW_SUBITEM to SUBITEM_INFO for same reason. Fix type in comment spotted by Bobby Bingham. * documentation/samples/config: Sylvain Petreolle Added valid entries to specify if an app should be loaded builtin or native. * dlls/user/Makefile.in: Moved network.c to 16-bit sources. * dlls/advapi32/security.c, dlls/comctl32/listview.c, dlls/shell32/shell32_main.c, files/directory.c, include/file.h, include/heap.h, loader/loadorder.c, loader/module.c, msdos/dosconf.c, windows/clipboard.c: Patrik Stridvall Don't use wine/unicode.h in the header files, include it directly where needed instead. * include/windef.h: Avoid redefinition warning. * dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/commctrl.c, dlls/comctl32/datetime.c, dlls/comctl32/hotkey.c, dlls/comctl32/imagelist.c, dlls/comctl32/ipaddress.c, dlls/comctl32/progress.c, dlls/comctl32/propsheet.c, dlls/comctl32/status.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/trackbar.c, dlls/comctl32/treeview.c: Michael Stefaniuc Add needed casts for a "no warnings" compile of comctl32. * dlls/winedos/module.c: Patrik Stridvall Fix for platforms not supporting DOS mode. * include/windows.h: Patrik Stridvall Add pragma to eliminate MS C warnings. * tools/winapi/msvcmaker: Patrik Stridvall - Added proper parsing of the Makefile.in's to find the tests. - Added support for optionally using the Microsoft headers instead of the Wine headers. * programs/progman/En.rc, programs/progman/Fr.rc, programs/progman/dialog.c, programs/progman/license.c, programs/progman/license.h, programs/progman/main.c, programs/progman/progman.h, programs/progman/rsrc.rc, programs/progman/string.c: Sylvain Petreolle Implemented NLS in progman. * dlls/user/user_main.c, include/message.h, windows/timer.c: Store thread id instead of queue handle in timer structure. * dlls/user/user32.spec, dlls/user/wnd16.c, dlls/x11drv/desktop.c, include/queue.h, include/win.h, windows/queue.c, windows/win.c: Implemented GetWindowTask16 on top of GetWindowThreadProcessId. Removed no longer used hmemTaskQ field in WND structure. * dlls/kernel/comm.c, files/file.c, include/winbase.h, include/wingdi.h, include/winnt.h, include/winuser.h, loader/ne/module.c, objects/dib.c, objects/enhmetafile.c, tools/winedump/ne.c: Patrik Stridvall Fixed mismatches between the Wine headers and the Microsoft headers. * dlls/avifil32/avifile_De.rc, dlls/avifil32/avifile_En.rc, dlls/avifil32/avifile_private.h: Michael Günnewig Added dialog for AVISaveOptions. * dlls/avifil32/api.c: Michael Günnewig Implemented AVIBuildFilterW and AVISaveOptions. * dlls/avifil32/getframe.c: Michael Günnewig Fixed bug that prevented ICCompressorChoose from working. * windows/msgbox.c: Rein Klazes MessageBoxIndirectW: call FindResourceEx with arguments in the right order. * dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/ntdll/tests/generated.c, dlls/user/tests/generated.c: Patrik Stridvall Updated the generated tests. * tools/winapi/tests.dat, tools/winapi/winapi_test: Patrik Stridvall Minor modifications and improvements. * dlls/shell32/control.c: Stefan Leichter Do not break quoted strings in Control_DoLaunch. * dlls/comctl32/commctrl.c: Christian Neumair Collect all bugs, missing features, etc in the header doc. * include/digitalv.h, include/wine/mmsystem16.h: Eric Pouech Moved 16 bit digital structs to include/wine/mmsystem16.h. 2002-10-22 Alexandre Julliard * dlls/winspool/Makefile.in, dlls/winspool/info.c: Michael Stefaniuc Compile the winspool dll with STRICT defined. * dlls/tapi32/Makefile.in, dlls/tapi32/line.c, dlls/tapi32/phone.c: Michael Stefaniuc Compile the tapi32 dll with STRICT defined. * dlls/psapi/Makefile.in, dlls/psapi/psapi_main.c: Michael Stefaniuc Compile the psapi dll with STRICT defined. * dlls/msacm/Makefile.in, dlls/msacm/driver.c, dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/internal.c, dlls/msacm/msacm32_main.c, dlls/msacm/stream.c: Michael Stefaniuc Compile the msacm dll with STRICT defined. * dlls/mpr/Makefile.in, dlls/mpr/auth.c, dlls/mpr/wnet.c: Michael Stefaniuc Compile the mpr dll with STRICT defined. * dlls/imagehlp/Makefile.in, dlls/imagehlp/access.c, dlls/imagehlp/debug.c, dlls/imagehlp/imagehlp_main.c, dlls/imagehlp/integrity.c, dlls/imagehlp/symbol.c: Michael Stefaniuc Compile the imagehlp dll with STRICT defined. * dlls/imm32/Makefile.in, dlls/imm32/imm.c: Michael Stefaniuc Compile the imm32 dll with STRICT defined. * configure, configure.ac, include/config.h.in, scheduler/pthread.c: Avoid reference to glibc internal __libc_fork function. * dlls/user/resources/user32.rc, dlls/user/resources/user32_En.rc, dlls/user/resources/user32_Ru.rc, dlls/user/resources/user32_Sk.rc, dlls/user/resources/user32_Zh.rc, windows/mdi.c, windows/msgbox.c: Dmitry Timoshkov Restore setting of caption "Error". * dlls/d3d8/device.c: Jason Edmeades Beginnings of Stencil support. * dlls/comctl32/header.c: Dimitrie O. Paun Bring header's height more inline with native's. * dlls/rpcrt4/Makefile.in, dlls/rpcrt4/ndr_marshall.c, dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/rpcrt4.spec, include/rpcndr.h: Greg Turner - Use Ove-style macros for NdrConformantStringMarshall definition. - Move NdrConformantStringMarshall to new ndr_marshall.c. - Stubs for NdrConformantStringBufferSize, NdrConformantStringMemorySize, and NdrConformantStringUnmarshall. * dlls/rpcrt4/ndr_stubless.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_server.c: Greg Turner - ClientCall2 still deserves a FIXME. - Complete bindings with NULL endpoints. - Implement RpcServerUseProtseqA, RpcServerUseProtseqW. 2002-10-21 Alexandre Julliard * include/wine/server_protocol.h, include/winnt.h, server/protocol.def: Fixed the WINE_NO_STRICT #ifdefs to do the right thing if STRICT is defined (spotted by Michael Stefaniuc). * dlls/rpcrt4/ndr_midl.c, include/rpcndr.h: Greg Turner Fix return types of NdrConformantStringMarshall, NdrGetBuffer, and NdrSendReceive. * dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpcrt4.spec, include/rpcdce.h: Greg Turner Stubs for RpcServerUseProtseqA, RpcServerUseProtseqW. * dlls/avifil32/Makefile.in, dlls/avifil32/acmstream.c, dlls/avifil32/factory.c, dlls/avifil32/icmstream.c: Michael Günnewig New AVI streamhandlers for audio and video streams. * dlls/avifil32/api.c, dlls/avifil32/avifile_De.rc, dlls/avifil32/avifile_En.rc, dlls/avifil32/avifile_private.h: Michael Günnewig - Fixed usage of handler instead of type in AVIMakeCompressedStream. - Implemented AVIBuildFilterA. - Started to implement AVIBuildFilterW. * dlls/avifil32/avifile.c: Michael Günnewig - Fixed many bugs which prevents writing. - Fixed segfault while parsing invalid index. - Keep parsing of index even if streamheader says it's empty - Fixed bug in AVIFILE_SaveIndex when stream is empty. - Fixed bug in AVIFILE_WriteBlock, when chunk is not of even size. * include/vfw.h: Michael Günnewig Added macros for AVIFileClose and AVIStreamClose. * dlls/comctl32/comctl32undoc.c: Dimitrie O. Paun DPAs can't have more than 0x8000 elements (fixed with lots of help from Carlos No need to increment item size, it's already adjusted by DPA_SetPtr (found, and fixed by Carlos ). * dlls/comctl32/comctl32undoc.c: Dimitrie O. Paun Do not rely on HeapReAlloc to allocate a NULL pointer. * dlls/comctl32/comctl32undoc.c: Dimitrie O. Paun Rewrite DPA_InsertPtr in terms on DPA_SetPtr, so that it's simpler, cleaner, and more correct. It now expands the array to accomodate larger than current size indexes. * dlls/comctl32/listview.c: Dimitrie O. Paun Do not send uninitialized lParams on notification msgs (found by Rein Klazes ). * dlls/comctl32/listview.c: Dimitrie O. Paun Complete rewrite of the rcView implementation. Lots of bugs fixed in rcView computation. Assorted cleanups, and simplifications. * dlls/comctl32/listview.c: Dimitrie O. Paun Split ranges_destroy in ranges_clear, and ranges_destroy. Rewrite DeleteAllItems, for cleaner, faster, more correct code. * dlls/comctl32/listview.c: Dimitrie O. Paun Updated header documentation to the latest, and greatest. * dlls/comctl32/listview.c: Dimitrie O. Paun Optimize invalidation on insert. Share the invalidation code between {Delete,Insert}Item. * dlls/comctl32/listview.c: Dimitrie O. Paun Rewrite DeleteItemT: cleaner, a lot faster. Number of bug were fixed. The minimum possible is redrawn. * dlls/comctl32/listview.c: Dimitrie O. Paun Implement most of LVM_ARRANGE. Make use of it, where it was appropriate. Use infoPtr->dwStyle directly, in most places. Assorted cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun Proper (type wise) return types. * dlls/comctl32/listview.c: Dimitrie O. Paun Reorganize header notifications. Support notifications that don't have embedded size info. Invalidate columns on format change (if needed). Assorted cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun Crash on internal NULL pointers, don't test all over the place. * dlls/comctl32/listview.c: Dimitrie O. Paun When removing focus, no need to go through all elements. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix colors for selected items in full row select mode. Fix bug caused by use of uninitialized state. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix computation of subitem box, when invalidating it. * dlls/comctl32/listview.c: Dimitrie O. Paun Assert on inconsistent range list states. Various code cleanups, few potential bugs fixed. * dlls/comctl32/listview.c: Dimitrie O. Paun Do not grow the item list to arbritary index: if requested index is larger than current count, just append. Miscellaneous cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun SetColumnWidth rewrite: simpler, cleaner code. Bugs squashed. * dlls/comctl32/listview.c: Dimitrie O. Paun Handle generic column width changes. Fix bug in SetColumnT which rendered it unusable. Column code cleanup. * dlls/comctl32/listview.c: Dimitrie O. Paun Assert on internal invariants, rather than fail gracefully. * dlls/comctl32/listview.c: Dimitrie O. Paun More docs compliant alignment handling for subitems. * tools/wineinstall: Vincent Béron Run regedit even if not installed. * programs/winhelp/Da.rc, programs/winhelp/De.rc, programs/winhelp/En.rc, programs/winhelp/Es.rc, programs/winhelp/Fi.rc, programs/winhelp/Fr.rc, programs/winhelp/Hu.rc, programs/winhelp/It.rc, programs/winhelp/Ko.rc, programs/winhelp/Makefile.in, programs/winhelp/Pt.rc, programs/winhelp/Si.rc, programs/winhelp/Sk.rc, programs/winhelp/Sw.rc, programs/winhelp/Va.rc, programs/winhelp/Wa.rc, programs/winhelp/macro.c, programs/winhelp/winhelp.c, programs/winhelp/winhelp_res.h: Eric Pouech No longer using explicit values for resource identification. * dlls/comctl32/header.c: Dimitrie O. Paun Fix notification from header, on item changed. Small indentation fixes. * dlls/commdlg/printdlg.c: Duane Clark Set the return value of the PD_PAGENUMS flag. * programs/notepad/dialog.c: Duane Clark Implement printing in notepad. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/volume.c, dlls/d3d8/volumetexture.c: Jason Edmeades Add the basic support for volume textures / volumes (3d textures). * dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h: Eric Pouech Keep on moving 16 bit code out of winmm, now only using linear addresses for buffers. * programs/winhelp/macro.c: Eric Pouech Implemented a few more macros for button manipulation (enable/disable/changing macro). * programs/winhelp/hlpfile.c, programs/winhelp/hlpfile.h, programs/winhelp/winhelp.c, programs/winhelp/winhelp.h: Eric Pouech Improved a bit link handling (a few more link types loaded from file and support for link to a macro). * windows/msgbox.c: Dmitry Timoshkov Actually use language identifier. * dlls/comctl32/toolbar.c: Duane Clark Correct the behavior for disabled toolbar buttons. 2002-10-19 Alexandre Julliard * dlls/comctl32/listview.c: Dimitrie O. Paun Do not create a range list for an empty range. * dlls/comctl32/listview.c: Dimitrie O. Paun Store the entire format bitmap in the column info. Rewrite GetColumnT to take advantage of that. Related cleanups, and simplifications. * dlls/comctl32/listview.c: Dimitrie O. Paun Column zero has the image enabled always, irrespective of format. * dlls/comctl32/listview.c: Dimitrie O. Paun Unify {Insert,Set}ColumnT as much as possible. Fix a bunch of problems in SetColumnT. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix function header documentation. * dlls/comctl32/listview.c: Dimitrie O. Paun Better report mode. Use the new column information to simplify, and speed up the code. Enable support for images in subitems (in LVS_REPORT mode). * include/winuser.h, windows/msgbox.c: Dmitry Timoshkov Convert MessageBox family functions to unicode. * include/rpcproxy.h: Greg Turner Patch cruft removal. * dlls/rpcrt4/ndr_stubless.c, dlls/rpcrt4/rpcrt4.spec, include/rpcndr.h: Greg Turner Super-crude implementation for NdrClientCall2. Specs and headers for NdrClientInitializeNew, NdrConformantStringMarshall, NdrGetBuffer, NdrFreeBuffer, and NdrSendReceive. * dlls/rpcrt4/rpc_server.c: Greg Turner Fix up RpcMgmtWaitServerListen to be less incorrect. * dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/ndr_misc.h: Greg Turner Some MIDL constants and structures (should eventually move to rpcndr.h I think). Stubs for NdrClientInitializeNew, NdrConformantStringMarshall, NdrGetBuffer, NdrFreeBuffer, and NdrSendReceive (not in specfile yet). * include/wine/winbase16.h, loader/task.c: Get/SetFastQueue16 should use HQUEUE16 handles. * dlls/winmm/mciavi/mmoutput.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winearts/audio.c, dlls/winmm/winenas/audio.c, include/windef.h, include/winnt.h: Removed DECLARE_OLD_HANDLE. Fixed a few remaining warnings. * tools/winedump/msmangle.c: Uwe Bonnes demangle_datatype: delete superflous free(). * dlls/ddraw/ddraw/user.c: Lionel Ulmer Add 3D support at the User driver level. * dlls/shdocvw/webbrowser.c, include/wine/obj_webbrowser.h: Malte Starostik Fixed IWebBrowser::Navigate() parameter type. Added IWebBrowserApp and related typedefs. * Make.rules.in, tools/wmc/write.c: Martin Fuchs Corrected the alignment of unicode message table strings in wmc, and switched to unicode for message strings, so that FormatMessage() now works. * server/Makefile.in, server/process.c, server/queue.c, server/request.c, server/sock.c, server/trace.c, server/user.c, tools/make_requests: Converted the server to -DSTRICT. * documentation/configuring.sgml, documentation/running.sgml: Bill Medland Add documentation on how to modify what --debugmsg +relay reports. * dlls/comctl32/listview.c: Dimitrie O. Paun When deleting an item, remove selection, don't add it! * include/user.h, windows/hook.c: Changed the USER_HEAP_* macros to use HANDLEs instead of HANDLE16s. * controls/menu.c, dlls/user/dde/client.c, dlls/user/text.c, windows/win.c, windows/winproc.c: Michael Stefaniuc Silence some warnings due to casts between pointer and integers of different size. * dlls/user/dde/misc.c: Michael Stefaniuc Fix warnings when converting between an ATOM and a HSZ. * dlls/comctl32/listview.c: Dimitrie O. Paun More traces to help us make sense of the output. Faster, cleaner ranges_{add,del}. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix ranges insertion bug (specify DPAS_SORTED when searching). Add a lot of assert-ed consistency checks. Add bunch of trace messages. * dlls/comctl32/listview.c: Dimitrie O. Paun Inspect style bits independently on style change. * dlls/comctl32/listview.c: Dimitrie O. Paun Rewrite StyleChanged procedure o some bugs have been fixed o cleaner, simpler code Fix some corner case, icon size computation bugs. Assorted docs updates. * dlls/comctl32/listview.c: Dimitrie O. Paun Keep track of per-column information inside the listview. Cache header rectangles. Used the cached info instead of calling to the header each time. Update the listview as we track column width changes. Unify column handling between {Insert,Delete}Column, and width changes. Simplify RefreshReport, by using the new column info. * dlls/comctl32/listview.c: Dimitrie O. Paun Do not query items that are just being inserted. * dlls/comctl32/listview.c: Dimitrie O. Paun Reorganize things a bit so that we no longer need the 'valid' flag on each item. Small comments update. * programs/winhelp/hlpfile.c, programs/winhelp/winhelp.c: Eric Pouech Added support for BTrees in file header reading. Fixed bogus palette length computation while reading bitmap. Fixed rendering while starting a page with a bitmap. * dlls/Makefile.in, dlls/avifil32/Makefile.in, dlls/avifil32/wavfile.c: Michael Günnewig - Fixed loading of wave files. - Corrected AVIFILEINFOW structure updates. - Implemented saving of wave files. * dlls/avifil32/avifile.c: Michael Günnewig Fixed very slow loading of index. 2002-10-18 Alexandre Julliard * dlls/avicap32/avicap32_main.c, dlls/avifil32/api.c, dlls/avifil32/extrachunk.c, dlls/avifil32/factory.c, dlls/comcat/comcat_main.c, dlls/crtdll/crtdll_main.c, dlls/d3d8/directx.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/dsurface/user.c, dlls/dinput/device.c, dlls/dsound/mixer.c, dlls/msimg32/msimg32_main.c, dlls/msisys/msisys.c, dlls/netapi32/netapi32.c, dlls/odbc32/proxyodbc.c, dlls/olecli/olecli_main.c, dlls/oledlg/oledlg_main.c, dlls/olesvr/olesvr_main.c, dlls/opengl32/wgl.c, dlls/rasapi32/rasapi.c, dlls/richedit/richedit.c, dlls/rpcrt4/cpsf.c, dlls/rpcrt4/rpc_server.c, dlls/serialui/confdlg.c, dlls/setupapi/devinst.c, dlls/setupapi/install.c, dlls/setupapi/setupx_main.c, dlls/snmpapi/main.c, dlls/twain/twain32_main.c, dlls/urlmon/urlmon_main.c, dlls/win32s/w32sys.c, dlls/winaspi/winaspi32.c, dlls/winedos/dosvm.c, dlls/winedos/module.c, dlls/wineps/bitmap.c, dlls/wineps/brush.c, dlls/wineps/clipping.c, dlls/wineps/escape.c, dlls/wineps/font.c, dlls/wineps/init.c, dlls/wineps/pen.c, dlls/wininet/internet.c, dlls/winmm/mciavi/info.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/wnd.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/wineoss/midi.c, dlls/wintrust/wintrust_main.c: Fixed warnings caused by conversion to -DSTRICT. * dlls/advapi32/Makefile.in, dlls/comctl32/Makefile.in, dlls/commdlg/Makefile.in, dlls/dplayx/Makefile.in, dlls/gdi/Makefile.in, dlls/imagehlp/Makefile.in, dlls/imm32/Makefile.in, dlls/kernel/Makefile.in, dlls/lzexpand/Makefile.in, dlls/mpr/Makefile.in, dlls/msacm/Makefile.in, dlls/msvcrt/Makefile.in, dlls/msvideo/Makefile.in, dlls/ntdll/Makefile.in, dlls/ole32/Makefile.in, dlls/oleaut32/Makefile.in, dlls/psapi/Makefile.in, dlls/shell32/Makefile.in, dlls/shlwapi/Makefile.in, dlls/tapi32/Makefile.in, dlls/ttydrv/Makefile.in, dlls/user/Makefile.in, dlls/winmm/Makefile.in, dlls/winmm/wavemap/Makefile.in, dlls/winsock/Makefile.in, dlls/winspool/Makefile.in, dlls/x11drv/Makefile.in, include/wine/server_protocol.h, include/winnt.h, server/Makefile.in, server/protocol.def: Added support for building certain dlls with -DSTRICT. Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet. * dlls/kernel/wowthunk.c, include/wownt32.h: Added FIXMEs for metafile and fullhwnd handle conversions that aren't supported properly yet. * dlls/gdi/gdi16.c, objects/gdiobj.c, objects/linedda.c: Moved EnumObjects16, LineDDA16 and associated glue code to gdi16.c. * dlls/gdi/Makefile.in, dlls/gdi/gdi16.c, dlls/gdi/gdi32.spec, dlls/ole32/ole2.c, objects/clipping.c, objects/font.c: Split out some 16-bit GDI code. * dlls/user/user16.c, dlls/user/user_main.c, include/user.h, objects/palette.c, windows/painting.c: Store the original GDI palette functions in pfnSelectPalette and pfnRealizePalette so that USER doesn't have to import them. * dlls/rpcrt4/ndr_stubless.c, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpcrt4.spec, include/rpcdce.h: Greg Turner - (try to) implement RpcMgmtWaitServerListen - remove duplicate RpcServerListen declaration in rpcdce.h - some TRACEs * dlls/gdi/gdi16.c, objects/metafile.c: Converted PlayMetaFileRecord and related functions to 32-bit. * dlls/kernel/kernel32.spec, dlls/kernel/wowthunk.c, if1632/relay.c, include/wine/winbase16.h, scheduler/thread.c, tools/winebuild/relay.c, tools/winebuild/spec16.c: Merged wine_call_to_16_long and wine_call_to_16_short into a single function. * include/wine/port.h, library/port.c, loader/ne/resource.c: Added wine_memcpy_unaligned function to avoid gcc memcpy optimizations. * include/vfw.h: Michael Günnewig - Add FIND_* constants. - Add AVISAVECALLBACK declaration. - Add declaration for some AVI functions. - Add some AVI macros. * dlls/Makefile.in, dlls/avifil32/.cvsignore, dlls/avifil32/Makefile.in, dlls/avifil32/api.c, dlls/avifil32/avifil32.spec, dlls/avifil32/avifile.c, dlls/avifil32/avifile_De.rc, dlls/avifil32/avifile_En.rc, dlls/avifil32/avifile_private.h, dlls/avifil32/extrachunk.c, dlls/avifil32/extrachunk.h, dlls/avifil32/factory.c, dlls/avifil32/getframe.c, dlls/avifil32/rsrc.rc, dlls/avifil32/wavfile.c, winedefault.reg: Michael Günnewig - Add wavefile handler. - Add implementation for IGetFrame. - Implemented loading and writing of AVIs. - Add some more stubs for some API functions. - Add resources to avifil32.dll. - Implemented AVISaveOptionsFree. - Declared IID_* as extern in avifil32.spec (avoids linker problem). * programs/avitools/aviinfo.c: Michael Günnewig Fixed memory leak (release AVI stream). * dlls/kernel/comm.c: Stefan Leichter BuildCommDCBAndTimeoutsA: Made the argument parsing case insensitive. * tools/winapi/msvcmaker: Patrik Stridvall - Better .dsp file generation for .exe outputs - Added generation of winetest.dsw for building wine tests under Windows (currently very kludgy, but it works to some extent). * programs/winefile/winefile.c: Martin Fuchs Removed warning "SetWindowText(0, ...)" when opening new windows. * dlls/comctl32/header.c: Martin Fuchs pszText is stored as Unicode, so call DrawTextW() instead of DrawTextA(). 2002-10-17 Alexandre Julliard * dlls/comctl32/listview.c: Dimitrie O. Paun Instrument SetItemT to change only _one_ item at a time. That is, if we have to change focus, we call it recursively to first remove the focus from the item that has it. This allows simpler, and more correct invalidation handling. * dlls/comctl32/listview.c: Dimitrie O. Paun Unify set_{owner,main}_item functions. Fix {old,new}state and lParam reporting in LVN_ITEMCHANG{ING,ED}. Fix sanity check conditions for LVS_OWNERDATA. * dlls/comctl32/listview.c: Dimitrie O. Paun More, better tracing to help nail down some crashes. Fix typo in GetItemT (found, and fixed by Huw Davies). Exit right away from GetItemT if nothing is asked (mask == 0). Assorted code cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun Deal with sparsely populated listviews. Crash on internal corruption. * dlls/comctl32/listview.c: Dimitrie O. Paun Add ability to create an iterator over a range list. Fix memory leak when destroying ranges. Add function that will to a 'deep' clone of a range list. Add function that will subtract a range list from another. Do not crash on NULL ranges (similar in spirit to HDPAs). Fancy deselection routines uses the above infrastructure to deselect the minimum possible. Modify SetGroupSelection to take advantage of all this new infrastructure, to avoid flicker on selection extension. * dlls/comctl32/listview.c: Dimitrie O. Paun Change the definition of ranges to exclude the upper bound. * dlls/comctl32/listview.c: Dimitrie O. Paun Handle range tracing in a consistent fashion. * dlls/comctl32/listview.c: Dimitrie O. Paun Remove dated comments. * dlls/comctl32/listview.c: Dimitrie O. Paun Better encapsulation of the ranges concept. * dlls/kernel/kernel32.spec, dlls/kernel/wowthunk.c, dlls/user/msg16.c, dlls/user/wnd16.c, dlls/winedos/module.c, windows/message.c, windows/winproc.c: Use the WOWHandle functions to convert between task handle and thread id. Stop exporting TASK_GetPtr and THREAD_IdToTEB from kernel. * scheduler/process.c: Build a default command-line if the one we received is an empty string. * windows/win.c: Fixed typo in EnumThreadWindows. * dlls/rpcrt4/cproxy.c: Fixed compilation for non-i386. * controls/listbox.c, controls/menu.c, controls/static.c, dlls/commdlg/cdlg.h, dlls/gdi/gdi16.c, dlls/gdi/win16drv/prtdrv.c, dlls/msvideo/msvideo16.c, dlls/msvideo/msvideo_main.c, dlls/msvideo/vfw16.h, dlls/ole32/ole2.c, dlls/setupapi/setupx_main.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c, dlls/user/msg16.c, dlls/user/property.c, dlls/user/resource.c, dlls/user/user16.c, dlls/user/wnd16.c, dlls/wineps/driver.c, dlls/winmm/mcianim/mcianim.c, dlls/winmm/mciavi/private_mciavi.h, dlls/winmm/mcicda/mcicda.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/winemm.h, dlls/winsock/async.c, dlls/winsock/socket.c, include/user.h, include/win.h, include/wownt32.h, include/wine/winsock16.h, windows/class.c, windows/cursoricon.c, windows/dialog.c, windows/hook.c, windows/mdi.c, windows/spy.c, windows/struct32.c, windows/win.c, windows/winhelp.c, windows/winproc.c: Fixed wownt32.h to make it usable from inside Wine, and use it to avoid some duplication of the handle conversion macros. * dlls/user/Makefile.in, dlls/user/caret.c, dlls/user/user32.spec, dlls/user/wnd16.c, dlls/x11drv/winpos.c, include/win.h, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/request.h, server/trace.c, windows/caret.c, windows/scroll.c, windows/win.c: Rewrote caret implementation to store the information in the server. * graphics/x11drv/xfont.c: Malte Starostik Added progress messages while building font metrics. * dlls/d3d8/device.c: Jason Edmeades - Dont set lighting during draw primitive, rely on the render state. - Small fix for alpha testing. - Add support to enable/disable clipping as a whole. - Allow D3DRS_TEXTUREFACTOR to be changed once texture stage arg set up. - D3DTOP_DISABLE initial implementation. * dlls/ddraw/d3ddevice/mesa.c: Christian Costa Implement OpenGL overriding of surface's flip method. Remove broken code. * dlls/comctl32/listview.c: Dimitrie O. Paun Notification code cleanup, more traces, etc. * include/commctrl.h: Dimitrie O. Paun Add/update the listview structures to version 6.0. * dlls/winmm/winearts/audio.c: Malte Starostik Initialize winearts's volume level to full, so applications that don't set the volume are audible. * dlls/comctl32/commctrl.c: Jerry Jenkins Added missing RemoveProp calls. * programs/winefile/winefile.c: Martin Fuchs Correct initial display of file listing. 2002-10-16 Alexandre Julliard * dlls/comctl32/listview.c: Dimitrie O. Paun We need to provide focus info always in ICON mode (spotted by Huw Davies). * dlls/comctl32/listview.c: Mike McCormack Duplicate selected items list in LISTVIEW_RemoveAllSelections to prevent infinite loops. * dlls/comctl32/listview.c: Dimitrie O. Paun Remember the global colors in custom draw mode. * dlls/comctl32/listview.c: Dimitrie O. Paun Compute only the old state that we're gonna look at. * dlls/comctl32/listview.c: Dimitrie O. Paun Instrument SetItemT to avoid repainting if nothing changed. Teach RemoveAllSelections to skip an item, so we can eliminate the flicker when we click on a selected item. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix bug in edit label when sending the text to the app. Cleanup the handling of nEditLabelItem. * dlls/comctl32/listview.c: Dimitrie O. Paun Edit label cleanup. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix bug in ranges_shift which was corrupting selections. Fix click notification (found and fixed by Alexandre Julliard). Fix bug in setting item's state (some selection changes were lost). Simplify selection code substantially. Add a lot of debug tracing. * documentation/configuring.sgml: Bill Medland Add a section on using ODBC. * dlls/msvcrt/except.c, dlls/msvcrt/msvcrt.spec: Implemented _seh_longjmp_unwind. * programs/cmdlgtst/cmdlgtst.c: Huw D M Davies Fix the ofn flags setup. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c: Christian Costa Associate texture to the device when GetHandle is called and perform the appropriate AddRef/Release. Fix 3_3_2 pixel format. Move some ENTER_GL() calls to the right place. Fix some FIXME/TRACE calls. * dlls/comctl32/comboex.c, dlls/comctl32/imagelist.c, dlls/comctl32/ipaddress.c, dlls/comctl32/progress.c, dlls/comctl32/status.c, dlls/comctl32/trackbar.c, dlls/comctl32/updown.c: Dimitrie O. Paun Add comment on what is known about the current state of the controls relative to comctl32.dll version 6.0. * dlls/rpcrt4/ndr_stubless.c, include/rpcndr.h: Greg Turner Use the msvc way to return a struct, fixing wierd problems. * programs/winefile/winefile.c: Martin Fuchs Implemented program launching by double click. 2002-10-15 Alexandre Julliard * dlls/comctl32/listview.c: Dimitrie O. Paun Fix iterator creation for LVS_LIST mode. Do not update the infoPtr->nItemWidth in set_main_item. Better handling of text bk colour in custom draw. Rename GetItemListOrigin to GetItemOrigin. A bunch of code cleanups, simplifications, etc. * dlls/comctl32/listview.c: Dimitrie O. Paun No longer compute the ill-defined bounds in GetItemMetrics. Fix a bunch of bug in subitem metrics computation. Properly implement GetSubItemRect in terms of GetItemMetrics. Documentation updates, and code cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun Teach GetItemMetrics to deal with subitems in report mode as well. Unify Draw{,Sub}Item, simplify RefreshReport. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix iterator creation for LVS_LIST mode. Use assert() instead of hand-made hack. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix iterators to properly deal with LVS_{,SMALL}ICON modes. Unify the Refresh{List,Icon} functions. Simplify HitTest to make full use of the iterators. Fix selection bounds in HitTest. Avoid empty default to silence warning in gcc 3.2. * dlls/comctl32/listview.c: Dimitrie O. Paun Iterator updates: Add the notion of a special item which sits at the start of the list. Add the ability to iterate in both directions through the list. Document the iterator interface. Remove iterator_visibleitems. Rename iterator_clippeditems to iterator_visibleitems for consistency. Use the new bidirectionality to paint the items in decreasing order. * dlls/user/lstr.c, dlls/winmm/lolvldrv.c, windows/painting.c: Michael Stefaniuc Compile fix when all handles are converted to a void*. * loader/module.c: Fixed reference count handling to support LoadLibrary during a process attach. * programs/winefile/rsrc.rc, programs/winefile/winefile.c, programs/winefile/winefile.h: Martin Fuchs - Fixed building unter native WIN32. - Fixed display of filenames in tree pane. * dlls/msvcrt/scanf.c, dlls/msvcrt/scanf.h: György 'Nog' Jeney Implement [ format specifier. * programs/winedbg/gdbproxy.c: Gerald Pfeifer Silence warning in hex_from0(). * msdos/dpmi.c: David Hammerton Get descriptor should return correct segment limit. * dlls/shell32/shell32_main.c: Steve Lustbader Fix off-by-one error in determining number of arguments. * tools/winapi/winapi_extract, tools/winapi/winapi_extract_options.pm, tools/winapi_check/modules.dat, tools/winapi_check/winapi_c_parser.pm: Patrik Stridvall - Fixed broken winapi_extract options --{pseudo-,}stub-statistics. - Added new winapi_extract options --{pseudo-,}implemented. * dlls/comctl32/imagelist.c: Dimitrie O. Paun Do not merge image with garbage background. Based on a patch by Carlos . * dlls/crypt32/crypt32.spec, dlls/crypt32/main.c: Christian Neumair Stub for the CryptRegisterOIDFunction function. * dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/generated.c, dlls/user/tests/generated.c: Patrik Stridvall Updated the generated tests. * tools/winapi/winapi_test: Patrik Stridvall Don't use a special header file for macros used in generated tests. Have a copy in each generated file instead. * dlls/comctl32/trackbar.c: Michael Günnewig Fixed division by zero, when range is 0. * tools/wineinstall: Vincent Béron Actually compile Wine even if not installing as root. 2002-10-13 Alexandre Julliard * winedefault.reg: Roderick Colenbrander Set DirectX version to 8.1. * dlls/comctl32/propsheet.c: Uwe Bonnes Add function to get size of in-memory resource and used this function to copy resource to writable memory. * tools/wineinstall: Vincent Béron Allow wineinstall to be run from tools/ or from the main Wine directory. * dlls/d3d8/device.c: Jason Edmeades - ClipPlanes work better. - Culling now configures itself properly. * dlls/commdlg/filedlg.c: Carlos Avoid crashes when ofnW->lpstrFile is null. 2002-10-12 Alexandre Julliard * include/queue.h, windows/queue.c: Remove no longer used PERQUEUEDATA structure and functions. * windows/input.c, windows/message.c, controls/menu.c, dlls/x11drv/winpos.c, include/message.h, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/request.h, server/trace.c: Moved mouse capture handling into the server. * include/win.h, windows/win.c: Reimplemented GetLastActivePopup to get the information from the server. 2002-10-11 Alexandre Julliard * dlls/x11drv/event.c, dlls/x11drv/winpos.c, include/user.h, include/win.h, include/wine/server_protocol.h, include/winpos.h, server/protocol.def, server/queue.c, server/request.h, server/trace.c, server/user.h, server/window.c, windows/focus.c, windows/message.c, windows/nonclient.c, windows/win.c, windows/winpos.c, dlls/user/Makefile.in, dlls/user/focus.c, dlls/user/message.c: Reimplemented Get/SetActiveWindow, Get/SetFocus and Get/SetForegroundWindow by storing the information in the server. Implemented correct inter-process window activation. * dlls/comctl32/listview.c: Dimitrie O. Paun Rename GetItemHeight to CalculateMaxHeight, for consistency Fix usage of nItemWidth vs. iconSpacing.cx Misc cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun Use the item box rather than the bounds when invalidating. Implement 'bPartial' in EnsureVisible. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c: Jason Edmeades Significantly improve the lighting code. * server/trace.c, server/user.h, server/window.c, windows/queue.c, dlls/user/message.c, dlls/user/user32.spec, include/wine/server_protocol.h, include/winuser.h, server/protocol.def, server/queue.c, server/request.h: Added server-side infrastructure for the thread input structure. Reimplemented AttachThreadInput() and added GetGUIThreadInfo(). * dlls/comctl32/listview.c: Dimitrie O. Paun Unify DrawLargeItem with DrawItem. * dlls/comctl32/listview.c: Dimitrie O. Paun Use GetItemMetrics instead of GetItemMeasures. Remove GetItemMeasures. Add GetItemBox which only returns the boundary of the item. * dlls/rpcrt4/Makefile.in, dlls/rpcrt4/ndr_ole.c, dlls/rpcrt4/rpcrt4.spec: Ove Kaaven Added NdrOleAllocate, NdrOleFree, NdrInterfacePointerBufferSize, NdrInterfacePointerFree, NdrInterfacePointerMarshall, NdrInterfacePointerMemorySize, NdrInterfacePointerUnmarshall. * dlls/comctl32/listview.c: Dimitrie O. Paun Be real tough on internal programming errors. * dlls/comctl32/listview.c: Dimitrie O. Paun Remove support for owner drawn listviews in non-REPORT mode. We need to do this since Windows supports owner draw *only* in report mode, and hence apps are not prepared to handle drawing in other modes. * dlls/comctl32/listview.c: Dimitrie O. Paun Use GetItemMetrics instead of GetItemMeasures when drawing. * dlls/comctl32/listview.c: Dimitrie O. Paun Make use of the new GetItemMetrics in HitTest, to avoid code duplication. * dlls/comctl32/listview.c: Dimitrie O. Paun Separate item metrics computation from positioning Add support for computing state icon metrics. * tools/winapi/c_parser.pm, tools/winapi/c_type.pm, tools/winapi/tests.dat, tools/winapi/winapi_extract, tools/winapi/winapi_test: Patrik Stridvall - Improved alignment and offset calculations. - Reorganized and improved enum/union/struct parsing. * dlls/rpcrt4/Makefile.in, dlls/rpcrt4/rpc_server.c, dlls/rpcrt4/rpc_server.h, dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Ove Kaaven Reimplement several RpcServer.* methods in rpc_server.c. Implement RpcServerInqBindings, I_RpcServerStartListening, I_RpcServerStopListening, and I_RpcWindowProc. * dlls/msimg32/Makefile.in: Greg Turner Added missing kernel32 import. * dlls/comctl32/listview.c: LVS_OWNERDRAWFIXED should only take effect in REPORT mode. 2002-10-10 Alexandre Julliard * dlls/Makefile.in, dlls/rpcrt4/Makefile.in, dlls/rpcrt4/cpsf.c, dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Ove Kaaven Added NdrDllCanUnloadNow, NdrDllGetClassObject, NdrDllRegisterProxy, NdrDllUnregisterProxy, CStdPSFactory methods. * dlls/Makefile.in, dlls/avifil32/Makefile.in, dlls/avifil32/api.c, dlls/avifil32/avifil32.spec, dlls/avifil32/avifile.c, dlls/avifil32/avifile.spec, dlls/avifil32/avifile_private.h, dlls/avifil32/factory.c, include/vfw.h: Michael Günnewig - Move the API into a new api.c file. - Added IClassFactory implementation. - Added IPersistFile implementation to the AVI-file handler. * dlls/x11drv/keyboard.c: Nerijus Baliunas Better Lithuanian keyboard layout. * dlls/shell32/iconcache.c: Avoid calling FindExecutable16. * dlls/winmm/driver.c, dlls/winmm/mci.c, dlls/winmm/mmsystem.c, dlls/winmm/time.c, dlls/winmm/winemm.h: Eric Pouech Keep on moving 16 bit code out of winmm. * dlls/ddraw/ddraw/user.c: Christian Costa Initialize the DDCAPS structure of the DDRAW object at creation. * dlls/ddraw/dsurface/main.c: Christian Costa Main_DirectDrawSurface_QueryInterface: enable creation of a IDirect3DTexture2 from a surface. * dlls/rpcrt4/Makefile.in, dlls/rpcrt4/ndr_midl.c, dlls/rpcrt4/rpcrt4.spec, include/rpcproxy.h: Ove Kaaven Added NdrProxyFreeBuffer, NdrProxyGetBuffer, NdrProxyInitialize, NdrProxySendReceive, NdrStubGetBuffer, NdrStubInitialize. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix drawing bug introduced with the custom notification reorganization. * dlls/comctl32/listview.c: Dimitrie O. Paun Simplify the report mode, and item drawing considerably. Fix full row select in report mode. * dlls/comctl32/listview.c: Dimitrie O. Paun Handle custom draw notifications properly. Various cleanups, and simplifications. * dlls/comctl32/listview.c: Dimitrie O. Paun Remove superfluous abstractions which make the code harder to understand. * dlls/comctl32/listview.c: Dimitrie O. Paun Move the custom draw notifications into the Draw.*Item functions. * dlls/comctl32/listview.c: Dimitrie O. Paun Move the custom draw item notifications down into DrawLargeItem. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix silly redraw bug introduced in previous patch. Tidy up, and simplify large item drawing. * dlls/comctl32/listview.c: Dimitrie O. Paun Implement WM_SETREDRAW properly. * dlls/comctl32/listview.c: Dimitrie O. Paun Rework the mouse click notifications Assorted cleanups, and simplifications. * dlls/comctl32/listview.c: Dimitrie O. Paun Use (semi)standard HitTest, rather then our own little invention. Get rid of GetItemAtPt. Fix HitTest but in REPORT mode. * dlls/msacm/Makefile.in: Eric Pouech Moved out 16 bit code. * dlls/winmm/winemm.h, dlls/winmm/winmm.c: Eric Pouech Removed no longer needed list of instance data. * dlls/ddraw/d3d_private.h, dlls/ddraw/d3dcommon.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/mesa.c: Lionel Ulmer Added some TRACEs to the ddraw code. * dlls/rpcrt4/Makefile.in, dlls/rpcrt4/cstub.c, dlls/rpcrt4/rpcrt4.spec: Ove Kaaven Implement the CStdStubBuffer methods. * graphics/x11drv/bitmap.c, include/cursoricon.h, include/user.h, include/windef.h, msdos/interrupts.c, windows/class.c, windows/cursoricon.c, windows/defwnd.c, windows/mdi.c, windows/msgbox.c, windows/nonclient.c, windows/win.c, dlls/shlwapi/ordinal.c, dlls/user/exticon.c, dlls/x11drv/desktop.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/commdlg/filedlg.c, dlls/ole32/ole2.c, dlls/shell32/dialogs.c, dlls/shell32/iconcache.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/comctl32/propsheet.c, dlls/comctl32/status.c, controls/static.c, dlls/comctl32/listview.c: Michael Stefaniuc - change the internal functions in windows/cursoricon.c to use 32bit handles - move the implementation of ExtractAssociatedIcon16 to ExtractAssociatedIconA - convert HICON to a void* - fixed some handle conversions that happened to be in the way while doing the above * dlls/rpcrt4/Makefile.in, dlls/rpcrt4/cproxy.c, dlls/rpcrt4/cpsf.h, dlls/rpcrt4/rpcrt4.spec: Ove Kaaven IUnknown_[QAR]_Proxy implementations, VTbl construction, the dreaded ObjectStubless, and other proxy-related goodies. * include/winuser.h, controls/combo.c, dlls/user/user32.spec: Steve Lustbader Provide a stub for GetComboBoxInfo. * dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c: Uwe Bonnes More stubs. * dlls/rpcrt4/Makefile.in, dlls/rpcrt4/ndr_misc.h, dlls/rpcrt4/ndr_stubless.c, dlls/rpcrt4/rpcrt4.spec, include/rpcndr.h: Ove Kaaven Stubby NdrClientCall2 & some header changes. * dlls/setupapi/devinst.c, dlls/setupapi/setupapi.spec, include/setupapi.h: Steve Lustbader Provide stub for SetupDiGetClassDevsW. Fix return value of SetupDiGetClassDevsA. * dlls/comctl32/listview.c: Paul Rupe Scroll the listview when doing multiple selections. * dlls/rpcrt4/Makefile.in, dlls/rpcrt4/rpc_defs.h, dlls/rpcrt4/rpc_message.c, dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Ove Kaaven Implemented I_RpcFreeBuffer, I_RpcGetBuffer, I_RpcReceive, I_RpcSend, I_RpcSendReceive; administrivia. * dlls/msvcrt/except.c: Fixed sign extension bug in EH_prolog, and made trylevel an int to avoid similar problems. * dlls/ntdll/ntdll.spec: Make sure all Zw functions whose Nt equivalent is implemented are implemented too. * configure.ac, dlls/winmm/winenas/Makefile.in, configure: Francois Gouget The NAS headers and libraries are sometimes stored in the X directories. * controls/scroll.c: Andrew M. Johnston Make info structure members lower case as elsewhere. * configure: Updated with autoconf 2.54. * dlls/winmm/Makefile.in, dlls/winmm/mci.c, dlls/winmm/mmsystem.c, dlls/winmm/playsound.c, dlls/winmm/winemm.h, dlls/winmm/winmm.c: Eric Pouech Started putting all 16 bit code in separate files. * dlls/msvideo/msrle32/msrle32.c, documentation/samples/system.ini: Michael Günnewig Prevent some segfaults in msrle32. Add the necessary line to the sample system.ini for using this video codec. * dlls/comctl32/listview.c: Dimitrie O. Paun Narrow down the items we iterate over in LIST, and REPORT mode. Fix a Client --> List coordinate transformations in FindItem. Fix bug in HitItem (in LIST and REPORT mode). Avoid the last bit of drawing in REPORT mode. * dlls/comctl32/listview.c: Dimitrie O. Paun Draw _only_ the items that are invalidated. Fix serious bug when deleting from a range. Pass in a range to the ranges_{add,del} functions. Tidy up the RefreshIcon function. Assorted cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun Reimplement FindItem (cleaner, faster, more compliant with MSDN). * dlls/comctl32/listview.c: Dimitrie O. Paun Rewrite HitTest to make it pretty, and very fast. * dlls/comctl32/listview.c: Dimitrie O. Paun Introduce the notion of item iterators, and use them to clean up code. * dlls/comctl32/listview.c: Dimitrie O. Paun Separate range manipulation functions from selection ranges. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix large item label calculation when not focused. Fancy focus rectangle handling. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix focus handling when deleting items, or changing modes. Better label rect calculation in ICON mode. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix large item handling focus in ICON mode. * dlls/comctl32/listview.c: Dimitrie O. Paun No need to go through the heavy duty rect computation when in OWNERDRAW. * dlls/comctl32/listview.c: Dimitrie O. Paun Factor out owner draw code, so that it works for all modes. Documentation updates. * dlls/comctl32/listview.c: Dimitrie O. Paun Factor out the computation of item position, so it can be used independently of the rectangles. * dlls/comctl32/listview.c: Dimitrie O. Paun Unify LISTVIEW_UpdateLargeItemLabelRect, and GetItemMeasures. Optimize GetItemMeasures to the max. Centralize the DrawText's DT_* flags. * dlls/comctl32/listview.c: Dimitrie O. Paun Get rid of 'goto's in GetItemMeasures. Move LISTVIEW_UpdateLargeItemLabelRect close to where it's used. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix braino in calculation of LVS_LIST origin. Invalidate the entire window when we are invalidating the list. 2002-10-09 Alexandre Julliard * windows/mdi.c: Andrew M. Johnston Removed reference to SCROLL_SetNCSbState. * programs/wcmd/wcmdmain.c: Try CreateProcess even if SHGetFileInfo fails so that we can launch Unix binaries. * dlls/winmm/wineoss/audio.c: Eric Pouech Fixed some multi-sound card related bugs. * dlls/user/message.c, include/queue.h: Avoid infinite SendMessage recursion, just like Windows does. * tools/winebuild/spec32.c: Don't list register functions in the .def file. * dlls/ntdll/string.c: Fixed buffer size in _ultoa (spotted by Joerg Mayer). * memory/environ.c, scheduler/process.c, files/directory.c: Transmit the Windows PATH to child processes using the WINEPATH variable. * dlls/winmm/wineoss/audio.c: Fixed file descriptor corruption. * dlls/kernel/tests/atom.c, dlls/kernel/tests/thread.c: Jeff Smith Spelling corrections. * documentation/samples/generic.ppd: Huw Davies Added A3 paper size. * dlls/user/wnd16.c: Michael Stefaniuc Fix handle conversions. * dlls/wininet/tests/http.c: Patrik Stridvall Fixed test to not fail behind firewalls or without an internet connection. * tools/winapi/c_parser.pm, tools/winapi/c_type.pm, tools/winapi/tests.dat, tools/winapi/winapi_extract, tools/winapi/winapi_test: Patrik Stridvall Reorganized the code for better support of data structures parsing. 2002-10-07 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20021007. ---------------------------------------------------------------- 2002-10-07 Alexandre Julliard * dlls/comctl32/listview.c: Dimitrie O. Paun Fixed bug that caused item texts to be empty. * configure.ac, dlls/Makefile.in, dlls/msrle32/.cvsignore, dlls/msrle32/Makefile.in, dlls/msrle32/msrle32.c, dlls/msrle32/msrle32.spec, dlls/msvideo/msrle32/.cvsignore, dlls/msvideo/msrle32/Makefile.in, dlls/msvideo/msrle32/msrle32.c, dlls/msvideo/msrle32/msrle32.spec, dlls/msvideo/msrle32/msrle_De.rc, dlls/msvideo/msrle32/msrle_En.rc, dlls/msvideo/msrle32/msrle_Fr.rc, dlls/msvideo/msrle32/msrle_private.h, dlls/msvideo/msrle32/rsrc.rc, configure: Michael Günnewig Implemented the MS RLE video codec. * include/miscemu.h, memory/instr.c, msdos/dosmem.c, msdos/interrupts.c: Jukka Heinonen Add support for interrupts in 32-bit code. Remove some unnecessary code from 16-bit interrupt emulation. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix nasty bug generated by UINT vs. INT (resulted in bogus comparisons). Fix LVIR_SELECTBOUNDS computation, for REPORT mode. Fix dependency generation in GetItemMeasures. Fix rectangle computation for REPORT mode (corner case problems). Better debug messages. Assorted cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun Cleaned up the rectangle handling, and fixed numerous bugs in rectangle calculations. * configure, configure.ac, dlls/rpcrt4/Makefile.in, dlls/rpcrt4/tests/.cvsignore, dlls/rpcrt4/tests/Makefile.in, dlls/rpcrt4/tests/rpc.c: Greg Turner Added skeleton for rpcrt4 unit test with some UUID tests. * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Greg Turner Implemented UuidCompare. * dlls/rpcrt4/Makefile.in, dlls/rpcrt4/rpc_binding.c, dlls/rpcrt4/rpc_binding.h, dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Ove Kaaven Implemented RpcBindingInqObject, RpcBindingSetObject, RpcBindingVectorFree, RpcBindingToStringBindingA/W, RpcBindingFromStringBindingA/W, RpcStringBindingParseA/W, I_RpcBindingSetAsync, RpcStringBindingComposeA/W, RpcBindingFree, RPCStringFreeW, UUIDHash, UuidToStringW, and associated junk. * include/winbase.h, include/winnt.h, scheduler/timer.c, dlls/kernel/kernel32.spec: Steve Lustbader Provide stubs for Create/DeleteTimerQueueTimer. * dlls/comctl32/listview.c: Paul Rupe Fix inaccurate listview scrolling with PgUp/Down and Home/End keys. * dlls/avicap32/Makefile.in, dlls/avicap32/avicap32.spec, dlls/avicap32/avicap32_main.c: Stefan Leichter Added stubs for capCreateCaptureWindowA/W to get freeVCR started without crash. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix silly bug in SetItemPosition (we should set it, not create a new one). * dlls/comctl32/listview.c: Dimitrie O. Paun Maintain the item position in {,SMALL}ICON mode separataly from the item, so that we have it even in LVS_OWNERDATA. * dlls/comctl32/listview.c: Dimitrie O. Paun Cleanup the SetItemPosition interface. * dlls/comctl32/listview.c: Dimitrie O. Paun Remove the COUNT_OF macro. Indentation fixes, and minor cleanups to notify_dispinfoT. * dlls/comctl32/listview.c: Dimitrie O. Paun Fixes bug which rendered virtual listboxes always empty. Smarter focus rectangle drawing. Fix focus handling when we add/delete a column. Fix silly bug in GetSubItemRect. Elimiante flicker in Report mode. * dlls/comctl32/listview.c: Dimitrie O. Paun Cleanup, and clarify the handling of the various rectangles. Fix handling of large items in ICON mode. Fix calculation of LVIR_SELECTBOUNDS. Various cleanups, and simplifications. * dlls/comctl32/listview.c: Dimitrie O. Paun Cleanup of the way we maintain/lookup the item count. Rename GetItemWidth to CalculateMaxWidth. Misc trivial changes. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix focus handling for owner draw listviews. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix potential bug in RemoveAllItems. Fix report-mode ONWERDRAW bug (with help from Alexandre Julliard). Fix multiple selection bug (in report and list mode). Remove code duplication for removing selections. * dlls/kernel/kernel32.spec, include/winnls.h, memory/codepage.c: Steve Lustbader Implement GetUserDefaultUILanguage and GetSystemDefaultUILanguage. * dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/surface.c: Jason Edmeades Various fixes, typos corrected and clarifying trace points. * dlls/winmm/wineoss/audio.c: Eric Pouech Added support for several soundcard. Remove non full duplex mode in code. OSS Commercial doesn't properly handle SNDCTL_DSP_RESET, so close/open device to workaround this issue (by Ove Kaaven). * dlls/winmm/wavemap/wavemap.c: Eric Pouech Got rid of recursion in sub device opening. * dlls/winmm/mmsystem.c: Eric Pouech Let wave(Out|In)Open call the wave mapper when the low level device doesn't handle the wave descriptor. * tools/winedump/main.c: Eric Pouech Fixed segv when incorrect command line arguments where given. * documentation/samples/system.ini: Eric Pouech Fixed IMA ACM definition. * dlls/msacm/imaadp32/imaadp32.c: Eric Pouech Minor comments cleanups. Removed unneeded FIXMEs. * dlls/user/dde/ddeml16.c: Eric Pouech Fixed some NULL pointer handling errors. 2002-10-05 Alexandre Julliard * dlls/comctl32/listview.c: Dimitrie O. Paun Reimplement GetSubItemRect, subitem setting optimizations. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix bug in OWNERDATA selection handling. Fix critical performance bug in GetSelectedCount. Fix critical performance bug in SetGroupSelection. Fix problems for OWNERDRAW report. Fix hidden/latent bugs in state handling. Better debug messages. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix onwer-draw REPORT for broken apps. * dlls/comctl32/listview.c: Dimitrie O. Paun Streamline the GetItem usage. Fix fatal bug for ICON mode in LVS_ONWERDATA. Documentation updates, marking places which need work. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix condition so we actually store the state in virtual listviews. Assorted code cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun - Effective optimization in GetNextItem (speeds up Xnews). - Misc cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun Rewrite the begin/end label edit procedures. Better support of OWNERDRAW. Cleaner, simpler code. 2002-10-04 Alexandre Julliard * dlls/comctl32/listview.c: Dimitrie O. Paun Fixed large item focus handling for virtual listviews. Since at most _one_ item can have the focus at any time, we can maintain one such rectangle per list, rather than per item. This is both more efficient, and works for LVS_OWNERDATA listviews as well. * dlls/comctl32/listview.c: Dimitrie O. Paun Do not blindly trust GetItem to succeed -- check the return value, and fail gracefully. * dlls/comctl32/listview.c: Dimitrie O. Paun Do not send uninitialized data in notification to application. * dlls/kernel/tests/atom.c, memory/atom.c: Dmitry Timoshkov Fixed atom test to work on Windows. * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/codepage.c, memory/codepage.c: Dmitry Timoshkov Added a prototype code page test. Fixed issue regarding negative source length handling. * dlls/user/tests/class.c, dlls/user/tests/win.c: Fixed printf formats for -DSTRICT handles. * dlls/imagehlp/access.c, dlls/msvcrt/process.c, dlls/user/user16.c, dlls/winspool/info.c, include/tlhelp32.h, loader/pe_image.c, objects/font.c, objects/gdiobj.c: Fixed some handle conversions in prevision of void* handles. * dlls/comctl32/listview.c: Dimitrie O. Paun - Fix nasty bug in REPORT mode, when calculating the label rect. - Lots of cleanups, and simplifications. * dlls/rpcrt4/rpcrt4_main.c: Implemented UuidFromString[AW] based on CLSIDFromString implementation. 2002-10-03 Alexandre Julliard * dlls/comctl32/commctrl.c: György 'Nog' Jeney Abort with error if the app uses our api to subclass and then theirs then ours again. * ole/ole2nls.c: Steve Lustbader Implemented GetDateFormatW. * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Ove Kaaven Added UuidCreateNil, UuidEqual and UuidIsNil. * server/debugger.c, server/process.c, server/process.h, server/protocol.def, server/snapshot.c, server/thread.c, server/thread.h, server/trace.c, tools/make_requests, windows/input.c, windows/message.c, windows/win.c, dlls/kernel/console.c, dlls/kernel/debugger.c, dlls/kernel/toolhelp.c, dlls/user/message.c, include/thread.h, include/wine/server_protocol.h, programs/wineconsole/wineconsole.c, scheduler/client.c, scheduler/process.c, scheduler/syslevel.c, scheduler/thread.c, server/console.c: Added process_id_t and thread_it_t types to the server interface instead of using void*, and removed a number of type casts. * dlls/gdi/gdi16.c, objects/brush.c: Moved CreateBrushIndirect16 and CreateDIBPatternBrush16 to gdi16.c. * dlls/advapi32/registry.c, dlls/kernel/registry16.c, dlls/setupapi/setupx_main.c, dlls/shell32/shellreg.c, dlls/shlwapi/ordinal.c, include/mmsystem.h, include/wine/winbase16.h, include/winnt.h, include/winreg.h, win32/device.c: Removed LPxxx handle types that don't exist under Windows. * dlls/winmm/lolvldrv.c: Removed error message that confuses users. * dlls/user/tests/win.c, dlls/Maketest.rules.in: Build tests with -DSTRICT. 2002-10-02 Alexandre Julliard * dlls/comctl32/listview.c: Dimitrie O. Paun - Reorganize DrawItem. - Unify text attribute selection between Draw{Sub,}Item. - Usual cleanups, and simplifications. * server/event.c, server/handle.c, server/handle.h, server/list.h, server/main.c, server/mapping.c, server/mutex.c, server/named_pipe.c, server/object.c, server/object.h, server/process.h, server/semaphore.c, server/timer.c: Added support for multiple object namespaces, and a bunch functions for managing linked lists. * windows/syscolor.c: Fixed GDI heap selector handling broken by previous change. * dlls/comctl32/tooltips.c: György 'Nog' Jeney Use the new Subclassing API. * dlls/comctl32/listview.c: Dimitrie O. Paun Fancy/optimized EnsureVisible method that eliminates flicker. Minor cleanups. * dlls/comctl32/commctrl.c, include/commctrl.h, dlls/comctl32/comctl32.h, dlls/comctl32/comctl32.spec: György 'Nog' Jeney Implemented {G|S}etWindowSubClass, DefSubclassProc, RemoveWindowSubclass. * dlls/comctl32/listview.c: Dimitrie O. Paun - Fix the subitem drawing code. - A lot faster drawing in report mode. - A great deal of cleanup, and simplifications. * dlls/gdi/Makefile.in, dlls/gdi/tests/.cvsignore, dlls/gdi/tests/Makefile.in, dlls/gdi/tests/generated.c, dlls/kernel/tests/generated.c, dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/generated.c, configure, configure.ac: Patrik Stridvall Added some more autogenerated tests. * tools/winapi/c_type.pm, tools/winapi/tests.dat, tools/winapi/winapi_test: Patrik Stridvall - Minor improvements. - Added tests for GDI and USER. * include/winnt.h: György 'Nog' Jeney Added a couple of defines. * windows/painting.c, include/winuser.h: Dimitrie O. Paun Fix Validate{Rect,Rgn} prototypes. * tools/winedump/Makefile.in, tools/winedump/ne.c, tools/winedump/pe.c, tools/winedump/winedump.h: Preliminary support for dumping NE binaries. * dlls/comctl32/listview.c: Dimitrie O. Paun - Fix the state icon handling. - Fix handling of new image lists. - Small cleanups. * dlls/msvcrt/except.c: except_handler3: Set correct %ebp when calling exception filter. * dlls/x11drv/xrender.c: Enable anti-aliasing for all font sizes. * objects/dc.c: Greg Turner CreateDC: handle (nil, , ...) gracefully if no driver found. * dlls/comctl32/listview.c: Dimitrie O. Paun - Rework the {Insert,Delete}Column functions. - Drawing optimizations when adding/removing columns. - More cleanups, and simplifications. * dlls/commdlg/cdlg32.c, dlls/kernel/kernel_main.c, dlls/user/user_main.c, objects/gdiobj.c, windows/syscolor.c: Make sure things still work if 16-bit dlls cannot be loaded. * dlls/Makedll.rules.in, dlls/Makefile.in, dlls/Maketest.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/lzexpand/Makefile.in, dlls/make_dlls, dlls/msvideo/Makefile.in, dlls/ntdll/Makefile.in, dlls/user/Makefile.in, dlls/version/Makefile.in, dlls/win32s/Makefile.in, dlls/winaspi/Makefile.in, dlls/winmm/Makefile.in, Make.rules.in, configure, configure.ac: Added --disable-win16 configure option. * dlls/ddraw/dsurface/user.c, dlls/winmm/winenas/audio.c, programs/progman/grpfile.c: Fixed warnings. * unicode/Makefile.in, unicode/c_20932.c, unicode/cpmap.pl, unicode/cptable.c: Added EUC-JP encoding as codepage 20932 (with the help of Aric Stewart). * dlls/urlmon/umon.c, graphics/x11drv/opengl.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/win32.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - API file update. - Minor bug fixes. * include/winnt.h: Patrik Stridvall Added some more useful macros. 2002-10-01 Alexandre Julliard * dlls/glu32/Makefile.in, dlls/opengl32/Makefile.in, dlls/x11drv/Makefile.in, Make.rules.in, configure, configure.ac, dlls/d3d8/Makefile.in, dlls/ddraw/Makefile.in: Moved X flags and libraries out of Make.rules into the makefiles that need them. * dlls/user/resources/display.rc, dlls/user/resources/mouse.rc: Use correct 16-bit resources to avoid warnings. * documentation/debugger.sgml: Francois Gouget Update documentation of how to invoke winedbg. * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/generated.c: Patrik Stridvall Added new autogenerated test for data structure packing. * tools/winapi/Makefile.in, tools/winapi/c_parser.pm, tools/winapi/c_type.pm, tools/winapi/tests.dat, tools/winapi/tests.pm, tools/winapi/winapi.pm, tools/winapi/winapi_cleanup, tools/winapi/winapi_extract, tools/winapi/winapi_test, tools/winapi/winapi_test_options.pm, tools/winapi_check/modules.pm, tools/winapi_check/winapi_function.pm: Patrik Stridvall - Added a new tool winapi_test for generating tests. - Added a data structure packing test to winapi_test. - Reorganized and optimized a few things. * include/options.h, include/thread.h, include/winbase.h, include/wine/server.h, include/winnt.h, misc/options.c, miscemu/main.c, scheduler/sysdeps.c: Patrik Stridvall Added a GNU C implementation of some of the DECLSPEC_ macros and used them wherever possible. * dlls/comctl32/listview.c: Dimitrie O. Paun - Fix LIST mode, broken by previous changes. - Implement GetItemRect in terms of GetItemMeasurements. - Improvements in debug traces. - Many bug fixes, compelete implementation for GetItemMeasurements. - Lots of code cleanups, simplifications. - Documentation updates. 2002-09-30 Alexandre Julliard * dlls/shell32/shellpath.c: Jeff Smith PathIsExe: corrected and added executable types. * windows/spy.c: Guy L. Albertelli - The TTM_ message needed to be in correct order. - Added TTM_GETBUBBLESIZE. * dlls/comctl32/listview.c: Paul Rupe Prevent crash when listview trace logging is on. * dlls/ddraw/d3ddevice/main.c: Christian Costa Implement SwapTextureHandles method. * include/commdlg.h: György 'Nog' Jeney Define SNDMSG. 2002-09-29 Alexandre Julliard * programs/winedbg/stabs.c: Greg Turner Attempt at handling 'k' and 'B' symbols. * dlls/comctl32/listview.c: Guy Albertelli - Eliminate extra background fills. - Eliminate bogus error messages. * win32/except.c: Fixed a couple of bugs in the debugger startup. * dlls/Makefile.in, dlls/make_dlls: Don't build d3d8 if we don't have OpenGL support. * dlls/ddraw/mesa_private.h: Added check for OpenGL. * include/winuser.h: György 'Nog' Jeney Added {G|S}etWindowLongPtr. * include/Makefile.in, include/custcntl.h: György 'Nog' Jeney Initial implementation of custom control header. * dlls/x11drv/xvidmode.c: Jukka Heinonen Use correct check to see if xserver supports xvidmode. * dlls/comctl32/listview.c: Dimitrie O. Paun - Cache GWL_STYLE, to avoid fetching in virtually every function. - Separate GetOrigin from GetAllMeasures as it is item independent, and rename function to reflect the change. - Small cleanups. * dlls/dsound/dsound_main.c: Ove Kaaven Fix for soundcards that can't do 8-bit audio, only 16-bit (also checked for soundcards that can't do stereo while I was at it). * dlls/ddraw/d3dexecutebuffer.c: Christian Costa execute: Activate the viewport passed as parameter when executing buffer. * dlls/ddraw/d3dviewport.c: Christian Costa Implement IDirect3DViewport2_DeleteLight. * dlls/msvcrt/scanf.h: Jukka Heinonen Functions sscanf and swscanf now expect strings to be terminated with null (0) instead of EOF (-1). * tools/winemaker: Bill Medland Minor typo fix. 2002-09-27 Alexandre Julliard * dlls/comctl32/listview.c: Dimitrie O. Paun Remove item from the list, if we fail to initialize it at insert time. * dlls/d3d8/Makefile.in, dlls/d3d8/basetexture.c, dlls/d3d8/cubetexture.c, dlls/d3d8/d3d8.spec, dlls/d3d8/d3d8_main.c, dlls/d3d8/d3d8_private.h, dlls/d3d8/device.c, dlls/d3d8/directx.c, dlls/d3d8/indexbuffer.c, dlls/d3d8/resource.c, dlls/d3d8/surface.c, dlls/d3d8/swapchain.c, dlls/d3d8/texture.c, dlls/d3d8/vertexbuffer.c, dlls/d3d8/volume.c, dlls/d3d8/volumetexture.c, dlls/Makefile.in: Jason Edmeades Initial D3D8 implementation. * include/d3d8types.h: Fixed nameless union/struct declaration. * documentation/winelib-bindlls.sgml: Bill Medland Expanded the "Linux Libraries as Dlls" winelib section and brought it up to date. * tools/winemaker: Francois Gouget Updated the wrapper code to match the new naming executable and library conventions. Executables don't need spec files. Removed unused code. * dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/urlcache.c, dlls/wininet/wininet.spec, dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec: Chris Morgan Added stubs for HttpEndRequestA/W, InternetReadFileExA/W, SetUrlCacheEntryGroup, CreateUrlCacheGroup, DeleteUrlCacheGroup. * dlls/user/user16.c, windows/cursoricon.c: Michael Stefaniuc Moved some 16-bit functions from windows/cursoricon.c to dlls/user/user16.c. * files/dos_fs.c: György 'Nog' Jeney Check for an empty string in DOSFS_FindNextEx to avoid an unnecessary failure. * dlls/comctl32/listview.c: Dimitrie O. Paun - Fix crashes in debug mode. - Fix some focus rectangle problems. - Better debugging output. - More cleanups. * dlls/ddraw/d3dexecutebuffer.c: Christian Costa Remove wrong and useless transformation of z projected coordinates. Add normals world transformation. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa_private.h: Christian Costa Fix devices creation broken code. Now, the display and the drawable are retrieve through GDI escape sequences and stored in the private data. Add desallocation of the device private data. * dlls/lzexpand/Makefile.in, dlls/lzexpand/lzexpand16.c, dlls/lzexpand/lzexpand_main.c: György 'Nog' Jeney Split the 16-bit funcitons into a seperate file. 2002-09-26 Alexandre Julliard * dlls/x11drv/event.c: Fixed X11 error code mismatch and removed debugging output. * dlls/winsock/socket.c: Greg Turner - fixed up some semantic misunderstandings using the helpful advice of Rein Klazes - added SO_SNDTIMEO support - added ifdef's for consistency with rest of socket.c * tools/winemaker: Francois Gouget Bring the naming of libraries and executable up to current standards. Install dlls and executables in dlldir. It is no longer necessary to import ntdll.dll. * dlls/ddraw/d3dviewport.c: Christian Costa Added desallocation of the viewport private data. * dlls/ddraw/d3dlight.c: Christian Costa Added allocation/desallocation of the light private data. * dlls/ddraw/dsurface/main.c: Christian Costa Enable creation of our OpenGL Direct3D device from a surface used as rendering target. Enable creation of a texture from a surface. 2002-09-25 Alexandre Julliard * include/ts_xlib.h, programs/Makeprog.rules.in, programs/avitools/Makefile.in, tools/make_X11wrappers, tools/winewrapper, Make.rules.in, Makefile.in, configure, configure.ac, dlls/Makedll.rules.in, dlls/Maketest.rules.in, dlls/x11drv/Makefile.in, dlls/x11drv/X11_calls, dlls/x11drv/ts_xlib.c, dlls/x11drv/ts_xlib.h, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c: Moved ts_xlib.c into x11drv and removed libwine_tsx11. * windows/win.c: Added missing WIN_ReleasePtr (spotted by Dmitry Timoshkov). * controls/EDIT.TODO, controls/edit.c: Dimitrie O. Paun - Stop passing hwnd around when we're passing EDITSTATE. - Merge the non-obsolete bits of EDIT.TODO into edit.c. - Some cleanups, and simplifications. * dlls/comctl32/listview.c: Paul Rupe - Initialize memory to prevent crashes when -debugmsg +listview is on. - Fix various array bounds related errors. * dlls/comctl32/comctl32undoc.c: Paul Rupe Resize dynamic pointer array more carefully when adding new entries. * dlls/ddraw/mesa.c: Christian Costa Added support for POINT, WIREFRAME and SOLID fill modes. * dlls/ddraw/d3dtexture.c: Christian Costa IDirect3DTexture2Impl_Load: when the surface is not allocated and no location are specified, set it to video memory. * dlls/opengl32/opengl_ext.h, dlls/opengl32/opengl_norm.c, dlls/opengl32/wgl.c, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c, graphics/x11drv/opengl.c, include/wine_gl.h, include/x11drv.h, dlls/ddraw/Makefile.in, dlls/ddraw/main.c, dlls/ddraw/mesa_private.h, dlls/opengl32/Makefile.in, dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.c: Import wine_tsx11_lock/unlock directly from x11drv in opengl32 and ddraw, so that they don't need to link with libwine_tsx11. Removed header wine_gl.h. * dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/user/tests/win.c, include/win.h, include/wine/server_protocol.h, server/protocol.def, server/trace.c, server/window.c, windows/win.c: Fixed a number of bugs in the handling of window parent and owner and added a regression test (based on the work of Bill Medland). * documentation/samples/config, loader/loadorder.c: Dimitrie O. Paun By default, we should use our own dlls. * dlls/winsock/socket.c: Greg Turner Accept time_t argument in WS_setsockopt/WS_SO_RCVTIMEO; translate to struct timeval for edification of setsockopt. 2002-09-24 Alexandre Julliard * tools/make_X11wrappers, dlls/x11drv/dga2.c, dlls/x11drv/event.c, dlls/x11drv/keyboard.c, dlls/x11drv/mouse.c, dlls/x11drv/scroll.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv_main.c, dlls/x11drv/xvidmode.c, graphics/x11drv/bitmap.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, include/ts_xf86dga2.h, include/ts_xf86vmode.h, include/ts_xlib.h, include/ts_xutil.h: Removed some more TSX11 functions and files. * loader/ne/convert.c, loader/ne/module.c, memory/environ.c, memory/global.c, memory/selector.c, objects/clipping.c, objects/dc.c, objects/dcvalues.c, objects/metafile.c, objects/palette.c, windows/cursoricon.c, windows/dialog.c, windows/driver.c, windows/hook.c, windows/message.c, windows/queue.c, windows/winproc.c, dlls/gdi/gdi16.c, dlls/gdi/mfdrv/init.c, dlls/gdi/printdrv.c, dlls/netapi32/access.c, dlls/netapi32/browsr.c, dlls/netapi32/wksta.c, dlls/user/msg16.c, loader/module.c, loader/resource.c, loader/task.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/win32.api, tools/winapi/winapi.pm, tools/winapi_check/winapi_documentation.pm: Patrik Stridvall - Don't add standard headers for the dll separation hacks. - API files update. * dlls/comctl32/listview.c: Guy L. Albertelli - Localize origin, location, and rectangle computation. - Support state icons in LVS_ICON style. - Draw only items that are in the clip box. - Draw non-selected items first then the selected ones because large icons may overlap each other. - Correct invalidation rectangles for items. - Correct drawing of large icons. - Eliminate divide by zero cases in scrolling. - Invalidate selected items prior to setting window losing focus. * dlls/comctl32/status.c, include/win.h, dlls/comctl32/imagelist.c: Dimitrie O. Paun Small cleanups, updated documentation. * dlls/x11drv/winpos.c: Fixed #endif. * tools/make_X11wrappers, dlls/x11drv/event.c, dlls/x11drv/keyboard.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv_main.c, graphics/x11drv/dib.c, include/ts_shape.h, include/ts_xf86dga.h, include/ts_xf86dga2.h, include/ts_xf86vmode.h, include/ts_xlib.h, include/ts_xresource.h, include/ts_xshm.h, include/ts_xutil.h, include/ts_xvideo.h: Removed a bunch of no longer used TSX wrappers. * dlls/kernel/kernel32.spec: Patrik Stridvall Fixed some issues found by winapi_check. * dlls/comcat/comcat_main.c, dlls/shell32/shellpath.c, dlls/shell32/shellreg.c, include/windef.h: Michael Stefaniuc Convert HKEY to a void*. * tools/winapi/win32.api, tools/winapi_check/winapi_local.pm: Patrik Stridvall - Added support for %struct16 (used by CLSID). - API files update. * documentation/registry.sgml, documentation/samples/config, misc/registry.c: Raul Dias Added new "GlobalRegistryDir" option. * include/winsock.h: Patrick J. McNerthney Removed the #undef of WS_DEFINE_SELECT so that select is in fact defined. Fixed if statement in __WS_FD_SET2 which used a = where a == is needed, in additition the if did not have its outer set of parenthesis. Removed parentheses around type to be cast in __WS_FD_SET macro. Removed WS macro usage from within other macros because the WS macro is undefined when these macros are expanded. Added WINAPI attributee to select definition. * include/msvcrt/crtdbg.h: Patrick J. McNerthney Added casts to all macros to avoid compiler warnings. 2002-09-23 Alexandre Julliard * dlls/comctl32/listview.c: Dimitrie O. Paun Remove some more superfluous ZeroMemory calls, small cleanups. * dlls/user/user32.spec, dlls/x11drv/event.c, windows/win.c: Dimitrie O. Paun - Remove export of DRAG_QueryUpdate from USER. - Get rid of associated 16 bit code from x11drv. - Simplifications, cleanups, etc. * dlls/comctl32/listview.c: Dimitrie O. Paun - Fix outputting of a text pointer in debug mode (by Rein Klazes). - Remove a large bunch of superfluous ZeroMemory calls. - Fix a couple of bugs. * dlls/comctl32/rebar.c, dlls/gdi/freetype.c, dlls/kernel/tests/environ.c, dlls/richedit/reader.c, dlls/richedit/rtf.h, dlls/richedit/stdcharnames.h, include/wine/obj_base.h, include/winsock2.h: Patrik Stridvall Cleaned up the code so it would be easier to parse with the new C parser. * tools/winapi/c_parser.pm, tools/winapi/c_type.pm, tools/winapi/winapi_extract, tools/winapi/winapi_extract_options.pm, tools/winapi/winapi_fixup, tools/winapi_check/winapi_c_parser.pm: Patrik Stridvall - Made the new C parser handle the current Wine source. - Added a compabillity layer between the old and the new C parser. - Added parsing of data structures. * dlls/netapi32/tests/.cvsignore, dlls/netapi32/tests/Makefile.in, dlls/netapi32/tests/access.c, dlls/netapi32/tests/wksta.c, include/Makefile.in, include/lm.h, include/lmaccess.h, include/lmbrowsr.h, include/lmcons.h, include/lmerr.h, dlls/netapi32/Makefile.in, dlls/netapi32/access.c, dlls/netapi32/apibuf.c, dlls/netapi32/browsr.c, dlls/netapi32/netapi32.spec, dlls/netapi32/netapi32_misc.h, dlls/netapi32/wksta.c: Andriy Palamarchuk Implemented NetQueryDisplayInformation, NetUserGetInfo, created conformance tests, other netapi32 bug fixes and improvements. * tools/wineinstall: Francois Gouget Install notepad.exe in c:\windows too. 2002-09-21 Alexandre Julliard * scheduler/thread.c, win32/newfns.c, controls/edit.c, dlls/winedos/dosvm.c, include/basetsd.h, include/winbase.h, memory/global.c, memory/heap.c, memory/local.c, memory/virtual.c, scheduler/process.c: Dmitry Timoshkov Correct SIZE_T size according to MS SDK. Change some types to SIZE_T according to MS SDK definitions. * include/d3d8types.h: Jason Edmeades Added some definitions. * documentation/debugger.sgml: Eric Pouech Updated winedbg documentation. * documentation/winelib-bindlls.sgml: Dimitrie O. Paun Change confusing title. 2002-09-20 Alexandre Julliard * include/shlwapi.h, dlls/shlwapi/ordinal.c, dlls/shlwapi/path.c, dlls/shlwapi/regstream.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, dlls/shlwapi/thread.c, dlls/shlwapi/url.c: Jon Griffiths Reorganise/minor tidyup of ordinal functions. Implement StrCmpLogicalW,StrFormatByteSizeA/W,StrFormatByteSize64A, SHCreateStreamWrapper. Fix some output .spec parameters from str to ptr. Fix definition of StrFormatByteSize functions. * documentation/winelib-toolkit.sgml: Francois Gouget Small updates to better match the format of current Makefiles. Remove the documentation of no longer supported spec file options. Add notes to point out the sections that are particularly out of date. * documentation/psdrv.reg, winedefault.reg: Dimitrie O. Paun Move the contents of documentation/psdrv.reg to winedefault.reg. * dlls/user/user32.spec, dlls/x11drv/scroll.c, windows/scroll.c: Dimitrie O. Paun Have USER deal with the caret when scrolling a window. * documentation/wine.texinfo: Andriy Palamarchuk Added information about POSIX, Unix, X11 trademarks. * tools/winedump/output.c: Jon Griffiths Update output for current build process. * tools/winedump/README: Jon Griffiths Documentation update. 2002-09-18 Alexandre Julliard * dlls/ntdll/critsection.c, dlls/ntdll/heap.c: Avoid calling some kernel functions. * DEVELOPERS-HINTS: Updated a lot of obsolete stuff. * programs/Makefile.in: Only install the useful programs. * dlls/x11drv/event.c, dlls/x11drv/window.c, dlls/x11drv/x11drv_main.c, documentation/samples/config, include/x11drv.h: Added support for the take focus protocol. * documentation/programs, documentation/winsock: Removed obsolete files. * library/.cvsignore, unicode/.cvsignore: Steven Edwards Update for mingw/cygwin. * tools/winemaker: Martin Wilck Make all target names lower case. * DEVELOPERS-HINTS: Dimitrie O. Paun Update debug channel usage in DEVELOPER-HINTS. Remove references to obsolete dirs. * dlls/comctl32/listview.c: Dimitrie O. Paun - Better implementation for GetTopindex/GetOrigin/SetIconSpacing. - Drawing optimizations, better scrolling. - A few more bugs squashed without mercy. - Many cleanups, simplifications, doc updates. * documentation/README.fr: Vincent Béron Small update to keep in sync with README. 2002-09-17 Alexandre Julliard * dlls/kernel/kernel32.spec, dlls/ntdll/Makefile.in, dlls/ntdll/heap.c, dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/virtual.c, include/winbase.h, include/wine/server_protocol.h, include/winnt.h, include/winternl.h, memory/virtual.c, server/mapping.c, server/protocol.def, server/trace.c: Implemented the ntdll virtual memory functions, and made the kernel functions use them. * documentation/Makefile.in: Added testing.sgml. * controls/menu.c: Remove clearing of the window menu id for now. This will need more work. * documentation/testing.sgml: Francois Gouget Explain why conformance tests are useful for ports too. * dlls/commdlg/filedlg95.c: Josef Meixner Huw Davies - Initializing the return-string shouldn't change the pointer. - Added "FIXME" for case not handled. - Directory and the filenames have to be separated by "\0". - Added check to handle possible signed/unsigned overflow. * include/msvcrt/errno.h, dlls/msvcrt/dir.c, dlls/msvcrt/errno.c, dlls/msvcrt/file.c, dlls/msvcrt/heap.c, dlls/msvcrt/math.c, dlls/msvcrt/ms_errno.h, dlls/msvcrt/process.c, include/Makefile.in: Martin Wilck MSVCRT needs a public errno.h file. * tools/winemaker: Martin Wilck Fix "install" and "uninstall" targets: .exe -> .exe.so; target dir is $(dlldir), like for the "builtin" wine binaries. * dlls/advapi32/security.c: Andriy Palamarchuk Make LsaOpenPolicy return success. * tools/winedump/main.c: Jan Kratochvil Bug fix. * dlls/comctl32/comctl32.h, dlls/comctl32/comctl_En.rc, dlls/comctl32/hotkey.c: Gyorgy 'Nog' Jeney - Unicodeify control. - use void instead of VOID. - Pass infoPtr around instead of HWND. - Implement most of the control. * dlls/comctl32/listview.c: Dimitrie O. Paun - Optimize the heck out of Report drawing. - A bit of organization, for sanity's sake. - Many simplifications, cleanups, etc. * documentation/samples/config, documentation/wine.conf.man: Dimitrie O. Paun Move the documentation for 'ShowDirSymlinks' where it belongs: to the wine.conf man page. * controls/edit.c, dlls/comctl32/commctrl.c, dlls/ntdll/heap.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shlwapi/tests/clist.c, files/smb.c, include/commctrl.h, include/imagehlp.h, include/mmsystem.h, include/winnt.h, include/winternl.h, windows/winproc.c: Francois Gouget Remove references to PCVOID and LPUINT. Remove types that don't exist on Windows. * memory/virtual.c: Fixed import directory limits (spotted by Jan Kratochvil). * dlls/comctl32/listview.c: Sander van Leeuwen Listview_ProcessLetterKeys: fixed never ending loop when end index is zero. * dlls/winmm/winearts/audio.c: Jerry Jenkins Modified volume_effect8 for taking unsigned data as signed data, and wodPlayer_WriteMaxFrags because of wrong data length which lead to strange noise and volume control working incorrectly. * dlls/dsound/dsound_main.c: Jerry Jenkins Added waveOutSetVolume when opening sound driver. Otherwise, there is no sound if we use aRts. * files/file.c: Martin Wilck - Return correct error codes. - Fix behaviour if files are on different Wine drives - delete source if copy successful - try rename() - files may be on the same Unix file system. - Try copy/delete if rename() fails: files may be on the same DOS drive, but on different Unix file systems. * documentation/patches.sgml, documentation/running.sgml, documentation/testing.sgml, documentation/wine-devel.sgml, documentation/wine-doc.sgml: Francois Gouget Start of the conformance testing documentation. Still very incomplete. * documentation/winelib-toolkit.sgml: Francois Gouget Update the section concerning winemaker's options. Add a couple of warnings about out-of-date sections. * dlls/Maketest.rules.in: Francois Gouget Tests are regular Winelib applications and thus should not be compiled with __WINE__. * dlls/user/tests/class.c, dlls/winsock/tests/sock.c: Francois Gouget IDI_APPLICATIONW does not exist on Windows. Use IDI_APPLICATION instead and cast to LPWSTR. Fixed type cast warnings. * dlls/advapi32/tests/registry.c, dlls/shell32/tests/shlfileop.c, dlls/wininet/tests/http.c: Francois Gouget Change the #include order so that these tests compile on Windows. * dlls/ntdll/tests/error.c, include/Makefile.in, include/ntstatus.h, include/winnt.h: Francois Gouget Move all STATUS_* and RPC_NT_* to ntstatus.h as per Windows SDK. Add some missing constants. Include ntstatus.h in winnt.h. * files/file.c: Marcus Meissner Fixed "conditional expr is always true due to being unsigned < 0" problem. 2002-09-16 Alexandre Julliard * tools/winedump/main.c, tools/winedump/winedump.h: Jan Kratochvil New -S: Search only prototype names found in 'symfile'. * tools/winebuild/main.c: Marcus Meissner Added ctype.h. * dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, dlls/setupapi/virtcopy.c, include/windef.h, loader/resource.c, windows/cursoricon.c, windows/dialog.c: Michael Stefaniuc Convert HRSRC to a void*. * dlls/netapi32/tests/wksta.c, dlls/shlwapi/tests/shreg.c: Francois Gouget NetpGetComputerName, SHCopyKeyA and SHRegGetPathA don't exist on all Windows platforms -> use GetModuleHandle + GetProcAddress. * documentation/samples/config, documentation/wine.conf.man, documentation/wine.texinfo, files/file.c: Dimitrie O. Paun Mark files starting with a dot as FA_HIDDEN. Add configuration option 'ShowDotFiles' to turn this feature off. * dlls/msvcrt/file.c: Martin Wilck Fix MoveFileEx() flags in MSVCRT rename()/_wrename(). * dlls/comctl32/listview.c: Dimitrie O. Paun - Reorganization and cleanup of selection code. - Complete rewrite of focus handling and drawing code. - Many bugs fixed (including a serious memory corruption). - Many performance fixes. - Lots of cleanups, simplifications, etc. - Documentation updates. * include/wtypes.h: Francois Gouget Include rpc.h after LPOLESTR and other needed types are defined. * include/wingdi.h: Vincent Béron Fixed typo which prevented correct compilation of code using the Get{C,M,Y}Value macros. * dlls/ntdll/ntdll.spec, dlls/ntdll/om.c, include/winternl.h, scheduler/handle.c: Implemented NtDuplicateObject. * include/wine/obj_contextmenu.h, include/commctrl.h, include/commdlg.h, include/msacm.h, include/prsht.h, include/richedit.h, include/wincrypt.h: Dmitry Timoshkov Replace static initializers with a proper #define in .h files. * include/winbase.h, include/wingdi.h: Juraj Hercek - fixed typo error in CMYK definition (COLOREF -> COLORREF) - added tags to structures (_OFSTRUCT, _FILETIME, ...) * dlls/shell32/shlexec.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/path.c: Duane Clark Wait for app to come up before attempting DDE connection. PathIsURL should fail on text without a proper "scheme". * files/dos_fs.c: Marcus Meissner info->u.smb_dir is a pointer, errors are signaled by NULL. * programs/winedbg/break.c, programs/winedbg/dbg.y, programs/winedbg/debugger.h, programs/winedbg/expr.c, programs/winedbg/hash.c, programs/winedbg/info.c, programs/winedbg/stabs.c: Eric Pouech Added ability to abort on interactive symbol lookup. * dlls/comctl32/listview.c: Dimitrie O. Paun - Grand rewrite for {Get,Set,Insert}Item & Co. - Many bugs fixed. - Callback items are better supported. - Improvements in rendering speed. - Change VOID to void. - Many code cleanups, and simplifications. - Documentation updates. 2002-09-13 Alexandre Julliard * dlls/advapi32/registry.c, dlls/ntdll/cdrom.c, dlls/ntdll/reg.c, misc/registry.c, win32/device.c: Handle special registry root keys directly in advapi32, and avoid using them in kernel and ntdll. * dlls/ntdll/Makefile.in, memory/registry.c, win32/device.c: Copied the registry functions needed by VMM into device.c and got rid of memory/registry.c. * dlls/kernel/locale.c, files/directory.c, misc/cpu.c, misc/registry.c, win32/except.c: Removed remaining references to advapi32 registry functions from kernel functions. * tools/winemaker: Martin Wilck - Support "-imsvcrt" as an abbreviation of "-imsvcrt.dll". - Automatically add MSVCRT include path if MSVCRT DLL was requested. * files/file.c: Martin Wilck Wait timeout must be 0 if bWait == FALSE. * programs/Makefile.in, programs/winedbg/.cvsignore, programs/winedbg/Makefile.in, programs/winedbg/README, programs/winedbg/break.c, programs/winedbg/db_disasm.c, programs/winedbg/dbg.y, programs/winedbg/debug.l, programs/winedbg/debugger.h, programs/winedbg/display.c, programs/winedbg/expr.c, programs/winedbg/expr.h, programs/winedbg/ext_debugger.c, programs/winedbg/gdbproxy.c, programs/winedbg/hash.c, programs/winedbg/info.c, programs/winedbg/intvar.h, programs/winedbg/memory.c, programs/winedbg/module.c, programs/winedbg/msc.c, programs/winedbg/registers.c, programs/winedbg/source.c, programs/winedbg/stabs.c, programs/winedbg/stack.c, programs/winedbg/types.c, programs/winedbg/winedbg.c, configure, configure.ac: Moved the debugger to programs/winedbg where it belongs. * files/file.c, files/profile.c, loader/loadorder.c, misc/version.c, msdos/ppdev.c, relay32/relay386.c: Removed references to advapi32 registry functions from some of the kernel functions. * dlls/ntdll/reg.c: RtlFormatCurrentUserKeyPath: return path containing the user name instead of .Default. * tools/winemaker: Martin Wilck - fix perl syntax error in my own patch - fix perl syntax error in generate_wrapper_file() - fix order of arguments generate_from_template() in generate_wrapper_file() - don't ignore command line -l, -I, and -i arguments - build wrapper with a minimal set of DLLs/libraries - fix autoconf invocation to support both 2.5x and 2.13 - fix usage message for --nodlls - target_init(\$global_settings) must not be done after reading command line - fix appName declaration in wrapper code * dlls/comctl32/listview.c: Guy L. Albertelli - Improve LVM_GETITEMRECT values for LVS_ICON style. Now mostly correct (or at least matches native). - Handle focused and selected large icon text better. - Handle internal erase. - Additional debugging code. 2002-09-12 Alexandre Julliard * dlls/gdi/Makefile.in, dlls/gdi/gdi.exe.spec, dlls/user/Makefile.in, dlls/user/user.exe.spec, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/winebuild.man.in: Replaced 'heap' .spec statement by a command line option. Updated winebuild manpage. * include/thread.h: Use larger signal stack to avoid overflows in filesystem code when loading the debugger. * dlls/shlwapi/tests/shreg.c: Delete registry key at exit. * dlls/shlwapi/shlwapi.spec: Fixed AssocCreate declaration. * dlls/msvcrt/dir.c, dlls/msvcrt/file.c, dlls/ntdll/reg.c, dlls/ole32/storage.c, files/dos_fs.c, files/file.c, include/x11drv.h: Fixed warnings caused by new winternl.h. * dlls/comctl32/trackbar.c: Dimitrie O. Paun - Implement custom draw support. - Fix thumb drawing. - Some cleanups, reorganizations, etc. * dlls/comctl32/listview.c: Dimitrie O. Paun Fix a bunch of bugs related to scrolling. * tools/winapi/msvcmaker: Patrik Stridvall Minor bug fixes and improvements. * include/Makefile.in, include/d3d8.h, include/d3d8caps.h, include/d3d8types.h: Jason Edmeades Added Direct3D 8 headers. * win32/except.c, misc/main.c, misc/options.c, misc/version.c, msdos/int21.c, msdos/vxd.c, ole/ole2nls.c, relay32/relay386.c, relay32/snoop.c, scheduler/critsection.c, scheduler/pthread.c, scheduler/syslevel.c, server/registry.c, files/directory.c, files/dos_fs.c, files/drive.c, files/file.c, files/profile.c, include/ntddk.h, include/ntdef.h, include/thread.h, include/wine/server.h, include/winternl.h, loader/module.c, loader/pe_resource.c, loader/task.c, memory/environ.c, memory/heap.c, dlls/ntdll/tests/error.c, dlls/ntdll/tests/rtlbitmap.c, dlls/ole32/hglobalstream.c, dlls/ole32/stg_stream.c, dlls/ole32/storage.c, dlls/oleaut32/tmarshal.c, dlls/setupapi/dirid.c, dlls/setupapi/infparse.c, dlls/setupapi/install.c, dlls/setupapi/parser.c, dlls/setupapi/queue.c, dlls/winedos/int21.c, dlls/winmm/mmsystem.c, dlls/kernel/time.c, dlls/kernel/utthunk.c, dlls/kernel/wowthunk.c, dlls/msvcrt/cppexcept.c, dlls/msvcrt/dir.c, dlls/msvcrt/except.c, dlls/msvcrt/file.c, dlls/netapi32/wksta.c, dlls/ntdll/cdrom.c, dlls/ntdll/critsection.c, dlls/ntdll/debugtools.c, dlls/ntdll/error.c, dlls/ntdll/exception.c, dlls/ntdll/file.c, dlls/ntdll/heap.c, dlls/ntdll/large_int.c, dlls/ntdll/loader.c, dlls/ntdll/nt.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/rtl.c, dlls/ntdll/rtlbitmap.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_powerpc.c, dlls/ntdll/signal_sparc.c, dlls/ntdll/sync.c, dlls/ntdll/time.c, dlls/ntdll/wcstring.c, dlls/advapi32/security.c, dlls/commdlg/filedlg95.c, dlls/dsound/buffer.c, dlls/dsound/dsound_main.c, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c, dlls/gdi/driver.c, dlls/kernel/kernel_main.c, dlls/kernel/locale.c, dlls/kernel/thunk.c: Patrik Stridvall Moved all the content of the DDK files ntdef.h and ntddk.h to winternl.h. * dlls/advapi32/registry.c: Fixed requested access rights in RegDeleteKey[AW]. * dlls/advapi32/tests/registry.c: Fixed possible infinite loop in delete_key. * dlls/shlwapi/tests/shreg.c: Patrik Stridvall Fixed C++ comments. * programs/wcmd/wcmdmain.c: Uwe Bonnes WCMD_parse: allow slashes in command filenames. * include/windef.h: Steven Edwards Cleanup warning when building on Mingw. * tools/winapi/winapi_cleanup, tools/winapi/winapi_cleanup_options.pm: Patrik Stridvall - Made remove trailing whitespace a default off option. - Add support for C++ to C comment conversion. * dlls/comctl32/listview.c: Dimitrie O. Paun - Complete rewrite of scrolling code: smaller, faster, cleaner. We now properly scroll the window, rather than invalidating it on every scroll action. - A bug or two got squashed. - Many code cleanups, simplifications, etc. - Some documentation updates. * tools/winebuild/parser.c: Dimitrie O. Paun Remove support for 'file', 'name', and 'mode' in .spec files. * dlls/shlwapi/url.c: Jon Griffiths Make hex digits static const & share them. * dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/tests/shreg.c: Jon Griffiths Implementation and test for SHCopyKeyA/W. * dlls/winsock/socket.c, files/file.c: Martin Wilck Fix the behavior of GetOverlappedResult() and WSAGetOverlappedResult() with non-manual-reset (auto-reset) events in the OVERLAPPED structures. * include/Makefile.in: Andriy Palamarchuk Install tchar.h. * documentation/winelib-toolkit.sgml: Andriy Palamarchuk Spec files documentation. Added information about wide strings. Based on comments by Patrik Stridvall. * files/directory.c: Michael Beach Fixed buffer size in DIR_TryModulePath for Win32 modules. * dlls/oleaut32/olepicture.c, dlls/winmm/winenas/audio.c, include/basetsd.h, include/rpcndr.h, include/wine/windef16.h, include/winnt.h, include/wtypes.h, programs/wcmd/directory.c, programs/winefile/winefile.c, programs/winefile/winefile.h, tools/winedump/msmangle.c, tools/winedump/symbol.c: Removed the __uint* types from basetsd.h since they don't exist under Windows. Fixed a few other issues with type definitions. * dlls/kernel/Makefile.in, dlls/kernel/krnl386.exe.spec: Dimitrie O. Paun Move the name directive from the .spec file to the Makefile. * tools/winebuild/main.c: Dimitrie O. Paun Add support for naming the DLL from the command line. * dlls/winspool/info.c: Marcus Meissner New CUPS libraries return "none" as default printer instead of NULL. * dlls/kernel/krnl386.exe.spec, dlls/user/ddeml.spec, dlls/user/user.exe.spec, dlls/winsock/winsock.spec: Dimitrie O. Paun Make all spec files grep-able. * miscemu/Makefile.in, miscemu/wine.spec: Dimitrie O. Paun Moved mode setting out of .spec file into Makefile. * dlls/comctl32/trackbar.c: Dimitrie O. Paun Greatly improved drawing code: eliminates all flicker, faster, cleaner tics drawing, better tooltip positioning, code cleanups and simplifications. * dlls/comctl32/imagelist.c: Dimitrie O. Paun - Rewrite the drawing code. It now is much smaller, easier to follow, and faster. Moreover, it now supports the dwRop operation, and it is in good shape to support the missing features. - Draw the dragged image semi-transparently (will work when we support alpha blending). * include/commctrl.h: Dimitrie O. Paun Add ImageList states (ILS_*) definitions. 2002-09-11 Alexandre Julliard * dlls/Makefile.in, dlls/netapi32/Makefile.in, dlls/netapi32/apibuf.c, dlls/netapi32/netapi32.spec, dlls/netapi32/tests/.cvsignore, dlls/netapi32/tests/Makefile.in, dlls/netapi32/tests/apibuf.c, dlls/netapi32/tests/wksta.c, dlls/netapi32/wksta.c, include/Makefile.in, include/lm.h, include/lmaccess.h, include/lmapibuf.h, include/lmcons.h, include/lmerr.h, include/lmwksta.h, include/winbase.h, configure, configure.ac: Andriy Palamarchuk Implemented buffer management functions, a couple of workstation information functions, created conformance tests. * tools/winemaker: Francois Gouget Store the global settings in Make.rules.in instead of duplicating them in each Makefile.in file. Introduce generate_from_template which replaces generate_configure and generate_generic Simplify the wrapper generation by using generate_from_template. Rename configure.in to configure.ac. Now works with autoconf 2.5x. * tools/winedump/README, tools/winedump/debug.c, tools/winedump/pe.c, tools/winedump/pe.h: Andreas Mohr - Implement dumping of COFF debug symbol table. - Fix winedump syntax description. - Spelling fixes. * dlls/kernel/tests/alloc.c: Andriy Palamarchuk A few more conformance tests for heap memory allocation. * include/ntsecapi.h: Andriy Palamarchuk Added policy access constants, type definition. * dlls/comctl32/trackbar.c: Dimitrie O. Paun - Implement autopaging. - Remove incorrect FIXMEs. - Small cleanups. * dlls/comctl32/listview.c: Dimitrie O. Paun Code cleanups and simplifications, documentation updates. * tools/winemaker: Francois Gouget Fix the Wine detection when using the Wine source tree. 2002-09-10 Alexandre Julliard * tools/winemaker: Francois Gouget Fix detection of 'ln -s'. Fix computation of TOPOBJDIR. Install exes and dlls in $(libdir). -Wl,-rpath is not relevant for dlls. * include/Makefile.in, include/winternl.h: Patrik Stridvall Added the new header winternl.h. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Jon Griffiths Implement @163,164,168,175,182,187,286,SHSkipJunction. Stub @201,202,203, Document many functions. @165: Fix mask and flags parameter order. @172: Works on IInternetSecurityMgrSite and IShellView too. @199,@268: No return value, call @169. * include/winnt.h: Patrik Stridvall Added a few macros for MS C/C++ specific features. * tools/winemaker, tools/winemaker.man: Martin Wilck - Fix --nomfc option which is currrently broken. - Add --nodlls option for small apps. 2002-09-09 Alexandre Julliard * dlls/crypt32/main.c, include/Makefile.in, include/mssip.h, include/sipbase.h, include/wincrypt.h: Patrik Stridvall Add and use the header files mssip.h and sipbase.h. * dlls/kernel/Makefile.in, dlls/kernel/registry16.c, misc/registry.c: Moved 16-bit registry functions to kernel dll and implemented them by calling up to advapi32. * dlls/gdi/gdi16.c, dlls/ntdll/signal_i386.c, dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec, objects/clipping.c, objects/dc.c, objects/dcvalues.c, objects/metafile.c, objects/palette.c, windows/queue.c: Patrik Stridvall Fixed some issues found by winapi_check. * dlls/ntdll/error.c, dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/error.c, include/winerror.h, include/winnt.h: Andriy Palamarchuk RtlNtStatusToDosError: Added new NT status to error codes mapping, added missed definitions of the used constants, created unit test for subset of the mappings. * controls/uitools.c: Dimitrie O. Paun - Implement DFCS_TRANSPARENT. - Fix indentation. - Add remark about unimplemented DFC_POPUPMENU. * dlls/comctl32/listview.c: Dimitrie O. Paun - Pass infoPtr around, instead of hwnd. - Implement hot cursor. - Update list of unimplemented messages. - Simplify the code for editing labels. - Start working towards more type-safe functions. - Small code cleanups. - Some docu updates. * dlls/comctl32/comboex.c, dlls/comctl32/progress.c, dlls/comctl32/updown.c: Dimitrie O. Paun - Fix bug in mouse position reading. - Remove useless code. - Small code cleanups. * dlls/comctl32/trackbar.c: Dimitrie O. Paun - Fix the tics drawing code. - Fix the selection area calculation & drawing. - Implement TBS_DOWNISLEFT. - Make use of fLocation (TBTS_{TOP,LEFT,BUTTOM,RIGHT}). - Lots of code cleanups and simplifications. * dlls/comctl32/tooltips.c: Dimitrie O. Paun Add support for the TTM_GETBUBBLESIZE message. * include/commctrl.h: Dimitrie O. Paun - Add missing declaration for TBS_DOWNISLEFT and TTM_GETBUBBLESIZE. - Fix indentation for a bunch of things. * dlls/winspool/info.c: Marcus Meissner If the default CUPS printer has no ppd file, just use the first printer that has one as Windows default printer. Support PRINTER_ENUM_CONNECTIONS in the default way. * dlls/msvcrt/scanf.h: Uwe Bonnes Make the scanf family recognize characters again. * tools/winapi/win32.api, tools/winapi_check/modules.dat: Patrik Stridvall API files update. * tools/winemaker: Martin Wilck - Add "-ldl" for wrapper apps. - fix Makefile for --wrap. - Fix wrapper code which was broken for console apps. 2002-09-06 Alexandre Julliard * dlls/commdlg/cdlg.h, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, dlls/wineps/driver.c, dlls/winsock/async.c, dlls/winsock/socket.c, include/windef.h, include/wine/winsock16.h: Michael Stefaniuc Finish the conversion of HWND to a void*. * dlls/kernel/tests/path.c, tools/wineinstall: Francois Gouget Some small typo / phrasing fixes. * Makefile.in, configure, configure.ac, dlls/Makedll.rules.in, dlls/Makefile.in, dlls/Maketest.rules.in, dlls/make_dlls, programs/winetest/Makefile.in, Make.rules.in: Added preliminary support for cross-compiling tests using mingw on Linux if available. * dlls/winmm/mcianim/mcianim.c, dlls/winmm/mciavi/info.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/private_mciavi.h, dlls/winmm/mcicda/mcicda.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h, dlls/comctl32/tooltips.c, dlls/comctl32/treeview.c, dlls/comctl32/updown.c, dlls/gdi/win16drv/prtdrv.c, dlls/msvideo/msvideo_main.c, dlls/setupapi/queue.c, dlls/setupapi/setupx_main.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c, dlls/twain/dsm_ctrl.c, dlls/twain/twain_i.h, dlls/winmm/mci.c, dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c, dlls/comctl32/datetime.c, dlls/comctl32/listview.c, dlls/comctl32/propsheet.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c: Michael Stefaniuc Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for the conversion of HWND to a void*. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, include/ntsecapi.h: Andriy Palamarchuk LsaNtStatusToDosError implementation. * dlls/winsock/socket.c: Martin Wilck WS2_register_async_shutdown(): Try immediate completion, in case an app never waits for anything. WS_accept(): Avoid crash if addr parameter is NULL. * dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec: Jon Griffiths Implemented registry MIME type functions @324-329. * dlls/gdi/Makefile.in, dlls/gdi/gdi32.spec, dlls/kernel/kernel32.spec, dlls/ntdll/ntdll.spec, dlls/ttydrv/Makefile.in, dlls/user/Makefile.in, dlls/user/user32.spec, dlls/winedos/Makefile.in, dlls/x11drv/Makefile.in, dlls/Makefile.in, dlls/ddraw/Makefile.in: Link all remaining dlls except kernel32 as separated dlls, by temporarily exporting the few functions that are not properly separated yet. * misc/version.c: Fixed checking of special dll names. * documentation/introduction.sgml: Francois Gouget Mention 32bit coordinates support. * dlls/kernel/tests/atom.c: Francois Gouget Do not include wine/unicode.h. * tools/winemaker: Francois Gouget Add prototypes to all functions. Make winemaker work in 'strict' mode. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Jon Griffiths Add @138,@157,@180,@197,@204. @151-157: Parameters are const. @36 inserts MF_BITMAP's. * dlls/winsock/socket.c: Martin Wilck Fixed typo in check_buffer_se(). * dlls/shell32/shell32.spec, dlls/shell32/shellord.c: Rolf Kalbermatter Implemented SHCreateStdEnumFmtEtc. * dlls/comctl32/trackbar.c: Dimitrie O. Paun - Eliminate flicker. - Much improved thumb dragging. - Fix tooltip behaviour. - Fix tick handling. - Streamlined drawing code. - Decent paging width. - Handle OOM gracefully. - Add proper notifications. - Fix range setting. - Start support for custom draw. - Fix a bunch of bugs. - Code cleanups. - Update documentation. - Spacing fixes. * dlls/comctl32/comctl32.h: Dimitrie O. Paun Add generic notification support for the common controls. * dlls/comctl32/imagelist.c: Dimitrie O. Paun - Complete support for rgb{Fg,Bk} in DrawIndirect. - Rename VOID to void. - Documentation cleanup. - Fix ILD_TRANSPARENT handling. 2002-09-04 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20020904. ---------------------------------------------------------------- 2002-09-04 Alexandre Julliard * Makefile.in: Remove Maketest.rules on distclean. * dlls/kernel/sync.c: PeekNamedPipe: Check if the pipe was closed when there are 0 available bytes (based on a patch by Uwe Bonnes). * dlls/shlwapi/Makefile.in, dlls/shlwapi/assoc.c, dlls/shlwapi/shlwapi.spec: Jon Griffiths Added Assoc* funcs (but not underlying IQueryAssociations object). * dlls/comctl32/imagelist.c: Dimitrie O. Paun - Fix ImageList_GetIcon to use ImageList_* functions for completeness. - Tiny code cleanups. - Documentation updates. * dlls/comctl32/trackbar.c: Dimitrie O. Paun - Unicodification (use Unicode functions & types consistently). - Pass infoPtr around instead of hwnd. - Proper type-safe signatures for functions processing messages. - Fix the types for some of the control's parameters. - Implement [GS]ET_UNICODEFORMAT. - Few indentation and spacing fixes. - Tidy up docu. * tools/wineinstall: Rok Mandeljc Added symlinks for winhelp. * windows/dialog.c, windows/hook.c, windows/mdi.c, windows/message.c, windows/spy.c, windows/struct32.c, windows/win.c, windows/winhelp.c, windows/winproc.c, controls/listbox.c, controls/static.c, dlls/user/dde/client.c, dlls/user/msg16.c, dlls/user/property.c, dlls/user/wnd16.c, dlls/x11drv/dga2.c, dlls/x11drv/event.c, include/win.h: Michael Stefaniuc - Rename WIN_Handle16 to HWDN_16 and make it a macro. - Prepare user.dll for the change of HWND to a void*. * dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int10.c, dlls/winedos/int31.c, include/miscemu.h, msdos/dosmem.c, msdos/dpmi.c, msdos/int2f.c: Added DPMI segments structure and related function to avoid direct references to dosmem internal variables. Determine BIOS system offsets at compile time. * objects/font.c: Shachar Shemesh - Return old code for handling parameters to GetCharacterPlacement (+ fix heap overrun in it). New code did not correctly match the Windows behaviour. - Amend the BiDi algorithm so that many strings will now produce quite readable output. * include/wingdi.h, tools/wrc/newstruc.c: Steven Edwards Fixed typo in BITMAPV4HEADER stucture. * dlls/shell32/shlfileop.c, dlls/shell32/tests/shlfileop.c: Andriy Palamarchuk SHFileOperationA: improved, implemented FO_MOVE action, added more conformance tests. * dlls/comctl32/updown.c: Dimitrie O. Paun Small updown cleanup. * include/commctrl.h: Dimitrie O. Paun Added some missing ImageList definitions. * dlls/comctl32/imagelist.c: Dimitrie O. Paun - implement support for xBitmap and yBitmap in ImageList_DrawIndirect - small code, docs, and messages cleanups * dlls/winmm/joystick/joystick.c: David D. Hagood Fixed Linux 2.2 event API code. * debugger/winedbg.c: Eric Pouech Removed console sizing at startup. * programs/wineconsole/dialog.c, programs/wineconsole/registry.c, programs/wineconsole/user.c, programs/wineconsole/winecon_private.h, programs/wineconsole/winecon_user.h, programs/wineconsole/wineconsole.c, programs/wineconsole/wineconsole_De.rc, programs/wineconsole/wineconsole_En.rc, programs/wineconsole/wineconsole_Fr.rc, programs/wineconsole/wineconsole_res.h: Eric Pouech Added configuration on per application basis. Added ability to override part of the configuration from console creator. Revisited a bit wineconsole startup. Added dialog part for window closing at process termination. * dlls/kernel/console.c, dlls/kernel/console_private.h, dlls/kernel/editline.c, dlls/kernel/kernel_main.c: Eric Pouech Now passing some console parameters at wineconsole creation instead of successive server requests. Better prototypes for console functions in kernel. Some minor console creation fixes. 2002-08-31 Alexandre Julliard * dlls/gdi/driver.c, dlls/ntdll/time.c, files/profile.c, include/mmddk.h, loader/ne/module.c, memory/atom.c, msdos/dosconf.c, msdos/vxd.c, tools/winebuild/main.c, win32/newfns.c, windows/clipboard.c: Patrik Stridvall MSVC compatibility fixes. * programs/winhelp/Sk.rc: Repaired Slovak resources. * programs/winhelp/Si.rc, programs/winhelp/rsrc.rc: Rok Mandeljc Added Slovenian resources. * if1632/relay.c, if1632/snoop.c, include/miscemu.h, include/winnt.h, loader/task.c, misc/system.c, msdos/dosmem.c, msdos/dpmi.c, msdos/int11.c, msdos/int12.c, msdos/int15.c, msdos/int1a.c, msdos/int21.c, msdos/int25.c, msdos/int26.c, msdos/int2f.c, msdos/int4b.c, msdos/int5c.c, msdos/vxd.c, win32/device.c, windows/input.c, dlls/kernel/thunk.c, dlls/kernel/win87em.c, dlls/kernel/windebug.c, dlls/winedos/devices.c, dlls/winedos/dosaspi.c, dlls/winedos/dosexe.h, dlls/winedos/int10.c, dlls/winedos/int16.c, dlls/winedos/int17.c, dlls/winedos/int21.c, dlls/winedos/int33.c, dlls/winedos/int67.c, dlls/winedos/xms.c: Moved internal context macros out of winnt.h. Added SET_AX etc. macros to avoid non-portable pointer manipulations. * debugger/source.c: Eric Pouech Load source files thru Win32 API. * debugger/gdbproxy.c, debugger/memory.c: Marcus Meissner Added gdbproxy support for ppc, added missing GET_IP for memory.c. 2002-08-30 Alexandre Julliard * dlls/crtdll/.cvsignore, dlls/dinput/.cvsignore, dlls/dplayx/.cvsignore, dlls/imagehlp/.cvsignore, dlls/mapi32/.cvsignore, dlls/netapi32/.cvsignore, dlls/olesvr/.cvsignore, dlls/richedit/.cvsignore, dlls/shdocvw/.cvsignore, dlls/shlwapi/.cvsignore, dlls/tapi32/.cvsignore, dlls/twain/.cvsignore, dlls/avicap32/.cvsignore, dlls/comcat/.cvsignore, dlls/comctl32/.cvsignore: Steven Edwards Update some .cvsignore files for building on Windows. * dlls/winedos/devices.c, dlls/winedos/dosaspi.c, dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int10.c, dlls/winedos/int16.c, dlls/winedos/int21.c, dlls/winedos/int31.c, dlls/winedos/int67.c, dlls/winedos/module.c, dlls/winedos/vga.c, dlls/winedos/xms.c, include/miscemu.h, msdos/dosmem.c: Fixed some dll separation issues. * dlls/comctl32/comboex.c: Dimitrie O. Paun Implement CBES_EX_NOSIZELIMIT style. * tools/winapi/msvcmaker: Patrik Stridvall - Proper handling of GDI32 and USER32. - Added PACKAGE_* for the config.h generation. - Proper include path for the resource compiler. - Minor bug fixes and improvements. * programs/winhelp/hlp2sgml.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/win16.api, tools/winapi/win32.api: Patrik Stridvall API files update. * dlls/ntdll/exception.c, dlls/ntdll/signal_powerpc.c, include/winnt.h, server/context_powerpc.c: Marcus Meissner Use Iar (Instruction Address Register) instead of Fill[0]. siginfo.si_code uses the lower 16bit for the type of the exception. * programs/clock/Si.rc, programs/clock/rsrc.rc: Rok Mandeljc Slovenian resources for clock. 2002-08-29 Alexandre Julliard * windows/input.c: Per Nystrom Set the flag in GetCursorInfo. * dlls/comctl32/listview.c: Guy L. Albertelli - Reduce the number of messages being passed to itself by using the internal routines. - Fix problem in _SetIconSpacing found by recent change. - Add initial support for correct icon sizing. - A few extra traces. * windows/painting.c: Create the scratch region before copying if necessary. * graphics/x11drv/palette.c, include/windef.h, dlls/msvideo/msvideo16.c, dlls/msvideo/msvideo_main.c, dlls/msvideo/vfw16.h: Michael Stefaniuc Convert HPALETTE to a void*. * dlls/gdi/gdi16.c, include/gdi.h, objects/dc.c, objects/palette.c: Added internal 32-bit versions of GDISelectPalette and GDIRealizePalette. * dlls/winmm/winealsa/alsa.h, include/config.h.in, configure, configure.ac: Marco Pietrobono Use alsa/asoundlib.h instead of sys/asoundlib.h if possible. * windows/win.c: Juergen Schmied Support for HWND_MESSAGE. * dlls/winsock/socket.c: Rein Klazes In WSAStartup() don't touch the lpVendorInfo field of the WSADATA structure. * dlls/x11drv/winpos.c: Mike McCormack Rely on the window manager to show and hide popup windows for us. 2002-08-28 Alexandre Julliard * dlls/msacm/winemp3/decode_i386.c, dlls/msacm/winemp3/mpegl3.c, dlls/oleaut32/parsedt.c, dlls/richedit/reader.c, dlls/richedit/text-writer.c, dlls/winedos/int67.c, dlls/wineps/download.c, dlls/wininet/internet.h, include/wine/obj_dragdrophelper.h, programs/regsvr32/regsvr32.c, tools/winedump/output.c: Patrik Stridvall Removed trailing white space. * tools/winapi/Makefile.in, tools/winapi/winapi_cleanup, tools/winapi/winapi_cleanup_options.pm: Patrik Stridvall New tool winapi_cleanup for doing simple automatic cleanups. Currently it removes trailing white space from the .[ch] files. * msdos/int11.c, msdos/int21.c, msdos/ioports.c, objects/font.c, relay32/builtin32.c, scheduler/handle.c, scheduler/timer.c, win32/except.c, graphics/painting.c, graphics/path.c, if1632/builtin.c, if1632/relay.c, include/file.h, include/rpcdcep.h, library/config.c, loader/loadorder.c, loader/main.c, loader/module.c, loader/ne/segment.c, loader/resource.c, memory/registry.c, dlls/gdi/enhmfdrv/graphics.c, dlls/gdi/printdrv.c, dlls/gdi/win16drv/init.c, dlls/kernel/comm.c, dlls/kernel/kernel_main.c, dlls/kernel/locale.c, dlls/kernel/sync.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, dlls/lzexpand/lzexpand_main.c, dlls/ntdll/sec.c, dlls/ntdll/signal_powerpc.c, dlls/shell32/dialogs.c, dlls/shell32/pidl.c, dlls/shell32/shell.c, dlls/shell32/shellpath.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/path.c, dlls/shlwapi/string.c: Patrik Stridvall MSVC compatibility fixes. * dlls/user/display.c, dlls/user/user32.spec, include/winuser.h, windows/input.c: Per Nystrom Implemented GetCursorInfo. * programs/winetest/include/advapi32.pm, programs/winetest/include/comctl32.pm, programs/winetest/include/kernel32.pm, programs/winetest/include/ntdll.pm, programs/winetest/include/ole32.pm, programs/winetest/include/rpcrt4.pm, programs/winetest/include/shell32.pm, programs/winetest/include/shlwapi.pm, programs/winetest/include/urlmon.pm, programs/winetest/include/user32.pm: Patrik Stridvall Updated winetest's Perl modules using winapi_extract. * controls/menu.c: Andreas Mohr Make sure we clear the owning window's hMenu in DestroyMenu(). * dlls/gdi/win16drv/font.c, dlls/gdi/win16drv/win16drv.h, dlls/user/user_main.c, graphics/x11drv/codepage.c, graphics/x11drv/dib.c, graphics/x11drv/xfont.c, include/bitmap.h, include/font.h, include/gdi.h, include/global.h, include/x11font.h, memory/atom.c, objects/bitmap.c, objects/dib.c, objects/font.c, objects/region.c, windows/cursoricon.c, windows/painting.c: Fixed a number of dll separation issues. * dlls/kernel/tests/path.c: Removed system specific GetTempPathA test. * windows/nonclient.c: Tweak position of system menu small icon. * dlls/comctl32/comboex.c: Dimitrie O. Paun - implement CBEN_DRAGBEGIN - remove useless FIXMEs * debugger/winedbg.c: Eric Pouech Fixed breaking DLL load. * debugger/msc.c: Eric Pouech Fixed typo in test. * dlls/gdi/mfdrv/bitblt.c: Huw D M Davies BitBlt and StretchBlt generate META_DIBSTRETCHBLT records. * windows/sysmetrics.c, windows/sysparams.c: Dmitry Timoshkov Correct some of the system metrics to more closely match Windows values. * controls/combo.c: Aric Stewart If we have no dropdown height give ourselves a minimum height of 5 items or max items (whichever is less). * controls/combo.c: Fixed WM_GETTEXT handling to avoid strncpy and return correct lengths. * controls/menu.c, dlls/ole32/ole2.c, dlls/user/msg16.c, dlls/user/resource.c, include/user.h, include/windef.h: Michael Stefaniuc Convert HACCEL to a void*. * dlls/user/Makefile.in, dlls/user/user.exe.spec, dlls/user/user16.c, include/wine/winuser16.h: Patrik Stridvall Implement wrapper calls for the 16 bit GlobalAtom* functions. 2002-08-27 Alexandre Julliard * dlls/winspool/info.c: Alexander Gottwald Avoid crash if no default cups printer is set. * include/commctrl.h: Added a couple of listview definitions. * tools/winebuild/parser.c: Fixed line numbers in error messages and improved redefinition error (based on a patch by Jon Griffiths). * tools/widl/parser.l, tools/widl/widl.c, tools/winebuild/import.c, tools/wpp/wpp.c, tools/wpp/wpp.h, tools/wrc/wrc.c: Try to derive temp file names from output file names for better portability. * dlls/comctl32/listview.c: Mike McCormack Change the icon spacing when setting the image list. * dlls/comctl32/listview.c: Aric Stewart Windows expects the edit window to hang around and be valid. * dlls/user/user_main.c, dlls/x11drv/clipboard.c, dlls/x11drv/event.c, dlls/x11drv/x11drv.spec, include/clipboard.h, include/user.h, include/x11drv.h, windows/clipboard.c: Ulrich Czekalla - Add a max wait time for selection notifies. - Add new function to the x11drv to get clipboard format names of externally registered formats. - When a clipboard format is registered we should pass the global atom value as the format identifier. - Clipboard format name should be treated as case insensitive. - Serialize metafile bits when requested via a clipboard selection. - Return format ids for native formats when mapping from properties. * dlls/advapi32/advapi.c, dlls/ntdll/sec.c, files/profile.c, include/wine/library.h, library/config.c, scheduler/client.c, server/registry.c: Added wine_get_user_name function and got rid of some of the getpwuid portability stuff. More portable printf formats for 64-bit types. * dlls/ntdll/time.c, win32/newfns.c: Patrik Stridvall MSVC long long fixes. * dlls/comctl32/comboex.c: Dimitrie O. Paun Implement CBES_EX_PATHWORDBREAKPROC for the ComboEx control. * dlls/x11drv/keyboard.c: Hleb Valoska Added Belarusian keyboard. * controls/edit.c: Zoltan Nagy Move caret when selecting a text area with the mouse. * dlls/shlwapi/shlwapi.spec: Rein Klazes Forward shlwapi.393 to CreateDialogIndirectParamW. * loader/ne/module.c, loader/ne/resource.c, loader/ne/segment.c: Mike McCormack Don't cache file handles for NE executable modules so that we don't lock the CDROM. * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/directory.c, dlls/kernel/tests/drive.c, dlls/kernel/tests/file.c, dlls/kernel/tests/path.c: Dmitry Timoshkov Added a bunch of new regression tests. * configure.ac, dlls/shell32/Makefile.in, dlls/shell32/shlfileop.c, dlls/shell32/tests/.cvsignore, dlls/shell32/tests/Makefile.in, dlls/shell32/tests/shlfileop.c, configure: Andriy Palamarchuk SHFileOperation: Implemented the FO_RENAME action, fixed FO_DELETE, implemented unit tests for these two actions. * win32/device.c: Dmitry Timoshkov Convert most of the file APIs to Unicode. * files/file.c: Fixed permission check when renaming a directory (based on a patch by Andriy Palamarchuk). * windows/winpos.c: Dmitry Timoshkov Dump SetWindowPos flags. * files/directory.c, files/dos_fs.c, files/drive.c, files/file.c, files/profile.c, files/smb.c, files/smb.h, include/drive.h, include/file.h, loader/task.c, memory/registry.c, misc/registry.c, msdos/dosconf.c, msdos/int11.c, msdos/int21.c, msdos/ioports.c, scheduler/process.c, dlls/kernel/wowthunk.c, dlls/ntdll/file.c, dlls/winedos/int21.c: Dmitry Timoshkov Convert most of the file APIs to Unicode. * dlls/comctl32/comctl_Pl.rc, dlls/comctl32/rsrc.rc: Jacek Bator Added Polish translations. * loader/module.c, server/mapping.c: Dmitry Timoshkov Relax a bit PE consistency checks. Return BINARY_DOS type if extended header was not recognized. * dlls/x11drv/winpos.c: Bill Medland SetWindowPos sends WM_WINDOWPOSCHANGED even if it has been told not to send WM_WINDOWPOSCHANGING. * include/basetsd.h: Steven Edwards Fix for lots of warnings when building on Mingw32. * dlls/shlwapi/shlwapi.spec: Dmitry Timoshkov Correct the number of parameters for StrRStrIA/W. * dlls/ntdll/Makefile.in, dlls/ntdll/signal_powerpc.c: Marcus Meissner Implemented signal handling for PPC. * tools/winapi/config.pm, tools/winapi/msvcmaker: Patrik Stridvall Added Microsoft Visual Studio workspace and project file maker. 2002-08-26 Alexandre Julliard * msdos/int1a.c, msdos/int21.c, scheduler/synchro.c, win32/time.c, configure.ac, dlls/kernel/comm.c, dlls/kernel/time.c, dlls/msvcrt/time.c, dlls/ntdll/cdrom.c, dlls/ntdll/debugtools.c, dlls/ntdll/error.c, dlls/ntdll/om.c, dlls/ntdll/sec.c, files/file.c, files/smb.c, if1632/snoop.c, include/config.h.in, misc/main.c, misc/version.c, configure: Patrik Stridvall MSVC compatibility fixes. * programs/progman/dialog.c: Steven Edwards Partial fix for browse dialog in Program Manager. * dlls/winmm/wineoss/audio.c: Ove Kaaven Tweaks to improve playback performance and reduce sound glitches: - wodGetPosition does not send an update message to the player thread; this reduces the accuracy of the readout from byte-accuracy to near fragment-accuracy, but we save 2-4 context switches and kernel scheduling penalties. - if FeedDSP runs out of data, do not flush output buffers before notifications are sent and given the chance to provide more sound data. Do not flush before we're down to the last fragment. - messages to the player thread are signaled using Unix pipes instead of Win32 synchronization primitives, to avoid having the player thread wait for the wineserver (and context switches from/to it) before the it can feed more data to the sound card. - ring buffer size is increased from 30 to 192 to support some games that fires 128 messages at once to determine DMA buffer size. * debugger/info.c: Lionel Ulmer Added 'watch' command to the winedbg help command. * tools/winedump/main.c, tools/winedump/misc.c, tools/winedump/pe.c: Dmitry Timoshkov Make winedump compilable by MSVC. * dlls/comctl32/propsheet.c: Andriy Palamarchuk Implemented processing of PSM_SETCURSELID message. * dlls/comctl32/comboex.c: Dimitrie O. Paun - implement CBES_EX_CASESENSITIVE - fix severe bug in CB_FINDEXACTSTRING - small cleanups * dlls/msvideo/Makefile.in, dlls/msvideo/drawdib.c, dlls/msvideo/msvideo16.c, dlls/msvideo/msvideo_main.c: Michael Stefaniuc Moved most of the 16-bit functions in dlls/msvideo to msvideo16.c. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, include/winnt.h: Andriy Palamarchuk SetTokenInformation stub implementation, a few other small changes. * dlls/shlwapi/shlwapi.spec, dlls/shlwapi/url.c: Jon Griffiths Implement UrlHashW. 2002-08-20 Alexandre Julliard * include/x11drv.h, dlls/x11drv/window.c, dlls/x11drv/winpos.c: Don't map/unmap a top-level window when WS_VISIBLE changes, only when we explicitly do a SetWindowPos(SWP_SHOWWINDOW/HIDEWINDOW). Update the WM hints when mapping a window in case the style has changed in the meantime. * objects/font.c: Mike McCormack Handle NULL buffer in GetObject. * dlls/kernel/format_msg.c, dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/format_msg.c: Mike McCormack Added regression test for FormatMessage. Fixed cr/lf handling. Prevent an infinite loop when an invalid format (%S) is passed as a format string to vsnprintf. Fixed a memory leak in the W version. * configure, configure.ac: Marcus Meissner Do not emit .string into the instruction stream, but into the .data section (to avoid alignment assertions). * dlls/shell32/shelllink.c: Dusan Lacko Fix extraction of icons from ICO files. * controls/edit.c: Aric Stewart Don't set EN_CHANGE at creation time. * memory/environ.c, dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/kernel/tests/environ.c: Dmitry Timoshkov Added unit test for environment functions and fixed some bugs. * dlls/kernel/locale.c, dlls/ntdll/ntdll.spec, windows/message.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/win32.api, tools/winapi_check/winapi_check: Patrik Stridvall API files update. * library/port.c: Marcus Meissner Cleaned up interlocking funcs for PPC, fixed return value of interlocked_add. * tools/winebuild/import.c: Marcus Meissner Implemented delayed import assembler thunks for PPC. * include/winnt.h, scheduler/sysdeps.c: Marcus Meissner Use r2 instead of r13 for TLS, since r13 is used in the ELF32 PPC ABI. 2002-08-19 Alexandre Julliard * debugger/gdbproxy.c: Robert Lunnon Removed use of saddr as a variable name which conflicts with usage in netinet/in.h. * dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, include/shlwapi.h: Jon Griffiths Fix existing string functions, implement a bunch of new ones. * dlls/shlwapi/thread.c: Jon Griffiths Create security attributes when running as NT or later. * dlls/shlwapi/shlwapi_main.c: Jon Griffiths Free comctl32 on unload. 2002-08-17 Alexandre Julliard * winedefault.reg: Mike McCormack Added some keys for ole32 interfaces. * dlls/gdi/freetype.c: François Gouget Detect the FreeType version and adapt the sfnt offset accordingly. * dlls/gdi/enhmfdrv/dc.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/mapping.c, dlls/gdi/mfdrv/mapping.c, dlls/gdi/mfdrv/metafiledrv.h, graphics/mapping.c, include/gdi.h: Huw D M Davies Mapping mode functions should change dc settings when dc is an enhmf. * include/commdlg.h: Mike McCormack Removed Wine internal flags. * objects/enhmetafile.c: Mike McCormack Added sanity checks on EMRCREATEDIBPATTERNBRUSHPT values. Fix a memory leak. * programs/winhelp/hlp2sgml.c: Added GetProcessHeap definition in case it's not inlined. * tools/fnt2bdf.c, tools/makedep.c, tools/widl/header.c, tools/widl/parser.l, tools/widl/proxy.c, tools/widl/widl.c, tools/winebuild/import.c, tools/winebuild/res16.c, tools/winebuild/res32.c, tools/winedump/debug.c, tools/winedump/pe.c, tools/wpp/preproc.c, tools/wrc/wrc.c: Dmitry Timoshkov Include protection for , and . * programs/notepad/En.rc: Shachar Shemesh Change sublanguage from "NEUTRAL" to "DEFAULT", so LoadResource will be able to find it if no other language is a better match. * dlls/gdi/freetype.c: Dmitry Timoshkov Do not leave uninitialized pointer. * objects/enhmetafile.c: Huw D M Davies Allow an app to open the file of a disk based emf for reading while the hemf is still open. Implement SetWinMetaFileBits in a more sane fashion. * dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/graphics.c, dlls/gdi/enhmfdrv/init.c: Huw D M Davies Implement simple ExtTextOut for enhmfdrv. * dlls/advapi32/advapi.c, dlls/advapi32/registry.c, library/debug.c, library/loader.c, library/port.c, memory/instr.c: Patrik Stridvall MSVC compatibility fixes. * dlls/msvcrt/Makefile.in, dlls/msvcrt/console.c, dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/scanf.c, dlls/msvcrt/scanf.h, include/msvcrt/stdio.h: Daniel Gudbjartsson Combined the implementation of all the scanf's in a single place. Added implementations of fwscanf, swscanf, wscanf and sscanf. Corrected the declaration of swscanf. Added implementation of the l, h, L and w prefixes. Added implementation of the c, C, s, S and n types. * dlls/ntdll/exception.c, server/Makefile.in, server/context_powerpc.c: Marcus Meissner Implemented server context/ptrace handling for Linux/PowerPC. * msdos/int25.c, msdos/int26.c, msdos/ioports.c, msdos/vxd.c, scheduler/client.c, scheduler/handle.c, scheduler/process.c, scheduler/pthread.c, scheduler/synchro.c, scheduler/sysdeps.c, scheduler/syslevel.c, scheduler/thread.c, win32/device.c, win32/init.c, win32/kernel32.c, win32/newfns.c, win32/time.c, windows/clipboard.c, windows/message.c, windows/winhelp.c, dlls/x11drv/clipboard.c, dlls/x11drv/x11drv_main.c, files/change.c, files/directory.c, files/dos_fs.c, files/drive.c, files/file.c, files/profile.c, files/smb.c, graphics/x11drv/xfont.c, loader/main.c, loader/module.c, loader/ne/module.c, loader/ne/resource.c, loader/ne/segment.c, loader/resource.c, loader/task.c, memory/global.c, memory/registry.c, memory/virtual.c, misc/main.c, misc/registry.c, msdos/dosconf.c, msdos/dpmi.c, msdos/int13.c, msdos/int1a.c, msdos/int21.c, dlls/winedos/dosvm.c, dlls/winedos/int16.c, dlls/winedos/module.c, dlls/winedos/xms.c, dlls/wineps/init.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/winmm/joystick.c, dlls/winmm/joystick/joystick.c, dlls/winmm/time.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/audio_05.c, dlls/winmm/winearts/audio.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winenas/audio.c, dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/midi.c, dlls/winmm/wineoss/mixer.c, dlls/winmm/wineoss/mmaux.c, dlls/winsock/async.c, dlls/winsock/socket.c, dlls/wsock32/socket.c, dlls/msvcrt/file.c, dlls/netapi32/netapi32.c, dlls/ntdll/cdrom.c, dlls/ntdll/debugtools.c, dlls/ntdll/file.c, dlls/ntdll/om.c, dlls/ntdll/sec.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_sparc.c, dlls/ntdll/time.c, dlls/ole32/storage.c, dlls/oleaut32/olepicture.c, dlls/rpcrt4/rpcrt4_main.c, dlls/shell32/iconcache.c, dlls/shell32/shell.c, dlls/shell32/shelllink.c, dlls/shell32/shlexec.c, dlls/shell32/systray.c, dlls/twain/ds_ctrl.c, dlls/user/exticon.c, dlls/user/network.c, dlls/version/resource.c, dlls/win32s/w32sys.c, dlls/winaspi/aspi.c, dlls/winaspi/winaspi16.c, dlls/winaspi/winaspi32.c, controls/desktop.c, controls/icontitle.c, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/mesa.c, dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c, dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound_main.c, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c, dlls/gdi/printdrv.c, dlls/gdi/win16drv/prtdrv.c, dlls/icmp/icmp_main.c, dlls/kernel/comm.c, dlls/kernel/console.c, dlls/kernel/sync.c, dlls/kernel/thunk.c, dlls/kernel/time.c, dlls/kernel/toolhelp.c, dlls/lzexpand/lzexpand_main.c, dlls/mpr/wnet.c: Patrik Stridvall Added include protection for unistd.h and sys/time.h. * dlls/gdi/enhmfdrv/objects.c: Mike McCormack Set cbBits in the EMRCREATEDIBPATTERNBRUSHPT structure when writing an EMF record. * dlls/gdi/mfdrv/text.c: Huw D M Davies Fix for metafile ExtTextOut that only includes the rectangle if either ETO_CLIPPED or ETO_OPAQUE is set. * dlls/gdi/enhmfdrv/dc.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/init.c: Huw D M Davies Implemented a few device caps. * dlls/gdi/freetype.c: Huw D M Davies Fix for sign of font height in non MM_TEXT mode. Fix GGO_NATIVE again. * dlls/shell32/shellord.c, dlls/urlmon/umon.c, dlls/gdi/gdi16.c, dlls/kernel/kernel_main.c, dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Patrik Stridvall Fixed some issues found by winapi_check. * dlls/shell32/shell32_main.c: Andriy Palamarchuk Do not set window position on ABM_WINDOWPOSCHANGED. 2002-08-16 Alexandre Julliard * server/queue.c, server/thread.c, server/user.h: Signal and release the idle event when the process main thread exits. * include/winuser.h, windows/message.c: Aric Stewart Very partial implementation of BroadcastSystemMessageA. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Added Greek keyboard layout. Updated Brazilian ABNT-2 keyboard layout. * dlls/shell32/shv_bg_cmenu.c: Aric Stewart Fixes to allow IE to do local file loading and some limited browsing. * dlls/shell32/shelllink.c: Mike McCormack Don't try reading a PIDL in IPersistStream->Load if its size is 0. Check the number of bytes read was correct. Small reorganization of error handling. * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.h: Mike McCormack - Do not modify pointers in the OPENFILENAME structure passed to GetFileDialog95A/W. - Use Unicode as default for strings from the OPENFILENAME structures. - Fill out the OPENFILENAME structure before sending the FILEOK notification. - Send a CDN_FOLDERCHANGE notification on OPENFILENAME dialog init. - Fix miscalculation of the size of Explorer style file dialog boxes with templates. - Remove redundant MapHModuleLS and MapHModuleSL calls that also cause hInstance to be trashed when it holds a template pointer instead of a real hInstance (when OFN_ENABLETEMPLATEPOINTER is specified). * controls/edit.c: Erase background when invalidating the selected text. * objects/metafile.c: Huw D M Davies Fix for metafile ExtTextOut that only includes the rectangle if either ETO_CLIPPED or ETO_OPAQUE is set. Slightly less of a stub implementation for GetWinMetaFileBits. * if1632/builtin.c, include/builtin16.h, include/module.h, loader/loadorder.c: Force loadorder of 16-bit dlls to builtin if their 32-bit counterpart has already been loaded as builtin. * server/main.c, server/process.c, server/process.h, server/request.c, server/request.h, server/select.c: Added -k option to kill an existing wineserver. * dlls/user/user32.spec: Aric Stewart Added BroadcastSystemMessageA. * memory/string.c: lstrcpyn[AW] count should be considered unsigned. * misc/cpu.c: François Gouget Change the default CPU type so that QuickTime will also run on platforms where the cpu detection code does not work. * objects/font.c: Huw D M Davies Translate OutlineTextMetrics to logical co-ords. * dlls/ole32/storage32.c, dlls/ole32/storage32.h: Huw D M Davies DWORD at offset 0x40 in the header is the number of big blocks in the small block depot chain. Better failure handling. * loader/ne/module.c: Dmitry Timoshkov Set up exception handler around WEP call. * dlls/x11drv/mouse.c: Don't update the mouse button status in update_key_state, leave that to the input processing. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/shlwapi_main.c, dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c: Dmitry Timoshkov Implement comctl32.417 and shlwapi.299. This avoids crash in IE's History. * controls/edit.c, dlls/richedit/richedit.c: Aric Stewart Support large edit buffers for richedit control. * dlls/ole32/filemoniker.c, dlls/ole32/ole32.spec, dlls/ole32/compobj.c: Dmitry Timoshkov Fixed GetClassFile implementation. * dlls/kernel/kernel32.spec, dlls/kernel/kernel_main.c: Aric Stewart Added SwitchToThread. * dlls/crypt32/crypt32.spec, dlls/crypt32/main.c: Dmitry Timoshkov Added some more stubs. * dlls/comctl32/imagelist.c: Mike McCormack ImageList_SetImageCount should set nCurImage (the number of images in the list) to the value specified, and expect that ImageList_ReplaceImage is called to set the new images. * windows/input.c, include/windef.h: Michael Stefaniuc Convert HKL to a void*. * objects/bitmap.c, objects/brush.c, objects/clipping.c, objects/dc.c, objects/dcvalues.c, objects/dib.c, objects/font.c, objects/gdiobj.c, objects/palette.c, objects/pen.c, objects/region.c, objects/text.c, dlls/gdi/Makefile.in, dlls/gdi/bidi16.c, dlls/gdi/enhmfdrv/objects.c, dlls/gdi/gdi.exe.spec, dlls/gdi/gdi16.c, dlls/gdi/mfdrv/bitblt.c, dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/objects.c, dlls/gdi/printdrv.c, dlls/gdi/win16drv/font.c, dlls/gdi/win16drv/objects.c, graphics/bitblt.c, graphics/escape.c, graphics/mapping.c, graphics/painting.c, graphics/path.c, include/wine/wingdi16.h: Moved a large number of 16-bit functions to a separate gdi16.c file. 2002-08-15 Alexandre Julliard * controls/edit.c: Avoid trouble in WM_GETTEXT if specified length is larger than the buffer (found by Carl Sopchak). * tools/winebuild/spec32.c: François Gouget Fix command-line parsing for Winelib applications. * dlls/wineps/init.c: Huw D M Davies Get the initial paper size from the locale info. * objects/gdiobj.c: Huw D M Davies DeleteObject() can fail if the object is a DC, however we've already called GDI_ReleaseObj() so don't call it again. * memory/codepage.c, memory/string.c, ole/ole2nls.c, scheduler/thread.c, dlls/kernel/Makefile.in, dlls/kernel/kernel32.spec, dlls/kernel/kernel_main.c, dlls/kernel/locale.c, dlls/ntdll/Makefile.in, include/thread.h, include/winnls.h: Fixed GetLocaleInfoW to handle Unicode properly and completed implementation. Update win.ini and registry on startup when language changed. More logical priority order for locale environment variables. Implemented SetLocaleInfoW. Moved some locale functions to kernel32.dll. * dlls/ntdll/loader.c: Trap exceptions in RtlImageNtHeader. * configure.ac, dlls/ntdll/Makefile.in, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, dlls/ntdll/rtlbitmap.c, dlls/ntdll/tests/.cvsignore, dlls/ntdll/tests/Makefile.in, dlls/ntdll/tests/rtlbitmap.c, include/ntddk.h, configure: Jon Griffiths Implement and test rtl bitmap functions. Add a couple of other misc rtl functions. * dlls/kernel/locale_rc.rc, dlls/kernel/nls/*.nls: Updated all locale tables to match exactly what Windows returns. Renamed a few files to follow the proper naming conventions. Added a number of new locales. * dlls/commdlg/cdlg_Zh.rc, dlls/shell32/shell32_Zh.rc, dlls/user/resources/user32_Zh.rc, include/winnt.h, tools/wpp/ppy.y, tools/wrc/genres.c, tools/wrc/parser.l, tools/wrc/parser.y, tools/wrc/utils.c, tools/wrc/utils.h, tools/wrc/wrc.c, tools/wrc/wrctypes.h, tools/wrc/writeres.c: Added support for #pragma code_page. Fixed a few bugs in language handling. Added error message when Ansi->Unicode conversion in the current codepage loses information. * programs/progman/Si.rc, programs/progman/rsrc.rc, dlls/shell32/shell32_Si.rc, dlls/shell32/shres.rc: Rok Mandeljc Added Slovenian resources. * tools/winebuild/spec32.c: Marcus Meissner The text section alignment should be default, not 1. * programs/notepad/Makefile.in, programs/notepad/main.c: Andriy Palamarchuk Link against msvcrt, fixed logic to handle quoted paths in command line parameters. * programs/regedit/Makefile.in, programs/regedit/regproc.c: Andriy Palamarchuk Linked regedit against msvcrt instead of the platform I/O library, so it can handle full Windows paths. 2002-08-14 Alexandre Julliard * include/module.h, loader/loadorder.c, loader/module.c, scheduler/process.c: Make behavior of builtin executables closer to that of builtin dlls. Fixed case sensitivity of builtin executables. * dlls/Makefile.in: Updated dependencies. * library/ldt.c, memory/selector.c: Use the "new" LDT set call on Linux. * library/loader.c, tools/winebuild/spec32.c: Builtin modules must be aligned on 64K boundary. * graphics/x11drv/dib.c: Mike McCormack Avoid dodgy asm optimization if the server's byte order is not LSBFirst. * dlls/wineps/type1.c: Huw D M Davies Correct font size for non MM_TEXT modes. * dlls/version/info.c: François Gouget NT sets the error code to ERROR_RESOURCE_DATA_NOT_FOUND if the file exists but does not contain version information. * dlls/shell32/brsfolder.c, dlls/shell32/shres.rc, dlls/shell32/shresdef.h: Dmitry Timoshkov Make dialog IDs "Browse for Folder" compatible with IE. * dlls/shell32/shell32.spec, dlls/shell32/shellord.c: Mike McCormack Stubs for DAD_Drag Enter, EnterEx, Move AutoScroll and Leave. * dlls/msvideo/drawdib.c: Mike McCormack Correct the size of the colour map allocated in the bitmap header for the case biClrUsed = 0. * dlls/mapi32/mapi32.spec, dlls/mapi32/mapi32_main.c: Aric Stewart Added DeinitMapiUtil stub. * documentation/debugging.sgml: Dimitrie O. Paun Update the debugging channels docu. * server/context_i386.c: Pierre Beyssac Implemented CONTEXT_DEBUG_REGISTERS on FreeBSD. 2002-08-13 Alexandre Julliard * scheduler/client.c, server/request.c: Fixed race condition when a thread gets killed right after starting. * dlls/urlmon/Makefile.in, dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c, dlls/urlmon/urlmon_main.h, ole/uuid.c: Huw D M Davies Very hacked implementation of url monikers. * dlls/ntdll/rtlstr.c: Dmitry Timoshkov Cosmetics. * dlls/user/message.c: Add QM_SMRESULT in wake bits too in case the changed bits get cleared while processing a sent message. * if1632/snoop.c: Dmitry Timoshkov Fix snooping of 16-bit dlls being loaded at the same address. * graphics/path.c: Huw D M Davies At the end of PATH_StrokePath, update dc->CurPosX|Y so that their values are in logical co-ords. * dlls/setupapi/parser.c: Dmitry Timoshkov Fixed hex to binary conversion. * dlls/ntdll/misc.c: Dmitry Timoshkov us->Length is in bytes. * dlls/ntdll/critsection.c: Dmitry Timoshkov Throw exception only for Wine internal locks. * dlls/comctl32/progress.c: Reduce flicker on updates. * dlls/comctl32/tooltips.c: Mike McCormack Duplicate the font handle passed through WM_SETFONT, because it does not belong to us and is not ours to free. * dlls/comctl32/comboex.c: Dmitry Timoshkov Added WM_GET/SETTEXT support. * dlls/advapi32/crypt.h: The provider functions are WINAPI. * dlls/advapi32/crypt.c: Aric Stewart Only modify returned keys on success. * debugger/debug.l, debugger/debugger.h, debugger/info.c, debugger/dbg.y: Added 'walk exception' command. * tools/widl/header.c, tools/widl/parser.y, tools/widl/proxy.c, tools/widl/widltypes.h: Avoid dependencies on y.tab.h. * tools/winebuild/relay.c, dlls/kernel/thunk.c, dlls/ntdll/exception.c, include/stackframe.h: Setup exception frame around 16-bit calls to unwind stack properly. * ole/uuid.c, include/Makefile.in, include/wine/obj_dragdrophelper.h, dlls/shell32/Makefile.in, dlls/shell32/dragdrophelper.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c: Juergen Schmied Stubs for DragDropHelper. * msdos/ioports.c: Marcus Meissner Fixed the ppdev.h present but not direct io access case. * server/context_i386.c: Pierre Beyssac Fixed ptrace argument order for FreeBSD, NetBSD and Solaris. * dlls/winedos/int10.c, dlls/winedos/vga.c, dlls/winedos/vga.h: Jukka Heinonen Add support for moving VGA controller window in framebuffer using SVGA interrupts. Detect correctly color plane modes and linear modes, including Mode-X. Moved VESA interrupts into separate function and implemented few more stubs. 2002-08-10 Alexandre Julliard * dlls/Maketest.rules.in: Test results need to depend on the module being tested. * debugger/Makefile.in, programs/winhelp/Makefile.in, tools/widl/Makefile.in, tools/wpp/Makefile.in, tools/wrc/Makefile.in: Added explicit dependency on y.tab.h for lex output. 2002-08-09 Alexandre Julliard * win32/except.c: Unprotect the resource data in the unhandled exception handler to fix broken apps. * loader/elf.c, loader/module.c, loader/pe_image.c, loader/pe_resource.c, misc/version.c, msdos/vxd.c, relay32/builtin32.c, relay32/relay386.c, relay32/snoop.c, scheduler/process.c, dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, include/module.h, include/ntddk.h: Implemented the RtlImage* functions, and use them to replace the PE_HEADER macro. * dlls/richedit/riched32.h, include/Makefile.in, include/richedit.h, include/richole.h: Andriy Palamarchuk Improved richedit headers. * dlls/winmm/mmio.c, dlls/winmm/winemm.h, include/mmsystem.h: Michael Stefaniuc Convert HMMIO to a void*. * graphics/x11drv/xfont.c: Dave Hawkes Fonts with an incomplete character set could cause a fault. * configure.ac, dlls/msvcrt/process.c, include/config.h.in, configure: Marcus Meissner Copy va_lists by using va_copy, not by just assigning them. * dlls/oleaut32/tests/.cvsignore, dlls/oleaut32/tests/Makefile.in, dlls/shlwapi/Makefile.in, dlls/shlwapi/tests/.cvsignore, dlls/shlwapi/tests/Makefile.in, dlls/user/Makefile.in, dlls/user/tests/.cvsignore, dlls/user/tests/Makefile.in, dlls/wininet/Makefile.in, dlls/wininet/tests/.cvsignore, dlls/wininet/tests/Makefile.in, dlls/winsock/Makefile.in, dlls/winsock/tests/.cvsignore, dlls/winsock/tests/Makefile.in, programs/Makefile.in, programs/Makeprog.rules.in, programs/winetest/make_ctests, Make.rules.in, Makefile.in, configure, configure.ac, dlls/.cvsignore, dlls/Makedll.rules.in, dlls/Makefile.in, dlls/Maketest.rules.in, dlls/advapi32/Makefile.in, dlls/advapi32/tests/.cvsignore, dlls/advapi32/tests/Makefile.in, dlls/kernel/Makefile.in, dlls/kernel/tests/.cvsignore, dlls/kernel/tests/Makefile.in, dlls/make_dlls, dlls/oleaut32/Makefile.in: Create separate makefiles for tests for more flexibility. * dlls/shlwapi/tests/shreg.c: Fixed string lengths to do the right thing for all platforms. * AUTHORS, dlls/shell32/authors.h: Updated authors list. * dlls/rpcrt4/rpcrt4_main.c, include/rpc.h, include/rpcdce.h, include/rpcdcep.h, include/rpcndr.h, include/rpcproxy.h: Ove Kaaven Some more RPC definitions. * dlls/comctl32/commctrl.c, dlls/comctl32/flatsb.c, dlls/comctl32/imagelist.c, dlls/comctl32/propsheet.c, dlls/ntdll/sec.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_sparc.c, dlls/ole32/compobj.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/thread.c, dlls/winedos/vga.c, dlls/wininet/internet.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/audio_05.c, dlls/winmm/wineaudioio/audio.c, dlls/winmm/winenas/audio.c, files/profile.c, scheduler/client.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/win32.api, tools/winapi/winapi.pm, tools/winapi_check/modules.dat, tools/winapi_check/winapi_check: Patrik Stridvall API file update. * dlls/msacm/driver.c, dlls/msvideo/msvideo_main.c, dlls/winmm/driver.c, dlls/winmm/joystick.c, dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, dlls/winmm/wavemap/wavemap.c, dlls/winmm/winemm.h, dlls/winmm/wineoss/audio.c, include/mmddk.h, include/mmsystem.h: Michael Stefaniuc - Convert HDRVR to a void*. - Fix declaration of DriverCallback(). * documentation/winelib-intro.sgml: Andriy Palamarchuk Added an example of using winemaker. * tools/winemaker: Andriy Palamarchuk Updated to generate build scripts working with current Wine, use some Wine conventions. Generated configure now finds libraries in binary Wine installation. * objects/text.c: Huw D M Davies Add missing HeapFree. 2002-08-07 Alexandre Julliard * tools/wrc/utils.h, dlls/ddraw/dsurface/dib.c, dlls/msvcrt/math.c, dlls/ole32/compobj.c, dlls/shell32/classes.c, dlls/shell32/shlfolder.c, tools/widl/utils.h, tools/widl/widltypes.h, tools/wmc/utils.h: Gregg Mattinson Fixes for Sparc build. * aclocal.m4, configure: Don't make the ac_asm function wrapper static to prevent it from being optimized out. * tools/Makefile.in: Get rid of removed winapi_check subdirs. 2002-08-06 Alexandre Julliard * memory/virtual.c: Don't change base in map_image since we use it later on. Added some tracing. * library/port.c, scheduler/sysdeps.c, include/winnt.h: Josh DuBois Marcus Meissner PowerPC locked exchange functions merged from old ppc patch. NtCurrentTeb handling for PowerPC (using gpr 13). * dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c: Juergen Schmied Implement StrRetToStr in shlwapi. * dlls/ddraw/ddraw/hal.c: Christian Costa Initialize the DDCAPS structure of the DDRAW object at creation. * dlls/dinput/keyboard/main.c: Lionel Ulmer Handle 'not acquired' error messages on keyboard GetDeviceData. 2002-08-04 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20020804. ---------------------------------------------------------------- 2002-08-03 Alexandre Julliard * memory/virtual.c: Set user address space limit to 0xc0000000. * dlls/ddraw/dsurface/dib.c: Lionel Ulmer Support negative values in RECTs during Blts. * include/winbase.h, files/file.c: Juergen Schmied - Fixed possible loss of data with given overlapped structure on a file opened in non overlapped mode. - Fixme for file-lock functions. * configure, configure.ac, library/Makefile.in: Only link with msvcrt on mingw32. Cleaned up a few AC_SUBST. * dlls/ole32/Makefile.in, dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/ftmarshal.c, dlls/ole32/ifs.c, dlls/ole32/ole16.c, include/wtypes.h: Juergen Schmied - Moved 16 bit functions to a seperate file. - First implementation for free threaded marshaller. - Fixed handling of REG_EXPAND_STRING registry values in CoCreateObject. - Fixed CoLoad/FreeLibrary functions. - Fixed use internal dll-list (used only for functions loading a dll internally without returning HMODULE). * dlls/winmm/winemm.h, include/mmsystem.h, dlls/winmm/mmsystem.c: Michael Stefaniuc Convert HMIXER, HMIXEROBJ to a void*. * controls/scroll.c: Duane Clark On mouse down in thumb, issue SB_THUMBTRACK with current position. On mouse up in thumb, issue SB_THUMBPOSITION followed by SB_ENDSCROLL. 2002-08-02 Alexandre Julliard * Make.rules.in, Makefile.in, aclocal.m4: Install the aclocal macros for use by Winelib apps. * Make.rules.in, programs/winetest/Makefile.in: Don't pass the perl C flags to winebuild. * programs/winetest/winetest.c: Mike Castle Compile fix for multi-threaded perl. * dlls/ddraw/dsurface/dib.c: Lionel Ulmer Be less strict on parameter checking in the SetSurfaceDesc function. * dlls/dsound/dsound_main.c, dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h, include/mmsystem.h: Michael Stefaniuc - Converted HWAVE, HWAVEIN, HWAVEOUT to void*. - Fixed some HMIDI{IN,OUT}16 to HANDLE conversions. - midiOutCacheDrumPatches16 called itself recursively in an infinite loop. * debugger/dbg.y, debugger/debugger.h, debugger/info.c, debugger/intvar.h, debugger/registers.c, debugger/types.c, debugger/winedbg.c: Eric Pouech Added $regs as a variable for displaying all registers. * objects/dc.c: Don't set the DC_DIRTY flag in SetDCState since we just updated the DC. * tools/wrc/wrctypes.h: Removed struct user to avoid conflicts with system headers (spotted by Martin Cracauer). 2002-08-01 Alexandre Julliard * programs/avitools/Makefile.in, windows/.cvsignore, Make.rules.in, controls/.cvsignore, dlls/Makedll.rules.in, dlls/gdi/.cvsignore, dlls/gdi/Makefile.in, dlls/gdi/win16drv/.cvsignore, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/msvideo/.cvsignore, dlls/msvideo/Makefile.in, dlls/ntdll/.cvsignore, dlls/ntdll/Makefile.in, dlls/setupapi/.cvsignore, dlls/setupapi/Makefile.in, dlls/user/.cvsignore, dlls/user/Makefile.in, dlls/user/dde/.cvsignore, dlls/winaspi/.cvsignore, dlls/winaspi/Makefile.in, dlls/winmm/.cvsignore, dlls/winmm/Makefile.in, loader/.cvsignore, loader/ne/.cvsignore, memory/.cvsignore, objects/.cvsignore, programs/Makeprog.rules.in: Create at most one glue file for a single dll. Avoid the intermediate .tmp.o file when building programs. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c, tools/winebuild/utils.c, tools/winebuild/winebuild.man.in: In -spec and -exe mode, accept multiple object files and link them together internally to find the undefined symbols. In -glue mode, accept multiple C files and generate a single glue file for all of them. * include/config.h.in, configure, configure.ac, dlls/Makefile.in, dlls/winmm/wineaudioio/.cvsignore, dlls/winmm/wineaudioio/Makefile.in, dlls/winmm/wineaudioio/audio.c, dlls/winmm/wineaudioio/audioio.c, dlls/winmm/wineaudioio/wineaudioio.drv.spec: Robert Lunnon Preliminary audio driver for Solaris Libaudioio. * dlls/winmm/lolvldrv.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/midimap/midimap.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h, include/mmsystem.h: Eric Pouech Michael Stefaniuc Convert HMIDI, HMIDIIN, HMIDIOUT, HMIDISTRM to void*. 2002-07-31 Alexandre Julliard * programs/Makefile.in, programs/winetest/Makefile.in, programs/winetest/runtest, Make.rules.in, Makefile.in: Use the normal perl interpreter for test scripts that don't need to call Windows APIs. Don't build winetest.exe by default. * dlls/winsock/async.c, dlls/winsock/socket.c, dlls/wsock32/protocol.c, include/wine/port.h, library/port.c: Moved the #ifdefs for the getnetby* etc. functions directly into the winsock implementation to avoid having to redefine the data structures in port.h. * programs/notepad/Si.rc: Rok Mandeljc Fixed some invalid characters. * programs/regedit/tests/regedit.pl, programs/winetest/include/wine.pm, programs/winetest/include/winetest.pm, programs/winetest/tests/wine.pl: Split routines that don't rely on C functions into winetest.pm so that they can be used from a normal Perl script. * dlls/crtdll/crtdll_main.c, dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.spec: Add MSVCRT prefix to _stat and _fstat (based on a patch by Rafael Kitover). * dlls/kernel/sync.c, dlls/ntdll/signal_i386.c, dlls/wineps/builtin.c, include/msvcrt/sys/stat.h, include/msvcrt/sys/types.h, tsx11/Makefile.in: Rafael Kitover Portability fixes for Cygwin. * server/registry.c, server/sock.c, win32/newfns.c, memory/registry.c, memory/selector.c, misc/registry.c, msdos/vxd.c, objects/palette.c, relay32/snoop.c, scheduler/syslevel.c, scheduler/thread.c, dlls/kernel/debugger.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, dlls/ntdll/critsection.c, dlls/ntdll/nt.c, dlls/ntdll/rtl.c, dlls/setupapi/infparse.c, dlls/setupapi/setupapi_private.h, include/gdi.h, include/palette.h, include/wincrypt.h, loader/ne/module.c, dlls/advapi32/crypt.c, dlls/advapi32/crypt.h, dlls/advapi32/eventlog.c, dlls/advapi32/registry.c, dlls/advapi32/service.c: Fixed some handle type mismatches and added a few casts in prevision of void* handles. * dlls/kernel/Makefile.in, dlls/kernel/console.c, dlls/kernel/editline.c, dlls/ntdll/Makefile.in, win32/console.c, win32/editline.c: Eric Pouech Moved all client-side console code to kernel. * dlls/kernel/kernel_main.c, scheduler/process.c: Moved initial AllocConsole call to kernel init (based on a patch by Eric Pouech). * files/file.c: Eric Pouech Made the calls to (Read|Write)Console through a function pointer to ease up ntdll/kernel separation. * dlls/kernel/kernel_main.c, dlls/ntdll/ntdll.spec, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_sparc.c: Eric Pouech Added a generic mechanism to set up hooks for dispatching signal handlers outside ntdll. * dlls/ntdll/heap.c: We have to use the Rtl variant of Enter/LeaveCriticalSection inside ntdll. * scheduler/process.c: Remove .so extension from main module file name after loading it so that GetModuleFileName returns the right thing. * dlls/kernel/Makefile.in, dlls/kernel/tests/atom.c, dlls/kernel/tests/atom.pl: Rewrote atom test in C. * files/file.c: Rafael Kitover Changed dos_handles to store dups of stdio/out/err as per Ove Kaaven's suggestion. * dlls/winmm/winenas/audio.c: Nicolas Escuder Speed and buffer improvement, code clean up, and fix some bug on close / reset waveout. * scheduler/handle.c, scheduler/process.c, dlls/oleaut32/typelib.c, dlls/user/exticon.c, dlls/winedos/module.c, files/dos_fs.c, files/file.c, include/file.h, include/module.h, include/winbase.h, loader/module.c, loader/ne/resource.c, loader/ne/segment.c, loader/resource.c, objects/metafile.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/init.c, dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/metafiledrv.h: Fixed HANDLE<->HFILE conversions, since they will be different types when handles are void*. 2002-07-30 Alexandre Julliard * dlls/Makefile.in, dlls/winmm/winenas/.cvsignore, dlls/winmm/winenas/Makefile.in, dlls/winmm/winenas/audio.c, dlls/winmm/winenas/nas.c, dlls/winmm/winenas/nas.h, dlls/winmm/winenas/winenas.drv.spec, include/config.h.in, configure, configure.ac: Merged the NAS driver written by Nicolas Escuder . * debugger/break.c, debugger/dbg.y, debugger/debugger.h, debugger/intvar.h, debugger/stabs.c, debugger/winedbg.c: Eric Pouech Added ability to defer breakpoint setting for breakpoint defined by an absolute address. * debugger/winedbg.c: Eric Pouech Fixed regression on internal vars. 2002-07-29 Alexandre Julliard * loader/pe_image.c, memory/virtual.c: Set the correct permissions on the PE image sections. * include/wine/port.h, library/port.c, server/file.c, tools/wpp/wpp.c, configure, configure.ac, debugger/gdbproxy.c, dlls/shell32/shelllink.c, include/config.h.in: Marcus Meissner Check for mkstemp, added a port implementation if it is not present. Use mkstemp() in various places needing tmp files. * dlls/winedos/vga.h, dlls/winmm/winearts/audio.c, win32/console.c, dlls/winedos/int10.c, dlls/winedos/vga.c: Chris Morgan Some dos VGA error handling. Misc TRACE changes. * debugger/dbg.y, debugger/debug.l, debugger/debugger.h, debugger/winedbg.c: Eric Pouech Added source command. * dlls/ole32/compobj.c, dlls/ole32/ifs.c, dlls/ole32/ifs.h, dlls/ole32/ole32.spec, dlls/ole32/ole32_main.c, include/wine/obj_misc.h: Juergen Schmied - Implemented IMallocSpy hooks in IMalloc. - Moved memory related functions into ifs.c. - Implemented stubs for the MallocSpy. * dlls/winmm/mmsystem.c: Gerald Pfeifer Fixed format string. * dlls/winedos/ioports.c: Jukka Heinonen VGA emulation now supports outw and outl. * dlls/winedos/vga.c: Jukka Heinonen Add VGA controller framebuffer between VGA window and DirectDrawSurface. * dlls/shell32/classes.c: Steven Edwards Portability fix. * Make.rules.in, dlls/Makedll.rules.in, programs/Makeprog.rules.in: Steven Edwards Fix building/linking resources on Mingw. * dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellord.c, dlls/shell32/shlview.c, dlls/comctl32/comctl32.spec, dlls/shell32/iconcache.c: Import comctl32 functions from shell32 by ordinal. Removed some unnecessary ordinals in comctl32.spec. * tools/wpp/wpp.c: Michael Stefaniuc Include needed by exit(). * dlls/ole32/datacache.c, dlls/oleaut32/olepicture.c, include/windef.h: Michael Stefaniuc Converted HENHMETAFILE and HMETAFILE to a void*. 2002-07-28 Alexandre Julliard * dlls/winmm/winemm.h, include/windef.h, loader/task.c, dlls/user/misc.c, dlls/winmm/mci.c, dlls/winmm/mmsystem.c: Convert HTASK to void* (based on a patch by Michael Stefaniuc). * tools/winebuild/.cvsignore, tools/winebuild/Makefile.in, tools/winebuild/README, tools/winebuild/winebuild.man.in: Added a winebuild man page. * library/loader.c, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/parser.c, tools/winebuild/spec32.c: Added support for importing by ordinal. * tools/winebuild/main.c: Set correct dll file name when building a .def file. * dlls/msvcrt/data.c: Fixed potential memory corruption. * dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c: Ryan Cumming Implementation of RtlGetNtVersionNumbers. * dlls/ntdll/cdrom.c: Rafael Kitover Minor fix for ide-scsi cdroms. * dlls/winedos/vga.c: Jukka Heinonen Add decoding logic for VGA indexed registers. * dlls/shell32/shell.c, include/windef.h, windows/hook.c: Michael Stefaniuc - Converted HHOOK to a void*. - Changed the internal HOOK_* functions to pass only HHOOK's between them. - Fixed wrong HHOOK <-> HANDLE16 conversions. 2002-07-26 Alexandre Julliard * windows/painting.c: RDW_FRAME should be RDW_NOFRAME when validating (spotted by Duane Clark). 2002-07-25 Alexandre Julliard * tools/widl/parser.l: Gerald Pfeifer #include which is required for unlink(). * memory/global.c: Bang Jun-Young Make compile on NetBSD. * dlls/ole32/compobj.c, dlls/ole32/compobj.spec: Marcus Meissner Factored out the OLE 16 bit allocator from StringFromCLSID. Implemented ProgIDFromCLSID16. * tools/winemaker: Andriy Palamarchuk winebuild searches libraries specified in -l parameter only in the library directories specified before in the -L parameter, but winemaker added -L parameter after -l. * tools/winebuild/import.c, tools/winebuild/spec32.c: Put correct ordinal hints in the import table. * dlls/kernel/sync.c: Uwe Bonnes Fill lpcbAvail for PeekNamedPipe. * dlls/shell32/shlexec.c: Duane Clark Bug fixes. 2002-07-24 Alexandre Julliard * dlls/dsound/dsound.spec: Removed ordinal 0. * dlls/ntdll/loader.c, include/module.h, loader/elf.c, loader/module.c, loader/pe_image.c: Added support for ordinal hint in PE_FindExportedFunction. * dlls/gdi/freetype.c, dlls/msacm/driver.c, dlls/shlwapi/url.c, windows/win.c, windows/winproc.c: Andreas Mohr Misc spelling fixes. * documentation/winelib-mfc.sgml: Andriy Palamarchuk Updated MFC legal issues section according to the new license, some other changes. * programs/wcmd/wcmdmain.c: Uwe Bonnes WCMD_run_program: don't try to run an empty line. * programs/wcmd/builtins.c: Uwe Bonnes More verbose output when file not found. * programs/wcmd/batch.c: Uwe Bonnes WCMD_batch: increase possible line length and warn if still too small. * dlls/shell32/shellord.c, dlls/shell32/shlexec.c: Duane Clark Combined implementations of ShellExecute/Ex. * dlls/shlwapi/path.c: Jon Griffiths PathAppendA/W: Don't skip '\\' if path is UNC. PathGetCharTypeA/W: '/' is invalid, make non-ASCII compatible too. Implement PathCompactPathExA/W. Update docs, remove signed/unsigned warnings with -W. * dlls/msvcrt/Makefile.in, dlls/msvcrt/cppexcept.c, dlls/msvcrt/except.c, dlls/msvcrt/msvcrt.spec: First pass implementation of CxxFrameHandler (thanks to Juergen Schmied for help in testing it). * documentation/printing.sgml, documentation/registry.sgml, documentation/running.sgml, documentation/winelib-porting.sgml, documentation/authors.ent, documentation/bugs.sgml, documentation/configuring.sgml, documentation/consoles.sgml, documentation/debugging.sgml, documentation/fonts.sgml, documentation/getting.sgml, documentation/installing.sgml, documentation/introduction.sgml, documentation/multimedia.sgml, documentation/packaging.sgml: Andreas Mohr - Move "questions and comments" at the top of the document. - Removed elfdll documentation. - Properly documented Desktop and Managed config. - Rearranged config entries according to importance. - "wine.conf" -> "the wine config file" in some cases. - Updated to new FTP URLs. - Fix non-backslash-escaped paths (ouch !). - Replace text references by real links. - Misc. other updates. * objects/font.c: Lionel Ulmer Properly check that the font resource is not already there. * include/Makefile.in, include/shlguid.h, include/shlwapi.h, include/wine/obj_queryassociations.h, ole/uuid.c: Fixed duplication of definitions between shlwapi.h and obj_queryassociations.h. * dlls/shell32/Makefile.in, dlls/shell32/brsfolder.c, dlls/shell32/classes.c, dlls/shell32/dataobject.c, dlls/shell32/debughlp.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/memorystream.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shellstring.c, dlls/shell32/shfldr.h, dlls/shell32/shfldr_desktop.c, dlls/shell32/shfldr_fs.c, dlls/shell32/shfldr_mycomp.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c: Juergen Schmied - Cleaned up the implementation of shell folders and put them into separate files. - Fixed some memory leaks. - Some more fixes. 2002-07-23 Alexandre Julliard * scheduler/process.c: Fixed handling of .com binaries (thanks to Chris Morgan). * dlls/msvcrt/data.c, dlls/msvcrt/environ.c, dlls/msvcrt/msvcrt.h: Uwe Bonnes Take a snapshot of the environment strings when building the __p__environ array and update the array on calls to _putenv. * dlls/msvcrt/string.c: Removed non-exported string functions. * documentation/winelib-intro.sgml: Andriy Palamarchuk Added mention of a dot in the current directory specification. Added reference to the winemaker man page. * dlls/comctl32/listview.c: Guy L. Albertelli - Implement LVM_SCROLL and adjust scrolling for all formats. - Implement standard Comctl32 color handling. - Eliminate bogus ERR messages for application messages. * win32/console.c, win32/editline.c: Eric Pouech Multi-line edit is now enabled. Fixed a buffer allocation error. Yank buffer is no longer destroyed after the first copy. Implemented the transpose word (alt-t) and redraw (ctrl-l) emacs-commands. * debugger/dbg.y, debugger/debugger.h, debugger/hash.c: Eric Pouech Added offset for relocating symbols in symbolfile command. * dlls/shell32/shell32.spec, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/msvcrt20/msvcrt20.spec: Fixed broken forwards reported by Patrik Stridvall. * programs/wineconsole/dialog.c, programs/wineconsole/registry.c, programs/wineconsole/user.c: Andreas Mohr - Fix some spelling problems. - Move WCUSER_SetMenuDetails to other menu related functions. * configure, configure.ac: Gerald Pfeifer Include sys/types.h before sys/socket.h. * winedefault.reg: Andriy Palamarchuk Added OLE/COM classes registered by OLEAUT32.DLL. * dlls/ole32/compobj.c, dlls/shlwapi/ordinal.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/win16.api, tools/winapi/win32.api, tools/winapi_check/modules.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm: Patrik Stridvall - Report broken forwards. - API files update. 2002-07-22 Alexandre Julliard * dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c, dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c: Added missing wine/port.h. * include/wine/port.h, aclocal.m4, configure, configure.ac, dlls/ntdll/debugtools.c, include/config.h.in, include/winnt.h: Generate the __ASM_NAME and __ASM_FUNC macros directly from configure. Simplified the WINE_TRY_ASM_LINK test. Moved DECL_GLOBAL_CONSTRUCTOR to wine/port.h. * dlls/ntdll/signal_i386.c, relay32/snoop.c, scheduler/pthread.c, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/relay.c, tools/winebuild/spec32.c, tools/wrc/wrc.c, tools/wrc/writeres.c: Replace all uses of PREFIX and @function by the __ASM_NAME and __ASM_FUNC macros. * dlls/comctl32/imagelist.c: Michael Stefaniuc ImageList_Remove returns TRUE when removing all images of an empty ImageList. * debugger/stabs.c: Bill Medland - Document where the stabs information can be found, so that someone can help upgrade this code. - A couple of minor enhancements towards handling C++. - Don't bother trying to load libstdc++, rather than generating an enormous number of "errors". * tools/winapi/winapi.pm, tools/winapi/winapi_extract, tools/winapi/winapi_extract_options.pm: Patrik Stridvall Handle forwarded functions properly (based on a patch by Francois Gouget). * dlls/ddraw/ddraw/thunks.c, include/ddraw.h: Michael Karcher Set the correct length of the struct DDSURFACEDESC. * objects/font.c: Shachar Shemesh Now checks that the GCP_REORDER flag is set before trying to access any of the fields that depend on this flag. * scheduler/process.c: Fixed .com binary support. * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Roderick Colenbrander Simple implementation of InternetAutodial. * debugger/Makefile.in: Eric Pouech Removed unnecessary flag. * debugger/debug.l, debugger/debugger.h, debugger/hash.c, debugger/source.c: Eric Pouech Fixed very long line reading (and some buffering bugs). Removed the static limit in array for symbols parsing. * dlls/shlwapi/Makefile.in, dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/thread.c: Jon Griffiths Move thread related functions to new file. Implement SHCreateThread,@224,@424, stub SHReleaseThreadRef. Fix: SHGetThreadRef() calls AddRef(), @356 param count wrong. * include/shlwapi.h: Jon Griffiths Add some new defines and functions. 2002-07-20 Alexandre Julliard * dlls/msvcrt/msvcrt.h, dlls/msvcrt/thread.c: Added definition of msvcrt internal error codes. * debugger/Makefile.in, debugger/gdbproxy.c, debugger/stabs.c, debugger/winedbg.c: Eric Pouech Added a remote proxy for gdb. * Make.rules.in: Fixed linking rule for test programs (spotted by Gregg Mattinson). * debugger/break.c, debugger/dbg.y, debugger/debugger.h, debugger/hash.c, debugger/source.c, debugger/winedbg.c: Eric Pouech Inverted inner loops (Win32 debug event handling / WineDbg command line parser). * configure, configure.ac, include/config.h.in, include/wine/port.h: Gregg Mattinson Added checks for __sparc__, __sun__ and @function. * aclocal.m4: Fixed quoting in WINE_TRY_ASM_LINK macro. * objects/dc.c: Andreas Mohr CreateDCA should return failure if both driver and device are NULL. * windows/spy.c: Andreas Mohr - Add message mapping for tooltips. - Use DEBUG_SPY define instead of commenting out TRACEs. * programs/winetest/include/advapi32.pm, programs/winetest/include/avifil32.pm, programs/winetest/include/comcat.pm, programs/winetest/include/dinput8.pm, programs/winetest/include/gdi32.pm, programs/winetest/include/imm32.pm, programs/winetest/include/kernel32.pm, programs/winetest/include/ntdll.pm, programs/winetest/include/ole32.pm, programs/winetest/include/oleaut32.pm, programs/winetest/include/rpcrt4.pm, programs/winetest/include/setupapi.pm, programs/winetest/include/shdocvw.pm, programs/winetest/include/shell32.pm, programs/winetest/include/shlwapi.pm, programs/winetest/include/sti.pm, programs/winetest/include/user32.pm, programs/winetest/include/winedos.pm, programs/winetest/include/wininet.pm, programs/winetest/include/winmm.pm, programs/winetest/include/ws2_32.pm: Patrik Stridvall Updated winetest Perl modules using winapi_extract. * tools/winapi/winapi.pm, tools/winapi/winapi_extract: Patrik Stridvall Fixed winapi_extract. * dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c: Juergen Schmied - Many stubs - Some ordinals, SHStrDupA and SHStrDupW implemented. * dlls/advapi32/advapi32.spec, dlls/advapi32/registry.c, include/winreg.h: Dominik Strasser Implemented RegQueryMultipleValues. * dlls/ddraw/dsurface/user.c, dlls/ddraw/dsurface/user.h: Ove Kaaven Wait for the asynchronous update thread to complete if the app requests it. Fixed blit offseting issues in windowed mode. * tools/widl/Makefile.in, tools/widl/parser.l, tools/widl/widl.c, tools/wrc/Makefile.in, tools/wrc/parser.y, tools/wrc/wrc.c: Explicitly specify the path to wpp.h so we don't need to change the include path, to avoid conflicts with multiple y.tab.h files. * dlls/setupapi/setupx16.h, dlls/setupapi/virtcopy.c: Andreas Mohr Honour the VNLP_COPYIFEXISTS flag when doing a copy operation. * msdos/dosmem.c: Andreas Mohr Change BIOSDATA's rows on screen minus 1 from 23 to 24. * programs/regsvr32/regsvr32.c: Bill Medland Allow regsvr32 to process multiple filenames (as does the Windows version). * include/winnt.h: Gregg Mattinson Fixed __builtin_return_address. * files/dos_fs.c: Rein Klazes Repair SetLastError in FindNextFileA. * programs/control/control.c: Francois Gouget Move an extern declaration to stop egcs-2.91.66 from crashing. 2002-07-19 Alexandre Julliard * include/msvcrt/eh.h, dlls/msvcrt/cpp.c, dlls/msvcrt/dir.c, dlls/msvcrt/errno.c, dlls/msvcrt/file.c, dlls/msvcrt/heap.c, dlls/msvcrt/main.c, dlls/msvcrt/math.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c, dlls/msvcrt/thread.c: Fixed per-thread data handling. Made terminate and unexpected function pointer per-thread. Added set_se_translator. * dlls/ddraw/ddraw/user.h, dlls/ddraw/dsurface/fakezbuffer.h, include/ntddk.h, tools/winedump/cvinclude.h: Gregg Mattinson Avoid structures or arrays of size 0. * files/dos_fs.c, files/smb.c, files/smb.h: Mike McCormack First go at reading directories on public SMB shares. * configure.ac, include/config.h.in, configure: Gregg Mattinson - X11/extensions/shape.h requires X11/Xutil.h. - X11/XKBlib.h requires X11/Xlib.h. - net/if.h requires sys/socket.h. - netinet/ip.h requires sys/socket.h and sys/in_systm.h. - resolv.h requires sys/socket.h. * tools/winemaker: Gregg Mattinson - Removed name, type, mode, rsrc, and import statements from .spec file. - Added imports and resources to Makefile.in. - Checked for __sparc__ and __sun__, same as Wine's configure. - Checked $WINE_ROOT/library for library files. - Changed mixedcrt directory to msvcrt. * dlls/shlwapi/regstream.c, dlls/shlwapi/shlwapi.spec: Jon Griffiths Set amounts read/written to 0, share Un/Lock code, unify ctors. SHOpenRegStreamA/W return a dummy object on failure, not NULL. Implement @12 using common ctor. * controls/combo.c: Carl Sopchak Return empty string on error in WM_GETTEXT. * dlls/wininet/internet.c: Marcus Meissner Protect InternetCloseHandle() against invalid handles. * tools/winapi/config.pm, tools/winapi/win16.api, tools/winapi/win32.api, tools/winapi/winapi.pm, tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm: Patrik Stridvall Merged all API files into two files (Win16/Win32). * dlls/ntdll/ntdll.spec, dlls/oleaut32/olepicture.c, dlls/oleaut32/safearray.c, dlls/oleaut32/variant.c, dlls/shell32/shellole.c, dlls/shlwapi/ordinal.c, dlls/winmm/wavemap/wavemap.c, dlls/winmm/winealsa/alsa.c, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/audio_05.c, objects/font.c: Patrik Stridvall Fixed some issues found by winapi_check. * include/windef.h: Michael Stefaniuc Convert HMONITOR to a void*. * dlls/comctl32/updown.c: Dimitrie O. Paun Allow the application to subclass a buddy edit (spotted by Guy L. Albertelli). * winedefault.reg: Andriy Palamarchuk Added CLSID_StdFont class registration. * tools/winedump/output.c: Jon Griffiths Update output for recent build changes. * dlls/shell32/brsfolder.c, dlls/shell32/shell32.spec: Jon Griffiths Implemented SHBrowseForFolderW. * dlls/shlwapi/shlwapi_main.c: Jon Griffiths Avoid winreg.h inclusion. * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Jon Griffiths Stub implementation for CoInitializeSecurity. 2002-07-16 Alexandre Julliard * tools/wpp/wpp.c: Fixed temp name handling. * configure.ac, include/wine/rpcfc.h, tools/Makefile.in, tools/widl/.cvsignore, tools/widl/Makefile.in, tools/widl/header.c, tools/widl/header.h, tools/widl/parser.h, tools/widl/parser.l, tools/widl/parser.y, tools/widl/proxy.c, tools/widl/proxy.h, tools/widl/utils.c, tools/widl/utils.h, tools/widl/widl.c, tools/widl/widl.h, tools/widl/widltypes.h, configure: Merged the IDL compiler written by Ove Kaaven. * 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, configure.ac, tools/Makefile.in, tools/wpp/.cvsignore, tools/wpp/Makefile.in, tools/wpp/ppl.l, tools/wpp/ppy.y, tools/wpp/preproc.c, tools/wpp/wpp.c, tools/wpp/wpp.h, tools/wpp/wpp_private.h, tools/wrc/.cvsignore, tools/wrc/Makefile.in, tools/wrc/parser.l, tools/wrc/parser.y, configure: Split the C preprocessor from wrc into a separate library. Prefixed exported functions by 'pp' to avoid namespace conflicts. * programs/winhelp/hlp2sgml.c, programs/winhelp/hlpfile.c, programs/winhelp/hlpfile.h, programs/winhelp/macro.c, programs/winhelp/macro.lex.l, programs/winhelp/macro.yacc.y, programs/winhelp/winhelp.c, programs/winhelp/winhelp.h: Eric Pouech Bring winhelp back to life, with mainly support for Win95 help files. * dlls/x11drv/window.c: Fixed setting of min/maximize mwm hints. * dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c: Juergen Schmied Fixed two leaks in file- and itemmoniker. * dlls/ddraw/dsurface/dib.c: Tony Lambregts Added support DDBLT_DDFX flag in DirectDrawSurface_Blt. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Guy L. Albertelli - Remove stub for ordinal 394 and replace with forward to CreateDialogIndirectParamA where tracing shows it going. - Add stub for ordinal 430. * dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/datetime.c, dlls/comctl32/flatsb.c, dlls/comctl32/hotkey.c, dlls/comctl32/ipaddress.c, dlls/comctl32/monthcal.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: Guy L. Albertelli Don't issue error message if message number in application range. * dlls/shlwapi/Makefile.in, dlls/shlwapi/istream.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/tests/clist.c: Jon Griffiths Implement SHCreateStreamOnFileA/W/Ex, ordinals @166,184,212-214. * server/serial.c: Marcus Meissner Implemented FlushFileBuffers for serial devices. * dlls/kernel/tests/path.c: Paul Millar Removed drive assumptions in the path handling regression tests. * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c: Juergen Schmied Fixed a memory leak and a wrong memory free call. * programs/winefile/winefile.h: Gerald Pfeifer Do not #include , which is non-standard and not needed. * dlls/x11drv/dga2.c, dlls/x11drv/xvidmode.c: Lionel Ulmer Test for X11 errors for DGA2 and XVidMode extensions. * dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/main.c, dlls/ddraw/helper.c: Lionel Ulmer - DDRAW_SYSTEMMEMORY is handled like OFFSCREENPLAIN for now - added more logging * dlls/shell32/dialogs.c: Gregg Mattinson Fixed another non-static structure initializer. * dlls/comctl32/header.c: Bill Medland Correction to header order maintenance when a dummy first item is added and then deleted (as suggested by MSDN to handle the fact that the first column of a listview is left justified). Also removed redundant casts. * graphics/x11drv/dib.c: Rob McClinton X11DRV_GetDIBits: Don't clear the biCompression==BI_BITFIELDS flag after creating the bits. * dlls/oleaut32/typelib.c: Gregg Mattinson Fixed void* arithmetic. * dlls/shell32/shlfolder.c: Gregg Mattinson Initialized the pidlOut variable in SHELL32_ParseNextElement to prevent a crash in some cases. * files/directory.c: Andreas Mohr Fixed uninitialized HKEYs. * dlls/comctl32/listview.c: Bill Medland DeleteColumn should return success even for uOwnerData. * programs/notepad/dialog.c, programs/notepad/dialog.h, programs/notepad/main.c: Andriy Palamarchuk A few cosmetic changes plus fixes for problems spotted by Dmitry Timoshkov. * programs/notepad/Si.rc, programs/notepad/rsrc.rc: Rok Mandeljc Added Slovenian resources. 2002-07-10 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20020710. ---------------------------------------------------------------- 2002-07-10 Alexandre Julliard * dlls/kernel/wprocs.spec: Added FPU emulation interrupts. * msdos/fpu.c, msdos/int3d.c, dlls/ntdll/Makefile.in, dlls/winedos/dosvm.c, include/miscemu.h: Admiral Coeyman Added support for FPU emulation interrupts. * dlls/user/user32.spec, include/windef.h, include/winuser.h, windows/hook.c: Jon Griffiths Stubs/docs for NotifyWinEvent,SetWinEventHook,IsWinEventHookInstalled, UnhookWinEvent. * dlls/gdi/freetype.c: Quiet the font loading error. * controls/combo.c: Uwe Bonnes CBUpdateEdit: LB_GETTEXTLEN returns LB_ERR on error, not 0. * dlls/ddraw/dsurface/dib.c: Fixed corruption when copying to the same surface (with the help of Tony Lambregts and Lionel Ulmer). * documentation/samples/config: Johan Gill 48 was plain wrong as value for HELmargin. * dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h: Gregg Mattinson Fixes to allow big endian machines to load MSFT typelib files. * files/drive.c: Fixed handling of drives with "/" path (thanks to Marcus Meissner). * dlls/wineps/ppd.c: Carl Sopchak Pass "Manual Feed" as short input slot name. * win32/console.c: Eric Pouech Fixed synchronisation for ctrl event generation. * dlls/commdlg/fontdlg.c: Shachar Shemesh - Fixed access to the lpTemplateName of ChooseFont in cases where the flags don't specify to use it. - Do not try to convert the resource name from ANSI to Wide if it is a result of MAKEINTRESOURCE (and therefore not a string). * configure, configure.ac, dlls/advapi32/Makefile.in, dlls/advapi32/tests/.cvsignore, dlls/advapi32/tests/registry.c: Created registry unit test and added tests for RegEnumValue[AW]. * dlls/advapi32/registry.c, memory/registry.c: RegEnumValue[AW] need to update the data size on buffer overflow (spotted by Massimo ). * dlls/ddraw/ddraw_private.h, dlls/ddraw/dpalette/main.c, dlls/ddraw/dsurface/main.c: Ove Kaaven Removed the flags fields of IDirectDrawPaletteImpl, as we should use the dwFlags field of DDRAWI_DDRAWPALETTE_GBL structure instead. * dlls/ddraw/dsurface/wndproc.c: Ove Kaaven Handle WM_SYNCPAINT with DefWindowProc. * debugger/debug.l: Eric Pouech Enhanced error handling on input stream reading. * debugger/ext_debugger.c: Eric Pouech Fixed external debugger startup. * dlls/winmm/winmm_Si.rc, dlls/winmm/winmm_res.rc: Rok Mandeljc Added Slovenian resources. * dlls/shell32/shlfolder.c: Rein Klazes Fix buffer length calculation in InitializeGenericSF(). * dlls/comctl32/listview.c: Guy L. Albertelli - Improve traces. - Changed default column width to 128 to match native and make that the mimimum for LVS_SMALLICON and LVS_LIST styles. - Corrected max value for LVS_LIST style scroll info. - Issue our own ShowScrollBar like the native with proper test. - Correct alignment when using LVS_ICON style. - Correct FIXMEs for unimplemented styles. - Correct rect size computation for LVS_LIST. - Reset scroll bars when changing styles. - Implement WM_WINDOWPOSCHANGED. 2002-07-09 Alexandre Julliard * dlls/shlwapi/Makefile.in, dlls/shlwapi/clist.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/tests/.cvsignore, dlls/shlwapi/tests/clist.c: Jon Griffiths Implement/document @17,18,19,20,21,22 (Compact list API). * dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.c: Lionel Ulmer Support new registered extensions. * dlls/msvcrt/file.c: Uwe Bonnes _open_osfhandle: set at least the _IOREAD flag. * windows/dce.c: Ryan Cumming Make LockWindowUpdate return more Windows-like values. 2002-07-08 Alexandre Julliard * relay32/relay386.c: Remove .dll extension from module name, added wildcard support in relay specifications (with the help of Dmitry Timoshkov). * memory/string.c: Tommy Schultz Lassen Fixed lstrcpynA debug tracing. * dlls/msvcrt/msvcrt.spec: Uwe Bonnes fgets, fgetws: don't treat the possible uninitialized buffers as valid strings. * dlls/msvcrt/file.c: Uwe Bonnes MSVCRT_fread: expose feof flag. * tools/winecheck: Chris Morgan Windows registry not found should be a notice to the user, not a critical error. * dlls/version/info.c: Removed workaround for 16-bit loader bug. * programs/notepad/Da.rc, programs/notepad/De.rc, programs/notepad/En.rc, programs/notepad/Es.rc, programs/notepad/Fi.rc, programs/notepad/Fr.rc, programs/notepad/Makefile.in, programs/notepad/Pt.rc, programs/notepad/README, programs/notepad/Sk.rc, programs/notepad/Sw.rc, programs/notepad/TODO, programs/notepad/Wa.rc, programs/notepad/dialog.c, programs/notepad/dialog.h, programs/notepad/language.c, programs/notepad/language.h, programs/notepad/main.c, programs/notepad/main.h, programs/notepad/notepad.rc, programs/notepad/notepad_res.h, programs/notepad/search.c: Andriy Palamarchuk Use rich text edit control instead of handling user input and rendering on its own, use named constants instead of magic numbers, cleaned code, implemented Undo functionality. * dlls/kernel/thunk.c: Andreas Mohr - Always copy (almost) the whole stack space over to the 16bit stack instead of calculating some potentially bogus parameter count. - Add some comments. * include/oleauto.h: Gregg Mattinson Fixed V_DECIMAL macro to reflect where the decVal member is actually stored. * dlls/msvcrt/msvcrt.spec: Uwe Bonnes Added _U@YAPAXI@Z and _V@YAPAXI@Z. * dlls/msvcrt/file.c: Uwe Bonnes MSVCRT_fseek: should return 0 on success. * dlls/richedit/reader.c, dlls/richedit/richedit.c, dlls/richedit/rtf.h, dlls/richedit/text-writer.c: Duane Clark Add richedit support for a plain text stream. * documentation/running.sgml: Andreas Mohr Added some environment variables documentation. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Jason Edmeades - VarFormat now supports VT_R8 and BYREF variant types. - Add VarCyMulI4 support. * dlls/winmm/mmsystem.c: Eric Pouech Fixed another PlaySound bug (when SND_LOOP is requested). * dlls/winmm/winealsa/audio_05.c: Eric Pouech Fixed a few compilation warnings. * dlls/opengl32/wgl.c: Lionel Ulmer Support wglUseFontBitmapsA when using client-side rendering. 2002-07-05 Alexandre Julliard * dlls/dsound/Makefile.in: Steven Edwards Need to import ntdll. * programs/wcmd/directory.c: Gregg Mattinson Modified WCMD_filesize64 to handle unsigned numbers. * dlls/advapi32/registry.c, memory/registry.c: More explicit initialization of info_size for stupid compilers. * programs/uninstaller/main.c: Use Wine debugging API. Fixed MessageBox loop. * dlls/msvcrt/file.c, dlls/msvcrt/main.c, dlls/msvcrt/msvcrt.h: Flush stdio on exit. * dlls/odbc32/proxyodbc.c: Fixed warnings. * dlls/x11drv/wineclipsrv.c, include/wine/debug.h, include/winnt.h, msdos/int2f.c: Gregg Mattinson - Forte C does not support nameless structures or unions - Implemented __builtin_return_address for Forte C on sparc - Implemented DECL_GLOBAL_CONSTRUCTOR for non-386, non-GNU C - Implemented WINE_DPRINTF to have function name with Forte C * dlls/ole32/memlockbytes.c: Marcus Meissner Added a generic way of doing GetHGlobalFromILockBytes(). * programs/winelauncher.in: Andreas Mohr - make sure even GUI users notice a "missing xmessage" problem by checking for tons of X11 editors - replace duplicated (3x) code with function launch_winesetup() - improved "winesetup not found" error message - break looping (via code 127) in case no xmessage installed - stress the fact that people should remember that they can regain certain settings by deleting flag files - spelling fixes * dlls/kernel/format_msg.c: Gregg Mattinson Implemented FormatMessage for sparc. Since the va_list is stored in memory like __i386__, the same implementation should work. * dlls/dsound/dsound_main.c, dlls/x11drv/x11drv_main.c, loader/loadorder.c, misc/version.c: No need to call GetModuleFileName16 now that GetModuleFileNameA handles 16-bit tasks. * loader/module.c: Fixed GetModuleFileNameW return value. Quiet dll loading error message. * relay32/builtin32.c: Return ERROR_BAD_EXE_FORMAT when builtin dll still not found, since we most likely loaded a 16-bit builtin. * windows/painting.c: Moved MsgWaitForMultipleObjects call out of the window lock. * dlls/kernel/tests/path.c: Duane Clark Add drive letter and Unix path tests of GetFullPathNameA. * dlls/oleaut32/variant.c: Jason Edmeades Ensure VarBstrCat handles null parms as per windows and actually does the concatenation even for null args. * dlls/advapi32/registry.c: Rein Klazes Check for NULL keyvalue in RegEnumKeyExA/W. * controls/listbox.c: ComboLBWndProc: fall through to ListBoxWndProc if the listbox is not a ComboLBox. * documentation/samples/config: Removed "so" from the default load order. * dlls/user/message.c, dlls/user/msg16.c, dlls/user/user.exe.spec, include/wine/winuser16.h, windows/dialog.c: Tried to make IsDialogMessageW more compatible. Changed IsDialogMessage16/A to call IsDialogMessageW. * tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/spec32.c: Gregg Mattinson - Replaced .previous with a .section statement for the appropriate section. - '.section .text' is incorrect. It should be '.section ".text"'. * dlls/msvcrt/heap.c: Uwe Bonnes MSVCRT_operator_new: Call handler only when "new" operation fails. * loader/module.c: Joshua Thielen Changed GetModuleFileNameA to use GetCurrentTask instead of MODULE32_LookupHMODULE when called by a 16-bit task. 2002-07-03 Alexandre Julliard * dlls/msvcrt/file.c, dlls/msvcrt/misc.c, dlls/shlwapi/ordinal.c, dlls/wininet/http.c, dlls/winmm/lolvldrv.c, files/smb.c, graphics/x11drv/dib.c, memory/global.c, memory/selector.c, memory/virtual.c, tools/winedump/pe.c, windows/syscolor.c, debugger/module.c, dlls/dplayx/dplayx_global.c: Gregg Mattinson Cast void* to char* for pointer arithmetic. * dlls/shell32/shellord.c: Duane Clark strcasecmp returns zero on a match. * dlls/comctl32/pager.c, dlls/commdlg/filedlg95.c, dlls/ddraw/ddraw/thunks.c, dlls/ddraw/dsurface/thunks.c, dlls/odbc32/proxyodbc.c, dlls/winsock/socket.c, programs/winefile/winefile.c: Gregg Mattinson Removed non-static structure initializers. * dlls/winedos/vga.c: Andreas Mohr Better toggle all relevant bits in VGA crt register. * server/main.c, server/object.h, server/sock.c: Martin Wilck Check POLLHUP semantics at remote shutdown when wineserver is started. Fix socket state handling and event handling for non-STREAM sockets. * graphics/x11drv/dib.c: Fixed X11DRV_SetDIBitsToDevice to do the right thing for top-down and/or partial bitmaps. * documentation/debugger.sgml, documentation/debugging.sgml: Tony Lambregts Document the new trace-related winedbg commands. * dlls/ddraw/dsurface/fakezbuffer.c, dlls/ntdll/rtlstr.c, dlls/shell32/shellpath.c, dlls/user/wnd16.c: Gregg Mattinson Void functions can't return a value, even if it is the return value from another void function. * graphics/x11drv/init.c, dlls/opengl32/wgl.c: Lionel Ulmer Detect DCs without fonts and return an error in wglUseBitmapFonts. * programs/winhelp/macro.lex.l: Gregg Mattinson Removed unusual type casting. * programs/regedit/regedit.c: Gregg Mattinson Avoid multi-line string constants. * include/shlwapi.h, include/wine/obj_shellfolder.h: Gregg Mattinson Removed extra , from last element in enum declarations. * include/dsound.h: Gregg Mattinson Removed extra ; from end of ICOM_METHOD macros. * dlls/winmm/winealsa/audio.c: Eric Pouech Fixed some more configuration issues. * dlls/winedos/int16.c: Andreas Mohr Make sure we wait some time during int16 keyboard query call. * dlls/winedos/vga.c: Andreas Mohr Added a DOS text mode memory buffer copy in order to be able to tell which lines of text changed and thus which ones to update. * msdos/int2f.c: Andreas Mohr Call Sleep for int 0x2f function 0x1680 (IDLE CALL). 2002-07-02 Alexandre Julliard * programs/wineconsole/user.c: Removed redundant GetMessage call. * dlls/msacm/msadp32/msadp32.c, dlls/shell32/debughlp.h, dlls/winmm/winealsa/audio.c, files/smb.c, loader/pe_image.c, programs/clock/language.c, programs/notepad/language.c, programs/winhelp/winhelp.c: Fixed warnings. * dlls/Makefile.in, dlls/shlwapi/Makefile.in, dlls/shlwapi/ordinal.c, dlls/shlwapi/string.c: Juergen Schmied - implementations for SHLWAPI_267, SHLWAPI_268 - small fixes * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/shell32/clipboard.c, dlls/shell32/debughlp.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shellstring.c, dlls/shell32/shlfolder.c, dlls/shell32/undocshell.h, include/wine/obj_shellfolder.h: Juergen Schmied - changed STRRET definition - small changes for seperation of shell32 from ole32 - debughelper for printing interface names (shell internal) - changed shell memory allocation to use IMalloc of ole32 when this library is already loaded - fallback IMalloc internally in shell - unified constructor syntax for several objects created by DllGetClassObject - rewrote instance creation for com objects - made the desktop folder parsing paths like ::{CLSID} - Implemented IPersistFolder3 partially 2002-07-01 Alexandre Julliard * programs/wineconsole/user.c, programs/wineconsole/wineconsole.c, programs/wineconsole/wineconsole_De.rc, programs/wineconsole/wineconsole_En.rc, programs/wineconsole/wineconsole_Fr.rc, programs/wineconsole/wineconsole_res.h, programs/wineconsole/wineconsole_res.rc, server/console.c: Andreas Mohr - Use PeekMessage loop around GetMessage. - Added German resource file. - Realign some dialog parts. - "Property" -> "Properties" - Add some traces. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: - stubs for SHLWAPI.295 (create a URL shortcut ?) and SHLWAPI.394 - minor cleanups * winedefault.reg: Andreas Mohr Added the FirstInstallDateTime key. * dlls/ntdll/heap.c: Make sure allocated blocks are aligned on an 8-byte boundary. * aclocal.m4, configure: Hopefully more portable errno check. * README, dlls/Makefile.in, dlls/make_dlls, documentation/Makefile.in, Makefile.in: Fixed make install from read-only build directory (spotted by Marcus Meissner). * windows/message.c: Release the Win16 lock before waiting in MsgWaitForMultipleObjectsEx. * configure, configure.ac, include/config.h.in, library/config.c: Added configure check for getpwuid. * dlls/ntdll/time.c: Gregg Mattinson Avoid alignment problem in NtQuerySystemTime. * dlls/winedos/int10.c, dlls/winedos/vga.c, dlls/winedos/vga.h, include/miscemu.h: Andreas Mohr Implemented set cursor shape functionality. * files/profile.c: Mike McCormack Return the correct length when getting a complete section in PROFILE_GetString. * dlls/ole32/hglobalstream.c, dlls/ole32/ifs.c: Juergen Schmied Support for large and negative offsets. 2002-06-28 Alexandre Julliard * objects/bitmap.c: BITMAP_SelectObject must return the old handle, not the current one. * windows/defdlg.c: Check for valid dialog info before using it. * dlls/shell32/dialogs.c: Nix N. Nix Removed message box that would pop up if a RunMRU list was not found. * dlls/comctl32/comctl_Si.rc, dlls/comctl32/rsrc.rc, dlls/commdlg/cdlg_Si.rc, dlls/commdlg/rsrc.rc: Rok Mandeljc Added Slovenian resources. * dlls/user/tests/sysparams.c, windows/sysparams.c: Philipp Wollermann Implemented SPI_GETDESKWALLPAPER action, fixed SPI_SETDESKWALLPAPER. * dlls/ddraw/dsurface/user.c: Jukka Heinonen Disable OWN_WINDOW as it no longer works. * configure, configure.ac, dlls/winmm/winealsa/Makefile.in, dlls/winmm/winealsa/alsa.h, include/config.h.in: Added some ALSA configure checks. * configure.ac, dlls/Makefile.in, dlls/winmm/winealsa/.cvsignore, dlls/winmm/winealsa/Makefile.in, dlls/winmm/winealsa/alsa.c, dlls/winmm/winealsa/alsa.h, dlls/winmm/winealsa/audio.c, dlls/winmm/winealsa/audio_05.c, dlls/winmm/winealsa/winealsa.drv.spec, configure: Eric Pouech Created an ALSA driver (with the help of David Hammerton and Marco Pietrobono). * graphics/x11drv/graphics.c: Fixed typo in X11DRV_SetPixel. * dlls/advapi32/crypt.h, dlls/richedit/charlist.h, dlls/twain/twain.h, dlls/wsock32/wscontrol.h, include/wnaspi32.h, programs/notepad/language.c, programs/notepad/language.h, programs/notepad/main.c, programs/winefile/splitpath.c, programs/winefile/winefile.c, programs/winefile/winefile.h: Gregg Mattinson Removed C++ style comments. * dlls/shlwapi/tests/shreg.c: Eric Pouech No longer depends on external env strings values. * dlls/commdlg/filedlgbrowser.c: Sander van Leeuwen Do not change directory if path is invalid. * dlls/shell32/changenotify.c: Knut St. Osmundsen Do not access memory that has just been freed. * windows/spy.c: Guy L. Albertelli - Add support for UpDown control messages. - Add detection for Wine's PropertySheet Dialog to translate messages. * programs/regedit/regproc.c, programs/regedit/tests/orig.reg, programs/regedit/tests/regedit.pl: Andriy Palamarchuk Fixed a few bugs, added processing of REG_MULTI_SZ format. * dlls/ddraw/dsurface/dib.c: Tony Lambregts Added support for DDBLT_KEYSRCOVERRIDE/DDBLT_KEYDESTOVERRIDE. * dlls/comctl32/propsheet.c: Guy L. Albertelli Add TCM_SETCURSEL when setting page current. * dlls/winmm/wineoss/audio.c: Eric Pouech Ensured full duplex mode is only used with same parameters in in/out streams. Some more work towards multiple audio cards support. 2002-06-25 Alexandre Julliard * include/gdi.h, objects/clipping.c, dlls/gdi/win16drv/graphics.c, dlls/gdi/win16drv/init.c, dlls/gdi/win16drv/text.c, dlls/gdi/win16drv/win16drv.h, dlls/wineps/text.c, graphics/mapping.c, graphics/path.c, graphics/x11drv/bitblt.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, graphics/x11drv/text.c: Replaced LPTODP/DPTOLP macros by calls to LPtoDP/DPtoLP (with the help of Huw Davies). * configure, configure.ac, dlls/Makefile.in, dlls/d3d8/.cvsignore, dlls/d3d8/Makefile.in, dlls/d3d8/d3d8.spec, dlls/d3d8/d3d8_main.c: Sylvain Petreolle Created d3d8 stub dll. * include/mapidefs.h, include/wtypes.h: Fixed endianness #ifdefs (spotted by Jason Edmeades). * dlls/winmm/mmsystem.c: Eric Pouech Fixed flags handling in sndPlaySound. * dlls/commdlg/filedlg95.c: Jason Edmeades Fixed crash in open file dialog on non-windows 98 emulation when lpszInitialDir is null. * dlls/oleaut32/olefont.c: Jason Edmeades Ensure we free the cached HFONT after loading in a fresh font. Enables fonts in VB programs to appear correctly. * memory/codepage.c: Huw D M Davies Aric Stewart Fixed nasty bug for 2+ byte multibyte strings and GetStringType. Fleshed out GetStringType CTYPE3 from the unicode tables. CP_SYMBOL is not a valid codepage while CP_UTF7|8 are. * documentation/wine.conf.man, include/module.h, loader/loadorder.c, loader/main.c, loader/module.c: Added support for path wildcards of the form "*dllname" in load order specifications. Only use wildcard entry for dlls that don't specify an explicit path. Removed the old DllOverrides syntax support. Misc cleanups and optimizations. 2002-06-24 Alexandre Julliard * dlls/wineps/Makefile.in, dlls/wineps/brush.c, dlls/wineps/builtin.c, dlls/wineps/download.c, dlls/wineps/driver.c, dlls/wineps/escape.c, dlls/wineps/font.c, dlls/wineps/ppd.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/text.c, dlls/wineps/type1.c, dlls/wineps/type42.c: Huw D M Davies Added Type 1 and Type 42 font downloading. Misc bug fixes. * dlls/wineps/init.c: Huw D M Davies Handle dmScale. * dlls/wineps/clipping.c: Huw D M Davies psdrv doesn't care about hGCClipRgn, just use GetClipRgn instead. * dlls/wineps/afm.c, dlls/wineps/glyphlist.c: Huw D M Davies Get rid of a few thousand useless TRACE lines. * dlls/wineps/type1afm.c: Huw D M Davies Added afm weight "NORMAL". * include/wingdi.h, objects/enhmetafile.c: Ulrich Czekalla Added temp fix for world transform bug in SetWindowOrgEx handler. Added handlers for EMR_SETTEXTJUSTIFICATION and EMR_SETLAYOUT. * dlls/gdi/mfdrv/text.c: Huw D M Davies Don't map symbol charset through WCToMB. * programs/wineconsole/wineconsole.c: Andreas Mohr Made initialization more verbose in case of errors. * configure.ac, include/config.h.in, library/config.c, configure: Steven Edwards Added check for pwd.h. * dlls/winedos/ioports.c, dlls/winedos/vga.c: Jukka Heinonen Redirect all reads and writes to VGA controller to VGA emulation. Catch and report 16/32-bit reads/writes to VGA controller. Use correct flags when creating full screen DirectDraw window for VGA. * dlls/winedos/int67.c: Jukka Heinonen Add save/restore mapping context routines. Add map multiple pages routine. Add partial implementation of hardware information query routine. Replace incorrect use of MapSL with PTR_REAL_TO_LIN. 2002-06-22 Alexandre Julliard * server/thread.c: Unlock the master socket if the boot thread terminates early. Avoid crash if thread died during timeout wakeup. * dlls/gdi/freetype.c, dlls/gdi/gdi32.spec, include/font.h, include/wingdi.h, objects/font.c, objects/text.c: Huw D M Davies - Implement AddFontResource*, add stubs for RemoveFontResource*. - Add support for GGO_BEZIER and a few bug fixes for GGO_NATIVE. - Much better support for non ansi charsets in font matching. - Proper implementation of GetTextFace for gdi font. - Load fonts that are listed in the registry but aren't in %WINDOWSDIR%\fonts. - Revert TranslateCharsetInfo to use codepage 1252 with ANSI_CHARSET. - Add support for VIETNAMESE_CHARSET and SYMBOL_CHARSET. * dlls/x11drv/keyboard.c: Dmitry Timoshkov Added Bulgarian keyboards. * dlls/x11drv/xrender.c: Huw D M Davies Store the cache entry indices and not the ptrs. Protect cache with a critical section. * dlls/kernel/tests/file.c, dlls/kernel/tests/path.c, dlls/kernel/tests/process.c, dlls/kernel/tests/thread.c, dlls/shlwapi/tests/shreg.c, dlls/user/tests/class.c, dlls/winsock/tests/sock.c, include/wine/test.h, programs/winetest/wtmain.c: Added printf format checking to the ok() and trace() macros, and fixed the resulting warnings. 2002-06-21 Alexandre Julliard * configure, configure.ac, dlls/wininet/.cvsignore, dlls/wininet/Makefile.in, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/tests/.cvsignore, dlls/wininet/tests/http.c, dlls/wininet/urlcache.c, dlls/wininet/utility.c, dlls/wininet/version.rc, dlls/wininet/wininet.spec: Aric Stewart Reworking of http and asyncronous calls to get IE6 to install. Added a version resource. Added unit test for http. * dlls/advapi32/crypt.c, dlls/comctl32/listview.c, dlls/ole32/oleobj.c, dlls/oleaut32/variant.c, dlls/x11drv/winpos.c, controls/button.c: Vincent Béron Fixed some various comparisons wrt signedness. * dlls/ole32/compobj.c: Fixed CLSIDFromString endianness assumptions (reported by Gregg Mattinson). * dlls/msvcrt20/Makefile.in, dlls/msvcrt20/dummy.c, dlls/msvcrt20/msvcrt20.c, dlls/msvcrt20/msvcrt20.spec: getmainargs: new_mode argument is not a pointer in msvcrt20 (spotted by Bill Medland). * dlls/x11drv/keyboard.c: Rok Mandeljc Added Slovenian keyboard. * dlls/oleaut32/variant.c: John K. Hohm Implemented SizeOfVariantData cases for VT_DISPATCH, VT_UNKNOWN, VT_CY. * programs/regedit/tests/orig.reg: Bill Medland Test the ability to handle hex values in excess of 1024 bytes and input lines in excess of 4096 bytes. * programs/regedit/regproc.c: Bill Medland - Rework the line reading. This version uses a single expanding buffer rather than a main buffer and a "next line" buffer. This version does not overflow the allocated memory (hopefully). The previous version did when concatenating the continuation lines. - Add protection to the HexCSVToHex to prevent overflow. - Allow for conversion of larger hex values. Tested on a real 2.6KB value. * programs/regedit/tests/regedit.pl: Bill Medland Correct the comparison of two files. Just because they are the same size doesn't mean they have the same content. * dlls/ntdll/signal_sparc.c: Gregg Mattinson Implemented DbgBreakPoint and DbgUserBreakPoint for Sparc. Debugger must already be attached for this implementation to work. * include/rpcproxy.h: Gregg Mattinson Moved all #includes to the top so that __stdcall is defined for the declaration of IIDLookupRtn. * dlls/shell32/iconcache.c, dlls/shell32/shell.c: Steven Edwards Moved a few win32 functions to a better location for building a Win32 only dll. * dlls/winmm/wineoss/wineoss.drv.spec, dlls/winnls/winnls.spec, dlls/winnls/winnls32.spec, dlls/winsock/winsock.spec, dlls/winsock/ws2_32.spec, dlls/winspool/winspool.drv.spec, dlls/wintrust/wintrust.spec, dlls/wow32/wow32.spec, dlls/wsock32/wsock32.spec, dlls/x11drv/x11drv.spec, miscemu/Makefile.in, miscemu/wine.spec, tools/winebuild/README, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c, dlls/user/ddeml.spec, dlls/user/display.spec, dlls/user/keyboard.spec, dlls/user/mouse.spec, dlls/user/user.exe.spec, dlls/user/user32.spec, dlls/version/ver.spec, dlls/version/version.spec, dlls/win32s/w32skrnl.spec, dlls/win32s/w32sys.spec, dlls/win32s/win32s16.spec, dlls/winaspi/winaspi.spec, dlls/winaspi/wnaspi32.spec, dlls/winedos/winedos.spec, dlls/wineps/wineps.spec, dlls/wineps/wineps16.spec, dlls/wininet/wininet.spec, dlls/winmm/joystick/joystick.drv.spec, dlls/winmm/mcianim/mcianim.drv.spec, dlls/winmm/mciavi/mciavi.drv.spec, dlls/winmm/mcicda/mcicda.drv.spec, dlls/winmm/mciseq/mciseq.drv.spec, dlls/winmm/mciwave/mciwave.drv.spec, dlls/winmm/midimap/midimap.drv.spec, dlls/winmm/mmsystem.spec, dlls/winmm/sound.spec, dlls/winmm/wavemap/msacm.drv.spec, dlls/winmm/winearts/winearts.drv.spec, dlls/winmm/winmm.spec, dlls/opengl32/opengl32.spec, dlls/psapi/psapi.spec, dlls/qcap/qcap.spec, dlls/quartz/quartz.spec, dlls/rasapi32/rasapi16.spec, dlls/rasapi32/rasapi32.spec, dlls/richedit/riched32.spec, dlls/rpcrt4/rpcrt4.spec, dlls/serialui/serialui.spec, dlls/setupapi/setupapi.spec, dlls/setupapi/setupx.spec, dlls/shdocvw/shdocvw.spec, dlls/shell32/shell.spec, dlls/shell32/shell32.spec, dlls/shfolder/shfolder.spec, dlls/shlwapi/shlwapi.spec, dlls/snmpapi/snmpapi.spec, dlls/sti/sti.spec, dlls/tapi32/tapi32.spec, dlls/ttydrv/ttydrv.spec, dlls/twain/twain_32.spec, dlls/url/url.spec, dlls/urlmon/urlmon.spec, dlls/msimg32/msimg32.spec, dlls/msisys/msisys.ocx.spec, dlls/msnet32/msnet32.spec, dlls/msrle32/msrle32.spec, dlls/msvcrt/msvcrt.spec, dlls/msvcrt20/msvcrt20.spec, dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo.spec, dlls/netapi32/netapi32.spec, dlls/ntdll/ntdll.spec, dlls/odbc32/odbc32.spec, dlls/ole32/compobj.spec, dlls/ole32/ole2.spec, dlls/ole32/ole2conv.spec, dlls/ole32/ole2nls.spec, dlls/ole32/ole2prox.spec, dlls/ole32/ole2thk.spec, dlls/ole32/ole32.spec, dlls/ole32/storage.spec, dlls/oleaut32/ole2disp.spec, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/typelib.spec, dlls/olecli/olecli.spec, dlls/olecli/olecli32.spec, dlls/oledlg/oledlg.spec, dlls/olepro32/olepro32.spec, dlls/olesvr/olesvr.spec, dlls/olesvr/olesvr32.spec, dlls/imagehlp/imagehlp.spec, dlls/imm32/imm.spec, dlls/imm32/imm32.spec, dlls/kernel/comm.spec, dlls/kernel/kernel32.spec, dlls/kernel/krnl386.exe.spec, dlls/kernel/stress.spec, dlls/kernel/system.spec, dlls/kernel/toolhelp.spec, dlls/kernel/win87em.spec, dlls/kernel/windebug.spec, dlls/kernel/wprocs.spec, dlls/lzexpand/lz32.spec, dlls/lzexpand/lzexpand.spec, dlls/mapi32/mapi32.spec, dlls/mpr/mpr.spec, dlls/msacm/imaadp32/imaadp32.acm.spec, dlls/msacm/msacm.spec, dlls/msacm/msacm32.spec, dlls/msacm/msadp32/msadp32.acm.spec, dlls/msacm/msg711/msg711.acm.spec, dlls/msacm/winemp3/winemp3.acm.spec, dlls/msdmo/msdmo.spec, dlls/advapi32/advapi32.spec, dlls/avicap32/avicap32.spec, dlls/avifil32/avifil32.spec, dlls/avifil32/avifile.spec, dlls/comcat/comcat.spec, dlls/comctl32/comctl32.spec, dlls/commdlg/comdlg32.spec, dlls/commdlg/commdlg.spec, dlls/crtdll/crtdll.spec, dlls/crypt32/crypt32.spec, dlls/dciman32/dciman32.spec, dlls/ddraw/ddraw.spec, dlls/devenum/devenum.spec, dlls/dinput/dinput.spec, dlls/dinput8/dinput8.spec, dlls/dplay/dplay.spec, dlls/dplayx/dplayx.spec, dlls/dsound/dsound.spec, dlls/gdi/dispdib.spec, dlls/gdi/gdi.exe.spec, dlls/gdi/gdi32.spec, dlls/gdi/wing.spec, dlls/glu32/glu32.spec, dlls/icmp/icmp.spec, Make.rules.in: Made some more spec file entries optional or unnecessary. Fixed a few DLLName/DLLFileName mismatches. * server/sock.c: Attempt at fixing POLLHUP handling for Linux 2.2.x. * dlls/oleaut32/tests/vartest.c: Moved succeeding test out of todo block. * files/dos_fs.c: Fixed regression caused by previous change. 2002-06-20 Alexandre Julliard * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/safearray.c, dlls/oleaut32/variant.c: Mike McCormack Fixed ordinals to match the Windows values. Added a couple of stubs. * server/main.c, server/process.c, server/request.c, server/request.h, files/drive.c, files/profile.c, graphics/x11drv/xfont.c, include/wine/library.h, include/wine/server.h, library/Makefile.in, library/config.c, misc/registry.c, scheduler/client.c: Create the server directory and socket file in /tmp. Use fcntl file locking to ensure exclusion on the server socket and to better recover from crashes. Flush the registry before closing the socket to avoid timeouts on the client side. Moved get_config_dir functionality to libwine. * server/object.h, server/registry.c, server/select.c: Store dirty flag in each registry key and use it to save only modified branches. * files/dos_fs.c, files/drive.c: Make sure that DRIVE_FindDriveRoot always returns an absolute path. * programs/Makeprog.rules.in: Added dependency on program symlink for unit tests. * configure, configure.ac, programs/regedit/Makefile.in, programs/regedit/regedit.c, programs/regedit/tests/.cvsignore, programs/regedit/tests/orig.reg, programs/regedit/tests/regedit.pl: Andriy Palamarchuk Added regedit unit test, a couple minor changes to regedit. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/parsedt.c, dlls/oleaut32/parsedt.h, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h, dlls/oleaut32/variant.c, include/wtypes.h: Jason Edmeades - VarAnd, VarCmp (Strings only), VarNot implemented. - VarParseNumFromStr/VarNumFromParseNum handle negative currency numbers. - More VarCmp support (Decimals and Dates). - Date support for VB time only (0.0->1.0), corrected some date rounding and calculation errors around variant dates and the system time. - Variant date support now round trips! (Date->Variant->Date) due to misuse of tm_mon (0..11 not 1..12). - Better pre-1899 support for dates in the SYSTEMTIME format. - VarBstrFromCy, VarCyFromStr implemented. - VarFormat partial implementation (currency and date support). - VarFormatFromTokens, VarTokenizeFormatString partial implementation as per w2k (dates only so far). - Better debugging when dumping variants, and some additional trace points to help debugging. - Fix to VarBstrCmp to handle null and empty string the same (as per w2k, different to msdn). - Fix return from VarDateFromUdate. - Correct definition of CY structure. * loader/pe_image.c, memory/virtual.c: Avoid loading programs into the DOS memory area. * programs/regapi/tests/regapi.pl: Andriy Palamarchuk Removed traces of the regedit unit tests. * dlls/comctl32/tab.c: Guy L. Albertelli - Add routines to dump out tab items internally and externally - Adjust TAB_SetItemBounds to split vertical tabs more like the native. - Document major difference in laying out the vertical tabs. - Fix drawing of icons. Wrong item padding used in vertical case. - Fixed size of horizontal padding. * dlls/oleaut32/tmarshal.c, dlls/oleaut32/typelib.c: Marcus Meissner ITypelib::Invoke: Handle different length arguments better, we also return 1 VARIANT only. * tools/winebuild/Makefile.in: Steven Edwards Portability fix. * dlls/Makedll.rules.in: Steven Edwards Give the import libs a proper name. * include/setupapi.h: Sander van Leeuwen 'class' is a reserved word (C++). 2002-06-14 Alexandre Julliard * documentation/Makefile.in, documentation/winemaker.man, library/Makefile.in, ole/Makefile.in, programs/.cvsignore, programs/Makefile.in, programs/Makeprog.rules.in, programs/winelauncher.in, tools/.cvsignore, tools/Makefile.in, tools/winapi/Makefile.in, tools/winebuild/Makefile.in, tools/winelauncher.in, tools/winemaker.man, tools/wmc/Makefile.in, tools/wrc/Makefile.in, tsx11/Makefile.in, unicode/Makefile.in, Make.rules.in, Makefile.in, dlls/Makefile.in, dlls/make_dlls, dlls/shell32/Makefile.in: Fixed make install target to work even when nothing has been compiled yet. Added install-lib and install-dev targets to allow partial installations; moved winemaker.man and winelauncher.in to better fit in the new install categories. * dlls/kernel/kernel32.spec, if1632/builtin.c, tools/winebuild/build.h, tools/winebuild/spec16.c, tools/winebuild/spec32.c: Unregister 16-bit dlls on module unload. * dlls/advapi32/registry.c: Mike McCormack Implemented recursive RegDeleteKey in Win95 emulation. * dlls/advapi32/advapi.c, dlls/advapi32/advapi32.spec, include/winbase.h: Aric Stewart Added GetCurrentHwProfileA. * objects/text.c: Shachar Shemesh ExtTextOutW: if GetFontLanguageInfo says that the font may require reordering, call GetCharacterPlacementW and print the result. * objects/font.c: Shachar Shemesh - Implemented a skeleton for GetFontLanguageInfo. Using const masks to match against the result of GetTextCharsetInfo. Not all attributes are implemented yet. - Enhanced the implementation of GetCharacterPlacementW to support basic reordering. Not implementing the full BiDi algorithm yet. * dlls/kernel/nls/heb.nls: Shachar Shemesh Changed the country's name to "IL" to conform to commonly held practices. * windows/spy.c: Guy L. Albertelli - Dump out the TCITEM structure for appropriate messages. - Dump out the rectangle for the TCM_ADJUSTRECT message. * dlls/comctl32/propsheet.c: Guy L. Albertelli Support images on the tabs of pages that are added (not just the first). * dlls/Makedll.rules.in, dlls/Makefile.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/make_dlls, dlls/ntdll/Makefile.in, dlls/user/Makefile.in, dlls/winspool/Makefile.in, dlls/x11drv/Makefile.in: Removed install_libdir targets and centralized the symlinks creation in the main dll makefile. * configure, configure.ac, dlls/Makefile.in, dlls/dinput/device.c, dlls/dinput/device_private.h, dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c, dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c, dlls/dinput8/.cvsignore, dlls/dinput8/Makefile.in, dlls/dinput8/dinput8.spec, dlls/dinput8/dinput8_main.c, include/d3dtypes.h, include/dinput.h: Ove Kaaven - support DirectInput 8 interfaces. - implemented mouse wheel support. * dlls/oleaut32/tmarshal.c: Marcus Meissner Handle argsize for VT_DATE. * dlls/ntdll/file.c: Mike McCormack Partially implement NtOpenFile and NtReadFile. * dlls/x11drv/event.c, dlls/x11drv/mouse.c, dlls/x11drv/window.c, dlls/x11drv/x11drv_main.c, include/x11drv.h: Update the cursor for each window on receiving an X11 event, don't wait for the SetCursor call. Added EnterNotify handler to set the cursor on window map/unmap. * include/queue.h, windows/cursoricon.c: Store the current cursor in the thread queue instead of globally. * dlls/comctl32/progress.c: Dmitry Timoshkov Cosmetic fix. * dlls/gdi/Makefile.in, dlls/gdi/enhmfdrv/bitblt.c, dlls/gdi/enhmfdrv/init.c: Huw D M Davies Added PatBlt support in enhanced metafiles. 2002-06-13 Alexandre Julliard * objects/gdiobj.c: Dmitry Timoshkov Fixed the names of some stock fonts. * dlls/sti/sti.spec, dlls/sti/sti_main.c: Aric Stewart Stub for StiCreateInstance. * dlls/ole32/storage.c, dlls/setupapi/queue.c, dlls/user/lstr.c, dlls/x11drv/winpos.c, graphics/path.c: Mike McCormack Jeremy White Fixed memory leaks. * dlls/ddraw/version.rc: Dmitry Timoshkov Fixed version info. * dlls/comctl32/toolbar.c: François Gouget Fix handling of strings that do not finish with "||". Fix the indentation of the while loop in TOOLBAR_AddStringW. * dlls/crypt32/crypt32.spec, dlls/crypt32/main.c: Mike McCormack Added a few stubs. * dlls/kernel/nls/bgr.nls: Dmitry Timoshkov Added Bulgarian NLS definitions (with the help of Anton Zinoviev). * scheduler/client.c, scheduler/process.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_sparc.c: François Gouget Reset signals to SIG_DFL before starting a child process. * windows/painting.c: Dmitry Timoshkov Avoid crashes if window belongs to another process. * relay32/builtin32.c: Make builtins pretend to be loaded from the system directory. * loader/pe_image.c: Don't go through the export table if we are not tracing anything. * dlls/setupapi/parser.c: For lines that contain a single field, the field is also the line key (thanks to Aric Stewart). * dlls/setupapi/install.c: Aric Stewart When processing the reg section we need to delete before adding. First pass implementation of UpdateIni. * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Mike McCormack Added an empty implementation for UuidFromStringA/W. * dlls/ntdll/heap.c: Restored MakeCriticalSectionGlobal that got lost somewhere. * dlls/ntdll/cdrom.c: Don't try to open CDROM device if none was specified. * dlls/kernel/time.c: Ulrich Czekalla Added support for CAL_ITWODIGITYEARMAX. * dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c: struct _stat layout is different between crtdll and msvcrt. * dlls/commdlg/printdlg.c: Store print dlg structure in a property instead of DWL_USER. * dlls/avicap32/avicap32.spec, dlls/avicap32/avicap32_main.c: Dmitry Timoshkov Added stubs for capGetDriverDescription. * debugger/debug.l, debugger/memory.c, debugger/types.c: Added /g debug format to dump GUIDs. * debugger/debugger.h, debugger/source.c, debugger/winedbg.c: Don't ask for source file in auto mode. * ole/ole2nls.c: Paul Millar Fix use of LOCALE_NOUSEROVERRIDE flag in GetNumberFormatA and GetCurrencyFormatA. * controls/combo.c, controls/edit.c, controls/listbox.c: Make sure edit and listbox controls are of same ASCII/Unicode style as the combo box. Fixed a few MBCS issues with WM_GETTEXTLENGTH handling. * dlls/dsound/Makefile.in, dlls/dsound/buffer.c, dlls/dsound/capture.c, dlls/dsound/dsound.spec, dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/mixer.c, dlls/dsound/primary.c, dlls/dsound/propset.c, dlls/dsound/sound3d.c, include/dsound.h: Ove Kaaven Support DirectSound 8 interfaces. Split interface implementations into separate files. Split primary buffer and secondary buffer interfaces into separate implementations. Made the primary buffer state part of the dsound object, so primary buffer objects can be created and refcounted independently. Made the interfaces follow COM aggregation rules more closely. Converted the dsound critical section to a R/W lock to improve potential remixing concurrency. Fixed various bugs and refcounting issues. * dlls/comcat/Makefile.in, dlls/comcat/comcat.h, dlls/comcat/comcat.spec, dlls/comcat/comcat_main.c, dlls/comcat/information.c, dlls/comcat/register.c, dlls/comcat/regsvr.c, dlls/comcat/regsvr.h: John K. Hohm Completed implementation of comcat.dll, incl. Dll[Un]RegisterServer. * programs/regsvr32/Makefile.in: Don't use msvcrt. * programs/regsvr32/regsvr32.c: Gregg Mattinson Replaced stricmp/strnicmp with strcasecmp/strncasecmp. * dlls/x11drv/desktop.c: Uwe Bonnes Display the name of the started process in the desktop title. * objects/gdiobj.c: Won Kyu Park Fixed defaultGuiFont for Korean. * dlls/comctl32/propsheet.c: Guy L. Albertelli - Correct page rectangle calculation. - Improve traces. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec: Peter Hunnisett Ove Kaaven - check for sockaddr being NULL. - hackish implementation of WSADuplicateSocket. 2002-06-10 Alexandre Julliard * dlls/x11drv/keyboard.c: David Hammerton MapVirtualKey actually returns uppercase keys in Windows. * windows/message.c: David Hammerton Peter Hunnisett - Fix TranslateMessage return code. - Make GetKeyState work properly for apps that test 0x80 instead of 0x8000. * dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h: Huw D M Davies Add more magic to find the start of the nametable. * dlls/gdi/driver.c, dlls/gdi/enhmfdrv/init.c, dlls/gdi/mfdrv/init.c, dlls/gdi/win16drv/graphics.c, dlls/gdi/win16drv/init.c, dlls/gdi/win16drv/win16drv.h, dlls/ttydrv/dc.c, dlls/ttydrv/graphics.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/wnd.c, dlls/wineps/init.c, dlls/wineps/wineps.spec, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.spec, dlls/x11drv/xrender.c, graphics/x11drv/bitblt.c, graphics/x11drv/clipping.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, graphics/x11drv/init.c, graphics/x11drv/text.c, include/gdi.h, include/x11drv.h, objects/clipping.c, objects/dc.c, objects/region.c: Moved DC origin into device-specific structure. Fixed handling of DC origin in X11 driver. * dlls/msacm/imaadp32/imaadp32.c: David D. Hagood ADPCM nybble processing order was incorrect. * dlls/user/text.c: Paul Rupe Faster performance in TEXT_Ellipsify for long strings. * dlls/comctl32/listview.c: Paul Rupe Support for LVM_SUBITEMHITTEST; check for out-of-bounds subitem index in LISTVIEW_GetSubItemRect. * dlls/shell32/dialogs.c, 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_Eo.rc, dlls/shell32/shell32_Es.rc, dlls/shell32/shell32_Fi.rc, dlls/shell32/shell32_Fr.rc, dlls/shell32/shell32_Hu.rc, dlls/shell32/shell32_It.rc, dlls/shell32/shell32_Ja.rc, dlls/shell32/shell32_Ko.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_Sk.rc, dlls/shell32/shell32_Sv.rc, dlls/shell32/shell32_Wa.rc, dlls/shell32/shell32_Zh.rc: Nix N. Nix Added RunFileDlg with MRU list. Added template to all .rc files. * documentation/bugs.sgml: Tony Lambregts Some grammar fixes. * dlls/comctl32/comctl_Ko.rc, dlls/comctl32/rsrc.rc, dlls/commdlg/cdlg_Ko.rc, dlls/user/resources/user32_Ko.rc, dlls/wineps/rsrc.rc, dlls/wineps/wps_Ko.rc: Won-kyu Park Added Korean resources. * dlls/commdlg/filedlg95.c: Sander van Leeuwen - Save and restore current directory in GetFileDialog95W if OFN_NOCHANGEDIR flag set. - GetFileDialog95W: only convert ofn->lpTemplateName if it's a string resource id (fixes OpenOffice 1.0 file open dialog crash). - Ignore OFN_FILEMUSTEXIST flag for save file dialog (fixes save dialog in ElstarFormular). - Rewrote casts that some compilers don't accept. * documentation/samples/config: Marcus Meissner Changed DllOverrides so we use builtin rpcrt4, ole32, oleaut32. * dlls/oleaut32/tmarshal.c: Marcus Meissner Merged the two serializer and unserializer functions into one, cleaned them up. VT_PTR: Handle NULL pointers by sending a cookie. Added support for: VT_CARRAY, VT_DISPATCH, TKIND_RECORD, VT_VOID, VT_UI1, VT_UI2, VT_ERROR, VT_UI4, VT_UINT. Added a custom serializer for DISPPARAMS struct. * dlls/oleaut32/typelib.c: Marcus Meissner Added some debugoutput functions for TYPEATTR, IDLDESC, VARDESC. Support more parameters in _invoke (needed for IDispatch::Invoke in the marshaller). * dlls/shell32/shellole.c: Sander van Leeuwen Handle ascii & unicode drag and drop structures in DragQueryFileA & DragQueryFileW. * dlls/opengl32/wgl.c, include/wingdi.h: Jesse Allen Lionel Ulmer Added implementation of wglSwapLayerBuffers. * dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec: Mike McCormack - Partially implement LdrGetDllHandle. - Implement LdrGetProcedureAddress. * documentation/README.fr: Vincent Béron Updated so it's in line with README. 2002-06-05 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20020605. ---------------------------------------------------------------- 2002-06-05 Alexandre Julliard * documentation/README.fr: Vincent Béron Updated README.fr so it's in line with README. * dlls/kernel/comm.c: Marcelo Welter Added PCF_TOTALTIMEOUTS to comm properties. * README: Gerald Pfeifer Update FreeBSD-related notes. * dlls/kernel/tests/file.c, files/file.c: Check access rights before renaming or deleting files (based on patches by Uwe Bonnes and Dmitry Timoshkov). * documentation/README.fr: Jean-Bruno Luginbühl French translation of the README file. 2002-06-04 Alexandre Julliard * dlls/shlwapi/Makefile.in, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, dlls/shlwapi/wsprintf.c, dlls/user/user32.spec, dlls/user/wsprintf.c, include/winuser.h: Duplicated wsprintf implementation in shlwapi. * documentation/configuring.sgml, documentation/fonts.sgml, documentation/implementation.sgml, documentation/installing.sgml, documentation/samples/config, documentation/wine.conf.man, README: Andreas Mohr Documentation improvements. * controls/menu.c: Andreas Mohr Only allow tabs in popup menus, and make sure to never display them. * dlls/ole32/oleproxy.c, dlls/oleaut32/tmarshal.c, winedefault.reg: Marcus Meissner Added marshalling of IUnknown. * tools/winapi_check/modules.dat, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/msg711.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/setupapi.api, tools/winapi_check/win32/ttydrv.api, tools/winapi_check/win32/user32.api, tools/winapi_check/win32/winemp3.api, tools/winapi_check/win32/x11drv.api, tools/winapi_check/winapi_parser.pm: Patrik Stridvall API files update. * dlls/kernel/tests/locale.c, dlls/setupapi/devinst.c, scheduler/process.c: Patrik Stridvall Fixed some issues found by winapi_check. * debugger/winedbg.c, win32/except.c, winedefault.reg: Added --debugmsg option to the debugger. * configure, configure.ac, programs/Makefile.in, programs/winefile/.cvsignore, programs/winefile/De.rc, programs/winefile/En.rc, programs/winefile/Makefile.in, programs/winefile/license.c, programs/winefile/resource.h, programs/winefile/resource.rc, programs/winefile/rsrc.rc, programs/winefile/splitpath.c, programs/winefile/winefile.c, programs/winefile/winefile.h: Merged Martin Fuchs' file manager (with the help of Steven Edwards). * relay32/relay386.c: Check if relay debugging is still on before printing something. * dlls/commdlg/filedlg95.c: Jason Edmeades nitialDir handling and InitialFile handling now agrees with MSDN description, and testing on win2000 appears to agree. ilename field not cleared when directory selected/clicked on. OFN_NOVALIDATE field no longer causes traps, and appears to behave as per w2k. * loader/ne/module.c: Don't free the stack selector, it's freed in ExitThread anyway (thanks to Christian Costa). * dlls/Makefile.in, dlls/msacm/winemp3/.cvsignore, dlls/msacm/winemp3/Makefile.in, dlls/msacm/winemp3/common.c, dlls/msacm/winemp3/dct64_i386.c, dlls/msacm/winemp3/decode_i386.c, dlls/msacm/winemp3/huffman.h, dlls/msacm/winemp3/interface.c, dlls/msacm/winemp3/l2tables.h, dlls/msacm/winemp3/layer1.c, dlls/msacm/winemp3/layer2.c, dlls/msacm/winemp3/layer3.c, dlls/msacm/winemp3/mpegl3.c, dlls/msacm/winemp3/mpg123.h, dlls/msacm/winemp3/mpglib.h, dlls/msacm/winemp3/tabinit.c, dlls/msacm/winemp3/winemp3.acm.spec, configure, configure.ac: Eric Pouech Implemented a MP3 decoder (based on mpglib). * documentation/samples/config, if1632/relay.c, include/wine/library.h, library/debug.c, misc/options.c, relay32/relay386.c, relay32/snoop.c, scheduler/process.c, windows/spy.c: Moved specification of relay and snoop include/exclude functions to the config file. Changed spy config a bit to follow the same scheme. Moved debug option parsing routine into libwine. * include/font.h, include/gdi.h, include/metafile.h, include/wine/wingdi16.h, objects/enhmetafile.c, objects/font.c, objects/metafile.c, dlls/gdi/freetype.c, dlls/gdi/mfdrv/init.c, graphics/x11drv/xfont.c: Better encapsulation of the font and metafile objects. * Makefile.in: Marcus Meissner Warn the user if 'wine' will not find its libraries after installation on 'make install'. * dlls/ole32/rpc.c: Bill Medland Fixed incorrect pointer-cast arithmetic. Extended ole trace information. Don't lose the existing pipes on alloc failure. * dlls/shell32/.cvsignore, dlls/shell32/Makefile.in, dlls/shell32/shell.spec, dlls/shell32/version16.rc: Johan Gill Added version info to 16-bit shell.dll. * dlls/comctl32/status.c: Gerald Pfeifer Warning fix. * dlls/winmm/mmsystem.c: Eric Pouech Fixed another regression in PlaySound. * include/winbase.h: Warren Turkal More stream definitions. * dlls/oleaut32/typelib.c, dlls/winmm/mci.c: Steven Edwards Porting fixes. 2002-06-02 Alexandre Julliard * include/color.h, include/gdi.h, include/palette.h, include/wine/wingdi16.h, include/wingdi.h, include/x11drv.h, objects/color.c, objects/palette.c, dlls/gdi/Makefile.in, dlls/gdi/driver.c, dlls/gdi/enhmfdrv/init.c, dlls/gdi/mfdrv/init.c, dlls/gdi/win16drv/init.c, dlls/ttydrv/palette.c, dlls/ttydrv/ttydrv.spec, dlls/x11drv/x11drv.spec, graphics/x11drv/brush.c, graphics/x11drv/init.c, graphics/x11drv/palette.c: Better separation of the palette functions. Removed the palette driver. * dlls/ntdll/signal_i386.c: Eric Pouech Fixed DebugBreakProcess (now generates EXCEPTION_BREAKPOINT instead of EXCEPTION_SINGLE_STEP). * debugger/dbg.y, debugger/debugger.h, debugger/info.c: Eric Pouech Added ability to turn on/off debug channels. Reimplemented the info maps command. * dlls/x11drv/mouse.c, dlls/x11drv/winpos.c, include/cursoricon.h, windows/cursoricon.c, windows/win.c: Removed CURSORICON_IconToCursor now that we support color cursors. * dlls/comcat/Makefile.in, dlls/comcat/comcat.h, dlls/comcat/information.c: John K. Hohm Complete ICatInformation implementation. * include/ntddk.h: Mike McCormack Declare NtCreateFile(), NtOpenFile() and NtReadFile(). * dlls/shell32/shellole.c: Sander van Leeuwen Fixed wrong cast; MSDN says lpDropFileStruct->pFiles is offset in bytes (regardless of ascii/unicode). * tools/wineinstall: Andriy Palamarchuk Corrected installation of the wine applications, fixed call to regedit. * tools/bin2res.c: Steven Edwards Portability fix. * dlls/ntdll/signal_i386.c, dlls/ntdll/signal_sparc.c, include/wine/server_protocol.h, server/console.c, server/process.c, server/process.h, server/protocol.def, server/request.h, server/trace.c, win32/console.c: Eric Pouech Implementation for console control events (includes process groups support). * programs/wineconsole/user.c: Eric Pouech Fixed some selection bugs. * debugger/break.c: Eric Pouech Really enter the debugger when DebugBreak(Process) is invoked on debuggee. * debugger/winedbg.c: Eric Pouech Added ctrl-c support. * win32/editline.c: Eric Pouech Better too long lines detection, added del key support in emacs mode. * dlls/dinput/dinput_private.h, dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c, dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c, include/dinput.h: Vincent Béron - Made sure const LP were actually const in dinput.h. - Uniformized the {A,W} declarations of some structures. * tools/findfunc: Vincent Béron Show in which file the function is actually implemented, as well as the header in which it is defined. 2002-06-01 Alexandre Julliard * */*: Removed some more trailing whitespace. * library/README.resources: Removed obsolete README. * tools/winedump/pe.c: Added fallback read() for missing/failing mmap(). 2002-05-31 Alexandre Julliard * */*: Vincent Béron Removed trailing whitespace. * dlls/x11drv/mouse.c: Avoid division by zero (thanks to David Ronis). * objects/palette.c, objects/pen.c, objects/region.c, windows/painting.c, dlls/gdi/mfdrv/init.c, dlls/gdi/win16drv/init.c, dlls/ttydrv/bitmap.c, dlls/ttydrv/dc.c, dlls/ttydrv/objects.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv.spec, dlls/x11drv/Makefile.in, dlls/x11drv/window.c, dlls/x11drv/x11drv.spec, graphics/mapping.c, graphics/painting.c, graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/dib.c, graphics/x11drv/init.c, graphics/x11drv/objects.c, include/bitmap.h, include/brush.h, include/font.h, include/gdi.h, include/palette.h, include/pen.h, include/region.h, include/wine/wingdi16.h, include/x11drv.h, objects/bitmap.c, objects/brush.c, objects/dc.c, objects/dib.c, objects/enhmetafile.c, objects/font.c, objects/gdiobj.c, objects/metafile.c, dlls/gdi/driver.c, dlls/gdi/enhmfdrv/init.c: Added function table to GDI objects for better encapsulation. Removed some direct accesses to the bitmap structure. Fixed handling of stock bitmap if selected in multiple DCs. Some minor fixes to the DC function table. * server/user.c: Fixed next_user_handle to also work on deleted handles. * programs/regedit/Makefile.in: Andriy Palamarchuk Use native libc functions instead of msvcrt ones. * dlls/x11drv/keyboard.c: Shachar Shemesh Added Israeli Hebrew keyboard, and fixed a problem in the matching of characters against dead keys. 2002-05-30 Alexandre Julliard * dlls/ntdll/ntdll.spec, dlls/x11drv/x11drv_main.c, files/file.c, include/file.h, include/wine/server.h, scheduler/client.c, scheduler/process.c: Added wine_server_fd_to_handle to replace FILE_DupUnixHandle. * dlls/comctl32/imagelist.c: Sander van Leeuwen Match behaviour of ImageList_LoadImageA wrt cx parameter (when set to zero). * win32/device.c: Gerald Pfeifer Fixed warnings. * tools/wmc/Makefile.in, tools/wrc/Makefile.in: Steven Edwards Fixes for building on mingw. * tools/make_requests, include/wine/server.h, include/wine/server_protocol.h, programs/wineconsole/wineconsole.c, scheduler/client.c, server/console.c, server/console.h, server/debugger.c, server/event.c, server/file.c, server/handle.c, server/handle.h, server/mapping.c, server/named_pipe.c, server/object.h, server/pipe.c, server/process.c, server/process.h, server/protocol.def, server/registry.c, server/request.c, server/request.h, server/semaphore.c, server/serial.c, server/smb.c, server/sock.c, server/thread.c, server/thread.h, server/trace.c, server/window.c: Renamed handle_t to obj_handle_t to avoid conflict with rpcdce.h. * tools/bug_report.pl: Tony Lambregts Removed -managed option. * dlls/ntdll/cdrom.c: Portability fixes. * dlls/kernel/time.c, files/dos_fs.c, include/winbase.h: Vincent Béron - Fixed GetSystemTimeAdjustment prototype and added it to winbase.h. - Fixed DosDateTimeToFileTime, FileTimeToDosDateTime, LocalFileTimeToFileTime, FileTimeToLocalFileTime and SystemTimeToFileTime. 2002-05-29 Alexandre Julliard * dlls/comcat/Makefile.in, dlls/comcat/comcat.h, dlls/comcat/information.c, dlls/comctl32/ipaddress.c, dlls/comctl32/updown.c, include/ntddk.h: Replaced swprintf by wsprintfW. * dlls/ole32/compobj.c, dlls/ole32/rpc.c: Bill Medland Ensure that an out-of-process COM object is started only once. Allow out-of-process COM objects if request is for in-or-out-of-process. * dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/dsurface/dib.c, dlls/oleaut32/variant.c, dlls/shlwapi/reg.c, graphics/x11drv/xfont.c, tools/winedump/README: Vincent Béron Fixed some more missing \n in traces. * dlls/comctl32/status.c: Sander van Leeuwen - Check for valid part nr in STATUSBAR_GetTextLength. - TRACE fix in STATUSBAR_SetTextT; SBT_OWNERDRAW pointer isn't always a string pointer. * dlls/ole32/compobj.c: Marcus Meissner Dropped superflous Remote_CoGetClassObject() (entirely contained in create_marshalled_proxy()). * dlls/winmm/mmsystem.c, dlls/winmm/winemm.h: Eric Pouech Some other synchronisation issues. * dlls/kernel/time.c, dlls/ntdll/time.c: Fixed some alignment issues (based on a patch by Gregg Mattinson). * ole/ole2nls.c: Fixed buffer handling of some locale functions (based on a patch by Mehmet Yasar). * dlls/kernel/tests/file.c: Jakob Eriksson Removed redundant checks and variables, fixed some tests, some cosmetic changes. * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/locale.c: Fixed some tests that were failing under Wine. * include/basetsd.h, include/winbase.h, include/winnt.h: Moved WORDS_BIGENDIAN macros to basetsd.h. Fixed FILETIME definition for big-endian. * graphics/x11drv/palette.c: Gregg Mattinson Replaced 0 by -1 to indicate free entry in X11DRV_PALETTE_XPixelToPalette. * include/winnt.h: Gregg Mattinson Fixed the LARGE_INTEGER and ULARGE_INTEGER unions for big endian. * dlls/comctl32/tab.c: Guy L. Albertelli - Fixed drawing of borders to that of native (uses DrawEdge). - Fixed drawing of separators to match the native. - Fixed height of tabs and buttons to match native. - Add/improved traces. - Handle WM_SYSCOLORCHANGE message. * dlls/winmm/mmsystem.c: Eric Pouech Check for NULL ptr in midiStreamOut. * dlls/kernel/Makefile.in, dlls/kernel/tests/locale.c: Mehmet Yasar Added test for locale functions. 2002-05-28 Alexandre Julliard * tools/winewrapper: Eric Pouech Added the ability to add local configuration to winewrapper. * dlls/gdi/enhmfdrv/dc.c, dlls/gdi/enhmfdrv/graphics.c, dlls/gdi/mfdrv/graphics.c: A few fixes in ExtSelectClipRgn metafile functions. * windows/winpos.c: Andreas Mohr Fixed a memory leak in find_child_from_point(). * include/setupapi.h: Mike McCormack Stub implementations of some functions. * dlls/dsound/dsound_main.c, documentation/samples/config: Johan Gill Only enumerate DirectSound devices if the first sound device in the system supports the Wine implementation of DirectSound. Also added some entries to the sample config file and changed the values of the "EmulDriver" key to "Y"/"N". * dlls/winedos/int10.c, include/miscemu.h, msdos/dosmem.c: Christian Costa The SVGA block code was not accessible (AH and AL inverted). Fixed. Removed duplicate VESA Get SuperVGA INFORMATION function. Fix and finish its implementation. Add 2 functions to managed structures in the BiosSys segment. * dlls/winspool/info.c, programs/avitools/aviinfo.c, programs/avitools/aviplay.c: Vincent Béron Fixed warnings. * dlls/comctl32/propsheet.c: Maciek Kaliszewski Fixed memory allocation bug in PROPSHEET_CollectPageInfo. * dlls/winmm/mmsystem.c: Sander van Leeuwen mixerGetControlDetailsW: translate strings for MIXER_GETCONTROLDETAILSF_LISTTEXT option. * include/winbase.h: Warren Turkal Added structures and some constants for stream handling. * dlls/setupapi/devinst.c, dlls/setupapi/setupapi.spec: Mike McCormack Stub implementations of some functions. * files/file.c: Jason Edmeades Silence fixme in unnecessary situation, add missing \n to another fixme. 2002-05-25 Alexandre Julliard * dlls/ttydrv/wnd.c, dlls/x11drv/winpos.c, dlls/x11drv/xrender.c, graphics/x11drv/clipping.c, graphics/x11drv/graphics.c, graphics/x11drv/text.c, include/gdi.h, include/region.h, include/x11drv.h, objects/clipping.c, objects/gdiobj.c, objects/region.c, windows/dce.c, windows/winpos.c, dlls/gdi/mfdrv/graphics.c: Removed dependencies on the internals of the region object. Do not store the region type in the object, it's trivial to determine from the rectangle count. Rewrote a few routines to not depend on internal clipping or region functions. * win32/device.c: Andreas Mohr - Add some undocumented ioctl mappings. - Correct OpenVxDHandle prototype, document it, have a try at returning a Ring 3 handle and make FIXME more verbose. * debugger/winedbg.c: Eric Pouech Fixed cont/pass mismatch. * debugger/dbg.y, debugger/debugger.h, debugger/expr.c, debugger/info.c, debugger/memory.c, debugger/types.c, debugger/winedbg.c: Eric Pouech Hacked unicode printing feature (x /u). Made the type casts a bit more robust. * server/process.c, server/process.h: Fixed process startup synchronization broken by previous change. * dlls/msvcrt/msvcrt.spec: Fixed typo in iswalpha forward. * tools/winebuild/import.c: Only add extra symbols if they are not already exported by this dll. * debugger/winedbg.c: Eric Pouech Fixed wine exec file location after startup modifications. * misc/version.c: Andreas Mohr - Use Win98 SE values for WIN98 setting. - Win ME is DOS 8.00. - Rename variable defaultWinVersion to forcedWinVersion. - VERSION_GetSystemDLLVersion(): add W2K/XP support, add "unknown" warning. 2002-05-24 Alexandre Julliard * configure.ac, Make.rules.in, configure: No longer need a special LDCOMBINE for cygwin/mingw. * include/wine/server_protocol.h, memory/environ.c, scheduler/process.c, server/debugger.c, server/process.c, server/process.h, server/protocol.def, server/ptrace.c, server/trace.c: A few optimizations in the process startup requests now that Winelib apps are started differently from Unix ones. * dlls/imm32/imm.c, dlls/ntdll/cdrom.c, dlls/shlwapi/reg.c, dlls/winedos/dosvm.c, graphics/x11drv/graphics.c, graphics/x11drv/xfont.c, msdos/ppdev.c, objects/region.c, windows/sysparams.c, dlls/advapi32/crypt.c, dlls/comctl32/commctrl.c, dlls/dinput/keyboard/main.c, dlls/gdi/freetype.c: James Juran Add missing \n to output messages. * graphics/x11drv/opengl.c: Lionel Ulmer Support querying of number of visuals without reporting an error or crashing. * dlls/kernel/kernel32.spec, include/winbase.h, misc/version.c: Vincent Béron Partial implementation of VerifyVersionInfo{A,W}. 2002-05-23 Alexandre Julliard * misc/main.c, misc/registry.c, msdos/dosconf.c, msdos/int11.c, msdos/int1a.c, msdos/int21.c, msdos/ioports.c, objects/font.c, ole/ole2nls.c, programs/progman/string.c, scheduler/process.c, win32/console.c, dlls/winedos/module.c, dlls/x11drv/event.c, files/directory.c, files/dos_fs.c, files/drive.c, files/profile.c, include/file.h, include/options.h, loader/loadorder.c: Removed most inclusions of options.h. Removed a few no longer used PROFILE_* functions. * dlls/winspool/info.c, documentation/Makefile.in, documentation/installation-und-konfiguration.german, documentation/running.sgml, documentation/samples/config, documentation/wine.man.in, misc/options.c, misc/version.c, win32/device.c: Replaced -dosver and -winver options by config file parameters. * dlls/make_dlls, dlls/Makefile.in: Restored the library file intermediate step for symlink dependencies. * dlls/x11drv/window.c, dlls/x11drv/x11drv_main.c, include/x11drv.h: Restored managed mode config file option. * tools/wineshelllink: Dustin Navea Support for KDE3. * tools/wineinstall: Dustin Navea Added creation of c:/windows/fonts and c:/windows/Start Menu/Programs/Startup. * dlls/kernel/tests/file.c: Francois Gouget Improve the failure messages. * include/wine/port.h, loader/ne/module.c, loader/ne/resource.c, loader/task.c, memory/environ.c, tools/winebuild/spec16.c, windows/class.c, dlls/dplayx/dplay.c, dlls/gdi/freetype.c, dlls/ntdll/heap.c, dlls/wineps/truetype.c, include/user.h: Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian issues. * dlls/Makefile.in, dlls/make_dlls: Run make clean in all directories, even the ones we don't compile in. Simplified sub-directories rules a bit. * dlls/ddraw/Makefile.in, dlls/ttydrv/Makefile.in, dlls/winedos/Makefile.in, dlls/winmm/mcicda/Makefile.in, dlls/winmm/mciseq/Makefile.in, dlls/winmm/mciwave/Makefile.in: Removed some unnecessary imports. * Makefile.in: Fixed etags rule. * dlls/x11drv/event.c, dlls/x11drv/window.c, dlls/x11drv/x11drv_main.c, documentation/wine.man.in, graphics/x11drv/graphics.c, include/options.h, misc/options.c: Dimitrie O. Paun Remove the --managed option, and make wine use the managed mode by default. * dlls/oleaut32/typelib.c, dlls/setupapi/setupx_main.c, misc/registry.c: Andreas Mohr Removed obsolete email address. * dlls/kernel/tests/alloc.c, dlls/kernel/tests/file.c, dlls/kernel/tests/process.c, dlls/kernel/tests/thread.c, dlls/oleaut32/tests/vartest.c, dlls/shlwapi/tests/shreg.c, dlls/user/tests/class.c, dlls/user/tests/wsprintf.c, dlls/winsock/tests/sock.c: Francois Gouget Make the tests compile with Visual C++. * include/mapicode.h, include/mapidefs.h, include/winbase.h: Francois Gouget Include winerror.h if in Winelib mode. 2002-05-22 Alexandre Julliard * tools/winapi_check/win32/avicap32.api, tools/winapi_check/win32/msg711.api, tools/winapi_check/win32/msrle32.api, tools/winapi_check/win32/quartz.api: Avoid 0-byte files. * programs/avitools/Makefile.in, programs/winetest/Makefile.in, programs/winetest/runtest, scheduler/client.c, scheduler/process.c, tools/winewrapper, win32/console.c, .cvsignore, Make.rules.in, Makefile.in, dlls/Makedll.rules.in, dlls/x11drv/clipboard.c, documentation/Makefile.in, documentation/samples/config, documentation/wine.man.in, include/module.h, include/wine/library.h, library/loader.c, loader/module.c, miscemu/.cvsignore, miscemu/Makefile.in, programs/.cvsignore, programs/Makefile.in, programs/Makeprog.rules.in, programs/wineapploader.in, winedefault.reg: New loading scheme for Winelib apps, makes them behave like builtin dlls and takes load order into account. Install them in dlldir. Improved MODULE_GetBinaryType to recognize ELF binaries. Added a wrapper script to setup the environment when running directly from inside the source tree. * Make.rules.in, aclocal.m4, configure, configure.ac: Added check for ln. * dlls/Makefile.in, dlls/msacm/msadp32/.cvsignore, dlls/msacm/msadp32/Makefile.in, dlls/msacm/msadp32/msadp32.acm.spec, dlls/msacm/msadp32/msadp32.c, documentation/samples/system.ini, configure.ac, configure: Eric Pouech Created an ACM MS ADPCM codec. * dlls/winmm/wineoss/midi.c, dlls/winmm/wineoss/mixer.c, dlls/winmm/wineoss/mmaux.c, dlls/winsock/async.c, dlls/winsock/socket.c, dlls/wsock32/socket.c, dlls/x11drv/wineclipsrv.c, msdos/ppdev.c, dlls/avifil32/avifile.c, dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c, dlls/shdocvw/shdocvw_main.c, dlls/winedos/int31.c, dlls/winmm/wineoss/audio.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/win16/avifile.api, tools/winapi_check/win32/avicap32.api, tools/winapi_check/win32/avifil32.api, tools/winapi_check/win32/comcat.api, tools/winapi_check/win32/imaadp32.api, tools/winapi_check/win32/imm32.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/msg711.api, tools/winapi_check/win32/msrle32.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/quartz.api, tools/winapi_check/win32/shdocvw.api, tools/winapi_check/win32/urlmon.api, tools/winapi_check/win32/user32.api, tools/winapi_check/win32/wineps.api: Patrik Stridvall API files update. * dlls/winmm/mmsystem.c, dlls/winmm/winemm.h: Eric Pouech Fixed hang in PlaySound in error cases; added registry lookup for sounds. * dlls/winsock/tests/sock.c, include/Makefile.in, include/mswsock.h, include/winsock.h: Francois Gouget Add mswsock.h, move relevant definitions to this header. 2002-05-21 Alexandre Julliard * programs/winepath/Makefile.in, programs/winetest/.cvsignore, programs/winetest/Makefile.in, programs/winhelp/.cvsignore, programs/winhelp/Makefile.in, programs/winver/.cvsignore, programs/winver/Makefile.in, scheduler/process.c, programs/cmdlgtst/.cvsignore, programs/cmdlgtst/Makefile.in, programs/control/.cvsignore, programs/control/Makefile.in, programs/expand/.cvsignore, programs/expand/Makefile.in, programs/notepad/.cvsignore, programs/notepad/Makefile.in, programs/osversioncheck/.cvsignore, programs/osversioncheck/Makefile.in, programs/progman/.cvsignore, programs/progman/Makefile.in, programs/regapi/.cvsignore, programs/regapi/Makefile.in, programs/regedit/.cvsignore, programs/regedit/Makefile.in, programs/regsvr32/.cvsignore, programs/regsvr32/Makefile.in, programs/regtest/.cvsignore, programs/regtest/Makefile.in, programs/uninstaller/.cvsignore, programs/uninstaller/Makefile.in, programs/view/.cvsignore, programs/view/Makefile.in, programs/wcmd/.cvsignore, programs/wcmd/Makefile.in, programs/wineconsole/.cvsignore, programs/wineconsole/Makefile.in, programs/winemine/.cvsignore, programs/winemine/Makefile.in, programs/winepath/.cvsignore, Make.rules.in, debugger/.cvsignore, debugger/Makefile.in, dlls/kernel/tests/.cvsignore, dlls/oleaut32/tests/.cvsignore, dlls/shlwapi/tests/.cvsignore, dlls/user/tests/.cvsignore, dlls/winsock/tests/.cvsignore, programs/Makeprog.rules.in, programs/avitools/.cvsignore, programs/avitools/Makefile.in, programs/clock/.cvsignore, programs/clock/Makefile.in: Renamed Winelib apps to .exe.so to follow the dll naming convention. * include/commctrl.h, include/shlwapi.h: Francois Gouget Test for IStream_IMETHODS before defining APIs that need the IStream interface (like on Windows). * dlls/winaspi/aspi.c: Steven Edwards Check for sys/ioctl.h. * dlls/Makefile.in, dlls/msacm/msg711/.cvsignore, dlls/msacm/msg711/Makefile.in, dlls/msacm/msg711/msg711.acm.spec, dlls/msacm/msg711/msg711.c, dlls/msacm/msg711/msg711.drv.spec: Eric Pouech Implemented a G711 ACM codec (supports both A-Law and MU-Law). * dlls/make_dlls: Eric Pouech Now runs in Perl strict mode. Added ability to skip DLL from the tree. * dlls/shell32/shell.c, dlls/shell32/shell32.spec: Eric Pouech Added stub for ExtractAssociatedIconExA. * programs/wineconsole/dialog.c, programs/wineconsole/registry.c, programs/wineconsole/user.c, programs/wineconsole/winecon_private.h: Eric Pouech Allow ANSI charset in font enumeration. Added ability not to close the wineconsole on console object destruction. * dlls/user/dde/ddeml16.c, windows/winproc.c: Eric Pouech Added 16/32 DDE message conversion. Finished the 16 bit implementation of DDEML. 2002-05-20 Alexandre Julliard * Makefile.in, configure, configure.ac, programs/Makefile.in, programs/expand/.cvsignore, programs/expand/Makefile.in, programs/expand/expand.c: Moved expand.c from libtest to programs/expand. Removed the rest of the libtest directory. * configure.ac, dlls/gdi/freetype.c, dlls/wineps/truetype.c, dlls/x11drv/xrender.c, include/config.h.in, aclocal.m4, configure: Added configure check for the soname of libraries that we load dynamically. Added a few other configure macros, and moved all macros into aclocal.m4. * controls/button.c: Dmitry Timoshkov Clear an old button text in WM_SETTEXT as Windows does. * dlls/comctl32/pager.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c, dlls/user/user32.spec, include/user.h, include/winuser.h, windows/nonclient.c, windows/syscolor.c, controls/button.c, controls/combo.c, controls/menu.c, controls/scroll.c, controls/uitools.c: Got rid of GetSysColorPen. * dlls/user/msg16.c, dlls/winspool/info.c: Andreas Mohr Better error messages. * dlls/msvcrt/wcs.c: John K. Hohm Fix msvcrt._vsnwprintf format reading bug like NTDLL_vsnwprintf. * winedefault.reg: Dustin Navea Added SerialComm key. * dlls/dplayx/dplay.c, dlls/user/user_main.c, dlls/wineps/ppd.c: Andreas Mohr Spelling stuff. * dlls/ntdll/critsection.c: Francois Gouget Dump thread id instead of %fs. 2002-05-19 Alexandre Julliard * tools/winebuild/spec32.c: Do not output stubs in the .def file. * unicode/wine_unicode.def, dlls/ntdll/debugtools.c, include/wine/debug.h, include/wine/library.h, library/Makefile.in, library/debug.c: Export the debug API as functions instead of pointers. A few other import fixes for Mingw. * dlls/ntdll/wcstring.c, include/winerror.h, dlls/comcat/comcat.h, dlls/comcat/factory.c, dlls/comcat/information.c, dlls/comcat/manager.c, dlls/comcat/register.c: John K. Hohm More comcat.dll implementation, swprintf fix, winerror.h additions. * dlls/dinput/dinput.spec, dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/keyboard/main.c: Arjen Nienhuis Fixed keyboard handling. * dlls/winmm/joystick.c, dlls/winmm/joystick/joystick.c, files/dos_fs.c: Steven Edwards Add check for . * dlls/ntdll/cdrom.c: Andreas Mohr - Improve error messages. - Add error code mapping EPERM -> STATUS_ACCESS_DENIED. * dlls/kernel/nls/ark.nls, dlls/kernel/nls/heb.nls, dlls/kernel/nls/hrv.nls, dlls/kernel/nls/kor.nls, dlls/kernel/nls/tha.nls, dlls/kernel/nls/ukr.nls: Andreas Mohr Added LOCALE_IDEFAULTMACCODEPAGE values for some languages. * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Stefan Leichter Added stub for DllRegisterServer. * dlls/shell32/shell32_xx.rc: Stefan Leichter Added version info resource. * dlls/user/tests/sysparams.c: Francois Gouget Make the 'error' string of a couple of checks consistent with the others. * loader/module.c: Francois Gouget Fixed the WinExec prototype. * dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.spec: Francois Gouget Implemented _getws. * windows/win.c: Francois Gouget Add missing WIN_ReleaseWndPtr in WIN_CreateDesktopWindow. * dlls/ntdll/nt.c, include/winbase.h: Vincent Béron Correct implementation of VerSetConditionMask. 2002-05-17 Alexandre Julliard * dlls/Makefile.in, dlls/make_dlls: Generate a kernel32 dependency for dlls that have no imports to handle the winebuild-generated implicit import. * library/debug.c: Added check for numeric ids and null pointers (thanks to Dimitrie). * 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/regedit/Makefile.in, programs/regsvr32/Makefile.in, programs/regtest/Makefile.in, programs/uninstaller/Makefile.in, programs/view/Makefile.in, programs/wcmd/Makefile.in, programs/winemine/Makefile.in, programs/winepath/Makefile.in, programs/winetest/Makefile.in, programs/winhelp/Makefile.in, programs/winver/Makefile.in, dlls/wineps/Makefile.in, dlls/wininet/Makefile.in, dlls/winmm/Makefile.in, 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/winearts/Makefile.in, dlls/winmm/wineoss/Makefile.in, dlls/winnls/Makefile.in, dlls/winspool/Makefile.in, dlls/wintrust/Makefile.in, dlls/wsock32/Makefile.in, dlls/x11drv/Makefile.in, programs/avitools/Makefile.in, programs/clock/Makefile.in, dlls/opengl32/Makefile.in, dlls/qcap/Makefile.in, dlls/quartz/Makefile.in, dlls/rasapi32/Makefile.in, dlls/richedit/Makefile.in, dlls/rpcrt4/Makefile.in, dlls/serialui/Makefile.in, dlls/shdocvw/Makefile.in, dlls/shell32/Makefile.in, dlls/shlwapi/Makefile.in, dlls/snmpapi/Makefile.in, dlls/sti/Makefile.in, dlls/tapi32/Makefile.in, dlls/ttydrv/Makefile.in, dlls/twain/Makefile.in, dlls/url/Makefile.in, dlls/urlmon/Makefile.in, dlls/user/Makefile.in, dlls/version/Makefile.in, dlls/win32s/Makefile.in, dlls/winaspi/Makefile.in, dlls/winedos/Makefile.in, dlls/imm32/Makefile.in, dlls/lzexpand/Makefile.in, dlls/mapi32/Makefile.in, dlls/mpr/Makefile.in, dlls/msacm/Makefile.in, dlls/msacm/imaadp32/Makefile.in, dlls/msacm/msg711/Makefile.in, dlls/msdmo/Makefile.in, dlls/msimg32/Makefile.in, dlls/msisys/Makefile.in, dlls/msnet32/Makefile.in, dlls/msrle32/Makefile.in, dlls/msvcrt20/Makefile.in, dlls/msvideo/Makefile.in, dlls/netapi32/Makefile.in, dlls/odbc32/Makefile.in, dlls/oleaut32/Makefile.in, dlls/olecli/Makefile.in, dlls/oledlg/Makefile.in, dlls/olepro32/Makefile.in, dlls/olesvr/Makefile.in, dlls/Makefile.in, dlls/avicap32/Makefile.in, dlls/avifil32/Makefile.in, dlls/comcat/Makefile.in, dlls/comctl32/Makefile.in, dlls/commdlg/Makefile.in, dlls/crtdll/Makefile.in, dlls/crypt32/Makefile.in, dlls/dciman32/Makefile.in, dlls/ddraw/Makefile.in, dlls/devenum/Makefile.in, dlls/dinput/Makefile.in, dlls/dplayx/Makefile.in, dlls/dsound/Makefile.in, dlls/gdi/Makefile.in, dlls/icmp/Makefile.in, dlls/imagehlp/Makefile.in: Removed most imports of ntdll since we no longer import Wine internal functions from there. * scheduler/sysdeps.c, win32/device.c, dlls/Makedll.rules.in, dlls/commdlg/filedlg95.c, dlls/kernel/stress.c, dlls/mpr/wnet.c, dlls/user/network.c, dlls/x11drv/x11drv_main.c, include/winbase.h, library/port.c, memory/environ.c, memory/heap.c: A few fixes for mingw cross-compilation. * controls/menu.c, dlls/commdlg/cdlg32.c, dlls/ntdll/debugtools.c, dlls/ntdll/ntdll.spec, dlls/user/resource.c, if1632/relay.c, include/wine/debug.h, library/debug.c, loader/ne/resource.c, memory/atom.c, objects/font.c, relay32/snoop.c, windows/class.c, windows/dialog.c, windows/win.c: Export the debugging API from libwine instead of ntdll. Removed debugres_[aw]. * dlls/winspool/info.c: Bill Medland Remove leading whitespace from printcap entries. * dlls/winedos/vga.c: Christian Costa Do not create a window each time VGA_DoSetMode is called. The window is created the first time and then just resized. 2002-05-16 Alexandre Julliard * tools/winebuild/import.c, tools/winebuild/spec32.c: Adapted to use the argc/argv variables from libwine. Automatically import libraries that contain the symbols that the .spec.c file is using. * scheduler/process.c, dlls/msvcrt/data.c, dlls/ntdll/ntdll.spec, include/wine/library.h, library/loader.c, memory/environ.c: Export global argc/argv variables from libwine and remove the __wine_get_main_args functions from ntdll. * dlls/winsock/socket.c: Fixed struct msghdr access for platforms that have msg_accrights (reported by Warren Baird). * include/winerror.h: Philip Brown Need to undef NOERROR for Solaris. * dlls/msvcrt/except.c, dlls/msvcrt/math.c, relay32/snoop.c: Warren Baird Some fixes for compiling on Sparc. * programs/winetest/wtmain.c: Better usage message. Flush stderr before exiting. * include/wine/library.h, include/winnt.h, library/ldt.c, memory/selector.c, scheduler/sysdeps.c, scheduler/syslevel.c, tools/winebuild/spec16.c, win32/except.c, dlls/kernel/kernel_main.c, dlls/kernel/thunk.c, dlls/ntdll/critsection.c, dlls/ntdll/signal_i386.c, if1632/builtin.c, if1632/relay.c, if1632/snoop.c: Moved the selector access functions out of winnt.h into libwine. * dlls/winmm/mmsystem.c: Eric Pouech Fixed hangs when playing an ASCII resource. * dlls/winedos/int10.c: Christian Costa Handle properly the requested video mode in Int10h SET VIDEO MODE function by managing the bit 7 of AL. * tools/wineinstall: Andriy Palamarchuk Place "Common Files" under "Program Files" instead of root directory. * dlls/ole32/marshal.c: Marcus Meissner Tell the user if winedefault.reg is not loaded. * dlls/oleaut32/Makefile.in, dlls/oleaut32/typelib.c, dlls/setupapi/install.c, dlls/setupapi/parser.c, include/ntddk.h, include/wine/unicode.h, unicode/string.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/ipaddress.c, dlls/comctl32/updown.c, dlls/ntdll/ntdll.spec, dlls/ntdll/string.c, dlls/ntdll/wcstring.c: Implemented strtolW/strtoulW in libwine_unicode and used it to replace wcstol and friends. * tools/winebuild/spec16.c: Fixed missing call to make_c_identifier. * dlls/winedos/Makefile.in, dlls/winedos/dma.c, dlls/winedos/dosexe.h, dlls/winedos/ioports.c, dlls/winedos/soundblaster.c: Christian Costa Added DMA and SoundBlaster emulation. * documentation/getting.sgml: William Stinson Explain patch -p0 option. * dlls/comctl32/listview.c, dlls/commdlg/filedlg95.c, dlls/msacm/driver.c, dlls/serialui/confdlg.c, dlls/shell32/shlfolder.c: Steven Edwards Fixed snprintf warnings. * tools/winedump/debug.c, tools/winedump/pe.c: Steven Edwards Added check for sys/mman.h. * winedefault.reg: Andriy Palamarchuk Fixed incorrect format where single backslashes were used instead of double ones in attribute values. * dlls/winmm/mmio.c: Johan Gill lpmmioinfo can sometimes, proven in the read case, be NULL. 2002-05-14 Alexandre Julliard * tools/wineshelllink: Dustin Navea Fixes for kde3 and Desktop directory. * tools/wineinstall: Dustin Navea Fix for $libdir check. * configure.ac, dlls/kernel/comm.c, dlls/netapi32/netapi32.c, dlls/ntdll/cdrom.c, dlls/rpcrt4/rpcrt4_main.c, include/config.h.in, library/loader.c, library/port.c, configure: Portability fixes. * configure, configure.ac, dlls/Makefile.in, dlls/comcat/.cvsignore, dlls/comcat/Makefile.in, dlls/comcat/comcat.h, dlls/comcat/comcat.spec, dlls/comcat/comcat_main.c, dlls/comcat/factory.c, dlls/comcat/information.c, dlls/comcat/manager.c, dlls/comcat/register.c, winedefault.reg: John K. Hohm Added comcat.dll with factory and manager but E_NOTIMPL work methods. * programs/wineconsole/dialog.c, programs/wineconsole/registry.c, programs/wineconsole/user.c, programs/wineconsole/winecon_private.h, programs/wineconsole/winecon_user.h, programs/wineconsole/wineconsole.c: Eric Pouech Removed Trace macro and replaced it by Wine debug channel facility. Made the font lookup at startup more robust and now save registry at startup time if a new font is chosen (as spotted by Sylvain Petreolle). Fixed an update bug spotted by Jason Edmeades. * dlls/kernel/time.c, include/winnls.h: Vincent Béron Better implementation of GetCalendarInfo{A,W}, not perfect. * programs/winver/.cvsignore, tools/winebuild/README, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c, tools/winebuild/utils.c, programs/Makeprog.rules.in, programs/avitools/Makefile.in, programs/clock/.cvsignore, programs/cmdlgtst/.cvsignore, programs/control/.cvsignore, programs/notepad/.cvsignore, programs/osversioncheck/.cvsignore, programs/progman/.cvsignore, programs/regapi/.cvsignore, programs/regedit/.cvsignore, programs/regsvr32/.cvsignore, programs/regtest/.cvsignore, programs/uninstaller/.cvsignore, programs/view/.cvsignore, programs/wcmd/.cvsignore, programs/wineconsole/.cvsignore, programs/winemine/.cvsignore, programs/winepath/.cvsignore, programs/winetest/.cvsignore, programs/winhelp/.cvsignore, dlls/winmm/mciseq/.cvsignore, dlls/winmm/mciseq/mciseq.drv.spec, dlls/winmm/mciwave/.cvsignore, dlls/winmm/mciwave/mciwave.drv.spec, dlls/winmm/midimap/.cvsignore, dlls/winmm/midimap/midimap.drv.spec, dlls/winmm/wavemap/.cvsignore, dlls/winmm/wavemap/msacm.drv.spec, dlls/winmm/winearts/.cvsignore, dlls/winmm/winearts/Makefile.in, dlls/winmm/winearts/winearts.drv.spec, dlls/winmm/wineoss/.cvsignore, dlls/winmm/wineoss/wineoss.drv.spec, dlls/winnls/.cvsignore, dlls/winnls/winnls32.spec, dlls/winsock/.cvsignore, dlls/winsock/ws2_32.spec, dlls/winspool/.cvsignore, dlls/winspool/winspool.drv.spec, dlls/wintrust/.cvsignore, dlls/wintrust/wintrust.spec, dlls/wow32/.cvsignore, dlls/wow32/wow32.spec, dlls/wsock32/.cvsignore, dlls/wsock32/wsock32.spec, dlls/x11drv/.cvsignore, dlls/x11drv/x11drv.spec, miscemu/wine.spec, dlls/twain/.cvsignore, dlls/twain/twain_32.spec, dlls/url/.cvsignore, dlls/url/url.spec, dlls/urlmon/.cvsignore, dlls/urlmon/urlmon.spec, dlls/user/.cvsignore, dlls/user/user32.spec, dlls/version/.cvsignore, dlls/version/version.spec, dlls/win32s/.cvsignore, dlls/win32s/w32skrnl.spec, dlls/winaspi/.cvsignore, dlls/winaspi/wnaspi32.spec, dlls/winedos/.cvsignore, dlls/winedos/winedos.spec, dlls/wineps/.cvsignore, dlls/wineps/wineps.spec, dlls/wininet/.cvsignore, dlls/wininet/wininet.spec, dlls/winmm/.cvsignore, dlls/winmm/joystick/.cvsignore, dlls/winmm/joystick/joystick.drv.spec, dlls/winmm/mcianim/.cvsignore, dlls/winmm/mcianim/mcianim.drv.spec, dlls/winmm/mciavi/.cvsignore, dlls/winmm/mciavi/mciavi.drv.spec, dlls/winmm/mcicda/.cvsignore, dlls/winmm/mcicda/mcicda.drv.spec, dlls/winmm/winmm.spec, dlls/qcap/.cvsignore, dlls/qcap/qcap.spec, dlls/quartz/.cvsignore, dlls/quartz/quartz.spec, dlls/rasapi32/.cvsignore, dlls/rasapi32/rasapi32.spec, dlls/richedit/.cvsignore, dlls/richedit/riched32.spec, dlls/rpcrt4/.cvsignore, dlls/rpcrt4/rpcrt4.spec, dlls/serialui/.cvsignore, dlls/serialui/serialui.spec, dlls/setupapi/.cvsignore, dlls/setupapi/setupapi.spec, dlls/shdocvw/.cvsignore, dlls/shdocvw/shdocvw.spec, dlls/shell32/.cvsignore, dlls/shell32/shell32.spec, dlls/shfolder/.cvsignore, dlls/shfolder/shfolder.spec, dlls/shlwapi/.cvsignore, dlls/shlwapi/shlwapi.spec, dlls/snmpapi/.cvsignore, dlls/snmpapi/snmpapi.spec, dlls/sti/.cvsignore, dlls/sti/sti.spec, dlls/tapi32/.cvsignore, dlls/tapi32/tapi32.spec, dlls/ttydrv/.cvsignore, dlls/ttydrv/ttydrv.spec, dlls/netapi32/.cvsignore, dlls/netapi32/netapi32.spec, dlls/ntdll/.cvsignore, dlls/ntdll/Makefile.in, dlls/ntdll/ntdll.spec, dlls/odbc32/.cvsignore, dlls/odbc32/odbc32.spec, dlls/ole32/.cvsignore, dlls/ole32/ole32.spec, dlls/oleaut32/.cvsignore, dlls/oleaut32/oleaut32.spec, dlls/olecli/.cvsignore, dlls/olecli/olecli32.spec, dlls/oledlg/.cvsignore, dlls/oledlg/oledlg.spec, dlls/olepro32/.cvsignore, dlls/olepro32/olepro32.spec, dlls/olesvr/.cvsignore, dlls/olesvr/olesvr32.spec, dlls/opengl32/.cvsignore, dlls/opengl32/opengl32.spec, dlls/psapi/.cvsignore, dlls/psapi/psapi.spec, dlls/kernel/.cvsignore, dlls/kernel/kernel32.spec, dlls/lzexpand/.cvsignore, dlls/lzexpand/lz32.spec, dlls/mapi32/.cvsignore, dlls/mapi32/mapi32.spec, dlls/mpr/.cvsignore, dlls/mpr/mpr.spec, dlls/msacm/.cvsignore, dlls/msacm/imaadp32/.cvsignore, dlls/msacm/imaadp32/imaadp32.acm.spec, dlls/msacm/msacm32.spec, dlls/msacm/msg711/.cvsignore, dlls/msacm/msg711/msg711.drv.spec, dlls/msdmo/.cvsignore, dlls/msdmo/msdmo.spec, dlls/msimg32/.cvsignore, dlls/msimg32/msimg32.spec, dlls/msisys/.cvsignore, dlls/msisys/msisys.ocx.spec, dlls/msnet32/.cvsignore, dlls/msnet32/msnet32.spec, dlls/msrle32/.cvsignore, dlls/msrle32/msrle32.spec, dlls/msvcrt/.cvsignore, dlls/msvcrt/msvcrt.spec, dlls/msvcrt20/.cvsignore, dlls/msvcrt20/msvcrt20.spec, dlls/msvideo/.cvsignore, dlls/msvideo/msvfw32.spec, dlls/commdlg/.cvsignore, dlls/commdlg/comdlg32.spec, dlls/crtdll/.cvsignore, dlls/crtdll/crtdll.spec, dlls/crypt32/.cvsignore, dlls/crypt32/crypt32.spec, dlls/dciman32/.cvsignore, dlls/dciman32/dciman32.spec, dlls/ddraw/.cvsignore, dlls/ddraw/ddraw.spec, dlls/devenum/.cvsignore, dlls/devenum/devenum.spec, dlls/dinput/.cvsignore, dlls/dinput/dinput.spec, dlls/dplay/.cvsignore, dlls/dplay/dplay.spec, dlls/dplayx/.cvsignore, dlls/dplayx/dplayx.spec, dlls/dsound/.cvsignore, dlls/dsound/dsound.spec, dlls/gdi/.cvsignore, dlls/gdi/gdi32.spec, dlls/glu32/.cvsignore, dlls/glu32/glu32.spec, dlls/icmp/.cvsignore, dlls/icmp/icmp.spec, dlls/imagehlp/.cvsignore, dlls/imagehlp/imagehlp.spec, dlls/imm32/.cvsignore, dlls/imm32/imm32.spec, Make.rules.in, debugger/.cvsignore, dlls/Makedll.rules.in, dlls/advapi32/.cvsignore, dlls/advapi32/advapi32.spec, dlls/avicap32/.cvsignore, dlls/avicap32/avicap32.spec, dlls/avifil32/.cvsignore, dlls/avifil32/avifil32.spec, dlls/comctl32/.cvsignore, dlls/comctl32/comctl32.spec: Added winebuild support for generating a .dbg.c file containing the debug channels definitions. Made win32 the default type for spec files. Ignore C compiler in winebuild so we can simply pass it $(DEFS). Removed type win32 and debug_channels from spec files. Fixed winebuild to always generate correct C identifiers (reported by Vincent Béron). * dlls/Makefile.in, dlls/make_dlls: Updated make_dlls script for new import scheme. * dlls/comctl32/propsheet.c: Sander van Leeuwen - Center property sheet page during creation (padding) (some applications rely on this behaviour when resizing the page) - Mask away WS_THICKFRAME page style - Page navigation by resource id (by unknown author) * misc/.cvsignore, misc/Makefile.in, msdos/.cvsignore, msdos/Makefile.in, objects/Makefile.in, ole/Makefile.in, relay32/.cvsignore, relay32/Makefile.in, scheduler/.cvsignore, scheduler/Makefile.in, tools/makedep.c, win32/.cvsignore, win32/Makefile.in, windows/.cvsignore, windows/Makefile.in, configure.ac, controls/.cvsignore, controls/Makefile.in, dlls/gdi/Makefile.in, dlls/ntdll/.cvsignore, dlls/ntdll/Makefile.in, dlls/user/Makefile.in, dlls/x11drv/Makefile.in, files/.cvsignore, files/Makefile.in, graphics/.cvsignore, graphics/Makefile.in, graphics/x11drv/.cvsignore, graphics/x11drv/Makefile.in, if1632/.cvsignore, if1632/Makefile.in, loader/.cvsignore, loader/Makefile.in, loader/ne/.cvsignore, loader/ne/Makefile.in, memory/.cvsignore, memory/Makefile.in, Make.rules.in, configure: Specify the complete source file list for a dll inside the main makefile and get rid of the subdirectories makefiles. * programs/winhelp/Xx.rc: No longer used. * dlls/kernel/nls/jpn.nls: Aric Stewart Improved NLS file for codepage 932 (SJIS). * dlls/comctl32/listview.c: Aric Stewart Do not invalidate the rect while drawing. Implemented GetSubItemRect and a quick change to notifications sent for OwnerData items. * dlls/winedos/int10.c, dlls/winedos/vga.c, dlls/winedos/vga.h: Robert Coeyman Added the rest of the register manipulation code to int 10. It only handles the setting of the 16-color palette registers and overscan. * dlls/comctl32/pager.c: Guy L. Albertelli - Change traces to trace full window handle and improve some traces. - Send WM_NOTIFY to parent not to self. - Implement PGS_AUTOSCROLL via MOUSEMOVE and Timer routines. * dlls/comctl32/toolbar.c: Guy L. Albertelli Support PGN_SCROLL notify and return either the button heigth or width. * windows/spy.c: Guy L. Albertelli Fix memory dump where length is not a multiple of 4. * dlls/comctl32/propsheet.c: Guy L. Albertelli Fixed issues with Unicode conversion. Certain strings were not converted, but then processed as converted. * programs/winhelp/Da.rc, programs/winhelp/De.rc, programs/winhelp/En.rc, programs/winhelp/Es.rc, programs/winhelp/Fi.rc, programs/winhelp/Fr.rc, programs/winhelp/Hu.rc, programs/winhelp/It.rc, programs/winhelp/Ko.rc, programs/winhelp/Pt.rc, programs/winhelp/Sk.rc, programs/winhelp/Sw.rc, programs/winhelp/Va.rc, programs/winhelp/Wa.rc, programs/winhelp/macro.c, programs/winhelp/rsrc.rc, programs/winhelp/string.c, programs/winhelp/winhelp.c, programs/winhelp/winhelp.h, programs/winhelp/winhelp_res.h: Sylvain Petreolle - Converted Winhelp for use of NLS - Minor bugfix - Disable support of Va.rc for now (rumantsch swiss) 2002-05-12 Alexandre Julliard * programs/winetest/runtest, unicode/Makefile.in, Make.rules.in, configure, configure.ac, dlls/kernel/tests/process.c, library/Makefile.in, programs/Makeprog.rules.in: Added some support for cross-compilation using mingw32. * dlls/winmm/mmsystem.c, dlls/winmm/winemm.h: Eric Pouech Better behavior of PlaySound (error handling, synchronization). Removed some unnecessary tests about windows handles. 2002-05-11 Alexandre Julliard * programs/wineconsole/Makefile.in, programs/wineconsole/wineconsole.c, programs/wineconsole/wineconsole.spec, programs/winemine/Makefile.in, programs/winemine/winemine.spec, programs/winepath/Makefile.in, programs/winepath/winepath.spec, programs/winetest/Makefile.in, programs/winetest/winetest.spec, programs/winhelp/Makefile.in, programs/winhelp/winhelp.spec, programs/winver/Makefile.in, programs/winver/winver.spec, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/utils.c, dlls/wow32/Makefile.in, dlls/wsock32/Makefile.in, dlls/x11drv/Makefile.in, miscemu/Makefile.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in, programs/avitools/aviinfo.spec, programs/avitools/aviplay.spec, programs/avitools/icinfo.spec, programs/clock/Makefile.in, programs/clock/clock.spec, programs/cmdlgtst/Makefile.in, programs/cmdlgtst/cmdlgtst.spec, programs/control/Makefile.in, programs/control/control.spec, programs/notepad/Makefile.in, programs/notepad/notepad.spec, programs/osversioncheck/Makefile.in, programs/osversioncheck/osversioncheck.spec, programs/progman/Makefile.in, programs/progman/progman.spec, programs/regapi/Makefile.in, programs/regapi/regapi.spec, programs/regedit/Makefile.in, programs/regedit/regedit.spec, programs/regsvr32/Makefile.in, programs/regsvr32/regsvr32.spec, programs/regtest/Makefile.in, programs/regtest/regtest.spec, programs/uninstaller/Makefile.in, programs/uninstaller/uninstaller.spec, programs/view/Makefile.in, programs/view/view.spec, programs/wcmd/Makefile.in, programs/wcmd/wcmd.spec, dlls/wininet/Makefile.in, dlls/winmm/Makefile.in, dlls/winmm/joystick/Makefile.in, dlls/winmm/mcianim/Makefile.in, dlls/winmm/mciavi/Makefile.in, dlls/winmm/mciavi/mciavi.drv.spec, 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/winearts/Makefile.in, dlls/winmm/wineoss/Makefile.in, dlls/winmm/winmm.spec, dlls/winnls/Makefile.in, dlls/winsock/Makefile.in, dlls/winsock/tests/ws2_32_test.spec, dlls/winspool/Makefile.in, dlls/wintrust/Makefile.in, dlls/serialui/Makefile.in, dlls/serialui/serialui.spec, dlls/setupapi/Makefile.in, dlls/setupapi/setupapi.spec, dlls/shdocvw/Makefile.in, dlls/shell32/Makefile.in, dlls/shell32/shell32.spec, dlls/shfolder/Makefile.in, dlls/shlwapi/Makefile.in, dlls/shlwapi/tests/shlwapi_test.spec, dlls/snmpapi/Makefile.in, dlls/sti/Makefile.in, dlls/tapi32/Makefile.in, dlls/ttydrv/Makefile.in, dlls/twain/Makefile.in, dlls/url/Makefile.in, dlls/urlmon/Makefile.in, dlls/user/Makefile.in, dlls/user/tests/user32_test.spec, dlls/user/user32.spec, dlls/version/Makefile.in, dlls/win32s/Makefile.in, dlls/winaspi/Makefile.in, dlls/winedos/Makefile.in, dlls/wineps/Makefile.in, dlls/wineps/wineps.spec, dlls/msnet32/Makefile.in, dlls/msrle32/Makefile.in, dlls/msvcrt/Makefile.in, dlls/msvcrt20/Makefile.in, dlls/msvideo/Makefile.in, dlls/netapi32/Makefile.in, dlls/odbc32/Makefile.in, dlls/ole32/Makefile.in, dlls/ole32/ole32.spec, dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/tests/oleaut32_test.spec, dlls/olecli/Makefile.in, dlls/oledlg/Makefile.in, dlls/olepro32/Makefile.in, dlls/olesvr/Makefile.in, dlls/opengl32/Makefile.in, dlls/psapi/Makefile.in, dlls/qcap/Makefile.in, dlls/quartz/Makefile.in, dlls/rasapi32/Makefile.in, dlls/richedit/Makefile.in, dlls/rpcrt4/Makefile.in, dlls/ddraw/Makefile.in, dlls/ddraw/ddraw.spec, dlls/devenum/Makefile.in, dlls/dinput/Makefile.in, dlls/dplay/Makefile.in, dlls/dplayx/Makefile.in, dlls/dplayx/dplayx.spec, dlls/dsound/Makefile.in, dlls/gdi/Makefile.in, dlls/gdi/gdi32.spec, dlls/icmp/Makefile.in, dlls/imagehlp/Makefile.in, dlls/imm32/Makefile.in, dlls/kernel/Makefile.in, dlls/kernel/kernel32.spec, dlls/kernel/tests/kernel32_test.spec, dlls/lzexpand/Makefile.in, dlls/mapi32/Makefile.in, dlls/mpr/Makefile.in, dlls/msacm/Makefile.in, dlls/msacm/msacm32.spec, dlls/msacm/msg711/Makefile.in, dlls/msdmo/Makefile.in, dlls/msimg32/Makefile.in, dlls/msisys/Makefile.in, Make.rules.in, debugger/Makefile.in, debugger/winedbg.c, debugger/winedbg.spec, dlls/Makedll.rules.in, dlls/advapi32/Makefile.in, dlls/avicap32/Makefile.in, dlls/avifil32/Makefile.in, dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.spec, dlls/commdlg/Makefile.in, dlls/commdlg/comdlg32.spec, dlls/crtdll/Makefile.in, dlls/crypt32/Makefile.in, dlls/dciman32/Makefile.in: Added -res option to specify resources on winebuild command-line. Added -exe mode to generate a .spec.c for an exe without having to provide a .spec. Removed some no longer needed spec files. Removed .dll extension in makefiles import specifications. * dlls/winmm/mcianim/mcianim.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mcicda/mcicda.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mciwave/mciwave.c: Eric Pouech Let MCI drivers support the session instance loading mechanism (NULL lParam2 in MCI_OPEN). * include/wine/obj_comcat.h: John K. Hohm Fixed typos; added standard CATID_'s. * memory/instr.c: Jukka Heinonen When using MapSL, 32-bit addresses are no longer truncated into 16-bit addresses. * msdos/dpmi.c: Jukka Heinonen RawModeSwitch can now be used to return DPMI application back to protected mode. * dlls/winedos/vga.c: Christian Costa Avoid deadlock in VGA_DoSetMode. * files/profile.c: Andreas Mohr Make PROFILE_GetString account for default value in all cases. * tools/winedump/main.c: Eric Pouech Allowed options to be put between mode keyword and main argument. * dlls/msacm/driver.c: Eric Pouech Moved session instance loading to winmm. * dlls/msacm/imaadp32/Makefile.in, dlls/msacm/imaadp32/imaadp32.acm.spec, dlls/msacm/imaadp32/imaadp32.c, documentation/samples/system.ini: Eric Pouech Created an ACM IMA ADPCM codec. * dlls/msacm/format.c: Eric Pouech Fixed bug in acmFormatTagEnumW. * dlls/winmm/driver.c: Eric Pouech Created session instance for installable drivers. Now properly freeing library upon driver exit. * include/winbase.h, win32/newfns.c: Eric Pouech Fixed FlushInstructionCache prototype. * server/console.c: Eric Pouech Fixed missing wineconsole notification of title modification. * dlls/dsound/dsound_main.c: Joris Beugnies Make defines configurable at run-time. * graphics/x11drv/dib.c: David Hammerton Lock/unlock (and hence maybe coerce) DIBSections into GdiMod during the SetDIBits and GetDIBits functions, before actually accessing the X Pixmap. 2002-05-09 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20020509. ---------------------------------------------------------------- 2002-05-09 Alexandre Julliard * memory/virtual.c: Build an explicit argument structure for mmap instead of relying on the stack layout. * configure.ac, include/config.h.in, include/wine/port.h, tools/wrc/ppy.y, configure: Steven Edwards Detect snprintf && _snprintf, use _snprintf on stupid platforms (windows). * dlls/kernel/tests/file.c: Removed extra return statement. * include/ts_xlib.h, include/ts_xresource.h, include/ts_xutil.h, tools/make_X11wrappers, tsx11/X11_calls, tsx11/ts_xlib.c, tsx11/ts_xresource.c, tsx11/ts_xutil.c: Added some #ifdefs HAVE_X11_XLIB_H where appropriate. * ANNOUNCE, README, documentation/fonts.sgml, documentation/getting.sgml, documentation/installation-und-konfiguration.german, documentation/wine.man.in: Fixed some winehq.com URLs. * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/sec.c: Juergen Schmied Corrected RtlConvertSidToUnicodeString, stub for VerSetConditionMask. * dlls/kernel/tests/file.c: Jakob Eriksson Added some more tests. * include/Makefile.in, include/comcat.h, include/wine/obj_comcat.h, include/wine/obj_enumguid.h, ole/uuid.c: John K. Hohm Added definitions for the Component Categories Manager. * dlls/shlwapi/tests/.cvsignore, dlls/shlwapi/tests/shlwapi_test.spec, dlls/shlwapi/tests/shreg.c, configure, configure.ac, dlls/shlwapi/Makefile.in: Juergen Schmied Added some tests. * dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec: Juergen Schmied Reimplemented SHRegGetPathA/W, SHGetValueA/W, SHRegGetPathA/W. * dlls/shell32/Makefile.in, dlls/shell32/debughlp.c, dlls/shell32/debughlp.h, dlls/shell32/pidl.c: Juergen Schmied Moving the pidl debug functions to a separate file and made them self contained. This prevents useless trace messages generated from the debug functions themselves. * dlls/ntdll/file.c, include/winioctl.h: Juergen Schmied Types and partial implementation for NtQueryVolumeInformationFile. * dlls/advapi32/registry.c: Juergen Schmied Make use of access mask MAXIMUM_ALLOWED possible. * misc/registry.c: Juergen Schmied Use only winapi functions in _convert_winnt_registry_to_wine_format. * dlls/kernel/kernel32.spec, misc/version.c: Juergen Schmied Stub for VerifyVersionInfoW. * files/directory.c: Juergen Schmied Use long names, not 8.3 names in environment. * dlls/x11drv/Makefile.in, include/Makefile.in, library/Makefile.in, ole/Makefile.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in, programs/winetest/Makefile.in, server/Makefile.in, tools/Makefile.in, tools/install-sh, tools/mkinstalldirs, tools/winapi/Makefile.in, tools/winebuild/Makefile.in, tools/winedump/Makefile.in, tools/wmc/Makefile.in, tools/wrc/Makefile.in, tsx11/Makefile.in, unicode/Makefile.in, Make.rules.in, Makefile.in, dlls/Makedll.rules.in: Added mkinstalldirs to create directories more portably. * dlls/gdi/enhmfdrv/dc.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/init.c, dlls/gdi/mfdrv/graphics.c, dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/metafiledrv.h, dlls/gdi/win16drv/init.c, include/gdi.h, objects/clipping.c, dlls/gdi/driver.c: Added ExtSelectClipRgn to the DC interface and implemented it for standard and enhanced metafiles. * tools/config.guess, tools/config.sub: Updated to the latest version. * configure, configure.ac: There's no need to check for dlopen on cygwin. * controls/menu.c: Rizsanyi Zsolt Disabled catching of mouse move events when not over menu. Changed MENU_SelectItem allow EndMenu to deselect the selected menu. * tools/winebuild/import.c, tools/winebuild/main.c, programs/notepad/Makefile.in, programs/notepad/notepad.spec, programs/osversioncheck/Makefile.in, programs/osversioncheck/osversioncheck.spec, programs/progman/Makefile.in, programs/progman/progman.spec, programs/regapi/Makefile.in, programs/regapi/regapi.spec, programs/regedit/Makefile.in, programs/regedit/regedit.spec, programs/regsvr32/Makefile.in, programs/regsvr32/regsvr32.spec, programs/regtest/Makefile.in, programs/regtest/regtest.spec, programs/uninstaller/Makefile.in, programs/uninstaller/uninstaller.spec, programs/view/Makefile.in, programs/view/view.spec, programs/wcmd/Makefile.in, programs/wcmd/wcmd.spec, programs/wineconsole/Makefile.in, programs/wineconsole/wineconsole.spec, programs/winemine/Makefile.in, programs/winemine/winemine.spec, programs/winepath/Makefile.in, programs/winepath/winepath.spec, programs/winetest/Makefile.in, programs/winetest/winetest.spec, programs/winhelp/Makefile.in, programs/winhelp/winhelp.spec, programs/winver/Makefile.in, programs/winver/winver.spec, dlls/winnls/Makefile.in, dlls/winnls/winnls32.spec, dlls/winsock/Makefile.in, dlls/winsock/tests/ws2_32_test.spec, dlls/winsock/ws2_32.spec, dlls/winspool/Makefile.in, dlls/winspool/winspool.drv.spec, dlls/wintrust/Makefile.in, dlls/wintrust/wintrust.spec, dlls/wow32/Makefile.in, dlls/wow32/wow32.spec, dlls/wsock32/Makefile.in, dlls/wsock32/wsock32.spec, dlls/x11drv/Makefile.in, dlls/x11drv/x11drv.spec, 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/volinfo.spec, miscemu/Makefile.in, miscemu/wine.spec, programs/Makeprog.rules.in, programs/avitools/Makefile.in, programs/avitools/aviinfo.spec, programs/avitools/aviplay.spec, programs/avitools/icinfo.spec, programs/clock/Makefile.in, programs/clock/clock.spec, programs/cmdlgtst/Makefile.in, programs/cmdlgtst/cmdlgtst.spec, programs/control/Makefile.in, programs/control/control.spec, dlls/win32s/Makefile.in, dlls/win32s/w32skrnl.spec, dlls/winaspi/Makefile.in, dlls/winaspi/wnaspi32.spec, dlls/winedos/Makefile.in, dlls/winedos/winedos.spec, dlls/wineps/Makefile.in, dlls/wineps/wineps.spec, dlls/wininet/Makefile.in, dlls/wininet/wininet.spec, dlls/winmm/Makefile.in, dlls/winmm/joystick/Makefile.in, dlls/winmm/joystick/joystick.drv.spec, dlls/winmm/mcianim/Makefile.in, dlls/winmm/mcianim/mcianim.drv.spec, dlls/winmm/mciavi/Makefile.in, dlls/winmm/mciavi/mciavi.drv.spec, dlls/winmm/mcicda/Makefile.in, dlls/winmm/mcicda/mcicda.drv.spec, dlls/winmm/mciseq/Makefile.in, dlls/winmm/mciseq/mciseq.drv.spec, dlls/winmm/mciwave/Makefile.in, dlls/winmm/mciwave/mciwave.drv.spec, dlls/winmm/midimap/Makefile.in, dlls/winmm/midimap/midimap.drv.spec, dlls/winmm/wavemap/Makefile.in, dlls/winmm/wavemap/msacm.drv.spec, dlls/winmm/winearts/Makefile.in, dlls/winmm/winearts/winearts.drv.spec, dlls/winmm/wineoss/Makefile.in, dlls/winmm/wineoss/wineoss.drv.spec, dlls/winmm/winmm.spec, dlls/serialui/Makefile.in, dlls/serialui/serialui.spec, dlls/setupapi/Makefile.in, dlls/setupapi/setupapi.spec, dlls/shdocvw/Makefile.in, dlls/shdocvw/shdocvw.spec, dlls/shell32/Makefile.in, dlls/shell32/shell32.spec, dlls/shfolder/Makefile.in, dlls/shfolder/shfolder.spec, dlls/shlwapi/Makefile.in, dlls/shlwapi/shlwapi.spec, dlls/snmpapi/Makefile.in, dlls/snmpapi/snmpapi.spec, dlls/sti/Makefile.in, dlls/sti/sti.spec, dlls/tapi32/Makefile.in, dlls/tapi32/tapi32.spec, dlls/ttydrv/Makefile.in, dlls/ttydrv/ttydrv.spec, dlls/twain/Makefile.in, dlls/twain/twain_32.spec, dlls/url/Makefile.in, dlls/url/url.spec, dlls/urlmon/Makefile.in, dlls/urlmon/urlmon.spec, dlls/user/Makefile.in, dlls/user/tests/user32_test.spec, dlls/user/user32.spec, dlls/version/Makefile.in, dlls/version/version.spec, dlls/msvideo/Makefile.in, dlls/msvideo/msvfw32.spec, dlls/netapi32/Makefile.in, dlls/netapi32/netapi32.spec, dlls/odbc32/Makefile.in, dlls/odbc32/odbc32.spec, dlls/ole32/Makefile.in, dlls/ole32/ole32.spec, dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/tests/oleaut32_test.spec, dlls/olecli/Makefile.in, dlls/olecli/olecli32.spec, dlls/oledlg/Makefile.in, dlls/oledlg/oledlg.spec, dlls/olepro32/Makefile.in, dlls/olepro32/olepro32.spec, dlls/olesvr/Makefile.in, dlls/olesvr/olesvr32.spec, dlls/opengl32/Makefile.in, dlls/opengl32/opengl32.spec, dlls/psapi/Makefile.in, dlls/psapi/psapi.spec, dlls/qcap/Makefile.in, dlls/qcap/qcap.spec, dlls/quartz/Makefile.in, dlls/quartz/quartz.spec, dlls/rasapi32/Makefile.in, dlls/rasapi32/rasapi32.spec, dlls/richedit/Makefile.in, dlls/richedit/riched32.spec, dlls/rpcrt4/Makefile.in, dlls/rpcrt4/rpcrt4.spec, dlls/imm32/Makefile.in, dlls/imm32/imm32.spec, dlls/kernel/Makefile.in, dlls/kernel/kernel32.spec, dlls/kernel/tests/kernel32_test.spec, dlls/lzexpand/Makefile.in, dlls/lzexpand/lz32.spec, dlls/mapi32/Makefile.in, dlls/mapi32/mapi32.spec, dlls/mpr/Makefile.in, dlls/mpr/mpr.spec, dlls/msacm/Makefile.in, dlls/msacm/imaadp32/Makefile.in, dlls/msacm/imaadp32/imaadp32.acm.spec, dlls/msacm/msacm32.spec, dlls/msacm/msg711/Makefile.in, dlls/msacm/msg711/msg711.drv.spec, dlls/msdmo/Makefile.in, dlls/msdmo/msdmo.spec, dlls/msimg32/Makefile.in, dlls/msimg32/msimg32.spec, dlls/msisys/Makefile.in, dlls/msisys/msisys.ocx.spec, dlls/msnet32/Makefile.in, dlls/msnet32/msnet32.spec, dlls/msrle32/Makefile.in, dlls/msrle32/msrle32.spec, dlls/msvcrt/Makefile.in, dlls/msvcrt/msvcrt.spec, dlls/msvcrt20/Makefile.in, dlls/msvcrt20/msvcrt20.spec, dlls/avicap32/Makefile.in, dlls/avicap32/avicap32.spec, dlls/avifil32/Makefile.in, dlls/avifil32/avifil32.spec, dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.spec, dlls/commdlg/Makefile.in, dlls/commdlg/comdlg32.spec, dlls/crtdll/Makefile.in, dlls/crtdll/crtdll.spec, dlls/crypt32/Makefile.in, dlls/crypt32/crypt32.spec, dlls/dciman32/Makefile.in, dlls/dciman32/dciman32.spec, dlls/ddraw/Makefile.in, dlls/ddraw/ddraw.spec, dlls/devenum/Makefile.in, dlls/devenum/devenum.spec, dlls/dinput/Makefile.in, dlls/dinput/dinput.spec, dlls/dplay/Makefile.in, dlls/dplay/dplay.spec, dlls/dplayx/Makefile.in, dlls/dplayx/dplayx.spec, dlls/dsound/Makefile.in, dlls/dsound/dsound.spec, dlls/gdi/Makefile.in, dlls/gdi/gdi32.spec, dlls/icmp/Makefile.in, dlls/icmp/icmp.spec, dlls/imagehlp/Makefile.in, dlls/imagehlp/imagehlp.spec, Make.rules.in, Makefile.in, debugger/Makefile.in, debugger/winedbg.spec, dlls/Makedll.rules.in, dlls/advapi32/Makefile.in, dlls/advapi32/advapi32.spec: Moved imports specification from the .spec into the Makefile so that it can be used on platforms that don't build a .spec.c file. 2002-05-08 Alexandre Julliard * dlls/commdlg/filedlg.c: Bill Medland Fix the Win31 style file dialog box. - If there is no filter don't put a blank one in; it doesn't work (leave it NULL). - Correctly figure out which is the current drive in the combo box. - Add FIXME for the variable "initial dir" handling. * documentation/configuring.sgml, documentation/wine.man.in, tools/bug_report.pl: Andriy Palamarchuk Direct bug reports to Wine bugzilla. Some other minor documentation changes. * library/errno.c: Don't need to reference external errno since non-reentrant Xlib is no longer supported. * Makefile.in, programs/Makefile.in: Run make test for all programs by default. * files/dos_fs.c, files/drive.c: Michael Wetherell Fix handling of unix absolute paths in DOSFS_GetFullName and GetShortPathNameA. Handle '..' in paths in DRIVE_FindDriveRoot. * memory/selector.c, objects/bitmap.c, objects/dib.c: Andreas Mohr Replace SELECTOR_AllocBlock and SELECTOR_FreeBlock with standard Win16 selector calls. * programs/regapi/regFixer.pl, programs/regapi/regRestorer.pl, programs/regapi/regSet.sh: Raul Dias - Make possible to diff registry information that contains timestamps. - Create safe temp files in /tmp. 2002-05-07 Alexandre Julliard * configure, configure.ac: Fixed dll check for cygwin. * windows/winproc.c: Stefan Leichter Added NULL pointer check in CallWindowProc16. * objects/gdiobj.c: Fixed vis region handling broken by last change. * msdos/dpmi.c, msdos/int2f.c, include/callback.h: Jukka Heinonen Added support for DPMI RawModeSwitch. * dlls/ttydrv/bitmap.c, dlls/ttydrv/dc.c, dlls/ttydrv/wnd.c, dlls/wineps/init.c, graphics/x11drv/bitmap.c, graphics/x11drv/init.c, objects/dc.c, objects/gdiobj.c, dlls/gdi/win16drv/init.c: Moved parts of the DC initialisation and bitmap selection out of the drivers into the common code. * dlls/gdi/printdrv.c: Andreas Mohr Replace DOSFS_GetFullName with wine_get_unix_file_name. * dlls/x11drv/window.c: Michael Cardenas Cap window sizes at 65535. * configure.ac, include/config.h.in, configure: Added check for sys/sysctl.h. * memory/global.c: Olivier Houchard Support for getting memory size on FreeBSD. * dlls/dinput/keyboard/main.c: Olivier Houchard Hack to make SetEventNotification work. 2002-05-06 Alexandre Julliard * dlls/kernel/tests/path.c: Fixed handling of GetLongPathNameA. * dlls/kernel/tests/file.c: Jakob Eriksson Tests for _lcreat,_llseek and _llopen added. * dlls/oleaut32/typelib.c: Marcus Meissner Small hack to make InstallShield v6 work better. * dlls/oleaut32/tmarshal.c: Marcus Meissner BSTRs can be NULL, handle them seperately. * windows/win.c, dlls/user/user32.spec, include/winuser.h: David Hammerton Added implementation of GetWindowInfo. * DEVELOPERS-HINTS: Sylvain Petreolle Update of DEVELOPERS-HINTS to reflect the current state of Wine. 2002-05-05 Alexandre Julliard * dlls/winedos/int31.c, dlls/winedos/winedos.spec: Jukka Heinonen DOSVM now exports DPMI Raw Mode Switch routine. * configure.ac, include/config.h.in, include/wine/port.h, configure: Steven Edwards Check for and use chsize instead of ftruncate if present. * files/dos_fs.c: Jason Edmeades Ensure correct full path returned when GetFullPathName supplied a path relative from the root of the drive 'eg '\windows\system'. * configure, configure.ac, programs/Makefile.in, programs/winepath/.cvsignore, programs/winepath/Makefile.in, programs/winepath/winepath.c, programs/winepath/winepath.spec: Mike Wetherell Utility to convert between Unix and Windows paths at the command line. * files/smb.c: Mike McCormack Implement NetBIOS resolution for UNC pathnames. * dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/module.c: Jukka Heinonen Terminating DOS program in real mode now calls ExitThread which is exactly what terminating in protected mode does. * dlls/winedos/int21.c: Jukka Heinonen Real mode interrupt handler now handles interrupt 21 function 0C. * dlls/comctl32/comctl_Ja.rc, dlls/comctl32/rsrc.rc, dlls/kernel/nls/jpn.nls, dlls/msacm/imaadp32/imaadp32.acm.spec, dlls/msacm/imaadp32/imaadp32.c, dlls/msacm/msg711/msg711.c, dlls/msacm/msg711/msg711.drv.spec, dlls/msrle32/msrle32.c, dlls/msrle32/msrle32.spec, dlls/oleaut32/Makefile.in, dlls/oleaut32/dispstd.c, dlls/oleaut32/disptype.c, dlls/oleaut32/ole2disp.c, dlls/oleaut32/propertyframe.c, dlls/oleaut32/stubs.c, dlls/shdocvw/Makefile.in, dlls/shdocvw/api.c, dlls/shdocvw/browser.c, dlls/shdocvw/classinfo.c, dlls/shdocvw/comimpl.c, dlls/shdocvw/comimpl.h, dlls/shdocvw/connect.c, dlls/shdocvw/events.c, dlls/shdocvw/factory.c, dlls/shdocvw/misc.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/persist.c, dlls/shdocvw/shdocvw.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/shdocvw.spec, dlls/shdocvw/shdocvw_main.c, dlls/shdocvw/webbrowser.c, dlls/urlmon/Makefile.in, dlls/urlmon/comimpl.c, dlls/urlmon/comimpl.h, dlls/urlmon/moniker.c, dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c, dlls/winmm/winmm_Ja.rc, dlls/winmm/winmm_res.rc, documentation/samples/system.ini, include/Makefile.in, include/dsound.h, include/dvdmedia.h, include/wine/obj_ksproperty.h, dlls/avicap32/avicap32.spec, dlls/avicap32/avicap32_main.c: Removed more code at Hidenori's request. 2002-05-04 Alexandre Julliard * documentation/bugs.sgml, documentation/wine.man.in, BUGS, README: Andriy Palamarchuk Updated documentation, mostly improving bugs handling. Direct users to Bugzilla. * include/async.h, include/winnt.h, memory/selector.c, scheduler/sysdeps.c, tools/winebuild/spec16.c: Patrik Stridvall MS C related changes. * graphics/x11drv/dib.c: David Hammerton In initial dibsection creation, the dibsection should always be in appmod because the app memory is initialized to zero if no offset/section is specified, while the DIBitmap is not. * tools/wineinstall: Andriy Palamarchuk Made wineinstall to create symbolic links to Wine applications in fake Windows folders. Replaced usage of obsolete regapi with regedit. * programs/regedit/regedit.c: Andriy Palamarchuk Fixed a problem when regedit interpreted file names, starting from '/' as switches. * programs/wcmd/builtins.c, programs/wcmd/wcmd.h, programs/wcmd/wcmdmain.c, programs/wcmd/wcmdrc.rc: Jason Edmeades Add support for the 'title' command. * files/dos_fs.c: Marcus Meissner FindClose: protect the GlobalLock for pagefaults too. * tools/wrc/newstruc.c: Warren Baird Solve alignment problems by converting bitmap headers *after* they have been copied into an aligned location, and then copying the converted header back over the original header. * dlls/x11drv/xrender.c: Huw D M Davies Detect and warn about buggy versions of libXrender. 2002-05-02 Alexandre Julliard * include/color.h, objects/color.c, objects/palette.c, windows/cursoricon.c, dlls/ttydrv/dc.c, dlls/ttydrv/palette.c, dlls/ttydrv/ttydrv.h, graphics/x11drv/brush.c, graphics/x11drv/palette.c: Cleaned up some inter-dll dependencies in palette management. * tools/wineinstall: Dustin Navea Changed bug report address. * dlls/comctl32/status.c: Bill Medland Moved drawing of owner-drawn parts to after the background and edge. Also added some indentation to the code. * dlls/comctl32/tooltips.c: Christian Costa TOOLTIPS_GetTipText: Accept null module instance, Loadstring can handle it. * Makefile.in, programs/Makefile.in: Install more of the Winelib programs by default (based on a patch by Andriy Palamarchuk). * programs/winhelp/Makefile.in: Andriy Palamarchuk Do not install hlp2sgml. * dlls/ttydrv/dc.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv.spec, dlls/wineps/bitblt.c, dlls/wineps/bitmap.c, dlls/wineps/clipping.c, dlls/wineps/font.c, dlls/wineps/graphics.c, dlls/wineps/pen.c, dlls/wineps/psdrv.h, dlls/wineps/text.c, dlls/wineps/wineps.spec, dlls/x11drv/x11drv.spec, graphics/x11drv/clipping.c, include/gdi.h, include/x11drv.h, objects/clipping.c: Removed some direct accesses to the DC structure. * include/dshow.h: Commented out removed headers. * dlls/avifil32/Makefile.in, dlls/avifil32/api.c, dlls/avifil32/avifil32.spec, dlls/avifil32/avifile.c, dlls/avifil32/avifile_private.h, dlls/avifil32/comentry.c, dlls/avifil32/iafile.c, dlls/avifil32/iastream.c, dlls/avifil32/igframe.c, dlls/avifil32/main.c, dlls/avifil32/string.c, dlls/imm32/imm.c, dlls/imm32/imm32.spec, dlls/imm32/immddk.h, dlls/quartz/Makefile.in, dlls/quartz/README, dlls/quartz/acmwrap.c, dlls/quartz/amundoc.c, dlls/quartz/asyncsrc.c, dlls/quartz/asyncsrc.h, dlls/quartz/audioutl.c, dlls/quartz/audioutl.h, dlls/quartz/audren.c, dlls/quartz/audren.h, dlls/quartz/avidec.c, dlls/quartz/aviparse.c, dlls/quartz/basefilt.c, dlls/quartz/basefilt.h, dlls/quartz/basepin.c, dlls/quartz/capgraph.c, dlls/quartz/capgraph.h, dlls/quartz/complist.c, dlls/quartz/complist.h, dlls/quartz/csconv.c, dlls/quartz/devenum.c, dlls/quartz/devenum.h, dlls/quartz/enumunk.c, dlls/quartz/enumunk.h, dlls/quartz/fgevent.c, dlls/quartz/fgpass.c, dlls/quartz/fgraph.c, dlls/quartz/fgraph.h, dlls/quartz/filesink.c, dlls/quartz/filesink.h, dlls/quartz/fmap.c, dlls/quartz/fmap.h, dlls/quartz/ifgraph.c, dlls/quartz/ijgdec.c, dlls/quartz/ijgdec.h, dlls/quartz/imcntl.c, dlls/quartz/imfilter.c, dlls/quartz/impos.c, dlls/quartz/imseek.c, dlls/quartz/iunk.c, dlls/quartz/iunk.h, dlls/quartz/main.c, dlls/quartz/memalloc.c, dlls/quartz/memalloc.h, dlls/quartz/midparse.c, dlls/quartz/mjpgdec.c, dlls/quartz/mpadec.c, dlls/quartz/mpgparse.c, dlls/quartz/mpvdec.c, dlls/quartz/mtype.c, dlls/quartz/mtype.h, dlls/quartz/parser.c, dlls/quartz/parser.h, dlls/quartz/qtdec.c, dlls/quartz/qtparse.c, dlls/quartz/quartz.spec, dlls/quartz/quartz_private.h, dlls/quartz/regsvr.c, dlls/quartz/regsvr.h, dlls/quartz/sample.c, dlls/quartz/sample.h, dlls/quartz/seekpass.c, dlls/quartz/seekpass.h, dlls/quartz/sysclock.c, dlls/quartz/sysclock.h, dlls/quartz/videoblt.c, dlls/quartz/videoblt.h, dlls/quartz/vidren.c, dlls/quartz/vidren.h, dlls/quartz/wavparse.c, dlls/quartz/xform.c, dlls/quartz/xform.h, include/Makefile.in, include/amaudio.h, include/amvideo.h, include/control.h, include/errors.h, include/evcode.h, include/strmif.h, ole/uuid.c, dlls/Makefile.in, winedefault.reg: Removed a bunch of multimedia code at Hidenori's request. * include/uuids.h, include/vfwmsgs.h, include/winresrc.h: Rewrote some headers from scratch to avoid EULA/patent concerns. 2002-05-01 Alexandre Julliard * dlls/ntdll/cdrom.c, files/drive.c, include/config.h.in, configure, configure.ac: Rizsanyi Zsolt Implemented IOCTL_SCSI_GET_ADDRESS for non true scsi cdrom drives (only on linux). Initialize registry under HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/Scsi. Added IOCTL_CDROM_MEDIA_REMOVAL support. * dlls/ntdll/nt.c: Laurent Pinchart Fixed NtQueryInformationProcess to return correct information and error code for ProcessDebugPort when no debugger is attached. * configure, configure.ac, dlls/ntdll/cdrom.c, include/config.h.in, include/ntddscsi.h: Laurent Pinchart Implementation of IOCTL_SCSI_PASS_THROUGH and IOCTL_SCSI_PASS_THROUGH_DIRECT. * include/windef.h, debugger/hash.c, debugger/msc.c, debugger/source.c, debugger/stabs.c, dlls/msvcrt/dir.c, dlls/oleaut32/typelib.c: Attempt at fixing MAX_PATH issues for mingw. * tools/wineshelllink: Michael Cardenas Fixed quoting of KDE desktop entry. * dlls/dsound/dsound_main.c, include/dsound.h: Johan Gill DirectSoundEnumerateA() now passes a GUID to the callback if the first call returned TRUE. * win32/editline.c: Jason Edmeades Correct behaviour of DEL key back to deleting the current character. * dlls/winedos/module.c: Jukka Heinonen When DOS program executes another DOS program, command line is now passed correctly. If DOS command line is too long, command line is now truncated instead of letting it trash memory. 2002-04-30 Alexandre Julliard * win32/editline.c: Jason Edmeades - Added f8 (history retrieval from partial command) support - Delete key deletes current character - Ctrl + end deletes to end of line - Ctrl + right stopped before the word itself * configure, configure.ac, dlls/x11drv/.cvsignore, dlls/x11drv/Makefile.in, dlls/x11drv/clipboard.c, dlls/x11drv/event.c, dlls/x11drv/keyboard.c, dlls/x11drv/wineclipsrv.c, documentation/configuring.sgml, documentation/packaging.sgml: Moved remaining files in windows/x11drv to dlls/x11drv. 2002-04-29 Alexandre Julliard * configure, configure.ac, programs/Makefile.in, programs/regsvr32/.cvsignore, programs/regsvr32/Makefile.in, programs/regsvr32/regsvr32.c, programs/regsvr32/regsvr32.spec: Andriy Palamarchuk Implemented regsvr32 tool. Based on ReactOS implementation. * programs/wcmd/builtins.c, programs/wcmd/directory.c: Jason Edmeades - Support for dir /w and /b flags - Fixed a couple of unclosed FindFirst/FindNext pairs * dlls/imm32/imm_private.h, dlls/imm32/immddk.h, dlls/imm32/main.c, dlls/imm32/memory.c, dlls/imm32/string.c, dlls/imm32/Makefile.in, dlls/imm32/imc.c, dlls/imm32/imekl.c, dlls/imm32/imewnd.c, dlls/imm32/imm.c: Hidenori Takeshima Removed some code because of MS EULA concerns. Rewrote stubs. * dlls/comctl32/toolbar.c: Marco Bizzarri Implemented the TB_REPLACEBITMAP message. * scheduler/process.c: Don't prepend '--' to the command line when starting a Windows binary. * tools/wineshelllink: Dustin Navea Write menu information to /usr/lib/menu/wine. Try to autodetect KDE version using kde-config. * dlls/advapi32/crypt.c, dlls/comctl32/imagelist.c, dlls/commdlg/filedlg95.c, dlls/crypt32/crypt32.spec, dlls/gdi/printdrv.c, dlls/msvcrt/file.c, dlls/richedit/richedit.c, dlls/shell32/shpolicy.c, dlls/wininet/http.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/winapi_check_options.pm, tools/winapi_check/modules.dat, tools/winapi_check/win32/comctl32.api, tools/winapi_check/win32/crypt32.api, tools/winapi_check/win32/gdi32.api, tools/winapi_check/win32/msisys.api, tools/winapi_check/win32/urlmon.api, tools/winapi_check/win32/ws2_32.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_options.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - API files update. - Fixed parser to handle C/C++ comments in strings. - Report if C++ comments are used. * configure, configure.ac, dlls/Makefile.in, dlls/snmpapi/.cvsignore, dlls/snmpapi/Makefile.in, dlls/snmpapi/main.c, dlls/snmpapi/snmpapi.spec: Patrik Stridvall Stub implementation of SNMPAPI.DLL. * include/winnt.h, scheduler/sysdeps.c: Patrik Stridvall Microsoft C related changes. * dlls/quartz/README, dlls/quartz/asyncsrc.c, dlls/quartz/asyncsrc.h: Hidenori Takeshima Reimplemented the asynchronous source filter. * dlls/kernel/Makefile.in, dlls/kernel/tests/.cvsignore, dlls/kernel/tests/file.c: Jakob Eriksson Added unit tests for file functions. * programs/wcmd/builtins.c: Jason Edmeades Emulate the dos cmd 'cls'. * dlls/winedos/xms.c: Jukka Heinonen When freeing XMS memory block, return an error if block has not been previously allocated. * dlls/twain/dsm_ctrl.c: Marcus Meissner Make twain compile again. * dlls/comctl32/status.c: Marcus Meissner Fixed StatusBar SetText again, added some comments. 2002-04-27 Alexandre Julliard * tools/Makefile.in, tools/winebuild/Makefile.in, tools/winedump/Makefile.in, tools/wmc/Makefile.in, tools/wrc/Makefile.in, Makefile.in, configure, configure.ac, server/Makefile.in: Link the tools and the server against libwine so we can use the portability functions in there. * debugger/dbg.y, dlls/comctl32/ipaddress.c, dlls/quartz/ijgdec.c, dlls/twain/ds_ctrl.c, dlls/twain/twain.h: Fixed warnings. * include/msvcrt/sys/stat.h: FreeBSD compile fix. * dlls/winsock/Makefile.in, dlls/winsock/tests/.cvsignore, dlls/winsock/tests/sock.c, dlls/winsock/tests/ws2_32_test.spec: Martin Wilck Added unit test for winsock. * server/sock.c: Martin Wilck Fixes to FD_CLOSE handling. * dlls/winsock/socket.c: Martin Wilck SO_OPENTYPE has to be a per-thread setting. * programs/winetest/include/advapi32.pm, programs/winetest/include/avicap32.pm, programs/winetest/include/gdi32.pm, programs/winetest/include/imm32.pm, programs/winetest/include/kernel32.pm, programs/winetest/include/msimg32.pm, programs/winetest/include/msisys_ocx.pm, programs/winetest/include/ole32.pm, programs/winetest/include/oleaut32.pm, programs/winetest/include/rpcrt4.pm, programs/winetest/include/setupapi.pm, programs/winetest/include/setupapi_h.pm, programs/winetest/include/shdocvw.pm, programs/winetest/include/shell32.pm, programs/winetest/include/shlwapi.pm, programs/winetest/include/urlmon.pm, programs/winetest/include/winearts_drv.pm, programs/winetest/include/wingdi.pm, programs/winetest/include/wininet.pm, programs/winetest/include/winnt.pm, programs/winetest/include/winspool_drv.pm, programs/winetest/include/winuser.pm, programs/winetest/include/ws2_32.pm: Updated module definitions for Perl unit tests. * programs/winetest/make_symbols: Added possibility of specifying a name for the .pm file that can be different from the header name. * dlls/oleaut32/dispstd.c, dlls/oleaut32/disptype.c, dlls/shdocvw/api.c, dlls/shdocvw/comimpl.c, dlls/shdocvw/shdocvw.spec, dlls/urlmon/comimpl.c, dlls/urlmon/urlmon.spec: Added some shdocvw ordinals and stubs. Fixed a few winapi_check issues. * tools/wineinstall: Dustin Navea Always run ldconfig even if we don't change ld.so.conf. * dlls/user/text.c: Robert O'Callahan Fixed bug in TEXT_WordBreak that was variously throwing Lotus Notes into an infinite loop or causing it to crash. 2002-04-26 Alexandre Julliard * server/debugger.c, server/event.c, server/handle.c, server/mapping.c, server/mutex.c, server/named_pipe.c, server/object.c, server/process.c, server/queue.c, server/registry.c, server/semaphore.c, server/snapshot.c, server/thread.c, server/timer.c, server/trace.c, server/unicode.c, server/window.c, tools/makedep.c, tools/winedump/misc.c, tools/winedump/msmangle.c, tools/winedump/output.c, tools/winedump/pe.c, tools/winedump/search.c, tools/winedump/symbol.c, tools/wmc/utils.c, tools/wrc/readres.c, tools/wrc/utils.c, win32/console.c, win32/editline.c, windows/win.c, dlls/urlmon/comimpl.c, dlls/user/dde/misc.c, dlls/user/message.c, dlls/user/text.c, dlls/winedos/module.c, dlls/wininet/ftp.c, graphics/x11drv/xfont.c, include/config.h.in, include/wine/library.h, include/wine/port.h, library/port.c, misc/registry.c, objects/enhmetafile.c, ole/ole2nls.c, programs/regedit/regproc.c, programs/wineconsole/wineconsole.c, scheduler/process.c, scheduler/pthread.c, server/atom.c, server/console.c, configure.ac, debugger/ext_debugger.c, debugger/memory.c, dlls/advapi32/advapi.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/helper.c, dlls/dsound/dsound_main.c, dlls/msvcrt/data.c, dlls/msvcrt/dir.c, dlls/msvcrt/file.c, dlls/msvcrt/locale.c, dlls/ntdll/reg.c, dlls/odbc32/proxyodbc.c, dlls/quartz/iunk.c, dlls/setupapi/parser.c, dlls/shdocvw/comimpl.c, configure: Better support for configure detection of missing types, added check for ssize_t. Removed a couple of no longer used portability functions. Various portability fixes in port.h. * windows/message.c: Update the queue key state even if no window has the focus (spotted by Rizsanyi Zsolt). * dlls/winsock/socket.c, files/file.c, server/file.c, server/serial.c, server/sock.c: Martin Wilck Fixed some bugs in my recently submitted patch series. 2002-04-25 Alexandre Julliard * dlls/kernel/tests/path.c: Paul Millar Fixed minor typo. * include/mmsystem.h: Steven Edwards Fix for mingw32. * documentation/running.sgml, documentation/wine.man.in: Andriy Palamarchuk Updated lists of debugging channels. * dlls/kernel/comm.c: Mike McCormack Added support for TransmitCommChar. * files/file.c, include/wine/server_protocol.h, server/protocol.def, server/sock.c: Martin Wilck Fixed ReadFile() semantics when reading asynchronously on sockets. Provide more accurate status codes than STATUS_UNSUCCESSFUL. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/relay.c, tools/winebuild/res16.c, tools/winebuild/res32.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c, tools/winebuild/utils.c, windows/winproc.c, dlls/msvcrt/except.c, dlls/ntdll/critsection.c, dlls/ntdll/debugtools.c, dlls/ntdll/exception.c, dlls/ntdll/signal_i386.c, dlls/winedos/int31.c, include/wine/port.h, include/winnt.h, library/port.c, memory/selector.c, relay32/relay386.c, relay32/snoop.c, scheduler/critsection.c: Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch] * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, files/file.c, include/winbase.h: Martin Wilck Implemented overlapped WSARecvFrom(), WSASendTo(), and WSAGetOverlappedResult(). Fixed shutdown() to work correctly for overlapped sockets (do not actually do a shutdown() system call as long as there are pending overlapped requests). Also added correct error reporting when trying to read or write on a shut down connection, also for ReadFile()/WriteFile() calls. * include/wine/server_protocol.h, server/protocol.def, server/sock.c: Martin Wilck Implemented server framework for asynchronous IO on sockets. 2002-04-24 Alexandre Julliard * dlls/x11drv/winpos.c: Never activate the window on SW_SHOWNOACTIVATE. * configure, configure.ac, include/config.h.in: No longer try to support non-reentrant Xlib. * dlls/x11drv/winpos.c: Huw D M Davies Don't check hwndInsertAfter if SWP_NOZORDER is set. * dlls/x11drv/x11drv_main.c, graphics/x11drv/dib.c, include/x11drv.h: Added support for installing an error callback when expecting an X11 error. * server/async.c, server/file.c, server/object.h, server/serial.c: Martin Wilck Add more flexibility to the queue_async server call by moving most functionality into the object's queue_async method. * dlls/comctl32/toolbar.c: Guy L. Albertelli - Improve I_IMAGECALLBACK handling and support I_IMAGENONE. - Implement TBN_HOTITEMCHANGE in the mouse move routine. * dlls/kernel/comm.c: Marcelo Welter Fix to old DCB format parsing. * dlls/user/tests/.cvsignore, dlls/user/tests/wsprintf.c, dlls/user/Makefile.in: Bill Medland First regression test for wsprintf. 2002-04-23 Alexandre Julliard * configure.ac, dlls/x11drv/xrender.c, include/config.h.in, include/ts_xrender.h, tools/make_X11wrappers, tsx11/Makefile.in, tsx11/X11_calls, tsx11/ts_xrender.c, configure: Load libXrender at run-time with dlopen (based on a patch by Huw Davies). * include/wine/server_protocol.h, server/protocol.def, server/request.h, server/sock.c, server/trace.c, dlls/winsock/socket.c, dlls/winsock/ws2_32.spec: Martin Wilck Fixed handling of deferred connections in WSAAccept(). * unicode/c_950.c, unicode/casemap.c, unicode/compose.c, unicode/cpmap.pl, unicode/cptable.c, unicode/wctype.c, unicode/Makefile.in, unicode/c_037.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_28600.c, unicode/c_28603.c, unicode/c_28604.c, unicode/c_28605.c, unicode/c_28606.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: Updated for Unicode 3.2. Added ISO8859-16 codepage. * tools/wineconf: Dustin Navea Find ntfs drives and supermount cd-roms. Fix finding non-supermount cd-roms mounted at /cdrom. * tools/wineinstall: Dustin Navea Search for real-windows registry now actually accesses a file. Find clean-install win2k registry. Find correct partition of real Drive C (most of the time). * files/file.c: Martin Wilck Avoid segfault with overlapped WriteFile() calls. * dlls/comctl32/comboex.c: Dimitrie O. Paun Fix WM_NOTIFYFORMAT handling. * dlls/comctl32/status.c: Dimitrie O. Paun - implement WM_NOTIFYFORMAT - fix grip painting - make use of DrawStatusText to paint control 2002-04-22 Alexandre Julliard * controls/edit.c, dlls/richedit/richedit.c, include/richedit.h: Chuck Crayne - Recognize "\n" as an alternative soft line break in function EDIT_BuildLineDefs_ML of edit.c. - Major restructuring of richedit.c to provide bug fixes, enhanced function, and improved debug support. * windows/dce.c: Clear the DC dirty flag before calling SetDCState to avoid spurious vis region updates. * tools/wineinstall: Fixed typo in su command. * dlls/dsound/dsound_main.c: Eric Pouech A bit more robust against wave???Open failures. * dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/midi.c, dlls/winmm/wineoss/oss.h: Eric Pouech Fixed multi-thread access to local variables (mainly fd for /dev/dsp). God rid of obsolete macro. Fixed some slight init issues. * dlls/winmm/lolvldrv.c: Eric Pouech Fixed a mismatch in wavein 16/32 mapping. Relaxed some tests about buffer lengths. * files/drive.c: Eric Pouech Always close fd when reading super block. * include/winsock.h: Martin Wilck Fixed cut&paste bug. * dlls/kernel/comm.c: Removed constants that aren't defined in Windows. 2002-04-21 Alexandre Julliard * objects/dc.c: Fixed handling of visible region in Save/RestoreDC. * msdos/int13.c, win32/device.c: Mike McCormack Moved int13 support to the VWIN32_DIOC_DOS_INT13 ioctl. Added support for the floppy parameter table. * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/process.c, dlls/kernel/Makefile.in: Eric Pouech Added a framework for testing CreateProcess and a few tests. * tools/wineinstall: Tony Lambregts Correctly detect the presence of a wine binary. * dlls/kernel/comm.c: Faster serial speed cases for non Linux systems. * dlls/user/Makefile.in, dlls/user/tests/.cvsignore, dlls/user/tests/class.c, dlls/user/tests/user32_test.spec: Mike McCormack Added a simple test set for window classes. * dlls/shell32/shlfolder.c: Bill Medland The extension should not be removed from the display of folder names. 2002-04-20 Alexandre Julliard * server/mapping.c: Clear mapping->shared_file on error. * configure, configure.ac: Bill Medland Get the ldconfig check to work for bash shells. * dlls/oleaut32/stubs.c: Hidenori Takeshima Implemented OleIconToCursor. * programs/wcmd/builtins.c: Jason Edmeades - Fixed move and copy when no destination supplied (assumes '.' now as per windows) - Fixed move so uses full path name for destination file, and if destination is a directory, uses original filename. * dlls/user/wsprintf.c: Bill Medland Correct handling of zero-padded negative numbers; transfer the sign BEFORE adding the zeroes. * tools/wineinstall: Bill Medland Handle when ldconfig is not on the path, and do not run it until after the libdir has been populated. * tools/winecheck: Bill Medland Prevent error message if LD_LIBRARY_PATH is not being used. Comment out the DEBUG message. * dlls/shell32/brsfolder.c: Bill Medland Get the folder browser to work as well with W notification as A (it seems to work reasonably). * dlls/winedos/int10.c: Christian Costa GET FUNCTIONALITY/STATE INFORMATION: The input parameter ES:DI is a buffer where bios information (all the VIDEOSTATE struct) must be copied to. * include/wine/test.h, programs/winetest/wtmain.c: Eric Pouech Now C tests are able to access argc/argv as passed to the program. 2002-04-19 Alexandre Julliard * dlls/winedos/vga.c: Christian Costa VGA_ioport_in: Fake the occurrence of the vertical refresh when no graphic mode has been set. * dlls/quartz/Makefile.in, dlls/quartz/aviparse.c, dlls/quartz/ijgdec.c, dlls/quartz/ijgdec.h, dlls/quartz/mjpgdec.c: Hidenori Takeshima Implemented MJPG handler. * dlls/advapi32/advapi.c, dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Leo van den Berg Added stubs for AbortSystemShutdown[AW] and PrivilegeCheck. * dlls/commdlg/filedlg95.c: Mehmet Yasar Now, we are really erasing WS_CAPTION style. * programs/winetest/include/wine.pm, programs/winetest/runtest, programs/winetest/wtmain.c: Paul Millar Added option for announcement of successful test results. 2002-04-17 Alexandre Julliard * dlls/Makefile.in, dlls/gdi/gdi32.spec, dlls/wineps/Makefile.in, Makefile.in: Export a few more 16-bit GDI functions. Finished wineps separation. * dlls/winedos/int10.c: Christian Costa Implement SET INDIVIDUAL DAC REGISTER and SET BLOCK OF DAC REGISTERS. * windows/spy.c: Guy L. Albertelli Put the MCN_ and DTN_ in correct order. * dlls/comctl32/status.c: Mehmet Yasar Add more check inside SB_SETTEXT and SB_GETTEXT. * dlls/comctl32/commctrl.c: Dimitrie O. Paun Complete implementation for DrawStatusText{A,W}. * dlls/winsock/socket.c: Martin Wilck _get_sock_fd_type: New function, retrieve fd type and flags like FILE_GetUnixHandleType(). WSASendTo/WSARecvFrom: Use _get_sock_fd_type(). * files/file.c: Martin Wilck GetOverlappedResult: Return ERROR_IO_INCOMPLETE if IO still pending. ReadFile / WriteFile: Use GetOverlappedResult() to check for immediate completion. 2002-04-15 Alexandre Julliard * scheduler/process.c: Fixed stupid typo in previous patch. 2002-04-14 Alexandre Julliard * dlls/wineps/psdrv.h, dlls/wineps/wineps.spec, dlls/x11drv/x11drv.spec, graphics/x11drv/xfont.c, include/gdi.h, include/x11drv.h, objects/font.c, dlls/gdi/win16drv/font.c, dlls/gdi/win16drv/win16drv.h, dlls/wineps/font.c: Pass a PHYSDEV to EnumDeviceFont and release the GDI lock in FONT_EnumInstance instead. * misc/options.c, scheduler/process.c: Fixed inheriting command-line options from parent process. * dlls/kernel/comm.c, files/file.c, include/async.h: Martin Wilck - Need a "cleanup" method. - calling the "call_completion" method unconditionally in finish_async (introduced by me) was wrong, because the thread may never be in an alertable wait state -> call it only if user completion function is present. - We need two constant "ops" objects, one with and one without call_completion method (the event field may NOT be used to determine whether the completion must be called or not). * server/async.c: Martin Wilck STATUS_CANCELLED is correct for cancelled requests (corresponds to ERROR_OPERATION_ABORTED). * dlls/commdlg/filedlg95.c: Mehmet Yasar - Clear WS_CAPTION style. - Send now CDN_FILEOK before FILEOKSTRING. - Fix bug related to DWL_MSGRESUL (we were reading from wrong hwnd). * dlls/quartz/Makefile.in, dlls/quartz/README, dlls/quartz/acmwrap.c, dlls/quartz/asyncsrc.c, dlls/quartz/audren.c, dlls/quartz/fmap.c, dlls/quartz/ifgraph.c, dlls/quartz/iunk.c, dlls/quartz/main.c, dlls/quartz/memalloc.c, dlls/quartz/midparse.c, dlls/quartz/mjpgdec.c, dlls/quartz/mpadec.c, dlls/quartz/mpgparse.c, dlls/quartz/mpvdec.c, dlls/quartz/parser.c, dlls/quartz/parser.h, dlls/quartz/qtdec.c, dlls/quartz/qtparse.c, dlls/quartz/seekpass.c, dlls/quartz/vidren.c, dlls/quartz/xform.c, dlls/quartz/xform.h, winedefault.reg: Hidenori Takeshima Fixed some bugs. Added stubs. Remove harmless FIXMEs. * tools/winemaker: Martin Wilck Fix winemaker-generated references to dlls that have changed their names. * dlls/comctl32/toolbar.c: Guy L. Albertelli Implement NM_CUSTOMDRAW notification. * windows/spy.c: Guy L. Albertelli - When dumping NMCUSTOMDRAW, use correct size for a Toolbar. - Add notify names for controls: tooltips, updown, calendar, datetime, ip, and status. 2002-04-11 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20020411. ---------------------------------------------------------------- 2002-04-11 Alexandre Julliard * .cvsignore, Makefile.in: Clean autom4te.cache. * configure, configure.ac, programs/Makefile.in, programs/regapi/regFixer.pl, programs/regapi/regRestorer.pl, programs/regapi/tests/README, programs/regapi/tests/after.reg, programs/regapi/tests/before.reg, programs/regapi/tests/orig.reg, programs/regedit/.cvsignore, programs/regedit/Makefile.in, programs/regedit/regedit.c, programs/regedit/regedit.spec, programs/regedit/regproc.c, programs/regedit/regproc.h: Andriy Palamarchuk Created regedit replacement. Fixed some bugs. * programs/clock/ChangeLog, programs/notepad/ChangeLog, programs/osversioncheck/ChangeLog, programs/progman/ChangeLog, programs/regtest/ChangeLog, programs/wcmd/ChangeLog, programs/winhelp/ChangeLog, programs/winver/ChangeLog: Removed changelog entries that are in the main changelog, and added notice to not edit the secondary changelogs anymore. * graphics/x11drv/opengl.c: Christoph Frick Reuse visuals to avoid MAX_PIXELFORMATS limit. Activated the code to support the stencil buffer. * graphics/x11drv/xfont.c: Hidenori Takeshima Use hard-coded font name bindings only with the ANSI_CHARSET (non-US charsets with no font name shouldn't be bound to US charset). * dlls/ole32/ole2stubs.c, dlls/oleaut32/ole2disp.c: Hidenori Takeshima Return error codes in some 16bit ole stubs, returning success causes crashes. * include/config.h.in, misc/options.c, programs/clock/main.c, programs/winver/winver.c, windows/nonclient.c, Makefile.in, configure, configure.ac: Updated configure to take advantage of new autoconf 2.53 features. * dlls/winedos/Makefile.in, dlls/winedos/int10.c, dlls/winedos/int21.c, dlls/winedos/int29.c, include/console.h: Removed obsolete console driver. * dlls/kernel/Makefile.in, dlls/kernel/tests/.cvsignore, dlls/kernel/tests/path.c: Geoffrey Hausheer Added test for GetFullPathNamesA, GetLongPathNamesA, GetShortPathNamesA, GetCurrentDirectoryA, SetCurrentDirectoryA. * dlls/shell32/iconcache.c: Uwe Bonnes SIC_GetIconIndex: start DPA_Search from index 0. * unicode/wctomb.c: 'used' should be set even if we are only computing the necessary buffer size. * dlls/crypt32/main.c, dlls/winsock/socket.c, files/file.c: Stefan Leichter Compile fixes for gcc 2.7.2.3. * dlls/comctl32/comboex.c: Dimitrie O. Paun - implement LPSTR_TEXTCALLBACK - fix many memory-management bugs - many Unicode fixes - fix indentation in a few places - bits of code cleanup * dlls/winedos/int10.c, dlls/winedos/vga.c, dlls/winedos/vga.h: Jukka Heinonen Removed obsolete text mode color and attribute code. Made routines for text mode scolling, clearing and getting character at cursor use Windows console and VGA buffer. * dlls/commdlg/printdlg.c: Marcus Meissner Implemented PrintDlgW and PageSetupDlgW. * server/window.c: Uwe Bonnes get_window_children: only decrement available size if element was written. * dlls/comctl32/listview.c: Uwe Bonnes LISTVIEW_GetColumnT: care for the format of the string. LISTVIEW_Create: send HDM_SETUNICODEFORMAT message. * dlls/msvideo/mciwnd.c: Uwe Bonnes MCIWndCreateA: check for NULL filename. * controls/edit.c: Rizsanyi Zsolt Sending EN_UPDATE notification in the EDIT_WM_SetText - the comment already says, that the message is sent, but it is not... 2002-04-09 Alexandre Julliard * scheduler/process.c: Dmitry Timoshkov Create new console only if the process is a console application. * windows/defwnd.c, windows/nonclient.c: Dmitry Timoshkov Fixed problem with mouse cursors in Word. * controls/static.c: Dmitry Timoshkov Always erase background. * graphics/x11drv/bitblt.c: Huw D M Davies We don't handle STRETCH_HALFTONE mode yet; make this do the same as STRETCH_DELETESCANS for now. 2002-04-08 Alexandre Julliard * windows/win.c: Need to check for focus and capture also on the children of the window being disabled. * configure, configure.ac, dlls/Makefile.in, dlls/msisys/.cvsignore, dlls/msisys/Makefile.in, dlls/msisys/msisys.c, dlls/msisys/msisys.ocx.spec: Mike McCormack Created a stubbed version of MSISYS.OCX. * windows/spy.c: Guy Albertelli Some additional traces. * dlls/shell32/shelllink.c: Dusan Lacko If we can't extract the icon, defer link creation to runonce. * graphics/x11drv/opengl.c: Fixed compile when HAVE_OPENGL is not defined. * controls/edit.c: Dmitry Timoshkov Added CS_PARENTDC style. * include/urlmon.h: François Gouget Added some error codes. * dlls/Makefile.in, dlls/urlmon/Makefile.in, dlls/urlmon/comimpl.c, dlls/urlmon/comimpl.h, dlls/urlmon/moniker.c, dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c: Hidenori Takeshima Added some stubs. * dlls/comctl32/status.c: Dimitrie O. Paun - get rid of parent handle from info struct - store hwnd in info struct, do not pass it around - use unicode functions wherever possible - consistent indentation - bugs in Unicode handling fixed - fix handling of error conditions - fix initialization bugs, etc. - complete tooltip support - typesafety - update the FIXME list to the latest specs * include/x11drv.h, graphics/x11drv/opengl.c: Michael Karcher Fixed OpenGL routines broken by the DC -> PHYSDEV change. * programs/winetest/make_cygwin_makefiles: Geoffrey Hausheer Added comments explaing how to use cygwin/mingw/wine headers. Added 'clean' and 'distclean' Added new options -s and -i. Archives will now include the entire './include' directory instead of just './include/wine'. Renamed makefile from Makefile.cyg to Makefile.win. The makefile is now mingw compatible as well (although it's be better if we could detect the correct location of the windows.h headers). * dlls/comctl32/comboex.c: Dimitrie O. Paun - fix indentation - handle all out-of-memory cases - better drawing code - fix CBES_EX_NOEDITIMAGE handling - implement CBES_EX_NOEDITIMAGEINDENT - implement I_{INDENT,IMAGE}CALLBACK - fix notification code for ANSI/Unicode - make use of iOverlay image * windows/x11drv/keyboard.c: Paul Rupe Added keymap tables for US dvorak layout. * dlls/winsock/socket.c: Gerald Pfeifer Also #include . * documentation/samples/win.ini: Hidenori Takeshima Added a sample win.ini. * dlls/quartz/Makefile.in, dlls/quartz/main.c, dlls/quartz/mpadec.c, dlls/quartz/mpvdec.c, dlls/quartz/xform.h: Hidenori Takeshima Added some stubs. * dlls/winmm/winmm_Ja.rc, dlls/winmm/winmm_res.rc: Hidenori Takeshima Added resources for Japanese. * dlls/quartz/parser.c, dlls/quartz/parser.h: Hidenori Takeshima Fixed crashing in stopping parser. * windows/sysparams.c: Hidenori Takeshima Use default GUI font instead of hard-coded 'MS Sans Serif'. * dlls/winedos/int21.c: Jukka Heinonen Converted "read standard input with echo" interrupt service to use common DOSVM console input routine and made the service really echo. * dlls/winedos/int10.c, dlls/winedos/vga.c, dlls/winedos/vga.h: Jukka Heinonen Writes to stdout and VGA_WriteChars routine now update both VGA buffers and Windows console. Added routine for changing current console attributes. Moved text mode handling from VGA_Poll into new routine and changed locking primitive into critical section. * dlls/winmm/mciwave/mciwave.c: Hidenori Takeshima Fixed an overflow in calculating times. 2002-04-06 Alexandre Julliard * winedefault.reg: Dmitry Timoshkov Added registry entries required for IE installer. * windows/x11drv/clipboard.c: Huw D M Davies Don't hang around for a minute if we can't exec the clipboard server. * windows/focus.c, windows/winpos.c: François Gouget Replace some SendMessage with SendNotifyMessage in case the target window belongs to another thread. * programs/uninstaller/main.c: Jeremy White Fixed exit status in some cases. * objects/text.c: Huw D M Davies Spout a FIXME if we try to call ExtTextOut on an open path. * dlls/wineps/driver.c, dlls/wineps/init.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/wineps.spec: Huw D M Davies Implement ResetDC and PHYSICALOFFSET[X|Y] devcaps. Fixes to MergeDevmodes. * dlls/wineps/init.c: Huw D M Davies Changed default paper size to letter. * server/process.c: Avoid crash when trying to attach to a terminating process. * dlls/gdi/driver.c, dlls/gdi/enhmfdrv/init.c, dlls/gdi/mfdrv/init.c, dlls/gdi/win16drv/init.c, include/gdi.h, objects/dc.c: Huw D M Davies Added support for ResetDC. 2002-04-05 Alexandre Julliard * dlls/wineps/driver.c: Huw D M Davies Make ExtDeviceMode dialog use unicode property sheet functions. * winedefault.reg: Marcus Meissner HKEY_LOCAL_USER should be HKEY_CURRENT_USER. * server/async.h, server/protocol.def, server/thread.c, server/trace.c, dlls/kernel/comm.c, files/file.c, include/async.h, include/file.h, include/wine/server_protocol.h, scheduler/synchro.c, server/async.c: Martin Wilck - separate cleanly between async scheduling and file IO related issues. - make the API compatible with other types of async requests (e.g. for sockets). - remove exports of async IO related functions for DLL separation. * objects/font.c: Fixed GetTextExtentPointI driver usage. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec: Martin Wilck Make the recv() and send() family of functions use WSARecvFrom() and WSASendTo(). * include/winnt.h: Steven Edwards Fixed mingw32 warning about stdcall and fastcall being redefined. * dlls/user/text.c: Stefan Leichter Check for NULL pointer in DrawTextExA. * dlls/comctl32/comboex.c: Dimitrie O. Paun - fix edit box placement - reorganize drawing for proper handling of edit box - typesafety when processing messages - subclass edit to handle up/down arrows - more robust handling of failure cases - numerous bugs fixed - complete unicodification - more specific debug messages - remove cvs log info from file - consistent indentation * include/commctrl.h: Guy L. Albertelli - Add defines for the NMTBHOTITEM flag word. - Add defines for the NM_CUSTOMDRAW return flags for toolbar. * dlls/comctl32/toolbar.c: Guy L. Albertelli - Use the new comctl32 color array for the colors. Provides better support for the TB_SETCOLORSCHEME. - Do some optimizations. - Correct computation of nHeight and PGN_CALCSIZE. - Implement the undocumented 045E message. * dlls/comctl32/comctl32.h, dlls/comctl32/commctrl.c: Guy L. Albertelli - Keep track of all system colors used by comctl32.dll. - Provide routine to support the WM_SYSCOLORCHANGE message. * dlls/comctl32/rebar.c: Guy L. Albertelli Adjust the child offset x value based on band style RBBS_CHILDEDGE. * dlls/comctl32/pager.c: Guy L. Albertelli - Try to match the native control for the SetBkColor message. - Correct processing in NCCalcSize message processing. 2002-04-04 Alexandre Julliard * dlls/gdi/freetype.c: Fixed compile without freetype. 2002-04-03 Alexandre Julliard * dlls/shell32/shlfolder.c: Charles Loep Support for hiding file extensions in IShellFolder_GetDisplayNameOf. * dlls/shell32/pidl.c: Huw D M Davies Check for failure of IShellFolder_GetDisplayNameOf. * server/main.c, server/object.h, server/process.c, server/request.c, server/select.c: Added timer on server exit to wait a bit for new clients. Don't remove the socket until the registry is closed to avoid a race. * dlls/msvcrt20/msvcrt20.spec: Francois Gouget Forward C++ functions to the msvcrt library. * dlls/gdi/mfdrv/text.c: Aric Stewart Use rect only if there are flags. * dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/metafiledrv.h: Huw D M Davies Added writing META_ESCAPE records. * objects/metafile.c: Huw D M Davies Do not enumerate the META_EOF record. * dlls/gdi/freetype.c: Huw D M Davies Removed old FF_ code. * dlls/comctl32/header.c: Huw D M Davies Fix off by one error in HEADER_InsertItemW. * library/loader.c: Make dlopen_dll return an error immediately if the library exists but dlopen() fails. * graphics/x11drv/xfont.c: Huw D M Davies If lfFaceName == "", then we patch up the names according to lfPitchAndFamily. This is not very pretty I'm afraid... * dlls/gdi/freetype.c, dlls/gdi/gdi32.spec, dlls/x11drv/xrender.c, include/font.h, include/gdi.h, include/wingdi.h, objects/font.c: Huw D M Davies Implement GetTextExtentPointI and add support for ETO_GLYPH_INDEX. * graphics/x11drv/init.c, graphics/x11drv/xfont.c, include/x11drv.h: Huw D M Davies Don't calculate cached metrics or enumerate X11 fonts if we're using client side fonts. * objects/font.c: Huw D M Davies Fixed font enumeration. * dlls/gdi/freetype.c, dlls/x11drv/xrender.c, include/font.h, objects/gdiobj.c: Huw D M Davies Fix a few font problems with rotated text and non MM_TEXT mapping modes. Do slightly better with the FF_ flags in WineEngGetTextMetrics. * dlls/gdi/freetype.c, winedefault.reg: Huw D M Davies Add font substitution lookup in the registry. We look under the key HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes for "fromName[,cp]"="toName[,cp]" where cp can be an optional codepage. Substitution occurs before scanning the available font list, as is the case with Windows. * dlls/gdi/freetype.c, dlls/gdi/gdi32.spec, include/font.h, include/wingdi.h, objects/font.c: Dmitry Timoshkov Implement GetGlyphIndices. Tweak GetCharacterPlacement to use it. * configure, configure.ac, include/config.h.in: Better check for -lresolv. Removed FREETYPELIBS. * dlls/gdi/Makefile.in, dlls/gdi/freetype.c: Huw D M Davies Load libfreetype.so on the fly with dlopen and friends. * windows/dialog.c: Huw D M Davies The horizontal dialog base unit is calculated as the straight average of a-z,A-Z (tmAveCharWidth is supposed to be a weighted average according to character usage, so we shouldn't use this). * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec: Mike McCormack Add stub for WSAEnumProtocols(A/W) functions. * dlls/wineps/Makefile.in, dlls/wineps/truetype.c: Huw D M Davies Load libfreetype.so on the fly with dlopen and friends. * dlls/shell32/shellord.c: Aric Stewart Enable ShellExecuteEx to actually open things with their helper applications. * dlls/crypt32/crypt32.spec, dlls/crypt32/main.c: Mike McCormack Added some stubs. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, include/winbase.h: Huw D M Davies Added ImpersonateLoggedOnUser stub. * dlls/shlwapi/ordinal.c, dlls/shlwapi/ordinal.h, dlls/shlwapi/path.c: Avoid local WINAPI function pointers to work around gcc bug. * graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/dib.c, graphics/x11drv/pen.c, graphics/x11drv/xfont.c, dlls/setupapi/dirid.c, dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c, dlls/ttydrv/bitmap.c, dlls/ttydrv/objects.c, dlls/wineps/brush.c, dlls/wineps/font.c, dlls/wineps/objects.c, dlls/wineps/pen.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/win16/setupx.api, tools/winapi_check/win32/imaadp32.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/setupapi.api, tools/winapi_check/win32/ttydrv.api, tools/winapi_check/win32/wineps.api, tools/winapi_check/win32/x11drv.api, tools/winapi_check/winapi_check: Patrik Stridvall - Minor API file update. - Minor bug fixes. * dlls/winedos/dosexe.h, dlls/winedos/int10.c, dlls/winedos/int21.c, dlls/winedos/int29.c: Jukka Heinonen Redirect DOS writes to stdout/console to DOSVM_PutChar. * dlls/kernel/tests/thread.c: Geoffrey Hausheer Cleaned up a bit, removed todos for OpenThread, avoid TerminateThread race. 2002-04-02 Alexandre Julliard * dlls/dinput/device.c, dlls/icmp/icmp_main.c, dlls/richedit/richedit.c, loader/module.c, loader/pe_image.c: Andreas Mohr Spelling/error messages fixes. * debugger/stabs.c: More portable signature check. * memory/global.c, misc/cpu.c: Andreas Mohr Add return traces to GlobalMemoryStatus, GetSystemInfo and fixme in GetSystemInfo. * scheduler/thread.c, dlls/kernel/Makefile.in, dlls/kernel/kernel32.spec, dlls/kernel/tests/.cvsignore, dlls/kernel/tests/thread.c, include/winbase.h, include/winnt.h: Geoffrey Hausheer Added test for thread functions. * programs/winetest/make_cygwin_makefiles: Geoffrey Hausheer Added perl script which will build a Makefile for running C tests on Windows through Cygwin/gcc. * dlls/winedos/dosvm.c: Jukka Heinonen Compiles now even on platforms that do not support DOS VM. * dlls/ntdll/cdrom.c: Gerald Pfeifer Use ENOMEDIUM errno code only when defined. * dlls/comctl32/ipaddress.c: Dimitrie O. Paun - correct notifications - behaviour closer to native - better drawing - multiple bugs fixed - faster & cleaner code - consistent indentation * dlls/comctl32/propsheet.c, dlls/crypt32/main.c: Dimitrie O. Paun Fix two compilation warnings. * include/ntddk.h: Dimitrie O. Paun Declare swprintf. * graphics/bitblt.c, graphics/x11drv/bitblt.c: Fixed crash in BitBlt when source DC is NULL. * programs/winetest/Makefile.in, Make.rules.in, Makefile.in, dlls/Makefile.in, dlls/make_dlls, dlls/oleaut32/Makefile.in: Various makefile fixes for the test environment. * dlls/setupapi/Makefile.in, dlls/setupapi/dirid.c, dlls/setupapi/infparse.c, dlls/setupapi/install.c, dlls/setupapi/parser.c, dlls/setupapi/queue.c, dlls/setupapi/setupapi.spec, dlls/setupapi/setupapi_private.h, dlls/setupapi/setupx.spec, dlls/setupapi/setupx_main.c, dlls/setupapi/stubs.c, dlls/setupapi/virtcopy.c, include/setupapi.h, include/winnt.h: Implemented a large number of the 32-bit setupapi functions. Fixed a number of setupx functions by making them call the setupapi equivalents. * server/thread.c: François Gouget Don't suspend a terminated thread. * windows/winproc.c: Dmitry Timoshkov Fix sign extension in message mapping routines. * server/debugger.c: Avoid crash when trying to attach to a terminating process. * relay32/snoop.c: Dmitry Timoshkov Fixed handling of a dll being loaded at the same address as a previous one. * objects/dc.c: Avoid recursive DeleteDC calls. * files/dos_fs.c: Make GetFullPathName fail if input path name is empty. * dlls/version/info.c: Dmitry Timoshkov Always call LoadLibrary. Workaround a broken behaviour of the 16-bit loader. * dlls/ntdll/rtlstr.c: Fixed length handling in RtlUnicodeStringToAnsi/OemString. * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: François Gouget Implemented _mbsnbicmp. * dlls/advapi32/registry.c: Dmitry Timoshkov Make sure the security descriptor is initialized in RegGetKeySecurity. * debugger/stabs.c: Check ELF signature before processing file. * controls/menu.c: Dmitry Timoshkov Convert NULL menu items to separators. * dlls/kernel/kernel32.spec, include/winbase.h, include/wine/server_protocol.h, scheduler/pthread.c, scheduler/thread.c, server/protocol.def, server/request.h, server/thread.c, server/trace.c: Chris Morgan Implement OpenThread() winapi call. Implement a few pthreads functions. * dlls/msacm/imaadp32/imaadp32.c, dlls/msacm/msg711/msg711.c: Eric Pouech Made use of MSACM driver definitions. * dlls/user/tests/sysparams.c: François Gouget Include wine/test.h before windows headers. Add definitions for IDI_APPLICATIONA and IDC_ARROWA for Windows. Fix a check in the SPI_{GET,SET}BORDER test. Fix bad copy/paste in the SPI_{GET,SET}BORDER test. Use eq macro to print values when something goes wrong. * programs/winetest/wtmain.c: François Gouget Make the testing framework thread safe. 2002-04-01 Alexandre Julliard * dlls/ntdll/cdrom.c, dlls/x11drv/xrender.c, library/port.c, server/request.c: Francois Gouget Fix warnings for Linux, FreeBSD and Solaris. * tools/winebuild/build.h, tools/winebuild/relay.c: Got rid of #ifdef USE_STABS. * configure, configure.ac, include/config.h.in: Francois Gouget On Solaris inet_aton is exported by libresolv.so. * dlls/msvcrt/math.c: Francois Gouget Added missing FP_PNORM case. * loader/module.c: Eric Pouech Removed a couple of now obsolete FIXMEs. * debugger/break.c, debugger/dbg.y, debugger/debugger.h, debugger/winedbg.c: Eric Pouech Fixed some bugs in first chance exception handling. * dlls/winmm/wineoss/audio.c: Eric Pouech More robust and less time consuming playback. * dlls/winmm/wavemap/wavemap.c: Eric Pouech Fixed size of buffers in conversion. * win32/console.c: Eric Pouech Fixed writing multiline block while wrapping enabled. Fixed startup information reading (console size). * debugger/msc.c: Eric Pouech Fixed module mapping for debug info when PE section is compressed. * dlls/winsock/ws2_32.spec, dlls/wsock32/wsock32.spec, include/winsock.h: Francois Gouget Fix for the unistd.h vs. winsock.h problem in Winelib applications. Refine the WS_DEFINE_HTONL definition. * dlls/kernel/tests/atom.pl: Francois Gouget Don't bother with declare, just 'use kernel32'. * dlls/kernel/tests/directory.c: Francois Gouget Windows headers must be included after wine/test.h. * dlls/quartz/README, dlls/quartz/acmwrap.c, dlls/quartz/basefilt.c, dlls/quartz/fmap.c, dlls/quartz/main.c, dlls/quartz/mpgparse.c, dlls/quartz/parser.c, dlls/quartz/xform.h, winedefault.reg: Hidenori Takeshima Fixed some bugs. Implemented some methods of CLSID_ACMWrapper. * dlls/oleaut32/Makefile.in, dlls/oleaut32/dispstd.c, dlls/oleaut32/disptype.c, dlls/oleaut32/ole2disp.c: Hidenori Takeshima Implemented CreateStdDispatch and CreateDispTypeInfo. * dlls/comctl32/updown.c: Dimitrie O. Paun - implement UDS_HOTTRACK - implement NM_RELEASEDCAPTURE - implement UDM_[GS]ETUNICODEFORMAT - get rid of WM_NCCREATE processing - use InvalidateRect instead of a synch refresh - implement auto auto arrow press on key presses - more code cleanups - better drawing, closer to native * include/winuser.h: Dimitrie O. Paun Added the DFCS_{HOT,TRANSPARENT} definitions. * tools/wineinstall: Chris Morgan Prevent the user from running wineinstall as root, add script commands so we 'su root' for installing and other commands that require root access. Fix modification time comparison of wrong file. Added missing sed line. Always 'make' before we run make install so no build files become owned by root. * dlls/winedos/dosvm.c: Jukka Heinonen Routine DOSVM_Wait now wakes up if new events are queued and it returns if it processed any queued events. 2002-03-31 Alexandre Julliard * configure, configure.ac: More robust libsane check. * win32/console.c, scheduler/process.c: Hack to make wineconsole work again. 2002-03-29 Alexandre Julliard * dlls/ttydrv/ttydrv.h: Fixed compile without curses. * include/wine/server.h, include/wine/server_protocol.h, memory/environ.c, scheduler/process.c, server/process.c, server/protocol.def, server/request.h, server/trace.c: Transfer the full process startup info as well as the command-line through the server. * misc/registry.c: Load classes.dat too. * memory/virtual.c: Make sure the import directory is not in shared memory. * dlls/kernel/kernel_main.c, files/file.c, include/file.h, win32/Makefile.in, win32/file.c: Francois Gouget Fix SetFileAttributes to honor the umask (rather than making files world-writable). * tools/Makefile.in, tools/winelauncher.in: Fixed winelauncher for new dll files layout. * programs/winetest/wtmain.c: Use ExitProcess to terminate the application. * library/port.c, configure, configure.ac, include/config.h.in: Michal Pasternak Fixed pack/unpack routines for WM_DDE_EXECUTE. * dlls/user/dde/misc.c: Fixed pack/unpack routines for WM_DDE_EXECUTE. * documentation/packaging.sgml: Andreas Mohr Updated for new dll names. * dlls/ntdll/cdrom.c: Andreas Mohr Added mapping for errno ENOMEDIUM to STATUS_NO_MEDIA_IN_DEVICE. 2002-03-28 Alexandre Julliard * dlls/ddraw/ddraw/main.c, dlls/ddraw/dsurface/dib.c: Removed call to DIB_GetDIBWidthBytes. * 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/palette.c, graphics/x11drv/pen.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c, include/bitmap.h, include/gdi.h, include/x11drv.h, objects/bitmap.c, objects/clipping.c, objects/dc.c, objects/dcvalues.c, objects/dib.c, objects/font.c, objects/gdiobj.c, objects/text.c, dlls/gdi/mfdrv/bitblt.c, dlls/gdi/mfdrv/dc.c, dlls/gdi/mfdrv/graphics.c, dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/mapping.c, dlls/gdi/mfdrv/metafiledrv.h, dlls/gdi/mfdrv/objects.c, dlls/gdi/mfdrv/text.c, dlls/gdi/win16drv/brush.c, dlls/gdi/win16drv/font.c, dlls/gdi/win16drv/graphics.c, dlls/gdi/win16drv/init.c, dlls/gdi/win16drv/objects.c, dlls/gdi/win16drv/pen.c, dlls/gdi/win16drv/text.c, dlls/gdi/win16drv/win16drv.h, dlls/ttydrv/bitmap.c, dlls/ttydrv/dc.c, dlls/ttydrv/graphics.c, dlls/ttydrv/objects.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/user.c, dlls/wineps/bitblt.c, dlls/wineps/bitmap.c, dlls/wineps/brush.c, dlls/wineps/clipping.c, dlls/wineps/color.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/ps.c, dlls/wineps/psdrv.h, dlls/wineps/text.c, dlls/wineps/wineps.spec, dlls/x11drv/x11drv.spec, dlls/x11drv/xrender.c, dlls/x11drv/xvidmode.c, graphics/bitblt.c, graphics/escape.c, graphics/mapping.c, graphics/painting.c, graphics/path.c, dlls/gdi/Makefile.in, dlls/gdi/driver.c, dlls/gdi/enhmfdrv/dc.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/graphics.c, dlls/gdi/enhmfdrv/init.c, dlls/gdi/enhmfdrv/mapping.c, dlls/gdi/enhmfdrv/objects.c, dlls/gdi/printdrv.c: Changed the GDI driver interface to pass an opaque PHYSDEV pointer instead of a DC structure. Removed some direct accesses to the DC structure from the drivers. Got rid the bitmap driver. * loader/loadorder.c: Don't strip out .exe extension. * include/winbase.h: Andriy Palamarchuk Added declaration of the DisconnectNamedPipe call. * dlls/x11drv/mouse.c: Marco Pietrobono Added support for 16bit mouse cursor bitmaps in RGB 565 format. * dlls/comctl32/updown.c: Dimitrie O. Paun - updown unicodification - better/cleaner buddy handling - few bugs fixed - more testing - consistent indentation * controls/menu.c: Uwe Bonnes MenuItemFromPoint: rough implementation. * programs/winetest/runtest: Need to set WINEDLLPATH too. 2002-03-27 Alexandre Julliard * dlls/kernel/tests/.cvsignore: Added alloc.ok. * programs/clock/ChangeLog, programs/clock/Da.rc, programs/clock/De.rc, programs/clock/En.rc, programs/clock/Es.rc, programs/clock/Fi.rc, programs/clock/Fr.rc, programs/clock/Pt.rc, programs/clock/Sk.rc, programs/clock/Sw.rc, programs/clock/TODO, programs/clock/Wa.rc, programs/clock/clock.rc, programs/clock/clock_res.h, programs/clock/language.c, programs/clock/language.h, programs/clock/main.c, programs/clock/main.h, programs/clock/rsrc.rc: Sylvain Petreolle Converted to use of NLS. * include/enhmetafiledrv.h, include/win16drv.h, configure, configure.ac, dlls/gdi/Makefile.in, dlls/gdi/driver.c, dlls/gdi/enhmfdrv/dc.c, dlls/gdi/enhmfdrv/enhmetafiledrv.h, dlls/gdi/enhmfdrv/graphics.c, dlls/gdi/enhmfdrv/init.c, dlls/gdi/enhmfdrv/mapping.c, dlls/gdi/enhmfdrv/objects.c, dlls/gdi/gdi_main.c, dlls/gdi/mfdrv/bitblt.c, dlls/gdi/mfdrv/dc.c, dlls/gdi/mfdrv/graphics.c, dlls/gdi/mfdrv/init.c, dlls/gdi/mfdrv/mapping.c, dlls/gdi/mfdrv/metafiledrv.h, dlls/gdi/mfdrv/objects.c, dlls/gdi/mfdrv/text.c, dlls/gdi/win16drv/.cvsignore, dlls/gdi/win16drv/brush.c, dlls/gdi/win16drv/font.c, dlls/gdi/win16drv/graphics.c, dlls/gdi/win16drv/init.c, dlls/gdi/win16drv/objects.c, dlls/gdi/win16drv/pen.c, dlls/gdi/win16drv/prtdrv.c, dlls/gdi/win16drv/text.c, dlls/gdi/win16drv/win16drv.h: Moved metafiles and win16 drivers to dlls/gdi. * dlls/kernel/Makefile.in, dlls/kernel/tests/alloc.c: Geoffrey Hausheer Added memory allocation test. * dlls/msvcrt/file.c: Andriy Palamarchuk fwrite: fixed handling of already buffered data. 2002-03-26 Alexandre Julliard * dlls/Makedll.rules.in, dlls/Makefile.in, dlls/gdi/.cvsignore, dlls/gdi/Makefile.in, dlls/gdi/gdi.exe.spec, dlls/gdi/gdi.spec, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/kernel.spec, dlls/kernel/krnl386.exe.spec, dlls/user/.cvsignore, dlls/user/Makefile.in, dlls/user/user.exe.spec, dlls/user/user.spec: Renamed some 16-bit spec files to match the dll name. * dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/msacm_main.c, include/msacm.h: Vincent Béron - Converted HACMOBJ to void* - acmMetrics16 calls acmMetrics only if hao is NULL * dlls/commdlg/filedlg95.c: Mehmet Yasar Fix default extension behavior with GetOpenFileName. * tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/parser.c: Ignore imports and resources when building a .def file. * configure, configure.ac, dlls/oleaut32/Makefile.in, dlls/oleaut32/tests/.cvsignore, dlls/oleaut32/tests/oleaut32_test.spec, dlls/oleaut32/tests/vartest.c, dlls/oleaut32/variant.c, libtest/Makefile.in, libtest/vartest-Win32.log, libtest/vartest.c, libtest/vartest.readme, libtest/vartest.spec: Marcus Meissner Ported variant tests to the new testing framework. * dlls/msvcrt/Makefile.in, dlls/msvcrt/lconv.c, dlls/msvcrt/msvcrt.spec: Uwe Bonnes Add stub for __lconv_init(). 2002-03-25 Alexandre Julliard * dlls/msvcrt/data.c: Uwe Bonnes __[x|]getmainargs: Accept NULL new_mode argument. * include/msacm.h: Vincent Béron Converted HACMSTREAM, HACMDRIVERID and HACMDRIVER to void*. * dlls/winmm/mmsystem.c: Vincent Béron Changes some handle definitions to the proper type. * dlls/winmm/winearts/arts.c, dlls/winmm/winearts/arts.h, dlls/winmm/winearts/audio.c: Chris Morgan wodOpen() should return MMSYSERR_ALLOCATED if the device is already allocated. Allow for multiple audio devices. Fix wodPlayer_reset as with aRts we cannot cancel audio data already written to the server. Rename some functions. Cleanup unused code. * dlls/dsound/dsound_main.c: Chris Morgan Dsound will now try as many devices as are available when trying to open a waveOut device in DirectSoundCreate(). * dlls/winsock/socket.c: Marcus Meissner Added missing header. 2002-03-23 Alexandre Julliard * Makefile.in, dlls/Makefile.in, dlls/opengl32/Makefile.in, dlls/opengl32/opengl32.spec, dlls/opengl32/wgl.c, graphics/x11drv/init.c, include/x11drv.h: Added support for driver-specific escapes in the x11drv to retrieve X11 information. Finished dll separation of opengl32. * tools/winapi_check/modules.dat, tools/winapi_check/win32/avicap32.api, tools/winapi_check/win32/msg711.api, tools/winapi_check/win32/msimg32.api, tools/winapi_check/win32/shdocvw.api, tools/winapi_check/win32/shlwapi.api, tools/winapi_check/win32/twain_32.api, tools/winapi_check/win32/urlmon.api, tools/winapi_check/win32/winearts.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_local.pm: Patrik Stridvall - API file update. - Missing API file entries now only reported once. * dlls/avicap32/avicap32_main.c, dlls/shlwapi/shlwapi.spec, dlls/wininet/internet.c, files/smb.c, files/smb.h: Patrik Stridvall Fixed some issues found by winapi_check. * include/services.h, loader/task.c, scheduler/Makefile.in, scheduler/services.c: Removed service thread support. * dlls/winsock/Makefile.in, dlls/winsock/socket.c, include/wine/server_protocol.h, include/winsock.h, server/protocol.def, server/queue.c, server/sock.c, server/trace.c, server/user.h, server/window.c: Send message for WSAAsyncSelect sockets directly from the server, instead of using the service thread. Finished separation of ws2_32. * documentation/samples/system.ini, configure, configure.ac, dlls/Makefile.in, dlls/msacm/imaadp32/.cvsignore, dlls/msacm/imaadp32/Makefile.in, dlls/msacm/imaadp32/imaadp32.acm.spec, dlls/msacm/imaadp32/imaadp32.c: Hidenori Takeshima Implemented an IMA driver. * programs/wineconsole/dialog.c, programs/wineconsole/user.c, programs/wineconsole/winecon_user.h: Eric Pouech Wineconsole is now able to handle non raster fonts (vector, true type). * server/thread.c, server/timer.c: Fixed handling of timer callback routines when the thread owning the callback terminates. * dlls/winedos/vga.c, dlls/winedos/vga.h, misc/system.c: Create threads to manage timers instead of using the service thread. * include/wine/server.h, scheduler/client.c, dlls/ntdll/ntdll.spec, files/file.c: Export the FILE_GetUnixHandle functionality from ntdll. * programs/wineconsole/wineconsole.c: Eric Pouech Started implementing event reduction. * programs/wineconsole/wineconsole_En.rc, programs/wineconsole/wineconsole_Fr.rc: Eric Pouech Fixed some issues in resources definition. * dlls/gdi/freetype.c: Eric Pouech Changed fixed fonts family name. * tools/examine-relay: Eric Pouech Fixed VxD call tracing. * debugger/dbg.y: Tijs van Bakel Added support for C++ identifier syntax. 2002-03-22 Alexandre Julliard * include/audevcod.h, include/dmo.h, include/dmoreg.h, include/dmort.h, include/dshow.h, include/mediaerr.h, include/mediaobj.h: Rewrote some headers from scratch based on publicly available information to avoid EULA concerns. * dlls/msdmo/dmoreg.c, dlls/msdmo/dmort.c, dlls/msdmo/msdmo.spec, dlls/quartz/README, dlls/quartz/capgraph.c, dlls/quartz/capgraph.h, dlls/quartz/fgevent.c, dlls/quartz/fgpass.c, dlls/quartz/fgraph.c, dlls/quartz/fgraph.h, dlls/quartz/fmap.c, dlls/quartz/fmap.h, dlls/quartz/ifgraph.c, dlls/quartz/main.c, dlls/quartz/mpgparse.c, dlls/quartz/parser.h, dlls/quartz/vidren.c, dlls/quartz/vidren.h, include/control.h, include/evcode.h, include/strmif.h, include/uuids.h: Hidenori Takeshima Removed some code because of concerns over the Microsoft DirectX SDK license agreement. * documentation/samples/system.ini, configure, configure.ac, dlls/Makefile.in, dlls/msacm/msg711/.cvsignore, dlls/msacm/msg711/Makefile.in, dlls/msacm/msg711/msg711.c, dlls/msacm/msg711/msg711.drv.spec: Hidenori Takeshima Implemented G711 codec driver. * dlls/comctl32/toolbar.c: Guy L. Albertelli - Implement CCM_{GET|SET}COLORSCHEME. - Implement WM_NOTIFYFORMAT and correct passing WM_NOTIFY with correct message call. - Ignore PGM_FORWARDMOUSE like native. * dlls/comctl32/pager.c: Guy L. Albertelli Reanalyze button status during NCCalcSize processing because size of window may have changed. * windows/x11drv/event.c: We cannot ignore NotifyNonlinear focus events. * loader/loadorder.c: Properly handle loadorder specifications containing a .dll extension. * Make.rules.in: Fixed rule for test program. * dlls/kernel/Makefile.in, dlls/kernel/tests/.cvsignore, dlls/kernel/tests/directory.c, dlls/kernel/tests/kernel32_test.spec: Dmitry Timoshkov Added tests for GetSystemDirectoryA/W and GetWindowsDirectoryA/W. * programs/winetest/wtmain.c, include/wine/test.h: Francois Gouget Add trace function (same as in the perl framework). Add support for todo tests. Make it possible to specify a printf-style message in ok. Include windef.h in test.h for compiling tests on Windows. * dlls/psapi/psapi_main.c: Hidenori Takeshima Implemented EnumProcesses and EnumProcessModules. * dlls/kernel/toolhelp.c, include/wine/server_protocol.h, loader/pe_image.c, scheduler/process.c, server/process.c, server/process.h, server/protocol.def, server/snapshot.c, server/trace.c: Correctly fill parent pid, module size and module name in process and module snapshots. Based on patches by Eric Pouech and Andreas Mohr. * dlls/winmm/winearts/audio.c: Chris Morgan Fix range in aRts 8bit volume code. * dlls/user/text.c: Bill Medland Initialise a stack variable. 2002-03-21 Alexandre Julliard * Makefile.in: Fixed linking of wine target. * configure, configure.ac, dlls/Makefile.in, dlls/twain/.cvsignore, dlls/twain/Makefile.in, dlls/twain/README, dlls/twain/TWAIN, dlls/twain/capability.c, dlls/twain/ds_audio.c, dlls/twain/ds_ctrl.c, dlls/twain/ds_image.c, dlls/twain/dsm_ctrl.c, dlls/twain/twain.h, dlls/twain/twain32_main.c, dlls/twain/twain_32.spec, dlls/twain/twain_i.h, include/config.h.in: Shi Quan He (for Corel) Started TWAIN implementation. Marcus Meissner Merged into WineHQ, made sure it works without SANE. * tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/utils.c: Make warnings quiet by default and added -w option. * documentation/samples/config, include/config.h.in, DEVELOPERS-HINTS, configure, configure.ac, dlls/Makefile.in, dlls/dsound/dsound_main.c, dlls/winmm/winearts/.cvsignore, dlls/winmm/winearts/Makefile.in, dlls/winmm/winearts/arts.c, dlls/winmm/winearts/arts.h, dlls/winmm/winearts/audio.c, dlls/winmm/winearts/winearts.drv.spec: Chris Morgan Added aRts driver. * dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c: Michael Cardenas Added some stubs. * dlls/advapi32/registry.c: Michael Cardenas Changed registry handling in RegOpenKeyExA to behave like windows95 when winver==win95. * dlls/msvcrt/file.c: Andriy Palamarchuk Added check to fwrite for size == 0. Fixed order and format of "size" and "nmemb" parameters in calls to fwrite. 2002-03-20 Alexandre Julliard * Make.rules.in, dlls/Makedll.rules.in: Fixed rules for main module spec file. * dlls/Makefile.in, dlls/quartz/Makefile.in, dlls/quartz/acmwrap.c, dlls/quartz/aviparse.c, dlls/quartz/basefilt.c, dlls/quartz/basefilt.h, dlls/quartz/main.c, dlls/quartz/mpgparse.c, dlls/quartz/parser.c, dlls/quartz/parser.h, dlls/quartz/quartz.spec: Hidenori Takeshima Added some stubs. Started implementing MPEG parser. * include/Makefile.in, include/dvdmedia.h: Hidenori Takeshima Added a missing header. * programs/notepad/ChangeLog, programs/notepad/Da.rc, programs/notepad/De.rc, programs/notepad/En.rc, programs/notepad/Es.rc, programs/notepad/Fi.rc, programs/notepad/Fr.rc, programs/notepad/Pt.rc, programs/notepad/README, programs/notepad/Sk.rc, programs/notepad/Sw.rc, programs/notepad/Wa.rc, programs/notepad/dialog.c, programs/notepad/language.c, programs/notepad/language.h, programs/notepad/main.c, programs/notepad/main.h, programs/notepad/notepad_res.h, programs/notepad/rsrc.rc: Sylvain Petreolle Made notepad uses NLS properly. * dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.spec, include/Makefile.in, include/msvcrt/sys/locking.h: Bill Medland Connect the msvcrt file byte locking up to ntdll. * dlls/comctl32/toolbar.c: Bill Medland No need for the fixme on a simple TBSTYLE_SEP. * include/uuids.h: Hidenori Takeshima Added some missing GUIDs. * dlls/winedos/Makefile.in, dlls/wineps/Makefile.in, dlls/wininet/Makefile.in, dlls/winmm/Makefile.in, dlls/winnls/Makefile.in, dlls/winsock/Makefile.in, dlls/winspool/Makefile.in, dlls/wintrust/Makefile.in, dlls/wow32/Makefile.in, dlls/wsock32/Makefile.in, dlls/x11drv/Makefile.in, include/Makefile.in, library/Makefile.in, library/loader.c, tools/winebuild/import.c, tools/winebuild/spec32.c, dlls/psapi/Makefile.in, dlls/qcap/Makefile.in, dlls/quartz/Makefile.in, dlls/rasapi32/Makefile.in, dlls/richedit/Makefile.in, dlls/rpcrt4/Makefile.in, dlls/serialui/Makefile.in, dlls/setupapi/Makefile.in, dlls/shdocvw/Makefile.in, dlls/shell32/Makefile.in, dlls/shfolder/Makefile.in, dlls/shfolder/shfolder.spec, dlls/shlwapi/Makefile.in, dlls/sti/Makefile.in, dlls/tapi32/Makefile.in, dlls/ttydrv/Makefile.in, dlls/url/Makefile.in, dlls/urlmon/Makefile.in, dlls/user/Makefile.in, dlls/version/Makefile.in, dlls/win32s/Makefile.in, dlls/winaspi/Makefile.in, dlls/kernel/Makefile.in, dlls/lzexpand/Makefile.in, dlls/mapi32/Makefile.in, dlls/mpr/Makefile.in, dlls/msacm/Makefile.in, dlls/msdmo/Makefile.in, dlls/msimg32/Makefile.in, dlls/msnet32/Makefile.in, dlls/msrle32/Makefile.in, dlls/msvcrt/Makefile.in, dlls/msvcrt20/Makefile.in, dlls/msvideo/Makefile.in, dlls/netapi32/Makefile.in, dlls/ntdll/Makefile.in, dlls/odbc32/Makefile.in, dlls/ole32/Makefile.in, dlls/oleaut32/Makefile.in, dlls/olecli/Makefile.in, dlls/oledlg/Makefile.in, dlls/olepro32/Makefile.in, dlls/olesvr/Makefile.in, dlls/opengl32/Makefile.in, dlls/Makedll.rules.in, dlls/Makefile.in, dlls/advapi32/Makefile.in, dlls/avicap32/Makefile.in, dlls/avifil32/Makefile.in, dlls/comctl32/Makefile.in, dlls/commdlg/Makefile.in, dlls/crtdll/Makefile.in, dlls/crypt32/Makefile.in, dlls/dciman32/Makefile.in, dlls/ddraw/Makefile.in, dlls/devenum/Makefile.in, dlls/dinput/Makefile.in, dlls/dplay/Makefile.in, dlls/dplayx/Makefile.in, dlls/dsound/Makefile.in, dlls/gdi/Makefile.in, dlls/glu32/Makefile.in, dlls/icmp/Makefile.in, dlls/imagehlp/Makefile.in, dlls/imm32/Makefile.in, dlls/make_dlls, Make.rules.in, Makefile.in, configure, configure.ac: Changed builtin dlls file names to make it clear they are not normal Unix libraries, and install them in $libdir/wine instead of $libdir to avoid name conflicts in /usr/lib. * dlls/shell32/shellpath.c, dlls/shell32/undocshell.h: Jon Griffiths Update shell xxxAW wrapper prototypes for fixed SHLWAPI functions. * dlls/shlwapi/ordinal.c, dlls/shlwapi/ordinal.h, dlls/shlwapi/path.c, dlls/shlwapi/shlwapi.spec, include/shlwapi.h: Jon Griffiths Document, implement/fix and test 110+ Path functions. Share the GET_FUNC macro, other places than ordinal.c need it. * windows/defwnd.c: Duane Clark On WM_GETTEXT, terminate the lparam buffer even if string is empty. * dlls/comctl32/treeview.c: Guy L. Albertelli - Preliminary implementation of TVS_NOSCROLL and TVS_NOHSCROLL - Implement A and W versions of WM_NOTIFY based on response to WM_NOTIFYFORMAT. Note that the EDITLABEL notifies are not done. - Implement WM_NOTIFYFORMAT. * windows/x11drv/keyboard.c: Matthias Fechner Added German 105 keys keyboard. * dlls/shdocvw/Makefile.in, dlls/shdocvw/api.c, dlls/shdocvw/browser.c, dlls/shdocvw/classinfo.c, dlls/shdocvw/comimpl.c, dlls/shdocvw/comimpl.h, dlls/shdocvw/connect.c, dlls/shdocvw/events.c, dlls/shdocvw/factory.c, dlls/shdocvw/misc.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/persist.c, dlls/shdocvw/shdocvw.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/shdocvw.spec, dlls/shdocvw/shdocvw_main.c, dlls/shdocvw/webbrowser.c, ole/uuid.c: Hidenori Takeshima Implemented the basic COM framework. Fixed all IUnknown of shdocvw.dll. * README: Martin Garton Fixed license text. * dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.c: Charles Vaughn Lionel Ulmer - added support for glMTexCoord2fSGIS - updated to latest OpenGL extensions * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Bernhard Rosenkraenzer Added InternetOpenURLA implementation. * dlls/msvcrt/msvcrt.spec: Bill Medland Hook back into the correct MSVCRT__tolower/upper. * dlls/winedos/int10.c, dlls/winedos/vga.c, dlls/winedos/vga.h: Admiral Coeyman Beginnings of the code that should allow DOS programs to set their color palette. * dlls/comctl32/listview.c: Duane Clark Add LVS_NOSORTHEADER support. Sort column on HDN_ITEMCLICKA too. Do not edit labels if icon was clicked. Fix the incorrect icon width in my earlier patch. * objects/gdiobj.c: Hidenori Takeshima Added default stock objects for known non-US charsets. * dlls/msdmo/Makefile.in, dlls/msdmo/dmoreg.c, dlls/msdmo/dmort.c, dlls/msdmo/msdmo.spec: Hidenori Takeshima Implemented some APIs. Added some stubs. * winedefault.reg: Hidenori Takeshima Added FilterData of DirectShow filters (FilterData should be registered for rendering media files). * dlls/shlwapi/ordinal.c: Guy L. Albertelli - Reimplement functions 350, 351, 352 to use appropriate W functions (thanks Jürgen!) - Add additional comments to functions 266, 267, 276 and adjust the stubbed return values. * dlls/comctl32/rebar.c: Guy L. Albertelli - Correct RBN_CHILDSIZE rect value for CCS_VERT rebar. - Do UpdateWindow only if doing redraws when doing layout. 2002-03-19 Alexandre Julliard * dlls/quartz/amundoc.c, dlls/quartz/audren.c, dlls/quartz/audren.h, dlls/quartz/avidec.c, dlls/quartz/aviparse.c, dlls/quartz/basepin.c, dlls/quartz/capgraph.c, dlls/quartz/capgraph.h, dlls/quartz/csconv.c, dlls/quartz/fgpass.c, dlls/quartz/fgraph.c, dlls/quartz/fgraph.h, dlls/quartz/filesink.c, dlls/quartz/filesink.h, dlls/quartz/fmap.c, dlls/quartz/ifgraph.c, dlls/quartz/imfilter.c, dlls/quartz/impos.c, dlls/quartz/imseek.c, dlls/quartz/main.c, dlls/quartz/mtype.c, dlls/quartz/parser.c, dlls/quartz/parser.h, dlls/quartz/quartz_private.h, dlls/quartz/vidren.c, dlls/quartz/wavparse.c, dlls/quartz/xform.c, dlls/quartz/xform.h: Hidenori Takeshima Fixed some bugs. Fixed audio renderer. Implemented seeking. Added some stubs. * dlls/msimg32/msimg32.spec, dlls/msimg32/msimg32_main.c, include/wingdi.h: Leo van den Berg Added some stubs. * include/uuids.h: Hidenori Takeshima Added a missing CLSID. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Sergei Turchanov Ordinal 342 is really named SHInterlockedCompareExchange. * dlls/comctl32/toolbar.c: Duane Clark TOOLBAR_LButtonUp should work even if ReleaseCapture was already called. * documentation/wine.texinfo: Jeremy Newman Fixed WARRANTY inclusion. * include/strmif.h: Hidenori Takeshima Added some missing enums. * dlls/avicap32/avicap32.spec, dlls/avicap32/avicap32_main.c: Hidenori Takeshima Added stubs. * files/smb.c: Gerald Pfeifer Add missing #includes for FreeBSD and Solaris. * dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int33.c: Jukka Heinonen Console mode DOS programs now receive mouse events. Replaced GetMessage with PeekMessage, since MsgWaitForMultipleObjects is allowed to return spontaneously. * programs/uninstaller/main.c: Andreas Mohr - fix complete listbox messup by only updating in case it needs updating - fix listbox selection breakage causing multiple programs to get uninstalled - implemented sorting of entries - much better debug strings * dlls/user/tests/sysparams.c: Francois Gouget Don't show the window. * include/commctrl.h, include/winbase.h: Francois Gouget Small fixes. 2002-03-12 Alexandre Julliard * files/Makefile.in, files/file.c, files/smb.c, files/smb.h, include/wine/server_protocol.h, server/Makefile.in, server/protocol.def, server/request.h, server/smb.c, server/trace.c: Mike McCormack Begin to make wine an SMB client. * include/Makefile.in, include/dmo.h, include/dmoreg.h, include/dmort.h, include/mediaerr.h, include/mediaobj.h: Hidenori Takeshima Added some missing headers. * server/serial.c: Mike McCormack Finish any pending WaitCommEvents if the event mask is set to 0. * dlls/msrle32/msrle32.c: Michael Karcher pDst was advanced too much when decoding DELTA blocks. * dlls/x11drv/winpos.c, include/winuser.h: Jukka Heinonen Added option SW_FORCEMINIMIZE to ShowWindow. 2002-03-11 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/relay.c, tools/winebuild/res16.c, tools/winebuild/res32.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c, tools/winebuild/utils.c: Patrik Stridvall Made winebuild (almost) compile and work on Windows. * dlls/kernel/time.c, include/wine/port.h, library/port.c: Patrik Stridvall - Better handling when settimeofday is not available. - Adding name translations for p{close,open} and str{,n}casecmp if they exists under other names. * configure.ac, include/config.h.in, configure: Patrik Stridvall Added some optional headers and functions for compiling on Windows with MSVC. * dlls/user/message.c: Fixed inter-process packing of CB/LB_FINDSTRING, CB/LB_FINDSTRINGEXACT and CB/LB_SELECTSTRING. * windows/winproc.c: Mehmet Yasar Fixed Unicode conversion for CB/LB_FINDSTRING, CB/LB_FINDSTRINGEXACT and CB/LB_SELECTSTRING. * dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.spec, include/msvcrt/stdio.h: Waldek Hebisch Implemented stdio buffering and ungetc. Misc stdio fixes. * dlls/comctl32/listview.c: Duane Clark Add support for report mode text justification. * scheduler/synchro.c, dlls/kernel/comm.c, files/file.c, include/file.h: Mike McCormack Set an overlapped hEvent before calling any APCs. * dlls/quartz/Makefile.in, dlls/quartz/capgraph.c, dlls/quartz/capgraph.h, dlls/quartz/filesink.c, dlls/quartz/filesink.h, dlls/quartz/main.c: Hidenori Takeshima Added some stubs. * include/uuids.h: Hidenori Takeshima Added some CLSIDs. * dlls/kernel/debugger.c, dlls/ole32/ole32.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/nativeapi.pm, tools/winapi_check/win32/advapi32.api, tools/winapi_check/win32/ole32.api, tools/winapi_check/win32/rpcrt4.api, tools/winapi_check/win32/shlwapi.api, tools/winapi_check/winapi_check: Patrik Stridvall - Minor API update. - Minor bug fixes. * dlls/comctl32/comctl_Ja.rc, dlls/comctl32/rsrc.rc, dlls/commdlg/cdlg_Ja.rc, dlls/user/resources/user32_Ja.rc: Hidenori Takeshima Added and fixed some Japanese resources. * dlls/comctl32/rebar.c: Guy L. Albertelli Add support for WM_WINDOWPOSCHANGED to save new origin of window. * dlls/user/text.c: Bill Medland Pass information through arguments instead of static variables. Add protection to prevent reading outside the buffer. Better handling of degenerate cases. * dlls/setupapi/setupx_main.c: Mehmet Yasar Prevent setup from crashing if a section in the INF is empty (no entries) (this happens when installing IE5). * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Turchanov Sergei Implement ordinal 342. * windows/x11drv/wineclipsrv.c: Jason Phillips Make wineclipsrv run as a daemon (close stdout/stderr, no controlling terminal, session group leader). * windows/x11drv/keyboard.c: Axel Schmidt Added keyboard layout for Logitech Cordless Desktop Pro. * windows/sysparams.c: Andriy Palamarchuk Added FIXMEs for actions with id>=115. These actions were not processed before. * dlls/comctl32/toolbar.c: Guy L. Albertelli - Add scaffolding for TB_{GET|SET}PADDING. - Replace wrong test for CCS_VERT with correct test for undocumented TBSTYLE_EX_ style 0x04. - Add support for undocumented TB_SETBUTTONSIZE where the size is zero, sets to default value. - Issue FIXMEs for unsupported extended styles. - Implement first try at undocumented toolbar message 0x0463. * windows/spy.c: Guy L. Albertelli Trace undocumented toolbar messages. * include/commctrl.h: Guy L. Albertelli - Add BTN_... definitions (replacement for TBSTYLE_...). - Add definitions of additional TBSTYLE_EX_ styles. Including undocumented one used by IE5. - Add additional toolbar message definitions including undocumented ones used by at least IE5. * dlls/dinput/mouse/main.c: Andreas Mohr Some small cleanups to dinput mouse code. * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Andriy Palamarchuk Created dummy implementation of InternetSetOption function. * dlls/comctl32/header.c: Duane Clark Test bUnicode and call appropriate DrawText routine. 2002-03-10 Alexandre Julliard * ANNOUNCE, ChangeLog, VERSION, configure: Release 20020310. ---------------------------------------------------------------- 2002-03-09 Alexandre Julliard * LICENSE.OLD: Keep old license around. * include/debugtools.h, tools/apiw.index, tools/ipcl, tools/make_os2.cmd, tools/makehtml.pl, tools/unimap.pl, tools/wmc/language.c: Removed some obsolete files. * */*: Added LGPL standard comment, and copyright notices where necessary. Global replacement of debugtools.h by wine/debug.h. * COPYING.LIB, LICENSE, WARRANTY: Changed license to LGPL. 2002-02-28 Alexandre Julliard * VERSION, configure, ANNOUNCE, ChangeLog: Release 20020228. ---------------------------------------------------------------- 2002-02-28 Alexandre Julliard * dlls/shell32/authors.h, AUTHORS: Updated authors list from the Changelog. Please let me know if you have been left out. * configure.ac, configure: Added tests extra directories. * programs/regapi/tests/.cvsignore, programs/regapi/tests/README, programs/regapi/tests/after.reg, programs/regapi/tests/before.reg, programs/regapi/tests/orig.reg, programs/regapi/tests/regapi.pl, programs/regapi/Makefile.in, programs/regapi/README, programs/regapi/regFixer.pl, programs/regapi/regRestorer.pl, programs/regapi/regSet.sh, programs/regapi/regapi.c: Andriy Palamarchuk Made regapi scripts able to process .reg files in regedit format. Implemented unit tests for reg diff functionality. * dlls/make_dlls, Make.rules.in, Makefile.in, dlls/Makefile.in: Added make check target to run unit tests too since this seems to be standard. * windows/winproc.c: Dave Hawkes Fixed winproc memory leak. * dlls/comctl32/listview.c: Duane Clark Ask for correct number of chars in EditLblWndProcT. * dlls/shlwapi/ordinal.c: Michael Cardenas More complete implementation of SHLWAPI_356. * dlls/ole32/storage32.c: Mike McCormack Fixed merge error. * dlls/comctl32/listview.c: Duane Clark LISTVIEW_InsertColumnT can be called with a width of LVSCW_AUTOSIZE_USEHEADER. Use the correct strings when column autosizing on columns other than column 0. LVSCW_AUTOSIZE_USEHEADER uses both item and header strings. 2002-02-27 Alexandre Julliard * include/winnt.h: Andreas Mohr Added some defines and offsets. * objects/gdiobj.c, relay32/builtin32.c, misc/registry.c, dlls/kernel/comm.c, dlls/kernel/string.c: Andreas Mohr Various cosmetic changes. * dlls/user/Makefile.in, dlls/user/tests/.cvsignore, dlls/user/tests/sysparams.c, dlls/user/tests/user32_test.spec: Andriy Palamarchuk Added SystemParametersInfo unit test. * documentation/Makefile.in, tools/Makefile.in: Cosmetic fixes. * programs/control/lccmake.bat, programs/notepad/lccmake, programs/view/lccmakefile, programs/wcmd/makefile.bcc: Andriy Palamarchuk Removed alternative make scripts. * files/directory.c: Andreas Mohr Implemented "App Paths" registry key support for SearchPath(). * files/profile.c: Andreas Mohr Fixed overflow and signed/unsigned behaviour. * server/debugger.c, server/protocol.def, server/request.h, server/trace.c, dlls/kernel/debugger.c, include/wine/server_protocol.h: Reimplemented DebugBreakProcess. * tools/wrc/dumpres.c, tools/winedump/misc.c, programs/avitools/aviinfo.c, msdos/vxd.c, graphics/x11drv/dib.c, graphics/painting.c, dlls/winspool/info.c, dlls/winedos/devices.c, dlls/shell32/pidl.c, dlls/richedit/charlist.c, dlls/kernel/console.c, dlls/quartz/audren.c, dlls/comctl32/updown.c, dlls/comctl32/rebar.c, dlls/comctl32/treeview.c: Andreas Mohr Spelling/alignment fixes. * documentation/samples/config, tools/winecheck, documentation/installing.sgml, documentation/registry.sgml, documentation/wine.conf.man, README: Andreas Mohr - stress the fact that wineinstall is in Wine source - add missing ttydrv/x11drv section to wine.conf.man - make sure that we also load shdocvw as builtin in sample config file - add sample AppDefaults section to sample config file - winecheck update * documentation/debugger.sgml, debugger/dbg.y, debugger/debug.l, debugger/debugger.h, debugger/winedbg.c: Eric Pouech Added the detach command to the debugger. * include/wine/server_protocol.h, server/debugger.c, server/process.c, server/process.h, server/protocol.def, server/request.h, server/trace.c, dlls/kernel/debugger.c, dlls/kernel/kernel32.spec, include/winbase.h: Eric Pouech New XP debugging APIs: implemented DebugActiveProcessStop, DebugSetProcessKillOnExit, DebugBreakProcess. * BUGS: Francois Gouget Andriy Palamarchuk Rewrote BUGS file. Listed directions for those who want to contribute to the project. * dlls/comctl32/listview.c: Bill Medland Centre text correctly for the selected item. Draw complete background for the selected item. Calculate the size of a large icon more correctly (including multiline labels). * dlls/comctl32/toolbar.c: Guy L. Albertelli - Support CCS_VERT as alternative for TBSTYLE_WRAPABLE. - TB_INSERTBUTTONW was not as functional as the 'A' version. They now match. * dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shlexec.c, dlls/shell32/Makefile.in: Eric Pouech Fixed ShellExecute functions when ddeexec was present in registry. * windows/win.c: Guy L. Albertelli Fix the strange case in WIN_FixCoordinates where x and cx are not default but cy is CW_USEDEFAULT. 2002-02-26 Alexandre Julliard * include/Makefile.in: Fixed make uninstall. * dlls/kernel/comm.c: Marcus Meissner Fixed cut&paste problem in SETRTS. * dlls/user/text.c: Bill Medland Correct Word breaking in centred/right justified mode; it was leaving a trailing space which it should only do for left-justified text. Also tighten up some comments. * windows/spy.c: Guy L. Albertelli Add additional CCM_ message names. * dlls/comctl32/pager.c: Guy L. Albertelli Implement EM_FMTLINES message based on relay trace of native. * include/mmreg.h: Eric Pouech Added lots of missing defines. * dlls/user/dde/misc.c: Eric Pouech Fixed DdeGetData when called for getting size. * controls/static.c: Eric Pouech Fixed WM_SETFONT handling (no redraw made in some cases). * debugger/info.c: Eric Pouech Cosmetic fixes to 'walk proc' command. * dlls/ddraw/dsurface/hal.c, dlls/x11drv/x11ddraw.c: Lionel Ulmer Fix crash in the X11 HAL when setting a NULL palette to a surface. * documentation/db2html-winehq: Philipp Wollermann Added support for the Crux Linux distribution (with openjade). * dlls/comctl32/rebar.c: Guy L. Albertelli Fix another bad test. Caused regression in IE 4. * dlls/comctl32/toolbar.c: Charles Duffy Stop TOOLBAR_MeasureString from dying on empty strings. * dlls/comctl32/imagelist.c: Dave Hawkes Partially repair hotspot handling. 2002-02-25 Alexandre Julliard * windows/cursoricon.c, relay32/snoop.c, win32/console.c, win32/except.c, win32/init.c, include/msvcrt/excpt.h, include/winnt.h, loader/resource.c, memory/global.c, memory/string.c, memory/virtual.c, dlls/winedos/dosvm.c, files/dos_fs.c, include/Makefile.in, include/windows.h, dlls/ntdll/debugtools.c, dlls/ntdll/exception.c, dlls/ntdll/sec.c, dlls/opengl32/wgl.c, dlls/user/lstr.c, debugger/dbg.y, debugger/winedbg.c, dlls/msvcrt/except.c: Peter Hunnisett New file msvcrt/excpt.h. Move some stuff out of winnt.h into it. * windows/x11drv/event.c: Dave Hawkes Prevent lock-up with a focus loop between two top level unmanaged windows. * include/ts_xlib.h, tsx11/X11_calls, tsx11/ts_xlib.c: Gavriel State Added XVisualIDFromVisual to tsx11 list. * dlls/comctl32/listview.c: Gerard Patel LVM_GetItemRect should not take text size in account for LVIR_LABEL in report mode. 2002-02-22 Alexandre Julliard * files/file.c: Gerhard W. Gruber MoveFileEx now enters the files in the registry when the boot delay flag is set. * include/wine/winuser16.h, windows/input.c, include/winuser.h: Peter Hunnisett Fix return type of GetAsyncKeyState. * dlls/comctl32/listview.c: Bill Medland Implement multiline labels in the Large Item view by using DrawText Note that this now highlights weaknesses in the label measuring code etc. which cannot correctly handle multiline labels. * dlls/ole32/marshal.c: Stefan Leichter Compile fix for GCC 2.7.x. * dlls/ntdll/ntdll.spec: Peter Hunnisett Add spec stub for RtlGetNtVersionNumbers. * dlls/winaspi/aspi.c: Gavriel State Change useless warning into a TRACE. * include/msvcrt/stdlib.h, dlls/msvcrt/exit.c: Peter Hunnisett atexit doesn't take a _onexit_t parameter. * programs/uninstaller/main.c: Andreas Mohr Remember the currently active index before refreshing. 2002-02-21 Alexandre Julliard * dlls/msvcrt/Makefile.in, dlls/msvcrt/console.c, dlls/msvcrt/exit.c, dlls/msvcrt/file.c, dlls/msvcrt/heap.c, dlls/msvcrt/locale.c, dlls/msvcrt/lock.c, dlls/msvcrt/main.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/mtdll.h: Peter Hunnisett Add _lock,_unlock and header file for them. Convert all msvcrt locks over to use _lock and _unlock. Explicitly make msvcrt compile with multithreaded option. Fix flag handling in _sopen. Add W->A call for new _swopen. * debugger/stabs.c: Peter Hunnisett Avoid assert for very large C++ .so files. * include/wine/obj_base.h: Peter Hunnisett Fix ICOM_DEFINE for C++. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/shlwapi_main.c: Guy L. Albertelli - Forward ordinals 40, 41, 143, 362 to appropriate routines. - Implement ordinals 155, 350, 351, 352, 418, 436. - Fake implementation of SHGetInverseCMAP. - Stub ordinal 209. - Fix definition of ordinal 7. - Implement SHGetThreadRef and SHSetThreadRef. * include/commctrl.h, dlls/comctl32/comctl32undoc.c: Guy L. Albertelli Fix problems in DPA_Merge exposed by previous code cleanup. * tools/wineinstall: Adam D. Moss Partially revert previous changes, force configure to write an old-style config.cache. * dlls/user/text.c: Bill Medland DrawText ellipsification on all lines, not just single-line. 2002-02-20 Alexandre Julliard * programs/winetest/make_ctests, programs/winetest/runtest, programs/winetest/wtmain.c, include/wine/test.h, dlls/Makedll.rules.in, Make.rules.in: Preliminary version of the C unit tests run-time environment. Added make rules for building and running C unit tests. * programs/notepad/dialog.c, programs/notepad/lcc.h, programs/notepad/main.c, programs/notepad/main.h: Andriy Palamarchuk - made notepad compile with Cygwin - made changes to the precompiler directives to check for specific features instead of checking for the environment version. * dlls/user/text.c: Bill Medland Drawtext tidying up ready for the next big change: - Fix brainfade in previous delta - Move ellipsification results to static memory; they are going to have to be referenced inside NextLineW and the arg list is too big already. - Add the missing ellipsification result (len_under) to simplify coding. - Slight correction to prefix tracking for when there are several underlined characters on a single line (DT_EXPANDTABS only). - Allocate and free the temporary copy required for DT_MODIFYSTRING rather than using a fixed size stack array. - Introduce lastline into the main loop; it simplifies the code and we are going to need it. * dlls/shlwapi/path.c: Lawson Whitney Protect PathIsUNCServerShare from null lpszPath. 2002-02-19 Alexandre Julliard * include/config.h.in, dlls/kernel/comm.c, configure.ac, configure: Lawson Whitney Support for nonstandard baud rate in SetCommState. * programs/notepad/Da.rc, programs/notepad/De.rc, programs/notepad/En.rc, programs/notepad/Es.rc, programs/notepad/Fi.rc, programs/notepad/Fr.rc, programs/notepad/Pt.rc, programs/notepad/Sk.rc, programs/notepad/Sw.rc, programs/notepad/Wa.rc, programs/notepad/dialog.c, programs/notepad/main.c, programs/notepad/main.h, programs/notepad/notepad.rc: Andriy Palamarchuk Implemented parsing of file name, passed in command line, loading new file on startup. * dlls/rpcrt4/rpcrt4.spec: Stefan Leichter Added two missing exports. * controls/scroll.c: Phillip Ezolt Fixed the scrollbar position overflows using MulDiv. * dlls/comctl32/listview.c: Ondrej Macek Fix of ListView invalidation in LISTVIEW_SetBkColor. * dlls/shell32/classes.c: Gerard Patel HCR_GetDefaultIcon should set icon number to 0 if it's missing from the reg entry. * tools/wineinstall: Adam D. Moss Make wineinstall work in the new-autoconf-version world. * dlls/quartz/audren.c, dlls/quartz/audren.h, dlls/quartz/basefilt.h, dlls/quartz/basepin.c, dlls/quartz/mtype.c, dlls/quartz/parser.c, dlls/quartz/vidren.c, dlls/quartz/vidren.h, dlls/quartz/xform.c, dlls/quartz/xform.h, dlls/quartz/asyncsrc.c: Hidenori Takeshima Fixed some deadlocks. * dlls/avifil32/iastream.c, dlls/avifil32/igframe.c: Hidenori Takeshima Fixes for compatibility. * documentation/samples/system.ini: Hidenori Takeshima Added msrle32.dll (decompressor of MRLE). * dlls/msrle32/msrle32.c: Hidenori Takeshima Fixed bugs in processing DELTA. * dlls/user/text.c: Bill Medland Change the way that DrawText parses the next line to display, ready to support multiline ellipsification etc. Rather than measuring the text each time we add a character and breaking once it is too long and WORDBREAK is enabled, we copy a whole text segment and then measure it; GetTextExtentPointEx is designed to tell us how much fitted. This may result in a little rescanning if wordbreak is enabled but will be well worth while when multiline path ellipsification is brought down into the NextLine function. Note also that the wordbreak calculation is a little more complete (e.g. including break-within-word for DT_EDITCONTROL). * dlls/oleaut32/variant.c: Patrick Haller Fix crash in VariantTimeToDosDateTime. * dlls/ole32/clipboard.c: Sander van Leeuwen Must make a copy of global handle returned by GetClipboardData; it is not valid after we call CloseClipboard. Application is responsible for freeing the memory (fixes copy/paste in mail body in Forte Agent). 2002-02-15 Alexandre Julliard * tools/makedep.c: Modified makedep to handle #include <> correctly (based on a patch by Patrik Stridvall). * dlls/wininet/Makefile.in, dlls/winmm/Makefile.in, dlls/winspool/Makefile.in, dlls/user/Makefile.in, dlls/setupapi/Makefile.in, dlls/shdocvw/Makefile.in, dlls/shell32/Makefile.in, dlls/shlwapi/Makefile.in, dlls/netapi32/Makefile.in, dlls/ntdll/Makefile.in, dlls/ole32/Makefile.in, dlls/rpcrt4/Makefile.in, dlls/comctl32/Makefile.in, dlls/crypt32/Makefile.in, dlls/gdi/Makefile.in, dlls/imagehlp/Makefile.in, dlls/advapi32/Makefile.in: Patrik Stridvall Added some defines for compatibility with Windows headers. * windows/win.c: Jukka Heinonen Convert some invalid offsets in GetWindowLong16 into valid offsets. * dlls/user/text.c: Bill Medland Measure the text more reasonably. This handles intercharacter spacing and should handle any kerning etc. that might happen. Also ensure no wordbreaking on singleline text. * windows/x11drv/keyboard.c: Dave Hawkes Added a keyboard matched to VNC. * include/ntddk.h: Ron Gage Added several structures. * dlls/shell32/shlfileop.c: Rein Klazes In SHFileOperation() when requested to copy files, figure out when the destination is to be treated as a directory and handle those cases. * configure.ac, Makefile.in, configure: Fixed installation issues caused by new configure script. 2002-02-14 Alexandre Julliard * programs/clock/main.c, programs/notepad/dialog.c, programs/winver/winver.c, windows/nonclient.c, misc/options.c: version.h is now in include/wine directory. * tools/wrc/Makefile.in, programs/winhelp/Makefile.in, tools/Makefile.in, tools/makedep.c, tools/winelauncher.in, debugger/Makefile.in, documentation/.cvsignore, documentation/Makefile.in, documentation/wine.conf.man, documentation/wine.conf.man.in, documentation/wine.man.in, include/config.h.in, include/version.h, include/wine/.cvsignore, configure.ac, configure.in, Make.rules.in, Makefile.in, VERSION, configure: Upgraded configure script to use autoconf 2.50 features, and renamed to configure.ac. Changed a few things to better follow the autoconf guidelines. * tools/config.guess, tools/config.sub: Updated to newer version. * dlls/commdlg/cdlg_xx.rc, dlls/shell32/shres.rc, dlls/comctl32/rsrc.rc: Martin Dalecki Some artwork on the default icons. * dlls/user/text.c: Bill Medland DrawText should not split words just because of clipping. * dlls/shell32/shell.c: Rein Klazes In ShellExecute16, make sure there is a space between command and parameters. * dlls/winsock/socket.c: Lawson Whitney Protect against NULL wsaddrlen in ws_sockaddr_alloc. 2002-02-12 Alexandre Julliard * tools/winebuild/relay.c: Gavriel State Some older versions of GDB need to have the filename data available for each section, so we need to output it again for the data section. * win32/editline.c: Dmitry Timoshkov Make Home, End and Enter on the keypad work in the debugger. * win32/file.c: Jukka Heinonen SetFileAttributes returns now an error if target file is on CDROM. * files/drive.c: Jukka Heinonen Added missing break statement. * dlls/shlwapi/reg.c: Guy L. Albertelli Partially implement SHRegWriteUSValue{A|W}. * dlls/comctl32/toolbar.c: Guy L. Albertelli When the commandID was being treated as the index, no check for index greater than number of buttons was done. Now fixed. * dlls/comctl32/rebar.c: Guy L. Albertelli Fix regression in some programs due to CLR_DEFAULT fix. Noticed in control-spy rebar.exe. * windows/x11drv/keyboard.c: Dmitry Timoshkov Allow ToAscii/ToUnicode to work with scanCode = 0. * dlls/comctl32/listview.c: Guy L. Albertelli Correct tests involved with processing the LVIF_DI_SETITEM flag. * dlls/comctl32/comboex.c: Guy L. Albertelli Initialize pszText to 0 for internal ->ceItem to eliminate moves to garbage locations. * winedefault.reg: Marcus Meissner Added default function marshaller registry entry. * dlls/user/text.c: Bill Medland Put in place a proper tab model within DrawText (also includes simplifying TEXT_NextLineW to remove duplicate code). 2002-02-08 Alexandre Julliard * dlls/msvcrt/console.c, dlls/msvcrt/file.c: C. Scott Ananian Filled out the implementation of fscanf and _cscanf. * dlls/msacm/internal.c: Eric Pouech Fixed bug in cache init. * dlls/comctl32/comboex.c: Aric Stewart Use the supplied buffer when copying item text. * include/wingdi.h: Huw D M Davies Fix PAN_FAMILYSTYLE_INDEX name. * configure, configure.in: Huw D M Davies We need fttrigon.h, so don't define HAVE_FREETYPE if we don't have it. * dlls/ole32/storage32.c: Lawson Whitney Fix off-by-one error in placing trailing \0. * dlls/comctl32/tooltips.c: Ori Pessach Set WS_EX_TOOLWINDOW in a tooltip's dwExStyle. 2002-02-05 Alexandre Julliard * dlls/advapi32/registry.c: Aric Stewart Don't return overflow if no class buffer was specified. * files/profile.c: Gerhard Gruber WritePrivateProfileSection should allow to create duplicate keys because it takes the buffer as it is without any modifications. * dlls/x11drv/scroll.c: Rein Klazes In X11DRV_ScrollDC only move pixels that are within the clip rectangle, before and after they are scrolled. * objects/palette.c: Dave Hawkes Fix for GetNearestColor so it returns the true color rather than the system palette if the device does not support a palette. * dlls/comctl32/listview.c: Guy L. Albertelli Aric Stewart Dmitry Timoshkov Misc fixes: - cache text metrics for the font we're using - improved item hit detection - more debugging output - implement LVM_SETICONSPACING - lots of bugs squashed * dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut.c, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/tmarshal.c, dlls/oleaut32/tmarshal.h, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h, dlls/oleaut32/variant.c, dlls/ole32/compobj_private.h, dlls/ole32/marshal.c, dlls/ole32/ole32.spec, dlls/ole32/oleproxy.c, dlls/ole32/rpc.c, dlls/ole32/compobj.c, dlls/ole32/Makefile.in: Marcus Meissner Implemented Local Server COM. Implemented the Typelib based Marshaler. * dlls/shlwapi/ordinal.c, include/basetsd.h, include/ntddk.h, include/oleauto.h, include/poppack.h, include/pshpack1.h, include/pshpack2.h, include/pshpack4.h, include/pshpack8.h, include/rpcdce.h, include/rpcndr.h: Patrik Stridvall MSVC compile fixes. * dlls/comctl32/progress.c: Dmitry Timoshkov Remove PROGRESS_Refresh, always do InvalidateRect() to repaint. Add WM_ERASEBKGND handler as in Windows. Be slightly smarter whether invalidate background or not. Always treat wParam as INT to not lose signed values. * dlls/comctl32/updown.c: Dimitrie O. Paun Various cleanups: - get rid of the static data member - pass the infoPtr around instead of the hwnd - fix indentatin/style a bit to make it consistent with the rest of the file. * dlls/user/text.c: Bill Medland Split the path and word/end ellipsification out of the main function and do them thoroughly. The existing method would be incorrect where tabs were involved and in some kerning situations. 2002-02-04 Alexandre Julliard * include/config.h.in, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec32.c, Make.rules.in, configure, configure.in: Dmitry Timoshkov Support for generation of .def files from .spec files. * dlls/comctl32/listview.c: Dimitrie O. Paun Complete Listview Unicodification. Simplify the setting of (sub)item text by using common code. * programs/wineconsole/dialog.c, programs/wineconsole/registry.c, programs/wineconsole/user.c, programs/wineconsole/winecon_private.h, programs/wineconsole/winecon_user.h, programs/wineconsole/wineconsole_En.rc, programs/wineconsole/wineconsole_Fr.rc, programs/wineconsole/wineconsole_res.h: Eric Pouech - wineconsole now exits if the started program inside it terminates before the console actually starts up. - Removed the last Ansi imported APIs since now Propsheet has a decent Unicode interface. - Fixed a couple of menu related bugs (states were wrong). - Finished input selection code (mark and key for selection moving are operational, generating mouse events to programs attached to the console). * debugger/dbg.y, debugger/debug.l, debugger/debugger.h, debugger/hash.c, debugger/source.c: Eric Pouech Fixed some bad behavior when many symbols with same names where found. Removed external readline support. * dlls/comctl32/treeview.c: Aric Stewart Added implementation of SetItemW. * dlls/comctl32/ipaddress.c: François Gouget Storing an IP address in a signed int results in bugs if it starts with >=128. * memory/codepage.c, ole/ole2nls.c: Dmitry Timoshkov Reimplement GetStringTypeA and GetStringTypeExA. * dlls/oleaut32/typelib.c: Malte Starostik Do not destroy ITypeLib held by ITypeInfo before the latter is freed. * dlls/oleaut32/variant.c: Marcus Meissner VT_EMPTY can be coerced to VT_I4, value 0. * dlls/comctl32/progress.c: Dmitry Timoshkov Moved style correcting code to the WM_CREATE handler and added clearing of WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE as in Windows. Added SetWindowPos(SWP_FRAMECHANGED) to make changes take effect. * windows/sysparams.c: Dmitry Timoshkov Guy Albertelli Use GetSystemMetrics() to for caption metrics in NONCLIENTMETRICS struct. Initialize iScrollWidth and iScrollHeight entries for SPI_GETNONCLIENTMETRICS. * dlls/comctl32/rebar.c: Guy L. Albertelli Fix problem exposed by the improvements in version 8b. Demonstrated by OE 4. 2002-02-02 Alexandre Julliard * windows/defwnd.c, objects/palette.c, programs/avitools/aviinfo.c, programs/avitools/aviplay.c, relay32/relay386.c, libtest/hello5.c, loader/ne/segment.c, loader/pe_image.c, loader/resource.c, dlls/winspool/info.c, include/msvcrt/process.h, dlls/wineps/driver.c, dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, dlls/winmm/winemm.h, dlls/user/dde/ddeml16.c, dlls/winedos/vga.c, dlls/setupapi/setupx16.h, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/shell32/shlview.c, dlls/shell32/undocshell.h, dlls/lzexpand/lzexpand_main.c, dlls/msacm/wineacm.h, dlls/ole32/compobj.c, dlls/dplayx/dplaysp.h, dlls/gdi/printdrv.c, dlls/imm32/imm_private.h, dlls/kernel/string.c, dlls/kernel/utthunk.c, dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/ddraw/ddraw_private.h, dlls/comctl32/animate.c, dlls/comctl32/smoothscroll.c: Patrik Stridvall Move __stdcall/__cdecl to the right place. * programs/winetest/runtest, Make.rules.in: Patrik Stridvall - Made runtest "use strict". - Added new option -M to specify which modules should be tested as builtin. * libtest/vartest.c, programs/regtest/regtest.c, dlls/wineps/mkagl.c: Francois Gouget malloc.h is obsolete and stdlib.h should be used instead. * programs/control/control.c: We can use normal imports for shell32 now. * dlls/user/text.c: Bill Medland Ensure that the whole modified text is returned from DrawTextExA. * loader/module.c, scheduler/process.c, scheduler/thread.c, dlls/gdi/driver.c: Do not use the PEB lock as loader lock, use a separate critical section for that (and for the graphics drivers). * tools/winedump/msmangle.c, dlls/commdlg/fontdlg.c, dlls/shell32/iconcache.c, dlls/user/dde/client.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/header.c, dlls/comctl32/rebar.c: Andreas Mohr Fixed some more missing parenthesis issues. * README, documentation/HOWTO-winelib, documentation/configuring.sgml, documentation/wine.conf.man.in, documentation/wine.man.in: Andreas Mohr - add documentation section to README - updated HOWTO-winelib - added native DLL config info to configuring.sgml - greatly improve directory description of wine.conf man page - add --debugmsg +all warning to wine man page * dlls/comctl32/listview.c: Huw D M Davies Flip A<->W conversion in dispinfo_notifyT. 2002-02-01 Alexandre Julliard * dlls/comctl32/treeview.c: Aric Stewart Fix to GetItemW to stop whiping out the items text. * programs/winetest/wine.xs: Francois Gouget config.h should be included first (if at all). Fix return of convert_value. * dlls/tapi32/line.c, include/tapi.h: Guy Albertelli Don't try to set fields in nonexistant lpLineCountryList. Supply valid tapi codes. 2002-01-31 Alexandre Julliard * server/atom.c: Rein Klazes Allow integer atoms in set_property and remove_property. Needed by FindText common dialog. * loader/module.c, loader/pe_image.c, loader/pe_resource.c: LOAD_LIBRARY_AS_DATAFILE modules must be mapped like normal files, not like PE images. Fixed resource loading to handle that. * tools/winebuild/spec16.c, include/wine/exception.h, include/wine/mmsystem16.h, include/wine/obj_base.h, include/wine/obj_oleaut.h, include/wine/obj_oleview.h, include/wine/windef16.h, include/wine/wingdi16.h, include/wine/winuser16.h, include/netspi.h, include/ole.h, include/ole2.h, include/oledlg.h, include/prsht.h, include/richedit.h, include/setupapi.h, include/shlobj.h, include/shlwapi.h, include/tapi.h, include/task.h, include/vfw.h, include/winbase.h, include/windef.h, include/wingdi.h, include/wininet.h, include/winnetwk.h, include/winnls.h, include/winnt.h, include/winsock2.h, include/winsvc.h, include/winuser.h, include/ws2spi.h, include/callback.h, include/commctrl.h, include/commdlg.h, include/d3dcaps.h, include/d3dhal.h, include/d3dtypes.h, include/ddeml.h, include/ddraw.h, include/ddrawi.h, include/dinput.h, include/dplay.h, include/dplobby.h, include/dsound.h, include/imagehlp.h, include/imm.h, include/miscemu.h, include/mmsystem.h, include/msacm.h: Patrik Stridvall Move __stdcall/__cdecl to the right place. * documentation/samples/config: Uwe Bonnes Give users a hint to clean their config from comments and empty lines for a bug report. * dlls/shell32/shell32_main.c: Gerard Patel Added missing parenthesis in ShGetFileInfoA. * dlls/winedos/int21.c: Nog Fixed function 0xb. * dlls/shell32/shell.c, include/rpcdce.h, win32/init.c, dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/mapi32.api, tools/winapi_check/win32/msimg32.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/oleaut32.api, tools/winapi_check/win32/rpcrt4.api, tools/winapi_check/win32/wininet.api, tools/winapi/make_parser.pm: Patrik Stridvall Minor API update. * dlls/shell32/shlfolder.c, controls/listbox.c, controls/scroll.c, dlls/shell32/pidl.c, dlls/shell32/shellord.c: CodeWeavers Minor fixes. * controls/static.c: Guy Albertelli Paint control immediately on WM_SETTEXT. * dlls/ole32/stg_stream.c, dlls/ole32/storage32.c, dlls/ole32/storage32.h: CodeWeavers Small fixes. * dlls/comctl32/toolbar.c: Guy Albertelli - better trace output - support string sent in by address, rather then index - add FIXMEs for multiple image lists - protect agains inexistent buttons - call up to the DefWindowProc when erasing bkgnd when appropriate * dlls/winedos/int33.c: Nog Implement function 0xb (Read mouse motion counters) and 0xf (Set mickey/pixel ratio). * dlls/user/text.c: Bill Medland - Introduce a significant design decision. - Recalculate the prefix location if ellipsification alters it. This carefully does NOT emulate a Microsoft bug in which reprefixing is wrong when the first character removed by ellipsification is the one that would have been underlined (under Win98 at least). * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Dmitry Timoshkov Eric Kohl Implemented CheckTokenMembership and GetAce. * dlls/comctl32/listview.c: Gerard Patel Don't repaint header when scrolling a listview vertically. * dlls/comctl32/comctl32undoc.c: Guy Albertelli - fix order of parameters is SendNotify - always use the dlg cntrl ID of the sender * windows/rect.c: Guy Albertelli Added NULL checks on all rectangle pointers. 2002-01-29 Alexandre Julliard * dlls/ntdll/Makefile.in, dlls/ntdll/loader.c, dlls/ntdll/ntdll.spec: Dmitry Timoshkov Added LdrDisableThreadCalloutsForDll. * dlls/shell32/shell.c, dlls/shell32/shell32.spec, dlls/shell32/shellstring.c: Aric Stewart Huw D M Davies Added stubs for CheckEscapes[AW] and ExtractAssociatedIconExW. * dlls/shell32/shellpath.c: Eric Kohl Added location of local application data. * dlls/ntdll/sec.c: Dmitry Timoshkov Fixed RtlAddAccessAllowedAce return value. * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Mike McCormack Added stubs for NdrDllCanUnloadNow and NdrDllGetClassObject. * include/winbase.h, win32/init.c, dlls/kernel/kernel32.spec: Dmitry Timoshkov Added GetComputerNameEx[AW] semi-stub. * include/wininet.h, dlls/wininet/Makefile.in, dlls/wininet/urlcache.c, dlls/wininet/wininet.spec: Eric Kohl Added FindFirstUrlCacheEntry[AW] stubs. * dlls/mapi32/mapi32.spec, dlls/mapi32/mapi32_main.c, include/Makefile.in, include/mapi.h, include/mapicode.h: Aric Stewart Added some MAPI stubs. * dlls/Makefile.in, dlls/msvcrt20/.cvsignore, dlls/msvcrt20/Makefile.in, dlls/msvcrt20/dummy.c, dlls/msvcrt20/msvcrt20.spec, configure.in, configure: Aric Stewart Added a pass-through msvcrt20. * dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec: Eric Kohl Added Extract stub. * include/imm.h, dlls/imm32/imm.c, dlls/imm32/imm32.spec: Eric Kohl Added ImmDisableIME stub. * dlls/msvcrt/dir.c, dlls/msvcrt/msvcrt.spec: Dmitry Timoshkov Implemented _wmakepath. * dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int21.c, dlls/winedos/int67.c, files/dos_fs.c, dlls/winedos/Makefile.in: Jukka Heinonen Added support for DOS EMS memory. * tools/winemaker, documentation/db2html-winehq, documentation/make_winehq, documentation/winelib-toolkit.sgml, configure, configure.in: Francois Gouget 'test -e' is not supported on Solaris, replace with '-f' or '-d'. * dlls/comctl32/listview.c: Gerard Patel Fix problems with listview notification. * graphics/x11drv/dib.c: Dmitry Timoshkov Do not write beyond end of color table in X11DRV_DIB_SetDIBColorTable. * dlls/comctl32/progress.c: Dimitrie O. Paun - add new SetRange functions (instead of duplicating the code) - pass the infoPtr around instead of the hwnd - use W-functions instead of A-functions - more checks in case of failures - make indentation and style consistent throughout the file * dlls/comctl32/propsheet.c, include/prsht.h: Guy Albertelli Mike McCormack Property sheet Unicodification. Support additional wizard flags. * dlls/comctl32/imagelist.c: Charles Loep Implemented ImageList_Write. * dlls/comctl32/nativefont.c: Guy Albertelli Eliminate some useless error messages. * include/config.h.in, configure, configure.in: Huw D M Davies Don't define HAVE_FREETYPE unless we have freetype.h. * dlls/winsock/socket.c: Rein Klazes Correct optlen when WS_setsockopt is called with SO_LINGER. * dlls/oleaut32/typelib.c: Huw D M Davies Weird thing with lcid of library is that if sublang is neutral then we return the primary lang else we return 0. * graphics/x11drv/dib.c: Guy Albertelli Don't fill colormap beyond end of screen depth. * dlls/commdlg/filedlg95.c: Charles Loep Fixed file extension problem in the file dialog. * dlls/comctl32/comctl32undoc.c: Huw D M Davies Removed IsBadStringPtrA call that caused trouble. * dlls/comctl32/status.c: Charles Loep Fix errors resulting from missing parenthesis. * dlls/comctl32/rebar.c: Guy Albertelli Text/Bkgnd color fixes. * dlls/comctl32/listview.c: Dimitrie O. Paun Simplify and fix listview ellipsification of large text labels. * graphics/x11drv/xfont.c: Uwe Bonnes XFONT_GetAvgCharWidth: Always round up. * programs/winetest/runtest: Fixed copy/paste bug. * include/ntddk.h, include/wine/obj_shellview.h, msdos/dosmem.c, windows/winproc.c, dlls/winmm/mciseq/mcimidi.c, graphics/win16drv/prtdrv.c, dlls/winmm/mmsystem.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h, dlls/quartz/avidec.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellord.c, dlls/shell32/shlfolder.c, dlls/shell32/shlmenu.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/commdlg/filedlg95.c, dlls/msvcrt/file.c, dlls/msvideo/drawdib.c, debugger/winedbg.c, dlls/advapi32/service.c, dlls/comctl32/updown.c, controls/button.c, controls/edit.c, controls/menu.c: Dimitrie O. Paun Make FIXMEs more grep-able. * dlls/comctl32/listview.c: Gerard Patel Avoid converting nonexistent text from A->W. * graphics/x11drv/text.c, graphics/x11drv/xfont.c, include/x11drv.h, dlls/x11drv/Makefile.in, dlls/x11drv/x11drv.spec, dlls/x11drv/xrender.c, graphics/x11drv/clipping.c, graphics/x11drv/init.c: Huw D M Davies Uses Xrender extension to allow client side font rendering. Adds nice things like anti-aliased text. * dlls/x11drv/.cvsignore, programs/wineconsole/.cvsignore, dlls/winsock/.cvsignore, dlls/winspool/.cvsignore, dlls/winmm/wineoss/.cvsignore, dlls/winmm/wavemap/.cvsignore, dlls/winmm/mciseq/.cvsignore, dlls/winmm/mciwave/.cvsignore, dlls/winmm/midimap/.cvsignore, dlls/winmm/mciavi/.cvsignore, dlls/winmm/mcicda/.cvsignore, dlls/winmm/joystick/.cvsignore, dlls/winmm/mcianim/.cvsignore, dlls/winaspi/.cvsignore, dlls/winmm/.cvsignore, dlls/win32s/.cvsignore, dlls/ttydrv/.cvsignore, dlls/version/.cvsignore, dlls/shell32/.cvsignore, dlls/tapi32/.cvsignore, dlls/opengl32/.cvsignore, dlls/psapi/.cvsignore, dlls/rasapi32/.cvsignore, dlls/olepro32/.cvsignore, dlls/olesvr/.cvsignore, dlls/olecli/.cvsignore, dlls/oledlg/.cvsignore, dlls/ole32/.cvsignore, dlls/oleaut32/.cvsignore, dlls/msvideo/.cvsignore, dlls/odbc32/.cvsignore, dlls/msacm/.cvsignore, dlls/msnet32/.cvsignore, dlls/lzexpand/.cvsignore, dlls/kernel/.cvsignore, dlls/kernel/messages/.cvsignore, dlls/imagehlp/.cvsignore, dlls/imm32/.cvsignore, dlls/icmp/.cvsignore, dlls/ddraw/.cvsignore, dlls/dplayx/.cvsignore, dlls/dsound/.cvsignore, dlls/dciman32/.cvsignore, dlls/crtdll/.cvsignore, dlls/avifil32/.cvsignore, dlls/comctl32/.cvsignore, dlls/commdlg/.cvsignore, dlls/advapi32/.cvsignore: Patrik Stridvall Avoid wildcards in .cvsignore. * objects/dc.c, objects/font.c, objects/gdiobj.c, include/config.h.in, include/font.h, include/gdi.h, dlls/gdi/freetype.c, configure, configure.in: Huw D M Davies Charles Loep Various fixes for gdi font handling code including: - Using TTs VDMX table to ensure that we get exactly that same size font that Windows uses. - Fixes to many members of the metrics structures. - Font cache. - Rotated text support. - Support for GGO_GRAY?_BITMAP (ready for anti-aliased text). - Support for GGO_NATIVE. * programs/osversioncheck/osversioncheck.c, programs/osversioncheck/osversioncheck.spec, programs/wcmd/wcmd.spec, programs/wcmd/wcmdmain.c: Steven Edwards Changes wine_main to main to properly build on all platforms. * tools/winebuild/import.c: Clemens Should process the .dynsym of shared libraries instead of the .stab. * dlls/winmm/wineoss/audio.c: Andreas Mohr Fixed ==/!= mismatch. * windows/nonclient.c: Dmitry Timoshkov Do not be too smart and add WS_CAPTION in AdjustWindowRectEx. * include/winsock.h: Francois Gouget Avoid conflict with htonl & friends in Winelib on FreeBSD. * dlls/winsock/socket.c: Francois Gouget Rename s_addr to src_addr to avoid a conflict on Solaris. Rename d_addr to dst_addr for symmetry. * include/msvcrt/setjmp.h: Francois Gouget Prefix _JBLEN to avoid conflict on FreeBSD. * objects/enhmetafile.c: Aric Stewart Fleshed out some metafile conversions. * objects/palette.c: Aric Stewart Added the correct halftone palette. * dlls/winedos/int33.c: Nog Implement function number 0x5 (Return mouse button press information). * server/file.c: Work around ftruncate implementations that don't support extending files. * dlls/shlwapi/path.c: Guy L. Albertelli Fix PathCreateFromUrl{A|W} to return the corrrect error code in all cases. * dlls/shlwapi/reg.c: Guy L. Albertelli Fix SHRegOpenUSKey{A|W} and SHRegQueryUSValue{A|W} to actually use previously open keys. * dlls/winedos/vga.c: Jukka Heinonen Low-resolution and low-color VGA modes are now mapped into mode 640x480x8. Added preliminary support for four bit modes. * dlls/user/text.c: Bill Medland Put the prefix-underline-drawing away into it's own function so we can see what is happening. * files/drive.c: Aric Stewart GetDiskFreeSpace needs to set the last error on failure. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/safearray.c, dlls/oleaut32/variant.c: Bill Medland A couple of additions. 2002-01-22 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20020122. ---------------------------------------------------------------- 2002-01-22 Alexandre Julliard * windows/dialog.c: Removed no longer used average width calculation. * dlls/oleaut32/typelib.c: Marcus Meissner The \\ magic in LoadTypeLibEx found directories, which was not intended. Return error in that case. * configure, configure.in: Marcus Meissner Abort if we do not find yacc or bison. * include/wine/obj_channel.h, include/wine/obj_marshal.h, include/wine/obj_oleaut.h, ole/uuid.c: Marcus Meissner Moved guids needed for Proxy/Stub factories to respective .h files, add to libwine_uuid. * dlls/msvcrt/console.c, dlls/msvcrt/cpp.c, dlls/msvcrt/ctype.c, dlls/msvcrt/data.c, dlls/msvcrt/dir.c, dlls/msvcrt/environ.c, dlls/msvcrt/errno.c, dlls/msvcrt/except.c, dlls/msvcrt/exit.c, dlls/msvcrt/file.c, dlls/msvcrt/heap.c, dlls/msvcrt/locale.c, dlls/msvcrt/main.c, dlls/msvcrt/math.c, dlls/msvcrt/mbcs.c, dlls/msvcrt/misc.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/process.c, dlls/msvcrt/string.c, dlls/msvcrt/thread.c, dlls/msvcrt/time.c, dlls/msvcrt/wcs.c: Don't include debugtools.h in the header file, moved it to the C files that need it (and used the new wine/debug.h while we are at it). * include/Makefile.in, include/debugtools.h, include/wine/debug.h, tools/winedump/output.c: Moved debug definitions to include/wine/debug.h. * dlls/shell32/pidl.c, dlls/shell32/shellord.c: Removed use of SET_DEBUGGING, it's broken anyway. * dlls/comctl32/toolbar.c: Uwe Bonnes Consistent usage of istring, use STR_[Get|Set]Ptr where appropriate. * windows/win.c: Tommy Schultz Lassen Make EnumWindows return TRUE if no windows exists. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec, include/winspool.h: Mark G. Adams Add GetDefaultPrinter() functions. 2002-01-21 Alexandre Julliard * misc/options.c, dlls/ntdll/debugtools.c, dlls/shell32/pidl.c, dlls/shell32/shellord.c, include/debugtools.h: Francois Gouget Make the Wine trace facilities accessible from Winelib applications. * tools/winedump/pe.c, dlls/ddraw/d3ddevice/mesa.c, dlls/quartz/audren.c, dlls/quartz/sample.c, dlls/wsock32/socket.c: Francois Gouget Comment out/ifdef out unused code and variables. * files/profile.c: Marcus Meissner Handle section==NULL (error) in WritePrivateProfileStringA. * dlls/x11drv/mwm.h, dlls/x11drv/window.c: Ove Kaaven Added support for MWM hints. * configure.in, configure: Andrew Lewycky Ove Kaaven Check for common broken nVidia+Mesa OpenGL library setups. Add some quoting. * dlls/winmm/wineoss/audio.c: Francois Gouget Print the strerror instead of just the errno. * dlls/commdlg/colordlg.c: Francois Gouget Add missing cast. * dlls/wininet/internet.c: Francois Gouget Fix invalid C code (undefined behavior). * include/console.h, windows/defdlg.c, dlls/winsock/socket.c: Francois Gouget Fix a couple of warnings and a typo. * programs/winetest/include/wine.pm, programs/winetest/tests/wine.pl, programs/winetest/wine.xs: Don't convert "ptr" return type to a Perl string. Call GetProcAddress only when a function is actually called, not at declaration time. * files/file.c: Fixed function prototype that confused winapi_extract. * tools/winapi/winapi_extract, tools/winapi/winapi_extract_options.pm, programs/winetest/include/advapi32.pm, programs/winetest/include/avifil32.pm, programs/winetest/include/comctl32.pm, programs/winetest/include/comdlg32.pm, programs/winetest/include/dciman32.pm, programs/winetest/include/ddraw.pm, programs/winetest/include/dinput.pm, programs/winetest/include/dplayx.pm, programs/winetest/include/dsound.pm, programs/winetest/include/gdi32.pm, programs/winetest/include/glu32.pm, programs/winetest/include/icmp.pm, programs/winetest/include/imagehlp.pm, programs/winetest/include/imm32.pm, programs/winetest/include/joystick_drv.pm, programs/winetest/include/kernel32.pm, programs/winetest/include/lz32.pm, programs/winetest/include/mcianim_drv.pm, programs/winetest/include/mciavi_drv.pm, programs/winetest/include/mcicda_drv.pm, programs/winetest/include/mciseq_drv.pm, programs/winetest/include/mciwave_drv.pm, programs/winetest/include/midimap_drv.pm, programs/winetest/include/mpr.pm, programs/winetest/include/msacm32.pm, programs/winetest/include/msacm_drv.pm, programs/winetest/include/msvcrt.pm, programs/winetest/include/msvfw32.pm, programs/winetest/include/ntdll.pm, programs/winetest/include/odbc32.pm, programs/winetest/include/ole32.pm, programs/winetest/include/oleaut32.pm, programs/winetest/include/olecli32.pm, programs/winetest/include/oledlg.pm, programs/winetest/include/olepro32.pm, programs/winetest/include/olesvr32.pm, programs/winetest/include/opengl32.pm, programs/winetest/include/psapi.pm, programs/winetest/include/quartz.pm, programs/winetest/include/rasapi32.pm, programs/winetest/include/riched32.pm, programs/winetest/include/rpcrt4.pm, programs/winetest/include/serialui.pm, programs/winetest/include/setupapi.pm, programs/winetest/include/shdocvw.pm, programs/winetest/include/shell32.pm, programs/winetest/include/shlwapi.pm, programs/winetest/include/tapi32.pm, programs/winetest/include/urlmon.pm, programs/winetest/include/user32.pm, programs/winetest/include/version.pm, programs/winetest/include/w32skrnl.pm, programs/winetest/include/winedos.pm, programs/winetest/include/wineoss_drv.pm, programs/winetest/include/wininet.pm, programs/winetest/include/winmm.pm, programs/winetest/include/winspool_drv.pm, programs/winetest/include/wintrust.pm, programs/winetest/include/ws2_32.pm, programs/winetest/include/wsock32.pm: Patrik Stridvall Generate Perl modules defining prototypes for exported functions. 2002-01-18 Alexandre Julliard * dlls/user/dde/dde_private.h, dlls/user/dde/misc.c, dlls/user/dde/server.c, dlls/user/dde/client.c: Eric Pouech Fixed initialisation messages for raw DDE. Fixed DdeCreateDataHandle for non NULL or CF_TEXT formats. Various fixes (cosmetics, better error checking). * server/queue.c, dlls/user/message.c: Eric Pouech Implemented interprocess DDE message posting. * dlls/comctl32/listview.c, include/commctrl.h, windows/spy.c: Dimitrie O. Paun - Make the ListView control Unicode ready. - Support both ANSI & Unicode ListView notifications. - Fixed a few bugs. * dlls/comctl32/comctl32undoc.c: Aric Stewart Initialize streamData and check on failure to read desired data from stream. * loader/module.c: Bill Medland Prevent trying to handle uninitialised memory as a string. * win32/console.c, dlls/shell32/shellstring.c, dlls/shlwapi/ordinal.c, dlls/winsock/socket.c, dlls/advapi32/crypt.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/win32/comctl32.api, tools/winapi_check/win32/user32.api, tools/winapi_check/win32/ws2_32.api: Patrik Stridvall Minor API files update. * files/directory.c: Dmitry Timoshkov Fix return value of GetWindowsDirectoryA/W and GetSystemDirectoryA/W. * dlls/ntdll/cdrom.c: Bang Jun-Young Fix NetBSD compile errors; CDIOCREADAUDIO is not available on NetBSD. * dlls/msimg32/msimg32.spec, dlls/msimg32/msimg32_main.c: Uwe Bonnes Added GradientFill stub. * windows/sysparams.c: Andriy Palamarchuk SystemParametersInfo: fixed return value for SPI_SETFASTTASKSWITCH. * dlls/ole32/compobj.c: Bill Medland (medbi01@accpac.com) CoGetClassObject: for CLSCTX_LOCAL_SERVER at least look up the server in the registry, even though we don't yet execute it. * dlls/user/text.c: Bill Medland - Don't string copy from uninitialised stack memory. In fact don't modify the input string if it didn't change. - Correct array size. - Logically separate the centring from the ellipsification. - Comment on prefix error. * debugger/types.c: Eric Pouech Fixes char array in structure dumping. * dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c: Huw D M Davies Stub for comctl32.419 2002-01-15 Alexandre Julliard * dlls/kernel/tests/.cvsignore, dlls/kernel/tests/atom.pl, dlls/kernel/Makefile.in: Added atom test script. * programs/winetest/tests/wine.pl: Added some prototypes to function declarations. * programs/winetest/include/winbase.pm, programs/winetest/include/wincon.pm, programs/winetest/include/windef.pm, programs/winetest/include/winerror.pm, programs/winetest/include/wingdi.pm, programs/winetest/include/winnls.pm, programs/winetest/include/winnt.pm, programs/winetest/include/winreg.pm, programs/winetest/include/winsock2.pm, programs/winetest/include/winspool.pm, programs/winetest/include/winuser.pm, programs/winetest/include/winver.pm, programs/winetest/make_symbols: Patrik Stridvall - Made the Perl module generated by make_symbols a real exporting module. - Use constants instead of variables. * programs/winetest/include/wine.pm: Patrik Stridvall Added the possibility (it is optional for backward compability) to specify argument types in order to fix a "bug" concerning integer/string scalars. * windows/sysparams.c: Andriy Palamarchuk Implemented processing of actions SPI_SETKEYBOARDPREF, SPI_SETSCREENREADER. Save to registry value of SPI_SETSCREENSAVEACTIVE action. Changed processing of action SPI_SETFASTTASKSWITCH to conform to Windows behaviour on and after WinNT 4.0, Windows 95. * dlls/comctl32/comctl32undoc.c: Aric Stewart Catch maximum number of times and return out of memory error. * tools/winedump/output.c, include/console.h: Francois Gouget Small typo fix. * dlls/user/user32.spec, include/winuser.h, windows/input.c, dlls/comctl32/commctrl.c: Rein Klazes Move the implementation of comctl32._TrackMouseEvent to user32.TrackMouseEvent and call this function in accordance with the specs. * dlls/user/text.c: Bill Medland First stage of DrawText upgrade. - Rearrange code into three distinct areas; DrawText, GrayString, TabbedText. - Remove unused macros. - Modify treatment of Tab arguments to fit with observed behaviour. e.g. DrawTextEx with DT_TABSTOP but null dtp will not take the setting from the flags. Also only uses bits 15 to 8, not the higher bits. * dlls/icmp/icmp_main.c: Rein Klazes Don't check the checksum of the original echo request packet in the received reply packet. * dlls/comctl32/comctl32.spec, dlls/comctl32/imagelist.c: Huw D M Davies Stubs for ImageList_[S|G]etFlags. * controls/button.c: Rein Klazes Don't change button state on WM_MOUSEMOVE messages unless left mouse button is pressed. * controls/combo.c: Rein Klazes In CBPaintText use the text size as returned by LB_GETTEXT. The size returned by LB_GETTEXTLEN may be too large. * windows/defdlg.c: Rein Klazes Make DM_SETDEFID message work for owner drawn buttons as well. * dlls/winsock/socket.c: Michael C. Maggio Code used AF_IPX in some places where it should have used WS_AF_IPX. * dlls/winspool/winspool.drv.spec: Dmitry Timoshkov Force ordinal allocation start from 100 as in Windows. * documentation/db2html-winehq: Frangois Gouget Fixed incorrect use of 'test -a' (for FreeBSD). * dlls/oleaut32/olefont.c: Bill Medland Leave IID check to the OleCreateFontIndirect, so that SFCF will handle all the interfaces that OleCreate.. will. 2002-01-14 Alexandre Julliard * programs/winetest/tests/.cvsignore, programs/winetest/tests/wine.pl, programs/winetest/.cvsignore, programs/winetest/Makefile.in, programs/winetest/test.pl: Integrated test script for winetest into the make test infrastructure. Added a few tests for the new wine.pm functions. * dlls/make_dlls, programs/winetest/runtest, Make.rules.in: Rewrote runtest in Perl so that it can be used on the Windows side. Added options for include directories, debug level and target platform. selection. * programs/winetest/include/wine.pm, programs/winetest/wine.pm, programs/winetest/winetest.c: Added ok() function that doesn't stop the test on the first error. Added trace() function for debugging tests. Added support for todo functionality. Moved wine.pm to include directory. * programs/winetest/include/winbase.pm, programs/winetest/include/wincon.pm, programs/winetest/include/windef.pm, programs/winetest/include/winerror.pm, programs/winetest/include/wingdi.pm, programs/winetest/include/winnls.pm, programs/winetest/include/winnt.pm, programs/winetest/include/winreg.pm, programs/winetest/include/winsock2.pm, programs/winetest/include/winspool.pm, programs/winetest/include/winuser.pm, programs/winetest/include/winver.pm, programs/winetest/make_symbols: Added Perl modules containing the #defines values for the corresponding Windows headers. * documentation/configuring.sgml, documentation/wine.conf.man.in: Stefan Leichter Added, update information about AppDefault. * include/richedit.h, dlls/richedit/charlist.c, dlls/richedit/reader.c, dlls/richedit/richedit.c, dlls/richedit/text-writer.c: Daniel Walker - Added debugging. - Transfer all relevant messages to the underlying edit control. * dlls/ole32/compobj.c, dlls/ole32/ole2.c, dlls/ole32/ole2nls.c, dlls/ole32/ole2stubs.c, dlls/ole32/storage.c: Marcus Meissner Removed some useless wingdi.h includes. * dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c: Huw D M Davies Convert MRULists to Unicode. * dlls/shell32/shlfolder.c: Huw D M Davies IShellFolder_BindToObject should respect riid. * dlls/msvcrt/file.c: Uwe Bonnes _stat: Better test for drive letter. * dlls/ntdll/cdrom.c: Francois Gouget Fix compilation errors on FreeBSD. * libtest/hello5.c: James Juran LoadLibrary returns 0 on failure, not < 32. * libtest/Makefile.in: James Juran Use -DNONAMELESSUNION -DNONAMELESSSTRUCT when compiling. * include/winsock2.h, dlls/winsock/socket.c, dlls/winsock/ws2_32.spec: Daniel Walker Implemented WSAAccept(). * dlls/comctl32/toolbar.c: Guy Albertelli - Add additional TOOLBAR_CalcToolbar in a different path of Autosize. - Remember and process WM_SETREDRAW messages. - Process strings specificied in InsertButton{A|W}. * dlls/comctl32/rebar.c: Guy Albertelli Fix a gripper issue and the adjustment of bands when RBBS_FIXEDSIZE specified. * tools/wineshelllink: Ove Kaaven Prepend "--" to arguments. 2002-01-13 Alexandre Julliard * dlls/winmm/mcicda/Makefile.in, dlls/winmm/mcicda/mcicda.c, msdos/int2f.c: Eric Pouech Now using the NT CD interface. * misc/Makefile.in, misc/cdrom.c, win32/device.c, dlls/ntdll/Makefile.in, dlls/ntdll/cdrom.c, files/drive.c, files/file.c, include/cdrom.h, include/file.h, include/ntddcdrm.h, include/ntddstor.h, include/winioctl.h: Eric Pouech Changed the Wine internal cdrom interface to the NT model. 2002-01-12 Alexandre Julliard * include/winreg.h, include/winver.h: Removed obsolete definitions. * include/winsock2.h, include/winnt.h: Fixed typos. * dlls/kernel/kernel32.spec, dlls/ntdll/ntdll.spec, dlls/user/user32.spec: Updated debug channels. * server/ptrace.c: Check unix_pid again after attach. * server/named_pipe.c: Marcus Meissner Add refcounting to the thread member of the pipe user. * documentation/debugger.sgml: Bill Medland How to specify a DLL in a debugger break command. * dlls/winmm/wineoss/audio.c: Eric Pouech Fixed the wodReset implementation, internal messages priority, full duplex code, wait algorithm for feeding the OSS buffer. * debugger/hash.c: Eric Pouech Enhance display for symbol picking. * dlls/comctl32/toolbar.c: Huw D M Davies Fix off by one error in TOOLBAR_AddStringW. 2002-01-10 Alexandre Julliard * dlls/Makefile.in, dlls/crypt32/.cvsignore, dlls/crypt32/Makefile.in, dlls/crypt32/crypt32.spec, dlls/crypt32/main.c, configure, configure.in: Travis Michielsen Added crypt32.dll stub. * include/wincrypt.h, include/winerror.h, dlls/advapi32/advapi32.spec, dlls/advapi32/crypt.c, dlls/advapi32/crypt.h: Travis Michielsen Implement advapi32 portion of the CryptoAPI. * dlls/winmm/driver.c: Eric Pouech Fix potential memory issue. * win32/editline.c: Eric Pouech Fix some bad behavior when some lock states (capslock, numlock...) were turned on. * dlls/oleaut32/ole2disp.c: Bill Medland Comment only; error in Microsoft documentation. * tools/wineshelllink: François Gouget which is more portable than type (FreeBSD). * dlls/winsock/socket.c: Francois Gouget Fix previous patch: the ws_sockaddr_u2ws return value was wrong. Make ws_sockaddr_{ws2u,u2ws} static. * programs/winetest/runtest, dlls/Makedll.rules.in, dlls/Makefile.in, programs/Makeprog.rules.in, Make.rules.in, Makefile.in: Added rules for running tests. 2002-01-09 Alexandre Julliard * dlls/winsock/socket.c: Martin Wilck Moved the functionality of WS_socket() to WSASocketA(). Made WSASocketA() account for WSA_FLAG_OVERLAPPED. * include/wine/server_protocol.h, server/protocol.def, server/sock.c, server/trace.c: Martin Wilck Added support for socket flags. * include/wine/server_protocol.h, server/console.c, server/device.c, server/file.c, server/mapping.c, server/named_pipe.c, server/object.c, server/object.h, server/pipe.c, server/protocol.def, server/serial.c, server/sock.c, server/trace.c, files/file.c: Martin Wilck More general approach to file descriptor types and flags. * dlls/winsock/socket.c: Paul Rupe Return length of WS_sockaddr structure in ws_sockaddr_u2ws. * dlls/oleaut32/typelib.c: Bill Medland Fixed GetDocumentation a little. When called from RegisterTypeLib it was leaving the Doc entry uninitialised, leading to page fault when measuring it. Also ensure correct freeing of resources on failure. * server/thread.c: Martin Wilck Fixed a bug that caused APCs to be "forgotten". * dlls/ttydrv/wnd.c, dlls/x11drv/window.c, windows/win.c: Rein Klazes Move calling of CBT hooks from WIN_CreateWindowEx() to the driver. 2002-01-07 Alexandre Julliard * objects/font.c, objects/gdiobj.c, objects/metafile.c, windows/cursoricon.c, dlls/shell32/control.c, dlls/user/text.c, dlls/winedos/dosaspi.c, dlls/winedos/int31.c, dlls/winedos/winedos.spec, dlls/gdi/gdi.spec, dlls/msvcrt/msvcrt.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win16/gdi.api, tools/winapi_check/win16/user.api, tools/winapi_check/win32/gdi32.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/msvcrt.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/shell32.api, tools/winapi_check/win32/shlwapi.api, tools/winapi_check/win32/ttydrv.api, tools/winapi_check/win32/urlmon.api, tools/winapi_check/win32/user32.api, tools/winapi_check/win32/winedos.api, tools/winapi_check/win32/wininet.api, tools/winapi_check/winapi_parser.pm, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_local.pm: Patrik Stridvall - API files update - Minor bug fixes * server/file.c, files/file.c: Martin Wilck Add server side support for async IO on files. Use pread/pwrite to read/write from the offset specified in the overlapped structure. * include/config.h.in, include/wine/obj_storage.h, include/wine/port.h, library/port.c, configure, configure.in: Added configure check for pread/pwrite. * files/file.c: Mike McCormack - Attempt write before going overlapped in Writefile. - Fix return codes in WriteFileEx. * include/file.h, scheduler/synchro.c, files/file.c: Mike McCormack Implement CancelIo properly. * dlls/user/comm16.c: Mike McCormack - Don't use event flags with ReadFileEx and WriteFileEx. - Use overlapped structure with WriteFile, since FILE_FLAG_OVERLAPPED is specified. - Cancel overlapped operations in CloseComm. * memory/selector.c, memory/virtual.c, scheduler/client.c, scheduler/process.c, scheduler/synchro.c, scheduler/sysdeps.c, include/thread.h, include/wine/exception.h: Added support for cleaning up the TEB from inside the exiting thread. * dlls/ntdll/debugtools.c, scheduler/thread.c: Allocate debug_info structure at the same time as the TEB. Removed the TEB cleanup service. * dlls/ntdll/signal_i386.c, dlls/ntdll/signal_sparc.c: Added SIGNAL_Reset function. 2002-01-06 Alexandre Julliard * tools/winedump/pe.c: Added support for dumping resources. * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Mark G. Adams Fix UuidCreate() to not forget MAC address. Remove {}'s from UuidToStringA() output. Add UuidCreateSequential() function from Windows 2000. * configure.in: Bernhard Rosenkraenzer Added missing brackets in ncurses check. * dlls/ntdll/Makefile.in, Makefile.in, configure, configure.in: Removed obsolete dosmod. * dlls/kernel/nls/dea.nls, dlls/kernel/nls/del.nls, dlls/kernel/nls/deu.nls, dlls/kernel/nls/eni.nls, dlls/kernel/nls/esn.nls, dlls/kernel/nls/esp.nls, dlls/kernel/nls/fin.nls, dlls/kernel/nls/fra.nls, dlls/kernel/nls/frb.nls, dlls/kernel/nls/frl.nls, dlls/kernel/nls/gae.nls, dlls/kernel/nls/grc.nls, dlls/kernel/nls/ita.nls, dlls/kernel/nls/nlb.nls, dlls/kernel/nls/nld.nls, dlls/kernel/nls/ptg.nls, dlls/kernel/nls/wal.nls: Marcus Meissner Change currency of the european Euro using countries to Euro. * LICENSE: Marcus Meissner Fixed copyright date. * dlls/winedos/dosvm.c, dlls/winedos/dosvm.h, dlls/winedos/module.c: Ove Kaaven DOS support restructure. The DOS virtual machine is now a set of threads running within Wine's own address space, obsoleting the old dosmod module. 2002-01-04 Alexandre Julliard * dlls/ntdll/signal_i386.c, include/thread.h: Ove Kaaven Fixed vm86_enter race conditions. * dlls/comctl32/comboex.c, dlls/comctl32/rebar.c, dlls/comctl32/toolbar.c: Sander van Leeuwen Never delete the font object received by WM_SETFONT. * dlls/comctl32/tooltips.c: Sander van Leeuwen Fixed calls with wrong pointer: COMCTL32_Free(&lpttsi) should be COMCTL32_Free(lpttsi). * dlls/user/text.c: Sander van Leeuwen Fixed DC leak. * controls/button.c: Sander van Leeuwen Check, Radio & 3State buttons send WM_CTLCOLORSTATIC instead of WM_CTLCOLORBTN. * documentation/compiling.sgml, documentation/installation-und-konfiguration.german, documentation/porting.sgml, README: Removed references to xpm packages. * include/config.h.in, tools/wineinstall, configure, configure.in: We no longer need libXpm. * tsx11/Makefile.in, tsx11/X11_calls, tsx11/ts_xpm.c, include/ts_xpm.h, tools/make_X11wrappers: We no longer need the xpm wrappers. * include/commctrl.h: Mike McCormack Add define for undocumented status bar message SB_SETBORDERS. * include/imagehlp.h: Bill Medland Define LPSTACKFRAME too. * include/winuser.h, windows/spy.c: Dmitry Timoshkov Add some new messages to the spy and winuser.h. * include/bitmaps/obm_close, include/bitmaps/obm_close_95, include/bitmaps/obm_closed_95, include/bitmaps/obm_reduce, include/bitmaps/obm_reduce_95, include/bitmaps/obm_reduced, include/bitmaps/obm_reduced_95, include/bitmaps/obm_restore, include/bitmaps/obm_restore_95, include/bitmaps/obm_restored, include/bitmaps/obm_restored_95, include/bitmaps/obm_zoom, include/bitmaps/obm_zoom_95, include/bitmaps/obm_zoomd, include/bitmaps/obm_zoomd_95, include/gdi.h, include/user.h, include/x11drv.h, dlls/x11drv/x11drv.spec, graphics/x11drv/Makefile.in, graphics/x11drv/init.c, graphics/x11drv/oembitmap.c, dlls/user/user_main.c, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/user.c: Removed LoadOEMResource from USER driver. * dlls/ntdll/file.c: Dmitry Timoshkov Print FIXME() for not implemented NtQueryVolumeInformationFile. * files/profile.c: Mehmet Yasar Do not save empty sections names. * dlls/commdlg/colordlg.c: Dimitrie O. Paun Remove a call to HEAP_strdupAtoW in the Color dialog. * graphics/x11drv/dib.c: Gavriel State Speed up the GetImageBits case where we have an XShm image. 2002-01-03 Alexandre Julliard * windows/cursoricon.c, windows/mdi.c, windows/nonclient.c, controls/menu.c, dlls/user/resources/user32_bitmaps.rc: Use DrawFrameControl instead of bitmaps in certain cases. Moved remaining OEM bitmaps to user32 resources. * dlls/ole32/ole2stubs.c, dlls/ole32/compobj.c: Marcus Meissner Implemented CoTreatAsClass, simplified OleSetAutoConvert. * dlls/shell32/shellord.c: Ove Kaaven Handle the lpDirectory field of the LPSHELLEXECUTEINFO. 2002-01-02 Alexandre Julliard * include/file.h, scheduler/synchro.c: Fixed check_async_list calling convention. * graphics/x11drv/oembitmap.c, include/bitmaps/obm_btncorners, include/bitmaps/obm_btsize, include/bitmaps/obm_check, include/bitmaps/obm_checkboxes, include/bitmaps/obm_combo, include/bitmaps/obm_dnarrow, include/bitmaps/obm_dnarrowd, include/bitmaps/obm_dnarrowi, include/bitmaps/obm_lfarrow, include/bitmaps/obm_lfarrowd, include/bitmaps/obm_lfarrowi, include/bitmaps/obm_mnarrow, include/bitmaps/obm_old_close, include/bitmaps/obm_old_dnarrow, include/bitmaps/obm_old_lfarrow, include/bitmaps/obm_old_reduce, include/bitmaps/obm_old_restore, include/bitmaps/obm_old_rgarrow, include/bitmaps/obm_old_uparrow, include/bitmaps/obm_old_zoom, include/bitmaps/obm_rgarrow, include/bitmaps/obm_rgarrowd, include/bitmaps/obm_rgarrowi, include/bitmaps/obm_size, include/bitmaps/obm_trtype, include/bitmaps/obm_uparrow, include/bitmaps/obm_uparrowd, include/bitmaps/obm_uparrowi, windows/cursoricon.c, dlls/user/resources/user32.rc, dlls/user/resources/user32_bitmaps.rc: Moved the OEM bitmaps that don't depend on the Wine look into the user32 resources. * dlls/dsound/dsound_main.c: Ove Kaaven Further unified HAL and HEL mixing, and added some more intelligence to prebuffering, with some basic prebuffer canceling support, to get rid of mixing delays in Half-Life. Used a very small waveout buffer queue in HEL mode, using a callback to queue additional buffers, to get rid of playback delays in Half-Life. Fixed a couple of bugs. * server/console.c, programs/wineconsole/dialog.c, programs/wineconsole/registry.c, programs/wineconsole/user.c, programs/wineconsole/wineconsole.c: Eric Pouech Fixed color definition (bg and fg were swapped). Fixed some initialisation issues. Fixed exit condition when nothing was allocated. * dlls/oleaut32/safearray.c: Ove Kaaven If SafeArrayGetElement is called on a variant array, initialize destination variant before copying the array element to it, some badly behaved apps don't seem to do it themselves. * dlls/oleaut32/variant.c: Ove Kaaven Fixed a looks-like-nobody-ever-tested-this-function kind of bug in VariantCopyInd. * dlls/ntdll/exception.c: Ove Kaaven Made the output of --debugmsg +seh a bit more verbose. * dlls/comctl32/commctrl.c: Dimitrie O. Paun Make DrawStatusText Unicode ready. Get rid of a HEAP_strdup call. * dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.c, dlls/opengl32/opengl_ext.h, dlls/opengl32/wgl.c: Lionel Ulmer - better support for extensions functions that do not have the same name in windows and in Unix. - support the NV_vertex_array_range extension. 2002-01-01 Alexandre Julliard * console/xterm.c, dlls/winedos/Makefile.in, include/wine/port.h, library/port.c, configure, configure.in: Link with libutil only where needed. * scheduler/synchro.c, files/file.c: Mike McCormack R Set an overlapped's hEvent for ReadFile/WriteFile in an overlapped completion function, not in ReadFileEx or WriteFileEx. * windows/cursoricon.c, windows/mdi.c, windows/nonclient.c, windows/user.c, windows/win.c, windows/winhelp.c, objects/metafile.c, ole/ole2nls.c, win32/file.c, win32/newfns.c, graphics/metafiledrv/init.c, loader/pe_resource.c, misc/registry.c, files/change.c, graphics/enhmetafiledrv/init.c, dlls/ole32/compobj.c, dlls/oleaut32/hash.c, dlls/oleaut32/olefont.c, dlls/user/exticon.c, dlls/user/resource.c, dlls/ddraw/main.c, dlls/mpr/wnet.c: Removed some of the calls to HEAP_strdup* functions. * programs/wineconsole/dialog.c, programs/wineconsole/user.c: James Juran Include to get prototype for abs() function. * dlls/ole32/stg_stream.c, dlls/ole32/storage32.c, dlls/ole32/storage32.h: Jukka Heinonen Name of the structured storage file root node is path of the file, not the name of the root node stored in the file. When reading streams stored into structured storage files, EOF is not supposed to cause an error if at least one byte can be returned. 2001-12-31 Alexandre Julliard * configure.in, library/Makefile.in, configure: Link with libdl only where needed. * server/protocol.def, server/trace.c, include/wine/server_protocol.h: Fixed string type in named pipe requests. * misc/cdrom.c: Chris Green Get the correct label on iso9660 mixed-mode cds. * dlls/comctl32/imagelist.c: Michael Stefaniuc Fixed memory leak. Removed redundant ImageList_DragShowNolock(FALSE) call. * programs/wineconsole/user.c: Marcus Meissner Swap fg/bg color to be correct. 2001-12-26 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20011226. ---------------------------------------------------------------- 2001-12-26 Alexandre Julliard * windows/sysparams.c, include/winuser.h: Andriy Palamarchuk Implemented basic handling of assessibility actions. * dlls/comctl32/animate.c: Michael Stefaniuc If the fccHandler is mmioFOURCC(0, 0, 0, 0) the AVI is also uncompressed. infoPtr->hWnd wasn't updated in ANIMATE_OpenA. * server/select.c: Save the registry before exiting on a SIGTERM. * objects/clipping.c: Make sure the DC visible region is updated in GetClipBox. * dlls/winedos/Makefile.in, include/config.h.in, msdos/int21.c, configure.in, dlls/ttydrv/Makefile.in, configure: Link to the curses library only for the dlls that need it. * include/heap.h, dlls/oleaut32/ole2disp.h: Removed the SEGPTR_* macros. * tools/wrc/README.wrc, tools/wrc/parser.y, dlls/ddraw/dsurface/dib.c, documentation/registry.sgml, README, configure, configure.in: Andreas Mohr Documentation update. * memory/heap.c: Fixed bug in system heap creation when it already exists. * programs/control/control.c: Andreas Mohr Updated to not rely on rundll32.exe any more. * windows/syscolor.c, controls/menu.c, dlls/shell32/control.c, dlls/shell32/shell32.spec, dlls/user/user32.spec: Andreas Mohr Fixed, added or implemented stubs: - DrawMenuBarTemp(): corrected parameter count. - CallCPLEntry16(): stub. - SetSysColorsTemp(): fully implemented (hopefully) this undocumented function. * dlls/x11drv/mouse.c: Duane Clark Added color cursor support. * windows/cursoricon.c: Duane Clark Destroying cursor is not necessarily an error. * windows/winproc.c: Use MapLS/UnMapLS instead of SEGPTR_* macros. * include/winproc.h, windows/hook.c: Restructured hook mapping functions to avoid most memory allocations. Got rid of SEGPTR_* macros. * dlls/wininet/ftp.c, include/winbase.h, dlls/msvcrt/file.c: Dmitry Timoshkov Fix definition of BY_HANDLE_FILE_INFORMATION structure. * dlls/commdlg/cdlg_Sv.rc: Johan Dahlin Updated Swedish translation. * dlls/user/lstr.c, programs/wineconsole/wineconsole.c, win32/console.c, dlls/kernel/format_msg.c: Michael Stefaniuc Check the return value of *snprintf for C99 style overflow reporting. * include/user.h, dlls/user/comm16.c, dlls/user/msg16.c: Mike McCormack Use alertable waits in PeekMessage16 and GetMessage16 so we can process APCs for 16bit comms. * include/msdos.h: Andreas Mohr Got rid of WINE_PACKED. 2001-12-24 Alexandre Julliard * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Jon Griffiths Implement/document ordinals 7-11. * dlls/gdi/freetype.c, dlls/wineps/truetype.c: Francois Gouget Include ftsnames.h or ftnames.h, not both. * dlls/winsock/socket.c, dlls/user/comm16.c, dlls/winmm/driver.c, dlls/winmm/lolvldrv.c, dlls/winmm/mci.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/ole32/ifs.c, dlls/ole32/storage.c: Use MapLS/UnMapLS instead of SEGPTR_* macros. * dlls/comctl32/tab.c: Gerard Patel Forward tab notifications to the parent. * dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec, dlls/wininet/internet.c, dlls/wininet/wininet.spec, dlls/shlwapi/string.c: Gerard Patel Trivial fixes for shlwapi and Internet routines. * debugger/winedbg.c: Bill Medland Fixed vsnprintf return value check. 2001-12-21 Alexandre Julliard * include/sysmetrics.h, windows/sysmetrics.c, windows/sysparams.c: Andriy Palamarchuk Implemented processing for actions SPI_SETMOUSEBUTTONSWAP, SPI_SETFASTTASKSWITCH, SPI_SETDRAGFULLWINDOWS, SPI_SETWORKAREA. * debugger/stabs.c, debugger/types.c, debugger/winedbg.c, debugger/break.c, debugger/dbg.y, debugger/debugger.h, debugger/expr.c, debugger/info.c, debugger/intvar.h, debugger/memory.c, debugger/msc.c: Eric Pouech Fixed stabs parsing for GCC 3.0 (default types). Added boolean type support. Simplified internal types handling. * win32/console.c, win32/editline.c: Eric Pouech Fixed buffer length in history manipulation. Writing new chars must be done with default attribute (not cell current attribute). * dlls/winmm/wineoss/audio.c: Eric Pouech Added full-duplex capability. Added missing init for wave-in. Fixed pause behavior in wave-out. Added message-ring deletion. Added experimental full-duplex capability. * dlls/winmm/mmio.c, dlls/winmm/winemm.h: Eric Pouech Fixed another bunch of bugs (mainly linked to operations where file pointer was past the end of file). * dlls/msvcrt/cpp.c, dlls/msvcrt/except.c, dlls/msvcrt/heap.c, dlls/msvcrt/main.c, dlls/msvcrt/msvcrt.spec: Jon Griffiths François Gouget Add RTTI support. Fix what_exception prototype. Fix new_handler_func prototype. Add set_new_handler, _callnewh, _heapadd. Add stubs for __unDName and __unDNameEx. Added a semi-stub for __CxxFrameHandler. * include/msvcrt/setjmp.h, include/Makefile.in, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/except.c: Jon Griffiths François Gouget Alexandre Julliard Implement setjmp/setjmp3 and longjmp. * graphics/x11drv/palette.c: François Gouget Handle more than 8 bits per color component. * graphics/x11drv/dib.c: François Gouget Merged the handling of 15 and 16 bits X server depths. Use the masks to distinguish between 15 and 16 bits. Check the masks better and call generic code if they are not supported directly. Changed the 'notsupported' traces from FIXMEs to WARNs. * server/serial.c: Mike McCormack Handle ReadIntervalTimeout=MAXDWORD special case a bit better. * files/file.c: Mike McCormack Don't return from overlapped ReadFile on EAGAIN and other non-fatal errors. * include/msvcrt/share.h: Bill Medland And in addition to Mingw32 we will want the _ versions. 2001-12-20 Alexandre Julliard * windows/class.c, windows/dialog.c, windows/mdi.c, loader/module.c, objects/font.c, objects/gdiobj.c, scheduler/syslevel.c, dlls/user/msg16.c, dlls/user/property.c, graphics/win16drv/brush.c, graphics/win16drv/font.c, graphics/win16drv/init.c, graphics/win16drv/pen.c, graphics/win16drv/prtdrv.c, dlls/msvideo/msvideo_main.c, dlls/oleaut32/ole2disp.c: Use MapLS/UnMapLS instead of SEGPTR_* macros. * server/handle.c, server/mapping.c, server/mutex.c, server/named_pipe.c, server/object.h, server/pipe.c, server/process.c, server/protocol.def, server/queue.c, server/registry.c, server/request.c, server/request.h, server/semaphore.c, server/serial.c, server/snapshot.c, server/sock.c, server/thread.c, server/timer.c, server/trace.c, scheduler/synchro.c, server/async.c, server/async.h, server/atom.c, server/change.c, server/console.c, server/debugger.c, server/device.c, server/event.c, server/file.c, include/file.h, include/wine/server_protocol.h, files/file.c, dlls/kernel/comm.c: Mike McCormack - move async activation into the server - implement async queues * memory/global.c: Uwe Bonnes GlobalReAlloc16: If heap has GlobalPageLock set, try only with HEAP_REALLOC_IN_PLACE_ONLY flag set. 2001-12-19 Alexandre Julliard * dlls/kernel/wowthunk.c: Uwe Bonnes Use GlobalPageLock for GetVDMPointer32W16 pointers. * relay32/relay386.c: Fixed stack offset in relay debugging of cdecl register functions. * memory/heap.c, memory/selector.c, graphics/win16drv/font.c, include/heap.h, include/ntddk.h, include/winbase.h, include/winnt.h, dlls/ole32/ifs.c, dlls/kernel/kernel32.spec, dlls/ntdll/Makefile.in, dlls/ntdll/debugtools.c, dlls/ntdll/heap.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c: Moved heap functions to ntdll. Got rid of internal heap flags. Reimplemented MapLS to not depend on the segptr heap. * include/Makefile.in, include/msvcrt/share.h: Bill Medland Added share.h from Mingw32. * README: Bang Jun-Young Wine is now working on NetBSD, so add NetBSD to the supported OS'es list (and add some notes as well). * files/file.c: Mike McCormack Implemented timed-out non-overlapped ReadFile. * tools/wrc/ppl.l, tools/wrc/wrc.h: Michael Stefaniuc Replaced MAX with max and deleted definition of MAX. * dlls/comctl32/imagelist.c: Michael Stefaniuc Fixed/implemented the ImageList_*Drag* functions. * dlls/comctl32/propsheet.c: Lawson Whitney If there is no psInfo, it doesn't need to be cleaned up. 2001-12-17 Alexandre Julliard * if1632/.cvsignore, if1632/Makefile.in, if1632/thunk.c, include/callback.h: Removed no longer used thunking and callout functions. * misc/system.c: Store the 16-bit callback in the timer structure instead of using a thunk. * windows/user.c, msdos/dpmi.c, objects/dib.c, scheduler/thread.c, if1632/relay.c, loader/ne/resource.c, memory/local.c, dlls/setupapi/virtcopy.c, dlls/winedos/dosaspi.c, graphics/win16drv/prtdrv.c, dlls/kernel/utthunk.c, dlls/kernel/wowthunk.c: Removed unnecessary includes. * scheduler/process.c: Call the 32-bit USER signal proc directly instead of using a callout. * dlls/x11drv/winpos.c: Paul Rupe Prevent "window belongs to another process" errors when running multiple programs simultaneously. * dlls/kernel/kernel_main.c, dlls/kernel/thunk.c: Do not call THUNK_Init at startup, only do it when the app actually requires thunks. * include/cursoricon.h, loader/resource.c, windows/cursoricon.c, dlls/user/user32.spec: Export DestroyIcon32 from user32 and use GetProcAddress to call it from FreeResource16. * windows/.cvsignore, windows/Makefile.in, windows/painting.c, windows/win.c, dlls/user/.cvsignore, dlls/user/Makefile.in, dlls/user/property.c, dlls/user/text.c, dlls/user/thunk.c, dlls/user/user.spec, dlls/user/wnd16.c: Changed 16-bit USER Enum* functions to not use thunks, now that 16-bit Winelib is no longer supported. * windows/hook.c, windows/keyboard.c, dlls/user/mouse.c: Got rid of dynamic thunk allocation in mouse/keyboard event procs and window hooks. * dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec, include/shlwapi.h: Jon Griffiths Implemented, documented or fixed SHDeleteOrphanKeyA/W, SHEnumKeyExA/W, SHEnumValueA/W, SHQueryInfoKeyA/W. SHRegGetPathA/W, SHRegSetPathA/W, SHGetValueA/W, SHSetValueA/W, SHQueryValueExA/W, SHDeleteKeyA/W, SHDeleteEmptyKeyA/W, SHDeleteValueA/W, ordinals 320-323. * memory/local.c: Rein Klazes Added error message in LOCAL_GetBlock(). * windows/winpos.c: Dave Hawkes Altered the algorithm for selecting a new focus after a window is destroyed that currently has the focus. * dlls/gdi/.cvsignore, dlls/gdi/Makefile.in, dlls/gdi/gdi.spec, dlls/gdi/thunk.c, objects/font.c, objects/gdiobj.c, objects/linedda.c, objects/metafile.c: Changed 16-bit GDI Enum* functions to not use thunks, now that 16-bit Winelib is no longer supported. * objects/.cvsignore, objects/Makefile.in, objects/dc.c, windows/dce.c, graphics/escape.c, include/gdi.h, include/wine/wingdi16.h, dlls/gdi/gdi32.spec, dlls/gdi/printdrv.c: Changed DC hook and abort proc handling to avoid having to allocate thunks dynamically. * dlls/comctl32/tab.c: Nog Pass on all unhandeled messages to the owner. * dlls/shlwapi/path.c: Uwe Bonnes PathIsURL(A|W): Check for NULL strings. * dlls/wininet/http.c: Johan Dahlin Add a few extra fields to HTTP_GetStdHeaderIndex. 2001-12-14 Alexandre Julliard * dlls/user/user.spec, windows/winproc.c: Changed 16->32 window procedure thunks to use winebuild-generated entry code directly. * relay32/relay386.c, tools/winebuild/README, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/parser.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c, include/builtin16.h, dlls/ntdll/ntdll.spec, if1632/builtin.c, if1632/relay.c, dlls/kernel/kernel32.spec, dlls/kernel/thunk.c, dlls/kernel/win87em.spec, dlls/kernel/windebug.spec, dlls/kernel/wprocs.spec, Make.rules.in, dlls/kernel/kernel.spec: Made register and interrupt flags instead of entry point types, so that we can have both stdcall and cdecl register functions. Changed 16-bit .spec.c file generation to avoid including builtin16.h. * dlls/winsock/socket.c, include/winsock.h: Paul Rupe Very simple support for SO_OPENTYPE in getsockopt and setsockopt. * library/port.c: Bang Jun-Young Make use of solaris_try_mmap() for NetBSD. Rename it to try_mmap_fixed() since it's no longer Solaris-specific. * include/config.h.in, configure, configure.in: Bang Jun-Young Added check for stdint.h (needed on NetBSD). * dlls/wsock32/socket.c, dlls/wsock32/wscontrol.h: Bang Jun-Young Fix NetBSD compilation errors. * tools/wineshelllink: Simon Walton Fixed a bashism. * dlls/winmm/wineoss/audio.c: Eric Pouech Thawed some freezes. Cleaned up time and notification handling. Typos fixes (Gerard). Added breakloop support. 2001-12-13 Alexandre Julliard * dlls/user/Makefile.in, dlls/user/painting.c, dlls/user/wnd16.c, windows/painting.c: Started rewrite of painting functions for multiple processes. Moved BeginPaint to dlls/user. Fixed bug in paint count handling. * tools/wineshelllink: Marcus Meissner Fixed some places where whitespace was not handled correctly. Do not use `cmd`s within cat < Only RTS_CONTROL_HANDSHAKE should set CRTSCTS. * dlls/ttydrv/ttydrv.spec, dlls/ttydrv/wnd.c: Eric Laforest Add the missing functionality in the tty driver. 2001-12-11 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/relay.c, tools/winebuild/spec32.c, include/winnt.h, relay32/relay386.c, relay32/snoop.c, dlls/ntdll/.cvsignore, dlls/ntdll/Makefile.in, dlls/ntdll/ntdll.spec, if1632/.cvsignore, if1632/Makefile.in: Exported CALL32_Regs from ntdll, renamed to __wine_call_from_32_regs to follow the naming convention for this type of functions. Split 16 and 32-bit relay functions into separate files, and moved the 32-bit ones to dlls/ntdll. * dlls/shlwapi/shlwapi.spec: Jon Griffiths Add new stub MLLoadLibrary. * dlls/wininet/http.c, dlls/wininet/internet.c, include/shlwapi.h, dlls/shlwapi/ordinal.c, dlls/shlwapi/ordinal.h, dlls/shlwapi/path.c, dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi_main.c, dlls/shlwapi/string.c, dlls/shlwapi/url.c, dlls/richedit/richedit.c, dlls/shell32/clipboard.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/undocshell.h, dlls/comctl32/commctrl.c, dlls/commdlg/filedlgbrowser.c: Jon Griffiths Add exclusion defs & remaining funcs, remove internal types & obj_base.h (sync with win version), fixed a number of function prototypes. * scheduler/pthread.c: Jukka Heinonen Implemented pthread_rwlock stubs. * controls/button.c: Bill Medland For a radio button even if the initial style includes WS_TABSTOP the first BM_SETCHECK 0 will clear it (even if the state was clear). * dlls/comctl32/treeview.c: Bill Medland A treeview item may be TVI_ROOT. * dlls/comctl32/toolbar.c: Dave Hawkes Fix for toolbar potentially using a NULL pointer. 2001-12-06 Alexandre Julliard * include/win.h, windows/win.c, windows/winpos.c: Added WIN_GetRectangles function. Fixed WindowFromPoint to work accross processes. * windows/message.c, include/sysmetrics.h, windows/sysmetrics.c, windows/sysparams.c, dlls/user/user_main.c: Andriy Palamarchuk Implemented processing for actions: SPI_GET/SETGRIDGRANULARITY, SPI_GET/SETICONTITLEWRAP, SPI_GET/SETMENUDROPALIGNMENT, SPI_GET/SETDOUBLECLKWIDTH, SPI_GET/SETDOUBLECLKHEIGHT, SPI_GET/SETDOUBLECLICKTIME. * windows/spy.c: Guy L. Albertelli Change the message trace indentation to be consistent by thread. * debugger/msc.c, debugger/types.c: Dave Hawkes Fix for some types of C++ debug info that can cause winedbg to crash. * windows/dialog.c: Dave Hawkes DIALOG_CreateIndirect can incorrectly kill the current input focus. 2001-12-05 Alexandre Julliard * windows/winproc.c, dlls/kernel/thunk.c, dlls/kernel/utthunk.c: Removed calls to HEAP_GetSegptr. * dlls/winedos/module.c: Fixed compile for !MZ_SUPPORTED. * dlls/advapi32/registry.c, memory/registry.c: Use ntdll functions instead of MultiByteToWideChar/WideCharToMultiByte to avoid corrupting the last error code. * include/ntddk.h, memory/codepage.c, dlls/ntdll/misc.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, dlls/ntdll/rtl.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c, dlls/ntdll/wcstring.c: Removed ntdll dependency on MultiByteToWideChar/WideCharToMultiByte kernel32 functions, plus a few small cleanups. * include/Makefile.in, include/msvcrt/mbctype.h, include/msvcrt/mbstring.h, include/msvcrt/string.h, dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: François Gouget Cleanup and improve the mbcs support. Add mbctype.h and mbstring.h. Implement putwc and putwchar. * dlls/comctl32/toolbar.c: Dave Hawkes The toolbar commands were not sent to the correct notification window. * include/wine/mmsystem16.h, include/wine/windef16.h, include/wine/winnet16.h: Jukka Heinonen Fixed incorrect packing. * dlls/msvcrt/environ.c: François Gouget getenv is case insensitive. * dlls/msvcrt/time.c: François Gouget mktime must normalize the struct tm fields. 2001-12-04 Alexandre Julliard * programs/wineconsole/Makefile.in, programs/wineconsole/dialog.c, programs/wineconsole/registry.c, programs/wineconsole/user.c, programs/wineconsole/winecon_private.h, programs/wineconsole/winecon_user.h, programs/wineconsole/wineconsole.c, programs/wineconsole/wineconsole.spec, programs/wineconsole/wineconsole_En.rc, programs/wineconsole/wineconsole_Fr.rc, programs/wineconsole/wineconsole_res.h: Eric Pouech - allow to save/restore some properties into the registry (like font, cursor size...) - implement the two sets of properties (default & current) - fixed some bugs mainly in dialog - enhanced font selection mechanisms, - added and protected sub-menu for all operations (sysmenu is not avail in managed mode) - better data separation for the backend(s) * server/console.h, server/debugger.c, server/process.c, server/process.h, server/thread.c, server/console.c: Eric Pouech Let the console renderer be defined as a thread. * programs/winhelp/macro.h: James Juran Only include the necessary files to avoid conflicts in gethostname prototypes between winsock.h and unistd.h * objects/bitmap.c: Erik Inge Bolsø CreateBitmap can take nHeight or nWidth = zero, and then returns a pointer to a 1x1 monochrome bitmap. * dlls/shlwapi/ordinal.c: Guy L. Albertelli - Correct implementation of _169 (call of Release). This fixes crashes when actually attempting to call Release. - Correct some traces. * msdos/Makefile.in, msdos/devices.c, msdos/dosaspi.c, msdos/dosmem.c, msdos/dpmi.c, msdos/int10.c, msdos/int16.c, msdos/int17.c, msdos/int19.c, msdos/int20.c, msdos/int21.c, msdos/int29.c, msdos/int2f.c, msdos/int33.c, msdos/interrupts.c, msdos/ioports.c, msdos/vga.c, msdos/xms.c, include/callback.h, include/dosexe.h, include/miscemu.h, include/vga.h, miscemu/main.c, graphics/dispdib.c, dlls/ntdll/Makefile.in, dlls/ntdll/ntdll.spec, dlls/winedos/Makefile.in, dlls/winedos/devices.c, dlls/winedos/dosaspi.c, dlls/winedos/dosexe.h, dlls/winedos/dosvm.c, dlls/winedos/int09.c, dlls/winedos/int10.c, dlls/winedos/int16.c, dlls/winedos/int17.c, dlls/winedos/int19.c, dlls/winedos/int20.c, dlls/winedos/int21.c, dlls/winedos/int29.c, dlls/winedos/int31.c, dlls/winedos/int33.c, dlls/winedos/ioports.c, dlls/winedos/module.c, dlls/winedos/vga.c, dlls/winedos/vga.h, dlls/winedos/winedos.spec, dlls/winedos/xms.c, dlls/kernel/kernel_main.c, dlls/kernel/wprocs.spec: Moved most of the real-mode stuff to dlls/winedos. * scheduler/process.c: Added SYNCHRONIZE access to stdio handles. * dlls/kernel/console.c: Marcus Meissner Copy the correct number of bytes in WriteConsoleInputA. * dlls/winmm/mmio.c, include/mmsystem.h: Eric Pouech Fixed bugs in output functions (write). Rewrote some parts for better DLL separation. Fixed some prototypes. Fixed mmioAdvance in write mode. * dlls/msacm/format.c: Eric Pouech Fixed acmFormatChoose returned fields. * dlls/commdlg/filedlg95.c: Gerard Patel Initialize dialog data correctly in CreateTemplateDialog. * dlls/kernel/comm.c: Gerard Patel Misc fixes to DCB building from command line. * tools/wineconf: Gerard Patel Better handling of configuration with several Windows installations. 2001-12-01 Alexandre Julliard * dlls/comctl32/toolbar.c: Guy L. Albertelli Undocumented feature of TB_{GET|SET}BUTTONINFO{A|W}: if mask has 0x80000000 set then the command id is really the index. * dlls/shlwapi/path.c, dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c: Guy L. Albertelli - Fixed PathIsURL{A|W}. - Implemented PathRenameExtension{A|W}, SHRegDuplicateHKey, ChrCmpI{A|W}. - Added forwards to DrawTextW, CreateDialogParamA, CreateFontW, TracePopupMenuEx. * include/shlwapi.h, dlls/shlwapi/ordinal.c, dlls/shlwapi/url.c: Guy L. Albertelli - Stub routines for _164, _208, _210, _211, _239, _356, _413, _437, ColorRGBToHLS - Implement routines for _172, _174, _176, _199, _215, _219, _236, _377, _378, UrlCompare{A|W}, UrlApplyScheme{A|W}. - Fix routines _217, _169, _240, _276, _342, _376. 2001-11-30 Alexandre Julliard * include/user.h, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/user.c, dlls/user/user_main.c, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c: Andriy Palamarchuk Removed Get/SetScreenSaveTimeout user driver functions because they are not used. * dlls/comctl32/imagelist.c: Michael Stefaniuc Implemented ImageList_GetDragImage. Fixed ImageList_SetDragCursorImage and ImageList_Merge. No need for StretchBlt in ImageList_BeginDrag. Added some traces. * dlls/x11drv/dga2.c: Glenn Schrader Use gdi_display everywhere to avoid BadColor errors. * windows/nonclient.c, windows/painting.c: Gerard Patel Remove some possible interlocking problems with peb lock. * dlls/winsock/socket.c: Paul Rupe Fixed WS_getpeername parameter in WS_accept. Changed order of event processing in WINSOCK_DoAsyncEvent. * memory/virtual.c: Andrew Lewycky map_image: map the PE header readonly. * loader/pe_image.c: Andrew Lewycky do_relocations: process relocation blocks with a VirtualAddress of 0, stop once SizeOfBlock == 0. * documentation/debugging.sgml: Michael Stefaniuc Rename debug.h to debugtools.h. * windows/winpos.c, windows/painting.c, windows/queue.c, windows/timer.c, windows/win.c, windows/defwnd.c, windows/input.c, windows/message.c, tools/make_requests, win32/console.c, win32/device.c, win32/except.c, server/thread.h, server/timer.c, server/trace.c, server/window.c, server/async.c, server/atom.c, server/change.c, server/console.c, server/console.h, server/context_i386.c, server/context_sparc.c, server/debugger.c, server/device.c, server/event.c, server/file.c, server/handle.c, server/mapping.c, server/mutex.c, server/named_pipe.c, server/object.c, server/object.h, server/pipe.c, server/process.c, server/protocol.def, server/queue.c, server/registry.c, server/request.c, server/request.h, server/select.c, server/semaphore.c, server/serial.c, server/snapshot.c, server/sock.c, server/thread.c, msdos/vga.c, programs/wineconsole/wineconsole.c, scheduler/client.c, scheduler/handle.c, scheduler/pipe.c, scheduler/process.c, scheduler/synchro.c, scheduler/thread.c, scheduler/timer.c, memory/atom.c, memory/registry.c, memory/selector.c, memory/virtual.c, misc/options.c, misc/registry.c, include/wine/server.h, include/wine/server_protocol.h, loader/module.c, loader/pe_image.c, include/thread.h, include/winbase.h, include/wincon.h, dlls/user/message.c, dlls/user/property.c, dlls/winsock/socket.c, files/change.c, files/dos_fs.c, files/file.c, dlls/ntdll/exception.c, dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/sync.c, dlls/kernel/Makefile.in, dlls/kernel/comm.c, dlls/kernel/console.c, dlls/kernel/debugger.c, dlls/kernel/sync.c, dlls/kernel/toolhelp.c, dlls/advapi32/registry.c: Redesign of the server communication protocol to allow arbitrary sized data to be exchanged. Split request and reply structures to make backwards compatibility easier. Moved many console functions to dlls/kernel, added code page support, changed a few requests to behave properly with the new protocol. 2001-11-25 Alexandre Julliard * tools/font_convert.sh, documentation/db2html-winehq, documentation/make_winehq: Andreas Mohr Avoid potential problems with filenames containing spaces. * win32/console.c, programs/wineconsole/wineconsole.c: Eric Pouech Now passing event with --use-event to let programs starting with digits being run. * miscemu/main.c: Joshua Thielen mmsystem.dll should be automatically loaded for 16-bit apps. * debugger/debug.l: Eric Pouech Fixed IO when not run with wineconsole. 2001-11-24 Alexandre Julliard * programs/winver/Makefile.in, programs/winetest/Makefile.in, programs/winhelp/Makefile.in, programs/wineconsole/Makefile.in, programs/winemine/Makefile.in, programs/uninstaller/Makefile.in, programs/view/Makefile.in, programs/wcmd/Makefile.in, programs/osversioncheck/Makefile.in, programs/progman/Makefile.in, programs/regapi/Makefile.in, programs/regtest/Makefile.in, programs/cmdlgtst/Makefile.in, programs/control/Makefile.in, programs/notepad/Makefile.in, programs/avitools/Makefile.in, programs/clock/Makefile.in, programs/Makeprog.rules.in: Compile all programs with -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT. * server/window.c: Skip queue cleanups if queue has been destroyed already. * dlls/ntdll/reg.c, memory/registry.c, dlls/advapi32/registry.c: Fixed registry routines broken by the structure sizes fix. 2001-11-23 Alexandre Julliard * debugger/Makefile.in, debugger/debug.l, debugger/debugger.h, debugger/editline.c, debugger/hash.c, debugger/source.c, debugger/winedbg.c: Eric Pouech Revisited console support (got rid of old hacks and private editline since we now have a brand new console), removed private debug heap. * win32/Makefile.in, win32/console.c, win32/editline.c, tools/make_requests, server/console.c, server/console.h, server/debugger.c, server/file.c, server/handle.c, server/object.h, server/process.c, server/process.h, server/protocol.def, server/request.h, server/trace.c, scheduler/process.c, programs/wineconsole/wineconsole.spec, programs/wineconsole/wineconsole_En.rc, programs/wineconsole/wineconsole_Fr.rc, programs/wineconsole/wineconsole_res.h, programs/wineconsole/wineconsole_res.rc, programs/wineconsole/.cvsignore, programs/wineconsole/Makefile.in, programs/wineconsole/dialog.c, programs/wineconsole/user.c, programs/wineconsole/winecon_private.h, programs/wineconsole/wineconsole.c, loader/module.c, programs/Makefile.in, include/file.h, include/wincon.h, include/wine/server_protocol.h, dlls/x11drv/x11drv_main.c, documentation/running.sgml, documentation/wine.man.in, files/file.c, configure.in, Makefile.in, configure: Eric Pouech New console code based on Win32 windows. * msdos/vxd.c, loader/pe_image.c, memory/registry.c, dlls/ntdll/reg.c, include/commctrl.h, include/dplay.h, include/dplobby.h, include/mmsystem.h, include/nb30.h, include/ntddk.h, include/ntdef.h, include/winbase.h, include/wingdi.h, include/winnt.h, include/winuser.h, dlls/advapi32/registry.c: Dmitry Timoshkov Fixed packing and layout of many system structures. * dlls/msvcrt/environ.c: Uwe Bonnes MSVCRT_getenv: compare for the length of the key and return NULL in case of failure. * documentation/packaging.sgml: Michael Stefaniuc Add missing . * dlls/user/comm16.c: Mike McCormack Check for completed overlappeds in ReadComm16 to solve problems with programs that loop on it but don't get data. * include/msvcrt/sys/types.h: Uwe Bonnes _dev_t is an unsigned integer. 2001-11-20 Alexandre Julliard * windows/sysparams.c, dlls/x11drv/x11drv_main.c: Andriy Palamarchuk Implemented processing for actions SPI_GET/SETSCREENSAVETIMEOUT, SPI_GET/SETSCREENSAVEACTIVE, SPI_GET/SETSCREENSAVERRUNNING. * dlls/advapi32/advapi.c: James Juran GetUserName should include the terminating null character when returning the size of the buffer returned. Correctly handle the ERROR_MORE_DATA case. * memory/global.c: Andreas Mohr Use exception handler for GlobalUnlock, GlobalFree. * dlls/winedos/int09.c, dlls/winedos/module.c, windows/cursoricon.c, dlls/shell32/shellstring.c, dlls/shlwapi/ordinal.c: Patrik Stridvall Documentation fixes. * dlls/x11drv/x11drv.spec, dlls/msrle32/msrle32.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/win16/winsock.api, tools/winapi_check/win32/avicap32.api, tools/winapi_check/win32/mapi32.api, tools/winapi_check/win32/msimg32.api, tools/winapi_check/win32/msrle32.api, tools/winapi_check/win32/msvcrt.api, tools/winapi_check/win32/msvfw32.api, tools/winapi_check/win32/netapi32.api, tools/winapi_check/win32/shlwapi.api, tools/winapi_check/win32/sti.api, tools/winapi_check/win32/ttydrv.api, tools/winapi_check/win32/url.api, tools/winapi_check/win32/urlmon.api, tools/winapi_check/win32/winedos.api, tools/winapi_check/win32/ws2_32.api, tools/winapi_check/win32/x11drv.api, tools/winapi_check/winapi_check: Patrik Stridvall Minor API files update. * dlls/comctl32/toolbar.c: Dave Hawkes TOOLBAR_GetRect did not correctly translate the command ID to the button index. * tools/wineshelllink: Dusan Lacko Add Debian/Mandrake menu system support. * windows/class.c: Bill Medland It is legal to call UnregisterClass with an hInstance of zero. * server/context_i386.c, server/context_sparc.c: Francois Gouget Only include 'sys/user.h' for Linux. Fixes a compilation error on FreeBSD 5.0. * include/winnt.h, dlls/advapi32/service.c, dlls/ntdll/nt.c: Francois Gouget Fix LUID definition. * windows/spy.c, include/winuser.h: Dmitry Timoshkov Convert message spy to unicode. * windows/x11drv/keyboard.c: Dave Hawkes Fix lock up in GetKeyNameText due to an increment wrap when KeyCode is a char type and max_keycode is 255. 2001-11-19 Alexandre Julliard * win32/except.c, win32/time.c, programs/uninstaller/main.c, programs/uninstaller/rsrc.rc, scheduler/pthread.c, tools/wineinstall, msdos/int21.c, misc/cdrom.c, files/directory.c, files/dos_fs.c, documentation/samples/config, documentation/packaging.sgml, dlls/x11drv/dga2.c, dlls/wineps/wps_De.rc, dlls/oleaut32/typelib.c, dlls/ole32/compobj.c, controls/EDIT.TODO, dlls/dplayx/dplayx_global.c: Andreas Mohr - fix wrong hexadecimal GetLastError() output - misc fixes - changed my email address * dlls/kernel/debugger.c, server/process.c, tools/winebuild/spec32.c: James Juran Prevent warnings about labels at end of switch statements when compiling with gcc-3.x. * dlls/wsock32/protocol.c, dlls/wsock32/socket.c, server/trace.c: Francois Gouget Fix the Solaris and FreeBSD compilation errors introduced by the recent winsock update. * dlls/winmm/wineoss/audio.c: Simon Britnell Fix a loop playing failure and a problem with choppy sound. * include/msvcrt/process.h, dlls/dinput/joystick/linux.c, dlls/shlwapi/url.c: Francois Gouget A few typos. * include/rpcndr.h: Francois Gouget MIDL_STUB_MESSAGE needs a pack4 for the MaxCount field. * dlls/kernel/kernel32.spec: Francois Gouget Better relaying for _lcreat. * dlls/avicap32/avicap32.spec: Marcus Meissner Small typo in avicap32.spec fixed. * windows/win.c: Gerard Patel Fix exchanged lines in WIN_GetWindowLong. 2001-11-16 Alexandre Julliard * windows/defwnd.c: Truncate the window text if it is too large for the request buffer. * windows/class.c: Joshua Thielen Local classes registered with USER instance handle now are now found in CLASS_FindClassByAtom. * include/richedit.h, dlls/richedit/richedit.c: Jussi Jumppanen Added missing RichEdit defines. 2001-11-14 Alexandre Julliard * windows/win.c, dlls/user/message.c, include/win.h, server/queue.c, server/user.h, server/window.c: Moved WIN_FindWinToRepaint functionality to the server. * server/sock.c, include/wine/winsock16.h, include/Makefile.in, include/windows.h, include/winsock.h, include/winsock2.h, include/ws2tcpip.h, include/wsipx.h, dlls/winsock/Makefile.in, dlls/winsock/async.c, dlls/winsock/socket.c, dlls/winsock/winsock.spec, dlls/winsock/ws2_32.spec, dlls/wsock32/protocol.c, dlls/wsock32/socket.c, dlls/wsock32/wsock32.spec: Francois Gouget Make winsock.h and winsock2.h independent from the Unix headers. Make them compatible with both the Unix C headers and the MSVCRT headers. Ensure compatibility with the Unix headers via the USE_WS_PREFIX macro. Add WINE_NOWINSOCK: prevents winsock.h from being included from windows.h when defined. Add ws2tcpip.h, move definitions to the right header. * include/wingdi.h: Dmitry Timoshkov Structure NEWTEXTMETRIC uses packing 4. * include/mapidefs.h: Jussi Jumppanen Added missing MAPI defines. 2001-11-13 Alexandre Julliard * windows/defwnd.c, windows/painting.c, windows/win.c, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/request.h, server/trace.c, server/unicode.h, server/user.h, server/window.c: Store the window caption text in the server. Maintain a paint count separately for each window. * dlls/x11drv/winpos.c: Gerard Patel Fix the server paint count in SetWindowPos. * dlls/winmm/mmsystem.c, dlls/winmm/wavemap/wavemap.c: Eric Pouech Fixed wave(In|Out)Open when called with WAVE_MAPPED flag; some minor 16/32 API call ordering. * windows/input.c, windows/sysparams.c: Andriy Palamarchuk Implemented processing for SPI_GET/SETMOUSE, SPI_GET/SETKEYBOARDDELAY, SPI_GET/SETKEYBOARDSPEED actions. Implemented use of mouse acceleration/threshold for relative mouse movements. * controls/edit.c: Andreas Mohr EDIT_EM_LineLength called from within EDIT_EM_LineLength needs starting line char index, not line index (== line number). * include/shlwapi.h, dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/url.c: Guy L. Albertelli - Implement ordinals 7, 8, 9, 13, 14, 19, 36. - Implement SHRegWriteUSValue{A|W}, UrlGetPart{A|W}, UrlIs...{A|W} 2001-11-12 Alexandre Julliard * dlls/winmm/wineoss/audio.c: Eric Pouech Fixed some race conditions in notification vs. operation synchronization using the same in process message ring in waveIn as in waveOut. * dlls/oleaut32/typelib.c: Huw D M Davies Fixes stupid bug with typelib filenames. * dlls/user/wnd16.c: Lawson Whitney Cast id to unsigned in GetDlgItem16. * dlls/kernel/comm.c: Gerson Kurz Parity settings were not set properly in BuildCommDCBAndTimeouts() because of an off-by-one error. * dlls/commdlg/fontdlg.c: Gerard Patel Fixed handling of -1 itemid in WM_DRAWITEM. * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/time.c: Gerard Patel - implement mbscspn mostly as a stub - reimplement mktime * dlls/rasapi32/rasapi.c: Andreas Mohr - don't forget to initialize number of connections to 0 - add "RAS doesn't work" warning 2001-11-09 Alexandre Julliard * dlls/winmm/wineoss/audio.c: Simon Britnell Cleaned up the wodPlayer functionality to make it easier to follow. Changed notification to be calculated from bytes played rather than time elapsed. * dlls/msacm/driver.c: Travis Michielsen Test bits with '&' instead of '&&'. * windows/sysmetrics.c, windows/sysparams.c: Andriy Palamarchuk Implemented SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING system parameters processing. * programs/regapi/regapi.c: François Gouget Correct handling of strings in setValue. Better handling of str(x) and hex(x) in setValue. Misc typos. * documentation/wine.man.in: Francois Gouget o Document the new -winver versions. * dlls/user/wnd16.c: Joshua Thielen Changed BM_ messages SETCHECK and GETCHECK to SETCHECK16 and GETCHECK16 in CheckDlgItem16 and IsDlgItemChecked16. Cast UINT16 value to UINT or INT depending on sign in SetDlgItemInt16. * relay32/builtin32.c: François Gouget Recognize the FreeBSD dlopen equivalent of "cannot open". * dlls/shlwapi/string.c: Guy L. Albertelli Use proper unicode routine. * Make.rules.in: François Gouget Make out-of-source-tree builds work with Solaris make. 2001-11-08 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20011108. ---------------------------------------------------------------- 2001-11-08 Alexandre Julliard * dlls/msvcrt/wcs.c, dlls/shlwapi/url.c, include/wine/unicode.h: Implemented inline version of the iswxxx functions. * msdos/int09.c, msdos/interrupts.c, msdos/ioports.c, msdos/Makefile.in, dlls/winedos/Makefile.in, dlls/winedos/dosvm.c, dlls/winedos/int09.c, dlls/winedos/winedos.spec: Ove Kaaven Moved the int 9 (keyboard) handler to dlls/winedos. * dlls/user/comm16.c: Mike McCormack Find out how much data is available when calling ReadFileEx. 2001-11-07 Alexandre Julliard * dlls/x11drv/winpos.c: Gerard Patel Repaired child window activation broken by previous change. * windows/win.c: Dmitry Timoshkov Add dumping of window styles at the window creation time. * msdos/vga.c: Ove Kaaven Added a few default palette entries for the VGA/MCGA 256-color mode. Made the VGA mode set go through RunInThread, so that the VGA graphics window gets owned by the right thread. * server/thread.c: Avoid ftruncate to work around broken UMSDOS file system. * windows/sysmetrics.c, windows/sysparams.c: Andriy Palamarchuk Created new infrastructure for SystemParametersInfo function. Used it to implement processing for SPI_GET/SETBEEP, SPI_GET/SETBORDER, SPI_GET/SETSHOWSOUNDS system parameters. * documentation/architecture.sgml: Bill Medland Minor grammatical corrections. * msdos/dpmi.c, dlls/winedos/module.c, dlls/winedos/winedos.spec, include/callback.h, include/dosexe.h: Ove Kaaven Added RunInThread callout to winedos. * server/protocol.def, server/trace.c, include/wine/server_protocol.h, scheduler/synchro.c, server/named_pipe.c, dlls/kernel/sync.c: Mike McCormack Make ConnectNamedPipe work in overlapped mode. * dlls/kernel/comm.c: Mike McCormack Ignore DSR/DTR flow control in DCB. termios doesn't support it. 2001-11-06 Alexandre Julliard * include/shlwapi.h, dlls/shlwapi/path.c, dlls/shlwapi/shlwapi_main.c, dlls/shlwapi/string.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/shell32/shlmenu.c, dlls/commdlg/filedlgbrowser.c, dlls/richedit/richedit.c, dlls/shdocvw/shdocvw_main.c, dlls/shell32/clipboard.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shellstring.c, dlls/shell32/shlfileop.c, dlls/shell32/shlfolder.c, dlls/comctl32/commctrl.c: Guy Albertelli - Define rest of URL_ESCAPE... and other flags. - Define implemented interfaces for reg.c and url.c. * dlls/shlwapi/url.c: Guy Albertelli - Implement URL_ESCAPE_SEGEMENT_ONLY, URL_ESCAPE_PERCENT, and URL_DONT_ESCAPE_EXTRA_INFO in the UrlEscape{A|W} routines. - Make UrlCanonicalizeA use UrlCanonicalizeW. - Implement full functionality in UrlCanonicalizeW. - Implement UrlCombine{A|W}. * dlls/shlwapi/ordinal.c, dlls/shlwapi/ordinal.h: Guy Albertelli - Implement SHLWAPI_1 (ASCII version of SHLWAPI_2). - Fix error in SHLWAPI_18 - New file (ordinal.h) with documentation for _1, &_2. * windows/message.c, windows/winpos.c, dlls/x11drv/winpos.c, include/winpos.h, dlls/ttydrv/wnd.c: Window activation cleanups. * scheduler/process.c: Return success in CreateProcess when we started a non-Winelib Unix process. * configure, configure.in: Dmitry Timoshkov Add $X_LIBS path while searching for libfreetype. * dlls/dinput/device.c: Devices never need to be polled, so return DI_NOEFFECT in Poll. * server/select.c: Bill Medland Prevent danger of accessing freed memory (theoretical but unlikely bug). * programs/regapi/regapi.c: François Gouget strsep is not implemented on Solaris, replace it with our own portable implementation. * library/debug.c: Marcus Meissner Renamed struct option to struct debug_option to avoid compile problems where struct option is already defined. * tools/wrc/writeres.c: Francois Gouget Fix a buffer overflow in write_name_str, bug found by jonathan@corvu.com.au. * tools/winecheck: Avoid parsing the whole tree to find libwine.so. * loader/module.c, windows/sysparams.c, dlls/user/exticon.c, dlls/wsock32/socket.c, graphics/win16drv/init.c, graphics/win16drv/prtdrv.c, dlls/shlwapi/reg.c, dlls/shlwapi/string.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.c, dlls/shell32/shellord.c, dlls/shell32/shlfolder.c, dlls/shell32/shlmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/oleaut32/variant.c, dlls/shell32/changenotify.c, dlls/comctl32/comboex.c, dlls/comctl32/tab.c, dlls/commdlg/filedlgbrowser.c, dlls/kernel/toolhelp.c, dlls/ntdll/reg.c, controls/combo.c: Francois Gouget Don't prefix %p with 0x. Various English fixes. * windows/x11drv/clipboard.c, windows/class.c, windows/dialog.c, tools/wrc/parser.l, tools/wrc/ppl.l, win32/device.c, server/request.c, tools/make_X11wrappers, tools/winebuild/build.h, tools/winebuild/spec16.c, tools/winebuild/utils.c, msdos/dosmem.c, msdos/dpmi.c, msdos/int10.c, scheduler/client.c, scheduler/sysdeps.c, scheduler/thread.c, memory/global.c, memory/virtual.c, misc/cpu.c, library/port.c, loader/elf.c, loader/ne/module.c, loader/ne/resource.c, include/wine/port.h, include/cdrom.h, include/config.h.in, include/console.h, include/gdi.h, include/heap.h, include/thread.h, include/ts_shape.h, include/ts_xf86dga.h, include/ts_xf86dga2.h, include/ts_xf86vmode.h, include/ts_xlib.h, include/ts_xpm.h, include/ts_xrender.h, include/ts_xresource.h, include/ts_xshm.h, include/ts_xutil.h, include/ts_xvideo.h, include/wine_gl.h, include/x11drv.h, dlls/x11drv/dga2.h, dlls/x11drv/x11ddraw.h, dlls/x11drv/xvidmode.h, files/drive.c, dlls/winmm/wineoss/oss.h, dlls/winsock/async.c, dlls/winsock/socket.c, dlls/ttydrv/bitmap.c, dlls/ttydrv/objects.c, dlls/ttydrv/palette.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/user.c, dlls/ntdll/misc.c, dlls/odbc32/proxyodbc.c, dlls/kernel/comm.c, dlls/msvcrt/msvcrt.h, controls/menu.c, dlls/ddraw/mesa.c, dlls/dplayx/dplay.c, configure.in, console/xterm.c, configure: François Gouget Fix the #include order for config.h. Add #include "config.h" directives where needed. * dlls/netapi32/netapi32.c, include/config.h.in, include/debugtools.h, configure, configure.in: François Gouget Make debugtools.h independent from config.h. * server/window.c: Allow owner to be the desktop window. * programs/regapi/regapi.c: Hidenori Takeshima The 'dword' values should be stored as big endian values. * include/Makefile.in, include/nb30.h, configure.in, dlls/Makefile.in, dlls/netapi32/.cvsignore, dlls/netapi32/Makefile.in, dlls/netapi32/netapi32.c, dlls/netapi32/netapi32.spec, configure: Mike McCormack Added netapi32.dll and the Netbios() call. * windows/caret.c: Eric Pouech For drawing a caret, internally replaced the brush by a bitmap (this allows caret of size > 8x8), * misc/options.c, misc/version.c: Francois Gouget Add versions for WinME and WinXP. Fix the 16bit version return for Win2000. More closely match the Win95/98 CSDVersion fields. Enhance documentation of Win95 version numbers. Confirm the existing data for Win2000. * dlls/shlwapi/reg.c: Francois Gouget Fix incorrect use of a Unicode string literal. * graphics/x11drv/xfont.c, objects/font.c: François Gouget Add traces to help diagnose systematic cached-metrics regeneration problems. * dlls/shell32/iconcache.c: Francois Gouget Rename SIC_CompareEntrys to SIC_CompareEntries, and make it static. * dlls/msrle32/.cvsignore, dlls/msrle32/Makefile.in, dlls/msrle32/msrle32.c, dlls/msrle32/msrle32.spec, dlls/Makefile.in, dlls/avicap32/.cvsignore, dlls/avicap32/Makefile.in, dlls/avicap32/avicap32.spec, dlls/avicap32/avicap32_main.c, configure, configure.in: Hidenori Takeshima Added stubs for msrle32.dll and implemented RLE8 decoder. Added stub for avicap32. 2001-11-05 Alexandre Julliard * objects/font.c, graphics/x11drv/xfont.c: Dmitry Timoshkov Convert GetCharWidth to Unicode. * dlls/user/message.c: Guy Albertelli Move SPY_EnterMessage call after all possible exits so that there will be a matching SPY_ExitMessage. * dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, dlls/shell32/shellstring.c: Guy Albertelli - Indicate that StrRetToStrN{A|W} and StrRetToBuf{A|W} are identical code but duplicated deliberately. - Implement StrRChrI{A|W}. * windows/spy.c: Guy Albertelli Add support for Wine internal messages. * tools/winedump/main.c, tools/winedump/msmangle.c, tools/winedump/output.c, tools/winedump/pe.c, tools/winedump/winedump.h: Eric Pouech Fixed and globalized some path and module name handling. Tweaked the demangling of function pointers as function parameters. * dlls/winmm/wineoss/mixer.c: Eric Pouech Fixed dst / src lines implementation. Added mux/mixer control for master rec. Added framework for multiple mixers. * dlls/winsock/socket.c: Gerard Patel Test for ws_timeout=NULL in winsock select(). * configure.in, configure: François Gouget Tell Solaris users where to get XPM. * library/port.c: François Gouget FALSE is not defined on Solaris. * graphics/x11drv/dib.c: François Gouget Fix line length calculation in X11DRV_DIB_Convert_any_asis. Correctly initialize the color masks of 24bpp DIBs. * windows/class.c: Joshua Thielen For global classes, GetClassInfo now returns a handle to USER. * msdos/interrupts.c, include/miscemu.h: Ove Kaaven Implemented a dynamic table of DOS interrupt handlers. 2001-10-28 Alexandre Julliard * dlls/winspool/info.c: Gerard Patel Fix RegSetValueEx calls and crash when DriverName="" in registry. * dlls/ntdll/signal_i386.c: Ove Kaaven Protect against an interrupt-pending signal recursion. * dlls/quartz/Makefile.in, dlls/quartz/README, dlls/quartz/asyncsrc.c, dlls/quartz/avidec.c, dlls/quartz/basepin.c, dlls/quartz/devenum.c, dlls/quartz/devenum.h, dlls/quartz/devmon.c, dlls/quartz/devmon.h, dlls/quartz/fgpass.c, dlls/quartz/fmap.c, dlls/quartz/ifgraph.c, dlls/quartz/iunk.c, dlls/quartz/mtype.c, dlls/quartz/mtype.h, dlls/quartz/parser.c, dlls/quartz/regsvr.c, dlls/quartz/regsvr.h, dlls/quartz/seekpass.c, dlls/quartz/vidren.c, dlls/quartz/wavparse.c, winedefault.reg: Hidenori Takeshima Fixed some bugs. Implemented IPropertyBag. Implemented some FilterMapper2 methods. Implemented AddSourceFilter. Implemented Render partially. Implemented Connect partially. * include/strmif.h: Hidenori Takeshima Added definitions of MERITs. * dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo_main.c: Hidenori Takeshima Added stub for ICImageCompress. Implemented ICImageDecompress. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Guy L. Albertelli - Added stubs for _18,_21,_22 which seem to be used only by native shdocvw.dll - Implemented _26, _27, _28, _32, and _34 (more isw... functions). * dlls/shlwapi/url.c: Guy L. Albertelli Stub UrlCombineA and initial implementation of UrlCombineW. * dlls/shlwapi/reg.c: Guy L. Albertelli Implement SHRegGetBoolUSValue{A|W}. * dlls/user/resources/user32_icons.rc: Jeremy Newman Replaced Martini glass. 2001-10-25 Alexandre Julliard * loader/pe_image.c, scheduler/process.c, server/process.c: Don't keep main exe and dlls handles open when the file is on removable media. * dlls/shell32/shlview.c: Aric Stewart Add handling for LVN_GETDISPINFOW. 2001-10-24 Alexandre Julliard * dlls/shlwapi/reg.c: Guy Albertelli - Correct implementation of HUSKEY internals, including functions: SHRegOpenUSKey{A|W}, SHRegCloseUSKey, SHRegGetUSValue{A|W}, SHRegQueryInfoUSKey{A|W} - Implement SHRegQueryUSValue{A|W} * dlls/shlwapi/ordinal.c: Guy Albertelli - Implement: SHLWAPI_2 - Identify internet protocols. SHLWAPI_25 - iswalpha SHLWAPI_33 - iswdigit * windows/winpos.c: Joshua Thielen Switch focus to activated window even if no window previously had the focus. * memory/virtual.c: Try to use read instead of mmap for files on removable media, so that we don't need to keep the mapping handle open. * server/file.c, server/mapping.c, server/object.h, server/protocol.def, server/trace.c, files/dos_fs.c, files/file.c, include/file.h, include/wine/server_protocol.h, misc/registry.c: Ove Kaaven Save a disk file's drive type in the server object. 2001-10-23 Alexandre Julliard * windows/win.c: Cosmetic fixes. * configure, configure.in, dlls/Makefile.in, dlls/devenum/.cvsignore, dlls/devenum/Makefile.in, dlls/devenum/devenum.spec, dlls/devenum/devenum_main.c, dlls/msdmo/.cvsignore, dlls/msdmo/Makefile.in, dlls/msdmo/msdmo.spec, dlls/msdmo/msdmo_main.c, dlls/qcap/.cvsignore, dlls/qcap/Makefile.in, dlls/qcap/qcap.spec, dlls/qcap/qcap_main.c: Hidenori Takeshima Added stubs for msdmo.dll, qcap.dll and devenum.dll. * configure.in, dlls/gdi/freetype.c, include/config.h.in, include/font.h, objects/font.c, configure: Huw D M Davies Implement GetFontData. * dlls/Makefile.in, dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/propertyframe.c, dlls/oleaut32/stubs.c: Hidenori Takeshima Implemented OleCreatePropertyFrame and OleCreatePropertyFrameIndirect. * include/winbase.h, include/wincon.h: Eric Pouech Moved/added some console definitions. * misc/version.c: Marcus Meissner Revert 16bit win95 version back to original value. Fixes InstallShield installer version check. * graphics/x11drv/codepage.c, graphics/x11drv/xfont.c, include/x11font.h, objects/text.c: Huw D M Davies ExtTextOutW with symbol fonts works with chars in the ranges 0x0000 -- 0x00ff and 0xf000 -- 0xf0ff and not, for example, with chars in the Unicode Greek range. * dlls/ole32/compobj.c: Huw D M Davies Better failure messages for CoCreateInstance. * windows/dce.c: Fixed window handle check in GetDCEx. * windows/win.c: A couple of optimizations. * win32/except.c: Francois Gouget Expand environment variables in "Debugger" setting. Replace fixed-size buffers with dynamic ones. * dlls/shell32/classes.c, dlls/shell32/shell32_main.c: Aric Stewart Fixed the behavior for SHGetFileInfo when the SHGFI_USEFILEATTRIBUTES flag is set. Corrects the given type and icon. 2001-10-22 Alexandre Julliard * dlls/ttydrv/wnd.c, dlls/user/message.c, dlls/user/user_main.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.spec, include/user.h, include/win.h, include/wine/server_protocol.h, server/protocol.def, server/request.h, server/trace.c, server/window.c, windows/defwnd.c, windows/win.c, windows/winpos.c, controls/scroll.c: Store in the server all the window information accessible with Get/SetWindowLong. * dlls/winmm/wineoss/midi.c, files/file.c, dlls/advapi32/service.c, dlls/ntdll/om.c, dlls/ole32/compositemoniker.c, dlls/ole32/errorinfo.c, dlls/ole32/filemoniker.c, dlls/ole32/hglobalstream.c, dlls/ole32/stg_stream.c, dlls/wininet/ftp.c, dlls/wininet/internet.c, dlls/winmm/mciwave/mciwave.c: Francois Gouget Spelling, grammar and a bit of comment formatting fixes. * dlls/Makefile.in, dlls/quartz/Makefile.in, dlls/quartz/asyncsrc.c, dlls/quartz/asyncsrc.h, dlls/quartz/audren.c, dlls/quartz/audren.h, dlls/quartz/avidec.c, dlls/quartz/aviparse.c, dlls/quartz/basefilt.c, dlls/quartz/basefilt.h, dlls/quartz/basepin.c, dlls/quartz/csconv.c, dlls/quartz/fgpass.c, dlls/quartz/imfilter.c, dlls/quartz/main.c, dlls/quartz/memalloc.c, dlls/quartz/mtype.c, dlls/quartz/mtype.h, dlls/quartz/parser.c, dlls/quartz/parser.h, dlls/quartz/quartz.spec, dlls/quartz/sample.c, dlls/quartz/seekpass.c, dlls/quartz/seekpass.h, dlls/quartz/videoblt.c, dlls/quartz/videoblt.h, dlls/quartz/vidren.c, dlls/quartz/vidren.h, dlls/quartz/wavparse.c, dlls/quartz/xform.c, dlls/quartz/xform.h: Hidenori Takeshima Fixed some bugs. Implemented AVI Decompressor. Started implementing Color Space Converter. Started implementing seeking. * debugger/winedbg.c: Added "--auto" option. * dlls/wineps/init.c: Francois Gouget Add support for environment variables in the printer settings. Remove the fixed-size buffers. * include/msvcrt/sys/stat.h, include/msvcrt/sys/timeb.h, include/msvcrt/sys/types.h, include/msvcrt/sys/utime.h, include/msvcrt/conio.h, include/msvcrt/crtdbg.h, include/msvcrt/ctype.h, include/msvcrt/direct.h, include/msvcrt/dos.h, include/msvcrt/eh.h, include/msvcrt/fcntl.h, include/msvcrt/io.h, include/msvcrt/locale.h, include/msvcrt/malloc.h, include/msvcrt/process.h, include/msvcrt/search.h, include/msvcrt/stddef.h, include/msvcrt/stdio.h, include/msvcrt/stdlib.h, include/msvcrt/string.h, include/msvcrt/time.h, include/msvcrt/wchar.h, include/msvcrt/wctype.h: Francois Gouget Added __WINE_USE_MSVCRT. * dlls/ntdll/ntdll.spec, dlls/ntdll/wcstring.c: David Elliott Implemented the wcstoul function. 2001-10-21 Alexandre Julliard * debugger/winedbg.c, dlls/oleaut32/ole2disp.c, documentation/patches.sgml, documentation/samples/config, files/dos_fs.c, files/profile.c, graphics/x11drv/oembitmap.c, memory/instr.c, tools/winecheck, win32/except.c, windows/keyboard.c, windows/win.c: Andreas Mohr Cosmetics. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Guy L. Albertelli - Add stubs for _25, _33, _35 - Add/correct code for: _15, _29, _30, _31, _151, _152, _153, _154, _158. * dlls/shlwapi/reg.c, include/shlwapi.h: Guy L. Albertelli - Implement HUSKEY design. - Implement functions: SHRegOpenUSKey{A|W}, SHRegCloseUSKey, SHRegGetUSValue{A|W}, SHRegQueryInfoUSKey{A|W} * dlls/shlwapi/url.c: Guy L. Albertelli - Implement UrlCanonicalizeW, UrlEscapeW, UrlUnescapeW. - Stub UrlGetLocation{A|W}. * dlls/ntdll/debugtools.c: Avoid crashing on non-initialized debug info. * include/wine/obj_property.h: Hidenori Takeshima Fixed a typo. * objects/font.c: Guy L. Albertelli Implemented GetCharacterPlacementW. * dlls/x11drv/xvidmode.c: Andrew Lewycky XFree86 4.1 gamma ramp support. * include/dsound.h: Ove Kaaven Fixed a typo. * dlls/kernel/comm.c, dlls/user/comm16.c: Mike McCormack Return TRUE on success in COMM_BuildOldCommDCB. DCB16.BaudRate > 57600 means 115200. OpenComm16 should use overlapped I/O. 2001-10-18 Alexandre Julliard * dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/user.c, dlls/user/mouse.c, dlls/user/mouse.spec, dlls/user/user_main.c, dlls/x11drv/Makefile.in, dlls/x11drv/mouse.c, dlls/x11drv/window.c, dlls/x11drv/x11drv.spec, include/mouse.h, include/user.h, include/x11drv.h, windows/input.c, windows/x11drv/Makefile.in, windows/x11drv/event.c, windows/x11drv/keyboard.c, windows/x11drv/mouse.c: Changed X11 mouse driver to use SendInput, and removed WINE_MOUSEEVENT hack. Moved mouse.c to dlls/x11drv. Added KeymapNotify event handler, and fixed handling with multiple alt/shift/control keys. Removed dinput functions from USER driver. * include/winuser.h: Added a few XBUTTON defines. * windows/mdi.c: Mike McCormack Use WIN_ReleasePtr not WIN_ReleaseWndPtr with WIN_GetPtr. * dlls/dinput/Makefile.in: Make dinput a properly separated dll. * dlls/dinput/mouse/main.c: Use WH_MOUSE_LL hook instead of redirecting the mouse event handler. * dlls/dinput/keyboard/main.c: Fixed GetDeviceState and GetDeviceData to use only exported APIs. 2001-10-17 Alexandre Julliard * graphics/x11drv/dib.c: Francois Gouget Fix tons of color conversion bugs. Reorganize things more rationally and so that more code is shared. * windows/input.c: Andriy Palamarchuk Fixed mouse_event bug - cursor was moved before new position was calculated. * dlls/ntdll/debugtools.c: Johan Gill Relay tracing would crash if it came upon a function call with an invalid pointer as a parameter. * windows/input.c: Jukka Heinonen Releasing a mouse button now clears an entry in table InputKeyStateTable instead of AsyncKeyStateTable. * windows/winpos.c: Bill Medland Only modify the ancestor if you find it. * windows/x11drv/event.c, windows/x11drv/keyboard.c, include/wine/keyboard16.h, win32/console.c, windows/hook.c, windows/input.c, windows/keyboard.c, windows/sysparams.c, include/keyboard.h, include/queue.h, include/user.h, include/winuser.h, include/x11drv.h, dlls/user/user_main.c, dlls/user/keyboard.spec, dlls/user/lstr.c: Added support for low-level mouse and keyboard hooks. Misc keyboard handling cleanups. * windows/message.c, dlls/user/message.c, include/message.h, server/main.c, server/queue.c, server/request.c, server/request.h: Make sure that GetMessagePos and GetMessageTime return sane values for all messages. * dlls/ddraw/dsurface/user.c: Jukka Heinonen When a surface becomes primary surface, mark the whole surface damaged. * graphics/x11drv/palette.c: Francois Gouget Use the same color conversion algorithm as the DIB code (and Windows), i.e. shifts, not MulDivs. Fix the grayscale formula. * files/file.c: Mike McCormack Separate code to overlapped timeouts into FILE_GetTimeout. 2001-10-16 Alexandre Julliard * dlls/user/message.c, dlls/user/user_main.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, include/queue.h, include/user.h, include/win.h, include/winpos.h, windows/dce.c, windows/painting.c, windows/queue.c, windows/win.c, windows/winpos.c, windows/x11drv/event.c, controls/icontitle.c, dlls/ttydrv/wnd.c: Added internal Wine messages to perform SetWindowPos, ShowWindow and SetParent in the correct thread. Replace QUEUE_IsExitingQueue by USER_IsExitingThread. Store window rectangles in the server. Prevent DestroyWindow on windows not belonging to the current thread. * server/request.h, server/trace.c, server/window.c, tools/make_requests, include/wine/server_protocol.h, server/protocol.def: Added requests to store window rectangles in the server. * controls/menu.c, controls/scroll.c, dlls/user/controls.h, include/nonclient.h, windows/defwnd.c, windows/nonclient.c: Moved scrollbar tracking code to scroll.c. Avoid unnecessary coordinates conversion in NC_HandleSysCommand. * README, documentation/bugs.sgml, documentation/cvs-regression.sgml: Gerard Patel Misc doc updates. * winedefault.reg: Ove Kaaven Registry entries for stdole32.tlb. * tools/winedump/main.c, tools/winedump/output.c, tools/winedump/pe.c: Guy L. Albertelli - eliminate different segmentation faults. - when attempting to open a dll, append ".dll" to find it (was stripped previously). - identify named exports so that the ordinal number is "@" in .spec file. - setup output dll name prior to creating ordinal symbols. - don't overlay the named exports with the ordinal exports. - correct test for last symbol. - fix generated install script to match current make files. 2001-10-15 Alexandre Julliard * windows/mdi.c: Gerard Patel Fix the case where child=0 (last child) in MDI_ChildActivate. * controls/icontitle.c, controls/scroll.c, dlls/user/msg16.c, dlls/x11drv/desktop.c, dlls/x11drv/scroll.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, include/win.h, windows/class.c, windows/dce.c, windows/defdlg.c, windows/defwnd.c, windows/dialog.c, windows/mdi.c, windows/message.c, windows/nonclient.c, windows/painting.c, windows/spy.c, windows/timer.c, windows/win.c: Renamed WIN_GetWndPtr into WIN_GetPtr and added corresponding WIN_ReleasePtr. Started using it instead of WIN_FindWndPtr where we don't need to access windows of other processes. * include/uuids.h: Hidenori Takeshima Added some missing GUIDs. * dlls/msvcrt/file.c, include/msvcrt/stdio.h: Francois Gouget The _IOXXX macros conflict with system headers on Solaris. Prefix them. * dlls/shell32/shell.c: Kai Morich InternalExtractIcon16 forgot to close file handle. * include/winbase.h, memory/atom.c: Francois Gouget Add INVALID_ATOM and MAXINTATOM to winbase.h. Replace MIN_STR_ATOM with MAXINTATOM. 2001-10-14 Alexandre Julliard * windows/class.c, windows/dialog.c, loader/elf.c, loader/ne/module.c, loader/ne/resource.c, memory/global.c, memory/virtual.c, misc/cpu.c, msdos/dosmem.c, msdos/dpmi.c, scheduler/client.c, scheduler/sysdeps.c, scheduler/thread.c, server/request.c, tools/winebuild/spec16.c, win32/device.c, controls/menu.c, dlls/dplayx/dplay.c, dlls/kernel/comm.c, dlls/odbc32/proxyodbc.c, dlls/winsock/async.c, dlls/winsock/socket.c, files/drive.c, library/port.c: Francois Gouget When including 'wine/port.h', include it first. Remove redundant 'config.h' includes. * tools/winebuild/relay.c, tools/winebuild/spec32.c, tools/wmc/mcl.c, tools/wmc/mcy.y, tools/wmc/wmc.c, windows/winproc.c, windows/x11drv/wineclipsrv.c, dlls/user/exticon.c, dlls/wineps/graphics.c, graphics/env.c, graphics/path.c, loader/loadorder.c, loader/pe_resource.c, memory/heap.c, memory/selector.c, msdos/int11.c, msdos/int16.c, relay32/relay386.c, scheduler/critsection.c, server/mapping.c, server/trace.c, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, console/generic.c, console/interface.c, console/ncurses.c, console/tty.c, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dtexture.c, dlls/ntdll/exception.c, dlls/opengl32/wgl.c, dlls/shell32/systray.c: Francois Gouget When including config.h, include it first. * include/Makefile.in, include/rpcdce.h, include/rpcndr.h, include/rpcproxy.h: Ove Kaaven Added some RPC definitions. * objects/font.c, windows/driver.c, dlls/shell32/shellord.c, dlls/user/comm16.c, dlls/winmm/driver.c, dlls/winspool/info.c, loader/module.c, dlls/shell32/pidl.c: Francois Gouget Don't print NULL strings (crashes on Solaris). Small code maintainability tweak in ShellExecuteExA. Two typo fixes in winmm. * include/amvideo.h, include/control.h, include/strmif.h, dlls/quartz/Makefile.in, dlls/quartz/asyncsrc.c, dlls/quartz/asyncsrc.h, dlls/quartz/audioutl.c, dlls/quartz/audioutl.h, dlls/quartz/audren.c, dlls/quartz/aviparse.c, dlls/quartz/basefilt.c, dlls/quartz/basepin.c, dlls/quartz/complist.c, dlls/quartz/complist.h, dlls/quartz/devenum.c, dlls/quartz/devmon.c, dlls/quartz/enumunk.c, dlls/quartz/fgevent.c, dlls/quartz/fgidisp.c, dlls/quartz/fgpass.c, dlls/quartz/fgraph.c, dlls/quartz/fgraph.h, dlls/quartz/fmap.c, dlls/quartz/fmap.h, dlls/quartz/fmap2.c, dlls/quartz/fmap2.h, dlls/quartz/ifgraph.c, dlls/quartz/igconfig.c, dlls/quartz/igrver.c, dlls/quartz/imcntl.c, dlls/quartz/imfilter.c, dlls/quartz/impos.c, dlls/quartz/imseek.c, dlls/quartz/main.c, dlls/quartz/memalloc.c, dlls/quartz/mtype.c, dlls/quartz/mtype.h, dlls/quartz/parser.c, dlls/quartz/parser.h, dlls/quartz/quartz_private.h, dlls/quartz/regsvr.c, dlls/quartz/sample.c, dlls/quartz/seekpass.c, dlls/quartz/sysclock.c, dlls/quartz/vidren.c, dlls/quartz/wavparse.c: Hidenori Takeshima Started implementing AVI splitter. Implemented AsyncSource. Merged some C sources. Fixed some bugs. * include/mmreg.h: Hidenori Takeshima Added MPEG1WAVEFORMAT and MPEGLAYER3WAVEFORMAT. * files/dos_fs.c, files/file.c, include/file.h: Eric Pouech Pass security attributes for DOSFS creation. * dlls/oleaut32/typelib.c: Ove Kaaven Fixed bugs with propget methods with input arguments. Improved variant debug dumps. * dlls/oleaut32/safearray.c: Ove Kaaven Fixed bugs in safe arrays. - enlarging a safe array didn't clear the new entries - element access only validated the first dimension - the validation always failed when the array contained 1 element * dlls/oleaut32/olepicture.c: Ove Kaaven Fix a UINT16 redefinition problem. * relay32/builtin32.c: Francois Gouget Recognize the Solaris dlopen equivalent of "cannot open". * tools/winemaker: Francois Gouget Fix handling of empty lists in install and uninstall targets. Install the executables .so libraries in $bindir (not $libdir!). 2001-10-12 Alexandre Julliard * windows/Makefile.in, windows/property.c, windows/win.c, dlls/user/Makefile.in, dlls/user/property.c, include/win.h, include/wine/server_protocol.h, server/protocol.def, server/request.h, server/trace.c, server/window.c: Store window properties in the server. Moved property.c to dlls/user. * memory/atom.c, server/atom.c, server/object.h, server/protocol.def, server/trace.c, tools/make_requests, include/wine/server_protocol.h: Added atom_t type for atoms to make sure we use the same type everywhere. Handle MIN_STR_ATOM offset in the server. * dlls/user/controls.h, include/winbase.h, include/windef.h, include/winuser.h: Moved MAKEINTATOM to winbase.h and added Unicode version. * windows/cursoricon.c: Marcus Meissner Handle bad pointer arguments to LoadImageA() (and functions callingLoadImageA) with an exception handler. * windows/x11drv/clipboard.c: Dominik Strasser Workaround X11 BadWindow error if no parent window is found. * tools/winemaker: Francois Gouget Fix the Wine tools search path. Add /usr/local/lib to the default ntdll search path. 2001-10-11 Alexandre Julliard * include/queue.h, include/wine/server_protocol.h, server/protocol.def, server/queue.c, server/request.h, server/trace.c, windows/queue.c: Removed the cleanup_window_queue request. * dlls/ttydrv/wnd.c, dlls/x11drv/scroll.c, dlls/x11drv/winpos.c, include/win.h, windows/property.c, windows/win.c, windows/winpos.c: Removed next and child fields in the window structure and use WIN_ListChildren instead. * include/uuids.h: Hidenori Takeshima Added some missing GUIDs. * tools/winemaker: Francois Gouget Fix the .spec.c rule. 2001-10-10 Alexandre Julliard * dlls/ttydrv/wnd.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, include/win.h, windows/win.c, windows/winpos.c: Store window parent as an HWND instead of a pointer. * files/file.c: Mike McCormack Do overlapped reads if and only if the file was opened with FILE_FLAG_OVERLAPPED. * dlls/shell32/shell32_main.c: Francois Gouget Allocate the array and strings in one lump (bug found by Malte Starostik). Same thing for the lpCmdline="" case. There is no NULL pointer at the end of the argv list. * objects/text.c: Huw D M Davies GetTextCharsetInfo should return the charset that the driver is actually using, rather than that specified in the LOGFONT. * documentation/introduction.sgml: Andriy Palamarchuk Include information about XFree86 Windows server. * dlls/kernel/format_msg.c, dlls/msvcrt/locale.c, dlls/oleaut32/typelib.c, include/winbase.h, include/winuser.h: Francois Gouget Move the RT_XXX macros to winuser.h. winuser.h: Add support for NOGDI. winuser.h: Modify to allow compilation without wingdi.h. * include/shlobj.h, dlls/shell32/shellpath.c: Chris Green Added names of the "missing" paths for SHGetSpecialFolderPathA. 2001-10-09 Alexandre Julliard * windows/class.c: Fixed locking of class list. Print ERR when accessing classes of other processes. * include/win.h, include/wine/server_protocol.h, server/protocol.def, server/trace.c, server/window.c, windows/win.c: Store window class atom in the server. Keep unlinked windows on a separate list. Implemented inter-process FindWindow(). * include/winbase.h, include/wine/winuser16.h: Francois Gouget Remove non windows macros. * scheduler/pthread.c: Silence the pthread_kill_other_threads_np FIXME. * memory/virtual.c: Fix MapViewOfFile to always return a 64K-aligned address. Avoid converting pointers to UINT. * tools/winapi_check/modules.dat, tools/winapi_check/win16/kernel.api, tools/winapi_check/win16/winsock.api, tools/winapi_check/win32/advapi32.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/mapi32.api, tools/winapi_check/win32/msimg32.api, tools/winapi_check/win32/quartz.api, tools/winapi_check/win32/shell32.api, tools/winapi_check/win32/sti.api, tools/winapi_check/win32/url.api, tools/winapi_check/win32/ws2_32.api: Patrik Stridvall API files update. * dlls/advapi32/crypt.c: Patrik Stridvall Fixed issue found by winapi_check. * dlls/winsock/async.c, include/Makefile.in, include/ws2spi.h: Patrik Stridvall Added new include file ws2spi.h for adding needed types. * dlls/setupapi/setupapi.spec: Stefan Leichter Fixed parameters of SetupOpenInfFileA. 2001-10-08 Alexandre Julliard * windows/painting.c: Moved MsgWaitForMultipleObjects call on RDW_UPDATENOW out of the RDW_Paint recursion. * include/winuser.h: Francois Gouget Add support for NOCOLOR. * include/winbase.h, include/wine/winbase16.h, misc/version.c: Francois Gouget Move WINDEBUGINFO from winbase.h to winbase16.h and rename to WINDEBUGINFO16. Move the related macros to version.c and ifdef them out (kept for documentation only, they are not used). * debugger/hash.c: Marcus Meissner WINELIB applications (like reaktivate) might have very long (C++) symbols. Use a larger buffer. * files/drive.c: Gerard Patel GetDiskFreeSpaceEx should accept an input like "C:". * files/file.c, server/file.c: Eric Pouech - fixed copy&paste bug (GENERIC_WRITE instead of GENERIC_READ) - when getting the type of a handle, it has to be done even if no fd is attached to it (console for example) * dlls/quartz/asyncsrc.c, dlls/quartz/asyncsrc.h, dlls/quartz/audren.c, dlls/quartz/basefilt.c, dlls/quartz/basefilt.h, dlls/quartz/basepin.c, dlls/quartz/igconfig.c, dlls/quartz/main.c, dlls/quartz/memalloc.c, dlls/quartz/mtype.c, dlls/quartz/mtype.h, dlls/quartz/parser.c, dlls/quartz/parser.h, dlls/quartz/quartz.spec, dlls/quartz/sample.c, dlls/quartz/sample.h, dlls/quartz/vidren.c, dlls/quartz/vidren.h, dlls/quartz/wavparse.c, include/amvideo.h, dlls/quartz/Makefile.in, winedefault.reg: Hidenori Takeshima Started Implementing Video Renderer. Started Implementing WAVE/AU/AIFF Parser. Started Implementing file source. Fixed some bugs. * dlls/user/user32.spec, dlls/user/user_main.c: Renamed USER_Init into UserClientDllInitialize. * files/dos_fs.c, files/file.c, include/file.h, include/wine/server_protocol.h, server/protocol.def, server/serial.c, server/trace.c: Mike McCormack Make serial fd blocking mode depend on FILE_FLAG_OVERLAPPED. * objects/text.c, documentation/fonts.sgml, graphics/x11drv/xfont.c, dlls/commdlg/printdlg.c: Francois Gouget Small typo fixes/updates. * include/winbase.h, misc/error.c: Francois Gouget Move the ERR_XXX macros from winbase.h to error.c. * dlls/winsock/socket.c, include/winsock.h, include/wsipx.h: Francois Gouget Fix the SOCKADDR_IPX declaration. Centralize all sockaddr_xxx conversions in ws_sockaddr_ws2u and ws_sockaddr_u2ws. Remove ugly casts in TRACEs. * controls/edit.c: Dmitry Timoshkov Defer edit style correction until EDITSTATE is fully initialized. * dlls/msvcrt/thread.c: Francois Gouget _beginthread: Don't store the trampoline on the stack. * include/windef.h, include/wingdi.h: Francois Gouget Move COLORREF from wingdi.h to windef.h. Add a prototype for GdiFlush. * tools/winemaker: Francois Gouget Wrappers must always be compiled in STRICT mode. * debugger/debug.l: Provide help even when in the NOPROCESS state. * windows/x11drv/clipboard.c, windows/x11drv/wineclipsrv.c: Francois Gouget Fix infinite loop problem in wineclipsrv startup. LaunchServer: Don't give up on the first message. Added GetSelectionEvent: Limit CPU use and introduce timeout. * windows/message.c: Francois Gouget Better handling of the timeout in WaitForInputIdle. Use WAIT_FAILED rather than the corresponding literal. * dlls/urlmon/umon.c, include/urlmon.h: Malte Starostik CreateURLMoniker takes a LPCWSTR, not a LPWSTR. 2001-10-05 Alexandre Julliard * windows/painting.c: Process pending events before sending WM_PAINT on RDW_UPDATENOW. * server/named_pipe.c, server/sock.c: Added get_file_info support to named pipes and sockets to avoid breaking the get_handle_fd request. * dlls/kernel/format_msg.c, include/winbase.h: Stefan Leichter Added defines for resource types RT_MESSAGETABLE, RT_VERSION. * dlls/user/message.c: Gerard Patel Fix sign extension problem in map_wparam_WtoA. * include/urlmon.h, include/wine/obj_property.h: Malte Starostik Added IPersistPropertyBag2 and IPropertyBag2 definitions, added missing BINDINFO member. * windows/cursoricon.c: Johan Gill The LR_ defines do not reside in windows.h anymore. * dlls/oleaut32/typelib.c: Huw D M Davies Remove some unnecessary AddRef's. * windows/x11drv/keyboard.c: Dmitry Timoshkov Add XK_Mode_switch to the list of ignored keysyms. * tools/winelauncher.in: Daniel Sabo A 'fi' was needed in the last if statement. 2001-10-04 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20011004. ---------------------------------------------------------------- 2001-10-04 Alexandre Julliard * graphics/x11drv/dib.c: Ignore RLE data that goes past the line end (found by Uwe Bonnes). General cleanup of the RLE routines. * dlls/wininet/http.c, dlls/wininet/utility.c: Nikolas Zimmermann Skip port number before calling gethostbyname. Fix non-absolute urls. * dlls/oleaut32/typelib.c: Ove Kaaven The DISPPARAMS parameter array is a reverse-order array. * files/file.c, include/wine/server_protocol.h, server/console.c, server/device.c, server/file.c, server/mapping.c, server/object.c, server/pipe.c, server/protocol.def, server/serial.c, server/trace.c: Mike McCormack Fetch a handle type in FILE_GetUnixHandle. * debugger/winedbg.c: Don't ignore first chance debug exceptions since it may be a breakpoint that we set ourselves. * documentation/fonts.sgml: Bill Medland A couple of minor points about converting Windows fonts. * dlls/oleaut32/variant.c: Ove Kaaven Implement coercion to VT_UNKNOWN from VT_DISPATCH. * dlls/oleaut32/typelib.c: Ove Kaaven ITypeInfo::Invoke should also search inherited interfaces for the method to invoke. ITypeInfo::GetIDsOfNames needs to do case-insensitive string compares. 2001-10-03 Alexandre Julliard * graphics/x11drv/bitblt.c: Skip BitBlt DIB optimization if source and dest DCs have different depths. * windows/win.c, dlls/user/user_main.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.spec, include/user.h, windows/defwnd.c: Gerard Patel Map a window if it is shown by a direct style change. * dlls/oleaut32/typelib.c: Ove Kaaven Don't ignore DISPATCH_METHOD in ITypeInfo::Invoke. * dlls/shell32/shell32_main.c, dlls/shell32/shellord.c: Guy Albertelli Fix SHAddToRecentDocs code to properly handle native Comctl32 and missing policies location. * dlls/oleaut32/typelib.c: Huw D M Davies Looks like the SLTG_ImplInfo struct isn't a fixed size. * include/wine/obj_oleaut.h: Ove Kaaven Corrected INVOKEKIND enumeration values. * scheduler/process.c: Aric Stewart Make sure that newly allocated TLS indexes are cleared. * scheduler/thread.c: Andreas Mohr Better fake implementation of SetThreadExecutionState. 2001-10-02 Alexandre Julliard * objects/dc.c, windows/dce.c: Free cache DCEs if the DC gets deleted. * windows/input.c: Fixed typo in previous change. * tools/winebuild/spec32.c: Avoid including winbase.h in generated .spec.c files. * dlls/odbc32/proxyodbc.c, dlls/odbc32/proxyodbc.h: Bill Medland Allow two connections by not releasing the wrapped library too early. Also heavily protected and added additional trace information. Make the Load functions static to reduce visiblity (enhance simplicity). * windows/input.c, windows/message.c, dlls/user/message.c, include/input.h: Merged mouse buttons states into the key state array. Fixed confusion between queue state and async state. * dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c: Removed unnecessary includes/definitions. * dlls/x11drv/window.c: Ilya Konstantinov Added a _NET_WM_NAME(UTF8_STRING) property to every window. * include/sysmetrics.h, windows/sysmetrics.c, windows/sysparams.c: Andriy Palamarchuk Added SYSMETRICS_Set. Implemented SPI_SETSHOWSOUNDS action. * dlls/oleaut32/oleaut.c, dlls/oleaut32/variant.c: Andreas Mohr Make OaBuildVersion() return the highest version value possible. Some cleanups. * tools/winelauncher.in, win32/device.c, configure, configure.in, files/drive.c, files/profile.c, loader/module.c, loader/pe_image.c, memory/environ.c: Andreas Mohr Yet another documentation/message text patch. * documentation/documentation.sgml, documentation/winelib-bindlls.sgml, documentation/winelib-intro.sgml: Bill Medland Additions to how to use Docbook under RedHat (to help beginners like me). Added content to the bindlls section of Winelib (based on experience). * documentation/winemaker.man: Bill Medland Upgrade winemaker man page for the two options added at version 0.5.8. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, include/winsock2.h: Andreas Mohr Added WSC*InstallProvider stubs. * documentation/winelib-mfc.sgml: Gracjan Polak Added some MFC documentation (with the help of Francois Gouget). * files/file.c: Uwe Bonnes Check for NULL path argument in DeleteFile. * dlls/oleaut32/typelib.c: Huw D M Davies Long nameless args in SLTG apparently get denoted by 0xfffe. * dlls/shell32/changenotify.c, dlls/shell32/shell32.spec, dlls/shell32/shellord.c: Guy Albertelli Implemented dummy stub for SHChangeNotifyUpdateEntryList and functional CIDLData_CreateFromIDArray. * library/port.c: Gerald Pfeifer Fix implicit type declarations. Add required cast. * windows/input.c, windows/x11drv/keyboard.c, include/winuser.h: Dmitry Timoshkov Remove a hack for keyboard group switching. Always save/restore correct keyboard group index. Explicitly ignore the keyboard group switching events. 2001-10-01 Alexandre Julliard * dlls/quartz/Makefile.in, dlls/quartz/audren.c, dlls/quartz/audren.h, dlls/quartz/basefilt.c, dlls/quartz/basefilt.h, dlls/quartz/basepin.c, dlls/quartz/fgevent.c, dlls/quartz/fgraph.h, dlls/quartz/ifgraph.c, dlls/quartz/imfilter.c, dlls/quartz/main.c, dlls/quartz/memalloc.c, dlls/quartz/quartz.spec, dlls/quartz/sample.c, include/strmif.h, winedefault.reg: Hidenori Takeshima Implemented CLSID_AudioRender. * dlls/oleaut32/dispatch.c: Ove Kaaven Implemented DispGetParam. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Andreas Mohr Fix/document SHLWAPI ordinals 217 and 218. * misc/version.c: Andreas Mohr Speed optimization. * dlls/winsock/async.c, dlls/winsock/ws2_32.spec: Andreas Mohr Added stub for WSApSetPostRoutine. * files/file.c: Ove Kaaven Make MoveFileEx fail with ERROR_INVALID_PARAMETER (better than crashing) when the source file operand is NULL. * dlls/shell32/shellole.c: Eric Pouech Should initialize COM before calling it. 2001-09-26 Alexandre Julliard * memory/heap.c: Fixed size check in HEAP_FindFreeBlock to make sure we also find blocks that have the exact size needed. * documentation/winelib-intro.sgml: Andriy Palamarchuk winemaker documentation fix. * dlls/ntdll/wcstring.c, dlls/oleaut32/typelib.c, include/ntddk.h: Huw D M Davies Better handling of typelibs loaded with a trailing resource number. The logic for determining whether an SLTG typelib has a function param as a 'short' or 'long' type has been 'refined'. * scheduler/pthread.c: Bill Medland Prevent calling null functions. * dlls/msvcrt/file.c: Francois Gouget Renamed W_OK to MSVCRT_W_OK. * documentation/Makefile.in, documentation/configuring.sgml, documentation/fonts.sgml, documentation/getting.sgml, documentation/installing.sgml, documentation/introduction.sgml, documentation/make_winehq, documentation/print.dsl, documentation/running.sgml, documentation/winehq.dsl: Susan Farley Better formatting for PDF output. 2001-09-25 Alexandre Julliard * include/wine/obj_channel.h: Ove Kaaven Fixed a couple of typos. * include/wine/obj_base.h: Ove Kaaven Added ICOM_[C]THIS_MULTI macros to make it easier to implement objects that expose multiple interfaces. Added prototypes for CoGetPSClsid and IUnknown_*_Proxy. * include/winbase.h: Ove Kaaven Added some named pipe definitions. * include/ole2.h: Ove Kaaven Added prototype for GetHGlobalFromStream. * files/file.c: Ove Kaaven A failure to open a pipe should return INVALID_HANDLE_VALUE. * dlls/quartz/Makefile.in, dlls/quartz/README, dlls/quartz/amerror.c, dlls/quartz/basefilt.c, dlls/quartz/basefilt.h, dlls/quartz/basepin.c, dlls/quartz/devenum.c, dlls/quartz/devmon.c, dlls/quartz/devmon.h, dlls/quartz/enumunk.c, dlls/quartz/fgclsid.c, dlls/quartz/fgevent.c, dlls/quartz/fgpass.c, dlls/quartz/fgraph.c, dlls/quartz/fgraph.h, dlls/quartz/fmap.c, dlls/quartz/fmap2.c, dlls/quartz/ibasaud.c, dlls/quartz/ibasvid.c, dlls/quartz/idevenum.c, dlls/quartz/ifgraph.c, dlls/quartz/ifmap.c, dlls/quartz/ifmap3.c, dlls/quartz/igconfig.c, dlls/quartz/imem.c, dlls/quartz/imesink.c, dlls/quartz/imevent.c, dlls/quartz/imfilter.c, dlls/quartz/imseek.c, dlls/quartz/irclock.c, dlls/quartz/iunk.c, dlls/quartz/ividwin.c, dlls/quartz/main.c, dlls/quartz/memalloc.c, dlls/quartz/monprop.c, dlls/quartz/monprop.h, dlls/quartz/mtype.c, dlls/quartz/mtype.h, dlls/quartz/ptimpl.c, dlls/quartz/ptimpl.h, dlls/quartz/ptmpos.c, dlls/quartz/ptmseek.c, dlls/quartz/quartz_private.h, dlls/quartz/sample.c, dlls/quartz/seekpass.c, dlls/quartz/seekpass.h, dlls/quartz/sysclock.c: Hidenori Takeshima Merged some C sources. Fixed some bugs. Started implementing some pass-through interfaces. 2001-09-24 Alexandre Julliard * server/user.c, windows/message.c, windows/timer.c, windows/win.c, windows/winpos.c, dlls/user/msg16.c, include/win.h, include/wine/server_protocol.h, server/protocol.def, server/trace.c: A couple of optimizations to avoid some server calls in WIN_FindWndPtr and related functions. * server/window.c: Avoid list corruption when linking window with HWND_BOTTOM (thanks to Gerard Patel). * objects/font.c: Francois Gouget GetTextExtentExPointW: dump the string before modifying the pointer. * tools/winemaker: Bill Medland Add support for making a build environment without editing the source and spec files. 2001-09-21 Alexandre Julliard * controls/scroll.c: Guy Albertelli - Implement message loop on the client side of the scroll control. - Move the mouse capture to after the SetFocus so that it stays captured. * dlls/winsock/socket.c: David Hammerton Fixed typos. * dlls/shell32/shellord.c: Guy Albertelli Implement initial version of SHAddToRecentDocs. * include/wine/server_protocol.h, include/winuser.h, server/protocol.def, server/queue.c, server/request.h, server/trace.c, server/user.c, server/user.h, server/window.c, windows/win.c: Added proper support for storing window parents in the server. Added a few requests to query the window hierarchy. * dlls/x11drv/winpos.c: Ignore ConfigueNotify size changes while the window is iconic. * tools/winedump/debug.c, tools/winedump/main.c, tools/winedump/msmangle.c, tools/winedump/pe.c: Eric Pouech Some dumb fixes. * include/winbase.h: Mike McCormack Declare DeviceIoControl. * windows/sysparams.c: Andriy Palamarchuk Implemented SPI_GETSHOWSOUNDS. * dlls/oleaut32/safearray.c, dlls/oleaut32/variant.c: Ove Kaaven Variants and safe arrays is now able to copy BSTR swith embedded null characters. Safe arrays now handle BSTRs and variants. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/typelib.c: Ove Kaaven Register typelib marshaling for OLE Automation-compatible interfaces. 2001-09-20 Alexandre Julliard * dlls/msvcrt/except.c: Fixed a couple of bugs in _except_handler3. * dlls/gdi/gdi.spec, objects/gdiobj.c: Andreas Mohr Added stub for GdiInit2(). * dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h: Guy L. Albertelli Get more entry points from Comctl32 and save the addresses. * include/shlwapi.h: Guy L. Albertelli Define the SHQueryValueEx{A|W} entry points. * dlls/user/wsprintf.c: Aric Stewart The behavior for wsprintfA is different that for wsprintf16 in how it handles NULLs being passed as character parameters. * memory/environ.c, scheduler/process.c, dlls/shell32/shell32_main.c: Francois Gouget Fix the conversions of a command line to/from an argv array. * dlls/comctl32/comctl32undoc.c: Guy Albertelli Implement most of the MRU related functions. * tools/examine-relay: Guy Albertelli Add support for the +snoop style output. * objects/text.c: Huw D M Davies Fix mapping of DEFAULT_CHARSET. 2001-09-19 Alexandre Julliard * windows/input.c, windows/x11drv/event.c, windows/x11drv/mouse.c: Brad Campbell Fixed mouse position processing for use with a touchscreen. * dlls/quartz/Makefile.in, dlls/quartz/ptimpl.c, dlls/quartz/ptimpl.h, dlls/quartz/ptmpos.c, dlls/quartz/ptmseek.c, dlls/quartz/seekpass.c, dlls/quartz/seekpass.h: Hidenori Takeshima Implemented ISeekingPassThru. * tools/winecheck, DEVELOPERS-HINTS, README, documentation/architecture.sgml, documentation/configuring.sgml, documentation/installation-und-konfiguration.german, documentation/wine.conf.man.in, files/dos_fs.c, libtest/volinfo.c, msdos/int25.c, msdos/int26.c, winedefault.reg: Andreas Mohr Updates and error message improvements. * windows/mdi.c: Joshua Thielen Changed MDICreateChild to support CW_USEDEFAULT for 16-bit MDI windows. * windows/win.c: Fixed a couple of bugs in WIN_SetWindowLong caused by previous change. * dlls/imm32/imekl.c, include/winbase.h, include/winnls.h, ole/ole2nls.c: Francois Gouget Fix the definition of structs NUMBERFMT* and CURRENCYFMT*. Add, fix and move prototypes from winbase.h to winnls.h. * dlls/shell32/shlfolder.c: Guy Albertelli Fix problem comparing pidls and return correct code. * windows/x11drv/keyboard.c: Andriy Palamarchuk Added russian layout with phantom key. * include/winuser.h, windows/spy.c: Francois Gouget Remove macros that should not be there (cause conflicts in WineLib). Add corresponding comments in spy.c. * include/tchar.h: Francois Gouget Remove duplicate definition of _tmain. Add definitions for __targv and _tenviron. * controls/scroll.c, dlls/user/Makefile.in, dlls/user/controls.h, dlls/user/msg16.c, dlls/user/thunk.c, dlls/user/user.spec, dlls/user/wnd16.c, dlls/x11drv/winpos.c, include/win.h, include/winproc.h, include/winuser.h, windows/caret.c, windows/class.c, windows/clipboard.c, windows/dce.c, windows/defdlg.c, windows/defwnd.c, windows/dialog.c, windows/focus.c, windows/hook.c, windows/input.c, windows/mdi.c, windows/msgbox.c, windows/nonclient.c, windows/painting.c, windows/property.c, windows/queue.c, windows/scroll.c, windows/spy.c, windows/struct32.c, windows/timer.c, windows/win.c, windows/winhelp.c, windows/winpos.c, windows/winproc.c, controls/button.c, controls/combo.c, controls/icontitle.c, controls/menu.c: Made all 16<->32 HWND conversions use explicit functions instead of implicit type casts. Moved a lot of 16-bit functions to the new wnd16.c file. Changed DIALOGINFO structure handling to support 32-bit handles. * windows/x11drv/clipboard.c, windows/x11drv/event.c, dlls/setupapi/setupx_main.c, dlls/shell32/shell32_main.c, dlls/shlwapi/ordinal.c: Fixed a couple of HWND type mismatches. * include/font.h, objects/font.c, objects/text.c: Huw D M Davies Use the font charset to obtain a codepage for A->W conversion in the text functions. * dlls/wininet/utility.c: Andreas Mohr Rename "SystemTime" to "t" (this is *not* SYSTEMTIME - avoid confusion). * configure, configure.in: Bernhard Rosenkraenzer Fixes for autoconf 2.52 or higher. * dlls/msvcrt/locale.c, dlls/msvcrt/main.c, include/Makefile.in, include/msvcrt/locale.h, include/msvcrt/sys/stat.h, include/msvcrt/wchar.h: Francois Gouget Add msvcrt/locale.h. Add missing include directives in msvcrt/wchar.h. Fix prototype of _wstati64 in msvcrt/sys/stat.h. 2001-09-17 Alexandre Julliard * files/drive.c: Francois Gouget Make relative paths of [Drive] sections relative to WINEPREFIX. * dlls/rpcrt4/rpcrt4.spec: Ove Kaaven Lots of rpcrt4.dll stubs. * tools/winedump/main.c, tools/winedump/msmangle.c, tools/winedump/pe.c, tools/winedump/symbol.c, tools/winedump/winedump.h: Eric Pouech Fixed demangling invocation. Be a bit more verbose on implemented features. * dlls/comctl32/header.c: Mike McCormack Ignore negative widths in HEADER_SetItemBounds. * documentation/samples/config: Francois Gouget Cosmetic changes. * Make.rules.in, Makefile.in, configure, configure.in, dlls/Makedll.rules.in, dlls/Makefile.in, dlls/make_dlls: Improved make_dlls script. Moved dll list out of Make.rules.in. Removed a few no longer used rules. * dlls/quartz/Makefile.in, dlls/quartz/complist.c, dlls/quartz/devenum.c, dlls/quartz/enumunk.c, dlls/quartz/fgclsid.c, dlls/quartz/fgidisp.c, dlls/quartz/fgraph.c, dlls/quartz/fmap.c, dlls/quartz/fmap2.c, dlls/quartz/ibasaud.c, dlls/quartz/ibasvid.c, dlls/quartz/ifgraph.c, dlls/quartz/ifmap.c, dlls/quartz/ifmap3.c, dlls/quartz/igrver.c, dlls/quartz/imcntl.c, dlls/quartz/imem.c, dlls/quartz/imesink.c, dlls/quartz/imevent.c, dlls/quartz/imfilter.c, dlls/quartz/impos.c, dlls/quartz/imseek.c, dlls/quartz/irclock.c, dlls/quartz/ividwin.c, dlls/quartz/main.c, dlls/quartz/memalloc.c, dlls/quartz/memalloc.h, dlls/quartz/sample.c, dlls/quartz/sample.h, dlls/quartz/seekpass.c, dlls/quartz/sysclock.c, include/Makefile.in, include/dsound.h, include/strmif.h, include/wine/obj_ksproperty.h: Hidenori Takeshima Implemented IMemAllocator. * documentation/status/internationalisation, windows/x11drv/keyboard.c: Andriy Palamarchuk Fixed references to old documentation location. * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: Francois Gouget Implemented _mbsupr. * controls/scroll.c: Bobby Bingham When you hold the left mouse button inside the scrollbar, then move the mouse off so it stops scrolling, and return the mouse, it should continue scrolling. 2001-09-14 Alexandre Julliard * dlls/quartz/quartz.spec, dlls/sti/.cvsignore, dlls/sti/Makefile.in, dlls/sti/sti.spec, dlls/sti/sti_main.c, dlls/url/.cvsignore, dlls/url/Makefile.in, dlls/url/url.spec, dlls/url/url_main.c, Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/mapi32/.cvsignore, dlls/mapi32/Makefile.in, dlls/mapi32/mapi32.spec, dlls/mapi32/mapi32_main.c, dlls/msimg32/.cvsignore, dlls/msimg32/Makefile.in, dlls/msimg32/msimg32.spec, dlls/msimg32/msimg32_main.c: Hidenori Takeshima Added stubs for mapi32, msimg32, sti and url. * windows/nonclient.c: Fixed HWND compare in NC_HandleSetCursor. * graphics/path.c: Huw D M Davies Avoid calling RestoreDC with gdi lock. * tsx11/Makefile.in, tsx11/X11_calls, tsx11/ts_xrender.c, configure, configure.in, include/config.h.in, include/ts_xrender.h, tools/make_X11wrappers: Huw D M Davies Add config check and thread safe wrappers for the XRender library. * dlls/gdi/driver.c: Dmitry Timoshkov Do not hold the GDI lock while 16-bit ExtDeviceMode is called. * tools/winebuild/spec16.c: Dmitry Timoshkov Add missing CALLBACK modifier. * dlls/wsock32/socket.c: Francois Gouget Fix recv prototype for WSARecvEx. * files/dos_fs.c: Francois Gouget Fix the error returned by GetLongPathNameA. * dlls/user/comm16.c, dlls/user/dde/client.c, dlls/user/dde/misc.c, dlls/user/dde/server.c, dlls/user/message.c, dlls/x11drv/scroll.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, windows/caret.c, windows/clipboard.c, windows/defwnd.c, windows/dialog.c, windows/mdi.c, windows/timer.c, windows/win.c, windows/winpos.c, controls/combo.c, controls/menu.c, controls/scroll.c: Make sure that HWND comparisons are always done with full 32-bit handles. * dlls/winsock/socket.c, include/winsock.h: Francois Gouget Fix the WSAStartup prototype. Fix handling of timeout parameter in select. * tools/winedump/pe.c: Fixed dumping of dll export table. * dlls/ddraw/ddraw/hal.c: Marcus Meissner Return the FOURCC codes set by the HAL driver. * graphics/enhmetafiledrv/init.c: Huw D M Davies Release gdi lock before calling DeleteDC. * tools/winelauncher.in: Francois Gouget Place the log in $TMP if set and /tmp otherwise. * include/wincon.h, win32/console.c: Francois Gouget HANDLER_ROUTINE is in fact PHANDLER_ROUTINE. * dlls/x11drv/xvidmode.c: Francois Gouget Check for htotal=vtotal=0 (for xfree 4 vesa driver). 2001-09-12 Alexandre Julliard * dlls/gdi/Makefile.in, dlls/gdi/freetype.c, dlls/ttydrv/objects.c, dlls/wineps/font.c, graphics/enhmetafiledrv/objects.c, graphics/metafiledrv/objects.c, graphics/win16drv/font.c, graphics/x11drv/xfont.c, include/config.h.in, include/font.h, include/gdi.h, objects/dc.c, objects/font.c, objects/gdiobj.c, configure, configure.in: Huw D M Davies Lay down the infrastructure for gdi font rendering. Partial implementation of GetGylphOutline and GetOutlineTextMetrics for gdi fonts. * windows/winpos.c, dlls/user/message.c, include/win.h, windows/clipboard.c, windows/dce.c, windows/dialog.c, windows/focus.c, windows/input.c, windows/win.c: Make sure that functions returning an HWND always return a full 32-bit handle. * dlls/advapi32/advapi32.spec, dlls/advapi32/crypt.c: Travis Michielsen Created stubs for all cryptographic functions. * server/queue.c, server/user.c, server/user.h: Convert user handles received from client to full handles. 2001-09-11 Alexandre Julliard * include/Makefile.in, include/process.h: Dmitry Timoshkov Remove not used include/process.h. * objects/clipping.c, dlls/shell32/shpolicy.c, dlls/winaspi/winaspi32.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/x11drv/dga2.c, dlls/x11drv/xvidmode.c, graphics/painting.c, graphics/x11drv/bitblt.c, graphics/x11drv/oembitmap.c, msdos/int10.c, dlls/comctl32/tab.c, dlls/ddraw/ddraw/hal.c, dlls/imagehlp/modify.c, dlls/msvcrt/locale.c, dlls/ntdll/exception.c, dlls/ole32/bindctx.c, dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c, dlls/ole32/moniker.c, dlls/ole32/ole2.c, dlls/quartz/amerror.c, dlls/setupapi/setupx_main.c: Patrik Stridvall Cleanup code that is strange or difficult to parse. * scheduler/client.c: Dmitry Timoshkov Better separate some system specific code. * include/dshow.h, include/strmif.h, dlls/quartz/Makefile.in, dlls/quartz/amundoc.c, dlls/quartz/fgraph.c, dlls/quartz/fgraph.h, dlls/quartz/ifmap.c, dlls/quartz/ifmap3.c, dlls/quartz/imcntl.c, dlls/quartz/imem.c, dlls/quartz/imfilter.c, dlls/quartz/irclock.c, dlls/quartz/iunk.c, dlls/quartz/iunk.h, dlls/quartz/main.c, dlls/quartz/memalloc.h, dlls/quartz/seekpass.c, dlls/quartz/seekpass.h, dlls/quartz/sysclock.h, winedefault.reg: Hidenori Takeshima Fixed some broken macros. Added some stubs. Implemeted undocumented APIs. Implemented many methods in IMediaFilter, IMediaControl and IReferenceClock. Started Implementing IMemoryAllocator. * win32/newfns.c: Guy Albertelli Quiet FlushInstructionCache for non-NT systems where it does nothing per MSDN. * dlls/ole32/compobj.c, dlls/ole32/ole32_main.c, dlls/ole32/ole32_main.h: Hidenori Takeshima Synchronize access to the s_COMLockCount, firstRegisteredClass, openDllList in compobj. 2001-09-10 Alexandre Julliard * dlls/x11drv/winpos.c: Ignore size change on ConfigureNotify if window rect is empty and new size is 1x1. * windows/win.c: Make sure that returned window belongs to correct thread when checking siblings of transparent windows in WIN_FindWinToRepaint. * documentation/printing.sgml: Huw D M Davies The [windows] section is in win.ini not in ~/.wine/config. * dlls/msvideo/mciwnd.c, dlls/oleaut32/variant.c, dlls/shell32/shellstring.c: Patrik Stridvall Documentation fixes. * tools/winapi/c_parser.pm, tools/winapi/make_parser.pm, tools/winapi/options.pm, tools/winapi/output.pm, tools/winapi/winapi_fixup, tools/winapi/winapi_fixup_statements.pm, tools/winapi/winapi_module_user.pm, tools/winapi_check/win16/winsock.api, tools/winapi_check/win32/quartz.api, tools/winapi_check/win32/rpcrt4.api, tools/winapi_check/winapi_check: Patrik Stridvall - FreeBSD now supported. - Much more work on the new C parser. - API files update. * windows/x11drv/keyboard.c: Andy Rysin Added Ukrainian keyboard layout. * dlls/ole32/stg_stream.c: Bill Medland Basic implementation of IStream:Clone. * dlls/commdlg/printdlg.c: Bill Medland More graceful exit on failure. * libtest/vartest.c: Huw D M Davies Use V_* macros. * include/wine/obj_oleaut.h: Huw D M Davies Fix typo. * dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h: Huw D M Davies Load some useful TYPEATTR elements from v1 typelibs. * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Marcus Meissner More debug output for InternetGetCookie, added stub for InternetSetCookie. * dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/hal.c, dlls/ddraw/dsurface/hal.h, dlls/ddraw/dsurface/main.c, dlls/ddraw/dsurface/main.h, dlls/ddraw/dsurface/thunks.c, dlls/ddraw/dsurface/user.c, dlls/ddraw/dsurface/user.h, include/ddrawi.h: Marcus Meissner Added dwFlags to lock_update private functions so we can pass WRITEONLY/READONLY. Added those flags to the internal Lock() calls. Only copy the surface from screen to surface if not writeonly. Restrict blitting between display window and surface to the locked/unlocked rectangle and the clipwindow section. Added defines for DDHAL_UNLOCKDATA/DDHAL_LOCKDATA, added calls to HAL implementation. * windows/win.c: Patrik Stridvall The message handler of WM_STYLECHANGING is supposed to be able to modify the proposed style if it wishes. * dlls/comctl32/imagelist.c, dlls/comctl32/status.c: Patrik Stridvall Use the min/max in windef.h instead. * dlls/kernel/time.c, include/winnls.h: Marcus Meissner Enhanced GetCalendarInfo stub, added known CAL_* defines. * dlls/dsound/dsound_main.c, include/dsound.h: Ove Kaaven Fix buffering problems in HEL mode. * dlls/wininet/ftp.c, dlls/wininet/internet.h: Francois Gouget Fix compilation errors on FreeBSD. * dlls/msvcrt/process.c: Francois Gouget Rewrite msvcrt_{argvtos,valisttos} to be more efficient. Warn about the ' ' and '"' handling of the exec and spawn functions. Copy the command line in MSVCRT_system to make it writable. * tsx11/Makefile.in: Francois Gouget Link tsx11 with the X/GL libraries. * dlls/x11drv/x11drv_main.c, dlls/x11drv/xvidmode.c, documentation/samples/config: Francois Gouget Added an option to disable XVidMode support. * tools/winelauncher.in: Eric Lammerts Preserve wine return status. 2001-09-07 Alexandre Julliard * tools/wmc/write.c: Justin Santa Barbara Fixed problem with check for special characters. * dlls/ntdll/string.c: Johann Messner Fixed bug in _ultoa. * dlls/msvcrt/data.c: Francois Gouget Initialize argc/argv/wargv by calling ntdll.__wine_get_{w}main_args. * graphics/x11drv/dib.c: Jukka Heinonen Changing DIB color table now updates the DIB visible state. * dlls/quartz/Makefile.in, dlls/quartz/complist.c, dlls/quartz/complist.h, dlls/quartz/devenum.c, dlls/quartz/devenum.h, dlls/quartz/devmon.c, dlls/quartz/devmon.h, dlls/quartz/enumunk.c, dlls/quartz/enumunk.h, dlls/quartz/fgclsid.c, dlls/quartz/fgidisp.c, dlls/quartz/fgraph.c, dlls/quartz/fgraph.h, dlls/quartz/fmap.c, dlls/quartz/fmap.h, dlls/quartz/fmap2.c, dlls/quartz/fmap2.h, dlls/quartz/ibasaud.c, dlls/quartz/ibasvid.c, dlls/quartz/idevenum.c, dlls/quartz/ifgraph.c, dlls/quartz/ifmap.c, dlls/quartz/ifmap3.c, dlls/quartz/igrver.c, dlls/quartz/imcntl.c, dlls/quartz/imem.c, dlls/quartz/imesink.c, dlls/quartz/imevent.c, dlls/quartz/imfilter.c, dlls/quartz/impos.c, dlls/quartz/imseek.c, dlls/quartz/irclock.c, dlls/quartz/iunk.h, dlls/quartz/ividwin.c, dlls/quartz/main.c, dlls/quartz/memalloc.c, dlls/quartz/memalloc.h, dlls/quartz/monprop.c, dlls/quartz/monprop.h, dlls/quartz/quartz.spec, dlls/quartz/regsvr.c, dlls/quartz/regsvr.h, dlls/quartz/sysclock.c, dlls/quartz/sysclock.h: Hidenori Takeshima Added some stubs. Started implementing some interfaces in FilterGraph. * library/port.c: Ulrich Weigand Emulate the behaviour of Linux mmap() on Solaris. Based on ideas and sample code due to Erik Boasson and John Wehle . * windows/spy.c, windows/winproc.c, controls/combo.c, controls/listbox.c, dlls/user/message.c, include/spy.h, windows/message.c: Guy L. Albertelli Enhance SPY_GetMsgName to translate common control messages. * dlls/shell32/shell32.spec: Huw D M Davies Add SHGetSpecialFolderPathW to spec file. * dlls/shlwapi/path.c: Guy L. Albertelli - Finish PathParseIconLocation{A|W}. - Implement PathIsUNCServer{A|W|ShareA|ShareW}. * dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec: Guy L. Albertelli Implemented stubs for SHRegEnumUSKey{A|W} and return end-of-list error as result. * dlls/winspool/info.c: Hidenori Takeshima Use a default DevMode if no DevMode information is available in registry. * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: Marcus Meissner Implemented mbsnbcnt, added stubs for _Gettnames and __lc_collate_cp. * dlls/comctl32/rebar.c: Guy L. Albertelli - Handle CCS_NODIVIDER both when present and when not. - Handle some cases of CCS_TOP, CCS_BOTTOM, and CCS_NOPARENTALIGN. - Handle values returned from the RBN_CHILDSIZE notification. - Implement RBBS_CHILDEDGE. - Fix some logic errors in REBAR_AdjustBands, and problems with CCS_VERT. * configure.in, tools/Makefile.in, tools/winedump/.cvsignore, tools/winedump/Makefile.in, tools/winedump/README, tools/winedump/cvinclude.h, tools/winedump/debug.c, tools/winedump/function_grep.pl, tools/winedump/main.c, tools/winedump/misc.c, tools/winedump/msmangle.c, tools/winedump/output.c, tools/winedump/pe.c, tools/winedump/pe.h, tools/winedump/search.c, tools/winedump/symbol.c, tools/winedump/winedump.h, configure: Eric Pouech Added PE dump capabilities to specmaker and renamed specmaker into winedump. * dlls/comctl32/toolbar.c: Guy L. Albertelli - Fix positioning of text in buttons. - Fix nButtonHeight so that it is not zero in some cases - Support TBSTYLE_TRANSPARENT. - Fix handling in WM_ERASEBKGND so that the default erase occurs between notifies. - Fix WM_NCCREATE processing to issue proper WM_STYLECHANGING (via SetWindowLong) and document the issues. * objects/font.c: Travis Michielsen Fixed behavior of GetTextExtentExPointW. It must always return the extents of the entire string in size. * graphics/x11drv/bitmap.c: Guy L. Albertelli Prevent bomb when GDI_ObjPtr returns null object. * include/winerror.h, include/wingdi.h: Huw D M Davies Move GDI_ERROR definition to wingdi.h. Add HGDI_ERROR. * dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h: Huw D M Davies Add reader for v1 (SLTG) typelibs. Fix a few problems with v2 (MSFT) typelibs. LoadTypeLibEx should do a SearchPath to locate typelib. * dlls/winspool/info.c: Huw D M Davies OpenPrinter should fail if pPrinterName is "". * include/wine/obj_oleaut.h: Huw D M Davies Add FUNCFLAGS and change TYPEFLAGS_* to an enum. * dlls/winsock/socket.c: Francois Gouget Convert the socket type (necessary on Solaris). * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c, include/rpcdce.h: Huw D M Davies Stub implementation for UuidHash(). * dlls/ntdll/ntdll.spec, dlls/msvcrt/msvcrt.spec: Dmitry Timoshkov Correct .spec file parameters for msvcrt._fullpath and ntdll._splitpath. * winedefault.reg: Hidenori Takeshima Added DirectShow filter categories. * include/uuids.h: Hidenori Takeshima Added some missing GUIDs. * dlls/shell32/shellstring.c: Guy Albertelli Replace calls to StrRetToBuf{A|W} with duplicate code to eliminate problems between native and built-in DLLs. 2001-08-29 Alexandre Julliard * windows/winproc.c, include/win.h, windows/win.c: Make window handles 32-bit before calling window procedure. Don't clear window parent field when unlinking it. 2001-08-28 Alexandre Julliard * include/win.h, include/wine/server_protocol.h, server/Makefile.in, server/protocol.def, server/queue.c, server/request.h, server/thread.c, server/trace.c, server/user.c, server/user.h, server/window.c, tools/make_requests, windows/queue.c, windows/win.c, dlls/ttydrv/wnd.c, dlls/x11drv/desktop.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c: Added global management of user handles in the server. Very preliminary support for shared window handles. * ANNOUNCE: James Juran Use the new development page URL in the announcement. * files/profile.c: Francois Gouget Reimplement PROFILE_GetSectionNames to match the NT & MSDN behavior. The 32A version is now the reference implementation (instead of the 16bit version). * loader/task.c, dlls/icmp/icmp_main.c, dlls/wsock32/protocol.c: Francois Gouget Only use winsock2.h in Wine. * windows/spy.c: Guy L. Albertelli Added WM_MOUSEHOVER and WM_MOUSELEAVE to formatting. * tools/winebuild/relay.c: Output correct assembly function headers for all functions. * dlls/quartz/Makefile.in, dlls/quartz/devenum.c, dlls/quartz/devenum.h, dlls/quartz/fgraph.c, dlls/quartz/fgraph.h, dlls/quartz/fmap.c, dlls/quartz/fmap.h, dlls/quartz/fmap2.c, dlls/quartz/fmap2.h, dlls/quartz/ibasaud.c, dlls/quartz/ibasvid.c, dlls/quartz/idevenum.c, dlls/quartz/ifgraph.c, dlls/quartz/ifmap.c, dlls/quartz/ifmap3.c, dlls/quartz/imcntl.c, dlls/quartz/imevent.c, dlls/quartz/impos.c, dlls/quartz/imseek.c, dlls/quartz/iunk.c, dlls/quartz/iunk.h, dlls/quartz/ividwin.c, dlls/quartz/main.c, dlls/quartz/quartz.spec, dlls/quartz/regsvr.c, dlls/quartz/regsvr.h, winedefault.reg: Hidenori Takeshima Added some stubs. 2001-08-27 Alexandre Julliard * objects/gdiobj.c: Check for valid object in GDI_GetObjPtr even for MAGIC_DONTCARE. * dlls/x11drv/x11ddraw.c: Jukka Heinonen GrabPointer uses now SetWindowLong to change window procedure instead of accessing directly WND structure. * dlls/kernel/sync.c, include/wine/server_protocol.h, server/named_pipe.c, server/protocol.def, server/request.h, server/trace.c: Mike McCormack Implemented GetNamedPipeInfo. * include/strmif.h: Hidenori Takeshima Added some missing interfaces. * include/wine/obj_base.h: Hidenori Takeshima Added ICOM_METHOD12-26, ICOM_VMETHOD12-26, ICOM_CALL12-26. 2001-08-24 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20010824. ---------------------------------------------------------------- 2001-08-24 Alexandre Julliard * dlls/winsock/socket.c, include/wine/winsock16.h: Francois Gouget Added WSASTARTUP16 a 1 byte alignment version of WSASTARTUP for win16. * include/uuids.h: Hidenori Takeshima Added some missing CLSIDs. * files/directory.c, include/file.h, include/module.h, loader/module.c, loader/pe_image.c: Bill Medland Added LOAD_WITH_ALTERED_SEARCH_PATH support to LoadLibraryEx. * controls/icontitle.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, include/win.h, windows/dialog.c, windows/mdi.c, windows/painting.c, windows/user.c, windows/win.c, windows/winpos.c: Added WIN_ListParents function and renamed WIN_BuildWinArray into WIN_ListChildren. Made owner field in WND structure an HWND. * dlls/comctl32/rebar.c: Removed inclusion of win.h. * dlls/kernel/kernel32.spec, dlls/kernel/sync.c: Mike McCormack Add stubs for several named pipe functions. * dlls/winsock/socket.c, include/winsock.h, server/sock.c: Francois Gouget Rename the regular WS_FD_XXX macros to FD_XXX. Rename the Wine specific WS_FD_XXX macros to FD_WINE_XXX. * dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/utility.c: Francois Gouget Made independent from winsock. Include the needed headers directly in internet.h. * objects/font.c: Bill Medland Minor fixes involving handling NULL pointers. * windows/x11drv/clipboard.c, windows/x11drv/event.c, dlls/user/user32.spec, dlls/x11drv/window.c, dlls/x11drv/winpos.c, include/dce.h, include/win.h, include/winuser.h, include/x11drv.h, windows/dce.c, windows/defwnd.c, windows/dialog.c, windows/focus.c, windows/mdi.c, windows/message.c, windows/nonclient.c, windows/painting.c, windows/win.c, windows/winpos.c: Implemented GetAncestor and removed WIN_GetTopParent. Removed a few more accesses to the WND structure. 2001-08-23 Alexandre Julliard * objects/enhmetafile.c, objects/metafile.c: Don't hold the GDI lock during accesses to the metafile data. * dlls/kernel/sync.c, include/wine/server_protocol.h, server/named_pipe.c, server/protocol.def, server/request.h, server/trace.c: Mike McCormack Implement WaitNamedPipe and DisconnectNamedPipe. Add a state for each pipe handle in the server. Create a socket on when the pipe is opened, not before. * dlls/winsock/socket.c, server/sock.c: Daniel Walker - Fix for nonblocking sockets using WSAEventSelect() (patch from Ove Kaaven). - Changed WSAEnumNetworkEvents() so it only returns events that the application is looking for. - Changed sock_poll_event() to interpret a POLLIN event with zero bytes waiting to be read as a POLLHUP. 2001-08-22 Alexandre Julliard * dlls/quartz/Makefile.in, dlls/quartz/amerror.c, dlls/quartz/quartz.spec, include/Makefile.in, include/errors.h, include/vfwmsgs.h: Hidenori Takeshima Added two missing headers. Implemented AMGetErrorText. * tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/oleaut32.api, tools/winapi_check/win32/quartz.api, tools/winapi_check/win32/shell32.api, tools/winapi_check/win32/ttydrv.api, tools/winapi_check/win32/x11drv.api, tools/winapi/c_function.pm, tools/winapi/c_parser.pm, tools/winapi/make_parser.pm, tools/winapi/output.pm, tools/winapi/winapi_extract, tools/winapi/winapi_fixup, tools/winapi/winapi_fixup_editor.pm, tools/winapi/winapi_fixup_options.pm, tools/winapi/winapi_fixup_statements.pm, tools/winapi/winapi_module_user.pm, tools/winapi_check/modules.pm, tools/winapi_check/nativeapi.pm, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check: Patrik Stridvall - Continued on the new C parser. - More reorganizations and fixes. - API files update. * dlls/quartz/Makefile.in, dlls/quartz/complist.c, dlls/quartz/complist.h, dlls/quartz/fgraph.c, dlls/quartz/fgraph.h, dlls/quartz/ibasaud.c, dlls/quartz/ibasvid.c, dlls/quartz/ifgraph.c, dlls/quartz/imcntl.c, dlls/quartz/imem.c, dlls/quartz/imevent.c, dlls/quartz/impos.c, dlls/quartz/imseek.c, dlls/quartz/irclock.c, dlls/quartz/iunk.c, dlls/quartz/iunk.h, dlls/quartz/ividwin.c, dlls/quartz/main.c, dlls/quartz/memalloc.c, dlls/quartz/sysclock.c: Hidenori Takeshima Added some stubs for CLSID_FilterGraph. * dlls/x11drv/window.c: Dmitry Timoshkov Fixed an incorrect (harmless) memory allocation. * include/control.h, ole/uuid.c: Hidenori Takeshima Added missing IIDs. * dlls/user/comm16.c: Dmitry Timoshkov Replaced PROFILE_ functions by RegQueryValueExA. * include/winbase.h, dlls/kernel/kernel32.spec, files/file.c: Mike McCormack Added stub for CancelIo. * Make.rules.in: Francois Gouget Fixed man and doc-html rules. * dlls/user/text.c: Eugene Mayevski Fixed DT_RTLREADING flag interpretation. 2001-08-21 Alexandre Julliard * windows/painting.c, windows/win.c, windows/winpos.c, dlls/x11drv/winpos.c, include/win.h: Removed WIN_GetDesktop(). * win32/console.c, windows/multimon.c, windows/x11drv/clipboard.c, debugger/break.c, debugger/editline.c, debugger/msc.c, dlls/msacm/msacm32_main.c, dlls/ole32/ole2.c, dlls/shell32/systray.c, dlls/user/dde/server.c, dlls/winmm/driver.c, dlls/winmm/mci.c, dlls/winmm/mmio.c, dlls/winmm/wineoss/mmaux.c, documentation/debugger.sgml, msdos/int2f.c: Francois Gouget Documentation updates (mainly thru vs. through). * dlls/comctl32/listview.c: Gerard Patel Rect returned by LISTVIEW_GetItemRect should be total size in report mode. * graphics/x11drv/bitmap.c: Gerard Patel Default bitmap is not subject to reference counting. * dlls/oleaut32/olepicture.c, dlls/oleaut32/typelib.c, dlls/oleaut32/variant.c, include/oleauto.h, include/wine/obj_oleaut.h: Francois Gouget Add the decVal field to VARIANT. Fix the VARIANT C layout, i.e. the union/struct names/nesting. Encapsulate all accesses to VARIANT types with the V_VT and V_UNION macros. * server/serial.c: Mike McCormack Unconditionally set O_NONBLOCK when opening. 2001-08-20 Alexandre Julliard * graphics/x11drv/bitmap.c: Refuse to select a bitmap that is already selected in another DC. * objects/dc.c, objects/gdiobj.c: Uwe Bonnes Added reference counting and delayed destruction of GDI objects. * include/winuser.h, windows/class.c, windows/nonclient.c: Fixed GetClassLong to return full 32 bits for all items. Removed GCW_* definitions that don't exist in Win32. * objects/dib.c: Create a color bitmap in CreateDIBitmap even with a black&white DC. * include/oleauto.h: Nikolas Zimmermann Removed struct UDATE forward declaration. * dlls/kernel/comm.c: Mike McCormack Store the comm error value in the wineserver, not a global. * files/file.c: Mike McCormack Read data immediately in overlapped ReadFile if possible. * dlls/comctl32/treeview.c: Gerard Patel Do not keep the handle of a deleted item as the selectedItem.. * dlls/oleaut32/olepicture.c: Marcus Meissner Use GetDC(0) instead of CreateCompatibleDC(0). * dlls/oleaut32/olefont.c: Marcus Meissner We need to make a copy of the fontname and the HFONT handle in IFont_Clone, otherwise we get memory corruption and bad GDI handles. 2001-08-18 Alexandre Julliard * controls/menu.c, windows/winproc.c: Added proper support for 32-bit WM_NEXTMENU. * dlls/ttydrv/user.c, dlls/user/msg16.c, dlls/x11drv/winpos.c, include/user.h, include/win.h, windows/defdlg.c, windows/defwnd.c, windows/mdi.c, windows/message.c, windows/painting.c, windows/user.c, windows/win.c, windows/winpos.c, windows/x11drv/clipboard.c, dlls/ttydrv/ttydrv.spec: Removed a number of direct accesses to the window structure. * dlls/Makefile.in, dlls/msvideo/Makefile.in, dlls/msvideo/mciwnd.c, dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo_main.c: Eric Pouech Started implementing the MCIWnd* functions. * dlls/oleaut32/variant.c: Marcus Meissner Do not pass the high level wFlags from VariantChangeType* down to low level Variant conversion functions. * dlls/user/dde/dde_private.h: Fixed internal inline function that was declared extern. * windows/defwnd.c: Explicitly check for CS_PARENTDC in WM_ERASEBKGND handling. * dlls/winmm/wineoss/audio.c: Eric Pouech Replaced memset by hand made equivalent to work around some buggy memset implementations. * dlls/Makefile.in, dlls/comctl32/animate.c, dlls/comctl32/comctl32.spec: Eric Pouech Because of circular dependencies between comctl32 and msvfw32, replace in comctl32 delay loading of msvfw32 by manual loading. * objects/gdiobj.c: Gerard Patel Test for invalid large handles in GDI_GetObjPtr and GDI_FreeObject. * dlls/commdlg/filedlg95.c: Gerard Patel Fix FillRect calls in FILEDLG95_LOOKIN_DrawItem. * dlls/gdi/printdrv.c: Marcus Meissner Do not hold the GDI lock when the ABORTDOC procedure is called. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Mike McCormack Implemented oleaut32.VarBstrCat. 2001-08-17 Alexandre Julliard * include/winbase.h, scheduler/critsection.c: Made the Interlocked*Pointer functions static inline since they aren't exported by the Windows API. * objects/dib.c: Use the passed hdc in CreateDIBitmap instead of creating a new one. * objects/dc.c, objects/gdiobj.c, windows/syscolor.c, dlls/wineps/font.c, graphics/enhmetafiledrv/objects.c, graphics/x11drv/xfont.c, include/gdi.h: Create GDI stock objects as normal objects instead of using magic handle values. 2001-08-16 Alexandre Julliard * dlls/wineps/font.c, graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/objects.c, graphics/x11drv/pen.c, graphics/x11drv/xfont.c, include/x11drv.h, objects/gdiobj.c: Specify sizes for stock fonts again; removed the FixStockFontSize hack. Ignore mapping modes when selecting stock fonts into a DC. Removed a few direct accesses to GDI structures from x11drv. * objects/dc.c: Release GDI lock before calling DeleteDC from RestoreDC. * dlls/shell32/clipboard.c, dlls/shell32/dataobject.c, dlls/shell32/dialogs.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shelllink.c, 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/shlfolder.c, dlls/shell32/shlmenu.c, dlls/shell32/shlview.c, dlls/shell32/shpolicy.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shell32/undocshell.h, include/wine/shell16.h, include/wine/undocshell.h, dlls/shell32/brsfolder.c, dlls/shell32/changenotify.c: Moved undocshell.h to dlls/shell32. Removed shell16.h. * windows/dce.c, windows/user.c, windows/win.c, include/user.h, include/win.h: Moved user lock to user.c. Added USER_CheckNotLock function. * graphics/x11drv/xfont.c, include/winbase.h, memory/virtual.c, objects/gdiobj.c, scheduler/pthread.c, scheduler/syslevel.c, windows/cursoricon.c, windows/timer.c, dlls/ntdll/critsection.c, dlls/ntdll/rtl.c, dlls/shell32/changenotify.c, dlls/shell32/iconcache.c, dlls/user/dde/misc.c, dlls/winaspi/winaspi32.c, dlls/winsock/async.c, dlls/x11drv/x11drv_main.c, files/profile.c: Added names to standard critical sections (suggested by Andreas Mohr). * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c: Mike McCormack Partially implement oleaut32.VarBstrCmp. 2001-08-15 Alexandre Julliard * include/gdi.h, objects/dc.c, objects/dib.c, objects/gdiobj.c: Make sure we don't hold the GDI lock when loading drivers. * include/winbase.h, scheduler/syslevel.c: Implemented _CheckNotSysLevel. * include/win16drv.h, dlls/gdi/driver.c, graphics/win16drv/init.c: Fixed win16drv initialisation. * dlls/shell32/shell32.spec, dlls/shell32/shellpath.c, include/wine/undocshell.h: Uwe Bonnes PathGetExtensionAW has three arguments. * msdos/ioports.c: Uwe Bonnes Don't call Dosvm functions when Dosvm isn't initialized. * dlls/quartz/Makefile.in, dlls/quartz/fgraph.c, dlls/quartz/fgraph.h, dlls/quartz/ifgraph.c, dlls/quartz/imem.c, dlls/quartz/irclock.c, dlls/quartz/iunk.c, dlls/quartz/iunk.h, dlls/quartz/main.c, dlls/quartz/memalloc.c, dlls/quartz/memalloc.h, dlls/quartz/quartz.spec, dlls/quartz/quartz_private.h, dlls/quartz/sysclock.c, dlls/quartz/sysclock.h, winedefault.reg: Hidenori Takeshima Added some stubs for quartz dll. * graphics/x11drv/xfont.c: Jeremy White Normalize the display name used to build the cached metric filename so that ':0', ':0.0', and 'unix:0.0' all resolve to the same file. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c, include/oleauto.h: Marcus Meissner Implemented VarParseNumFromStr, VarNumFromParseNum. * dlls/wineps/afm.c, dlls/wineps/afm2c.c, dlls/wineps/data/AvantGarde_Book.c, dlls/wineps/data/AvantGarde_BookOblique.c, dlls/wineps/data/AvantGarde_Demi.c, dlls/wineps/data/AvantGarde_DemiOblique.c, dlls/wineps/data/Bookman_Demi.c, dlls/wineps/data/Bookman_DemiItalic.c, dlls/wineps/data/Bookman_Light.c, dlls/wineps/data/Bookman_LightItalic.c, dlls/wineps/data/COPYRIGHTS, dlls/wineps/data/Courier.c, dlls/wineps/data/Courier_Bold.c, dlls/wineps/data/Courier_BoldOblique.c, dlls/wineps/data/Courier_Oblique.c, dlls/wineps/data/Helvetica.c, dlls/wineps/data/Helvetica_Bold.c, dlls/wineps/data/Helvetica_BoldOblique.c, dlls/wineps/data/Helvetica_Narrow.c, dlls/wineps/data/Helvetica_Narrow_Bold.c, dlls/wineps/data/Helvetica_Narrow_BoldOblique.c, dlls/wineps/data/Helvetica_Narrow_Oblique.c, dlls/wineps/data/Helvetica_Oblique.c, dlls/wineps/data/NewCenturySchlbk_Bold.c, dlls/wineps/data/NewCenturySchlbk_BoldItalic.c, dlls/wineps/data/NewCenturySchlbk_Italic.c, dlls/wineps/data/NewCenturySchlbk_Roman.c, dlls/wineps/data/Palatino_Bold.c, dlls/wineps/data/Palatino_BoldItalic.c, dlls/wineps/data/Palatino_Italic.c, dlls/wineps/data/Palatino_Roman.c, dlls/wineps/data/Symbol.c, dlls/wineps/data/Times_Bold.c, dlls/wineps/data/Times_BoldItalic.c, dlls/wineps/data/Times_Italic.c, dlls/wineps/data/Times_Roman.c, dlls/wineps/data/ZapfChancery_MediumItalic.c, dlls/wineps/data/ZapfDingbats.c, dlls/wineps/psdrv.h, dlls/wineps/truetype.c, dlls/wineps/type1afm.c: Ian Pilcher Eliminate glyph bounding boxes & other unused font metrics. * debugger/dbg.y, debugger/debug.l, debugger/debugger.h, debugger/expr.c, debugger/hash.c, debugger/module.c, debugger/winedbg.c, documentation/debugger.sgml: Eric Pouech Fixed the parsing of id1.id2 which could be either access to field id2 of struct id1, or the identifier id2 in dll id1. Enhanced some error reporting as well as 'info local' display layout. Minor cosmetic changes. * dlls/winmm/mci.c: Eric Pouech Fixed error message and return value in case of bogus 'open all' mci string command. Minor 32/16 optimizations and cosmetic fixes. * dlls/oleaut32/variant.c: Marcus Meissner DateTimeStringToTm and DateToTm must use dwFlags instead of lcid. * ole/uuid.c: Hidenori Takeshima Include GUIDs in strmif.h and uuids.h. * include/Makefile.in, include/audevcod.h, include/dshow.h, include/evcode.h, include/uuids.h: Hidenori Takeshima Added some dshow headers. * include/strmif.h: Hidenori Takeshima Added IGraphBuilder, IFilterGraph2, IMediaSeeking interfaces. * win32/except.c: Eric Pouech Modified the debugger launching code so that only one instance of the debugger is created per process. 2001-08-13 Alexandre Julliard * dlls/user/message.c, include/winproc.h, windows/winproc.c: Added mappings for a few messages. Added unicode messages bit set to shortcut message mapping when possible. * windows/spy.c: Fixed some message names. * dlls/comctl32/rebar.c: Guy L. Albertelli - Implemented RB_MAXIMIZEBAND for the "ideal=TRUE" case. - Implemented NM_CUSTOMDRAW notifications for the ITEMPREPAINT and ITEMPOSTPAINT only. (Used by IE4 - go figure.) - Invalidate window rectangles after certain RB_ messages like the native. Fixed some painting problems. - Added UpdateWindow call in _MoveChildWindows to fix other painting problems. - Set the Caption Font as the default font for all bands. * dlls/comctl32/toolbar.c: Guy L. Albertelli - Implement TBSTYLE_FLAT as "transparent" toolbar and buttons. (Skip FillRect and BF_MIDDLE on _FLAT toolbars.) - Issue FIXMEs for unsupported styles. - If the "hidden" state has changed then recalc the buttons. - Support TBSTYLE_CUSTOMERASE (used by IE4) ans issue some of the necessary NM_CUSTOMDRAW notifies. - Pass the WM_ERASEBKGND to parent if the toolbar is "transparent". - Invalidate the area 1 bigger than the button rect on a WM_MOUSELEAVE so that the edge is "erased" by the parent. - Support the PGN_CALCSIZE notify since a toolbar can be a child of the Pager control. * dlls/comctl32/treeview.c: Guy L. Albertelli Add support to respond to the PGN_CALCSIZE version of the WM_NOTIFY message. * dlls/comctl32/pager.c: Guy L. Albertelli - Make all WM_NOTIFY messages go to the parent. - Allow WM_WINDOWPOSCHANGING when the control is size 0 to set initial size. - Combine multiple SetWindowPos calls in same processing line and make the flags like native. - Redo WM_NCCALCSIZE to match native. - Since Pager is a "transparent" control (except for its own buttons), the WM_ERASEBKGND needs to be passed to the parent. Also do the window offset like the native control does. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/variant.c, include/oleauto.h: Daniel Walker - implemented SystemTimetoVariantTime/VariantTimetoSystemTime There was another implementation of SystemTimetoVariantTime submitted that didn't work for dates prior to 1900. - implemented VarDateFromUDate/VarUdateFromDate - implemented VariantTimeToDosDateTime * dlls/msvcrt/math.c: Jukka Heinonen Fixed _control87 return value, use of wrong assembler command to get fp control word and a bug that inverted _IC_AFFINE flag. Made _controlfp work as specified in MSDN. 2001-08-11 Alexandre Julliard * loader/ne/segment.c: Josh Thielen Wrong handle was being closed. * dlls/wineps/data/AvantGarde_Book.c, dlls/wineps/data/AvantGarde_BookOblique.c, dlls/wineps/data/AvantGarde_Demi.c, dlls/wineps/data/AvantGarde_DemiOblique.c, dlls/wineps/data/Bookman_Demi.c, dlls/wineps/data/Bookman_DemiItalic.c, dlls/wineps/data/Bookman_Light.c, dlls/wineps/data/Bookman_LightItalic.c, dlls/wineps/data/Courier.c, dlls/wineps/data/Courier_Bold.c, dlls/wineps/data/Courier_BoldOblique.c, dlls/wineps/data/Courier_Oblique.c, dlls/wineps/data/Helvetica.c, dlls/wineps/data/Helvetica_Bold.c, dlls/wineps/data/Helvetica_BoldOblique.c, dlls/wineps/data/Helvetica_Narrow.c, dlls/wineps/data/Helvetica_Narrow_Bold.c, dlls/wineps/data/Helvetica_Narrow_BoldOblique.c, dlls/wineps/data/Helvetica_Narrow_Oblique.c, dlls/wineps/data/Helvetica_Oblique.c, dlls/wineps/data/NewCenturySchlbk_Bold.c, dlls/wineps/data/NewCenturySchlbk_BoldItalic.c, dlls/wineps/data/NewCenturySchlbk_Italic.c, dlls/wineps/data/NewCenturySchlbk_Roman.c, dlls/wineps/data/Palatino_Bold.c, dlls/wineps/data/Palatino_BoldItalic.c, dlls/wineps/data/Palatino_Italic.c, dlls/wineps/data/Palatino_Roman.c, dlls/wineps/data/Symbol.c, dlls/wineps/data/Times_Bold.c, dlls/wineps/data/Times_BoldItalic.c, dlls/wineps/data/Times_Italic.c, dlls/wineps/data/Times_Roman.c, dlls/wineps/data/ZapfChancery_MediumItalic.c, dlls/wineps/data/ZapfDingbats.c, dlls/wineps/psdrv.h: Ian Pilcher Remove unused character width array. * dlls/wineps/font.c: Ian Pilcher Make EnumFonts and SelectObject use common font scaling. 2001-08-10 Alexandre Julliard * dlls/user/controls.h, dlls/x11drv/winpos.c, include/nonclient.h, include/winpos.h, include/x11drv.h, windows/defwnd.c, windows/mdi.c, windows/nonclient.c, windows/win.c, windows/winpos.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: Removed a number of direct accesses to the WND structure, replacing them by API calls. * graphics/dispdib.c, loader/ne/resource.c, dlls/comctl32/comboex.c, dlls/ddraw/helper.c, dlls/ddraw/main.c, dlls/ntdll/sync.c: Jörg Mayer Fixed a few signed/unsigned and "unsigned < 0 always true" warnings. * dlls/wineps/font.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/text.c: Ian Pilcher Removed ANSI encoding stuff. * dlls/shell32/shelllink.c: Dusan Lacko Fix ExtractFromEXEDLL for nIndex != 0. Prefer 8bit icons. * include/config.h.in, loader/loadorder.c, configure, configure.in, debugger/stabs.c: Eric Pouech Fixes for Solaris X86. * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: Mike McCormack Implemented msvcrt._mbspbrk. 2001-08-09 Alexandre Julliard * dlls/user/Makefile.in, dlls/user/dde/.cvsignore, dlls/user/dde/client.c, dlls/user/dde/dde_private.h, dlls/user/dde/ddeml16.c, dlls/user/dde/misc.c, dlls/user/dde/server.c, dlls/user/user32.spec, dlls/user/user_main.c, include/ddeml.h: Eric Pouech - implemented correctly the HSZ as local atoms and added the needed conversions to global atoms - enhanced internal handle <=> pointer conversions, as well as validity of such objects (life time, destruction, mutual access...) - fixed a few ANSI/Unicode issues, stores most of the data as Unicode - started having both Ansi/Unicode DDE window procs for message A/W transformation - fixed a few segmented pointer issues (mainly in DdeInitialize & DdeGetData) - added most of the CBF_ flags handling - implemented the conversation announcement (XTYP_CONNECT_CONFIRM) on server side - enhanced DdeQueryConfig and implemented DdeReconnect - implemented conversation termination (including XTYP_UNREGISTER) - several others code clean up - added transaction support on server side too * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: Mike McCormack Implemented multibyte string reverse. * dlls/wineps/font.c, dlls/wineps/ps.c: Ian Pilcher Remove previously disabled code. * dlls/wineps/escape.c, dlls/x11drv/xvidmode.c: Patrik Stridvall Documentation fixes. * dlls/oleaut32/olepicture.c: Patrik Stridvall Fixed issue found by winapi_check. * tools/winapi/c_parser.pm, tools/winapi/function.pm, tools/winapi/make_filter, tools/winapi/make_parser.pm, tools/winapi/winapi_fixup, tools/winapi/winapi_fixup_documentation.pm, tools/winapi/winapi_fixup_editor.pm, tools/winapi/winapi_fixup_options.pm, tools/winapi/winapi_fixup_statements.pm, tools/winapi_check/win32/shell32.api, tools/winapi_check/win32/wineps.api, tools/winapi_check/win32/x11drv.api, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - Begun implementation of a C statements parser. - More reorganizations and fixes. * scheduler/client.c, server/request.c: Don't create the WINEPREFIX directory if it doesn't exist. * dlls/ddraw/dsurface/main.c, dlls/ntdll/critsection.c, dlls/winsock/socket.c, dlls/x11drv/x11drv_main.c, include/winbase.h, scheduler/critsection.c, scheduler/pthread.c: Added Interlocked*Pointer functions. Fixed InterlockedCompareExchange prototype. * dlls/advapi32/security.c, dlls/winmm/lolvldrv.c, dlls/winmm/mmio.c, documentation/.cvsignore, documentation/wine.man.in, loader/pe_image.c, misc/version.c, ole/ole2nls.c: Andreas Mohr Spelling fixes. * tools/winecheck: Andreas Mohr Small winecheck update (DGA check is bogus). * include/winnt.h: Andreas Mohr Added more STATUS_ codes. 2001-08-08 Alexandre Julliard * include/nonclient.h, windows/clipboard.c, windows/defdlg.c, windows/dialog.c, windows/mdi.c, windows/nonclient.c, windows/user.c, windows/win.c, windows/winpos.c: Replace SendMessage16 by SendMessageW where possible. * dlls/user/thunk.c, dlls/user/user.spec, windows/painting.c: Fixed DrawState16 callback support. * dlls/shell32/shellpath.c: Fixed loop termination check in PathIsExeW. * graphics/escape.c: Fixed in_data/out_data mixup in Escape16 (thanks to Ladislav Sladecek). * dlls/wineps/Makefile.in, dlls/wineps/afm.c, dlls/wineps/psdrv.h, dlls/wineps/truetype.c, dlls/wineps/type1afm.c: Ian Pilcher Rewrite and separate AFM parsing code (no more [afmfiles]). * configure.in, configure: Marcus Meissner Change libGLU check to look for gluLookAt instead of glBegin. 2001-08-07 Alexandre Julliard * debugger/winedbg.c: Eric Pouech Now tries to print the symbol name of a crst when it times out. * server/thread.c: Andreas Mohr Don't crash if send_thread_wakeup() fails. * winedefault.reg: Ove Kaaven Added some registry entries related to COM interface marshaling. * windows/input.c, windows/message.c, windows/queue.c, dlls/user/Makefile.in, dlls/user/message.c, dlls/user/msg16.c, dlls/user/user.spec, include/message.h, include/queue.h, include/wine/server_protocol.h, include/wine/winuser16.h, server/protocol.def, server/queue.c, server/request.h, server/trace.c: Rewrote most of SendMessage/PeekMessage. Implemented inter-process messaging. Moved most message routines to dlls/user, and split off 16-bit routines to a separate file. 2001-08-06 Alexandre Julliard * include/config.h.in, include/olectl.h, include/wine/obj_picture.h, configure, configure.in, dlls/oleaut32/Makefile.in, dlls/oleaut32/olepicture.c: Marcus Meissner Implemented OleLoadPicture. Added support for loading JPEG, Bitmap and Icons from persistant streams. Implemented JPEG support using libjpeg, added necessary configure.in options. Added IConnectionPoint style notifications to the IPicture iface. Implemented several of the stubs already there, added some more. * dlls/x11drv/x11ddraw.c: Jukka Heinonen XGrabPointer is now called from the correct thread context and it is made sure that we have keyboard focus when using DirectX. * dlls/x11drv/winpos.c, windows/dialog.c, windows/nonclient.c, controls/menu.c: Replaced MSG_InternalGetMessage calls by equivalent exported APIs. * windows/winproc.c: Fixed return value for WM_NOTIFY and WM_ACTIVATEAPP mappings. * include/winuser.h: Added SMTO_* defines. * debugger/winedbg.c, documentation/debugger.sgml, debugger/dbg.y, debugger/debugger.h, debugger/info.c, debugger/stack.c: Eric Pouech Extended bt command to display backtrace of another thread. Enhanced process & thread display with process name. * dlls/comctl32/propsheet.c: Andreas Mohr Fixed tab control index handling. * dlls/kernel/comm.c, dlls/kernel/kernel32.spec, include/winbase.h: Marcus Meissner SetCommConfig has 3 arguments, not 2. * documentation/wine.conf.man.in, documentation/wine.man.in: Lawson Whitney Reconciled the wine man pages to the absence of wine.conf. * scheduler/process.c: Eric Pouech Fixed image name value sent to server upon process creation. * dlls/oleaut32/typelib.c: Marcus Meissner First (partial) implementation of ITypeInfo::Invoke. Fixed buffer len passing to snprintf(). 2001-08-03 Alexandre Julliard * windows/painting.c: Marco Bizzarri GetControlBrush16: avoid potentially releasing the same pointer twice. * dlls/oleaut32/typelib.c: Malte Starostik Implemented RegisterTypeLib. * library/ldt.c: Pierre Beyssac Force DPL 3 when setting entries on BSD. * dlls/commdlg/filedlg95.c: Andreas Mohr Only add "." separator in case a default file name extension does exist. * objects/dib.c: Andreas Mohr DIB_GetBitmapInfo didn't recognize BITMAPV4/5HEADER. * debugger/msc.c: Marcus Meissner Check for -1 as the undefined value for handles before CloseHandle. * dlls/comctl32/toolbar.c: Guy L. Albertelli - Add debugging dumps of bar and buttons, and trace entry for each message. - Organize WM_NOTIFY processing in preparation for Unicode - Implement TBN_GETDISPINFO and I_IMAGECALLBACK for bitmaps. - Implement drawing of separator for TBSTYLE_DROPDOWN similar to native. - Change drawing of buttons to support TBSTYLE_LIST and make match native pixel layout (with and without bitmaps). - Change TOOLBAR_MeasureString to measure with DrawText like native. This eliminates extra space due to prefix char ("&"). - Speed up TOOLBAR_CalcStrings by doing the HDC and FONT selection once. - Change calc of buttons to match drawing for TBSTYLE_LIST and separators. * windows/spy.c: Guy L. Albertelli - Add support to dump memory at lParam location on common control messages. - Fixed remaining Toolbar and Pager notify dump amounts. - Separate memory dump code for easy use. * include/commctrl.h: Guy L. Albertelli Add TBNF_* flags for the NMTBDISPINFO structure. 2001-07-31 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20010731. ---------------------------------------------------------------- 2001-07-31 Alexandre Julliard * dlls/gdi/driver.c: Jukka Heinonen Include device name in call to CreateIC. * dlls/x11drv/window.c: Fixed desktop window structure initialization. * dlls/ddraw/dsurface/user.c, windows/dce.c: Fixed a few problems with DCX_* flags handling. * dlls/comctl32/toolbar.c: Nog Don't enable the 'hot' state of a toolbar button when it's not enabled. * dlls/opengl32/make_opengl, dlls/opengl32/opengl_ext.c: Lionel Ulmer - added support for the SGIS multitexture extension. - misc. other fixes * windows/defwnd.c: Erase only client area on WM_ERASEBKGND. 2001-07-30 Alexandre Julliard * tools/winapi/.cvsignore, tools/winapi/Makefile.in, tools/winapi/trampoline, tools/winapi/winapi_check, configure, configure.in: Patrik Stridvall Made it possible to install the winapi tools. * include/winnls.h, include/winuser.h: Force STRICT checking of callback function types when compiling Wine. * windows/property.c: Implement EnumProps on top of EnumPropsEx to avoid function pointer type mismatches. * loader/ne/module.c, loader/task.c, include/task.h: Fixed HTASK/HTASK16 handle mismatch. * include/mmsystem.h, include/msacm.h, include/windef.h: Moved some handle declarations to the right headers. * tools/winapi/config.pm, tools/winapi/make_parser.pm, tools/winapi/options.pm, tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/win32/ttydrv.api, tools/winapi_check/win32/wineps.api, tools/winapi_check/win32/x11drv.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall A few bug fixes. * tools/winemaker: Francois Gouget Fix handling of the '--with-wine-xxx' options: only look in the specified path. Libraries and wine dlls are separate notions that need separate paths -> add WINE_DLL_{ROOT,PATH}, --with-wine-dlls and a '-P' option. Small fixes to the search order. 2001-07-29 Alexandre Julliard * dlls/wineps/init.c, dlls/wineps/wineps.spec, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv.spec, graphics/enhmetafiledrv/init.c, graphics/escape.c, graphics/metafiledrv/init.c, graphics/win16drv/init.c, graphics/x11drv/init.c, include/gdi.h, include/wine/wingdi16.h, include/x11drv.h, dlls/gdi/driver.c, dlls/gdi/gdi.spec, dlls/gdi/printdrv.c, dlls/wineps/escape.c: Rewrote Escape to avoid calling down to Escape16. Replaced Escape by ExtEscape in the DC function table. * Make.rules.in: Patrik Stridvall Added a filter rule for filtering make output with tools/winapi/make_filter. * dlls/ole32/clipboard.c, dlls/ole32/ole2.c: Patrik Stridvall Fixed some warnings. * tools/winapi/config.pm, tools/winapi/make_filter, tools/winapi/make_filter_options.pm, tools/winapi/make_parser.pm, tools/winapi/options.pm, tools/winapi/setup.pm: Patrik Stridvall A few bug fixes. * include/dplay.h: Patrik Stridvall Cleanup/removal of unnessary things that would have made winapi_* parsing more complicated. 2001-07-28 Alexandre Julliard * graphics/x11drv/init.c, graphics/x11drv/palette.c, graphics/x11drv/xfont.c, include/gdi.h, include/win16drv.h, include/x11drv.h, objects/dc.c, objects/palette.c, graphics/win16drv/init.c, graphics/win16drv/text.c, dlls/wineps/escape.c, dlls/wineps/font.c, dlls/wineps/init.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/wineps.spec, dlls/x11drv/x11drv.spec, graphics/enhmetafiledrv/init.c, graphics/mapping.c, graphics/metafiledrv/init.c, dlls/gdi/driver.c, dlls/ttydrv/dc.c, dlls/ttydrv/palette.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/ttydrv_main.c: Added GetDeviceCaps to the DC driver interface. Removed devCaps pointer in the generic DC structure. * dlls/ddraw/ddraw_private.h: Removed unused DC_FUNCS pointers. 2001-07-27 Alexandre Julliard * misc/version.c: Bob Goodwin Fix the 16bit win95 version. * tools/winemaker: Francois Gouget Put the per project paths before the wine paths. Remove unnecessary libraries from the wine link test. Move DLL_LINK from configure.in to the Make.rules file. * dlls/commdlg/printdlg.c: Andreas Mohr Don't crash if DeviceCapabilities(DC_PAPERNAMES) fails. * dlls/Makefile.in, dlls/ddraw/Makefile.in, dlls/ddraw/ddraw.spec, dlls/opengl32/Makefile.in, dlls/opengl32/opengl32.spec: Added missing ntdll imports. * dlls/wineps/init.c, dlls/wineps/wineps.spec, dlls/x11drv/x11drv.spec, graphics/Makefile.in, graphics/driver.c, graphics/win16drv/init.c, graphics/x11drv/bitmap.c, graphics/x11drv/init.c, graphics/x11drv/oembitmap.c, include/gdi.h, include/x11drv.h, objects/dc.c, dlls/gdi/Makefile.in, dlls/gdi/driver.c, dlls/gdi/gdi_main.c, dlls/ttydrv/bitmap.c, dlls/ttydrv/dc.c, dlls/ttydrv/ttydrv.spec: Build the DC function table by using GetProcAddress on the graphics driver module. Moved driver support to dlls/gdi. 2001-07-26 Alexandre Julliard * dlls/Makefile.in, dlls/ddraw/Makefile.in, dlls/ddraw/ddraw.spec: Removed import of x11drv from ddraw. * dlls/dinput/dinput_main.c, dlls/dsound/dsound_main.c, loader/dos/dosmod.c: Patrik Stridvall Fixed some warnings. * dlls/oleaut32/oleaut.c: Patrik Stridvall Documentation fixes. * include/commctrl.h: Patrik Stridvall Cleanup/removal of unnessary things that would have made winapi_* parsing more complicated. * dlls/kernel/comm.c, include/winbase.h, include/winuser.h: Patrik Stridvall - Moved comm related protoypes to the correct .h file. - Cleaned up the include section. * include/wine/port.h: Patrik Stridvall Removed inclusion of winnt.h because the porting layer shouldn't include Windows specific stuff. * dlls/wineps/afm.c, dlls/wineps/init.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/truetype.c: Ian Pilcher Rewrite TrueType font metric parsing code. * tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/nativeapi.pm, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_global.pm, tools/winapi_check/winapi_parser.pm, tools/winapi/config.pm, tools/winapi/make_filter, tools/winapi/make_filter_options.pm, tools/winapi/make_parser.pm, tools/winapi/options.pm, tools/winapi/output.pm, tools/winapi/type.pm, tools/winapi/winapi_check_options.pm, tools/winapi/winapi_extract, tools/winapi/winapi_extract_options.pm, tools/winapi/winapi_fixup: Patrik Stridvall - A few more bug fixes - Reorganization continues - New tool (make_filter) for filtering make output added * dlls/ntdll/misc.c: Dmitry Timoshkov Fix a typo. * graphics/x11drv/bitblt.c: Bill Medland Don't inline perfect_graphics(). * include/callback.h, include/hook.h, loader/module.c, loader/task.c, scheduler/process.c, dlls/user/user_main.c, if1632/thunk.c: Removed a few unnecessary Callouts. * include/queue.h, include/wine/winuser16.h, windows/clipboard.c, windows/focus.c, windows/hook.c, windows/input.c, windows/message.c, windows/queue.c, windows/timer.c, windows/user.c, windows/win.c, windows/winpos.c, dlls/x11drv/desktop.c: Avoid using GetFastQueue16 from USER. * dlls/user/text.c, include/winuser.h: Travis Michielsen Fully implement DrawTextEx* functions. * dlls/comctl32/propsheet.c: Marcus Meissner Be a bit more graceful on NULL property sheet titles. * dlls/comctl32/toolbar.c: Guy L. Albertelli - On TB_SETIMAGELIST retrieve new values of the bitmap width and height (fixes overlap of image and text in IE4). - Handle return codes from TBN_DROPDOWN (allows a "dropdown" to be treated like a regular button). - Implement TBN_BEGINDRAG and TBN_ENDDRAG in WM_LBUTTON{DOWN|UP} (not necessary but done by native). - Implement NM_RELEASEDCAPTURE and NM_CLICK. * include/commctrl.h: Guy L. Albertelli Add values to describe return values from WM_NOTIFY of TBN_DROPDOWN. * Make.rules.in: Mike McCormack Correct man page spec directory. 2001-07-25 Alexandre Julliard * windows/winpos.c, windows/x11drv/event.c, loader/ne/module.c, memory/global.c, memory/local.c, memory/registry.c, msdos/dosaspi.c, objects/bitmap.c, objects/region.c, objects/text.c, relay32/builtin32.c, scheduler/critsection.c, scheduler/thread.c, win32/device.c, windows/driver.c, windows/input.c, windows/keyboard.c, windows/painting.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, graphics/win16drv/graphics.c, graphics/x11drv/bitmap.c, graphics/x11drv/clipping.c, graphics/x11drv/codepage.c, graphics/x11drv/oembitmap.c, graphics/x11drv/text.c, if1632/builtin.c, if1632/relay.c, if1632/thunk.c, dlls/winsock/async.c, dlls/wsock32/protocol.c, graphics/painting.c, dlls/user/network.c, dlls/winaspi/winaspi16.c, dlls/winaspi/winaspi32.c, dlls/wininet/ftp.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/midi.c, dlls/msacm/driver.c, dlls/ntdll/rtl.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c, dlls/ole32/bindctx.c, dlls/ole32/errorinfo.c, dlls/ole32/moniker.c, dlls/ole32/ole2nls.c, dlls/oleaut32/dispatch.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/stubs.c, dlls/richedit/richedit.c, dlls/setupapi/devinst.c, dlls/setupapi/infparse.c, dlls/setupapi/virtcopy.c, dlls/shell32/memorystream.c, dlls/shell32/shellstring.c, dlls/shell32/systray.c, dlls/shlwapi/regstream.c, dlls/ttydrv/graphics.c, controls/desktop.c, controls/icontitle.c, controls/static.c, dlls/comctl32/ipaddress.c, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/helper.c, dlls/dplayx/dplaysp.c, dlls/dplayx/dplayx_global.c, dlls/kernel/toolhelp.c, dlls/kernel/wowthunk.c, dlls/mpr/mpr_main.c, controls/combo.c: Removed unnecessary inclusion of heap.h. 2001-07-24 Alexandre Julliard * graphics/enhmetafiledrv/init.c, include/enhmetafile.h, include/gdi.h, objects/enhmetafile.c: Removed enhmetafile.h. Simplified ENHMETAFILEOBJ structure a bit. * include/heap.h, include/module.h, loader/elf.c, loader/loadorder.c, loader/module.c, msdos/int21.c, relay32/snoop.c, windows/clipboard.c, dlls/user/lstr.c, dlls/wineps/afm.c, dlls/wineps/escape.c, dlls/wineps/init.c, dlls/wineps/ppd.c, dlls/wineps/truetype.c, dlls/winmm/mci.c, dlls/winmm/mmsystem.c, files/dos_fs.c, files/drive.c, files/profile.c, graphics/driver.c, graphics/env.c, graphics/win16drv/prtdrv.c, graphics/x11drv/xfont.c, if1632/snoop.c, dlls/comctl32/propsheet.c, dlls/gdi/printdrv.c, dlls/kernel/format_msg.c, dlls/setupapi/setupx_main.c, dlls/shell32/iconcache.c, dlls/shell32/shelllink.c: Removed HEAP_strdupA. * dlls/wineps/data/Palatino_BoldItalic.c, dlls/wineps/data/Palatino_Italic.c, dlls/wineps/data/Palatino_Roman.c, dlls/wineps/data/Symbol.c, dlls/wineps/data/Times_Bold.c, dlls/wineps/data/Times_BoldItalic.c, dlls/wineps/data/Times_Italic.c, dlls/wineps/data/Times_Roman.c, dlls/wineps/data/ZapfChancery_MediumItalic.c, dlls/wineps/data/ZapfDingbats.c, dlls/wineps/data/agl.c, dlls/wineps/data/agl.h, dlls/wineps/data/AvantGarde_Book.c, dlls/wineps/data/AvantGarde_BookOblique.c, dlls/wineps/data/AvantGarde_Demi.c, dlls/wineps/data/AvantGarde_DemiOblique.c, dlls/wineps/data/Bookman_Demi.c, dlls/wineps/data/Bookman_DemiItalic.c, dlls/wineps/data/Bookman_Light.c, dlls/wineps/data/Bookman_LightItalic.c, dlls/wineps/data/Courier.c, dlls/wineps/data/Courier_Bold.c, dlls/wineps/data/Courier_BoldOblique.c, dlls/wineps/data/Courier_Oblique.c, dlls/wineps/data/Helvetica.c, dlls/wineps/data/Helvetica_Bold.c, dlls/wineps/data/Helvetica_BoldOblique.c, dlls/wineps/data/Helvetica_Narrow.c, dlls/wineps/data/Helvetica_Narrow_Bold.c, dlls/wineps/data/Helvetica_Narrow_BoldOblique.c, dlls/wineps/data/Helvetica_Narrow_Oblique.c, dlls/wineps/data/Helvetica_Oblique.c, dlls/wineps/data/NewCenturySchlbk_Bold.c, dlls/wineps/data/NewCenturySchlbk_BoldItalic.c, dlls/wineps/data/NewCenturySchlbk_Italic.c, dlls/wineps/data/NewCenturySchlbk_Roman.c, dlls/wineps/data/Palatino_Bold.c, dlls/wineps/mkagl.c, dlls/wineps/psdrv.h: Ian Pilcher Make built-in font data read-only. * objects/dcvalues.c: Got rid of all the ugly macros. * dlls/wineps/afm.c, dlls/wineps/font.c, dlls/wineps/glyphlist.c, dlls/wineps/init.c, dlls/wineps/psdrv.h, dlls/wineps/truetype.c: Ian Pilcher Modify init code to handle const data types. * dlls/kernel/comm.c, dlls/kernel/kernel_main.c, dlls/user/Makefile.in, dlls/user/comm16.c, dlls/user/user_main.c: Mike McCormack Move 16-bit COMM code to USER dll. * controls/button.c, controls/combo.c, controls/edit.c, controls/icontitle.c, controls/listbox.c, controls/scroll.c, controls/static.c: Jukka Heinonen WNDPROC handlers now check whether HWND argument is valid. * dlls/oleaut32/oleaut.c, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/olefont.c: Marcus Meissner OLEAUT32.DllGetClassObject and support for the Ole StdFont added (just giving back a 8 point System font for now). * objects/dcvalues.c, scheduler/critsection.c, scheduler/sysdeps.c, scheduler/thread.c: Patrik Stridvall Documentation fixes. 2001-07-23 Alexandre Julliard * dlls/ntdll/signal_i386.c, dlls/ole32/compobj.c, dlls/ole32/ifs.c, dlls/ole32/ifs.h, dlls/ole32/ole2.c, dlls/oleaut32/ole2disp.c, dlls/oleaut32/ole2disp.h, dlls/oleaut32/typelib.c, dlls/olecli/olecli_main.c, dlls/olesvr/olesvr_main.c, dlls/shell32/shlmenu.c, include/ole.h, dlls/lzexpand/lzexpand_main.c, dlls/msvcrt/cpp.c, dlls/msvcrt/exit.c, dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.h: Patrik Stridvall - Made sure that the files that contains the declarations of the implementated functions are included. - Corrected mismatching prototypes. - Cleaned up the include section. * dlls/wineps/font.c: Ian Pilcher Use Windows metrics for font scaling. * tools/winapi/config.pm, tools/winapi/options.pm, tools/winapi/output.pm, tools/winapi/winapi_check_options.pm, tools/winapi/winapi_extract, tools/winapi/winapi_extract_options.pm, tools/winapi/winapi_fixup, tools/winapi/winapi_fixup_options.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm, 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 Yet another major reorganization and a few new features. * files/file.c, server/file.c: Bernhard Rosenkraenzer Set executable permissions when creating .exe/.com files. * dlls/msvcrt/file.c: Marcus Meissner Pass handle to GetFileType, not MSVCRT fd. * dlls/kernel/comm.c: Mike McCormack Rewrite BuildCommDCB16 to depend on BuildCommDCB, not vice-versa. * dlls/wineps/afm.c, dlls/wineps/data/agl.c, dlls/wineps/glyphlist.c, dlls/wineps/mkagl.c: Ian Pilcher Only index glyph names when necessary. * include/loadorder.h, include/metafile.h, include/module.h, include/options.h, loader/loadorder.c, loader/main.c, loader/module.c, loader/ne/module.c, misc/options.c, objects/font.c, objects/metafile.c, windows/class.c, windows/user.c, windows/x11drv/event.c, windows/x11drv/keyboard.c, dlls/ttydrv/ttydrv_main.c, dlls/winaspi/winaspi32.c, dlls/wineps/bitmap.c, dlls/x11drv/x11drv_main.c, graphics/win16drv/prtdrv.c, graphics/x11drv/bitblt.c, graphics/x11drv/graphics.c, graphics/x11drv/oembitmap.c, graphics/x11drv/palette.c, debugger/debugger.h, debugger/info.c, debugger/memory.c, debugger/module.c, debugger/msc.c, debugger/winedbg.c, dlls/ddraw/ddraw/hal.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/helper.c, dlls/gdi/printdrv.c, dlls/setupapi/virtcopy.c: Removed some unnecessary includes. 2001-07-22 Alexandre Julliard * dlls/wineps/afm.c, dlls/wineps/data/agl.c, dlls/wineps/data/agl.h, dlls/wineps/mkagl.c, dlls/wineps/psdrv.h: Ian Pilcher Eliminate UNICODEVECTOR data type. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa_private.h, include/wine_gl.h: Commented out references to x11drv internals from MESA code. * graphics/enhmetafiledrv/objects.c, graphics/metafiledrv/objects.c, graphics/win16drv/brush.c, graphics/win16drv/font.c, graphics/win16drv/objects.c, graphics/win16drv/pen.c, include/win16drv.h, dlls/ttydrv/objects.c, dlls/wineps/brush.c, dlls/wineps/font.c, dlls/wineps/objects.c, dlls/wineps/pen.c, dlls/wineps/psdrv.h: Removed some direct accesses to GDI internal pen/brush/font structures. * windows/spy.c: Guy L. Albertelli - If the class of the window is a known standard, then format the name of the WM_USER+nnn messages if possible. - Fix case where the classname returned was truncated and not printed at all. - Issue errors if either the Notify or common control messasge lists are out of order. - Prepare to dump out control block structures pointed to by lparam for messages. * dlls/ttydrv/bitmap.c, dlls/ttydrv/dc.c, dlls/ttydrv/ttydrv.h, dlls/wineps/init.c, graphics/enhmetafiledrv/init.c, graphics/metafiledrv/init.c, graphics/win16drv/init.c, graphics/x11drv/dib.c, graphics/x11drv/init.c, include/bitmap.h, include/gdi.h, include/x11drv.h, objects/bitmap.c, objects/dib.c, dlls/gdi/wing.c: Moved the 16-bit pointer to the DIB bits out of the driver-specific structure and into the main bitmap structure. Removed CreateDIBSection16 from the driver interface. * controls/menu.c, dlls/shell32/shell32_main.c, include/heap.h, windows/mdi.c: Got rid of HEAP_strdupW. * dlls/wineps/data/AvantGarde_Book.c, dlls/wineps/data/AvantGarde_BookOblique.c, dlls/wineps/data/AvantGarde_Demi.c, dlls/wineps/data/AvantGarde_DemiOblique.c, dlls/wineps/data/Bookman_Demi.c, dlls/wineps/data/Bookman_DemiItalic.c, dlls/wineps/data/Bookman_Light.c, dlls/wineps/data/Bookman_LightItalic.c, dlls/wineps/data/Courier.c, dlls/wineps/data/Courier_Bold.c, dlls/wineps/data/Courier_BoldOblique.c, dlls/wineps/data/Courier_Oblique.c, dlls/wineps/data/Helvetica.c, dlls/wineps/data/Helvetica_Bold.c, dlls/wineps/data/Helvetica_BoldOblique.c, dlls/wineps/data/Helvetica_Narrow.c, dlls/wineps/data/Helvetica_Narrow_Bold.c, dlls/wineps/data/Helvetica_Narrow_BoldOblique.c, dlls/wineps/data/Helvetica_Narrow_Oblique.c, dlls/wineps/data/Helvetica_Oblique.c, dlls/wineps/data/NewCenturySchlbk_Bold.c, dlls/wineps/data/NewCenturySchlbk_BoldItalic.c, dlls/wineps/data/NewCenturySchlbk_Italic.c, dlls/wineps/data/NewCenturySchlbk_Roman.c, dlls/wineps/data/Palatino_Bold.c, dlls/wineps/data/Palatino_BoldItalic.c, dlls/wineps/data/Palatino_Italic.c, dlls/wineps/data/Palatino_Roman.c, dlls/wineps/data/Symbol.c, dlls/wineps/data/Times_Bold.c, dlls/wineps/data/Times_BoldItalic.c, dlls/wineps/data/Times_Italic.c, dlls/wineps/data/Times_Roman.c, dlls/wineps/data/ZapfChancery_MediumItalic.c, dlls/wineps/data/ZapfDingbats.c, dlls/wineps/psdrv.h, dlls/wineps/truetype.c, dlls/wineps/afm.c: Ian Pilcher Remove redundant data structure from font metrics. * dlls/oleaut32/olefont.c: Marcus Meissner OleFont::IDispatch::Invoke stub can just return S_OK. 2001-07-20 Alexandre Julliard * dlls/x11drv/window.c: Use AdjustWindowRect to translate X to window rectangle instead of duplicating what's done in nonclient.c. * windows/nonclient.c: Bill Medland Corrections to the Win95 and later frame drawing code. * windows/win.c: Bill Medland Additional modifications to the window styles during window creation. * include/wine/shell16.h, memory/atom.c, dlls/winmm/winemm.h, dlls/ntdll/signal_sparc.c, dlls/ole32/compobj_private.h, dlls/ole32/errorinfo.c, dlls/ole32/filemoniker.c, dlls/ole32/hglobalstream.c, dlls/ole32/memlockbytes.c, dlls/ole32/ole2nls.c, dlls/oleaut32/dispatch.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shellole.c, dlls/shell32/shellreg.c, dlls/shell32/shpolicy.c, dlls/kernel/sync.c, dlls/msvideo/vfw16.h: Patrik Stridvall - Made sure that the files that contains the declarations of the implementated functions are included. - Corrected mismatching prototypes. - Cleaned up the include section. * include/Makefile.in: Added a few more files to the install list. * windows/winpos.c: Guy L. Albertelli Trace rectangles returned by GetClientRect and GetWindowRect. * dlls/comctl32/toolbar.c: Guy L. Albertelli - Recalc the toolbar size on TB_SETBUTTONSIZE in certain conditions. - Add trace to show the paint rectangle prior to refreshing. * dlls/comctl32/rebar.c: Guy L. Albertelli - Fix handling of text color. - Correct implementation of WM_SETREDRAW to be closer to native. - Do more implementation of RBS_AUTOSIZE in the WM_SIZE processor. - Implement RBBS_VARIABLEHEIGHT. Used by IE4. - Do more testing in WM_SIZE to handle strange cases like native. * windows/spy.c: Guy L. Albertelli Display rectangle from WM_NCCALCSIZE on entry and exit. * dlls/comctl32/comboex.c: Guy L. Albertelli Fix conversion of W structure to A structure during notify. * README: Gerald Pfeifer Update information concerning FreeBSD. Refer to Wine instead of wine as the package name. * dlls/kernel/comm.c: Mike McCormack Replace service thread with ReadFileEx/WriteFileEx. * files/profile.c: Lionel Ulmer Fix 'undocumented' behaviour of GetPrivateProfileString. 2001-07-19 Alexandre Julliard * dlls/shell32/shpolicy.h: Patrik Stridvall Removed unused file. * tools/winapi_check/win32/shell32.api, tools/winapi_check/win32/user32.api, tools/winapi_check/winapi_check, tools/winapi/winapi_extract: Patrik Stridvall Minor reorganisation and a few bug fixes. * dlls/ddraw/dsurface/wndproc.c: Dmitry Timoshkov Fix out of the source tree build (again). * misc/registry.c, relay32/builtin32.c, scheduler/client.c, scheduler/handle.c, scheduler/pipe.c, scheduler/process.c, scheduler/synchro.c, scheduler/sysdeps.c, scheduler/thread.c, scheduler/timer.c, win32/console.c, win32/device.c, win32/except.c, windows/input.c, windows/message.c, windows/painting.c, windows/queue.c, windows/timer.c, dlls/winsock/socket.c, files/change.c, files/dos_fs.c, files/file.c, files/profile.c, graphics/x11drv/xfont.c, include/server.h, include/wine/server.h, include/wine/server_protocol.h, loader/main.c, loader/module.c, loader/pe_image.c, loader/task.c, memory/atom.c, memory/registry.c, memory/selector.c, memory/virtual.c, dlls/advapi32/registry.c, dlls/kernel/comm.c, dlls/kernel/debugger.c, dlls/kernel/sync.c, dlls/kernel/toolhelp.c, dlls/ntdll/exception.c, dlls/ntdll/nt.c, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/sync.c: Moved server.h to include/wine. * server/Makefile.in, server/handle.h, server/object.h, server/process.h, server/protocol.def, server/request.c, server/request.h, server/thread.h, server/unicode.h, tools/make_requests: Use the new protocol.def file to build the request structures. Define protocol structures in a separate server_protocol.h file. Removed __WINE_SERVER__ checks now that all includes are in the right directory. * dlls/wineps/afm.c, dlls/wineps/font.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/truetype.c: Ian Pilcher Read/calculate average character width for all fonts. Work directly with 16-bit WCHARs; don't convert to CP1252. * dlls/wineps/data/Helvetica_Narrow.c, dlls/wineps/data/Helvetica_Narrow_Bold.c, dlls/wineps/data/Helvetica_Narrow_BoldOblique.c, dlls/wineps/data/Helvetica_Narrow_Oblique.c: Ian Pilcher Make Helvetica Narrow a separate font family. 2001-07-18 Alexandre Julliard * memory/environ.c, misc/registry.c, msdos/dosconf.c, msdos/int29.c, msdos/ppdev.c, objects/brush.c, objects/metafile.c, objects/pen.c, win32/file.c, dlls/version/resource.c, dlls/winmm/joystick.c, dlls/winmm/mci.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/time.c, files/dos_fs.c, graphics/win16drv/objects.c, graphics/x11drv/objects.c, include/msvcrt/string.h, include/wine/winuser16.h, include/winuser.h, loader/task.c, dlls/comctl32/comctl32undoc.c, dlls/ddraw/dclipper/main.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/dsurface/wndproc.c, dlls/ddraw/helper.c, dlls/kernel/comm.c, dlls/kernel/kernel_main.c, dlls/msacm/pcmconverter.c, dlls/msvcrt/errno.c, dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.h, dlls/user/lstr.c, dlls/user/wsprintf.c: Patrik Stridvall - Made sure that the files that contains the declarations of implementated functions are included. - Corrected mismatching prototypes. - Cleaned up the include section. * memory/atom.c: Patrik Stridvall Documentation fixes. * tools/winapi_check/win32/msvcrt.api, tools/winapi_check/win32/ole32.api, tools/winapi_check/win32/shell32.api, tools/winapi_check/modules.pm, tools/winapi_check/output.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_options.pm, tools/winapi_check/winapi_parser.pm, tools/winapi/config.pm, tools/winapi/output.pm, tools/winapi/setup.pm, tools/winapi/winapi_extract: Patrik Stridvall Several additions and bug fixes. * windows/message.c, include/winuser.h: Reject pointer messages in SendNotifyMessage[AW] and SendMessageCallback[AW]. Fixed prototypes. * include/comcat.h, include/docobj.h, include/oaidl.h, include/objidl.h, include/ocidl.h, include/oleidl.h, include/rpc.h, include/servprov.h, include/strmif.h, include/unknwn.h, include/urlmon.h: Francois Gouget Include rpc*.h/windows.h/ole2.h just like windows. * dlls/kernel/comm.c: Mike McCormack Use GetCommState16 to save state in OpenComm16. Merge comm16 globals into one structure. * tools/fnt2bdf.c: Bill Medland Make the font name and size settings reflect the data in the font file rather than arbitrary values. * relay32/snoop.c: Uwe Bonnes SNOOP_DoReturn: remove redundant printing of tid. 2001-07-17 Alexandre Julliard * dlls/Makefile.in: Updated dependencies. * dlls/kernel/comm.c: Mike McCormack Rewrite SetCommState16 to use SetCommState. * dlls/ntdll/debugtools.c: Andreas Mohr More descriptive error on buffer overflow. * controls/listbox.c: Bill Medland As for the edit control, the style of the borders on the list control is modified in the dialog loading code, not in the control itself. * ole/ole2nls.c, dlls/user/text.c: Andreas Mohr Fixed some more overflowing string traces. * controls/menu.c: Gerard Patel Draw MenuBar in proper place (some cases). * dlls/opengl32/opengl32.spec: Lionel Ulmer Make sure user32 is always loaded before x11drv. * tools/winelauncher.in: Francois Gouget Handle spaces properly when restarting winelauncher for debug. * dlls/comctl32/datetime.c: Francois Gouget Some 'calendar' typos... * dlls/shell32/shell32_main.c, include/shellapi.h: Francois Gouget Added missing CommandLineToArgvW prototype. * dlls/comctl32/toolbar.c: Gerard Patel Refresh bitmap count to take in account imagelist changes after TB_SETIMAGELIST. * dlls/user/dde/misc.c: Gerard Patel Fixed unicode warning. * include/winnt.h, server/named_pipe.c: Ove Kaaven Added STATUS_* constant for named pipes. Return STATUS_PIPE_NOT_AVAILABLE when opening a named pipe if the pipe exists but no instances of it are currently waiting for a connection. 2001-07-14 Alexandre Julliard * server/debugger.c, server/file.c, server/process.c, server/process.h, server/ptrace.c: Backed out the suspend_process_for_ptrace change. Fixed a couple of races in ptrace code. * configure, configure.in: Jeremy White Remove the -rpath option from the link command. * dlls/ntdll/ntdll.spec: Patrik Stridvall Fixed issue found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/nativeapi.pm, tools/winapi_check/output.pm, tools/winapi_check/win32/msvcrt.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_global.pm, tools/winapi_check/winapi_parser.pm, tools/winapi/output.pm, tools/winapi/winapi_extract, tools/winapi/winapi_fixup: Patrik Stridvall Several additions and bug fixes. * windows/dce.c: Marcus Meissner Better LockWindowUpdate debug. * dlls/ole32/ole32.spec, dlls/ole32/storage32.c, dlls/oleaut32/olefont.c: Marcus Meissner Made some FIXME()s print the respective strings passed. Changed StgSetTimes() to correct type. * dlls/commdlg/printdlg.c: Marcus Meissner Added Quality Box (readonly currently) for 16bit templated dialogs. Added [Printer] button support in 16bit templated dialogs. Try sending orientation icon to stc10 too. * dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_En.rc: Marcus Meissner Replaced most of the numbers with the symbolic constants of the dialog items. * msdos/ppdev.c: Uwe Bonnes Don't claim the parport for exclusive access and release the port after every access. * dlls/kernel/comm.c: Mike McCormack Rewrite GetCommState16 using GetCommState. * relay32/snoop.c: Uwe Bonnes SNOOP_GetProcAddress: don't touch already initialized fun-entries. 2001-07-12 Alexandre Julliard * server/thread.c, server/thread.h: Removed unused functions suspend/remove_all_threads. * dlls/winsock/socket.c, files/dos_fs.c, graphics/fontengine.c, memory/string.c, objects/dc.c, objects/gdiobj.c, objects/pen.c, objects/region.c, windows/input.c, windows/mdi.c, windows/message.c, windows/syscolor.c, windows/winpos.c, dlls/kernel/thunk.c, dlls/ole32/storage32.c, dlls/rasapi32/rasapi.c, dlls/shell32/shellole.c: Patrik Stridvall Documentation fixes. * files/file.c, include/file.h, scheduler/synchro.c, dlls/kernel/comm.c: Mike McCormack Implement overlapped completion routines. Don't use lpOverlapped->OffsetHigh to store bytes to transfer. * dlls/x11drv/window.c: Lionel Ulmer Fix X crash when running in managed mode. * unicode/casemap.c, unicode/wctype.c, unicode/c_042.c, unicode/c_10006.c, unicode/c_1253.c, unicode/c_28597.c, unicode/c_437.c, unicode/c_737.c, unicode/c_860.c, unicode/c_861.c, unicode/c_862.c, unicode/c_863.c, unicode/c_865.c, unicode/c_869.c, unicode/c_875.c, unicode/c_932.c, unicode/c_936.c, unicode/c_949.c, unicode/c_950.c: Regenerated codepage files with Unicode 3.1 data. * dlls/rpcrt4/rpcrt4_main.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win32/rasapi32.api, tools/winapi_check/win32/rpcrt4.api, tools/winapi_check/win32/ws2_32.api, tools/winapi/winapi_fixup, tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall Several additions and bug fixes. * tools/winemaker: Bill Medland Get winemaker to drop the trailing CtrlZ that is still to be found on quite a lot of DOS files. * dlls/x11drv/window.c, graphics/x11drv/bitblt.c, graphics/x11drv/graphics.c: Fixed a few issues with tsx11 locking. Always map the client window when moving out of iconic state. * loader/pe_image.c: Don't call SNOOP_RegisterDLL on builtins. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/mesa_private.h, include/config.h.in, configure, configure.in: Lionel Ulmer - removed unused OSMesa linking - removed OSMesa code * dlls/kernel/comm.c: Mike McCormack Implement COMM_MSRUpdate with GetCommModemStatus. 2001-07-11 Alexandre Julliard * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c, include/Makefile.in, include/rpc.h, include/rpcdce.h, include/rpcnterr.h: Peter Hunnisett Added a bunch of entry points. Added some stubs and header information. Fixed some return codes. * windows/sysmetrics.c: Bill Medland Modify some system metrics to agree with Win95 and reflect the desktop registry entries. * dlls/msvcrt/mbcs.c, dlls/msvcrt/msvcrt.spec: Uwe Bonnes Semistubs for _ismbcdigit,_ismbcspace,_mbslwr,_mbsnbcmp,_mbsspn. * windows/message.c, windows/syscolor.c, windows/winpos.c, msdos/int21.c, msdos/int5c.c, objects/bitmap.c, objects/clipping.c, objects/dc.c, objects/dib.c, objects/font.c, objects/gdiobj.c, objects/palette.c, objects/pen.c, objects/region.c, objects/text.c, ole/ole2nls.c, scheduler/handle.c, scheduler/process.c, scheduler/thread.c, windows/cursoricon.c, windows/input.c, windows/mdi.c, graphics/metafiledrv/init.c, loader/module.c, loader/ne/convert.c, loader/ne/module.c, loader/ne/segment.c, loader/resource.c, loader/task.c, memory/atom.c, memory/codepage.c, memory/environ.c, memory/global.c, memory/heap.c, memory/selector.c, memory/string.c, misc/main.c, misc/registry.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, dlls/winsock/socket.c, dlls/wsock32/protocol.c, dlls/wsock32/socket.c, files/dos_fs.c, files/profile.c, graphics/bitblt.c, dlls/winmm/driver.c, dlls/winmm/joystick/joystick.c, dlls/winmm/mci.c, dlls/winmm/mcianim/mcianim.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mcicda/mcicda.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/midimap/midimap.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/time.c, dlls/winmm/wavemap/wavemap.c, dlls/oledlg/oledlg_main.c, dlls/opengl32/opengl_norm.c, dlls/richedit/richedit.c, dlls/setupapi/setupx_main.c, dlls/shell32/brsfolder.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shellreg.c, dlls/shlwapi/regstream.c, dlls/user/lstr.c, dlls/user/mouse.c, dlls/version/install.c, dlls/win32s/w32sys.c, dlls/wineps/driver.c, dlls/kernel/debugger.c, dlls/kernel/sync.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, dlls/msacm/pcmconverter.c, dlls/msvcrt/main.c, dlls/msvcrt/string.c, dlls/msvideo/msvideo_main.c, dlls/ntdll/exception.c, dlls/ntdll/file.c, dlls/ntdll/nt.c, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sync.c, dlls/ntdll/time.c, dlls/ole32/compobj.c, dlls/ole32/moniker.c, dlls/ole32/ole2.c, dlls/ole32/ole2impl.c, dlls/ole32/storage32.c, dlls/oleaut32/ole2disp.c, dlls/oleaut32/oleaut.c, dlls/dplayx/dplay.c: Patrik Stridvall Documentation fixes. * debugger/db_disasm.c: Added disassembly for 0x0f 0x5x opcodes. * debugger/dbg.y, debugger/winedbg.c: Better error reporting on DebugActiveProcess failure. * server/context_i386.c, server/debugger.c, server/process.c, server/process.h: Small fixes to the debugger support. * server/queue.c: Merge WM_MOUSEMOVE messages. * tools/winapi_check/win32/wow32.api, tools/winapi/config.pm, tools/winapi/function.pm, tools/winapi/options.pm, tools/winapi/util.pm, tools/winapi/winapi_extract, tools/winapi/winapi_fixup, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm, 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 Major reorganization and cleanup. * dlls/kernel/comm.c: Mike McCormack Implement FlushComm16 with PurgeComm. * controls/edit.c, windows/dialog.c: Bill Medland Correct the location of the style patching for the edit control. * dlls/rasapi32/rasapi.c, dlls/rasapi32/rasapi32.spec: Mike McCormack Stub some rasapi functions. * dlls/wininet/internet.c: Marcus Meissner Have InternetGetConnectedState always return 'LAN connection'. 2001-07-10 Alexandre Julliard * server/Makefile.in, server/named_pipe.c, server/request.h, server/trace.c, dlls/kernel/kernel32.spec, dlls/kernel/sync.c, files/file.c, include/server.h, include/winbase.h: Mike McCormack Start implementing named pipes. * include/shlwapi.h, dlls/shlwapi/shlwapi.spec: Peter Hunnisett Add shlwapi.wvnsprintf[AW], header info and comments. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, include/winsock2.h: Peter Hunnisett Implemented a stub for WSARecvFrom. * controls/menu.c: Mike McCormack GetMenuItemID: return -1 for invalid menu items, not zero. * dlls/kernel/comm.c: Mike McCormack Rewrite EscapeCommFunction16 to use EscapeCommFunction. * dlls/msvcrt/file.c: Peter Hunnisett CreateFile should be called with security attributes in _open. * dlls/ddraw/dclipper/main.c: Marcus Meissner Make (G|S)etClipList not abort, but return DDERR_NOCLIPLIST. Do not scroll FIXME()s too much. 2001-07-08 Alexandre Julliard * dlls/ntdll/ntdll.spec, dlls/ole32/compobj.spec, dlls/oledlg/oledlg.spec, dlls/opengl32/make_opengl: Patrik Stridvall Fixed issues found by winapi_check. * dlls/oleaut32/parsedt.c: Patrik Stridvall - Added comment that code is broken. - Silenced annoying long term winapi_check message. * dlls/rpcrt4/rpcrt4_main.c, include/config.h.in, configure, configure.in: Patrik Stridvall Add proper check for existance of struct sockaddr member sa_len. * documentation/printing.sgml: Andreas Mohr Updated printing documentation a bit. * tools/winapi/config.pm, tools/winapi/winapi_extract, tools/winapi/winapi_fixup, tools/winapi_check/modules.dat, tools/winapi_check/win16/gdi.api, tools/winapi_check/win32/oledlg.api, tools/winapi_check/win32/quartz.api, tools/winapi_check/win32/winmm.api, tools/winapi_check/win32/wsock32.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_options.pm: Patrik Stridvall Several bug fixes and additions. * dlls/shlwapi/shlwapi.spec: Peter Hunnisett Fix some ordinal forwarding. * controls/menu.c: Marcus Meissner Add some argument validation to SetMenuItemInfoA, so QT5 does not corrupt its menus. * dlls/comctl32/rebar.c: Guy L. Albertelli - Move creation process to the WM_NCCREATE message like native and force styles WS_VISIBLE and CCS_TOP. - Implement messages WM_NCHITTEST, WM_STYLECHANGED, RB_MOVEBAND, RB_MINIMIZEBAND. - Improve preformance by removing calls to GetWindowLong for GWL_STYLE (by saving state and handling WM_STYLECHANGED). - Cleanup and remove dead and test code. * windows/spy.c: Guy L. Albertelli Correct amount of info displayed for NM_NCHITTEST and all the LVN_*. * controls/uitools.c: Bill Medland Correct more colours so that DrawEdge works for more cases. * include/strmif.h: Hidenori Takeshima Added missing IIDs. * files/file.c: Mike McCormack Implement ReadFileEx and WriteFileEx (lpOverlappedCompletion routine is not supported yet...) * dlls/kernel/comm.c: Mike McCormack Use HANDLEs instead of unix fds. * programs/uninstaller/main.c: Jeremy White Add --list facility to list installed programs. Add --remove xxx facility to remove a specific program. 2001-07-02 Alexandre Julliard * windows/dialog.c, windows/input.c, windows/keyboard.c, windows/message.c, windows/queue.c, memory/atom.c, memory/global.c, memory/heap.c, memory/local.c, memory/selector.c, memory/string.c, misc/error.c, misc/registry.c, misc/system.c, misc/version.c, objects/bitmap.c, objects/dib.c, objects/font.c, objects/gdiobj.c, objects/palette.c, objects/text.c, scheduler/synchro.c, scheduler/syslevel.c, files/directory.c, files/dos_fs.c, files/drive.c, files/file.c, files/profile.c, graphics/bitblt.c, graphics/escape.c, graphics/fontengine.c, graphics/mapping.c, graphics/painting.c, graphics/path.c, graphics/win16drv/prtdrv.c, graphics/x11drv/oembitmap.c, loader/main.c, loader/module.c, loader/ne/module.c, loader/ne/resource.c, loader/resource.c, loader/task.c, dlls/winmm/midimap/midimap.c, dlls/winmm/wavemap/wavemap.c, dlls/winmm/wineoss/oss.c, dlls/winsock/async.c, dlls/winsock/socket.c, dlls/winspool/info.c, dlls/wsock32/socket.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv_main.c, dlls/winmm/mcicda/mcicda.c, dlls/version/resource.c, dlls/version/ver16.c, dlls/win32s/w32skernel.c, dlls/win32s/w32sys.c, dlls/win32s/win32s16.c, dlls/winaspi/winaspi16.c, dlls/winedos/dosvm.c, dlls/winedos/module.c, dlls/wineps/driver.c, dlls/wininet/wininet_main.c, dlls/winmm/driver.c, dlls/winmm/joystick.c, dlls/winmm/joystick/joystick.c, dlls/winmm/mci.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/sound16.c, dlls/winmm/time.c, dlls/shell32/pidl.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shellreg.c, dlls/shell32/shlmenu.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/ttydrv/user.c, dlls/urlmon/urlmon_main.c, dlls/user/bidi16.c, dlls/user/dde/ddeml16.c, dlls/user/display.c, dlls/user/lstr.c, dlls/user/misc.c, dlls/user/mouse.c, dlls/user/network.c, dlls/user/resource.c, dlls/user/text.c, dlls/user/thunk.c, dlls/user/wsprintf.c, dlls/version/install.c, dlls/ntdll/rtl.c, dlls/ntdll/sec.c, dlls/ntdll/wcstring.c, dlls/ole32/compobj.c, dlls/ole32/filemoniker.c, dlls/ole32/moniker.c, dlls/ole32/ole2.c, dlls/ole32/ole2nls.c, dlls/ole32/storage.c, dlls/oleaut32/ole2disp.c, dlls/oleaut32/typelib.c, dlls/oleaut32/variant.c, dlls/olecli/olecli_main.c, dlls/olepro32/olepro32stubs.c, dlls/olesvr/olesvr_main.c, dlls/serialui/confdlg.c, dlls/setupapi/infparse.c, dlls/shell32/changenotify.c, dlls/shell32/iconcache.c, dlls/commdlg/filedlg.c, dlls/commdlg/filetitle.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/generic.c, dlls/commdlg/printdlg.c, dlls/dplayx/dpclassfactory.c, dlls/gdi/bidi16.c, dlls/gdi/printdrv.c, dlls/gdi/thunk.c, dlls/gdi/wing.c, dlls/kernel/comm.c, dlls/kernel/debugger.c, dlls/kernel/kernel_main.c, dlls/kernel/string.c, dlls/kernel/sync.c, dlls/kernel/thunk.c, dlls/kernel/toolhelp.c, dlls/kernel/utthunk.c, dlls/kernel/win87em.c, dlls/kernel/wowthunk.c, dlls/lzexpand/lzexpand_main.c, dlls/mpr/mpr_main.c, dlls/msacm/pcmconverter.c, dlls/msvcrt/cpp.c, dlls/msvcrt/heap.c, controls/menu.c, dlls/avifil32/api.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/imagelist.c, dlls/commdlg/colordlg.c: Patrik Stridvall Documentation fixes. * Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/quartz/.cvsignore, dlls/quartz/Makefile.in, dlls/quartz/main.c, dlls/quartz/quartz.spec: Hidenori Takeshima Added stubs for quartz.dll. * win32/file.c, dlls/kernel/kernel32.spec, files/file.c, include/winbase.h: Mike McCormack Declare stubs for ReadFileEx, WriteFileEx. * include/Makefile.in, include/amaudio.h, include/amvideo.h, include/control.h, include/strmif.h: Hidenori Takeshima Added some dshow headers. * dlls/wineps/wineps.spec, dlls/x11drv/x11drv.spec, dlls/Makefile.in: Dmitry Timoshkov Fix some inter dll dependencies. * dlls/wsock32/protocol.c, dlls/wsock32/wsock32.spec: Dmitry Timoshkov Add stdcall->cdecl thunks for inet_network and getnetbyname. * dlls/wineps/afm.c, dlls/wineps/init.c, dlls/wineps/truetype.c: Dmitry Timoshkov Replace PROFILE_* functions by Reg*. * dlls/comctl32/rebar.c: Guy L. Albertelli RBBS_FIXEDSIZE should not affect _AdjustBands (found by Mike McCormack in WinZip). * dlls/comctl32/toolbar.c: Mike McCormack Fix button text placement for disabled buttons (see Winzip 8.0). * include/urlmon.h: Nikolas Zimmermann Added IBindHost, IWinInetInfo, IWinInetHttpInfo class definitions, BINDF, BINDSTATUS structs. * dlls/gdi/dispdib.spec, dlls/gdi/wing.spec, dlls/kernel/stress.spec, dlls/msvideo/msvideo.spec, dlls/ntdll/signal_i386.c, dlls/ole32/compobj.spec, dlls/winmm/mmsystem.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/winapi_extract, tools/winapi/winapi_fixup, tools/winapi_check/modules.dat, tools/winapi_check/nativeapi.pm, tools/winapi_check/win16/compobj.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall Several bug fixes and additions. * dlls/msvideo/msvideo_main.c, objects/clipping.c, objects/palette.c, windows/clipboard.c, windows/mdi.c, controls/menu.c: Dmitry Timoshkov Replace some 16-bit calls by their 32-bit equivalents. * dlls/comctl32/listview.c: Guy L. Albertelli Remember response from LVN_GETDISPINFO if user sets LVIF_DI_SETITEM. * dlls/win32s/win32s16.c, dlls/win32s/win32s16.spec: Dmitry Timoshkov Finish win32s separation. 2001-06-29 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20010629. ---------------------------------------------------------------- 2001-06-29 Alexandre Julliard * configure.in, dlls/user/dde/client.c, dlls/user/dde/misc.c, dlls/user/dde/server.c, configure: Dmitry Timoshkov Fix 'make depend' for out of the source tree build. * dlls/msvcrt/except.c: Dmitry Timoshkov Add missing config.h include. * dlls/x11drv/winpos.c: Removed unnecessary SetWindowPos call in SetWindowRgn. * README: Andreas Mohr Documentation update. * windows/x11drv/Makefile.in, windows/x11drv/wnd.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv_main.c, dlls/ttydrv/wnd.c, dlls/user/user_main.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c, include/user.h, include/win.h, include/x11drv.h, windows/win.c, windows/winpos.c: Moved ForceWindowRaise to the USER driver and removed the WND driver. * windows/message.c: Travis Michielsen Fixed handling of WM_MOUSEWHEEL messages in non-client space. 2001-06-28 Alexandre Julliard * windows/dialog.c, windows/message.c, windows/win.c, controls/menu.c, dlls/ntdll/debugtools.c, dlls/ntdll/nt.c, dlls/ntdll/rtl.c, msdos/ioports.c, objects/bitmap.c, objects/brush.c, objects/clipping.c, objects/dc.c, objects/dcvalues.c, objects/dib.c, objects/font.c, objects/gdiobj.c, objects/metafile.c, objects/palette.c, objects/pen.c, objects/region.c, objects/text.c: Patrik Stridvall Documentation name fixes. * configure, configure.in, include/config.h.in: Patrik Stridvall Fixed subtle configure bug concerning OpenGL. Found on FreeBSD (which has OpenGL in /usr/X11R6/lib). * dlls/winmm/mmsystem.c, dlls/winmm/mmsystem.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/winapi_fixup, tools/winapi_check/modules.dat, tools/winapi_check/win32/user32.api, tools/winapi_check/win32/x11drv.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm, tools/winapi_check/winapi_local.pm: Patrik Stridvall Several bug fixes and additions. * controls/edit.c: Bill Medland Improved handling of styles in the edit control, including detecting changes of style and correcting handling of inconsistant styles. * include/winnls.h, dlls/ole32/compobj.c, dlls/ole32/compobj.spec, dlls/ole32/ole2nls.c, dlls/ole32/ole2nls.spec: Dmitry Timoshkov Finish ole32 separation. * include/queue.h, include/server.h, server/queue.c, windows/input.c, windows/message.c, windows/queue.c: - Remove cooked hardware messages when they are dropped (reported by Gerard Patel). - Convert all posted 32-bit messages to Unicode before storing them in the queue. - Faster implementation of MSG_IsPointerMessage. - Moved a couple of functions from queue.c to message.c. 2001-06-27 Alexandre Julliard * include/acconfig.h, include/config.h.in, include/wine/port.h, library/port.c, loader/elf.c, Makefile.in, configure, configure.in: Put AC_DEFINE symbols definitions directly in the configure script so that we no longer need an acconfig.h. Cleaned up dlopen() tests a bit. * misc/cpu.c: Andreas Mohr Fix misleading P4 warning message appearing even in case of match. 2001-06-26 Alexandre Julliard * dlls/opengl32/wgl.c, dlls/x11drv/window.c, include/x11drv.h: Added window properties to make some x11drv-specific information available to higher level code. * documentation/samples/config, include/config.h.in, include/miscemu.h, msdos/Makefile.in, msdos/ioports.c, msdos/ppdev.c, configure, configure.in: Uwe Bonnes Added /dev/parport support for direct port access. * dlls/x11drv/winpos.c: Make the visible region empty for non-visible windows. * windows/x11drv/event.c: Dmitry Timoshkov Replace one more PROFILE_ function by RegQueryValueExA. * dlls/wineps/objects.c, graphics/metafiledrv/objects.c, graphics/win16drv/objects.c: Dmitry Timoshkov Replace some 16-bit calls by their 32-bit equivalents. 2001-06-25 Alexandre Julliard * dlls/ntdll/signal_i386.c: Don't compile vm86-specific code on platforms that don't support it. * dlls/commdlg/cdlg_Zh.rc, dlls/commdlg/rsrc.rc, dlls/kernel/nls/cht.nls, dlls/shell32/shell32_Zh.rc, dlls/shell32/shres.rc, dlls/user/resources/user32_Zh.rc, graphics/x11drv/codepage.c, graphics/x11drv/xfont.c: Jau-Horng Chen Added Traditional Chinese Support Fixed sublang font size error when not using fixed-size font. * graphics/x11drv/brush.c, graphics/x11drv/objects.c, objects/clipping.c, objects/dc.c, windows/x11drv/event.c: Dmitry Timoshkov Replace some 16-bit calls by their 32-bit equivalents. * include/winuser.h, include/x11drv.h, windows/input.c, windows/x11drv/event.c, windows/x11drv/mouse.c, dlls/user/user.spec, dlls/user/user32.spec: Implemented SendInput(). * graphics/x11drv/dib.c: Dmitry Timoshkov Better separate the XShm using code. 2001-06-24 Alexandre Julliard * tools/wrc/parser.y: Bang Jun-Young Add a workaround for a bug in byacc (again). * tools/examine-relay: Eric Pouech Fixed for new relay format. added thread knowledge. * dlls/comctl32/rebar.c: Guy L. Albertelli - Add support for WM_NOTIFYFORMAT and support both ANSI and UNICODE notify formats. - Move the drawing of the band backgrounds and band separators to the WM_ERASEBKGND processing just the way the native controls do. - Implement WM_SETREDRAW. * dlls/comctl32/comboex.c: Guy L. Albertelli - Fix memory leaks. - Add support for WM_NOTIFYFORMAT and support both ANSI and UNICODE notify formats. - Fix some drawing issues with COMBOEX_DrawItem. * dlls/comctl32/toolbar.c: Guy L. Albertelli Fixed test so 0xffffffff is properly recognized. 2001-06-22 Alexandre Julliard * winedefault.reg: Uwe Bonnes Add RegisteredOwner and RegisteredOrganization. * include/winnt.h: Mike McCormack Added some defines for process security tokens. * controls/scroll.c, dlls/comctl32/comctl32undoc.c, misc/registry.c: Andreas Mohr Spelling fixes. * misc/cpu.c: Andreas Mohr GetSystemInfo() Pentium 4 support. * server/file.c: Mike McCormack Remove truncate debug message printed on successful truncates. * include/dde.h, include/ddeml.h, dlls/user/dde/client.c, dlls/user/dde/dde_private.h, dlls/user/dde/ddeml16.c, dlls/user/dde/misc.c, dlls/user/dde/server.c, dlls/user/Makefile.in, dlls/user/ddeml.c, dlls/user/ddeml16.h, dlls/user/user32.spec: Eric Pouech Merge from Corel tree. Contributors are: - Corel (Sean Langley, Michael Abd-El-Malek, Rick Mutzke, Bill Xing) - Macadamian on behalf of Corel (Louis-Philippe Gagnon, Jean-Claude Batista) Also added a few bits: - Complete window model for several instances and conversations. - Support for asynchronous transactions. - Fixed some code (WM_DDE_REQUEST, WM_DDE_ADVISE, WM_DDE_REQUEST) handling. - Support for wild connections. * windows/x11drv/event.c, dlls/x11drv/winpos.c: Don't rely on X to expose windows covered by a sibling, do it manually. 2001-06-21 Alexandre Julliard * include/user.h, windows/cursoricon.c, windows/input.c, windows/x11drv/mouse.c, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/user.c, dlls/user/display.c, dlls/user/user_main.c, dlls/x11drv/x11drv.spec: Ove Kaaven Make GetCursorPos call XQueryPointer. * dlls/ntdll/signal_i386.c, include/thread.h: Ove Kaaven Extended __wine_enter_vm86 to handle pending interrupts. 2001-06-20 Alexandre Julliard * include/queue.h, include/winpos.h, windows/defwnd.c, windows/input.c, windows/message.c, windows/queue.c, windows/winpos.c, windows/winproc.c: Avoid returning an unlocked window pointer from WINPOS_WindowFromPoint. Removed a few no longer used routines. * msdos/dpmi.c, msdos/int10.c, msdos/int11.c, msdos/int12.c, msdos/int13.c, msdos/int15.c, msdos/int1a.c, msdos/int20.c, msdos/int25.c, msdos/int26.c, msdos/int2a.c, msdos/int2f.c, msdos/int3d.c, msdos/int41.c, msdos/int4b.c, msdos/interrupts.c, msdos/vxd.c, objects/font.c, objects/region.c, scheduler/critsection.c, scheduler/thread.c, dlls/winmm/mmsystem.c, dlls/winsock/socket.c, dlls/winspool/info.c, files/directory.c, files/dos_fs.c, files/file.c, files/profile.c, loader/module.c, memory/codepage.c, memory/global.c, memory/selector.c, misc/options.c, dlls/ole32/compobj.c, dlls/ole32/moniker.c, dlls/ole32/ole2stubs.c, dlls/ole32/ole32_main.c, dlls/oleaut32/typelib.c, dlls/rpcrt4/rpcrt4_main.c, dlls/setupapi/virtcopy.c, dlls/shdocvw/shdocvw_main.c, dlls/shell32/changenotify.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shellord.c, dlls/shell32/shellreg.c, dlls/shlwapi/shlwapi_main.c, dlls/shlwapi/string.c, dlls/shlwapi/url.c, dlls/wininet/http.c, dlls/dsound/dsound_main.c, dlls/kernel/thunk.c, dlls/msacm/msacm_main.c, dlls/msvideo/drawdib.c, dlls/ntdll/file.c, dlls/ntdll/misc.c, dlls/ntdll/nt.c, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/rtl.c, dlls/ntdll/sec.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_sparc.c, dlls/ntdll/string.c, dlls/ntdll/time.c, dlls/ntdll/wcstring.c, controls/menu.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c, dlls/ddraw/main.c, dlls/dplayx/dplayx_main.c: Patrik Stridvall Documentation ordinal fixes. * windows/message.c, windows/painting.c, windows/queue.c, windows/win.c, dlls/user/user_main.c, include/server.h, include/win.h, server/queue.c, server/request.h, server/trace.c: Moved queue paint count to the server. Removed a few no longer used routines. * dlls/commdlg/comdlg32.spec, dlls/setupapi/setupx.spec, dlls/user/user.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi/config.pm, tools/winapi/winapi_fixup, tools/winapi_check/modules.pm, tools/winapi_check/win16/setupx.api, tools/winapi_check/win32/winmm.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm: Patrik Stridvall Several bug fixes and additions. * programs/wcmd/directory.c: Dave Pickles - Fix uninitialised variable problem in DIR command. - Correct some comments. * dlls/x11drv/winpos.c: Clip parent client area when using the drawable from a higher level parent. * dlls/x11drv/scroll.c: Fixed region leak. * graphics/x11drv/clipping.c: Subtract DC origin from graphics exposure event coordinates. 2001-06-19 Alexandre Julliard * server/queue.c, server/trace.c, tools/make_requests, windows/input.c, windows/message.c, windows/queue.c, dlls/user/user_main.c, dlls/x11drv/window.c, include/queue.h, include/server.h: Moved hardware message queue handling to the server. * server/request.c: Ignore EAGAIN errors in read_request. * dlls/version/info.c, dlls/version/install.c, dlls/win32s/w32skernel.c, dlls/win32s/win32s16.c, dlls/winaspi/winaspi32.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/winmm/driver.c, dlls/winmm/joystick.c, dlls/winmm/mci.c, dlls/winmm/mmsystem.c, dlls/winmm/sound16.c, dlls/winmm/time.c, dlls/winsock/socket.c, dlls/winspool/info.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv_main.c, dlls/setupapi/infparse.c, dlls/setupapi/setupx_main.c, dlls/setupapi/stubs.c, dlls/shdocvw/shdocvw_main.c, dlls/shell32/brsfolder.c, dlls/shell32/changenotify.c, dlls/shell32/control.c, dlls/shell32/pidl.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlfileop.c, dlls/shell32/systray.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/path.c, dlls/ttydrv/user.c, dlls/urlmon/umon.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, dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/compobj.c, dlls/ole32/compositemoniker.c, dlls/ole32/errorinfo.c, dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c, dlls/ole32/ole2.c, dlls/ole32/ole2nls.c, dlls/ole32/ole2stubs.c, dlls/ole32/storage32.c, dlls/oleaut32/hash.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/safearray.c, dlls/oleaut32/stubs.c, dlls/oleaut32/variant.c, dlls/olepro32/olepro32stubs.c, dlls/opengl32/wgl.c, dlls/rpcrt4/rpcrt4_main.c, dlls/dplayx/dplay.c, dlls/dplayx/dplayx_main.c, dlls/dsound/dsound_main.c, dlls/icmp/icmp_main.c, dlls/kernel/sync.c, dlls/kernel/thunk.c, dlls/lzexpand/lzexpand_main.c, dlls/mpr/auth.c, dlls/mpr/multinet.c, dlls/mpr/nps.c, dlls/mpr/pwcache.c, dlls/mpr/wnet.c, dlls/msacm/msacm_main.c, dlls/msvcrt/mbcs.c, dlls/msvideo/drawdib.c, dlls/msvideo/msvideo_main.c, dlls/ntdll/error.c, dlls/ntdll/exception.c, dlls/ntdll/file.c, dlls/ntdll/nt.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c, dlls/ddraw/main.c, dlls/dinput/dinput_main.c: Patrik Stridvall Documentation ordinal fixes. * dlls/winmm/midimap/midimap.c: Eric Pouech Fails mapper opening when no midi out devices are present. * dlls/winmm/mmio.c: Eric Pouech Fixed bugs in output functions (ascend, createChunk). Cleaned up trace messages. Fixed some mmioOpen file name parsing. * include/urlmon.h: Marcus Meissner BSCF enum defines flags, not an enumeration. * msdos/vga.c: Marcus Meissner Made DOS VGA display again with last months DDRAW updates. * graphics/x11drv/xfont.c: Dmitry Timoshkov Add System font to the set of default sans serif fonts. * dlls/x11drv/winpos.c: Fixed one more bug in clip_children. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/thread.c, include/msvcrt/process.h: Patrik Stridvall - Added, cleaned up and/or documentated _{begin,end}thread{,ex}. - _lfind and _ltow are implemented (not stubs). * dlls/msvcrt/wcs.c: Patrik Stridvall Removed implementation of _ultow since it is forwarded to NTDLL in the .spec file. * dlls/kernel/comm.c, dlls/kernel/kernel32.spec, include/winbase.h: Patrik Stridvall Fixed GetCommConfig number of arguments. * Makefile.in: Patrik Stridvall wine needs to be built before winedbg. * if1632/relay.c, dlls/avifil32/api.c, dlls/avifil32/avifil32.spec, dlls/kernel/debugger.c, dlls/kernel/kernel.spec, dlls/kernel/time.c, dlls/user/user32.spec, dlls/wininet/internet.c, dlls/winmm/mmsystem.c, dlls/winmm/mmsystem.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/nativeapi.dat, tools/winapi_check/preprocessor.pm, tools/winapi_check/win32/avifil32.api, tools/winapi_check/win32/crtdll.api, tools/winapi_check/win32/msvcrt.api, tools/winapi_check/win32/ole32.api, tools/winapi_check/win32/shell32.api, tools/winapi_check/win32/w32skrnl.api, tools/winapi_check/win32/wow32.api, tools/winapi_check/win32/wsock32.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.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 - Slightly better handling of external/internal names. - Minor bug fixes. - Minor API files update. * tools/winapi/config.pm, tools/winapi/winapi_extract, tools/winapi/winapi_fixup: Patrik Stridvall Several bug fixes and additions. * dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c, dlls/comctl32/draglist.c, dlls/comctl32/flatsb.c, dlls/comctl32/imagelist.c, dlls/comctl32/propsheet.c, dlls/commdlg/cdlg32.c, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/filetitle.c, dlls/commdlg/finddlg32.c, dlls/commdlg/fontdlg.c, dlls/commdlg/generic.c, dlls/commdlg/printdlg.c: Patrik Stridvall Documentation ordinal fixes. * dlls/x11drv/window.c, graphics/x11drv/bitblt.c, graphics/x11drv/palette.c, graphics/x11drv/xfont.c, windows/x11drv/clipboard.c: Dmitry Timoshkov Replace PROFILE_ functions by RegQueryValueExA in x11drv. * server/file.c: Bill Medland SetFilePointer correction; return ERROR_NEGATIVE_SEEK (broken by the 64 bit file access enhancement). * configure.in, tools/config.guess, tools/config.sub, configure: Patrik Stridvall Added support for autoconf 2.50. 2001-06-15 Alexandre Julliard * dlls/x11drv/winpos.c: clip_children: don't crash if child is not in list (can happen on WM_NCCREATE). * scheduler/sysdeps.c: Bang Jun-Young Use clone() if HAVE_CLONE is defined. * dlls/ntdll/exception.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_sparc.c: Ove Kaaven Block SIGINT and SIGALRM in signal handlers. 2001-06-14 Alexandre Julliard * memory/virtual.c: Added direct system call for unaligned mmap support on Linux. Support 64-bit file offsets in MapViewOfFileEx. * ole/ole2nls.c, misc/lstr.c, misc/Makefile.in, dlls/user/lstr.c: Dmitry Timoshkov Move IsCharAlphaA and IsCharAlphaNumericA to user32. Better implement some of user32 *Char* functions regarding locale. Remove kernel32 dependency on user32. * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Ulrich Czekalla Stub for InternetGetCookieA. * windows/nonclient.c, windows/spy.c, windows/sysmetrics.c, windows/win.c, windows/winpos.c: Dmitry Timoshkov Replace more PROFILE_ functions by RegQueryValueExA. * objects/dib.c: Marcus Meissner Multiple *ptr++ constructs in one expression have undefined behaviour, moved them out of the expression. 2001-06-13 Alexandre Julliard * win32/device.c, win32/kernel32.c, win32/newfns.c, scheduler/critsection.c, scheduler/handle.c, scheduler/pipe.c, scheduler/process.c, scheduler/synchro.c, scheduler/syslevel.c, scheduler/thread.c, scheduler/timer.c, win32/console.c, loader/ne/module.c, loader/ne/resource.c, memory/atom.c, memory/environ.c, memory/global.c, memory/heap.c, memory/local.c, memory/registry.c, memory/selector.c, memory/string.c, memory/virtual.c, misc/cpu.c, misc/lstr.c, misc/main.c, misc/registry.c, misc/version.c, ole/ole2nls.c, dlls/user/ddeml.c, dlls/user/lstr.c, dlls/winspool/info.c, files/change.c, files/directory.c, files/dos_fs.c, files/drive.c, files/file.c, files/profile.c, files/tape.c, loader/module.c, loader/pe_resource.c, loader/resource.c, loader/task.c, dlls/gdi/wing.c, dlls/kernel/comm.c, dlls/kernel/debugger.c, dlls/kernel/format_msg.c, dlls/kernel/string.c, dlls/kernel/sync.c, dlls/kernel/thunk.c, dlls/kernel/time.c, dlls/kernel/toolhelp.c, dlls/kernel/utthunk.c: Patrik Stridvall Documentation ordinal fixes (using winapi_fixup). * dlls/x11drv/winpos.c: Use the topmost parent that isn't clipping children as drawable, to make sure parent siblings are not clipped. * dlls/commdlg/fontdlg.c: Ian Pilcher Make ChooseFontW use ChooseFontA. * windows/x11drv/event.c: Force invalidating of siblings children on expose event. * tools/winapi/config.pm, tools/winapi/options.pm, tools/winapi/output.pm, tools/winapi/setup.pm, tools/winapi/util.pm, tools/winapi/winapi_extract, tools/winapi/winapi_fixup: Patrik Stridvall - New common code for the winapi tools. - New tool for extracting source code information. - New tool for automatically modifying (fixing) the source code. * dlls/gdi/printdrv.c: Dmitry Timoshkov Replace PROFILE_GetWineIniString by RegQueryValueExA. * dlls/dsound/dsound_main.c, include/dsound.h, include/winerror.h: Marcus Meissner Added definitions for IKsPropertySet, small stub implementation for IDirectSound3DBuffer. Fixed one pointer reference. * dlls/msvcrt/msvcrt.spec: Marcus Meissner _tzset just forwards to libc tzset(). * dlls/msacm/driver.c: Dmitry Timoshkov Protect against a driver misconfiguration. 2001-06-12 Alexandre Julliard * dlls/x11drv/window.c: Fixed handling of zero-sized client window. Create the X windows before sending WM_NCCREATE. 2001-06-11 Alexandre Julliard * graphics/x11drv/bitblt.c, graphics/x11drv/clipping.c, include/x11drv.h: Added counter for operations generating graphics exposures to the DC struct, to avoid waiting for expose events when none were generated. * dlls/msvcrt/msvcrt.spec, dlls/msvideo/msvideo_main.c, dlls/ole32/antimoniker.c, dlls/ole32/compobj.c, dlls/ole32/compositemoniker.c, dlls/ole32/itemmoniker.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/path.c, dlls/shlwapi/reg.c, dlls/wineps/afm.c, dlls/wineps/init.c, dlls/winmm/mmsystem.c, graphics/driver.c, misc/cpu.c, dlls/gdi/printdrv.c, dlls/glu32/glu.c: Patrik Stridvall Fixed some issues found by winapi_check. * dlls/msacm/driver.c, dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/msacm32_main.c, dlls/msacm/stream.c, dlls/ddraw/dclipper/main.c, dlls/ddraw/main.c, dlls/kernel/debugger.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c: Patrik Stridvall Documentation ordinal fixes (using winapi_fixup). * scheduler/sysdeps.c: Warning fix. * tools/winapi_check/modules.dat, tools/winapi_check/win16/avifile.api, tools/winapi_check/win32/avifil32.api, tools/winapi_check/win32/glu32.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/midimap.api, tools/winapi_check/win32/msvcrt.api, tools/winapi_check/win32/shlwapi.api, tools/winapi_check/win32/ttydrv.api, tools/winapi_check/win32/urlmon.api, tools/winapi_check/win32/wnaspi32.api, tools/winapi_check/win32/x11drv.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - Minor API files update. - Minor bug fixes. * dlls/winmm/mci.c: Marcus Meissner Alias and Device Type are case insensitive. * dlls/comctl32/rebar.c: Guy L. Albertelli - correct rebar window borders and handling of RBS_BORDERS, now matches native. - major redesign of band layout, now comes a lot closer to native for the test programs. - support RBS_VARHEIGHT for both on and off. - better debug info, and performance improvement 2001-06-08 Alexandre Julliard * tools/winebuild/relay.c: Bob Goodwin Mask out garbage in the upper half of stack pointer. * dlls/ntdll/debugtools.c, dlls/user/text.c: Andreas Mohr Limit output for certain text functions. * configure.in, include/acconfig.h, include/config.h.in, configure: Marcus Meissner Added check for broken mmap64. * dlls/make_dlls: Added script to update dlls dependencies. * configure.in, dlls/Makefile.in, dlls/glu32/.cvsignore, dlls/glu32/Makefile.in, dlls/glu32/glu.c, dlls/glu32/glu32.spec, tools/winebuild/build.h, Make.rules.in, configure: Marcus Meissner Implemented glu32.dll as libGLU.so forwarder. * include/win.h, windows/dce.c, dlls/x11drv/window.c: Removed WIN_NATIVE flag. * programs/wcmd/directory.c: Francois Gouget ULARGE_INTEGER may have a dummy struct name. * dlls/opengl32/opengl_ext.c: Lionel Ulmer Upgrade OpenGL thunks with latest informations from OpenGL spec file. 2001-06-07 Alexandre Julliard * loader/task.c, windows/clipboard.c, windows/dialog.c, windows/nonclient.c, windows/timer.c, windows/user.c: Removed unneeded inclusion of queue.h. * scheduler/process.c, tools/winebuild/README, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec32.c: Support for specifying stack size of Winelib apps. * dlls/avifil32/Makefile.in, dlls/avifil32/api.c, dlls/avifil32/avifil32.spec, dlls/avifil32/avifile.c, dlls/avifil32/avifile_private.h, dlls/avifil32/comentry.c, dlls/avifil32/iafile.c, dlls/avifil32/iastream.c, dlls/avifil32/igframe.c, dlls/avifil32/main.c, dlls/avifil32/string.c, include/vfw.h: Hidenori Takeshima Implemented some part of AVIFIL32. * tools/wineconf: Donn Miller Case insensitive search for win.ini. * dlls/kernel/kernel32.spec, win32/newfns.c: Marcus Meissner Stub for GetQueuedCompletionStatus. * dlls/commdlg/cdlg_Fr.rc: Gerard Patel Fixes to French translation of common dialog messages. 2001-06-06 Alexandre Julliard * controls/uitools.c: Susan Farley Changed the outer color of a push button frame from gray to white, matching the Windows look; modified the paint routine for the close button of a tool window to improve scalability. * dlls/ttydrv/ttydrv.spec, dlls/ttydrv/wnd.c, dlls/x11drv/window.c, dlls/x11drv/x11drv.spec, include/user.h, windows/win.c: Gerard Patel Use a flag to test if create structure is unicode. * configure.in, configure: Bang Jun-Young Replace "Linux dll" with "GNU style ELF dll". Remove support for NetBSD a.out dll. * BUGS, include/winnt.h, objects/region.c, programs/regapi/regapi.c, win32/file.c: Andreas Mohr Documentation updates. * dlls/version/info.c: Andreas Mohr Remove unneeded WINAPI. * configure, configure.in, dlls/wineps/truetype.c, include/config.h.in: Ian Pilcher Use autoconf checks to check for various FreeType headers. * tools/wrc/parser.y, tools/wrc/preproc.c, tools/wrc/parser.h, tools/wrc/parser.l: Francois Gouget Wrc no longer needs to parse C code. Remove c-junk handling code. * files/profile.c: Marcus Meissner Check for enough buffer space in PROFILE_GetSection(). * dlls/comctl32/propsheet.c: Marcus Meissner Implemented page skipping on PSN_SETACTIVE -1 return. * scheduler/process.c, include/module.h, loader/module.c, loader/pe_resource.c: Set low-order bit of module handle for LOAD_LIBRARY_AS_DATAFILE. Cleaned up a few HMODULE/HMODULE16 mismatches. * dlls/wineps/Makefile.in, dlls/wineps/data/AvantGarde_Book.c, dlls/wineps/data/AvantGarde_BookOblique.c, dlls/wineps/data/AvantGarde_Demi.c, dlls/wineps/data/AvantGarde_DemiOblique.c, dlls/wineps/data/Bookman_Demi.c, dlls/wineps/data/Bookman_DemiItalic.c, dlls/wineps/data/Bookman_Light.c, dlls/wineps/data/Bookman_LightItalic.c, dlls/wineps/data/Courier.c, dlls/wineps/data/Courier_Bold.c, dlls/wineps/data/Courier_BoldOblique.c, dlls/wineps/data/Courier_Oblique.c, dlls/wineps/data/Helvetica.c, dlls/wineps/data/Helvetica_Bold.c, dlls/wineps/data/Helvetica_BoldOblique.c, dlls/wineps/data/Helvetica_Condensed.c, dlls/wineps/data/Helvetica_Condensed_Bold.c, dlls/wineps/data/Helvetica_Condensed_BoldObl.c, dlls/wineps/data/Helvetica_Condensed_Oblique.c, dlls/wineps/data/Helvetica_Narrow.c, dlls/wineps/data/Helvetica_Narrow_Bold.c, dlls/wineps/data/Helvetica_Narrow_BoldOblique.c, dlls/wineps/data/Helvetica_Narrow_Oblique.c, dlls/wineps/data/Helvetica_Oblique.c, dlls/wineps/data/NewCenturySchlbk_Bold.c, dlls/wineps/data/NewCenturySchlbk_BoldItalic.c, dlls/wineps/data/NewCenturySchlbk_Italic.c, dlls/wineps/data/NewCenturySchlbk_Roman.c, dlls/wineps/data/Palatino_Bold.c, dlls/wineps/data/Palatino_BoldItalic.c, dlls/wineps/data/Palatino_Italic.c, dlls/wineps/data/Palatino_Roman.c, dlls/wineps/data/Symbol.c, dlls/wineps/data/Times_Bold.c, dlls/wineps/data/Times_BoldItalic.c, dlls/wineps/data/Times_Italic.c, dlls/wineps/data/Times_Roman.c, dlls/wineps/data/ZapfChancery_MediumItalic.c, dlls/wineps/data/ZapfDingbats.c, dlls/wineps/data/agl.c: Ian Pilcher Updated built-in metrics for core PostScript fonts. * include/gdi.h: Ian Pilcher Fixed typo in INTERNAL_YWSTODS. * dlls/wineps/truetype.c: Ian Pilcher Removed incorrect string length calculation. * dlls/user/user32.spec, include/winuser.h, windows/winpos.c: Bobby Bingham Stub implementation of AnimateWindow(). * include/wnaspi32.h, dlls/winaspi/winaspi32.c: Marcus Meissner Some ASPI fixes, SC_GET_DISK_INFO stubbed, but returning sucess, ASPI buffer allocation/free implemented. 2001-06-04 Alexandre Julliard * windows/painting.c, windows/scroll.c, windows/win.c, windows/winpos.c, windows/x11drv/clipboard.c, windows/x11drv/event.c, windows/x11drv/keyboard.c, windows/x11drv/mouse.c, windows/x11drv/wnd.c, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/wnd.c, dlls/user/user_main.c, dlls/x11drv/Makefile.in, dlls/x11drv/desktop.c, dlls/x11drv/scroll.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv.spec, graphics/x11drv/bitblt.c, graphics/x11drv/bitmap.c, graphics/x11drv/clipping.c, include/user.h, include/win.h, include/winpos.h, include/x11drv.h, windows/dce.c, windows/defwnd.c, windows/nonclient.c: Create an X window for every window, including children. Fixed non-client rectangle calculations in managed mode. Added support for icon window in managed mode. * tools/wrc/ppl.l, tools/wrc/ppy.y: Maciek Kaliszewski Added support for RCINCLUDE directive. Now wrc ignores everything except preprocessor directives from included *.h *.c files. * tools/wrc/ppy.y: Francois Gouget Fix the conversion of MS style '#line' directives to gcc style. * programs/wcmd/ChangeLog, programs/wcmd/README, programs/wcmd/builtins.c, programs/wcmd/directory.c, programs/wcmd/wcmd.h, programs/wcmd/wcmdmain.c: Dave Pickles - Report file and directory sizes using 64-bit arithmetic (like NT). - Handle pipes in commands. * tools/winemaker: Francois Gouget INSTALL_LIBRARY does not exist, use INSTALL_PROGRAM. Fix handling of the INSTALL* variables. Winelib applications don't need to link with X, i386, ossaudio, xpg4, mmap, util, dl or curses. Only wine does (normally). Remove YACC & LEX variables (Make.rules.in). Winemaker's makefiles don't use ldconfig. * windows/nonclient.c: Dmitry Timoshkov Remove optimization in NC_HandleNCActivate. * windows/spy.c: Guy L. Albertelli Display extra data for WM_NOTIFY that use NMCOMBOEX{A|W}. 2001-05-31 Alexandre Julliard * controls/combo.c: Susan Farley Disable the edit box when created with WS_DISABLED. * dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec, include/urlmon.h: Malte Starostik Implemented some very basic functionality. * Make.rules.in, dlls/gdi/Makefile.in, dlls/kernel/Makefile.in, dlls/user/Makefile.in: Dmitry Timoshkov List 16-bit resources separately as RC_SRCS16. * configure, configure.in: Marcus Meissner If you have freetype1 and freetype2 coexisting, freetype-config should be freetype2-config. * dlls/wineps/afm.c: Ian Pilcher Fixed font metric rounding error. * dlls/comctl32/toolbar.c: Francois Gouget TOOLBAR_InsertButtonA: If iString==-1 then don't use it as a pointer. * dlls/msvcrt/file.c: Francois Gouget fclose should return EOF (-1) if an error condition exists. * dlls/msvcrt/data.c: Francois Gouget Call FreeEnvironmentStrings when msvcrt is unloaded. * dlls/msvcrt/cpp.c, dlls/msvcrt/msvcrt.spec, include/msvcrt/eh.h: Francois Gouget Added msvcrt/eh.h. Implemented unexpected, terminate and set_unexpected/terminate. * dlls/oleaut32/variant.c, include/oleauto.h: Francois Gouget Fix the VarXxxFromCy conversions. Remove (commented-out) references to inexistent VarXxxFrom32 functions. Remove obsolete '32' suffixes. * dlls/ddraw/ddraw/main.c: Jason McMullan More accurate stub of DDRAW:GetFourCCCodes. * controls/scroll.c: Bobby Bingham Fixed scrollbars return value to the SBM_SETRANGE and SBM_SETRANGEREDRAW messages. 2001-05-29 Alexandre Julliard * dlls/wineps/data/NewCenturySchlbk_Bold.c, dlls/wineps/data/NewCenturySchlbk_BoldItalic.c, dlls/wineps/data/NewCenturySchlbk_Italic.c, dlls/wineps/data/NewCenturySchlbk_Roman.c, dlls/wineps/data/Palatino_Bold.c, dlls/wineps/data/Palatino_BoldItalic.c, dlls/wineps/data/Palatino_Italic.c, dlls/wineps/data/Palatino_Roman.c, dlls/wineps/data/Symbol.c, dlls/wineps/data/Times_Bold.c, dlls/wineps/data/Times_BoldItalic.c, dlls/wineps/data/Times_Italic.c, dlls/wineps/data/Times_Roman.c, dlls/wineps/data/ZapfChancery_MediumItalic.c, dlls/wineps/data/ZapfDingbats.c, dlls/wineps/data/agl.c, dlls/wineps/Makefile.in, dlls/wineps/afm.c, dlls/wineps/afm2c.c, dlls/wineps/agl.c, dlls/wineps/data/AvantGarde_Book.c, dlls/wineps/data/AvantGarde_BookOblique.c, dlls/wineps/data/AvantGarde_Demi.c, dlls/wineps/data/AvantGarde_DemiOblique.c, dlls/wineps/data/Bookman_Demi.c, dlls/wineps/data/Bookman_DemiItalic.c, dlls/wineps/data/Bookman_Light.c, dlls/wineps/data/Bookman_LightItalic.c, dlls/wineps/data/Courier.c, dlls/wineps/data/Courier_Bold.c, dlls/wineps/data/Courier_BoldOblique.c, dlls/wineps/data/Courier_Oblique.c, dlls/wineps/data/Helvetica.c, dlls/wineps/data/Helvetica_Bold.c, dlls/wineps/data/Helvetica_BoldOblique.c, dlls/wineps/data/Helvetica_Condensed.c, dlls/wineps/data/Helvetica_Condensed_Bold.c, dlls/wineps/data/Helvetica_Condensed_BoldObl.c, dlls/wineps/data/Helvetica_Condensed_Oblique.c, dlls/wineps/data/Helvetica_Narrow.c, dlls/wineps/data/Helvetica_Narrow_Bold.c, dlls/wineps/data/Helvetica_Narrow_BoldOblique.c, dlls/wineps/data/Helvetica_Narrow_Oblique.c, dlls/wineps/data/Helvetica_Oblique.c, dlls/wineps/mkagl.c, dlls/wineps/psdrv.h, configure, configure.in: Ian Pilcher Build AFM data for core PostScript fonts into WINEPS. * include/acconfig.h, include/config.h.in, include/wine/port.h, library/port.c, server/file.c, win32/file.c, configure, configure.in, files/file.c: Marcus Meissner Drop any file64 functions, try to use system supplied 64-bit mode by using proper defines. * ole/ole2nls.c: Huw D M Davies When reading resources in NLS_LoadStringExW we should map SUBLANG_NEUTRAL to SUBLANG_DEFAULT. * dlls/winmm/wineoss/audio.c: Huw D M Davies Attempt to write fragments and check whether we can notify the client after every message. * dlls/shlwapi/path.c, include/shlwapi.h: Marcus Meissner First try at implementing PathGetCharType(). * tools/wrc/ppy.y: Maciek Kaliszewski Added better GCC-style #line directive handling. * tools/winemaker: Francois Gouget configure.in: Remove unnecessary AC_PROG_RANLIB check Make.rules.in: Add missing CXX variable Cosmetic changes * library/Makefile.in: Francois Gouget Link libwine.so with $(LIBS). * dlls/wineps/truetype.c: Ian Pilcher Use macros for FreeType includes. 2001-05-25 Alexandre Julliard * files/dos_fs.c: Marcus Meissner Don't just assume everything is a Dos Device, or mirc will not get any DCC sends. * dlls/comctl32/datetime.c: Gerard Patel Implemented DTM_GET/SETRANGE. 2001-05-24 Alexandre Julliard * dlls/kernel/Makefile.in, dlls/kernel/kernel32.spec, dlls/kernel/kernel_main.c, dlls/kernel/string.c: Dmitry Timoshkov Remove kernel32 dependency on user32 by implementing family of k32 functions as callouts to user32. * include/winerror.h: Andreas Mohr Added an unknown VxD error code. * documentation/installation-und-konfiguration.german: Andreas Mohr Updated German documentation. * dlls/dsound/dsound_main.c, dlls/winmm/joystick/joystick.c, dlls/winmm/time.c, loader/task.c: Andreas Mohr Spelling fixes. * dlls/user/user.spec, windows/message.c: Andreas Mohr Get rid of GetCurrentTime16(). * include/snoop.h, loader/elf.c, loader/pe_image.c, relay32/snoop.c: Andreas Mohr Make snoop code take ordinal base into account. * dlls/kernel/comm.c, include/wine/winuser16.h: Andreas Mohr - BuildCommDCB16() uses int instead of BOOL - OpenComm16() should return IE_BADID for *all* invalid strings * dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, dlls/shlwapi/url.c: Andreas Mohr - add stubs SHLWAPI_294, UrlApplySchemeW - correct SHLWAPI_151 parameters - implemented StrTrimA * dlls/setupapi/virtcopy.c: Andreas Mohr VcpQueueDelete() does not have a LPEXPANDVTBL parameter. * win32/device.c: Andreas Mohr - add handler for VCD VxD ("virtual comm device" ?) - SetLastError( ERROR_INVALID_FUNCTION ); for unimplemented functions - spelling fixes * dlls/wineps/psdrv.h: Ian Pilcher Added AvgCharWidth member to font metrics. * dlls/wineps/agl.c: Ian Pilcher Updated PostScript glyph name data. * misc/version.c: James Juran Only fail with ERROR_INSUFFICIENT_BUFFER if the structure size is actually too small. 2001-05-22 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c: Dmitry Timoshkov Fixed some issues. * include/winpos.h, windows/message.c, windows/winpos.c: Make WIN_WindowFromPoint take a POINT instead of a POINT16. Small bug fix in scope window handling. Always check for message when QS_SENDMESSAGE is set. * documentation/configuring.sgml, documentation/multimedia.sgml, documentation/status/multimedia, documentation/wine-doc.sgml: Eric Pouech Updated multimedia documentation. * dlls/msacm/driver.c, dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/internal.c, dlls/msacm/msacm32_main.c, dlls/msacm/pcmconverter.c, dlls/msacm/stream.c, dlls/msacm/wineacm.h: Eric Pouech Mimic more closely Windows' behavior (a MSACM driver is always opened twice: first time for info gathering, subsequent openings for conversions). Added format suggestion for PCM. Cleaned up internal structures. * dlls/winmm/midimap/midimap.c, dlls/winmm/midimap/midimap.drv.spec, winedefault.reg: Eric Pouech Made midi mapper more robust. Added channel to device/channel mapping. Removed midiIn mapping (it doesn't exist on Windows). * dlls/winmm/lolvldrv.c, documentation/samples/config: Eric Pouech Now loading the default setting for low level drivers from registry. * misc/cdrom.c: Francois Gouget Use memset rather than bzero. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c: Mike Bond Fixed spawnlp and added exec variants. * dlls/kernel/comm.c: Dmitry Timoshkov Small clean up. * graphics/win16drv/init.c, objects/gdiobj.c, objects/metafile.c: Dmitry Timoshkov Fixed some dll separation issues. * dlls/msvcrt/data.c: Eric Pouech Correctly generate the environment global variables. 2001-05-21 Alexandre Julliard * server/queue.c: Gerard Patel Take message filters into account for WM_PAINT too. * debugger/break.c, debugger/debugger.h, debugger/info.c, debugger/stabs.c, debugger/winedbg.c: Eric Pouech Added the notion of delayed breakpoint (when a function is not loaded yet, the name will be tried again for each new loaded module). * dlls/commdlg/cdlg_Fr.rc: Eric Pouech Some French translations. * dlls/winmm/wavemap/wavemap.c: Eric Pouech Fixed open requests in case of error (if the physical device failed to open, the ACM stream was left opened). Added mapping search for waveIn devices. * windows/sysparams.c: Eric Pouech Added basic support for SPI_GETSCREENREADER. 2001-05-19 Alexandre Julliard * server/queue.c: Eric Pouech Fixed reply_message when there is no received message. * windows/timer.c: Gerard Patel Fixed SetTimer for hwnd == 0. * debugger/hash.c: James Juran Accept responses from 1..n when choosing from multiple symbols to match the input labels. 2001-05-18 Alexandre Julliard * server/queue.c: Fixed typo in message filter check. * include/thread.h, loader/task.c, scheduler/thread.c: Removed THREAD_IsWin16. * controls/menu.c: Ulrich Czekalla Fix menu behaviour when escape is pressed. * win32/file.c: Marcus Meissner Do not return FALSE on SetFileAttributes() failure (in readonly directory setups). * server/queue.c, server/request.h, server/thread.c, server/trace.c, windows/clipboard.c, windows/message.c, windows/queue.c, windows/timer.c, windows/win.c, windows/x11drv/event.c, dlls/user/user32.spec, dlls/user/user_main.c, dlls/x11drv/x11drv.spec, include/message.h, include/queue.h, include/server.h, include/user.h, include/winuser.h: Moved the major part of message queue and window timer handling into the server. Implemented MsgWaitForMultipleObjectsEx. * windows/x11drv/clipboard.c, windows/defwnd.c, documentation/winelib-porting.sgml, dlls/oleaut32/variant.c, dlls/dplayx/dplaysp.c, dlls/comctl32/monthcal.c: Francois Gouget Spelling typos. * dlls/x11drv/xvidmode.c: Marcus Meissner Fixed compile if we do not have the xf86vidmode extension. * dlls/shell32/shellpath.c: Marcus Meissner The shell special folder path creation did not mkdir the last component of the path if it did not end with \. * scheduler/thread.c, include/winnt.h: Marcus Meissner Enhanced SetThreadExecutionState stub. * dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c: Mike Bond Implementation of spawnl and spawnlp. * dlls/winspool/info.c: Marcus Meissner Use older cupsGetPrinters() API so we support CUPS 1.0.x too (as found in Debian Potato). Only set the default printer if there is no entry yet or it is not WINEPS driven. * windows/input.c: Jukka Heinonen Keyboard events did not update AsyncKeyStateTable, now they do. * controls/edit.c, dlls/imm32/imm.c: James Juran Make sure we set dwOSVersionInfoSize before calling GetVersionInfo(). 2001-05-16 Alexandre Julliard * dlls/x11drv/dga2.c: Marcus Meissner Adopted to new threaded displays. * dlls/wineps/Makefile.in, dlls/wineps/afm.c, dlls/wineps/psdrv.h, dlls/wineps/truetype.c, include/acconfig.h, include/config.h.in, configure, configure.in: Ian Pilcher Read metrics from TrueType fonts. * windows/mdi.c: Bill Medland Only measure child rectangles of visible children when deciding about scroll bars. * dlls/winspool/info.c: Ian Pilcher Disable /etc/printcap parsing if no PPD file specified. * dlls/wineps/afm.c, dlls/wineps/psdrv.h: Ian Pilcher Guesstimate Windows font metrics for Type 1 fonts. * windows/x11drv/clipboard.c, windows/x11drv/event.c, windows/x11drv/keyboard.c, windows/x11drv/mouse.c, windows/x11drv/wnd.c, windows/message.c, windows/queue.c, windows/user.c, windows/win.c, windows/winpos.c, dlls/user/display.c, dlls/user/user_main.c, dlls/x11drv/Makefile.in, dlls/x11drv/desktop.c, dlls/x11drv/dga2.c, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c, include/thread.h, include/user.h, include/x11drv.h, controls/desktop.c, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/user.c: Create an X connection for each thread, and process X events in the thread that created the corresponding X window. Spawn a separate thread to run the desktop message loop in desktop mode. * include/wine/port.h, library/port.c: Warnings fixes. 2001-05-14 Alexandre Julliard * library/port.c, loader/dos/dosmod.c, loader/ne/resource.c, loader/ne/segment.c, msdos/int13.c, msdos/int21.c, server/console.c, server/file.c, server/pipe.c, server/serial.c, server/sock.c, win32/device.c, win32/file.c, windows/clipboard.c, dlls/winaspi/aspi.c, dlls/winaspi/winaspi16.c, dlls/winaspi/winaspi32.c, dlls/winedos/dosvm.c, dlls/wineps/afm.c, dlls/wininet/ftp.c, files/file.c, graphics/x11drv/xfont.c, include/acconfig.h, include/config.h.in, include/wine/port.h, library/loader.c, configure, configure.in, dlls/shell32/shelllink.c: Marcus Meissner Implemented 64bit file size handling. Removed several unneeded sys/stat.h includes. * windows/queue.c: Clear owner of system message queue to avoid freeing it when the first task exits. * documentation/printing.sgml: Ian Pilcher Add closing tags. * include/winsock.h: Bang Jun-Young Define HAVE_SYS_SOCKET_H on NetBSD and FreeBSD. * controls/menu.c: Gerard Patel Test if the menu is destroyed before displaying a menu item. 2001-05-11 Alexandre Julliard * controls/menu.c, dlls/user/controls.h, windows/user.c, windows/win.c: Create a new window for the top popup menu on every new menu tracking, so that the window belongs to the right thread. * dlls/wineps/font.c, files/drive.c, graphics/enhmetafiledrv/init.c, graphics/win16drv/font.c, graphics/x11drv/xfont.c, objects/font.c, controls/listbox.c, dlls/avifil32/avifile.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/commdlg/filedlg.c, dlls/msvcrt/data.c, dlls/msvcrt/dir.c, dlls/oleaut32/typelib.c, dlls/shell32/shellord.c: Francois Gouget Remove unnecessary single quoting of debugstr_xxx strings. * documentation/configuring.sgml, documentation/running.sgml: Francois Gouget Add a warning saying that the x11drv section is getting outdated. Add templates for missing configuration options to the x11drv section. Remove obsolete command-line options. * include/imagehlp.h, include/winbase.h: Francois Gouget Removed some more obsolete 32 suffixes. * dlls/wineps/afm.c: Ian Pilcher Eliminate __compar_fn_t. * dlls/ddraw/d3ddevice/mesa.c, dlls/opengl32/wgl.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv_main.c, dlls/x11drv/xvidmode.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/oembitmap.c, graphics/x11drv/opengl.c, graphics/x11drv/palette.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c, include/x11drv.h, windows/x11drv/clipboard.c, windows/x11drv/wnd.c: Renamed display to gdi_display where it is used for GDI operations, to allow supporting multiple X connections. 2001-05-10 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20010510. ---------------------------------------------------------------- 2001-05-10 Alexandre Julliard * dlls/x11drv/window.c, windows/win.c: Fixed reparenting to desktop (found by Gerard Patel). * loader/module.c: Really free the memory on dll unload. * dlls/user/user_main.c, dlls/x11drv/window.c, dlls/x11drv/x11drv.spec, include/user.h, include/win.h, windows/scroll.c, windows/x11drv/wnd.c, dlls/ttydrv/wnd.c: Moved ScrollWindowEx implementation to the graphics driver. * tools/winelauncher.in: Francois Gouget Don't start applications in the background to avoid breaking console applications. * include/wine/obj_oleaut.h: Francois Gouget The declaration of DECIMAL in VARIANT happens in the wrong place. Comment out for now. * documentation/printing.sgml: Marcus Meissner Changed the printing documentation to include CUPS and LPR support, also give some hints on AFM files in system and generic.ppd. * documentation/samples/generic.ppd: Marcus Meissner Added a generic level 3 color postscript PPD (for /etc/printcap based printers). * winedefault.reg: Ove Kaaven Added version entry for DirectX 7.0a. 2001-05-09 Alexandre Julliard * windows/x11drv/event.c: Removed XShmCompletion event support (no longer used). * programs/winetest/Makefile.PL, programs/winetest/Makefile.in, programs/winetest/wine.xs: Got rid of MakeMaker so we can build outside the source tree. * scheduler/client.c: Allow WINESERVER to specify a relative path. * dlls/wsock32/socket.c: Bang Jun-Young On NetBSD if_type is defined as a macro in /usr/include/net/if.h. Undefine it to avoid a conflict. * dlls/ntdll/signal_i386.c: Bang Jun-Young Do not use internal exception codes defined by Wine with NetBSD, rather use native ones from /usr/include/i386/trap.h. Note that T_MCHK is not supported by NetBSD. * server/context_i386.c: Bang Jun-Young Added support for NetBSD. * include/ddraw.h: Ove Kaaven Fixed the IDirectDrawSurface4 interface declaration to conform a bit more with the DirectX SDK headers' idea of what the interface looks like. * dlls/kernel/format_msg.c: Duane Clark Add tests for the flag FORMAT_MESSAGE_IGNORE_INSERTS, and act accordingly. * windows/focus.c, windows/message.c, windows/win.c, windows/winpos.c: Use 32-bit hook functions where possible. Cleaned up a couple of 16-bit type uses. * windows/clipboard.c, windows/defwnd.c, windows/scroll.c, windows/x11drv/event.c, windows/x11drv/keyboard.c, windows/x11drv/wineclipsrv.c, memory/global.c, msdos/int10.c, msdos/int21.c, msdos/ioports.c, objects/palette.c, dlls/user/resource.c, dlls/version/install.c, dlls/winaspi/aspi.c, dlls/wininet/internet.c, dlls/winmm/driver.c, dlls/winmm/mci.c, dlls/winmm/mciavi/mmoutput.c, dlls/winmm/mciavi/wnd.c, dlls/winmm/mcicda/mcicda.c, dlls/winmm/wineoss/audio.c, files/profile.c, graphics/win16drv/init.c, graphics/x11drv/palette.c, dlls/odbc32/proxyodbc.c, dlls/ole32/bindctx.c, dlls/ole32/compositemoniker.c, dlls/ole32/filemoniker.c, dlls/oleaut32/safearray.c, dlls/oleaut32/typelib.c, dlls/psapi/psapi_main.c, dlls/rpcrt4/rpcrt4_main.c, dlls/shell32/shell32_main.c, dlls/shell32/shlfileop.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, dlls/shlwapi/shlwapi_main.c, dlls/ttydrv/palette.c, dlls/comctl32/treeview.c, dlls/commdlg/filedlg.c, dlls/ddraw/ddraw/main.c, dlls/dinput/mouse/main.c, dlls/dsound/dsound_main.c, dlls/imm32/imc.c, dlls/imm32/imewnd.c, dlls/imm32/imm.c, dlls/imm32/memory.c, dlls/kernel/utthunk.c, dlls/msvcrt/file.c, dlls/msvcrt/locale.c, dlls/msvcrt/math.c, controls/menu.c, dlls/comctl32/commctrl.c, dlls/comctl32/listview.c: Francois Gouget Add '\n' at the end of traces. * include/nonclient.h, include/user.h, include/win.h, include/x11drv.h, windows/nonclient.c, windows/x11drv/wnd.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/wnd.c, dlls/user/user_main.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.spec: Moved window move/resize syscommand handling to the graphics driver. * controls/combo.c: Mike McCormack Only draw the padding area of the combo box, don't erase the combo selection text. * tools/specmaker/msmangle.c: Francois Gouget Renamed 'operator_compliment' to 'operator_complement'. * controls/edit.c: Ulrich Czekalla Fixed a paint problem reported by Mike McCormack. * dlls/wineps/afm.c, dlls/wineps/agl.c, dlls/wineps/glyphlist.c, dlls/wineps/psdrv.h: Ian Pilcher Unicode encodings for PostScript fonts. * dlls/gdi/printdrv.c, dlls/wineps/init.c, dlls/winspool/info.c, dlls/winspool/wspool.c: Marcus Meissner Implemented /etc/printcap based printing support. Changed 'CUPS:printername' to 'LPR:printername'. Some fixes in AddPrinterW(). * misc/version.c: James Juran Add missing newline to WARN messages. 2001-05-08 Alexandre Julliard * loader/pe_image.c, relay32/relay386.c, relay32/snoop.c, scheduler/process.c, scheduler/thread.c, windows/winproc.c, dlls/ntdll/debugtools.c, dlls/ntdll/ntdll.spec, if1632/relay.c: Francois Gouget Print the tid in the first column when +tid is specified. * dlls/wineps/escape.c, graphics/escape.c, include/wingdi.h: Marcus Meissner PS passthrough was sending 2 bytes too many. Added GETSETPRINTORIENT stub. Implemented EPSPRINTING mode changer. 2001-05-07 Alexandre Julliard * dlls/wineps/escape.c: Ian Pilcher Make PSDRV_Escape(GETPHYSPAGESIZE) return physical size. * dlls/wineps/init.c: Ian Pilcher Fixed rounding error in page size calculation. * dlls/commdlg/printdlg.c: Duane Clark Swap portrait/landscape icon when button clicked. * documentation/samples/config: Duane Clark Added entry for printing to a file. * graphics/x11drv/codepage.c, include/Makefile.in, include/minmax.h, include/windef.h: Francois Gouget Added the minmax.h header (VC6). Added support for NOMINMAX. Remove __min/__max from windef.h, they belong to (msvcrt/)stdlib.h. * dlls/Makedll.rules.in: Marcus Meissner Sanity check for Makedll.rules.in -> Makedll.rules on whether to rerun configure. * configure.in, configure: Bang Jun-Young Add the NetBSD style errno location. Modify a message to give a bit more info when building Wine on NetBSD. * include/guiddef.h, include/objbase.h: Francois Gouget Added missing include directives. * tools/winemaker: Francois Gouget Remove the anonymous function parameter from generate_list calls when it is unnecessary. Modify the .spec.c rule to allow compilation out of $(TOPSRCDIR). * include/msvcrt/stdio.h, include/windows.h: Francois Gouget RC_INVOKED (&NOWINRES) special cases. * tools/wrc/wrc.c: Francois Gouget -l/-L were not renamed to -t/-T in the usage messages. * dlls/setupapi/virtcopy.c: Chris Morgan Fix duplicate directories being concatenated to buffer in VcpExplain16(). Added a few useful TRACE lines. Enabled a ifdef'ed out call to CopyFile() inside of VCP_CopyFiles() so files are copied to a users directories during an install. * dlls/winmm/wineoss/oss.c: Bang Jun-Young Call OSS_MidiInit() only if HAVE_OSS_MIDI is defined. * dlls/winmm/wineoss/mixer.c: Bang Jun-Young Include missing errno.h. * dlls/commdlg/fontdlg.c: Marcus Meissner Drop flags during font enumeration for font chooser if we get no matches. * dlls/gdi/gdi.spec: Marcus Meissner Changed some ptr into str. * include/wine/obj_base.h, include/wine/obj_oleaut.h, include/wtypes.h, include/oleauto.h: Francois Gouget Added support for the DECIMAL type. Names are no longer suffixed with 32! Removed it. * dlls/winsock/socket.c: Francois Gouget Fixed incorrect cast in WSOCK32_send and WSOCK32_recvfrom. * include/winerror.h: Francois Gouget Added IS_ERROR. * dlls/wineps/init.c: Marcus Meissner Report that we have 2^16 colors, so PowerPoint97 prints colored slides. * dlls/wineps/text.c: Marcus Meissner For underlining and striking out text we need to send a 'newpath' or have the whole page filled with black. * dlls/wineps/rsrc.rc, dlls/wineps/wps_De.rc: Marcus Meissner Paper dialog translated to German. * files/profile.c: Francois Gouget Potential buffer overflow in PROFILE_CopyEntry. 2001-05-05 Alexandre Julliard * windows/x11drv/keyboard.c, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/user.c, dlls/user/user_main.c, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c, include/keyboard.h, include/user.h, windows/keyboard.c, windows/sysparams.c: Remove Get/SetBeepActive from USER driver and manage it locally inside SystemParametersInfo. * dlls/commdlg/printdlg.c: Marcus Meissner Fixed WM_COMMAND notification codes for 16 bit PrintDlg. * debugger/winedbg.c, debugger/winedbg.spec: Delay import of user32 to allow debugging crashes in user init code. * dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_En.rc, dlls/commdlg/printdlg.c: Marcus Meissner Implemented large parts of PageSetupDlgA. * dlls/commdlg/fontdlg.c: Marcus Meissner Debug output for flags, select first available height and weight when selecting a font. 2001-05-03 Alexandre Julliard * windows/dce.c: Make sure we recompute the visible region in DC hook. * dlls/wineps/afm.c, dlls/wineps/init.c, dlls/wineps/psdrv.h: Ian Pilcher Misc. error checking in PostScript driver. * dlls/comctl32/pager.c: Susan Farley Implement autorepeat scrolling when button is held down. Improvements to size and appearance of buttons. * documentation/Makefile.in: Francois Gouget Clean should also delete the pdf, ps and .out(?) files. * documentation/make_winehq: Francois Gouget Fix the www.winehq.com directory handling. * debugger/break.c, debugger/dbg.y, debugger/debugger.h, debugger/hash.c, debugger/module.c, debugger/winedbg.c: Eric Pouech Started handling of several symbols with the same name. Fixed trampoline identification. * documentation/debugger.sgml: Eric Pouech Added a small section about expressions in winedbg. 2001-05-02 Alexandre Julliard * loader/module.c: Uncommented the VirtualFree call on dll unload. * configure, configure.in: Ove Kaaven Fixed the OSMesa configure check so that OSMesa won't be linked in if it's incompatible with the GLX implementation (e.g. nvidia). Removed the old "OSMesa not found" warning. * dlls/commdlg/printdlg.c: Marcus Meissner Fixed PrintDlg so the devnames struct contains the correct driver printer and port names. * documentation/debugging.sgml: Simeon Pilgrim Typo in stub-reporting style description * dlls/msvcrt/msvcrt.spec: Francois Gouget ntdll._iswctype should be ntdll.iswctype. * controls/combo.c: Marcus Meissner Do not HeapFree() memory not allocated by us in COMBO_GetText. Convert return value from LB_GETTEXT into COMBO_GetText. 2001-04-30 Alexandre Julliard * configure, configure.in: Marcus Meissner Added check for cups/cups.h header file and a warning if we find only runtime libraries, but no headers. * controls/combo.c: Mike McCormack Draw the padding area of a combo box. * dlls/wineps/init.c: Ian Pilcher Check for errors in PSDRV_Init. * windows/x11drv/event.c: Marcus Meissner Made checks in _get_common_ancestor a bit stricter to avoid XQueryTree XErrors. * dlls/comctl32/comctl32undoc.c, dlls/comctl32/comctl32.spec: Chris Morgan Implement COMCTL32_StrToIntW() using NTDLL's _wtoi. 2001-04-27 Alexandre Julliard * server/context_i386.c, server/context_sparc.c, server/ptrace.c, server/thread.h: Ove Kaaven Preserve the TF (Trap Flag) when continuing from a ptraced suspend. * controls/desktop.c, controls/edit.c, controls/menu.c, controls/scroll.c, controls/uitools.c, dlls/kernel/kernel.spec, dlls/win32s/win32s16.spec, scheduler/process.c, scheduler/syslevel.c, win32/file.c, windows/mdi.c: Patrik Stridvall Documentation name fixes. * dlls/winedos/dosvm.c, dlls/winedos/module.c: Patrik Stridvall Added documentation. * include/acconfig.h, include/config.h.in, configure, configure.in, dlls/commdlg/printdlg.c, dlls/gdi/printdrv.c, dlls/wineps/Makefile.in, dlls/wineps/init.c, dlls/winspool/Makefile.in, dlls/winspool/info.c, dlls/winspool/wspool.c: Marcus Meissner Added CUPS printing support. * dlls/ddraw/ddraw_private.h: Francois Gouget DDRAW_{XF86DGA2,XVidMode}_Init was moved to dlls/x11drv. * dlls/x11drv/dga2.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv_main.c, dlls/x11drv/xvidmode.c: Ove Kaaven Reimplemented DXGrab with improvements; it no longer depends on XVidMode, and it releases the grab if the app exits full-screen DirectDraw. Also made the UseDGA option available for AppDefaults configuration. 2001-04-25 Alexandre Julliard * windows/cursoricon.c, windows/syscolor.c, dlls/msvcrt/msvcrt.spec, dlls/ole32/storage32.c, dlls/setupapi/virtcopy.c, dlls/wintrust/wintrust_main.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv.spec: Patrik Stridvall Fixed some issues found by winapi_check. * windows/x11drv/wnd.c: Avoid crash on deleted windows. * tools/winapi_check/modules.dat, tools/winapi_check/win16/compobj.api, tools/winapi_check/win16/setupx.api, tools/winapi_check/win16/user.api, tools/winapi_check/win32/crtdll.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/msvcrt.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/ole32.api, tools/winapi_check/win32/ttydrv.api, tools/winapi_check/win32/user32.api, tools/winapi_check/win32/version.api, tools/winapi_check/win32/wintrust.api, tools/winapi_check/win32/ws2_32.api, tools/winapi_check/win32/x11drv.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm: Patrik Stridvall - Minor API files update - Minor bug fixes * dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c: Gael de Chalendar Corrected a typo in spec file and added some stubs. * dlls/winmm/mmsystem.c: James Hatheway PlaySoundA should return TRUE when it stops playing sound. 2001-04-24 Alexandre Julliard * windows/x11drv/event.c, windows/x11drv/keyboard.c, windows/x11drv/wnd.c, dlls/ttydrv/dc.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/user.c, dlls/ttydrv/wnd.c, dlls/user/user_main.c, dlls/x11drv/Makefile.in, dlls/x11drv/window.c, dlls/x11drv/winpos.c, dlls/x11drv/x11drv.spec, include/dce.h, include/message.h, include/user.h, include/win.h, include/winpos.h, include/x11drv.h, windows/Makefile.in, windows/dce.c, windows/defwnd.c, windows/event.c, windows/focus.c, windows/message.c, windows/painting.c, windows/scroll.c, windows/win.c, windows/winpos.c: Moved most of the implementation of SetWindowPos and SetDrawable into the user driver, and the corresponding code into the dlls/x11drv directory. Moved a few functions out of the window driver into the user driver. Plus a few related cleanups. * dlls/ddraw/d3dviewport.c, dlls/dinput/keyboard/main.c, dlls/opengl32/wgl.c: Small cleanups. * relay32/relay386.c: Marcus Meissner Drop SYSLEVEL checks from relay debugging, since they break debugging builtin GDI dlls. * include/msvcrt/stdlib.h: Francois Gouget Don't use Windows types like LONGLONG in msvcrt headers. * debugger/db_disasm.c: Marcus Meissner Added some more disassembly instructions (notably rdtsc, which is used by several programs) and more MMX. 2001-04-23 Alexandre Julliard * win32/except.c: Francois Gouget Use snprintf to prevent buffer overflows in format_exception_msg. * include/tchar.h: Francois Gouget Prevent use by Wine's source. Added missing 'function' definitions (macros really). * dlls/msvcrt/time.c: Francois Gouget We must not free the pointer returned by localtime (especially not with MSVCRT_free!). We no longer need to include stdlib.h. * include/msvcrt/stddef.h: Francois Gouget Added offsetof (for the MFC). * dlls/msvcrt/console.c, dlls/msvcrt/cpp.c, dlls/msvcrt/heap.c, dlls/msvcrt/misc.c, dlls/msvcrt/string.c, include/msvcrt/malloc.h, include/msvcrt/search.h, include/msvcrt/stdlib.h: Francois Gouget Add msvcrt/malloc.h (for the MFC). Add msvcrt/search.h. Move duplicated definitions to the new headers. Use malloc.h instead of stdlib.h when sensible. * include/msvcrt/crtdbg.h: Francois Gouget Provide limited support for the msvcrt debug API. * tools/winemaker: Francois Gouget Files with special characters may not have been renamed. Try to match both forms. * dlls/msacm/driver.c, dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/internal.c, dlls/msacm/msacm32_main.c, dlls/msacm/pcmconverter.c, dlls/msacm/stream.c, dlls/msacm/wineacm.h: Eric Pouech Added cache for drivers information. Fixed a few bugs (memory handling, version info...) Enhanced validity checks. * dlls/wineps/glyphlist.c, dlls/wineps/psdrv.h: Ian Pilcher Use typecasts to suppress compiler warnings. * objects/font.c: Marcus Meissner Implemented GetCharABCWidths with GetCharWidth. * objects/region.c: Marcus Meissner Extracted MEMCHECK into an extra function to avoid a gcc-2.95.2 compiler bug. * debugger/db_disasm.c: Marcus Meissner Added some MMX disassembly to the debugger. * debugger/expr.c: Eric Pouech Fixed getting a variable address. * debugger/types.c: Eric Pouech Fixed float variables display. 2001-04-20 Alexandre Julliard * files/dos_fs.c: Dominik Strasser Allow illegal handles in FindClose. * dlls/ole32/bindctx.c, dlls/ole32/compositemoniker.c, dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c, files/drive.c, objects/dib.c, tools/wineconf, debugger/ext_debugger.c, dlls/comctl32/animate.c, dlls/ole32/antimoniker.c: Andreas Mohr Spelling fixes. * windows/property.c: Andreas Mohr - make sure that we really use the correct amount of parameters each time for the callback function - always pass strings instead of atoms to Win32 enum proc - fix trace crash due to string format displaying of atom (LOWORD only) handle * dlls/wineps/Makefile.in, dlls/wineps/afm.c, dlls/wineps/agl.c, dlls/wineps/glyphlist.c, dlls/wineps/psdrv.h: Ian Pilcher Store each glyph name only once in PostScript driver. * objects/brush.c: Andreas Mohr Take a stab at implementing SetSolidBrush16. * dlls/comctl32/imagelist.c: Andreas Mohr Fixed off by one error in ImageList_DrawIndirect(). Fixed some missing NULL HIMAGELIST check (fixes Microsoft Works startup). * dlls/winmm/wineoss/mixer.c: James Hatheway Make sure to return our variable with the correct return value. * memory/virtual.c: Dmitry Timoshkov VirtualProtect should return correct old protection flags. * dlls/comctl32/rebar.c: Guy L. Albertelli - Notify parent of child size changes when changes are from WM_SIZE messages. - If more than one band exists, then first band may have a gripper. - Fix the band layout algorithm to handle some issues from WinARA. * dlls/comctl32/comboex.c: Guy L. Albertelli - Implement CB_{GET|SET}ITEMDATA for CombBoxEx. - Implement WM_NCCREATE to remove unwanted window styles (as native does). - Clean up some traces. * tools/winemaker: Francois Gouget Fix file lossage in subdirectories of an 'include' directory (closes #163). When case fixing #includes, take into account that the file may have been renamed (closes #161). Better support of $(SRCDIR) in -I directives. RTF was not recognised in rc files because it was in the wrong place. Escape weird characters when putting the rc filename in the spec file. * documentation/wine.man.in: Lawson Whitney Added WINEPRELOAD to man wine. * dlls/kernel/comm.c: Dominik Strasser Don't use RTSCTS if Str handshake is enabled. Use appropriate Unix timeout values in SetCommTimeouts. 2001-04-18 Alexandre Julliard * ANNOUNCE, ChangeLog, include/version.h: Release 20010418. ---------------------------------------------------------------- 2001-04-18 Alexandre Julliard * dlls/Makefile.in: Fixed setupapi dependencies. * windows/input.c: Jukka Heinonen GetAsyncKeyState now clears "has been pressed" information of only the requested key instead of all keys. * windows/dce.c, dlls/user/user_main.c: No need to preallocate DCEs since they are allocated on demand anyway. * include/wingdi.h, include/winuser.h, include/dce.h: Moved DCX_* constants to winuser.h. * dlls/ddraw/Makefile.in, dlls/ddraw/ddraw/dga2.c, dlls/ddraw/ddraw/dga2.h, dlls/ddraw/ddraw/xvidmode.c, dlls/ddraw/ddraw/xvidmode.h, dlls/ddraw/dsurface/dga2.c, dlls/ddraw/dsurface/dga2.h: Removed a few obsolete files. * dlls/ddraw/dsurface/hal.c: Ove Kaaven Fix DGA so it works properly again. * dlls/msacm/msacm32_main.c: James Hatheway Add \n to FIXME call in acmGetVersion to prevent overflowing buffer in wine_dbg_vprintf. * dlls/comctl32/listview.c: James Hatheway Eliminate unitialized garbage being returned from LISTVIEW_GetItemA. * tools/winemaker: Francois Gouget Enhanced the pragma pack handling. Enhanced the 'afxres.h' handling (the indentation). Start issuing winemaker's warnings in the source files themselves. 2001-04-17 Alexandre Julliard * controls/listbox.c, windows/message.c: Gerard Patel Do not send WM_MOUSEACTIVATE for children of desktop. * dlls/ddraw/Makefile.in, dlls/ddraw/ddraw/hal.c, dlls/ddraw/ddraw/hal.h, dlls/ddraw/dpalette/hal.c, dlls/ddraw/dpalette/hal.h, dlls/ddraw/dsurface/hal.c, dlls/ddraw/dsurface/hal.h, dlls/ddraw/main.c: Ove Kaaven Implemented DirectDraw's Hardware Abstraction Layer (HAL) interface. Disabled DirectDraw's old XVidMode and DGA2 drivers, it now depends on the display driver (x11drv) HAL implementations of these features. * dlls/setupapi/.cvsignore, dlls/setupapi/Makefile.in, dlls/setupapi/infparse.c, dlls/setupapi/setupapi.rc, dlls/setupapi/setupapi.spec, dlls/setupapi/setupapi_private.h, dlls/setupapi/setupx.spec, dlls/setupapi/setupx16.h, dlls/setupapi/setupx_main.c, dlls/setupapi/setupx_private.h, dlls/setupapi/virtcopy.c: Andreas Mohr - implement some more virtcopy (VCP) stuff - add some setupx resources - implement VHSTR functionality - large parts of VCP callback handling - merge setupapi and setupx stuff, especially resource handling gets rid of setupx debug channel; setupapi is the only one that remains * dlls/ddraw/Makefile.in, dlls/ddraw/dsurface/dibtexture.c, dlls/ddraw/dsurface/dibtexture.h: Ove Kaaven Removed the obsolete DIBTexture surface class. * dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/dib.h, dlls/ddraw/dsurface/main.c: Ove Kaaven Fill in some more HAL fields. Flip some of them when appropriate. Allow SetSurfaceDesc to change client memory surface address. Propagate DIB color table updates to backbuffers too (thanks to Stephen Clouse). * dlls/ddraw/dpalette/main.c, dlls/ddraw/dpalette/main.h: Ove Kaaven Fill in some DirectDrawPalette HAL fields. * dlls/ddraw/ddraw/dga2.c, dlls/ddraw/ddraw/dga2.h, dlls/ddraw/ddraw/user.c, dlls/ddraw/ddraw/user.h, dlls/ddraw/ddraw/xvidmode.c, dlls/ddraw/ddraw/xvidmode.h: Ove Kaaven Removed User_DirectDraw_GetCaps. Using Main_DirectDraw_GetCaps instead, and the User constructor filling in the main capability bits. * dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/main.h: Ove Kaaven Fill in some of the ddraw HAL fields. Call the set_exclusive_mode callback when necessary. Added a Main_DirectDraw_GetCaps method. Removed references to obsolete DIBTexture surface class. * dlls/ddraw/dsurface/user.c, dlls/ddraw/dsurface/user.h: Ove Kaaven Implemented gamma control on the DirectDraw primary window. Ensured that the primary window is created before the constructor returns. Flag the primary window as transparent so mouse clicks pass through it. Put the primary window handle into a reserved field for x11drv HAL use. * dlls/Makefile.in: Francois Gouget Fix typo so that wintrust is built. * documentation/configuring.sgml: Joerg Mayer Add a missing . * dlls/wsock32/socket.c: Joerg Mayer Use of proper test gets rid of a signed/unsigned warning. * graphics/x11drv/init.c: Ove Kaaven Implemented the ddraw HAL access escape (DCICOMMAND) in x11drv. * controls/combo.c: Dmitry Timoshkov Remove redundant sending of WM_DRAWITEM message to ownerdrawn combobox. 2001-04-16 Alexandre Julliard * dlls/user/lstr.c: Eric Pouech Fix some crash on bad parameter conditions. * dlls/ntdll/ntdll.spec, dlls/ntdll/wcstring.c: Ove Kaaven Implemented _wtoi and _wtol. * dlls/x11drv/Makefile.in, dlls/x11drv/dga2.c, dlls/x11drv/dga2.h, dlls/x11drv/x11ddraw.c, dlls/x11drv/x11ddraw.h, dlls/x11drv/x11drv_main.c, dlls/x11drv/xvidmode.c: Ove Kaaven Implemented the XF86DGA2 driver for the ddraw HAL. Entered some basic HAL device capabilities data. Added a GetDriverInfo handler. * Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/wintrust/.cvsignore, dlls/wintrust/Makefile.in, dlls/wintrust/wintrust.spec, dlls/wintrust/wintrust_main.c: Rein Klazes Added new dll wintrust.dll with a stub for WinVerifyTrust(). * dlls/ddraw/Makefile.in, dlls/ddraw/dsurface/gamma.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/dsurface/main.h: Ove Kaaven Implemented the IDirectDrawGammaControl interface. * dlls/wineps/init.c, dlls/wineps/ppd.c: Ian Pilcher Make paper size and bin type handling more like Windows drivers. * objects/font.c: Dmitry Timoshkov Add NULL check for lpnFit in GetTextExtentExPointW. * graphics/x11drv/palette.c, include/ts_xlib.h, tsx11/X11_calls, tsx11/ts_xlib.c: Gavriel State Copy the first 128 colors from the default colormap to Wine's private colormap when using 'shared' colors. * loader/module.c: Ove Kaaven Let LOAD_LIBRARY_AS_DATAFILE load the builtin dll if loading a native DLL failed, so that winesetuptk's fake-windows installation work. * controls/listbox.c: Dmitry Timoshkov Slightly improve keyboard tracking in combobox. * controls/edit.c: Dan Engel Set the backgound mode to opaque to paint highlighted text. * dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/dga2.c, dlls/ddraw/dsurface/dga2.h, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/dib.h, dlls/ddraw/dsurface/main.c, dlls/ddraw/dsurface/main.h, dlls/ddraw/dsurface/thunks.c, dlls/ddraw/dsurface/user.c, dlls/ddraw/dsurface/user.h: Ove Kaaven Added ddraw HAL and gamma ramp stuff to implementation structures. Added a parameter and return value to flip_data and flip_update. * graphics/x11drv/dib.c, include/x11drv.h: Ove Kaaven Fixed CoerceDIBSection's AuxMod handling. Added CoerceDIBSection2. * ole/uuid.c: Ove Kaaven Include the GUIDs in ddrawi.h in the libwine_uuid.a library. * include/ddrawi.h: Ove Kaaven Yet more stuff for ddrawi.h, including some GetDriverInfo GUIDs. * dlls/ddraw/.cvsignore, dlls/ddraw/Makefile.in, dlls/ddraw/ddraw.spec, dlls/ddraw/version.rc: Ove Kaaven Add version resource to ddraw.dll, versioned to DirectX 7.0. * dlls/comctl32/listview.c: Francois Gouget GetItemSpacing(true): Return the default item spacing if the view is LVS_ICON, and the current 'item size' otherwise. * relay32/snoop.c: Dmitry Timoshkov Display thread id instead of %fs in snoop trace. * dlls/dinput/keyboard/main.c: Ove Kaaven Don't restore the saved keyboard autorepeat config, since the config save code itself was disabled a while ago... * include/d3dtypes.h, include/d3dvec.inl, include/d3d.h: Ove Kaaven Direct3D header update. * include/d3dhal.h: Ove Kaaven New header d3dhal.h, the Direct3D HAL device driver interface. * dlls/msvcrt/wcs.c, dlls/ntdll/wcstring.c: Ove Kaaven Handle the %f case in wsprintf. * dlls/msvcrt/msvcrt.spec: Ove Kaaven Changed the spec definition of *s*printf from *str to ptr, since that parameter is a destination buffer that may only contain garbage on entry. * dlls/dplayx/Makefile.in, dlls/dplayx/dplayx.spec, dlls/dplayx/version.rc, dlls/dplayx/.cvsignore: Ove Kaaven Add version resource to dplayx.dll, versioned to DirectX 7.0. * include/wine/wine_common_ver.rc: Ove Kaaven Generalize the Wine version resource template a bit. * dlls/shell32/shell32_Ca.rc, dlls/shell32/shell32_Cs.rc, dlls/shell32/shell32_Da.rc, dlls/shell32/shell32_En.rc, dlls/shell32/shell32_Eo.rc, dlls/shell32/shell32_Es.rc, dlls/shell32/shell32_Fi.rc, dlls/shell32/shell32_Fr.rc, dlls/shell32/shell32_Hu.rc, dlls/shell32/shell32_It.rc, dlls/shell32/shell32_Ja.rc, dlls/shell32/shell32_Ko.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_Sk.rc, dlls/shell32/shell32_Sv.rc, dlls/shell32/shell32_Wa.rc: Dmitry Timoshkov Replace "System" font by "Helv" in shell32 "About" dialog. * dlls/ole32/ole2.c, dlls/ole32/ole2stubs.c, dlls/ole32/ole32.spec: Dmitry Timoshkov Implementation of OLE32.IsAccelerator. * dlls/ole32/storage32.c: Dmitry Timoshkov Return STG_E_FILEALREADYEXISTS in ole32.StgOpenStorage if the file is not a storage object. * objects/dc.c: Dmitry Timoshkov Move implementation of CreateDC16 to CreateDCA. * objects/gdiobj.c: Gavriel State Allocate bitmap objects in the large heap area. * dlls/wineps/text.c: Andreas Mohr Fixed 0 count handling in PSDRV_Text. * graphics/x11drv/xfont.c: Dmitry Timoshkov Add MS Shell Dlg font to the set of default sans serif fonts. * dlls/msvcrt/time.c: Gerald Pfeifer Fixed MSVCRT_clock return type. 2001-04-13 Alexandre Julliard * documentation/printing.sgml: Added missing . * server/file.c, server/mapping.c, server/object.h: Repaired shared PE data sections. * documentation/debugger.sgml: Eric Pouech Added note on using shell scripts as AeDebug setup, added BreakOnDllLoad variable. * dlls/msacm/pcmconverter.c: Eric Pouech A few fixes. * dlls/msacm/driver.c: Eric Pouech Fixed opening of some drivers. * dlls/winmm/wavemap/wavemap.c: Eric Pouech Fixed callback parameters (bogus hWave); added acm conversion for waveIn. * dlls/winmm/mciwave/mciwave.c: Eric Pouech Allow MCI_SET to change waveFormat for recording. Fixed buffer handling on recording end. Fixed size of recorded data in mmio file. * dlls/winmm/wineoss/audio.c: Eric Pouech Fixed some buffers issue in recording. Zeroed unnecessary second parameter for WIM_DATA notification. * debugger/winedbg.c: Eric Pouech Enhanced robustness at startup. * windows/msgbox.c: Andreas Mohr Preliminary support for MB_*MODAL styles. * dlls/comctl32/status.c: Andreas Mohr - *don't* MoveWindow() the status bar if CCS_NORESIZE is specified, and use SetWindowPos instead for one of the MoveWindow()s - call STATUSBAR_GetInfoPtr *once* like Windows does, not twice (used to be in every sub function, too) - remember hwndParent from create struct to use in at least WM_CREATE and WM_SIZE instead of GetParent() like in Windows - added DefWindowProc call to WM_SIZE like in Windows - added InvalidateRect, UpdateWindow to WM_CREATE like in Windows - much more verbose +statusbar output - rename part_num to nPart for consistency - added nclm.cbSize to SystemParametersInfoA call - added FIXME to STATUSBAR_SetParts * dlls/commdlg/filedlg95.c: Gerard Patel Set the custom dialog box to the bottom of the Z-order. 2001-04-12 Alexandre Julliard * dlls/dplayx/Makefile.in, dlls/dplayx/dpinit.h, dlls/dplayx/dplay.c, dlls/dplayx/dplay_global.h, dlls/dplayx/dplaysp.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplayx_messages.c, dlls/dplayx/dplayx_messages.h, dlls/dplayx/lobbysp.c, dlls/dplayx/lobbysp.h, dlls/dplayx/name_server.c, dlls/dplayx/name_server.h, include/dplay.h, include/objbase.h, include/winerror.h, ole/uuid.c: Peter Hunnisett - Provide lobby provider COM object header file and stub implementation - Break out dpl and dp service provider intialization - Add missing definition of E_PENDING - Resolve a few fixmes - Fix includes for dplay.h * controls/menu.c, include/message.h, windows/dialog.c, windows/message.c, windows/nonclient.c: Added first/last message filters to MSG_InternalGetMessage to avoid busy waits. * debugger/editline.c, dlls/kernel/kernel32.spec, include/wincon.h, win32/console.c: Michael Stefaniuc - added stubs for three console functions - updated wincon.h * ole/ole2nls.c: James Hatheway Small typo fix. * windows/winpos.c: James Hatheway SetWindowRgn shouldn't activate the window. 2001-04-10 Alexandre Julliard * dlls/crtdll/crtdll_main.c: Francois Gouget Fix the signature of __GetMainArgs and __getmainargs (from msvcrt). * dlls/msvcrt/Makefile.in, dlls/msvcrt/console.c, dlls/msvcrt/cpp.c, dlls/msvcrt/ctype.c, dlls/msvcrt/data.c, dlls/msvcrt/dir.c, dlls/msvcrt/environ.c, dlls/msvcrt/errno.c, dlls/msvcrt/exit.c, dlls/msvcrt/file.c, dlls/msvcrt/heap.c, dlls/msvcrt/locale.c, dlls/msvcrt/main.c, dlls/msvcrt/math.c, dlls/msvcrt/mbcs.c, dlls/msvcrt/misc.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c, dlls/msvcrt/string.c, dlls/msvcrt/thread.c, dlls/msvcrt/time.c, dlls/msvcrt/wcs.c: Francois Gouget Include the msvcrt headers, remove duplicate definitions. Fixed the signature of a few functions. Don't use wcs* functions, use *W (from unicode.h) instead. * include/tchar.h, include/windef.h, include/winnt.h: Francois Gouget Prevent multiple definitions caused by MSVCRT headers. * dlls/Makedll.rules.in: Francois Gouget Allow the Makefile.in to define EXTRADEFS and add it to DEFS. * include/msvcrt/sys/stat.h, include/msvcrt/sys/timeb.h, include/msvcrt/sys/types.h, include/msvcrt/sys/utime.h, include/Makefile.in, include/msvcrt/conio.h, include/msvcrt/ctype.h, include/msvcrt/direct.h, include/msvcrt/dos.h, include/msvcrt/fcntl.h, include/msvcrt/io.h, include/msvcrt/process.h, include/msvcrt/stddef.h, include/msvcrt/stdio.h, include/msvcrt/stdlib.h, include/msvcrt/string.h, include/msvcrt/time.h, include/msvcrt/wchar.h, include/msvcrt/wctype.h: Francois Gouget Added headers for the msvcrt library. * controls/edit.c, windows/winproc.c: Added mappings for WM_CHARTOITEM and WM_MENUCHAR messages. Removed mapping of 16-bit edit messages in the generic routines. * programs/winemine/main.c: Pass the correct string length to RegSetValueExA. * dlls/advapi32/registry.c: RegSetValueExA/W: fixed REG_SZ string length handling for Win95. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, include/winsock2.h: Peter Hunnisett Added stub for WSASend. * dlls/ntdll/reg.c, server/registry.c: Fixed handling of \\Registry prefix. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/olepicture.c: Gerard Patel Stub for OleLoadPictureEx. * dlls/comctl32/comboex.c: Michael Stefaniuc Fix for small typo. * dlls/msvcrt/console.c, dlls/msvcrt/cpp.c, dlls/msvcrt/ctype.c, dlls/msvcrt/data.c, dlls/msvcrt/dir.c, dlls/msvcrt/environ.c, dlls/msvcrt/errno.c, dlls/msvcrt/except.c, dlls/msvcrt/exit.c, dlls/msvcrt/file.c, dlls/msvcrt/heap.c, dlls/msvcrt/locale.c, dlls/msvcrt/main.c, dlls/msvcrt/math.c, dlls/msvcrt/mbcs.c, dlls/msvcrt/misc.c, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c, dlls/msvcrt/string.c, dlls/msvcrt/thread.c, dlls/msvcrt/time.c, dlls/msvcrt/wcs.c: Francois Gouget Adjust the 'MSVCRT_' prefix to match the msvcrt headers Prefix internal methods with 'msvcrt_' instead of 'MSVCRT_', '__MSVCRT_', etc. Remove '_cdecl', it's unnecessary 2001-04-09 Alexandre Julliard * programs/winetest/test.pl, programs/winetest/wine.pm, programs/winetest/wine.xs, programs/winetest/winetest.c: Store the function pointer in the %prototypes hash instead of the function name to avoid looking it up on every call. Fixed callback thunks to use stdcall calling convention. * relay32/relay386.c, scheduler/process.c, scheduler/thread.c: Dmitry Timoshkov Display thread id instead of %fs in relay trace. * dlls/kernel/time.c: James Hatheway Fill in StandardName field in struct returned from GetTimeZoneInformation. * dlls/kernel/kernel32.spec, dlls/ntdll/ntdll.spec, dlls/user/user32.spec, dlls/advapi32/advapi32.spec: Marcus Meissner Added some stubs for functions used by newer rpcrt4 dlls. * objects/dc.c: Francois Gouget GetDeviceCaps: make sure the devCaps field is not NULL before dereferencing it. * dlls/ole32/compobj.c, include/wine/obj_base.h: Marcus Meissner Arg 3 of CoGetClassObject is COSERVERINFO*, added some more debug. * dlls/comctl32/comctl_De.rc: Marcus Meissner Translations for German language. * dlls/ole32/ole32.spec, dlls/ole32/storage32.c: Marcus Meissner Added GetConvertStg stub. * dlls/ddraw/main.c: Marcus Meissner Actually print the guids in DllGetClassObject(). * README, tools/wineinstall: Andreas Mohr Added uninstall hints. * debugger/debugger.h, debugger/winedbg.c: James Hatheway Modify debugger to understand special undocumented "Name Thread" exception from MS VC6. * controls/combo.c, controls/listbox.c: Dmitry Timoshkov Really do not roll up if selection is being tracked by arrow keys in the dropdown listbox. * dlls/user/ddeml.c: Rein Klazes When calling CreateMutex() handle the case when the mutex is already created in another process. * dlls/comctl32/treeview.c: Gerard Patel After an item text changes, the rectangle width should be recalculated. 2001-04-04 Alexandre Julliard * windows/win.c: Don't use THREAD_IdToTEB in EnumThreadWindows. * unicode/wctomb.c: James Hatheway Make sure 'used' is set to 0 if no conversions take place. * dlls/comctl32/listview.c: Rein Klazes Fixed scrolling of listview with a mouse wheel. * ole/ole2nls.c: Rein Klazes Implement TIME_FORCE24HOURFORMAT and TIME_NOTIMEMARKER flags in OLE_GetFormatA. * windows/winproc.c, controls/menu.c, dlls/kernel/thunk.c, dlls/winedos/module.c, files/drive.c, loader/ne/module.c, msdos/int21.c, scheduler/thread.c: Added TASK_GetPtr/TASK_GetCurrent functions to get the TDB for a task handle. * include/task.h, loader/task.c, windows/message.c, windows/queue.c: Unified 16-bit and 32-bit scheduling a bit more. * msdos/dosconf.c: Don't call strtok twice if it failed the first time. * server/request.c: Make sure the process socket is non-blocking. Don't fail if nothing ready on recvmsg for a file descriptor. * include/wine/wingdi16.h, objects/font.c, include/wingdi.h: Huw D M Davies Fix member names in NEWTEXTMETRICEX structs. * dlls/comctl32/treeview.c: Gerard Patel Erase the in-memory DC for treeview and fixes the rectangle calculation. * dlls/comctl32/header.c: Gerard Patel Set background mode to transparent before calling owner-drawn user handling. 2001-04-02 Alexandre Julliard * dlls/Makefile.in, dlls/wineps/Makefile.in, dlls/wineps/font.c, dlls/wineps/init.c, dlls/wineps/psdrv.h, dlls/wineps/wineps.spec, documentation/configuring.sgml, documentation/fonts.sgml, documentation/printing.sgml, documentation/psdrv.reg, documentation/wine-doc.sgml, documentation/wine-user.sgml: Ian Pilcher Various registry-related PostScript driver enhancements. * controls/edit.c: Rein Klazes Do not send the EN_CHANGE notification message until the selection start and end values are filled in. * windows/x11drv/keyboard.c: Gustavo Noronha Silva (KoV) Added US international keyboard. * include/winuser.h, windows/sysparams.c: James Juran Add value 106 to SystemParametersInfo. 2001-03-31 Alexandre Julliard * programs/winetest/Makefile.PL, programs/winetest/Makefile.in, programs/winetest/Makefile.win32, programs/winetest/wine.pm, programs/winetest/wine.xs, programs/winetest/winetest.c: John F Sturtz Added support for callback functions. * dlls/ole32/storage32.c: Gerard Patel Don't try to create file twice in the NULL filename case for StgCreateDocFile. * controls/edit.c: Ulrich Czekalla Update format engine to reduce flicker. 2001-03-28 Alexandre Julliard * dlls/x11drv/x11drv_main.c: Added support for application-specific configuration for a few options (Desktop, Managed, ScreenDepth and Synchronous). * graphics/x11drv/dib.c: Marcus Meissner Fixed undefined C constructs (val assignment in expressions using it, postinc operators in macros). * loader/task.c, miscemu/main.c: Don't load user32 too early on for 16-bit apps, so that app-specific config can be available while loading it. * windows/win.c: Dmitry Timoshkov Get and print class name for right window in WIN_WalkWindows. * tools/winebuild/spec16.c, windows/user.c, dlls/user/user.spec, if1632/builtin.c, include/builtin16.h: Always load the 32-bit dll containing a given 16-bit builtin. Check the module name in addition to the file name when loading a 16-bit builtin dll. * dlls/x11drv/x11drv_main.c, graphics/x11drv/palette.c, windows/x11drv/wnd.c, dlls/opengl32/wgl.c: Gavriel State - Always use a double-buffered visual if one is available. - Ensure that all colormaps created use the double-buffered visual if it exists. This prevents problems where DRI GL implementations fail to work unless the colormap visual matches the window visual matches the glX visual. - Get around similar visual issue with the default GL context created for apps that don't create their own contexts before trying to use GL functions. * documentation/wine.man.in: Lawson Whitney Fixed command-line example. 2001-03-26 Alexandre Julliard * ChangeLog, include/version.h, ANNOUNCE: Release 20010326. ---------------------------------------------------------------- 2001-03-26 Alexandre Julliard * documentation/samples/config: Dmitry Timoshkov Added some additional defaults and samples to [fonts] section. 2001-03-23 Alexandre Julliard * misc/options.c, windows/dce.c, windows/win.c, windows/x11drv/event.c, windows/x11drv/wnd.c, dlls/x11drv/x11drv_main.c, documentation/samples/config, documentation/wine.man.in, graphics/x11drv/xfont.c, include/options.h, include/x11drv.h: Cleanup properly on x11drv unloading. Moved --synchronous option into config file. Removed --desktop, --display and --language command-line options. * dlls/winmm/mciwave/mciwave.c: James Hatheway - MCI_SAVE should overwrite its destination file. - widClose() is sometimes failing... MCI (in WAVE_mciRecordCallback) shouldn't queue up buffers if it knows we are no longer recording. * dlls/user/user_main.c, files/profile.c, memory/local.c, objects/gdiobj.c, objects/metafile.c, windows/user.c: Small dll separation fixes. * dlls/advapi32/registry.c: Use TEB static buffer for Unicode conversion. * tools/winemaker: Francois Gouget Added handling of .hpp files (another extension for C++ headers). The wrapper code needs to import dlls too. All the generated wrapper files were identical, the 'variable' subsitution was done on the template itself. Oups! * dlls/version/info.c: Francois Gouget ConvertVersionInfo32To16: the end of the child list may also be marked by a 0-byte child. 2001-03-22 Alexandre Julliard * dlls/kernel/comm.c, files/file.c, include/file.h, include/server.h, include/thread.h, scheduler/synchro.c, server/async.c, server/object.h, server/request.h, server/serial.c, server/trace.c: Michael McCormack Use poll() on the client-side during server waits to implement overlapped I/O. * include/server.h, scheduler/process.c, server/console.c, server/trace.c, win32/console.c: Use the new send_fd mechanism for the set_console_fd server request. * dlls/shlwapi/reg.c, dlls/x11drv/x11ddraw.c, dlls/x11drv/xvidmode.c, dlls/comctl32/comboex.c: Jeff Garzik Added needed string.h includes. 2001-03-21 Alexandre Julliard * windows/dce.c, windows/dialog.c, windows/nonclient.c, windows/win.c, windows/winpos.c, windows/x11drv/wnd.c: Cleaned up assumptions about WS_CHILD flag so that we can allow it to be changed in SetWindowLong. * dlls/ntdll/debugtools.c: Dmitry Timoshkov Increase debug buffer size up to 1024 bytes. * configure, configure.in, programs/Makefile.in, programs/winetest/.cvsignore, programs/winetest/Makefile.PL, programs/winetest/Makefile.in, programs/winetest/Makefile.win32, programs/winetest/test.pl, programs/winetest/wine.pm, programs/winetest/wine.xs, programs/winetest/winetest.c, programs/winetest/winetest.spec: Added first version of the Perl regression testing framework. * documentation/samples/config, documentation/wine.conf.man.in, loader/loadorder.c: Added "*" wildcard entry to DllOverrides to replace DllDefaults section; this way it can also be specified on a per-app basis. Removed compiled-in defaults for dlls mentioned in the sample config. Update man page. * dlls/ddraw/d3dtexture.c, dlls/winmm/mcicda/mcicda.c, include/netspi.h, server/main.c, server/trace.c: Jeff Garzik Warning fixes. * tools/winebuild/spec32.c, tools/wmc/mcl.c, scheduler/pthread.c, scheduler/synchro.c, server/atom.c: Jeff Garzik Added some inclusions of string.h where necessary. * loader/pe_image.c: Disable DONT_RESOLVE_DLL_REFERENCES for builtin dlls. * loader/module.c: Dmitry Timoshkov Allow loading of built-in dlls with LOAD_LIBRARY_AS_DATAFILE flag set. * dlls/winmm/wineoss/audio.c: Ove Kaaven Show an error if small enough fragment sizes couldn't be set. Force a complete close/reopen of the sound device if pause is requested in DirectSound mode (many drivers require this). * dlls/ddraw/ddraw/user.c: Ove Kaaven Remove obsolete and misleading FIXME. * dlls/gdi/gdi32.spec: Ove Kaaven Implemented Get/SetDeviceGammaRamp. 2001-03-20 Alexandre Julliard * documentation/samples/config, documentation/wine.man.in, include/loadorder.h, include/options.h, loader/loadorder.c, loader/main.c, loader/module.c, loader/ne/module.c, misc/options.c: - Added support for app-specific dll overrides using AppDefaults\\DllOverrides configuration section. - Better support for multiple --dll options. - Added warning message to discourage putting multiple dlls in a single override entry. * win32/except.c: Terminate process on unhandled ^C exception instead of launching the debugger. * dlls/ttydrv/dc.c, dlls/wineps/init.c, graphics/enhmetafiledrv/init.c, graphics/metafiledrv/init.c, graphics/win16drv/init.c, graphics/x11drv/init.c, include/gdi.h, include/wingdi.h, objects/dc.c: Ove Kaaven Implemented Get/SetDeviceGammaRamp. * dlls/user/user32.spec, windows/win.c: Eric Kohl Added stubs for GetWindowsModuleFileName[A/W]. * controls/combo.c: Guy L. Albertelli Native version seems to always re-draw the selected text at the end of a rollup. * dlls/x11drv/x11ddraw.c, dlls/x11drv/x11ddraw.h, dlls/x11drv/xvidmode.c, dlls/x11drv/xvidmode.h, include/x11drv.h: Ove Kaaven Added gamma ramp code to the XVidMode interface. * include/ddrawi.h: Ove Kaaven More DirectDraw HAL type declarations. 2001-03-19 Alexandre Julliard * configure, configure.in: Satsuki Fujishima Fixed FreeBDS xpg4 check. * Make.rules.in, tools/Makefile.in, tools/specmaker/Makefile.in: Satsuki Fujishima Use INSTALL_SCRIPT instead of INSTALL_PROGRAM for scripts. * include/wine/wine_common_ver.rc, dlls/oleaut32/.cvsignore, dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/version.rc: Dmitry Timoshkov Add version info for built-in oleaut32.dll. * controls/menu.c: Gerard Patel Fix system menu crash by ensuring that item->text is not null when MF_TEXT set. * include/ddraw.h: Ove Kaaven Added IDirectDrawGammaControl interface declaration. * dlls/version/info.c: Dmitry Timoshkov Truncate version data if provided buffer is not large enough. * dlls/dsound/dsound_main.c: Ove Kaaven Fixed sound disappearing after on-the-fly sample rate changes and after certain underrun conditions. Compilation fixes for when USE_DSOUND3D is defined. * windows/winpos.c: Ove Kaaven Win2000: If both WS_EX_LAYERED and WS_EX_TRANSPARENT styles are set, mouse clicks should go straight through the window. * dlls/shell32/shellpath.c: Eric Kohl SHGetSpecialFolderPathA must be able to create a full path if it doesn't exist. * dlls/msvcrt/except.c, dlls/msvcrt/file.c, dlls/msvcrt/msvcrt.spec: Eric Kohl Added stub for _setjmp3(). Implemented _sopen(). 2001-03-16 Alexandre Julliard * dlls/comctl32/comctl32.h, dlls/comctl32/commctrl.c, dlls/comctl32/rsrc.rc: Gerard Patel Added version info. * graphics/x11drv/xfont.c, include/gdi.h, include/win16drv.h, include/x11drv.h, objects/font.c, dlls/ttydrv/graphics.c, dlls/ttydrv/ttydrv.h, dlls/wineps/font.c, dlls/wineps/psdrv.h, graphics/win16drv/font.c: Huw D M Davies Moved GetTextMetrics to unicode. * dlls/version/info.c, include/winver.h: Dmitry Timoshkov Fixed prototype of GetFileVersionInfoA/W. * dlls/comctl32/comboex.c: Guy L. Albertelli - Documented things known to be unimplemented. - Implemented CBN_SELCHANGE, CBN_KILLFOCUS, and CBN_SELENDOK. - Corrected CBEN_ENDEDIT notifies to always have edit control text. - Locked "selected" state of icon to focus state of edit control (if it exists) just like native. * dlls/comctl32/rebar.c: Guy L. Albertelli - Correct RBN_CHILDSIZE band rectangle to match native. - Correct flags in DeferWindowPos to SWP_NOZORDER to match native. - Make handling ComboBox and ComboBoxEx the same when moving child windows. * windows/spy.c: Guy L. Albertelli Label the width and height correctly in the WINDOWPOS display. * include/winuser.h: Ove Kaaven Added Win2000 WS_EX_LAYERED window style. * tools/wineshelllink: Marcus Meissner Replaced one .kde with .kde2 in KDE2 menu code. * winedefault.reg: Ove Kaaven Removed path from dplayx registry entry, so that the builtin dplayx can be loaded. * tools/winemaker: Francois Gouget Set LD_LIBRARY_PATH if necessary before calling wrc & winebuild. 2001-03-14 Alexandre Julliard * dlls/version/info.c: Dmitry Timoshkov Return from GetFileVersionInfo(Size) if specified file found, but VS_VERSION_INFO resource not. * server/serial.c: Mike McCormack Removed broken support for EV_TXEMPTY because it causes busy loops. * server/async.c: Mike McCormack Add missing release object so server exits cleanly. * controls/menu.c: Gerard Patel Recalculate menu sizes if WM_INITMENU has recreated/changed something. 2001-03-13 Alexandre Julliard * dlls/kernel/nls/cht.nls: Hann-huei Chiou Updated. * dlls/kernel/kernel32.spec, include/winbase.h, include/winnt.h, scheduler/thread.c: James Juran Added stub for SetThreadExecutionState (new function in Win98/2000). * windows/winproc.c: Rein Klazes Fix Unicode/Ansi message translation for some listbox/combobox messages with a zero valued lparam. Output an error when the translation fails. * include/wingdi.h, objects/font.c: Huw D M Davies Fix typo in OUTLINETEXTMETRIC definition. * controls/edit.c: Dmitry Timoshkov Yet another attempt on fixing notifications in the edit control. * documentation/samples/config: Marcus Meissner Add some specific afmdirs as examples. * dlls/wineps/afm.c: Ian Pilcher Don't load AFM files from predefined directories; use [afmdirs] section in Wine config file instead. 2001-03-10 Alexandre Julliard * controls/edit.c: Dmitry Timoshkov Fixed notifications of the edit control. * controls/static.c: Gerard Patel Call DefWindowProc for WM_CTLCOLORSTATIC message when the apps does not. * controls/combo.c, dlls/winmm/joystick/joystick.c, dlls/winmm/mmio.c, loader/loadorder.c: Francois Gouget Fixed spelling/typos in comments. * tools/winemaker: Francois Gouget Added missing extension for 'ole32.dll'. * include/winbase.h: Francois Gouget Added CreateRemoteThread. * dlls/shell32/shell32_main.c: James Juran Implement SHGetFileInfoW by calling SHGetFileInfoA. * dlls/commdlg/filedlg95.c, dlls/shell32/shlfolder.c: Gerard Patel Handle empty strings and invalid values in lpstrInitialDir for 32 bits open file dialogs. 2001-03-08 Alexandre Julliard * dlls/kernel/Makefile.in: Added version16.rc in RC_SRCS list. * scheduler/client.c, scheduler/synchro.c, scheduler/thread.c, server/request.c, server/request.h, server/thread.c, server/trace.c, include/server.h, include/thread.h: Added support for nested server waits (to allow waiting in signal handlers). * README, tools/winecheck: Andreas Mohr Added a perl script to check many aspects of Wine configuration. * dlls/commdlg/finddlg32.c: Gerard Patel LPARAM in find dialog wm_initdialog is the find/replace structure, not custdata. * dlls/kernel/nls/lvi.nls: Nerijus Baliunas Updated Latvian date format. * tools/wineshelllink: Marcus Meissner Added SHELL linking of KDE2 desktop/menu entries. 2001-03-05 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20010305. ---------------------------------------------------------------- 2001-03-05 Alexandre Julliard * dlls/comctl32/listview.c: Francois Gouget Update nSelectionMark and nFocusedItem when inserting/deleting/sorting items. SortItems: If sorting less than 2 items, do nothing. * win32/file.c, scheduler/process.c: Dmitry Timoshkov Implemented SetFileApisToOEM, SetFileApisToANSI and AreFileApisANSI. * dlls/comctl32/pager.c: Susan Farley - Background of the child wnd should be erased with the same color as the control. - Default scroll amount should be the minimum client area. * windows/dialog.c: Gerard Patel Unblock the dialog message loop with a WM_NULL message. * graphics/x11drv/dib.c: Vedran Rodic Made 8 bpp to 24 bit depth conversion in X11DRV_DIB_SetImageBits_8 faster by using inline asm. * tools/specmaker/misc.c, server/debugger.c, server/registry.c, graphics/x11drv/xfont.c, programs/winhelp/hlpfile.c, files/dos_fs.c, files/drive.c, dlls/winmm/mmio.c: Changed isolated for loops to while loops (based on a patch by Andreas Mohr). * dlls/oleaut32/typelib.c: Andreas Mohr The for loop in ITypeLib2_fnFindName was wrong (extra ';'). * files/file.c: Andreas Mohr GetFileInformationByHandle() fails for pipe handles according to MSDN, and also for serial handles (FILE_TYPE_CHAR in general ?). * dlls/gdi/gdi_main.c, graphics/driver.c: Ian Pilcher Don't load the WINEPS driver until it's needed. * controls/edit.c: Dmitry Timoshkov Make EDIT_UnlockBuffer cope with destroyed windows. 2001-03-04 Alexandre Julliard * dlls/kernel/kernel_main.c, memory/heap.c: We need to create the system heap at startup even though we don't use it, since some Win95 native dlls depend on that. * dlls/opengl32/make_opengl, dlls/opengl32/opengl32.spec, dlls/opengl32/opengl_ext.c, dlls/opengl32/opengl_norm.c: Lionel Ulmer - add tracing to OpenGL thunks - update to latest gl.spec file * windows/winpos.c: Dmitry Timoshkov Add DCX_CLIPSIBLINGS to flags for DCE_GetVisRgn only if window has WS_CLIPSIBLINGS bit set. * dlls/comctl32/listview.c: Francois Gouget In LISTVIEW_AddGroupSelection and LISTVIEW_SetGroupSelection, if no selection mark has been set, just select the current item. In LISTVIEW_SetGroupSelection we must also set the selection mark in that case (and only in that case). Removed a naughty ';' (spotted by Eric Pouech). * tools/winemaker: Francois Gouget If a target has C++ sources, then use g++ to link it (fixes #162). Removed SONAME, it's not relevant for dlls and was unused anyway. 2001-03-03 Alexandre Julliard * scheduler/client.c: Fixed file descriptor leak. * dlls/winmm/wineoss/midi.c, documentation/samples/config, files/directory.c, windows/x11drv/keyboard.c: Andreas Mohr Some more message cleanups. * dlls/dsound/dsound_main.c: Chris Jacobson Small bug fix. * dlls/commdlg/filedlg.c: Gerard Patel Initialize the return error code to 0 for common dialog file functions. * tools/winemaker: Francois Gouget Add files found in an 'include' directory, to the 'misc sources' list. 2001-03-01 Alexandre Julliard * server/file.c, server/process.c, server/request.c, server/request.h, server/thread.c, server/thread.h, server/trace.c, files/file.c, include/server.h, include/thread.h, scheduler/client.c, scheduler/process.c, scheduler/sysdeps.c, scheduler/thread.c: Create the server pipes on the client side and transfer them to the server on thread creation. Use a single per-process socket instead of one per thread for transferring file handles between client and server. * tools/winemaker: Francois Gouget Reenable the wrapper support. * dlls/wineps/afm.c: Ian Pilcher Squash another AFM character metrics parsing bug. 2001-02-28 Alexandre Julliard * scheduler/client.c, server/file.c, server/process.c, server/process.h, server/request.c, server/request.h, server/thread.c, server/thread.h, server/trace.c, files/file.c, include/server.h: New mechanism to transfer file descriptors from client to server. * windows/x11drv/keyboard.c: Johannes.Schindelin@gmx.de Some minor changes to the German keyboard layout. * windows/winpos.c: Dominik Strasser Avoid crash at end of list. * dlls/wineps/afm.c: Ian Pilcher Fix bug in AFM character width parsing. * win32/device.c, windows/winpos.c, dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compositemoniker.c, dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c, dlls/ole32/moniker.c, dlls/ole32/storage32.c, dlls/oleaut32/typelib.c, dlls/oleaut32/variant.c, dlls/shell32/shlfolder.c, dlls/user/ddeml.c, dlls/user/exticon.c, graphics/x11drv/graphics.c, include/ddraw.h, objects/metafile.c, programs/notepad/main.c, debugger/types.c, dlls/comctl32/listview.c, dlls/comctl32/pager.c, dlls/comctl32/toolbar.c, dlls/dplayx/dplay.c, dlls/msvcrt/process.c: Francois Gouget Small 'typos in comments' fixes. * include/module.h, include/task.h, include/thread.h, loader/ne/module.c, loader/task.c, scheduler/process.c, scheduler/thread.c, dlls/kernel/kernel_main.c: Use the standard CreateThread routine to create 16-bit tasks instead of duplicating the code. * dlls/winspool/wspool.c, dlls/winspool/info.c: Removed dependency on comctl32. * include/winnt.h: François Gouget WINE_UNICODE_TEXT was incorrect. Dropped support for WINE_UNICODE_TEXT('c') in C. * dlls/wsock32/socket.c, dlls/wsock32/wscontrol.h: Michael Stefaniuc Implemented WsControl command with id 0x101. * dlls/kernel/nls/afk.nls, dlls/kernel/nls/bel.nls, dlls/kernel/nls/bgr.nls, dlls/kernel/nls/cat.nls, dlls/kernel/nls/cze.nls, dlls/kernel/nls/dea.nls, dlls/kernel/nls/dec.nls, dlls/kernel/nls/del.nls, dlls/kernel/nls/des.nls, dlls/kernel/nls/esm.nls, dlls/kernel/nls/esn.nls, dlls/kernel/nls/esp.nls, dlls/kernel/nls/euq.nls, dlls/kernel/nls/fin.nls, dlls/kernel/nls/fra.nls, dlls/kernel/nls/frb.nls, dlls/kernel/nls/frc.nls, dlls/kernel/nls/frl.nls, dlls/kernel/nls/frs.nls, dlls/kernel/nls/grc.nls, dlls/kernel/nls/hun.nls, dlls/kernel/nls/ind.nls, dlls/kernel/nls/isl.nls, dlls/kernel/nls/ita.nls, dlls/kernel/nls/its.nls, dlls/kernel/nls/jpn.nls, dlls/kernel/nls/nlb.nls, dlls/kernel/nls/nld.nls, dlls/kernel/nls/non.nls, dlls/kernel/nls/nor.nls, dlls/kernel/nls/plk.nls, dlls/kernel/nls/ptb.nls, dlls/kernel/nls/ptg.nls, dlls/kernel/nls/rom.nls, dlls/kernel/nls/sky.nls, dlls/kernel/nls/slv.nls, dlls/kernel/nls/sve.nls, dlls/kernel/nls/trk.nls: Przemyslaw Bruski Added LOCALE_IDEFAULTMACCODEPAGE definition in most nls files. 2001-02-27 Alexandre Julliard * windows/queue.c, scheduler/client.c, scheduler/handle.c, scheduler/pipe.c, scheduler/process.c, scheduler/synchro.c, scheduler/thread.c, scheduler/timer.c, server/request.c, server/thread.c, server/thread.h, tools/make_requests, win32/console.c, win32/device.c, win32/except.c, loader/module.c, loader/ne/module.c, loader/pe_image.c, memory/atom.c, memory/registry.c, memory/selector.c, memory/virtual.c, misc/registry.c, dlls/ntdll/exception.c, dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/sync.c, dlls/winsock/socket.c, files/change.c, files/dos_fs.c, files/file.c, include/server.h, include/thread.h, dlls/advapi32/registry.c, dlls/kernel/comm.c, dlls/kernel/debugger.c, dlls/kernel/sync.c, dlls/kernel/toolhelp.c: New set of macros for server calls; makes requests without variable part somewhat faster. * scheduler/pthread.c: Moved PTHREAD_init_done out of the #ifdef. 2001-02-26 Alexandre Julliard * controls/menu.c, dlls/kernel/kernel32.spec, dlls/kernel/time.c, dlls/user/user32.spec, windows/syscolor.c, windows/user.c: Eric Pouech Added a few missing stubs to KERNEL32 and USER32. * tools/winelauncher.in: Ove Kaaven Handle filenames with spaces. * dlls/commdlg/printdlg.c: Gerard Patel Map 32 bits resource for 16 bits print dialog. * controls/listbox.c: Dmitry Timoshkov Use GetSysColorBrush(COLOR_WINDOW) when there is no brush for drawing background in listbox. * dlls/shell32/shlfileop.c: David Grant Added (partial) support for FO_COPY and FO_DELETE. 2001-02-23 Alexandre Julliard * dlls/user/resources/.cvsignore, dlls/user/resources/user32.rc, dlls/user/resources/version.rc, dlls/user/resources/version16.rc, dlls/version/info.c, include/wine/wine_common_ver.rc, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/kernel.rc, dlls/kernel/kernel.spec, dlls/kernel/kernel32.spec, dlls/kernel/version.rc, dlls/kernel/version16.rc, dlls/user/Makefile.in, dlls/user/user.spec, dlls/gdi/.cvsignore, dlls/gdi/Makefile.in, dlls/gdi/gdi.spec, dlls/gdi/gdi32.spec, dlls/gdi/version.rc, dlls/gdi/version16.rc: Dmitry Timoshkov Add version information (16 and 32 bit) to core built-in dlls: krnl386.exe/kernel32.dll, user.exe/user32.dll, gdi.exe/gdi32.dll. Provide a way for reading version information using standard API: GetFileVersionInfoSize -> GetFileVersionInfo -> VerQueryValue. * include/heap.h, memory/heap.c, scheduler/process.c, scheduler/pthread.c: Only create the system heap when we actually need it. * files/dos_fs.c, memory/global.c: Allocations do not need to be on the system heap. * dlls/comctl32/pager.c: Susan Farley Horiz/Vert determination must be dynamic, as the style may not be set upon creation; improved positioning and scrolling. * include/commctrl.h: Susan Farley Avoid alignment problems with NMPGSCROLL struct. * windows/sysparams.c: Chris Morgan Replace fixme for SPI_GETWHEELSCROLLLINES with the default value of 3. * controls/button.c: Dmitry Timoshkov Prepare background while drawing radio buttons and checkboxes. * windows/x11drv/clipboard.c: Aric Stewart - We need to make sure we pay attention to if our call to SetClipboardData from the X11DRV version of the function works. If not we need to delete the global block we allocated. This is a sever memory leak with large clipboard items. - If an X selection it too large then X may give it to us in chunks, we were not handling this well. * dlls/kernel/nls/ukr.nls: Valery Kartel Updated all fields with Ukrainian values. * controls/menu.c, controls/scroll.c, dlls/ttydrv/wnd.c, windows/cursoricon.c, windows/dce.c, windows/defwnd.c, windows/mdi.c, windows/message.c, windows/property.c, windows/queue.c, windows/winpos.c, windows/x11drv/wnd.c: Do not allocate any USER data on the system heap. * include/Makefile.in, include/cpl.h, include/winuser.h, dlls/shell32/Makefile.in, dlls/shell32/control.c, dlls/shell32/iconcache.c, dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c, dlls/shell32/shellord.c: Eric Pouech A first stab at implementing the RunDll features. * dlls/kernel/comm.c: Andreas Mohr BuildCommDCB16 had a rather broken baud rate handling. * tools/winelauncher.in: Ove Kaaven Made the winelauncher support winelib app invocations. Fixed a few file path issues. 2001-02-21 Alexandre Julliard * dlls/kernel/kernel.spec, include/server.h, include/thread.h, scheduler/client.c, scheduler/synchro.c, scheduler/thread.c, server/request.c, server/request.h, server/thread.c, server/thread.h, server/trace.c: Added separate server pipe to wait on blocking server calls. Send the complete request/reply through the request fifo instead of just a dummy byte. Convert error status to text in server reply tracing. * dlls/shell32/shlfileop.c, dlls/shell32/shlfolder.c, dlls/shell32/shres.rc, dlls/shell32/shresdef.h: Chris Morgan Confirm file deletes. Make delete confirmation messages more consistent. Improve trace messages on delete failure. * dlls/shell32/shell32_main.h, dlls/shell32/shlview.c: Chris Morgan Add shell support for deleting files using the Delete key. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec, include/winspool.h: Ian Pilcher Implement EnumPrinterDataEx{A|W}. * dlls/commdlg/comdlg32.spec, dlls/msacm/msacm32.spec, dlls/msnet32/msnet32.spec, dlls/msvideo/msvfw32.spec: Removed some unnecessary ordinals. * dlls/crtdll/crtdll_main.c, dlls/msvcrt/data.c, dlls/msvcrt/msvcrt.h: __getmainargs last argument is a pointer to new_mode. 2001-02-20 Alexandre Julliard * server/mapping.c, server/request.h, server/trace.c, include/server.h, memory/virtual.c, scheduler/client.c: Small server protocol cleanups. * dlls/olecli/olecli.spec, dlls/olecli/olecli32.spec, dlls/olecli/olecli_main.c: Gerard Patel Stub for OleSavedClientDoc. * dlls/comctl32/treeview.c: Aric Stewart Insert the item before calling a SetFirstVisible which can generate a WM_PAINT message. * library/port.c: Clear %ebp before entering the new thread. * dlls/winsock/socket.c: Got rid of the WSINFO structure. Fixed a couple of bugs. * dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c: Fixed __GetMainArgs. * ANNOUNCE, README, documentation/wine.man.in: Joerg Mayer Add information about prebuilt documentation packages in other-than-sgml form. * windows/clipboard.c: Aric Stewart We need to give room for the null termination when translating the clipboard text. * dlls/comctl32/comboex.c: Guy L. Albertelli - Implement CB_SETCURSEL, CBEM_DELETEITEM, CBEM_GETITEM, CBEM_{GET|SET}UNICODEFORMAT, CB_FINDSTRINGEXACT, WM_COMMAND, WM_DELETEITEM. - Implement extended style CBES_EX_NOEDITIMAGE, and warn others are not yet implemented. - Restructure DrawItem code to do things more rationally. * controls/combo.c: Guy L. Albertelli - Restructure PaintText code to remove FillRect from owner-drawn path. - Change SetFocus to indicate focus set only after Notify is sent to owner. - Get more info in a trace. * files/dos_fs.c: Rein Klazes Correct error message in case DOSFS_OpenDevice() fails on a COMx device. * miscemu/main.c, objects/palette.c, win32/except.c, dlls/winedos/dosvm.c, if1632/thunk.c, include/callback.h, loader/task.c: Removed a few Callout functions by doing a GetProcAddress at the time we actually need the function. * memory/virtual.c: Fixed MEM_SYSTEM handling to avoid unmapping areas that we didn't mmap. * dlls/msvcrt/data.c, dlls/msvcrt/msvcrt.spec: Dmitry Timoshkov Fix prototypes of MSVCRT___getmainargs and MSVCRT___wgetmainargs. Protect MSVCRT__acmdln global variable from corruption. * include/winnt.h: Josh DuBois Moved typedef of CRITICAL_SECTION out of #pragma pack(1) block. * dlls/comctl32/toolbar.c: Eric Kohl Fixed behaviour of dropdown buttons. When a dropdown button is clicked, it does not change into pressed state. * objects/enhmetafile.c: Dmitry Timoshkov Better implementation of EMF record EMR_EXTSELECTCLIPRGN. * dlls/commdlg/cdlg_De.rc: Marcus Meissner Translated new common dialog resources into German. Resized file dialog a bit to make toolbar completely visible again. * dlls/shell32/shell32_De.rc: Marcus Meissner Fixed German translation, changed dialog font to Helvetica. 2001-02-16 Alexandre Julliard * ANNOUNCE, ChangeLog, include/version.h: Release 20010216. ---------------------------------------------------------------- 2001-02-16 Alexandre Julliard * dlls/ntdll/debugtools.c: Chris Morgan Assert on output buffer overflow. * dlls/comctl32/listview.c: James Hatheway Update selection after sorting (in LISTVIEW_SortItems) by making sure selection list matches states of individual items. * graphics/x11drv/graphics.c: François Gouget Added DIB/pixmap synchronization for {Get,Set}Pixel. * dlls/comctl32/toolbar.c: François Gouget TB_SETBUTTONSIZE messages must be taken into account even after buttons have been added. * include/server.h, scheduler/process.c, server/console.c, server/process.c, server/trace.c, win32/console.c: Pass the stdin/stdout handles on startup to use as console (based on a patch by Eric Pouech). * windows/x11drv/keyboard.c: Aric Stewart Correct the codepage for the Turkish keyboard. * dlls/comctl32/toolbar.c: Aric Stewart Setting the HotItem to -1 can be disastrous at times if it equals oldhit. * tools/specmaker/dll.c, tools/specmaker/main.c, tools/specmaker/msmangle.c, tools/specmaker/output.c, tools/specmaker/search.c, tools/specmaker/specmaker.h, tools/specmaker/symbol.c, tools/specmaker/README: Jon Griffiths - Create entries for ordinal only exports, use ordinals if non-standard. - Improve C++ demangler, recognise data types, fix some bugs. * files/directory.c, files/dos_fs.c, files/file.c: Gerard Patel Gives back the ERROR_FILE_NOT_FOUND to GetFileAttributes. 2001-02-15 Alexandre Julliard * tools/winebuild/parser.c: Added support for backslash escaping of special characters. * dlls/version/info.c: Lawson Whitney If VerQueryValueA is called with a PE resource, translate the call to VerQueryValueW. * dlls/comctl32/toolbar.c: Aric Stewart Continued the implementation of Set Hot Item. * dlls/comctl32/listview.c: James Hatheway Send LVN_DELETEITEM notification first, to avoid crashes if the app requests LVIF_PARAM with LISTVIEW_GetItem() during its LVN_DELETEITEM message handler. * dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.h: Chris Morgan Add includes for . * dlls/wineps/afm.c: Morten Welinder (PSDRV_AFMGetCharMetrics): Use unsigned chars (since isspace is used). (PSDRV_AFMParse): Don't crash on missing font name. Use unsigned chars. Fix peculiar inconsistent indentation. Don't leak a FILE. Catch problematic files with no line feed in them. Don't mix characters and integers. Don't overrun the buffer. * windows/x11drv/keyboard.c: Aric Stewart Added a turkish keyboard layout. 2001-02-14 Alexandre Julliard * dlls/kernel/kernel32.spec: Removed ordinal from functions that don't need a specific value. * scheduler/sysdeps.c, scheduler/thread.c, win32/console.c, win32/device.c, win32/except.c, win32/file.c, win32/init.c, win32/newfns.c, win32/time.c, graphics/x11drv/oembitmap.c, if1632/builtin.c, if1632/relay.c, misc/registry.c, objects/bitmap.c, objects/brush.c, objects/clipping.c, objects/dc.c, objects/dcvalues.c, objects/dib.c, objects/enhmetafile.c, objects/linedda.c, objects/metafile.c, objects/palette.c, objects/pen.c, objects/region.c, objects/text.c, ole/ole2nls.c, scheduler/client.c, scheduler/handle.c, scheduler/process.c, dlls/avifil32/avifile.c, graphics/bitblt.c, graphics/enhmetafiledrv/init.c, graphics/env.c, graphics/escape.c, graphics/mapping.c, graphics/metafiledrv/init.c, graphics/painting.c, graphics/path.c, graphics/win16drv/prtdrv.c, dlls/advapi32/advapi.c, dlls/advapi32/crypt.c, dlls/advapi32/eventlog.c, dlls/advapi32/registry.c, dlls/advapi32/security.c, dlls/advapi32/service.c: Patrik Stridvall Documentation ordinal fixes. * graphics/enhmetafiledrv/objects.c, graphics/metafiledrv/objects.c, graphics/win16drv/font.c, graphics/x11drv/xfont.c, include/font.h, include/gdi.h, include/win16drv.h, include/x11drv.h, objects/font.c, objects/gdiobj.c, dlls/wineps/font.c, dlls/wineps/psdrv.h: Huw D M Davies Change FONTOBJ to use LOGFONTW rather than LOGFONT16. Updated parameters of DEVICEFONTENUMPROC. * windows/defwnd.c: Fixed WM_GETTEXTLENGTH handling. * dlls/Makefile.in, dlls/winmm/mciavi/.cvsignore, dlls/winmm/mciavi/Makefile.in, dlls/winmm/mciavi/info.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mciavi/mciavi.drv.spec, dlls/winmm/mciavi/mciavi_res.rc, dlls/winmm/mciavi/mmoutput.c, dlls/winmm/mciavi/private_mciavi.h, dlls/winmm/mciavi/wnd.c, include/Makefile.in, include/mciavi.h, include/vfw.h: Eric Pouech Started the real implementation of mciavi. * dlls/advapi32/registry.c: Always return success instead of overflow if caller didn't specify a buffer. * tools/wineconf: Morten Welinder Output the right number of backslashes in values. * windows/spy.c: François Gouget Be smarter about the ellipsis in SPY_GetWndName. * dlls/richedit/richedit.c, memory/heap.c, programs/regapi/regapi.c, windows/cursoricon.c: François Gouget Misc typos in comments. * dlls/comctl32/listview.c: François Gouget ListView_GetItemRect already sets rc.left. * controls/menu.c, dlls/comctl32/toolbar.c, ole/ole2nls.c: François Gouget debugstr_xxx already does the quoting. * dlls/comctl32/comctl32undoc.c: François Gouget Change the callback declarations to a safer format. * documentation/wine.man.in: Lawson Whitney Tune the doco to the code for relay/snoop specific. * dlls/winsock/socket.c, dlls/kernel/comm.c, dlls/shell32/shres.rc, dlls/winmm/mmsystem.c: Andreas Mohr Cosmetics. * win32/device.c: Andreas Mohr Give both --winver nt40 and win31 for VxD warning, as some programs work with win31. * dlls/ddraw/ddraw/thunks.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/struct_convert.c: Andreas Mohr - correct DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1 confusion - fix GetAvailableVidMem ddraw iface copy&paste bug (doh !) * dlls/x11drv/x11ddraw.c, dlls/x11drv/x11drv_main.c, dlls/x11drv/xvidmode.c, dlls/x11drv/xvidmode.h, dlls/x11drv/Makefile.in: Ove Kaaven Guts of a simple XVidMode-supporting DirectDraw HAL in x11drv. * files/file.c: Jon Griffiths SetLastError() for GetFileAttributesA. * windows/defwnd.c: Susan Farley Exception for allowing the parent to set the cursor for a child wnd is when the cursor is on the border of a resizable wnd. * controls/menu.c: Dmitry Timoshkov Convert menu item to seperator only when string is NULL. 2001-02-13 Alexandre Julliard * include/dciddi.h, include/ddrawi.h: Ove Kaaven Some important stuff from the DirectDraw DDK headers. * include/wine/library.h, library/loader.c, scheduler/process.c: Josh DuBois More verbose error messages when application load fails. * include/winnt.h, misc/cpu.c, win32/newfns.c: James Abbatiello Use the Pentium's rdtsc instruction (if available) to implement QueryPerformanceCounter. * tools/winapi_check/win16/winnls.api, tools/winapi_check/win32/dciman32.api, tools/winapi_check/modules.dat, tools/winapi_check/winapi_documentation.pm: Patrik Stridvall - Minor API files fixes - Minor bug fixes * dlls/winnls/winnls.c: Patrik Stridvall Fixed some issues found by winapi_check. * dlls/wineps/afm.c: Peter H. Ganten - only parse AFM-files, which start with "BeginFontMetrics" - use fgetc instead of fgets to cope with AFM-Files with Macintosh-Style line-breaks ('\r') in the parser. * dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/shlwapi_main.c, dlls/shlwapi/url.c, tools/winapi_check/win32/shlwapi.api: Jon Griffiths Implement a bunch of shlwapi functions, add some new stubs. * graphics/x11drv/dib.c: Lionel Ulmer Added RGB 565 => RGB 0888 conversion. * dlls/shell32/shlview.c: Chris Morgan Implement keyboard shortcut F2 to rename files and directories in the shellview (and in common dialogs). * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/parser.c, tools/winebuild/relay.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c, tools/winebuild/utils.c: Josh DuBois More portable .align directive. Ignore -delay directive on ppc only. Added code to call the dll constructors. * include/winnt.h: Josh DuBois Defined architecture-specific macros for ppc. * controls/menu.c: Marcus Meissner Don't crash on close from window manager. * windows/message.c: Marcus Meissner PostMessageA/W ignores messages containing pointers and returns FALSE/LastError ERROR_INVALID_PAREMETER. * windows/cursoricon.c: François Gouget CreateIcon must perform color depth conversion if the provided bitmap is not of the same depth as the screen. Added some documentation. 2001-02-12 Alexandre Julliard * dlls/commdlg/printdlg.c: Duane Clark - make the Landscape/Portrait buttons do something. - fix these problems in the Paper Size and Source combo boxes: 1) Every time the printer setup dialog is opened, the settings are set back to garbage settings. 2) If the paper size or source is changed, and then the printer is changed, the new printer does not get the new size and source settings even though it appears to from the dialog. * graphics/x11drv/dib.c, objects/dib.c: James Abbatiello In CreateDIBSection, the offset into the file mapping does not have to be a multiple of the memory allocation granularity. * include/commctrl.h: Francois Gouget Add missing definitions required by the Control Spy examples. * objects/enhmetafile.c: Dmitry Timoshkov Implement playing of EMR_BITBLT, EMR_STRETCHBLT, EMR_MASKBLT, EMR_PLGBLT, EMR_SETDIBITSTODEVICE, EMR_POLYTEXTOUTA, EMR_POLYTEXTOUTW, EMR_FILLRGN, EMR_FRAMERGN, EMR_INVERTRGN, EMR_PAINTRGN enhanced metafile record types according to specs. * include/oleauto.h, dlls/oleaut32/Makefile.in, dlls/oleaut32/hash.c, dlls/oleaut32/stubs.c: Jon Griffiths Implement LHashValOfNameSysA for 4 LCIDs, fix prototype. * dlls/shell32/shlview.c: Francois Gouget Remove TOOLBAR_ID and WM_SETTINGCHANGE, they are not used. * include/richedit.h: Francois Gouget Declare RICHEDIT_CLASS20W using a WCHAR array. * windows/clipboard.c: Aric Stewart If an application directly calls SetClipboardData with CF_TEXT and then later called GetClipboardData with CF_TEXT we gave them a NULL because we where not handling this case. * controls/edit.c: Dmitry Timoshkov Fix the behaviour of EM_GETLINE message. * windows/message.c: Andreas Mohr Make sure that MSG_PeekMessage uses an internal variable to avoid corruption. * dlls/ntdll/reg.c, files/directory.c, programs/regapi/README, tools/wineinstall: Andreas Mohr - TRACE opened registry handles - add proper quotes to wineinstall - spelling * graphics/x11drv/palette.c, windows/nonclient.c, windows/x11drv/wnd.c: Andreas Mohr - move TSXGrabServer after a possible return FALSE; - move misplaced comment - optimize TSXGrabServer use * windows/mdi.c: Dmitry Timoshkov Remove redundant parameters from MDICreateChild and MDIDestroyChild. Make the parameter names slightly more descriptive. * dlls/commdlg/cdlg_En.rc, dlls/commdlg/printdlg.c: Huw D M Davies Add an updown control to the copy count entry. Disable the collate button if no. of copies is 1. Add Landscape/Portrait icons. Get rid of the "Dummy Comment" line. Fix the English of some of the error messages. * objects/enhmetafile.c: Huw D M Davies Remove unused outXform. * dlls/ddraw/ddraw/main.c: Lionel Ulmer Allow an application to re-ask for EXCLUSIVE DirectDraw access. * dlls/comctl32/propsheet.c: Andreas Mohr Check PROPSHEETPAGEA.pfnCallback for NULL pointer if PSP_USECALLBACK is given. * dlls/comctl32/treeview.c: François Gouget Handle WM_CHARs and pass them to TREEVIEW_ProcessLetterKeys. See also LISTVIEW_ProcessLetterKeys in listview.c. * dlls/comctl32/listview.c: François Gouget Fix (rewrite), and add documentation to LISTVIEW_ProcessLetterKeys. Lowered the key repetition delay (Aric). * memory/virtual.c: James Abbatiello Don't require write access on the file handle to create a copy-on-write mapping. * dlls/winmm/mmsystem.c, dlls/winspool/info.c, dlls/winspool/wspool.c, libtest/hello5.c, programs/avitools/aviinfo.c, programs/avitools/aviplay.c, windows/defwnd.c, dlls/comctl32/smoothscroll.c, dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/dplayx/dplaysp.h, dlls/imm32/imm_private.h, dlls/kernel/utthunk.c, dlls/ole32/compobj.c, dlls/setupapi/setupx16.h, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/shell32/shlview.c, dlls/wineps/driver.c: Francois Gouget Change the callback declarations to a safer format. * dlls/oleaut32/dispatch.c, files/file.c, dlls/kernel/comm.c, dlls/kernel/debugger.c, dlls/kernel/time.c: Patrik Stridvall Documentation argument fixes. * windows/message.c, windows/user.c, windows/x11drv/clipboard.c, windows/x11drv/keyboard.c, windows/x11drv/mouse.c: Patrik Stridvall Documentation name fixes (always use external name). * dlls/dplayx/dplay.c, dlls/ole32/storage.c, dlls/shell32/shv_bg_cmenu.c, libtest/vartest.c: Francois Gouget Fix typos in comments. * dlls/kernel/nls/msl.nls, misc/options.c, tools/wmc/lang.c, tools/wmc/language.c, tools/wrc/utils.c, dlls/kernel/locale_rc.rc: Rein Klazes Added support for the Malayan language. * dlls/comctl32/listview.c, include/commctrl.h: Chris Morgan Fix ListView_GetItemRect() macro. Fix use of ListView_GetItemRect() macro in listview control. Add some documentation to LISTVIEW_GetItemRect(). * dlls/msacm/msacm_main.c, dlls/msvcrt/data.c, dlls/msvcrt/math.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win16/msvideo.api, tools/winapi_check/win16/user.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_documentation.pm, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - Addded support for API:s implemented with __ASM_GLOBAL_FUNC - Reorganized documentation checking. - Minor API files fixes * dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/thunks.c, dlls/ddraw/ddraw/user.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/main.c: Marcus Meissner Handle differently sized structs by using their dwSize parameters. * dlls/dinput/joystick/linuxinput.c, include/callback.h, windows/winproc.c: James Abbatiello Fix a few compiler warnings. * dlls/comctl32/datetime.c, dlls/comctl32/flatsb.c, dlls/comctl32/nativefont.c, dlls/comctl32/pager.c, dlls/comctl32/toolbar.c: James Abbatiello Don't allow comctl32 controls to access their infoPtr before it has been allocated or after it has been freed. * dlls/winmm/mmio.c: Andreas Mohr Make MMIO_Open work with NULL filename again. * dlls/user/user32.spec, include/winuser.h, windows/mdi.c, windows/win.c, dlls/user/controls.h: Dmitry Timoshkov Added unicode MDI client window proc. * windows/x11drv/event.c: Josh DuBois Fixed a char that should have been signed. * include/process.h: Jon Griffiths Use extern "C" for Winelib C++ apps. * dlls/commdlg/printdlg.c: Huw D M Davies Call LoadImage to load the non-standard sized collate icons. * dlls/wineps/font.c: Huw D M Davies Map 'Courier New' to 'Courier'. * objects/enhmetafile.c: Huw D M Davies Fix EMF positioning when rclFrame has a non-zero origin. * include/wine/undocshell.h, include/process.h, include/setupapi.h, include/shlwapi.h, include/vfw.h, include/winbase.h, include/winsock2.h, include/winsvc.h: Francois Gouget Change the callback declarations to a safer format. * dlls/msacm/filter.c, dlls/msacm/format.c: James Hatheway acmDriverEnumW shouldn't return MMSYSERR_ERROR if acmDriverEnumCallback returns TRUE. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec, include/winspool.h: Huw D M Davies Implement Set/GetPrinterData[Ex]. Remove ordinals from winspool.drv.spec . * dlls/ole32/compobj.c, dlls/ole32/ole2stubs.c: Andreas Mohr Take a stab at implementing OleSetAutoConvert. * dlls/wineps/afm.c: Marcus Meissner Fixed a NULL ptr problem. Added loading of .afm files from several common locations (ghostscript, a2ps, enscript, (teTeX), X11). * dlls/winmm/wineoss/audio.c: Andreas Mohr Don't touch WAVEHDRs dwLoops variable. * dlls/wineps/ppd.c: Huw D M Davies Spaces do not have to come after the ':' that ends a keyword. Map bin name ManualEnv to DMBIN_ENVMANUAL. * tools/winemaker: François Gouget Make sure all files are terminated with a '\n'. Remove obsolete comment about 'afxres.h' coming back after editing in VC. Added support for the RTF qualifier in RC files. * msdos/int21.c: Andreas Mohr Implemented the int21 LFN rename file function. * dlls/ole32/ole2.c: Huw D M Davies Fix ReleaseStgMedium for MetaFilePict types. * dlls/wineps/text.c: Huw D M Davies Fix for rotated text when lpDx is specified. Better handling of cumulative rounding errors. * dlls/comctl32/pager.c: Susan Farley Handle the CCS_NORESIZE style. Change the scroll delta only when the app responds to the PGN_NOTIFY msg. * graphics/x11drv/dib.c: Ove Kaaven In CopyDIBSection, use source DIB colormap instead if no palette has been selected into the source DC, to work around some X11-imposed DIBsection implementation deficiencies. * dlls/ddraw/ddraw/dga2.c: Ove Kaaven Fix DGA2 mode setting to use the correct color depth. * tools/wineconf: Andreas Mohr - fix wineconf to generate new config file format - fix some variable checks * objects/enhmetafile.c: Dmitry Timoshkov Add support for EMR_EXTTEXTOUTA and EMR_CREATEMONOBRUSH enhanced metafile records. Better implementation of EMR_STRETCHDIBITS and EMR_EXTTEXTOUTW. * relay32/snoop.c: Lawson Whitney Make snoop specific case insensitive. * dlls/dciman32/dciman32.spec, dlls/dciman32/dciman_main.c: Andreas Mohr Added DCICloseProvider stub. * dlls/shell32/shelllink.c: James Abbatiello Implement IShellLink_fnGetWorkingDirectory, IShellLink_fnGetArguments, IShellLink_fnGetIconLocation. * controls/combo.c: James Abbatiello Ownerdrawn combo boxes should use ODS_COMBOBOXEDIT in the itemState. * include/commctrl.h: Guy L. Albertelli - Fix typo in previous change. - Add structures for CBEN_INSERTITEM notify message. * tools/wrc/utils.c: Jon Griffiths Remove xmalloc/xrealloc limits for large binary resources. * graphics/x11drv/text.c: Eric Kohl Fixed text size calculation bug in GetTextExtentPoint() for window dc's. * documentation/documentation.sgml: John R. Sheets New section about writing docs in DocBook and dealing with the Wine SGML build system; half done, but a good start. * dlls/winnls/winnls.c, dlls/winnls/winnls.spec: Andreas Mohr A couple of stubs for Terminal Server Client 16 bit. 2001-01-29 Alexandre Julliard * programs/avitools/Makefile.in: Matthew Clarke Don't assume .spec files are found in the current directory, as this is not the case when building outside the source tree. * include/queue.h, windows/message.c, windows/queue.c: Ulrich Weigand Synchronize access to MESSAGEQUEUE members. * dlls/msvideo/msvideo_main.c: Marcus Meissner Added some more 16->32 mappings for ICM* messages. * dlls/ddraw/ddraw/main.c: Marcus Meissner dvideo.dll forgets to set the DDSD_CAPS flag, just assume it set. Output more debug info on failure. * objects/enhmetafile.c: Eric Kohl Disabled setting of window origin from an EMF. 2001-01-28 Alexandre Julliard * dlls/Makefile.in, dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo_main.c: Marcus Meissner Implemented VideoCapDriverDescAndVer. * dlls/user/user.spec, windows/message.c, windows/user.c: Eric Pouech Added a few missing exports. * dlls/dinput/keyboard/main.c: Ove Kaaven Don't disable keyboard autorepeat, since autorepeat is now detectable. * dlls/ddraw/dsurface/main.c, dlls/ddraw/ddraw/dga2.c, dlls/ddraw/ddraw/user.c, dlls/ddraw/ddraw/xvidmode.c, dlls/ddraw/ddraw_private.h: Marcus Meissner - Siedler3 appears to have rather limited buffers for device/description strings and crashes with those long strings. Shortened those strings. - Also driver needs to be "display" for display devices (some other programs rely on that info I seem to remember). - Fixed DSurface::GetSurfaceDesc to not just blindly copy a DDSURFACEDESC2 struct over a smaller DDSURFACEDESC one. * dlls/dinput/device_private.h, dlls/dinput/dinput_main.c, dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c, dlls/dinput/mouse/main.c: Ove Kaaven Gavriel State Implemented circular buffering for the dinput mouse device. Mapped the mouse warp on the center of the cooperative window, which should make windowed games work better in managed mode. * dlls/wineps/init.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h: Huw D M Davies Take into account unprintable margins in psdrv. * dlls/wineps/driver.c: Huw D M Davies Dmitry Timoshkov psdrv's DeviceCapabilities should list DMBIN_AUTO as an available bin. * dlls/wineps/ppd.c: Dmitry Timoshkov Add "OnlyOne" paper source, used by the Acrobat Distiller PPD. * dlls/msvcrt/math.c: Josh DuBois Fixed typo. * dlls/winmm/mci.c: Eric Pouech Fixed some mci string parsing issues. Added more mappings 32ATo16. * dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mciwave/mciwave.c: Eric Pouech Simplified memory allocation for asynchronous MCI message handling. * dlls/winmm/mcicda/mcicda.drv.spec, dlls/winmm/mciseq/mciseq.drv.spec, dlls/winmm/mciwave/mciwave.drv.spec: Eric Pouech Delay importing user32 (only used for configuration). * dlls/msvideo/msvideo_main.c: Eric Pouech Fixed a few oddities. * dlls/msvideo/drawdib.c: Eric Pouech Added a bit more of flags handling in drawdib functions. * dlls/commdlg/filedlg95.c: Chris Morgan Put a '\n' at the end of the FIXME to prevent very odd and difficult to debug crashes due to overflowing of the debug info's output buffer. * tools/specmaker/README, tools/specmaker/main.c, tools/specmaker/msmangle.c, tools/specmaker/output.c, tools/specmaker/specmaker.h: Jon Griffiths Improve name demangling, add 'demangle symbol' option. 2001-01-26 Alexandre Julliard * tools/winelauncher.in: Jeremy White Remove the keyword 'function', as requested by Robert Luberda. * misc/registry.c: Martin Pilka Fixed typo which caused the WritetoHomeRegistryFiles option to be ignored. * dlls/comctl32/comboex.c: Guy L. Albertelli - Rewrite WM_CREATE to match native (allocating own Edit control, etc). - Implement additional WNDPROCs for the Combo and Edit controls to handle different functions. - Implement CBEM_SETCURSEL and CBEM_HASEDITCHANGED. * controls/combo.c: Guy L. Albertelli - When painting the text, if the control is OWNERDRAWN the issue the WM_DRAWITEM message. - Set the focused status at the end of the end of the Setfocus routine. - Flip the order of updating the list box and issuing the WM_NOTIFY for CBN_EDITUPDATE to match native. * include/server.h, server/debugger.c, server/request.h, server/trace.c, win32/except.c, dlls/ntdll/exception.c: Made exception_event_request non-blocking, and added get_exception_status to retrieve the exception result returned by the debugger. * windows/sysparams.c, windows/user.c, windows/multimon.c, windows/painting.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/midimap/midimap.c, dlls/winmm/wavemap/wavemap.c, dlls/wsock32/socket.c, graphics/x11drv/dib.c, include/heap.h, memory/codepage.c, msdos/dosaspi.c, msdos/int11.c, msdos/int2f.c, msdos/int33.c, objects/dib.c, dlls/oleaut32/connpt.c, dlls/oleaut32/olepicture.c, dlls/richedit/richedit.c, dlls/setupapi/infparse.c, dlls/shdocvw/classinfo.c, dlls/shdocvw/events.c, dlls/shdocvw/factory.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/shdocvw_main.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/url.c, dlls/ttydrv/bitmap.c, dlls/user/bidi16.c, dlls/winmm/mcianim/mcianim.c, dlls/winmm/mcicda/mcicda.c, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplay.c, dlls/dplayx/dplaysp.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplayx_messages.c, dlls/dplayx/name_server.c, dlls/gdi/gdi_main.c, dlls/imagehlp/access.c, dlls/kernel/kernel_main.c, dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/pcmconverter.c, dlls/msacm/stream.c, dlls/msvideo/drawdib.c, dlls/ntdll/reg.c, dlls/ole32/antimoniker.c, dlls/ole32/clipboard.c, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/errorinfo.c, dlls/ole32/itemmoniker.c, dlls/ole32/moniker.c, dlls/ole32/ole2impl.c, dlls/comctl32/trackbar.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/finddlg32.c, dlls/ddraw/convert.c, dlls/ddraw/dclipper/main.c, dlls/ddraw/ddraw/user.c, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/user.c, dlls/ddraw/dsurface/wndproc.c, dlls/dinput/device.c, dlls/dinput/dinput_main.c, dlls/comctl32/comboex.c, dlls/comctl32/flatsb.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/status.c, dlls/advapi32/service.c, dlls/comctl32/animate.c: James Juran Add to files that needed it. * files/file.c, memory/atom.c, programs/regapi/regapi.c, windows/dce.c, windows/winhelp.c, windows/winproc.c, dlls/commdlg/colordlg.c, dlls/ole32/filemoniker.c, dlls/shell32/shellpath.c, dlls/user/user.spec, dlls/winmm/mmsystem.c: Andreas Mohr Some more cleanups. * dlls/dinput/joystick/linuxinput.c: Ove Kaaven Check that the linux 2.4 event interface is available before creating a dinput device based on it. * dlls/wineps/text.c: Huw D M Davies Handle the lpDx array properly. * windows/winpos.c: Martin Pilka Fixed SW_RESTORE handling. * controls/edit.c: Dmitry Timoshkov Do not notify parent of the Edit control on WM_SETTEXT when Edit is part of the ComboBox. * dlls/comctl32/rebar.c: Guy L. Albertelli - make hidden bands have valid (0 width) child window areas - when hiding a band, don't show the window, hide it. * dlls/kernel/debugger.c, include/server.h, scheduler/process.c, server/debugger.c, server/process.c, server/request.h, server/trace.c: Changed wait_process and wait_debug_event requests to never block; waiting is always done through WaitForSingleObject(). * dlls/kernel/comm.c: Andreas Mohr Don't open the comm handle with GENERIC_WRITE via FILE_GetUnixHandle. * windows/defwnd.c, include/win.h: Dmitry Timoshkov Replace 16-bit calls in DefWindowProc by 32-bit, preferring unicode API calls. 2001-01-25 Alexandre Julliard * dlls/user/wsprintf.c: Got rid of WPRINTF_ExtractVAPtr. * dlls/shdocvw/shdocvw.spec, dlls/win32s/win32s16.spec, dlls/winedos/dosvm.c, dlls/winmm/wineoss/oss.c, include/dosexe.h, tools/specmaker/output.c, dlls/ddraw/ddraw/dga2.c, dlls/ddraw/ddraw/thunks.c, dlls/ddraw/ddraw/user.c, dlls/ddraw/ddraw/xvidmode.c, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/struct_convert.c, dlls/msvcrt/msvcrt.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win32/msvcrt.api, tools/winapi_check/win32/oleaut32.api, tools/winapi_check/win32/winedos.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_local.pm: Patrik Stridvall Minor bugfixes. * windows/clipboard.c, windows/cursoricon.c, windows/dialog.c, windows/driver.c, windows/hook.c, windows/message.c, windows/queue.c, windows/scroll.c, windows/syscolor.c, windows/user.c, windows/win.c, windows/winpos.c, controls/desktop.c, controls/menu.c, controls/scroll.c, controls/uitools.c, dlls/kernel/comm.c, dlls/kernel/debugger.c, dlls/kernel/format_msg.c, dlls/kernel/kernel_main.c, dlls/kernel/stress.c, dlls/kernel/sync.c, dlls/kernel/thunk.c, dlls/kernel/time.c, dlls/kernel/toolhelp.c, dlls/kernel/utthunk.c, dlls/kernel/win87em.c, dlls/kernel/wowthunk.c, dlls/psapi/psapi_main.c, dlls/user/bidi16.c, dlls/user/ddeml.c, dlls/user/exticon.c, dlls/user/lstr.c, dlls/user/misc.c, dlls/user/resource.c, dlls/user/text.c, loader/task.c: Patrik Stridvall Documentation ordinal fixes. * misc/registry.c: Fixed typo in HKEY_USERS/.Default creation. * dlls/comctl32/tab.c: Gerard Patel Don't send notifications for the initial display of the first tab of the control. * windows/spy.c: Gerard Patel Added a few messages and notifications. * objects/enhmetafile.c: Eric Kohl Disabled setting of viewport origin from an EMF. * windows/winpos.c: Susan Farley Always restore the bit_gravity to BGForget after using BGNorthwest to copy bits during SetWindowPos. * winedefault.reg: John R. Sheets Added the necessary registry entries for the Mozilla ActiveX control. 2001-01-24 Alexandre Julliard * windows/defwnd.c: Andreas Mohr Only set window text for WM_NCCREATE in DefWindowProc*() in case lpszName is a string (i.e. check HIWORD). * graphics/x11drv/oembitmap.c, include/bitmaps/obm_radiocheck, include/winuser.h: Removed non-standard OBM_RADIOCHECK bitmap. * controls/menu.c, controls/uitools.c, windows/nonclient.c, windows/sysmetrics.c: Use DrawFrameControl() instead of OEM bitmaps to paint caption buttons and menu check marks. * dlls/wineps/font.c, dlls/wineps/graphics.c, dlls/wineps/pen.c, dlls/wineps/text.c: Eric Kohl Partial implementation of world transform support. * objects/enhmetafile.c: Eric Kohl Several fixes for playing enhanced metafiles in a given rectangle. * graphics/x11drv/graphics.c, graphics/x11drv/pen.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c, include/gdi.h: Eric Kohl Partial implementation of world transform support. * documentation/wine.man.in, objects/font.c, README, debugger/README: Andreas Mohr Documentation updates. * documentation/Makefile.in, documentation/running.sgml, documentation/wine-doc.sgml, documentation/winelib-bindlls.sgml, documentation/winelib-intro.sgml, documentation/winelib-mfc.sgml, documentation/winelib-pkg.sgml, documentation/winelib-porting.sgml, documentation/winelib-toolkit.sgml, documentation/winelib-user.sgml: John R. Sheets - Split Winelib User Guide into smaller files for easier maintenance and better integration with make_winehq. - Add some Winelib docs from Jon Griffiths. - Fix a problem in running.sgml. 2001-01-22 Alexandre Julliard * controls/edit.c: Dmitry Timoshkov Protect read-only edit control from modification. * dlls/msvcrt/exit.c: Jon Griffiths Implemented __dllonexit. * dlls/comctl32/listview.c: Gerard Patel Misc fixes in LISTVIEW_SetImageList, LISTVIEW_SetItemCount, LISTVIEW_UpdateSize. * files/profile.c: Gerard Patel Display the config file location in the incorrect config file error message. * dlls/msvcrt/wcs.c, dlls/ntdll/wcstring.c: James Juran Use int instead of WCHAR in va_arg() (fixes gcc-current compilation problem). * include/commctrl.h: Francois Gouget Added various definitions (mostly macros). Fixed typo in the HDN_{BEGIN,END}DRAG macros. Added a pointer type for IMAGEINFO. Fixed the return type of TreeView_{SetToolTips,GetToolTips}. Even macros must come in A/W and neutral form (see the ListView_ series). Fixed typo in MonthCal_SetColor. * include/richedit.h: Francois Gouget Added CHARRANGE. * include/prsht.h: Francois Gouget Added PSN_GETOBJECT. * dlls/ddraw/ddraw/xvidmode.c: Josh DuBois Include 'options.h' for a needed prototype. * dlls/oleaut32/variant.c, include/oleauto.h: Josh DuBois Changed VarCyFromI1 to take a signed char. * controls/combo.c, dlls/msvcrt/mbcs.c, objects/bitmap.c, tools/specmaker/output.c: Francois Gouget Typo fixes in comments. * dlls/msvcrt/cpp.c, dlls/msvcrt/data.c, dlls/msvcrt/dir.c, dlls/msvcrt/environ.c, dlls/msvcrt/errno.c, dlls/msvcrt/file.c, dlls/msvcrt/heap.c, dlls/msvcrt/locale.c, dlls/msvcrt/math.c, dlls/msvcrt/misc.c, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c, dlls/msvcrt/thread.c, dlls/msvcrt/wcs.c: Jon Griffiths - New msvcrt unicode functions, winapi_check/-Wall/-W clean. - Forward to ntdll where possible. - Fix some .spec entries with incorrect parameters. * include/wine/obj_contextmenu.h: Jon Griffiths Fixed Unicode strings. * dlls/ntdll/critsection.c: Jon Griffiths Made SpinCount FIXME into a TRACE. * debugger/stabs.c: Jon Griffiths Increased debugger include limit to 512. * dlls/winaspi/aspi.c, dlls/wininet/http.c, dlls/wsock32/protocol.c, include/winnt.h, loader/pe_image.c, tools/winebuild/import.c, tools/winebuild/main.c, dlls/dplayx/dplobby.c, dlls/msvcrt/msvcrt.h, dlls/ntdll/ntdll.spec, dlls/ntdll/string.c, dlls/ntdll/wcstring.c, dlls/opengl32/wgl.c, dlls/setupapi/setupx_main.c, dlls/user/lstr.c, dlls/user/user_main.c: Jon Griffiths - Remove from winnt.h. - ntdll: complete crt functions, prevent libc imports, fix sscanf. * dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg95.c, dlls/commdlg/finddlg.c, dlls/commdlg/finddlg32.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, include/commctrl.h, include/commdlg.h, include/msacm.h, include/prsht.h: Jon Griffiths - Fix a typo in TBSAVEPARAMS A/W declaration. - Use 16 bit Unicode constants for wc strings. - Make some string constants available as Unicode. 2001-01-21 Alexandre Julliard * dlls/commdlg/cdlg_xx.rc, dlls/commdlg/filedlg.c: Fixed the size of the file dialog icons. * windows/spy.c: Guy L. Albertelli - Added NMCBEENDEDIT structure for NOTIFY dump. - Added dump of positioning structure for WM_WINDOWPOSCHANG{ED|ING}. * include/commctrl.h: Guy L. Albertelli Added NMCBEENDEDIT{W|A} structures and flags. * loader/ne/module.c: Gerard Patel Fix the cmdline argument passed to NE_CreateThread to include string length. * include/winbase.h: Francois Gouget Added missing pointer type declarations (usually Pxxx). * dlls/wininet/http.c: Huw D M Davies Escape any spaces in lpszObjectName passed to HttpOpenRequest. 2001-01-20 Alexandre Julliard * windows/x11drv/event.c: Warning fix. * loader/pe_image.c: Display the importing dll in the 0xdeadbeef message. * dlls/shell32/shell32_main.c, dlls/user/resources/user32_cursors.rc, dlls/user/resources/user32_icons.rc, include/winuser.h, programs/clock/main.h, programs/notepad/lcc.h, programs/notepad/main.h, programs/progman/group.c, programs/progman/progman.h, programs/progman/program.c, windows/nonclient.c, windows/win.c, dlls/commdlg/cdlg_xx.rc, dlls/commdlg/filedlg.c: Fixed a number of incompatibilities in OEM icons/cursors handling. * dlls/user/text.c: Ulrich Czekalla Prevent buffer overflow in TEXT_NextLineW. * tools/winapi_check/modules.dat, tools/winapi_check/win16/msacm.api, tools/winapi_check/win32/crtdll.api, tools/winapi_check/win32/msvcrt.api, tools/winapi_check/win32/oleaut32.api, tools/winapi_check/win32/rasapi32.api, tools/winapi_check/win32/setupapi.api, tools/winapi_check/win32/shdocvw.api, tools/winapi_check/win32/user32.api, tools/winapi_check/win32/winedos.api, tools/winapi_check/win32/wsock32.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 API files update. - Minor bug fixes. - Minor documentation check improvements. 2001-01-19 Alexandre Julliard * dlls/dinput/joystick/linuxinput.c, include/acconfig.h, include/config.h.in, configure.in, configure: Marcus Meissner Added configure check for old linux/input.h. * documentation/make_winehq, documentation/wine-devel.sgml, documentation/wine-pkg.sgml, documentation/wine-user.sgml: John R. Sheets Added convenience script for generating online docs for winehq.com. * controls/uitools.c: Josh DuBois Specified 'signed' on chars compared to -1. * documentation/packaging.sgml: John R. Sheets Make SGML ID attributes in packaging.sgml more unique to avoid conflicts when we bundle all four guides into a single set. * controls/edit.c, controls/scroll.c: Dmitry Timoshkov Solve remaining problems with scroll bars in the edit control. 2001-01-18 Alexandre Julliard * documentation/db2html-winehq: John R. Sheets Clean up db2html-winehq HTML generation script. Works in Debian, and may actually work in Redhat now, too. * dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shell32.spec, dlls/shell32/shlfileop.c: Andreas Mohr Implemented SHELL32.IsNetDrive and SHELL32.ILSaveToStream needed for IE 5. * documentation/configuring.sgml, documentation/fonts.sgml, documentation/installation-und-konfiguration.german, documentation/installing.sgml, documentation/opengl.sgml, documentation/printing.sgml, documentation/registry.sgml, documentation/running.sgml: Chris Morgan Updated for change in config file name. Removed references to obsolete global wine configuration file where appropriate. Updated config option format to match the new syntax. Misc cleanups. * dlls/user/resources/user32.rc, dlls/user/resources/user32_cursors.rc, dlls/user/resources/user32_icons.rc, graphics/x11drv/oembitmap.c, include/bitmaps/ocr_appstarting, include/bitmaps/ocr_bummer, include/bitmaps/ocr_cross, include/bitmaps/ocr_dragobject, include/bitmaps/ocr_hand, include/bitmaps/ocr_help, include/bitmaps/ocr_ibeam, include/bitmaps/ocr_icon, include/bitmaps/ocr_no, include/bitmaps/ocr_normal, include/bitmaps/ocr_size, include/bitmaps/ocr_sizenesw, include/bitmaps/ocr_sizens, include/bitmaps/ocr_sizenwse, include/bitmaps/ocr_sizewe, include/bitmaps/ocr_up, include/bitmaps/ocr_wait, include/bitmaps/oic_bang, include/bitmaps/oic_bang_95, include/bitmaps/oic_cdrom, include/bitmaps/oic_floppy, include/bitmaps/oic_folder, include/bitmaps/oic_folder2, include/bitmaps/oic_hand, include/bitmaps/oic_hand_95, include/bitmaps/oic_hdisk, include/bitmaps/oic_landscape, include/bitmaps/oic_network, include/bitmaps/oic_note, include/bitmaps/oic_note_95, include/bitmaps/oic_portrait, include/bitmaps/oic_ques, include/bitmaps/oic_ques_95, include/bitmaps/oic_sample, include/bitmaps/oic_wineicon, include/winuser.h, windows/cursoricon.c: Store USER icons and cursors as resources instead of xpm bitmaps. * dlls/winmm/wineoss/audio.c: Huw D M Davies Fix off by one error in buffer length check. * tools/wineinstall: Chris Morgan Switched from wine.config back to wine.conf, no need to use something not linux standard. Removed use of obsolete "--config" option when calling regapi. Lots of cleanup and reorganization. Check to see if wine is installed when wineinstall is not run as root. * include/winbase.h: Francois Gouget Added 3 missing FS_xxx macros. 2001-01-17 Alexandre Julliard * dlls/shell32/shell32_main.h, dlls/shell32/shlmenu.c, dlls/shell32/shell32_main.c, dlls/commdlg/filedlgbrowser.c, dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/commdlg/filedlg95.c: Replaced some GetProcAddress() imports by the standard dll import mechanism. * dlls/wineps/init.c, dlls/winmm/mmsystem.c, dlls/dplayx/dplayx_main.c, dlls/imm32/main.c, dlls/msacm/msacm32_main.c, dlls/ole32/compobj.c, dlls/ole32/ole32_main.c, dlls/opengl32/wgl.c, dlls/richedit/riched32.h, dlls/richedit/richedit.c, dlls/rpcrt4/rpcrt4_main.c, dlls/serialui/confdlg.c, dlls/shell32/shell.c, dlls/ttydrv/ttydrv_main.c, dlls/winaspi/winaspi32.c, dlls/comctl32/commctrl.c, dlls/commdlg/generic.c: Cleaned up dll startup routines now that we have separate address spaces. * configure, configure.in, dlls/advapi32/service.c, dlls/winmm/driver.c: Andreas Mohr Cosmetics. * dlls/x11drv/x11drv_main.c, include/x11drv.h, windows/x11drv/event.c: Josh DuBois Make some noise in a few cases where the X11drv doesn't load, but used to fail silently. * scheduler/services.c: Josh DuBois SERVICE_CreateServiceTable still returned TRUE if CreateThread failed. * include/wine/library.h, library/Makefile.in, library/errno.c, scheduler/sysdeps.c, scheduler/thread.c, dlls/x11drv/x11drv_main.c, include/acconfig.h, include/config.h.in, include/x11drv.h, configure, configure.in: Cleaned up the various errno location tests in configure. Added (h_)errno_location pointers in the library that allow remapping the calls in higher level dlls. Moved X11DRV_CritSection out of sysdeps.c and into x11drv.dll. * dlls/winsock/socket.c, dlls/wsock32/socket.c: James Hatheway In WsControl, don't mix Linux and Wine socket calls. Always use Wine calls. Added hack for missing WINAPI in Unix socket() definition. * dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c, include/setupapi.h: James Juran Added some stubs needed for IE 5.5 setup. * tools/wineshelllink: Jeremy White Revised wineshelllink to wake up KDE 1.x so that applications that get installed show up without a manual KDE menu refresh required. Added a few usage checks to make manual invocation a little less painful. * tools/bin2res.c: Fixed tmpfile buffer size. * files/dos_fs.c: Fixed typo in wine_get_unix_file_name(). * dlls/shell32/shelllink.c: Jeremy White Revised shell link process to treat empty (e.g. "") strings identically to NULL strings. Makes many more installers take useful action. Added many trace messages. * dlls/comctl32/listview.c: Ulrich Czekalla Only adjust item rect by horizontal scrollbar offset in report view. * dlls/winsock/socket.c: Gerard Patel Change WSACleanup - wsinfo is a static structure now. * tools/winelauncher.in: Jeremy White Make winelauncher test for xmessage and warn the user if they don't have it. 2001-01-15 Alexandre Julliard * graphics/x11drv/brush.c, include/wine_gl.h, windows/x11drv/clipboard.c, windows/x11drv/event.c: Replaced X11DRV_CritSection references by wine_tsx11_(un)lock. * graphics/x11drv/bitblt.c, graphics/x11drv/bitmap.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, graphics/x11drv/oembitmap.c, include/callback.h, include/x11drv.h, scheduler/sysdeps.c, windows/x11drv/mouse.c, dlls/x11drv/x11drv_main.c: Removed CALL_LARGE_STACK support. * loader/ne/segment.c: Ulrich Weigand Don't call a NE DLL's DllEntryPoint twice during one single LoadModule() call. * memory/virtual.c: Uwe Bonnes MapViewOfFileEx: make the returned error dependent on the Windows version used. * dlls/user/user32.spec, dlls/winedos/winedos.spec, dlls/x11drv/x11drv.spec, dlls/ntdll/ntdll.spec: Updated debug channels. * dlls/winmm/wineoss/mixer.c, windows/winproc.c, windows/x11drv/wnd.c, dlls/winmm/mciavi/mciavi.c: Removed unnecessary headers. * windows/mdi.c: Dmitry Timoshkov Initialize MENUITEMINFO structure before calling GetMenuItemInfo. * dlls/ddraw/ddraw/thunks.c: Marcus Meissner Fixed an interface cast in DD2->DD7 thunk. * controls/edit.c: Dmitry Timoshkov Add one missing buffer size rounding in the edit control. Make rounding code slightly more readable. * loader/ne/module.c, loader/ne/resource.c, loader/task.c, if1632/builtin.c: Replaced GLOBAL_Alloc by GlobalAlloc16 where possible. * misc/Makefile.in, misc/tweak.c, objects/gdiobj.c, windows/defwnd.c, windows/mdi.c, windows/msgbox.c, windows/nonclient.c, windows/painting.c, windows/syscolor.c, windows/sysmetrics.c, windows/sysparams.c, controls/button.c, controls/combo.c, controls/edit.c, controls/listbox.c, controls/menu.c, controls/scroll.c, controls/static.c, controls/uitools.c, dlls/gdi/gdi_main.c, dlls/user/cache.c, dlls/user/text.c, dlls/user/user_main.c, graphics/x11drv/oembitmap.c, graphics/x11drv/xfont.c, include/cache.h, include/tweak.h, include/user.h: Moved tweak support to USER dll. Removed tweak.h and cache.h. * memory/local.c, msdos/int20.c, msdos/int2f.c, scheduler/process.c, win32/init.c, windows/clipboard.c, windows/cursoricon.c, windows/focus.c, windows/hook.c, windows/input.c, windows/message.c, windows/queue.c, windows/timer.c, windows/user.c, windows/win.c, windows/winpos.c, include/queue.h, include/task.h, include/wine/winbase16.h, loader/ne/segment.c, loader/pe_resource.c, loader/resource.c, debugger/dbg.y, debugger/expr.c, dlls/winsock/async.c, dlls/winsock/socket.c, files/file.c, if1632/relay.c: Removed some direct accesses to the 16-bit task structure. * dlls/crtdll/crtdll.spec, dlls/msvcrt/ctype.c, dlls/msvcrt/msvcrt.spec: Fixed toupper/_toupper mixup. 2001-01-12 Alexandre Julliard * ANNOUNCE, ChangeLog, include/version.h: Release 20010112. ---------------------------------------------------------------- 2001-01-12 Alexandre Julliard * dlls/ddraw/ddraw/xvidmode.c: Added missing WIN_ReleaseWndPtr. * dlls/winmm/Makefile.in, dlls/winmm/mmsystem.spec: winmm.dll can now be properly separated. * dlls/msvideo/msvideo_main.c: Francois Gouget Warning fix. * dlls/dsound/dsound_main.c: Ove Kaaven Fixes for various underrun-related problems. Also added a mechanism for the sound driver to request that a Stop should close and reopen the device. * dlls/winmm/mmsystem.c, dlls/winmm/time.c, dlls/winmm/winemm.h: Ove Kaaven Remove multimedia timers from the service thread, use a separate thread instead. * dlls/comctl32/status.c: François Gouget In STATUSBAR_GetTipText{a,W, always put a terminating '\0' in the buffer. Pass a buffer of sufficient size to TTM_GETTEXTA. * dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/thunks.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dga2_private.h, dlls/ddraw/dga_private.h, dlls/ddraw/dsurface/main.c, dlls/ddraw/dsurface/thunks.c, dlls/ddraw/dsurface/user.c, dlls/ddraw/dsurface/wndproc.c, dlls/ddraw/main.c: Gavriel State Warning fixes. * dlls/wsock32/wsock32.spec, include/Makefile.in, include/nspapi.h, include/wshisotp.h, include/wsipx.h, dlls/Makefile.in, dlls/wsock32/Makefile.in, dlls/wsock32/protocol.c: Stefan Leichter Implemented EnumProtocolA/W. * configure.in, include/config.h.in, library/port.c, configure: Andreas Mohr NetBSD 1.5 is lacking ecvt, fcvt, gcvt for crtdll. * server/file.c: Andreas Mohr Workaround for SuSE 7 2.2.16 kernel bug. * controls/edit.c: James Hatheway Guard against incoming string of NULL in WM_SETTEXT. * dlls/Makefile.in, dlls/crtdll/Makefile.in, dlls/crtdll/console.c, dlls/crtdll/crtdll.h, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/dir.c, dlls/crtdll/exit.c, dlls/crtdll/file.c, dlls/crtdll/locale.c, dlls/crtdll/mbstring.c, dlls/crtdll/memory.c, dlls/crtdll/spawn.c, dlls/crtdll/string.c, dlls/crtdll/time.c, dlls/crtdll/wcstring.c: Jon Griffiths Turn crtdll into forwards to msvcrt. * dlls/msvcrt/except.c: Jon Griffiths Added some exception handling functions. * dlls/msvcrt/math.c: Gerald Pfeifer Fixed mistyped variable name in MSVCRT__fpclass(). * memory/virtual.c: Added flag to differentiate file mappings and VirtualAlloc() blocks, and reject VirtualFree() calls on file mappings. * include/server.h, scheduler/client.c: Removed obsolete get_req_buffer() function. * files/file.c: Mike McCormack Swap lpOverlapped parameters in ReadFile and WriteFile. The InternalHigh member should contain the number of bytes transferred. * dlls/msvcrt/locale.c, dlls/msvcrt/math.c, dlls/msvcrt/mbcs.c: Jon Griffiths Fixes as a result of testing builtin crtdll against builtin msvcrt. * files/directory.c, files/drive.c: Chris Morgan Updated messages with new config files in mind to keep from confusing users. * dlls/comctl32/pager.c: Susan Farley Implemented most functionality. TODO lists whats left. 2001-01-11 Alexandre Julliard * Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/shdocvw/.cvsignore, dlls/shdocvw/Makefile.in, dlls/shdocvw/classinfo.c, dlls/shdocvw/events.c, dlls/shdocvw/factory.c, dlls/shdocvw/misc.c, dlls/shdocvw/oleobject.c, dlls/shdocvw/persist.c, dlls/shdocvw/shdocvw.h, dlls/shdocvw/shdocvw.spec, dlls/shdocvw/shdocvw_main.c, dlls/shdocvw/webbrowser.c, documentation/Makefile.in, include/wine/obj_webbrowser.h, winedefault.reg: John R. Sheets Implemented stubs for IWebBrowser in shdocvw.dll. * tools/winebuild/main.c: Nathan Neulinger Renamed struct option to avoid conflicts with getopt.h. * dlls/msvcrt/except.c, dlls/msvcrt/msvcrt.spec: Jon Griffiths Added binary compatible __EH_prolog. * server/main.c: Josh DuBois Added a simple usage() function. * dlls/ddraw/dga.c, dlls/ddraw/dga2.c: No longer used. * include/wine/obj_cache.h, include/wine/obj_connection.h, include/wine/obj_oleobj.h, include/wine/obj_oleview.h: John R. Sheets Correct some cut & paste typos. * tools/wineinstall: Chris Morgan Update for the new config format and location of the default config file. Add a conf_quesion to convert an old user config file, or use the default Wine config file. Removed the setting of obsolete EXTRA_LD_LIBRARY_PATH. Added a conf_question to give the user the option to install local config and registry files when the script is being run by root. * tools/winemaker: François Gouget Create the main_target in single-target mode. The defined(@array) construct is said to be deprecated, avoid it. Simplify the usage reporting. Add a word of caution to the usage message. * controls/edit.c: Dmitry Timoshkov Fix the return value of WM_GETTEXT in the edit control. * controls/combo.c: Dmitry Timoshkov Various combobox fixes. * files/Makefile.in: Chris Morgan Removed some unnecessary defines after profile.c cleanup. * programs/avitools/aviplay.c: Ulrich Weigand Fixed unnamed union dummy names. * configure.in, include/acconfig.h, include/config.h.in, include/wine/port.h, include/winnt.h, configure: Ulrich Weigand Replaced architecture-dependent configure checks by hardcoded definitions in winnt.h (to avoid config.h dependency). * dlls/ntdll/exception.c: Ulrich Weigand Added missing prototypes to avoid compile warnings on Solaris. * include/winsock.h: Ulrich Weigand Work around problems on Solaris if config.h is not included. * windows/message.c: Ulrich Weigand Fixed byteorder problems caused by non-portable code. 2001-01-10 Alexandre Julliard * dlls/msvcrt/cpp.c, dlls/msvcrt/ctype.c, dlls/msvcrt/data.c, dlls/msvcrt/dir.c, dlls/msvcrt/environ.c, dlls/msvcrt/errno.c, dlls/msvcrt/except.c, dlls/msvcrt/exit.c, dlls/msvcrt/file.c, dlls/msvcrt/heap.c, dlls/msvcrt/locale.c, dlls/msvcrt/main.c, dlls/msvcrt/math.c, dlls/msvcrt/mbcs.c, dlls/msvcrt/misc.c, dlls/msvcrt/ms_errno.h, dlls/msvcrt/msvcrt.h, dlls/msvcrt/msvcrt.spec, dlls/msvcrt/process.c, dlls/msvcrt/string.c, dlls/msvcrt/thread.c, dlls/msvcrt/time.c, dlls/msvcrt/wcs.c, documentation/samples/config, loader/loadorder.c, DEVELOPERS-HINTS, Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/msvcrt/.cvsignore, dlls/msvcrt/Makefile.in, dlls/msvcrt/console.c: Jon Griffiths - Migrate CRTDLL to MSVCRT. - Many fixes and a load of new functions. * include/options.h, misc/options.c: Removed all traces of the --config option. * dlls/ddraw/ddraw/xvidmode.c: Gavriel State Reenabled DXGrab option. * controls/edit.c: Dmitry Timoshkov Synchronize the sizes of the external and internal buffers at start and end of message processing in the edit control. * controls/listbox.c: Gerard Patel Fixed returned length for LB_GETTEXT. * dlls/kernel/Makefile.in: Added nls to EXTRASUBDIRS. * files/profile.c: Chris Morgan Removed use of outdated WINE_INI environment variable. Removed obsolete --config option. Removed loading of global wine config file. Cleaned up some messages. * controls/edit.c: James Hatheway es->buffer_size is not always the length of the text currently in the editbox, so use -1 instead. * loader/module.c, loader/ne/module.c, dlls/ntdll/ntdll.spec: Gerard Patel Added a specific debug channel for dll loading (builtin/native). * objects/dib.c, objects/enhmetafile.c, objects/metafile.c, objects/palette.c, objects/text.c: Joerg Mayer Fixed some signed/unsigned warnings. * files/file.c: Mike McCormack Implemented asynchronous ReadFile and WriteFile. * tools/winemaker: François Gouget Require that the user specify a work directory. This provides a safeguard against accidental invocations. * dlls/comctl32/propsheet.c: François Gouget Only copy the dwSize bytes really occupied by lpPropSheetPage. * include/windowsx.h: Eric Pouech For the Global*Ptr* set of macros, replace the 16bit version with their 32 bit equiv. * dlls/comctl32/toolbar.c: Ulrich Czekalla Only call TOOLBAR_CalcToolbar when parameters change. 2001-01-09 Alexandre Julliard * controls/combo.c, controls/listbox.c, dlls/user/controls.h: Dmitry Timoshkov Added unicode window proc for the listbox control. Replaced all ansi calls by their unicode equivalents. Removed use of the custom local heap. * dlls/comctl32/listview.c: François Gouget Test for NULL and LPSTR_TEXTCALLBACK before using lpColumn->pszText. * dlls/ddraw/dsurface/main.c: Gerald Pfeifer Fixed some incorrect format strings. * debugger/dbgmain.c: Removed obsolete file. * include/windef.h, include/winuser.h, windows/user.c, dlls/user/misc.c: François Gouget Move HDWP to winuser.h. Convert HWINSTA to STRICT. * files/drive.c, misc/cdrom.c: Ryan Cumming Make CDROM_GetLabel return 0 in the event of failure, and make the default label for drives a string of 11 spaces. * dlls/winaspi/aspi.c: David Elliott Fixed usage of RegEnumValueA. * dlls/winspool/info.c: Huw D M Davies Handle the EnumPrinters() flag PRINTER_ENUM_DEFAULT in the same way that NT does - that is ignore it and return TRUE. * dlls/winmm/mcicda/mcicda.c: Huw D M Davies Actually call CDROM_Audio_GetTracksInfo when retrieving MCI_CDA_STATUS_TRACK_TYPE. WINE_CDA_OPEN maps to MCIERR_HARDWARE. * scheduler/services.c: François Gouget SERVICE_AddObject check for NULL handles in addition to INVALID_HANDLE_VALUE. * files/file.c: François Gouget The last parameter of CreateFile should be 0 (aka NULL), not -1. CreateFile returns INVALID_HANDLE_VALUE when it fails, not HFILE_ERROR. Added comments. * win32/console.c: François Gouget pty_handle is a HANDLE, not an int. * tools/winemaker: François Gouget (configure) Look for the headers in $WINE_ROOT/include/wine and /opt/wine/include/wine. * dlls/comctl32/commctrl.c: Gerard Patel Send the creation notification to the true owner of the tooltip. * controls/combo.c: Ulrich Czekalla Ensure there is an edit control when we reset contents. * dlls/comctl32/listview.c: Ulrich Czekalla Adjust item rects by horizontal scrollbar offset. * dlls/comctl32/tab.c: Gerard Patel Fixed TCM_GetRowCount. 2001-01-07 Alexandre Julliard * dlls/ttydrv/ttydrv.spec: Need to import user32 even though we don't use symbols from it yet. * tools/specmaker/Makefile.in: Leonard Norrgård Reference $(SRCDIR) when installing the perl script (it doesn't exist in the build directory). * dlls/commdlg/finddlg32.c: Gerard Patel Changed string pointer calculation. * include/shlwapi.h, include/wine/undocshell.h, dlls/shlwapi/ordinal.c, dlls/shlwapi/path.c, dlls/shlwapi/reg.c, dlls/shell32/clipboard.c, dlls/shell32/enumidlist.c, dlls/shell32/pidl.c, dlls/shell32/shellpath.c, dlls/shell32/shlfileop.c, dlls/shell32/shlmenu.c: Huw D M Davies Moved all the documented shlwapi functions out of undocshell.h into shlwapi.h. Nothing but files in dlls/shell32 will now include undocshell.h. * dlls/ddraw/main.c: Marcus Meissner Removed one &, now CoCreateInstance() of ddraw objects works again. * server/async.c: Mike McCormack Calculate the timeout time once when the async is created. * include/winbase.h: Mike McCormack Implemented HasOverlappedCompleted macro. * windows/winproc.c: Dmitry Timoshkov Add missing mapping for LB_FINDSTRINGEXACT message (thanks to Gerard Patel for reporting the bug). * controls/combo.c: Dmitry Timoshkov Combobox should clear its current selection on response to CB_SETCURSEL(-1) message. 2001-01-06 Alexandre Julliard * dlls/winedos/module.c, dlls/winedos/winedos.spec, include/callback.h, include/dosexe.h, loader/ne/module.c, miscemu/main.c, scheduler/process.c: Use the exe name and file handle we got from the server also when starting Win16 or DOS programs, to avoid depending on the contents of the command-line. * server/process.c, server/thread.c, server/thread.h, server/timer.c, server/trace.c, include/server.h, scheduler/synchro.c, scheduler/thread.c, server/async.c, server/debugger.c: Added separate queue for "system" APCs that get called even when the thread is not in an alertable state. Specify the select_request timeout as absolute value so that we can restart the request when interrupted. * wine.ini: Removed old format config file. * controls/menu.c: François Gouget Modify the look of bitmap menu items to match Win95 and Win98 Fix the sunken edge/bitmap overlap in the Win98 look Introduce an IS_MAGIC_ITEM macro to test if the item is 'magic' * graphics/enhmetafiledrv/init.c, graphics/metafiledrv/init.c, loader/module.c, loader/ne/module.c, loader/pe_image.c, memory/registry.c, msdos/int21.c, objects/enhmetafile.c, objects/metafile.c, scheduler/process.c, dlls/advapi32/registry.c, dlls/crtdll/file.c, dlls/oleaut32/typelib.c, dlls/shell32/shell32_main.c, dlls/user/exticon.c, dlls/winedos/module.c: François Gouget Fixed some HFILE vs. HANDLE mismatches. If not used the last parameter of CreateFile must be 0, not -1. * dlls/msacm/msacm.spec, dlls/msacm/msacm_main.c, documentation/samples/config, loader/loadorder.c: Eric Pouech Forced loading of msacm32 when msacm is loaded. Added msacm DLL pair in config files. Added some dumb calls from 16 to 32. * dlls/Makefile.in, dlls/wininet/internet.c, dlls/wininet/wininet.spec: Huw D M Davies Implement InternetCanonicalizeUrl. * dlls/dsound/dsound_main.c: Johan Gill Added a more truthful message about what really is wrong. * dlls/gdi/printdrv.c, include/wine/wingdi16.h: Marcus Meissner Don't call QueryAbort16() in WriteSpool16(), since it might be called with locks held (and we do not need to call it here). * controls/listbox.c: Andreas Mohr Took a stab at implementing LBS_NOSEL. 2001-01-05 Alexandre Julliard * include/server.h, scheduler/process.c, server/process.c, server/trace.c: Send the exe file handle in init_process_done request. * files/profile.c: Avoid crashing on invalid lines during config file conversion. * dlls/shlwapi/Makefile.in, dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/url.c, include/shlwapi.h: Huw D M Davies Implemented a few Url* functions. * controls/combo.c: Dmitry Timoshkov Added unicode window proc for combobox control. Replaced ansi calls by their unicode equivalents. * controls/static.c: Dmitry Timoshkov Added unicode window proc for the static control. Replaced ansi calls by their unicode equivalents. * dlls/wsock32/socket.c: Mike McCormack Returning success for unknown WSCNTL_TCPIP_QUERY_INFO code makes win98 winipcfg work. * dlls/dinput/mouse/main.c: Andreas Mohr Mouse events fix. * tools/make_requests, win32/console.c, win32/device.c, windows/queue.c, loader/ne/module.c, memory/virtual.c, misc/registry.c, relay32/builtin32.c, scheduler/client.c, scheduler/handle.c, scheduler/process.c, scheduler/thread.c, scheduler/timer.c, server/async.c, server/change.c, server/console.c, server/debugger.c, server/device.c, server/event.c, server/file.c, server/handle.c, server/handle.h, server/mapping.c, server/mutex.c, server/object.h, server/pipe.c, server/process.c, server/process.h, server/queue.c, server/registry.c, server/request.c, server/request.h, server/semaphore.c, server/serial.c, server/snapshot.c, server/sock.c, server/thread.c, server/thread.h, server/timer.c, server/trace.c, dlls/kernel/sync.c, dlls/kernel/toolhelp.c, dlls/ntdll/reg.c, dlls/ntdll/sync.c, dlls/winsock/socket.c, files/dos_fs.c, files/file.c, include/file.h, include/module.h, include/server.h, loader/elf.c, loader/module.c, loader/pe_image.c: Added handle_t type to server interface so that we can make handles pointers later on. Always use 0 to signal invalid handle in server requests. * include/commdlg.h, programs/cmdlgtst/cmdlgtst.c: François Gouget I triple checked but yes, CHOOSECOLOR.hInstance is an HWND... * dlls/winmm/driver.c, msdos/vga.c: François Gouget We must cast the return value of GetProcAddress. * programs/progman/dialog.c, programs/progman/group.c, programs/progman/main.c, programs/progman/program.c: François Gouget The WndProc function was missing the CALLBACK modifier. * programs/avitools/aviinfo.c, programs/avitools/aviplay.c, programs/avitools/icinfo.c: François Gouget The first 2 parameters of WinMain are HINSTANCEs, not HANDLEs. * controls/edit.c: Dmitry Timoshkov Fixed some problems with scrolling in the edit control. 2001-01-04 Alexandre Julliard * dlls/ole32/compobj.c, dlls/ole32/ifs.c, dlls/ole32/storage.c, include/wine/obj_base.h, include/wine/obj_control.h, include/wine/obj_inplace.h, include/wine/obj_moniker.h, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/direct3d/mesa.c, dlls/dinput/dinput_main.c, dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c, dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c, dlls/dplayx/dplay.c, dlls/dplayx/dplobby.c: Francois Gouget Removed the 'fn' prefix (i.e. ICOM_FN). * include/acconfig.h, include/config.h.in, include/ddraw.h, msdos/vga.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/dclipper/main.c, dlls/ddraw/dclipper/main.h, dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/dga2.c, dlls/ddraw/ddraw/dga2.h, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/main.h, dlls/ddraw/ddraw/thunks.c, dlls/ddraw/ddraw/user.c, dlls/ddraw/ddraw/user.h, dlls/ddraw/ddraw/x11.c, dlls/ddraw/ddraw/xvidmode.c, dlls/ddraw/ddraw/xvidmode.h, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/dpalette/dga.c, dlls/ddraw/dpalette/main.c, dlls/ddraw/dpalette/main.h, dlls/ddraw/dpalette/x11.c, dlls/ddraw/dsurface/dga.c, dlls/ddraw/dsurface/dga2.c, dlls/ddraw/dsurface/dga2.h, dlls/ddraw/dsurface/dib.c, dlls/ddraw/dsurface/dib.h, dlls/ddraw/dsurface/dibtexture.c, dlls/ddraw/dsurface/dibtexture.h, dlls/ddraw/dsurface/fakezbuffer.c, dlls/ddraw/dsurface/fakezbuffer.h, dlls/ddraw/dsurface/main.c, dlls/ddraw/dsurface/main.h, dlls/ddraw/dsurface/thunks.c, dlls/ddraw/dsurface/thunks.h, dlls/ddraw/dsurface/user.c, dlls/ddraw/dsurface/user.h, dlls/ddraw/dsurface/wndproc.c, dlls/ddraw/dsurface/wndproc.h, dlls/ddraw/dsurface/x11.c, documentation/ddraw.txt, configure, configure.in, dlls/ddraw/Makefile.in, dlls/ddraw/convert.c, dlls/ddraw/d3d_private.h, dlls/ddraw/d3dtexture.c, dlls/ddraw/ddcomimpl.h, dlls/ddraw/ddraw.spec, dlls/ddraw/ddraw_private.h, dlls/ddraw/helper.c, dlls/ddraw/main.c, dlls/ddraw/mesa_private.h, dlls/ddraw/struct_convert.c, dlls/ddraw/x11.c, dlls/ddraw/x11_private.h: Andrew Lewycky Gavriel State Ove Kaaven Major DirectDraw restructure/reimplementation, using an improved component object model hierarchy. The implementation currently supports: - DirectDraw over GDI/USER in a window (using DIBsections and asynchronous updates) - XVidMode - XF86DGA2 - All DirectDraw interfaces from versions 1 to 7 (at least in theory) - Hooks for Direct3D interfaces * dlls/msacm/wineacm.h, include/Makefile.in, include/mmsystem.h, include/msacm.h, include/msacmdlg.h: Eric Pouech Added a few missing parts. * controls/menu.c: Francois Gouget Fixed the alignment of the MF_RIGHTJUSTIFY menu items. * misc/main.c: Removed obsolete code. * dlls/Makefile.in: Fixed dll dependencies. * dlls/winmm/lolvldrv.c, dlls/winmm/wineoss/audio.c, include/mmddk.h, dlls/dsound/dsound_main.c: Eric Pouech Now using manifest constant instead of raw values for all the DRV_QUERY??? values. * dlls/kernel/thunk.c: Mike McCormack Added Ulrich Weigand's description of KERNEL32_99. * memory/global.c: Mike McCormack Some borken memory monitoring programs divide by dwTotalPageFile, which probably isn't zero on windows. * configure.in, tools/Makefile.in, tools/specmaker/.cvsignore, tools/specmaker/Makefile.in, tools/specmaker/README, tools/specmaker/dll.c, tools/specmaker/function_grep.pl, tools/specmaker/main.c, tools/specmaker/misc.c, tools/specmaker/msmangle.c, tools/specmaker/output.c, tools/specmaker/search.c, tools/specmaker/specmaker.h, tools/specmaker/symbol.c, configure: Jon Griffiths Added spec generation tool specmaker. * misc/options.c: Guy L. Albertelli Reimplemented "relay=" and "snoop=" suboptions. * include/mmsystem.h, include/winbase.h, include/windef.h, include/winnls.h, include/winuser.h: François Gouget Moved the function pointer types to their rightful headers. The definition of the function pointer types must be based on STRICT. * graphics/x11drv/bitblt.c: Andreas Mohr Starcraft was confused by a wrong FALSE BitBlt return. * dlls/winmm/wineoss/audio.c: Marcus Meissner Set fragments for wave input to 7 x 1024 byte. * dlls/winmm/lolvldrv.c: Eric Pouech Fixed loading of 16 bit drivers. Better support for native mappers. * controls/listbox.c: Aric Stewart Fixed a problem where when deleting an item using index -1 on an empty listbox we would pass through an illegal negative index and cause problems. 2001-01-03 Alexandre Julliard * scheduler/process.c: Pass the application name also when starting a Unix app, and use it to load the main exe .so file. Fixed bug in directory handling in PROCESS_Create. * include/winbase.h: Jon Griffiths Added InitializeCriticalSectionAndSpinCount prototype. * include/windef.h, windows/user.c: François Gouget Convert HDESK to STRICT. * dlls/winmm/mciwave/mciwave.c: Eric Pouech Removed duplicate field in internal structure. Silenced warning for MCI_CONFIGURE message. * dlls/winmm/lolvldrv.c: Eric Pouech Added support for the DRVM_MAPPER_STATUS message. * dlls/winmm/wavemap/msacm.drv.spec, dlls/winmm/wavemap/wavemap.c: Eric Pouech Replaced pointers to external functions by a DLL import. * dlls/msvideo/drawdib.c: Andreas Mohr Fixed bitmap size handling. 2001-01-02 Alexandre Julliard * configure.in, include/acconfig.h, include/config.h.in, windows/x11drv/keyboard.c, configure: Ove Kaaven Turn on detectable autorepeat if the X Keyboard Extension is detected. * include/windef.h, include/wtypes.h: François Gouget Moved HMETAFILEPICT to wtypes.h. Note, HMETAFILEPICT is always a 'void*' unlike regular handles. * dlls/kernel/kernel32.spec, dlls/commdlg/printdlg.c: Marcus Meissner Implement PrintDlg16 better (adding PrintDlgProc16 and several other 16bit dependent functions) If we are using a template we might not have the default combobox for printers, use the default printer in those cases. More error messages and checks. Added GlobalFlags16 and GlobalReAlloc16 to kernel32.spec. * tools/winebuild/import.c: Ulrich Weigand Delayed import thunks for Sparc. * dlls/dplayx/dplayx_messages.c: François Gouget Removed an '#ifdef STRICT'. * dlls/dsound/dsound_main.c: Ove Kaaven Bugfix for sound dropping out, and workaround for Half-Life's braindead secondary sound buffer management. * dlls/shell32/shellole.c, include/shellapi.h, include/windef.h, windows/x11drv/event.c: François Gouget Moved HDROP to shellapi.h. * include/objbase.h: François Gouget Should include cguid.h. * include/ole2.h: François Gouget Added two error codes: E_DRAW and DATA_E_FORMATETC. * dlls/commdlg/filedlg.c: Andreas Mohr Return 8.3 file names. Fixed sizeof(WCHAR) bugs. * tools/wrc/CHANGES, tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/parser.y, tools/wrc/wrc.h: Ulrich Weigand - Fixed a byteorder conversion problem with message tables. - Carefully read and write (possibly) misaligned data elements to avoid crashes on architectures where this is not allowed. * programs/view/view.c, programs/notepad/main.c: François Gouget Replaced calls to OpenFile with the equivalent call to CreateFile. Removes the need to cast the result to HANDLE. * programs/wcmd/batch.c, programs/wcmd/builtins.c, programs/wcmd/wcmdmain.c: François Gouget The last parameter of CreateFile is a HANDLE and should thus be NULL. * dlls/winsock/socket.c: Marcus Meissner A socket becomes readable after connect in Linux 2.4 (even for connection refused). * dlls/winmm/wineoss/audio.c: Marcus Meissner Read 4 bytes to wake up GETISPACE. * dlls/wineps/afm.c: Marcus Meissner Added one safety check to AFM parsing. * dlls/user/user.spec: Marcus Meissner 16bit user GetProp/SetProp get strings or atoms, so we can use 'str'. * dlls/advapi32/service.c: François Gouget Fixed some 0 vs. FALSE mismatches. Fixed a '%x' vs. '%lx' mismatch. Fixed some DWORD vs. SC_HANDLE mismatches. * include/winsvc.h: François Gouget SC_HANDLE is a HANDLE, not a 'DECLARE_HANDLE' SERVICE_STATUS_HANDLE is a DWORD * memory/local.c: Ulrich Weigand Align moveable blocks if the architecture requires it. * include/winerror.h: François Gouget Reordered the definitions according to their value. Inserted the *_S_* macros right before the corresponding *_E_* block Reindented the values. Removed the duplicate set of E_xxx macros since they are only used on non WIN32 platforms. Uncommented the CO_E_INIT_ set of macros. Removed some duplicate macro definitions and fixed various typos. Added the definitions needed by the MFC. * dlls/kernel/kernel.spec, dlls/kernel/kernel_main.c: Andreas Mohr Added Reserved5 -> lstrcmp16. * dlls/version/install.c, dlls/version/resource.c: Andreas Mohr Code was checking for 0 or HFILE_ERROR instead of negative error values. 2000-12-29 Alexandre Julliard * windows/input.c, windows/keyboard.c: Dmitry Timoshkov "Implement" GetKBCodePage and GetKBCodePage16. * files/file.c: Mike McCormack Implemented GetOverlappedResult. * objects/font.c: Marcus Meissner CreateFontIndirect() can get NULL pointers. * dlls/kernel/comm.c: Mike McCormack Improve async i/o compatability. lpOverlapped->Internal should hold the overlapped transfer status. * tools/winebuild/import.c: Ulrich Weigand Fixed builtin imports broken by latest change. * configure, configure.in: Eric Pouech Made unaligned access test effective. * include/wine/port.h: Eric Pouech Fixed evilish cut and paste. * debugger/Makefile.in, debugger/dbg.y, debugger/info.c, debugger/module.c, debugger/msc.c, debugger/winedbg.c: François Gouget Compile the debugger with STRICT on. * dlls/wineps/font.c: Ian Pilcher Use a case-insensitive comparison to match PostScript font names. * include/wine/obj_base.h: François Gouget Added an ICOM_FN that generates either fn##xfn or sfn as appropriate. Use ICOM_FN to avoid duplicating the 'ICOM_V?METHOD.*' definitions. Remove the obsolete ICOM_CVMETHOD macros. Use the ICOM_VTBL macro to avoid duplicating the 'ICOM_CALL.*' definitions. * dlls/wininet/ftp.c, dlls/wininet/internet.h: Andreas Mohr - implemented passive FTP transfers (PASV, needed for firewalls) - fixed lstnSocket closing * include/builtin16.h, include/winnt.h, tools/winebuild/import.c, tools/winebuild/relay.c, tools/winebuild/res16.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c: Ulrich Weigand Fixed winebuild to work on non-Intel architectures. * loader/ne/module.c, loader/ne/resource.c, loader/module.c: Ulrich Weigand Prevent unaligned access to NE in-memory module data. * memory/codepage.c, unicode/Makefile.in, unicode/compose.c, unicode/cpmap.pl, unicode/mbtowc.c, unicode/wctomb.c: Added support for composite Unicode characters in MultiByteToWideChar and WideCharToMultiByte. * include/wingdi.h: François Gouget Added a prototype for GetLogColorSpace. * include/windef.h: François Gouget Convert HCOLORSPACE to STRICT mode. * documentation/HOWTO-winelib: Wilbur N. Dale Updated first example using latest winebuild dll/so procedure. * dlls/ntdll/signal_i386.c: Ove Kaaven Fixed small race condition between vm86_enter() and signal handling. Made separate save_vm86_context and restore_vm86_context functions. * tools/winebuild/spec32.c: Jon Griffiths Allow stubs for exports that are not legal C identifiers. * dlls/kernel/sync.c: Rein Klazes Test pointer before it is dereferenced in CreateEventW(). 2000-12-27 Alexandre Julliard * ole/Makefile.in, tools/winemaker, Make.rules.in, Makefile.in: Renamed libuuid.a to libwine_uuid.a * include/config.h.in, configure, configure.in, dlls/crtdll/crtdll_main.c: Ulrich Weigand Don't link with libw if libc already contains w* routines. Link every library with libnsl if required. Include ieeefp.h where necessary. * dlls/winmm/wineoss/oss.c: Ulrich Weigand Compile fix if HAVE_OSS is not defined. * if1632/relay.c: Ulrich Weigand Fixed broken prototypes. * if1632/snoop.c, relay32/snoop.c: Ulrich Weigand Silence silly error messages. * dlls/Makefile.in, dlls/dciman32/dciman32.spec, dlls/oledlg/oledlg.spec: Ulrich Weigand Import kernel32 (for SetLastError()). * dlls/version/resource.c, include/acconfig.h, include/config.h.in, include/windef.h, include/wine/port.h, loader/pe_resource.c, loader/task.c, memory/environ.c, memory/heap.c, windows/class.c, windows/dialog.c, configure, configure.in, dlls/dplayx/dplay.c, dlls/user/exticon.c: Ulrich Weigand Added check whether unaligned memory access is allowed. Added macros to access unaligned WORDs / DWORDs. * dlls/comctl32/tab.c, dlls/kernel/comm.c, dlls/winmm/lolvldrv.c, files/directory.c, files/drive.c, scheduler/client.c, scheduler/process.c, win32/console.c, win32/except.c, win32/file.c, README, console/generic.c, controls/menu.c, dlls/comctl32/commctrl.c, dlls/comctl32/propsheet.c: Andreas Mohr - clarify many error messages - add data corruption warning to README file * windows/x11drv/keyboard.c: Ove Kaaven Use the X state instead of the VK key state to check for eatable characters, since the VK key state isn't a fan of AltGr. * files/dos_fs.c: Lawson Whitney Allow an application to open a dos device ending with ':'. * dlls/winedos/module.c: Ove Kaaven Release the Win16 lock before starting the DOS process, since it's not really a Win16 app. * dlls/winedos/dosvm.c: Ove Kaaven Since DOSVM_Wait() blocks the normal event processing, it should dispatch pending events itself. 2000-12-26 Alexandre Julliard * debugger/stabs.c, debugger/expr.c, debugger/module.c, debugger/msc.c: Joerg Mayer Fix the trivial compiler warnings in debugger/ when compiling with -W - moved inline statements to front - fixed the trivial cases of signed/unsigned comparisons * dlls/comctl32/animate.c, dlls/comctl32/comctl32.spec: Eric Pouech No longer using function pointers to winmm and msvfw32, but delay loading instead. * tools/winebuild/README, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/parser.c: Eric Pouech Added ability to delay loading of an imported DLL until it's needed (new -delay option for import directive in spec file). * server/process.c, server/thread.c: Fixed error recovery during thread creation. * dlls/winedos/Makefile.in, dlls/winedos/dosvm.c, dlls/winedos/module.c, dlls/winedos/winedos.spec, include/callback.h, include/dosexe.h, include/miscemu.h, loader/dos/Makefile.in, loader/dos/dosvm.c, loader/dos/module.c, miscemu/main.c, msdos/devices.c, msdos/dpmi.c, msdos/int09.c, msdos/int16.c, msdos/int20.c, msdos/int21.c, msdos/int33.c, msdos/ioports.c, Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/ntdll/Makefile.in, dlls/winedos/.cvsignore: Ove Kaaven Separated the MZ loader and core DOS VM into dlls/winedos. * include/ddeml.h, include/vfw.h, include/windef.h, include/winnt.h, include/winsvc.h: François Gouget Declare all handles with DECLARE_OLD_HANDLE to ease conversion to STRICT. * dlls/gdi/gdi32.spec, include/wingdi.h: Francois Gouget Added GetDCBrushColor and GetDCPenColor. 2000-12-25 Alexandre Julliard * documentation/wine.man.in: Lawson Whitney Removed --config from man wine. * documentation/samples/config: Lawson Whitney Removed trailing garbage after [serialports] device name. 2000-12-24 Alexandre Julliard * dlls/rasapi32/rasapi.c, include/ras.h, include/windef.h: François Gouget Moved HRASCONN from windef.h. Added missing Unicode type and function definitions. Added a few missing macro definitions. Enclose in an extern "C" for C++ Winelib applications. Added the structure packing specification. * files/change.c, graphics/enhmetafiledrv/objects.c, include/winuser.h, loader/pe_resource.c, loader/resource.c, scheduler/handle.c: François Gouget Fixed a few type clashes in preparation for the switch to STRICT. * graphics/x11drv/pen.c, windows/painting.c: Francois Gouget Updated the look of dots and dashes to match the Win32 look. Issue a FIXME about PS_USERSTYLE. * files/directory.c: Dmitry Timoshkov Define environment variable TMP as an alias for TEMP. * programs/regapi/regapi.c: Gerald Pfeifer is not ISO C, is. * windows/spy.c: Guy L. Albertelli Fixed loop test for negative value. 2000-12-22 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20001222. ---------------------------------------------------------------- 2000-12-22 Alexandre Julliard * windows/clipboard.c, windows/x11drv/clipboard.c: Gerard Patel Cancel a few changes to get back basic text clipboard functionality. * dlls/winmm/mmsystem.c, include/wine/winbase16.h, windows/message.c, windows/queue.c, windows/winhelp.c: Eric Pouech Replaced calls to KERNEL.Yield16 by calls to KERNEL32.K32WOWYield from outside libkernel.so. * loader/module.c: No longer try to load builtin library when loadorder is 'so'. * Make.rules.in, configure, configure.in, dlls/Makedll.rules.in, library/Makefile.in, tsx11/Makefile.in, unicode/Makefile.in, unicode/wine_unicode.def: Hidenori Takeshima Use dllwrap for building shared libraries in cygwin. * server/async.c, server/console.c, server/file.c, server/handle.c, server/mapping.c, server/pipe.c, server/registry.c, server/request.c, server/serial.c, server/sock.c, server/thread.c: Avoid dup'ing file descriptors when not necessary. Do not send fd to the client if ops->get_fd() fails. * scheduler/thread.c: Fixed copy/paste bug (thanks to Gerard Patel). * dlls/dsound/dsound_main.c: Ove Kaaven More intelligent DirectSound prebuffering. By tracking the last-written position of streaming buffers, it attempts to avoid prebuffering past this position unless necessary; this may avoid a number of sound problems in various situations. Merged HEL and HAL mixing code, which should reduce the HEL mode's CPU usage slightly. * windows/win.c: Joerg Mayer Warn when FindWindow needs to check other processes windows. * documentation/Makefile.in: Joerg Mayer Don't suppress error messages. * dlls/ntdll/critsection.c: Joerg Mayer Add %fs info to the critical section timeout message. * include/debugtools.h: Dmitry Timoshkov Remove redundant ';' at the end of line. * controls/edit.c: Dmitry Timoshkov Fix remaining signed/unsigned mismatches. * dlls/ntdll/om.c, files/file.c, include/server.h, include/thread.h, loader/ne/module.c, memory/virtual.c, scheduler/client.c, scheduler/handle.c, scheduler/thread.c, server/console.c, server/debugger.c, server/file.c, server/handle.c, server/handle.h, server/mapping.c, server/object.h, server/pipe.c, server/request.c, server/request.h, server/thread.c, server/thread.h, server/trace.c: Use a separate FIFO pair for server requests that don't need to pass a file descriptor. Associate file descriptors with handles on the server side so that we don't need to pass the fd every time the client wants to use it. * wine.ini: Hidenori Takeshima Native IMM32.DLL crashes wine - use builtin DLL. * relay32/builtin32.c: Andreas Mohr Print all problems as ERR() except for "could not open" library, which is WARN(). * dlls/ddraw/dsurface/main.c: Marcus Meissner IDirectDrawSurface::Blt::SRCCOPY is the default ROP operation, do not throw error. * windows/x11drv/clipboard.c, windows/x11drv/event.c, windows/x11drv/keyboard.c, windows/x11drv/mouse.c, windows/dce.c, windows/defdlg.c, windows/defwnd.c, windows/dialog.c, windows/driver.c, windows/focus.c, windows/hook.c, windows/input.c, windows/keyboard.c, windows/mdi.c, windows/message.c, windows/msgbox.c, windows/multimon.c, windows/nonclient.c, windows/painting.c, windows/property.c, windows/queue.c, windows/rect.c, windows/scroll.c, windows/syscolor.c, windows/sysmetrics.c, windows/sysparams.c, windows/timer.c, windows/user.c, windows/win.c, windows/winhelp.c, windows/winpos.c, windows/winproc.c, windows/caret.c, windows/class.c, windows/clipboard.c, windows/cursoricon.c: Patrik Stridvall Various documentation fixes. * windows/winpos.c: Removed the dummy mouse event in SetWindowPos. * dlls/kernel/kernel32.spec, dlls/user/user32.spec: Eric Pouech Added some 16 bit entry points needed by multimedia DLLs. * windows/win.c, windows/x11drv/event.c, include/file.h, include/wine/winbase16.h, loader/resource.c, memory/global.c, memory/local.c, objects/metafile.c, controls/edit.c, dlls/kernel/wowthunk.c, dlls/winmm/mmio.c, files/file.c, graphics/win16drv/init.c: Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. * graphics/x11drv/bitblt.c, graphics/x11drv/dib.c, include/x11drv.h: Ove Kaaven Gavriel State More DIB section copy-blitting improvements: Handle 8bpp DIBs, DC mapping modes, and clipping. Take advantage of the DIBsection's XShmImage mechanism to get a really fast blit to the display. 2000-12-21 Alexandre Julliard * dlls/user/user.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win16/user.api, tools/winapi_check/win32/shlwapi.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 file update. - Minor bug fixes. - Added new option on --documentation-ordinal (off by default). - Added new option on --documentation-pedantic (off by default). * dlls/winmm/wineoss/audio.c, dlls/dsound/dsound_main.c: Marcus Meissner Handle errors for IDsDriver_GetPosition. Report DSERR_UNINITIALIZED on non-opened WineOSS audio device. * dlls/winmm/Makefile.in, dlls/winmm/driver.c, windows/driver.c: Eric Pouech Cleaned up the code a bit. * dlls/winmm/wineoss/audio.c: Ove Kaaven Enable the DirectSound HAL for sound drivers that do not report DSP_CAP_REALTIME. Set precision of these to 256 bytes (about 3ms). * dlls/oleaut32/typelib.c: Francois Jacques - TLB_DoFuncs: code cleanup and elemdescFunc read correctly from TLB. - TLB_LoadTypeLib: ref count problem. - ITypeLib::GetTypeInfoOfGuid: safer implementation (pointer testing). - ITypeInfo::GetRefTypeOfImplType: safer implementation (pointer testing). - ITypeInfo2::GetDocumentationL return errors if SysAllocString failed. - TLB loader functions now trace in "typelib" channel. - Improved traces in AddRef/Release and improved dump_* functions for debugging. * controls/edit.c: Dmitry Timoshkov Don't write to buffer with zero length. Removed some unused function parameters. * dlls/crtdll/crtdll_main.c: Dmitry Timoshkov Do not free the not owned error string. * dlls/oleaut32/safearray.c: Francois Jacques Updated SafeArrayGetUBound and SafeArrayGetLBound with more sanity checks: an array has at least one dimension. Updated validCoordinates, where SafeArrayGetLBound was called on dimension 0. * dlls/winmm/lolvldrv.c: Eric Pouech Rewrote the allocation of MM driver descriptors. * objects/enhmetafile.c: Eric Kohl Use handle to palette instead of index for EMR_SELECTPALETTE. Implemented simple case for EMR_EXTSELECTCLIPRGN. 2000-12-20 Alexandre Julliard * dlls/ntdll/debugtools.c: Fixed debug routines to work before the process heap is created. * loader/module.c: Do not call thread attach/detach routines during process exit to avoid potential deadlocks. * graphics/x11drv/dib.c: Gerard Patel Set the color mask with BI_BITFIELD dibs, don't use the application-provided value. * memory/global.c, controls/edit.c: Dmitry Timoshkov Make new edit control allocate its buffers with granularity 32 byte. Ensure that all copied strings are 0 terminated. * windows/spy.c: Guy L. Albertelli - print out WM_NOTIFY message code if we know it. - print out memory past end of NMHDR structure for the size of the normal NMxxxxx structure associated with the message code. - setup notify code table for common, REBAR, TOOLBAR, and COMBOEX (at least partially). 2000-12-19 Alexandre Julliard * memory/global.c: Set last error in GlobalUnlock. * dlls/kernel/comm.c, dlls/kernel/debugger.c, dlls/kernel/time.c: Andrew Johnston Documentation update. * dlls/user/exticon.c, dlls/version/resource.c, include/winnt.h, library/loader.c, loader/pe_resource.c: François Gouget DUMMYSTRUCTNAME2 creates a conflict when using anonymous union names. * documentation/printing.sgml: Stefan Leichter Added description of printerports section of the win.ini file for wineps.drv. * include/wine/obj_connection.h: James Hatheway Fix IConnectionPointContainer interface macros. * dlls/oleaut32/Makefile.in, dlls/oleaut32/dispatch.c, dlls/oleaut32/oleaut32.spec: Francois Jacques Implementation of Dispatch API. * dlls/crtdll/console.c, dlls/crtdll/crtdll.h, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/dir.c, dlls/crtdll/exit.c, dlls/crtdll/file.c, dlls/crtdll/locale.c, dlls/crtdll/mbstring.c, tools/winapi_check/win32/crtdll.api: Jon Griffiths - Add several mbcs and CP 932 functions, fix some existing calls - Bug fixes, -W warnings and winapi_check updates. - Don't be so strict setting default locale, store codepage * library/port.c: Include stdlib.h instead of wchar.h. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Marcus Meissner shlwapi forwarders for SetWindowLongW and CallWindowProcW. * dlls/user/user32.spec: Dmitry Timoshkov New unicode edit control. * files/profile.c: Dmitry Timoshkov Protect against NULL buffer in the profile functions. * controls/edit.c: Dmitry Timoshkov New unicode edit control. * ole/ole2nls.c, tools/bin2res.c, tools/wrc/genres.c, tools/wrc/parser.y, windows/clipboard.c, windows/dialog.c, windows/hook.c, windows/input.c, windows/keyboard.c, windows/mdi.c, dlls/winmm/mcianim/mcianim.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mcicda/mcicda.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/midimap/midimap.c, dlls/winmm/wavemap/wavemap.c, dlls/winmm/wineoss/midi.c, dlls/winmm/wineoss/oss.c, include/win.h, include/winpos.h, misc/tweak.c, msdos/int09.c, msdos/int33.c, controls/icontitle.c, dlls/commdlg/filedlgbrowser.c, dlls/dsound/dsound_main.c, dlls/msvideo/drawdib.c, dlls/ole32/clipboard.c, dlls/ole32/ole2nls.c, dlls/oleaut32/ole2disp.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/stubs.c, dlls/richedit/rtf.h, dlls/user/user_main.c, dlls/winmm/joystick/joystick.c, dlls/winmm/time.c: François Gouget winuser.h now requires that we include winbase.h first. * include/winuser.h: François Gouget Added CreateWindowStation. * include/windows.h: François Gouget Removed the 'extern "C" { ... }' statement. It is not supposed to be there. * include/windef.h: François Gouget Moved a misplaced 'extern "C" { ... }' statement. * library/port.c, include/tchar.h, include/winnt.h, include/wtypes.h: François Gouget Added better support for Unicode: Added support for 16-bit wchar_t Added support for rewriting 4-byte Unicode literals to 16bit Unicode * dlls/user/exticon.c, dlls/version/resource.c, include/acconfig.h, include/config.h.in, include/winnt.h, loader/pe_resource.c, configure, configure.in: Ulrich Weigand Fixed IMAGE_RESOURCE_DIRECTORY_ENTRY on big-endian machines. * dlls/ole32/ole2.c, dlls/ole32/ole32.spec: Gerard Patel Stub for DllDebugObjectRPCHook. * dlls/oleaut32/typelib.c: Gerard Patel Misc fixes for QueryPathOfRegTypeLib, TLB_ReadTypeLib, ITypeInfo_fnGetContainingTypeLib. * dlls/comctl32/tooltips.c: Gerard Patel Do not send a WM_NOTIFYFORMAT to a non-existent owner. * server/atom.c, 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/queue.c, server/registry.c, server/request.c, server/request.h, server/semaphore.c, server/serial.c, server/snapshot.c, server/sock.c, server/thread.c, server/timer.c, server/trace.c, files/file.c, include/server.h, scheduler/process.c, server/async.c: Merged the get_read_fd and get_write_fd requests. * dlls/dinput/mouse/main.c: Marcus Meissner Implemented DIGDD_PEEK for SysMouseA::GetDeviceData. * include/tchar.h: François Gouget _str{dec,inc}: Cast the parameters to the proper type first Added definitions for _tfinddata* * include/objbase.h, include/winnt.h: François Gouget Moved some of the STDMETHOD/STDAPI to winnt.h. Moved the EXTERN_C macro to winnt.h. Added a '#ifndef __WINE__' around the remaining macros. * include/wtypes.h: François Gouget Removed some of the SECURITY_xxx types. * include/winuser.h: François Gouget Added SetUserObjectSecurity. * include/commctrl.h: Guy L. Albertelli Add notify structures NMMOUSE, NMOBJECTNOTIFY, NMKEY, and NMCHAR. 2000-12-18 Alexandre Julliard * dlls/imm32/Makefile.in, dlls/imm32/imc.c, dlls/imm32/imekl.c, dlls/imm32/imewnd.c, dlls/imm32/imm.c, dlls/imm32/imm32.spec, dlls/imm32/imm_private.h, dlls/imm32/main.c: Hidenori Takeshima Implemented keyboard layout and context - far from complete. * library/port.c: Morten Welinder (strcasecmp): Conform to ANSI specs for toupper. (strncasecmp): Ditto. Also do not use side-effects in macro args. (wine_openpty): Plug descriptor leak. Always set errno on failure. (wine_anon_mmap): Fix comment location. * misc/options.c: Morten Welinder (parse_options): Allow GNU-like option arguments like "--desktop=800x600". (Not perfect -- we don't allow shorthands.) * tools/winebuild/import.c, configure, configure.in: Patrik Stridvall Solaris fixes. * dlls/comctl32/rebar.c: Guy L. Albertelli - Implement drag for vertical rebars (drag up and down). - Better algorithims for inserting new bands - matches native version closer. - Make drawing of rebar attempt to match native pixel by pixel (note this does not fix the embedded controls in each band - they still are as good or bad as before.) - Implement some of the notifications (RBN_HEIGHTCHANGE, _CHILDSIZE, _DELETINGBAND, _DELETEDBAND). * dlls/comctl32/comboex.c: Guy L. Albertelli Pass WM_COMMAND and WM_NOTIFY to parent as received. * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c: Gerard Patel Change the current directory as the user browses the directory tree. * dlls/crtdll/file.c: David Elliott Changed typo va_list to valist. * windows/dialog.c: Gerard Patel Allow for the dialog font size to be set directly in pixels. * windows/winpos.c: Gerard Patel WM_GETMINMAXINFO track min size should be used in SetWindowPos also for 32 bits apps. * dlls/msvideo/msvideo_main.c: Marcus Meissner Mapping for ICM_SETSTATE (ptr in lParam1 to private data). 2000-12-16 Alexandre Julliard * dlls/shell32/shellpath.c, memory/environ.c, dlls/setupapi/devinst.c, dlls/setupapi/setupx_main.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win16/setupx.api, tools/winapi_check/win32/crtdll.api, tools/winapi_check/win32/imm32.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/modules.dat, tools/winapi_check/win16/olecli.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_options.pm: Patrik Stridvall - Minor API file update. - Turned on --documentation-arguments by default. * dlls/crtdll/dir.c, dlls/crtdll/file.c, dlls/crtdll/locale.c, dlls/crtdll/spawn.c, dlls/crtdll/crtdll_main.c, dlls/crtdll/console.c, dlls/crtdll/crtdll.h, dlls/crtdll/crtdll.spec: Jon Griffiths - Fix _fullpath & splitpath, winapi_check fixes - Add cprintf,cscanf,_fgetwchar,_fgetwc,_fputwchar,_fputwc, _wtoi & _wtol (fwd),scanf,_timezone_dll * windows/x11drv/event.c, dlls/dinput/mouse/main.c, include/input.h, windows/cursoricon.c, windows/input.c, windows/winpos.c: Avoid a couple of dependencies on input.c internal variables. * dlls/crtdll/file.c: Fixed infinite loop in CRTDLL__fcloseall. * dlls/imm32/Makefile.in, dlls/imm32/imewnd.c, dlls/imm32/imm.c, dlls/imm32/imm_private.h, dlls/imm32/main.c: Hidenori Takeshima Implemented some APIs and IME class - far from complete. * dlls/ddraw/main.c: Marcus Meissner Check for NULL before doing IsEqualGUID(). * dlls/winmm/mci.c: Eric Pouech Fixed loading of 16 bit MCI drivers (for command tables). Fixed alias handling in mciSendString. * dlls/setupapi/setupx.spec, dlls/setupapi/setupx_main.c: Andreas Mohr - don't initialize with pFirstLDD if pFirstLDD isn't initialized yet either - corrected VcpClose .spec 2000-12-15 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c: Allocate entry points dynamically to allow for a larger number of ordinals. * dlls/Makefile.in, dlls/imm32/Makefile.in, dlls/imm32/imm.c, dlls/imm32/imm32.spec, dlls/imm32/imm_private.h, dlls/imm32/immddk.h, dlls/imm32/main.c, dlls/imm32/memory.c, dlls/imm32/string.c: Hidenori Takeshima Implemented some DDK APIs - far from complete. * Makefile.in: Francois Gouget Create a symbolic link to ole/libuuid.a. * tools/winemaker: Francois Gouget Always link with uuid. * controls/listbox.c: Ulrich Czekalla Only capture mouse when an item is selected. * include/ntdef.h, include/windef.h, include/winnt.h: François Gouget Moved some macros like NULL, FALSE to winnt.h Moved the anonymous struct/unions to winnt.h Moved calling convention macros to winnt.h Moved some basic types like BOOL, INT, LONG, etc. to winnt.h Moved HANDLE and DECLARE_HANDLE to winnt.h Moved structure packing macros to winnt.h * include/ddraw.h, include/winbase.h, server/snapshot.c: François Gouget Needs to include windef.h. * include/ole2.h: François Gouget Added OleIsCurrentClipboard and OleSetClipboard. * include/objbase.h: François Gouget Fixed the prototype of GetClassFile. * windows/win.c: Gerard Patel Don't return last active popup if it is pointing to a deleted window. * documentation/wine.man.in, misc/options.c: Andreas Mohr Improved usage message. * dlls/advapi32/registry.c, dlls/ntdll/reg.c, include/server.h, memory/registry.c, server/registry.c, server/request.c, server/request.h, server/trace.c: Converted enum_key_value request to the new request mechanism. * misc/cdrom.c: Huw D M Davies Status of CDROM_AUDIO_INVALID seems to mean the disk is stopped. * dlls/comctl32/tab.c: Aric Stewart Fixed some difficulties with the font on vertical tabs. Also plugged a resource leak. * dlls/comctl32/header.c: Ulrich Czekalla Mark width as valid when we send HDN_ENDTRACKA. * dlls/ole32/ole2.c: Huw D M Davies Check to see whether any ancestor windows are drop targets. * files/dos_fs.c: Huw D M Davies Spelling fix. * include/winnt.h, loader/pe_image.c: François Gouget Changed the type of Function to PDWORD as on Windows. * dlls/dplayx/dplaysp.h: François Gouget Removed the declspec specifier. * dlls/ntdll/ntdll.spec, misc/options.c, miscemu/main.c, miscemu/wine.spec, tools/winebuild/README, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/parser.c, tools/winebuild/spec32.c: Added support for Unicode applications in winebuild. Removed cuiexe_no_main hack. Avoid stdcall function declarations inside functions because of gcc bug. * misc/registry.c: Martin Pilka - registry loading speed up (reduced client <-> server communication) - make the code a bit more understandable 2000-12-14 Alexandre Julliard * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/parser.c: Jon Griffiths Added "ignore" directive for skipping individual symbol resolution. * dlls/commdlg/cdlg_Ru.rc: Vasily I. Volchenko Added more Russian support. * Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/imm32/Makefile.in, dlls/imm32/imm.spec, dlls/winnls/.cvsignore, dlls/winnls/Makefile.in, dlls/winnls/winnls.c, dlls/winnls/winnls.spec, dlls/winnls/winnls32.spec: Hidenori Takeshima Added a spec file for 16bit imm. Added spec files for winnls and winnls32. * include/wine/winbase16.h: Added inline definition for MapSL. * tools/wineshelllink: Andreas Mohr Fixed an unquoted string. * files/directory.c, files/drive.c: Lawson Whitney Add strerror() to the "Could not stat" and "Invalid path" startup error messages. * scheduler/sysdeps.c: Commented out large stack init now that thread stacks are at least 1Mb. * dlls/ddraw/main.c: Marcus Meissner If DirectDrawCreate gets passed a IDirectDraw{2,4,7} interface, get this interface and do not use IDirectDraw. * dlls/comctl32/comctl32.spec, dlls/kernel/kernel32.spec, dlls/shell32/shell32.spec: Francois Gouget Removed the name of APIs exported by ordinal. * dlls/kernel/nls/hun.nls: Nemeth Peter Some NLS updates. 2000-12-13 Alexandre Julliard * documentation/Makefile.in, documentation/architecture.sgml, documentation/authors.ent, documentation/bugs.sgml, documentation/build.sgml, documentation/compiling.sgml, documentation/configuring.sgml, documentation/consoles.sgml, documentation/cvs-regression.sgml, documentation/db2html-winehq, documentation/debugger.sgml, documentation/debugging.sgml, documentation/default.dsl, documentation/dlls.sgml, documentation/documentation.sgml, documentation/fonts.sgml, documentation/getting.sgml, documentation/i18n.sgml, documentation/implementation.sgml, documentation/installing.sgml, documentation/introduction.sgml, documentation/ole.sgml, documentation/opengl.sgml, documentation/packaging.sgml, documentation/patches.sgml, documentation/porting.sgml, documentation/printing.sgml, documentation/registry.sgml, documentation/running.sgml, documentation/tools.sgml, documentation/wine-doc.sgml, documentation/winehq.dsl, documentation/winelib-user.sgml: John R. Sheets Documentation update. * dlls/odbc32/proxyodbc.c, include/wine/library.h, include/wine/port.h, library/loader.c, library/port.c, loader/elf.c, loader/module.c, relay32/builtin32.c: James Abbatiello Work around glibc 2.1.x dlopen bug (again). * dlls/setupapi/Makefile.in, dlls/setupapi/devinst.c, dlls/setupapi/infparse.c, dlls/setupapi/setupx.spec, dlls/setupapi/setupx16.h, dlls/setupapi/setupx_main.c, dlls/setupapi/setupx_private.h: Andreas Mohr - implemented proper LDD/LDID handling - implement Ctl*Ldd(), Ctl[GS]etLddPath, GenInstall (no real operations yet, I want help), InstallHinfSection - Stubbed out DiGetClassDevs16 (needed for e.g. Monkey Island 3 ;) - many new .spec stubs * dlls/shell32/shellole.c, include/wine/obj_base.h: Andreas Mohr SHGetMalloc must use MEMCTX_TASK, otherwise CoGetMalloc will badly fail with E_INVALIDARG in case native OLE32 is used. * include/Makefile.in, include/mapi.h, include/mapidefs.h: François Gouget Added mapi.h with the definitions needed by the MFC. * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/wcstring.c: Eric Kohl Implemented _ultow() and export [Nt/Zw]QueryVolumeInformationFile(). * tools/makedep.c: Eric Pouech Fixed path resolution for a/b.c source files. * controls/listbox.c: Louis Philippe Gagnon Invalidate the focus rect when a listbox is resized. * scheduler/process.c, scheduler/syslevel.c, tools/winebuild/spec16.c, win32/except.c, windows/dce.c, windows/nonclient.c, graphics/enhmetafiledrv/init.c, graphics/metafiledrv/init.c, graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/clipping.c, graphics/x11drv/objects.c, graphics/x11drv/oembitmap.c, graphics/x11drv/xfont.c, include/gdi.h, include/ldt.h, include/miscemu.h, include/selectors.h, misc/lstr.c, msdos/dosaspi.c, msdos/int25.c, msdos/int26.c, objects/gdiobj.c, relay32/builtin32.c, relay32/relay386.c, relay32/snoop.c, debugger/dbgmain.c, dlls/commdlg/filedlg95.c, dlls/gdi/gdi_main.c, dlls/oleaut32/oleaut.c, dlls/user/resource.c, dlls/winaspi/winaspi32.c, dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/midi.c: Removed some unnecessary includes. Got rid of ldt.h. * include/global.h, memory/virtual.c, misc/cpu.c, msdos/xms.c, scheduler/sysdeps.c, win32/device.c: Use getpagesize() instead of VIRTUAL_GetPageSize(). * windows/win.c, windows/winhelp.c, windows/winproc.c, msdos/dosmem.c, msdos/dpmi.c, msdos/int21.c, msdos/int2f.c, msdos/int33.c, msdos/int5c.c, msdos/vxd.c, objects/bitmap.c, objects/font.c, objects/metafile.c, scheduler/thread.c, windows/class.c, windows/cursoricon.c, windows/defwnd.c, windows/dialog.c, windows/hook.c, windows/mdi.c, windows/message.c, windows/msgbox.c, windows/painting.c, windows/scroll.c, misc/error.c, msdos/devices.c, include/wine/mmsystem16.h, include/wine/port.h, include/wine/winbase16.h, include/wine/windef16.h, include/wine/wingdi16.h, include/wine/winuser16.h, loader/dos/module.c, loader/module.c, loader/ne/module.c, loader/ne/resource.c, loader/ne/segment.c, loader/resource.c, loader/task.c, memory/atom.c, memory/environ.c, memory/global.c, memory/heap.c, memory/instr.c, memory/local.c, memory/selector.c, memory/string.c, dlls/winmm/mcianim/mcianim.c, dlls/winsock/async.c, files/file.c, graphics/escape.c, graphics/mapping.c, graphics/win16drv/init.c, graphics/win16drv/prtdrv.c, graphics/x11drv/dib.c, graphics/x11drv/init.c, if1632/builtin.c, if1632/relay.c, if1632/snoop.c, if1632/thunk.c, include/digitalv.h, include/mmddk.h, include/ole.h, include/stackframe.h, include/user.h, include/wingdi.h, include/winnt.h, dlls/user/lstr.c, dlls/user/text.c, dlls/user/wsprintf.c, dlls/version/ver16.c, dlls/win32s/win32s16.c, dlls/winaspi/winaspi16.c, dlls/wineps/escape.c, dlls/winmm/driver.c, dlls/winmm/lolvldrv.c, dlls/winmm/mci.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/winmm.spec, dlls/kernel/debugger.c, dlls/kernel/kernel.spec, dlls/kernel/kernel_main.c, dlls/kernel/thunk.c, dlls/kernel/utthunk.c, dlls/kernel/wowthunk.c, dlls/msvideo/msvideo_main.c, dlls/ole32/compobj.c, dlls/ole32/ifs.c, dlls/ole32/storage.c, dlls/oleaut32/ole2disp.c, dlls/olecli/olecli.spec, dlls/olecli/olecli_main.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, dlls/gdi/gdi.spec, dlls/gdi/printdrv.c, dlls/gdi/wing.c, dlls/commdlg/cdlg.h, controls/edit.c, controls/listbox.c, controls/menu.c, controls/combo.c: Replaced PTR_SEG_TO_LIN macro by exported MapSL function. Fixed a few ptr/segptr mismatches. Moved CONV_RECT/POINT macros to wingdi16.h. * debugger/debug.l, dlls/comctl32/header.c, dlls/oleaut32/typelib.c, dlls/serialui/confdlg.c, dlls/winspool/info.c, objects/enhmetafile.c, windows/winpos.c: Fixed some warnings. * windows/driver.c, dlls/winmm/Makefile.in, dlls/winmm/driver.c, dlls/winmm/lolvldrv.c, dlls/winmm/mci.c, dlls/winmm/mmsystem.c, dlls/winmm/mmsystem.spec, dlls/winmm/winemm.h: Eric Pouech Split driver functions into USER (16 bit part) and WINMM (32 bit part). Fixed some bugs in 16 bit part as well. Now correctly parsing the system.ini extra parameters. * dlls/crtdll/crtdll.h, dlls/crtdll/file.c: Marcus Meissner Fixed crtdll compile problem regarding fpos_t in glibc2.2. * dlls/crtdll/Makefile.in, dlls/crtdll/console.c, dlls/crtdll/crtdll.h, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/dir.c, dlls/crtdll/exit.c, dlls/crtdll/file.c, dlls/crtdll/spawn.c: Jon Griffiths - Implement console I/O - Support temporary files, add tmpfile, rmtmp - spawn* functions: fix args, add cwait, searchenv * programs/clock/main.c: Eric Pouech Removed a crash in program/clock. * dlls/comctl32/header.c: Eric Kohl Fixed crash of WinZip 8.0 due to invalid image list handle. * include/windef.h: Francois Gouget Define NULL as in Win32. * dlls/msvideo/msvideo_main.c: Eric Pouech Return values from DRV_ENABLE should not be checked. * dlls/kernel/format_msg.c: Eric Pouech FormatMessageA wasn't properly handling the %ls modifier. * dlls/comctl32/toolbar.c: Andreas Mohr Invalid buttons are "hidden". * dlls/shell32/shellpath.c: Andreas Mohr Move all values of SHGetSpecialFolderPathA into an array, add some other registry locations and improve the number of supported CSIDLs. * dlls/commdlg/filedlg95.c: Ian Pilcher Changed FILEDLG95_OnOpen to "double terminate" the returned string if OFN_ALLOWMULTISELECT is set. 2000-12-12 Alexandre Julliard * scheduler/process.c, if1632/relay.c, include/main.h, loader/main.c, misc/main.c, misc/options.c, ole/ole2nls.c, relay32/builtin32.c, dlls/kernel/kernel_main.c: Got rid of main.h. * relay32/relay386.c, relay32/snoop.c: Use __ASM_GLOBAL_FUNC directly in i386-only code. * dlls/user/user.spec, loader/ne/resource.c, windows/cursoricon.c: Changed LoadImage16 to take an LPCSTR instead of a SEGPTR. * include/drive.h, include/winbase.h, misc/cdrom.c, msdos/int11.c, msdos/int13.c, msdos/int17.c, msdos/int21.c, msdos/int2f.c, controls/combo.c, controls/listbox.c, dlls/commdlg/filedlg.c, dlls/shell32/shell.c, dlls/user/network.c, files/drive.c: Use the DRIVE_* API constants instead of the DRIVETYPE enum. Changed DRIVE_CANNOTDETERMINE and DRIVE_DOESNOTEXIST to use the correct names. Cleaned up a few dependencies on internal drive.c functions. * configure, configure.in, dlls/dinput/Makefile.in, dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick/linux.c, dlls/dinput/joystick/linuxinput.c, dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c, include/config.h.in, include/dinput.h: Marcus Meissner Added preferences to dinput drivers (so we can have two joystick drivers). Implemented a joystick driver for the Linux 2.4 dev/input/event API. * include/winnls.h, dlls/crtdll/Makefile.in, dlls/crtdll/crtdll.h, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/locale.c, dlls/crtdll/time.c: Jon Griffiths - Implemented setlocale parsing and LC_TYPE behavior. - Implemented isleadbyte, snprintf. - Added NLS IsValidCodePage prototype, misc CRTDLL fixes. * include/shellapi.h: Francois Gouget Added a prototype for SHAppBarMessage. * dlls/user/text.c: Dimitrie O. Paun Fixed indentation problems resulting from automatic renaming, other aesthetic fixes. * dlls/comctl32/tab.c: Gerard Patel Use DrawText to display text in horizontal tabs. * server/registry.c: Martin Pilka Changed the condition so it also works in case when sscanf returns EOF. 2000-12-11 Alexandre Julliard * windows/user.c, memory/environ.c, memory/selector.c, memory/virtual.c, misc/version.c, miscemu/main.c, msdos/dpmi.c, msdos/vxd.c, relay32/relay386.c, scheduler/client.c, scheduler/process.c, scheduler/thread.c, win32/console.c, win32/device.c, win32/except.c, win32/file.c, dlls/crtdll/exit.c, dlls/crtdll/spawn.c, dlls/crtdll/time.c, dlls/kernel/utthunk.c, include/Makefile.in, include/ldt.h, include/module.h, include/process.h, include/winbase.h, loader/dos/module.c, loader/elf.c, loader/module.c, loader/ne/module.c, loader/pe_image.c, loader/pe_resource.c, loader/resource.c, loader/task.c: Moved all Wine internal definitions out of process.h. * tools/winebuild/spec32.c: Output the exports table in assembly code to make it possible to export C++ mangled names. * dlls/ntdll/rtl.c: Implemented RtlAcquirePebLock and RtlReleasePebLock. * dlls/user/text.c: Gerard Patel Implemented DrawTextW as Unicode and DrawTextA as call to DrawTextW. * windows/x11drv/clipboard.c, windows/x11drv/event.c, include/clipboard.h, windows/clipboard.c, windows/queue.c, windows/user.c: Dmitry Timoshkov Add CF_UNICODETEXT as primary text clipboard format. Use [x11drv].TextCP for interchange with X. 2000-12-10 Alexandre Julliard * programs/Makeprog.rules.in: Dennis Bjorklund Remove old link before creating the new one. * windows/x11drv/event.c, windows/x11drv/wnd.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/wnd.c, dlls/user/controls.h, dlls/user/resources/user32.rc, dlls/user/user_main.c, include/button.h, include/combo.h, include/desktop.h, include/dialog.h, include/mdi.h, include/menu.h, include/scroll.h, include/static.h, include/win.h, include/x11drv.h, windows/Makefile.in, windows/class.c, windows/defdlg.c, windows/dialog.c, windows/mdi.c, windows/message.c, windows/nonclient.c, windows/sysparams.c, windows/user.c, windows/win.c, windows/winpos.c, windows/winproc.c, Make.rules.in, controls/Makefile.in, 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, controls/widgets.c: Moved most builtin controls structures into their respective C file. Created new controls.h file private to user32.dll and moved remaining builtin controls definitions there. 2000-12-09 Alexandre Julliard * dlls/ntdll/ntdll.spec, include/elfdll.h, loader/Makefile.in, loader/elf.c, loader/elfdll.c, loader/loadorder.c: Removed no longer used elfdll loader. * windows/class.c, windows/message.c, dlls/winmm/wineoss/mixer.c, include/queue.h, include/wnaspi32.h, misc/main.c, dlls/oleaut32/ole2disp.c, README: Andreas Mohr - README update - add offsets to ASPI struct defines - spelling * dlls/oleaut32/safearray.c: Andreas Mohr Don't fail on pointer address checking when foreign heap. * include/oleauto.h: Andreas Mohr Removed duplicate defines. * dlls/shell32/dialogs.c, programs/notepad/dialog.c: Andreas Mohr Fixed MessageBox() usage. * dlls/winaspi/winaspi32.c: Andreas Mohr Print CDB area. 2000-12-07 Alexandre Julliard * windows/defwnd.c: Hidenori Takeshima Added handlers for some IME messages in DefWindowProc. * dlls/commdlg/filedlg95.c: Gerard Patel Fileokstring notification should be sent to the custom child dialog, not to the main dialog. * dlls/ntdll/ntdll.spec: Andrew Lewycky Ove Kaaven De-stub sin() and cos(). Add noimport flag to sin(), cos(), and pow(). * windows/x11drv/wnd.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/wnd.c, dlls/user/user.spec, include/button.h, include/class.h, include/win.h, include/wine/winuser16.h, include/x11drv.h, windows/class.c, windows/dce.c, windows/defwnd.c, windows/mdi.c, windows/user.c, windows/win.c, controls/button.c, controls/desktop.c, controls/widgets.c: Removed dependencies on the internals of the CLASS structure. Added support for having both ASCII and Unicode window procedures for builtin classes. * windows/defdlg.c, windows/winproc.c: Removed calls to WIDGETS_IsControl. * include/wininet.h: Francois Gouget Uncomment GOPHER_ATTRIBUTE_TYPE and GopherGetAttribute. Create A/W versions of GOPHER_ATTRIBUTE_TYPE and GOPHER_ATTRIBUTE_ENUMERATOR. * include/winsock.h, tools/winemaker: Francois Gouget Added a prototype for closesocket. * dlls/commdlg/printdlg.c: Marcus Meissner Fixed handling of DialogBoxIndirectParamA return value. 2000-12-06 Alexandre Julliard * documentation/wine.conf.man.in, documentation/wine.man.in, files/profile.c, README, wine.ini: Added automatic translation of the config file to the new format. Updated documentation. * include/wine/port.h: Added define for S_ISLNK if missing. * tools/winebuild/spec16.c, tools/winebuild/spec32.c: Don't make the spec file constructors static so that they don't get optimized out. * include/bitmap.h, include/x11drv.h, dlls/ttydrv/bitmap.c, dlls/ttydrv/dc.c, dlls/ttydrv/ttydrv.h, graphics/x11drv/bitblt.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, graphics/x11drv/init.c, graphics/x11drv/text.c: Ove Kaaven Andrew Lewycky Gavriel State DIB section improvements; UpdateDIBSection has been replaced with LockDIBSection and UnlockDIBSection, for improved thread safety. DIB_Status_* is now driver-independent, and there's a new DIB_Status_AuxMod. Better handling of DIB surfaces with nonstandard pitch. Slight optimization of DIBsection->display BitBlt. * dlls/kernel/nls/heb.nls, misc/options.c, tools/wrc/utils.c, dlls/kernel/locale_rc.rc: Michael Veksler Add basic NLS information needed for Hebrew. * dlls/kernel/nls/cym.nls: Huw D M Davies Welsh needs iso8859-14. * windows/x11drv/event.c: Ove Kaaven Use SendNotifyMessage() for WM_SYNCPAINT. * dlls/ntdll/nt.c: James Juran Return a maximum registry size of 32 MB in NtQuerySystemInformation. * documentation/samples/config: Added sample config file in the new format. * configure, configure.in: Set -mpreferred-stack-boundary=2 flag if supported to avoid wasteful stack alignments. * tools/winebuild/import.c: Eric Pouech Now prints line number for 'x.dll imported but no symbols used' warning. * controls/combo.c: Louis Philippe Gagnon Update internal controls on WM_WINDOWPOSCHANGED. * dlls/ntdll/ntdll.spec, misc/Makefile.in, misc/ext_debugger.c, Makefile.in, debugger/Makefile.in, debugger/ext_debugger.c, debugger/winedbg.c: Build the debugger as a .so. * dlls/shell32/Makefile.in, dlls/shell32/shellguid.c, dlls/shell32/shlfolder.c, dlls/shlwapi/Makefile.in, dlls/shlwapi/shlwapi_main.c, include/dplay.h, ole/Makefile.in, ole/uuid.c, dlls/avifil32/Makefile.in, dlls/avifil32/avifile.c, dlls/commdlg/Makefile.in, dlls/commdlg/filedlgbrowser.c, dlls/ddraw/Makefile.in, dlls/ddraw/main.c, dlls/dinput/Makefile.in, dlls/dinput/dinput_main.c, dlls/dplayx/Makefile.in, dlls/dplayx/dplayx_main.c, dlls/dsound/Makefile.in, dlls/dsound/dsound_main.c, dlls/ole32/Makefile.in, dlls/ole32/oleobj.c, dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut.c, Make.rules.in, Makefile.in: Created a small static library in ole/libuuid.a that contains all the UUID definitions (with the help of Francois Gouget). * tools/wmc/Makefile.in, tools/wrc/Makefile.in, dlls/crtdll/Makefile.in, dlls/lzexpand/Makefile.in, dlls/ntdll/Makefile.in, dlls/shell32/Makefile.in, dlls/shlwapi/Makefile.in, dlls/version/Makefile.in, if1632/Makefile.in, libtest/Makefile.in, programs/Makeprog.rules.in, programs/avitools/Makefile.in, server/Makefile.in, tools/winebuild/Makefile.in, dlls/Makedll.rules.in, dlls/comctl32/Makefile.in: Use libwine and libwine_unicode directly from their build directory instead of using symlinks. * dlls/x11drv/Makefile.in, dlls/x11drv/x11drv_main.c, include/ts_shape.h, 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/ts_xvideo.h, tools/make_X11wrappers, tsx11/.cvsignore, tsx11/Makefile.in, tsx11/locking.c, tsx11/ts_shape.c, 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, tsx11/ts_xvideo.c, Make.rules.in, Makefile.in, configure, configure.in: Build tsx11 layer as a separate shared library. 2000-12-05 Alexandre Julliard * dlls/odbc32/proxyodbc.c, if1632/builtin.c, library/loader.c, loader/elf.c, relay32/builtin32.c: Always pass lower-case filenames to wine_dll_load(). Clear dlerror() before and after calls to dlopen/dlsym to work around a glibc bug (thanks to James Abbatiello for tracking the bug). * dlls/kernel/nls/srb.nls, tools/wrc/utils.c: Nerijus Baliunas Fixed Serbian language code page. * controls/combo.c: Aric Stewart Fixed a problem where the string in a combo box flickers if you rapidly reset the content and then replace the content. * loader/pe_image.c: Andreas Mohr Better error message for forwards. * dlls/user/resources/user32.rc, dlls/user/resources/user32_Zh.rc: Aric Stewart Added Chinese resources. * include/imm.h: Hidenori Takeshima Added some missing definitions. * dlls/rpcrt4/rpcrt4_main.c: Stefan Leichter Compile fix for gcc 2.7.2.3. * Make.rules.in, configure, configure.in: Dimitrie O. Paun Use the approriate command for combining .o files. * windows/winproc.c: Dmitry Timoshkov Removed the code duplication. * windows/winproc.c: Rein Klazes Don't forget to map the message in WINPROC_MapMsg16To32W(). * relay32/builtin32.c: Andreas Mohr Fixed dlerror() check to use strstr(). * dlls/Makefile.in: Dimitrie O. Paun Use @LIBEXT@ instead of .so for the inter-dlls dependencies. * tools/makedep.c: Dimitrie O. Paun - overwrite (rather than append) the output file if we have no separator - avoid output if there is nothing to do * dlls/user/user32.spec, include/winuser.h, windows/input.c: Ken Coleman Added a first-cut version of MapVirtualKeyExW() that has the same functionality (and limitations) as the ANSI version. * tools/wineinstall: Andreas Mohr wineinstall didn't create the default no-windows directory /c when just pressing enter. * graphics/x11drv/dib.c: Guy L. Albertelli - correct number of colormap entries looked at in GetDIBColorTable. - correct number of colormap entries processed in SetDIBColorTable. * dlls/kernel/nls/nlb.nls, dlls/kernel/nls/nld.nls: Rein Klazes Somes fixes for Dutch locales. * dlls/imm32/imm32.spec: Hidenori Takeshima Added some stubs. 2000-12-02 Alexandre Julliard * ANNOUNCE, ChangeLog, include/version.h: Release 20001202. ---------------------------------------------------------------- 2000-12-02 Alexandre Julliard * server/mapping.c: Andreas Mohr Check the attributes of the *current* section, not only the attributes of the *first* section... * windows/winproc.c: Fixed WINPROC_GetPtr() to always pass the start of the block to HeapValidate(). * scheduler/process.c: Display an error message if loading a Winelib app failed (suggested by Francois Gouget). * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dmaterial.c, dlls/dplayx/dplay.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplobby.c, dlls/dplayx/name_server.c, include/d3dtypes.h, include/dplay.h, include/dplobby.h: Francois Gouget Use the DUMMYUNIONNAME macros so that the headers can be used in Winelib. * if1632/builtin.c, include/file.h, loader/elf.c, loader/loadorder.c, loader/module.c, loader/ne/module.c, files/dos_fs.c, files/file.c: Aric Stewart Added ASCII-only version of toupper, tolower, strcasecmp and the like for file and module I/O. * dlls/wsock32/socket.c, dlls/wsock32/wsock32.spec, include/winsock2.h: Use ioctlsocket() instead of ioctl() so that we can import ws2_32.dll again (untested). * dlls/crtdll/crtdll_main.c, dlls/crtdll/file.c, dlls/msvideo/msvideo_main.c, dlls/ntdll/misc.c, loader/resource.c, win32/console.c: Patrik Stridvall Added/modified documentation for function arguments. * tools/winapi_check/modules.dat, tools/winapi_check/win16/kernel.api, tools/winapi_check/win16/winsock.api, tools/winapi_check/win16/wprocs.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/user32.api: Patrik Stridvall Minor API files update. * dlls/commdlg/filedlg95.c: Uwe Bonnes FileOpenDlgProc95: notify application of changed selection after filling template. * dlls/winmm/mcicda/mcicda.c, misc/cdrom.c: Eric Pouech Fixed bugs when tray was open. * windows/winproc.c: Dmitry Timoshkov Added several additional to/from unicode message mappings. * programs/Makeprog.rules.in, tools/winebuild/spec16.c, tools/winebuild/spec32.c, dlls/Makedll.rules.in: Always put the dll constructor in the .init section, and like the .spec.o file first to ensure correct calling order of the constructors. * msdos/int10.c, msdos/int15.c, objects/brush.c, win32/except.c, dlls/crtdll/crtdll.h, dlls/crtdll/file.c, dlls/ole32/clipboard.c, dlls/oleaut32/variant.c, memory/selector.c, misc/registry.c, wine.ini: Francois Gouget Fixed miscellaneous typos, syntactic and grammatical errors. * DEVELOPERS-HINTS, include/dplay.h, include/dplobby.h, include/prsht.h, include/wine/obj_base.h, include/winnls.h: Francois Gouget Fixed the case of "Winelib". * documentation/winemaker.man: Francois Gouget Fix the Winelib case. The linking aspects have been solved by the last winebuild update -> removed from the todo list. The configure script has been updated -> removed from the todo list. * tools/winemaker: Francois Gouget If there is a single target, it should also get the 'project_settings sources'. If a subdirectory is called 'include' then add it to the include path. * windows/winproc.c: Dimitrie O. Paun Include config.h. * include/winuser.h: Dmitry Timoshkov Added several clipboard formats. * Make.rules.in: Dennis Björklund Compile fix for building wine outside the source tree. * dlls/wininet/internet.c: Andreas Mohr InternetCloseHandle didn't return TRUE in all appropriate cases. * win32/device.c: Andreas Mohr Added a --winver nt40 hint to VxD error message. * dlls/imm32/imm.c, dlls/imm32/imm32.spec: Hidenori Takeshima Added some stubs. * windows/defwnd.c: Louis Philippe Gagnon - Take the mouse capture on a WM_NCRBUTTONDOWN on the caption bar, release it on a WM_RBUTTONUP - Don't send WM_CONTEXTMENU on a WM_NCRBUTTONUP - Use parent-relative coordinates when calling NC_HandleNCHitTest 2000-12-01 Alexandre Julliard * objects/enhmetafile.c, objects/font.c, objects/metafile.c, objects/palette.c, objects/text.c, ole/ole2nls.c, scheduler/process.c, windows/class.c, windows/cursoricon.c, windows/dce.c, windows/hook.c, windows/keyboard.c, windows/message.c, windows/win.c, windows/winproc.c, graphics/metafiledrv/init.c, loader/task.c, memory/virtual.c, misc/system.c, msdos/int10.c, objects/brush.c, objects/dc.c, dlls/winaspi/winaspi32.c, dlls/winmm/mmsystem.c, dlls/winsock/socket.c, dlls/winspool/info.c, files/drive.c, graphics/dispdib.c, graphics/enhmetafiledrv/init.c, dlls/msacm/format.c, dlls/ntdll/reg.c, dlls/ole32/compobj.c, dlls/ole32/ole2.c, dlls/ole32/ole2nls.c, dlls/ole32/ole2stubs.c, dlls/oleaut32/typelib.c, dlls/rpcrt4/rpcrt4_main.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlmenu.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/user/exticon.c, dlls/user/lstr.c, controls/scroll.c, dlls/commdlg/filedlg.c, dlls/commdlg/printdlg.c, dlls/kernel/comm.c: Patrik Stridvall Added/modified documentation for function arguments. * dlls/kernel/kernel_main.c, dlls/kernel/thunk.c, dlls/msvideo/msvideo_main.c, dlls/setupapi/setupx_main.c, loader/ne/module.c: Patrik Stridvall Fixed Win16 documentation not fixed because of a bug in winapi_check. * dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/file.c, dlls/icmp/icmp_main.c, dlls/kernel/kernel.spec, dlls/wininet/ftp.c, include/config.h.in, loader/dos/dosmod.c, misc/registry.c, server/context_sparc.c, configure, configure.in: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win32/gdi32.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/user32.api, tools/winapi_check/win16/compobj.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_options.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - Fixed a bug concerning Win16 documentation. - Fixed some bugs concerning argument documentation - Minor API files update * scheduler/process.c, tools/cvdump/cvdump.h, tools/fnt2bdf.c, tools/winebuild/spec16.c, windows/dce.c, windows/driver.c, windows/input.c, windows/queue.c, windows/spy.c, windows/user.c, windows/winpos.c, graphics/win16drv/font.c, if1632/thunk.c, loader/dos/module.c, loader/elf.c, loader/elfdll.c, loader/module.c, loader/ne/resource.c, loader/pe_image.c, loader/pe_resource.c, loader/resource.c, loader/task.c, misc/version.c, msdos/dpmi.c, msdos/vxd.c, relay32/builtin32.c, relay32/snoop.c, dlls/commdlg/filedlg95.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, dlls/crtdll/time.c, dlls/ole32/ifs.c, dlls/ole32/ole2nls.c, dlls/ole32/storage.c, dlls/shell32/shellpath.c, dlls/user/exticon.c, dlls/user/mouse.c, dlls/version/resource.c, dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, debugger/msc.c, dlls/comctl32/animate.c, dlls/comctl32/rebar.c, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c: Removed some unnecessary includes. * include/module.h, include/neexe.h, include/wine/winbase16.h: Moved useful NE format definitions to winbase16.h. * include/winnt.h, tools/winebuild/import.c, tools/winebuild/relay.c, tools/winebuild/spec32.c: Dimitrie O. Paun Modified winebuild to use the __ASM_FUNC macro for greater portability. * dlls/kernel/kernel.spec, dlls/kernel/kernel_main.c, dlls/kernel/utthunk.c, dlls/kernel/wprocs.spec, loader/ne/module.c, loader/ne/segment.c, msdos/int2f.c, msdos/interrupts.c: Moved the few remaining functions in wprocs.dll to kernel.dll. No longer load wprocs.dll unconditionally. Restored default interrupt handler behavior (reported by Andreas Mohr). * dlls/user/user32.spec, dlls/winsock/socket.c, dlls/winsock/winsock.spec, dlls/wsock32/Makefile.in, dlls/wsock32/socket.c, dlls/wsock32/wsock32.spec, files/dos_fs.c, include/winbase.h, dlls/kernel/kernel32.spec, dlls/shell32/Makefile.in, dlls/shell32/shell.c, dlls/shell32/shell.spec, dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c, dlls/shell32/shelllink.c, dlls/shell32/shellreg.c: Finished separation of shell32 and wsock32. * library/port.c, configure, configure.in, include/config.h.in, include/wine/port.h: Dimitrie O. Paun Supply dummy getrlimit if absent. * dlls/kernel/kernel.spec: Eric Pouech Fixed segstr to str proto. * debugger/debugger.h, debugger/types.c: Eric Pouech Cleaned up internal types definition. * debugger/stabs.c: Eric Pouech Improved stabs loading (now using recursive parsing, required by stabs generated by latest gcc versions). * debugger/expr.c: Eric Pouech Work around for deref issues (least impact solution taken, even if issues remain). * dlls/kernel/nls/cht.nls, dlls/kernel/nls/cze.nls, dlls/kernel/nls/dan.nls, dlls/kernel/nls/fin.nls, dlls/kernel/nls/trk.nls, dlls/kernel/nls/zhi.nls: Aric Stewart A number of additions to the nls files. Also one correction, we had 895 for the Czech default codepage but according to microsoft it should be 852. * tools/winelauncher.in: Jeremy White Make winelauncher work better for source tree builds. Make winelauncher detect the lack of a ~/.winerc file and prompt the user about it. Pass command line parameters a bit more graciously; improves interaction with gmc and kfm. * windows/x11drv/wnd.c: Marcus Meissner Added the KDE 2 beta and final method of specifying systray windows. 2000-11-30 Alexandre Julliard * controls/listbox.c: Louis Philippe Gagnon Don't update scrollbars when processing WM_DESTROY. * windows/winproc.c: Check for NULL handle before calling HeapValidate. * documentation/winemaker.man: Francois Gouget Bring the man page in line with the latest version of winemaker. * tools/winemaker: Francois Gouget - In interactive mode, don't ignore invalid options, ask the user again - Uppercase extensions are not supported after all (hint: $(SRC:.c=.o)) - Pass the global defines and include path to WRC - Base the cleanup on the OBJS variable so that it works even if the sources are in a subdirectory * tools/winemaker: Francois Gouget - Fix the handling of relative include/library paths - In interactive mode, print "./" for the top level directory rather than an empty string - We don't need to force a space before assignments - Align TOPSRCDIR & co like all the other assignements - Compile Dlls first (dependencies would do it more or less anyway) - Wording change in the usage * dlls/shell32/Makefile.in, dlls/user/Makefile.in, dlls/winmm/mci.c, dlls/winmm/winmm.spec, misc/registry.c, debugger/Makefile.in, dlls/Makefile.in, dlls/advapi32/Makefile.in, dlls/advapi32/advapi32.spec, dlls/advapi32/registry.c, dlls/gdi/Makefile.in: Finished separation of advapi32. * dlls/ole32/Makefile.in, dlls/ole32/ifs.c, dlls/ddraw/Makefile.in, dlls/ddraw/ddraw.spec: Finished separation of ole32. * dlls/comctl32/comctl32undoc.c: Guy L. Albertelli Implement better version of DPA_Merge. * dlls/wininet/ftp.c: Gerald Pfeifer Add missing #include to get struct in_addr on all platforms. * memory/heap.c: Andreas Mohr Fixed crash in UnMapLS for pointers not belonging to the segptr heap. * dlls/winmm/mciwave/.cvsignore, dlls/winmm/midimap/.cvsignore, dlls/winmm/wavemap/.cvsignore, dlls/winmm/wineoss/.cvsignore, dlls/winsock/.cvsignore, dlls/winspool/.cvsignore, dlls/wow32/.cvsignore, dlls/wsock32/.cvsignore, dlls/x11drv/.cvsignore, dlls/user/.cvsignore, dlls/version/.cvsignore, dlls/win32s/.cvsignore, dlls/winaspi/.cvsignore, dlls/wineps/.cvsignore, dlls/wininet/.cvsignore, dlls/winmm/.cvsignore, dlls/winmm/joystick/.cvsignore, dlls/winmm/mcianim/.cvsignore, dlls/winmm/mciavi/.cvsignore, dlls/winmm/mcicda/.cvsignore, dlls/winmm/mciseq/.cvsignore, dlls/opengl32/.cvsignore, dlls/psapi/.cvsignore, dlls/rasapi32/.cvsignore, dlls/richedit/.cvsignore, dlls/rpcrt4/.cvsignore, dlls/serialui/.cvsignore, dlls/setupapi/.cvsignore, dlls/shell32/.cvsignore, dlls/shfolder/.cvsignore, dlls/shlwapi/.cvsignore, dlls/tapi32/.cvsignore, dlls/ttydrv/.cvsignore, dlls/urlmon/.cvsignore, dlls/mpr/.cvsignore, dlls/msacm/.cvsignore, dlls/msnet32/.cvsignore, dlls/msvideo/.cvsignore, dlls/ntdll/.cvsignore, dlls/odbc32/.cvsignore, dlls/ole32/.cvsignore, dlls/oleaut32/.cvsignore, dlls/olecli/.cvsignore, dlls/oledlg/.cvsignore, dlls/olepro32/.cvsignore, dlls/olesvr/.cvsignore, dlls/crtdll/.cvsignore, dlls/dciman32/.cvsignore, dlls/ddraw/.cvsignore, dlls/dinput/.cvsignore, dlls/dplay/.cvsignore, dlls/dplayx/.cvsignore, dlls/dsound/.cvsignore, dlls/gdi/.cvsignore, dlls/icmp/.cvsignore, dlls/imagehlp/.cvsignore, dlls/imm32/.cvsignore, dlls/kernel/.cvsignore, dlls/lzexpand/.cvsignore, dlls/advapi32/.cvsignore, dlls/avifil32/.cvsignore, dlls/comctl32/.cvsignore, dlls/commdlg/.cvsignore: David Elliott Remove libXXXX.so.1.0 lines from .cvsignore files. * dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.spec, dlls/commdlg/Makefile.in, dlls/commdlg/colordlg.c, dlls/commdlg/comdlg32.spec, dlls/commdlg/filedlg.c, dlls/commdlg/fontdlg.c: Finished separation of comclt32 and comdlg32. * programs/progman/Makefile.in, programs/progman/grpfile.c, programs/progman/main.c: Fixed progman internal dependencies and build it like the other programs. * dlls/gdi/gdi32.spec, dlls/kernel/kernel32.spec, dlls/user/user32.spec: Export a few 16-bit functions needed by higher-level dlls. * dlls/ntdll/ntdll.spec, include/server.h, scheduler/client.c: Export the wine server functions from ntdll. * tools/winapi_check/win16/toolhelp.api, tools/winapi_check/win32/crtdll.api, tools/winapi_check/modules.dat, tools/winapi_check/nativeapi.dat, 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 - Added new option --documentation-arguments - Minor API files update * dlls/richedit/charlist.c, dlls/richedit/reader.c, dlls/richedit/richedit.c, dlls/richedit/rtf.h, dlls/urlmon/umon.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/utility.c, include/ocidl.h, include/rpc.h, include/unknwn.h, include/windows.h, msdos/int11.c, dlls/ole32/clipboard.c, dlls/ole32/filemoniker.c, dlls/oleaut32/connpt.c, dlls/oleaut32/ole2disp.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/oleaut32/stubs.c: Patrik Stridvall Don't include windows.h internally. * documentation/wine.man.in, misc/version.c: Andreas Mohr Added alias capability to --winver. win2000 is the official value. * dlls/oleaut32/Makefile.in, graphics/win16drv/font.c, if1632/thunk.c, include/heap.h, include/winbase.h, memory/heap.c, memory/selector.c, scheduler/process.c, dlls/kernel/utthunk.c, dlls/msvideo/Makefile.in: Use the HEAP_WINE_SEGPTR flag to specify allocations on the segptr heap. Added a hack in MapLS to recognize such allocations and use the heap selector in this case. * dlls/winaspi/Makefile.in, dlls/winaspi/aspi.c, dlls/winaspi/winaspi16.c: Removed dependencies on Wine internal functions. * windows/winproc.c: Always initialize msg16 and wparam16 in WINPROC_MapMsg32WTo16. * documentation/wine.conf.man.in, documentation/wine.man.in, include/loadorder.h, loader/loadorder.c, loader/module.c, loader/ne/module.c, relay32/builtin32.c, wine.ini: Removed "elfdll" load order option and updated documentation. 2000-11-29 Alexandre Julliard * win32/device.c, configure, configure.in, dlls/ntdll/signal_i386.c, include/config.h.in, server/context_i386.c, server/ptrace.c, server/request.c: Dimitrie O. Paun Do not include sys/ptrace.h and sys/user.h unconditionally. Other portability fixes. * dlls/comctl32/imagelist.c, dlls/msvideo/msvideo_main.c, include/wingdi.h, objects/dc.c: Brian Teague Add a stub for the CAPS1 capability in GetDeviceCaps. Define the CAPS1 bit flags in wingdi.h Make various calls to GetDeviceCaps in DLLS use #defined values. * tools/winebuild/spec16.c, windows/keyboard.c, windows/winproc.c, dlls/kernel/kernel32.spec, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, dlls/user/mouse.c, if1632/relay.c, include/builtin16.h, include/wine/winbase16.h, loader/ne/module.c, loader/ne/segment.c, misc/system.c, msdos/dpmi.c, scheduler/thread.c, tools/winebuild/relay.c: Renamed CallTo16* functions to wine_call_to_16* and export them from kernel32.spec. * dlls/commdlg/filedlg.c: Gerard Patel Fixed returned length of files. * configure.in, debugger/stabs.c, include/config.h.in, configure: Dimitrie O. Paun Do not use a.out.h. * dlls/commdlg/fontdlg.c, dlls/mpr/Makefile.in, dlls/mpr/wnet.c, dlls/winmm/mcianim/Makefile.in, dlls/winmm/mcianim/mcianim.c, dlls/winmm/mciavi/Makefile.in, dlls/winmm/mciavi/mciavi.c, dlls/winspool/Makefile.in, dlls/winspool/info.c, dlls/winspool/winspool.drv.spec, include/wingdi.h, dlls/comctl32/propsheet.c, dlls/commdlg/filedlg.c: Cleaned up some more dependencies on Wine internal functions. * files/file.c, include/config.h.in, include/wine/port.h, library/port.c, scheduler/client.c, configure, configure.in: Added implementation of lstat to port.c. * win32/device.c: Kees Schoenmakers Added HASP device stub. * objects/gdiobj.c: Lionel Ulmer Fixed the size of the large_handles array. * dlls/comctl32/rebar.c, dlls/olecli/olecli32.spec, dlls/ttydrv/ttydrv.spec, dlls/winmm/joystick/joystick.drv.spec: Dimitrie O. Paun Fixed a few compilation warnings. * controls/combo.c, controls/static.c, windows/defwnd.c, windows/mdi.c: Andreas Mohr WM_SETTEXT should return TRUE on success. * memory/virtual.c: Andreas Mohr VirtualQuery should return 0 for all addresses >= 0xc0000000. * dlls/comctl32/listview.c: Aric Stewart Ownerdata listviews were not clearing previously selected items when a new item is set as selected using SetItem and the listview has LVIS_SINGLESEL. 2000-11-28 Alexandre Julliard * windows/x11drv/keyboard.c: Aric Stewart We were returning characters for various CTRL + Symbol keystrokes which should not return characters. * misc/cpu.c: Marcus Meissner linux-2.4.0-test10 now calls 'flags' as 'features'. * windows/win.c: Dmitry Timoshkov Slightly rearrange WIN16/WIN32A/WIN32 window creation. * controls/button.c, controls/widgets.c: Dmitry Timoshkov Made button control fully unicode aware. * dlls/setupapi/setupx16.h, dlls/setupapi/setupx_main.c: Andreas Mohr - fix crash in SETUPX_TranslateLDID() - implement custom LDID lookup * misc/cdrom.c, misc/cpu.c, misc/version.c, objects/enhmetafile.c, objects/font.c, ole/ole2nls.c, win32/console.c, win32/init.c, windows/clipboard.c, windows/defwnd.c, windows/dialog.c, windows/input.c, windows/msgbox.c, windows/sysparams.c, windows/user.c, windows/winproc.c, files/directory.c, files/dos_fs.c, files/drive.c, files/file.c, files/profile.c, graphics/enhmetafiledrv/init.c, graphics/metafiledrv/text.c, graphics/win16drv/font.c, graphics/win16drv/text.c, if1632/builtin.c, include/wine/winestring.h, loader/module.c, loader/ne/convert.c, loader/pe_resource.c, memory/environ.c, memory/registry.c, memory/string.c, dlls/shell32/shelllink.c, dlls/shell32/shellpath.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, dlls/shell32/shv_item_cmenu.c, dlls/shell32/systray.c, dlls/shlwapi/path.c, dlls/shlwapi/string.c, dlls/ttydrv/graphics.c, dlls/version/info.c, dlls/winmm/joystick.c, dlls/winmm/mmsystem.c, dlls/kernel/format_msg.c, dlls/lzexpand/lzexpand_main.c, dlls/mpr/wnet.c, dlls/msacm/driver.c, dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/pcmconverter.c, dlls/msvideo/msvideo_main.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c, dlls/ole32/clipboard.c, dlls/ole32/compobj.c, dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c, dlls/ole32/ole2.c, dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/shell32/pidl.c, controls/menu.c, dlls/advapi32/advapi.c, dlls/advapi32/registry.c, dlls/advapi32/security.c, dlls/advapi32/service.c, dlls/comctl32/comboex.c, dlls/comctl32/datetime.c, dlls/comctl32/header.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/toolbar.c, dlls/comctl32/treeview.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filetitle.c, dlls/commdlg/finddlg32.c, dlls/commdlg/fontdlg.c: Got rid of the Wine internal lstrcpy* functions and of winestring.h. * documentation/wine.man.in: Andreas Mohr Updated man page. * memory/heap.c, include/heap.h: Made HEAP_strdup* functions inline (temporary). * dlls/winspool/info.c, win32/newfns.c: Moved EnumPortsA to dlls/winspool. 2000-11-27 Alexandre Julliard * */*.c: Dimitrie O. Paun Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; * relay32/relay386.c, tools/winebuild/main.c, tools/winebuild/spec32.c: Set debugging option based on NO_TRACE_MSGS define. Only output 32-bit relay stubs if debugging is on. * configure, configure.in, include/acconfig.h, include/config.h.in, include/winnt.h: Dimitrie O. Paun Test if we need to put the .type directive inside a .def directive. * dlls/ddraw/dsurface/main.c: Marcus Meissner Truncate dest blit rectangle down to surface size. * dlls/winmm/wineoss/midi.c: Marcus Meissner WARN() about missing /dev/sequencer, it's too confusing for newbies. * graphics/x11drv/oembitmap.c: Andreas Mohr Also mention xpm-devel in the error msg. * misc/cpu.c: Andreas Mohr Add FloatingPointProcessor empty entry to the registry. * controls/menu.c: Louis Philippe Gagnon When processing mouse messages in MENU_TrackMenu, use the coordinates in lParam instead of those in MSG::pt. * loader/pe_image.c: Display the name of the function when import failed. * dlls/shlwapi/Makefile.in, dlls/shlwapi/string.c, dlls/user/network.c, dlls/win32s/Makefile.in, dlls/win32s/w32skernel.c, dlls/win32s/w32skrnl.spec, dlls/win32s/w32sys.c, windows/defwnd.c, windows/mdi.c, windows/msgbox.c, windows/nonclient.c, windows/syscolor.c, dlls/Makefile.in, dlls/commdlg/filedlg95.c, dlls/mpr/wnet.c, dlls/shell32/shell32_main.c, controls/desktop.c, controls/icontitle.c, controls/static.c: Fixed a few dependencies on 16-bit or internal functions. Fixed a few warnings. * dlls/winsock/socket.c, dlls/winmm/mmio.c: Fixed SEGPTR_GET usage. * dlls/user/user32.spec: Added entry for PrivateExtractIconsA. * loader/ne/segment.c, msdos/int21.c, msdos/vxd.c, dlls/kernel/kernel32.spec, dlls/kernel/thunk.c, dlls/kernel/utthunk.c, dlls/kernel/wowthunk.c, dlls/lzexpand/Makefile.in, dlls/lzexpand/lzexpand_main.c, dlls/ole32/compobj.c, files/file.c, include/file.h, include/winbase.h: Implemented DosFileHandleToWin32Handle, Win32HandleToDosFileHandle and DisposeLZ32Handle and use them to replace file.c internal functions. Renamed WOW* functions into K32WOW*. * dlls/kernel/toolhelp.spec: Added entry for TerminateApp16. * windows/cursoricon.c, windows/dialog.c, windows/driver.c, windows/win.c, dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, files/directory.c, graphics/win16drv/prtdrv.c, if1632/thunk.c, include/wine/winbase16.h, include/wine/winuser16.h, loader/module.c, loader/resource.c, controls/menu.c, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/kernel/kernel.spec, dlls/ole32/ifs.c, dlls/ole32/storage.c, dlls/shell32/shell.c, dlls/user/resource.c, dlls/user/user.spec: Changed GetProcAddress16 and 16-bit resource functions to take normal pointers instead of SEGPTRs. Removed WIN16_GetTempDrive. * documentation/wine.man.in, misc/options.c, misc/version.c, dlls/oleaut32/typelib.c: Andreas Mohr - added winver settings nt2k, win30 and win20 (yes, some rare programs need this) and *document* it (win98 was not documented previously) - OaBuildVersion: add value for NT4 SP6 - spelling fixes * configure, configure.in, dlls/crtdll/crtdll.h, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, include/config.h.in, tools/winapi_check/win32/crtdll.api, tools/winapi_check/win32/ntdll.api: Jon Griffiths - configure tests for finite()/fpclass(), fixes BSD compile - winapi_check updates, fix errno in more math calls * win32/except.c, include/toolhelp.h, loader/task.c: Andreas Mohr Implemented TerminateApp needed for DBase 5.0. Made FatalAppExit16 honor the SEM_NOGPFAULTERRORBOX error_mode flag. * controls/edit.c: Dmitry Timoshkov General clean up of the edit control: removed transfer of unused variables, fixed signed/unsigned mismatches. * tools/winebuild/parser.c: Francois Gouget The init function can be called main. * memory/global.c: Dmitry Timoshkov GlobalAlloc as GlobalAlloc16 should round size to 32. Call SetLastError in GlobalLock. 2000-11-26 Alexandre Julliard * dlls/win32s/win32s16.c, memory/selector.c: Moved UTSelectorOffsetToLinear and UTLinearToSelectorOffset to dlls/win32s. * dlls/setupapi/Makefile.in, dlls/setupapi/infparse.c, dlls/setupapi/setupx16.h: Removed dependency on 16-bit file I/O functions. * dlls/ntdll/ntdll.spec, dlls/user/Makefile.in, dlls/user/user.spec, dlls/user/user32.spec, dlls/user/wsprintf.c, dlls/winmm/mci.c, dlls/winspool/Makefile.in, dlls/winspool/winspool.drv.spec, include/wine/winuser16.h, include/winuser.h, misc/Makefile.in, misc/wsprintf.c, msdos/int11.c, ole/ole2nls.c, debugger/module.c, dlls/commdlg/filedlg95.c, dlls/crtdll/Makefile.in, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/kernel/debugger.c: Moved wsprintf functions to dlls/user. * controls/scroll.c: Chris Morgan Don't draw scrollbars if their client rectangle is empty. * dlls/winsock/socket.c: Marcus Meissner Ignore SOL_SOCKET/SO_DEBUG setsockopt() calls. * files/profile.c: Marcus Meissner Removed strange checkj for !filename, so we don't get section NULL accesses later. * loader/pe_image.c: Hidenori Takeshima Replaced u_char/u_short/u_long by BYTE/WORD/DWORD for increased portability. * dlls/comctl32/updown.c: Dimitrie O. Paun Corrected default values with help from Ulrich Czekalla. * dlls/crtdll/crtdll.spec, dlls/kernel/kernel.spec, dlls/kernel/kernel32.spec, dlls/ntdll/ntdll.spec, tools/winebuild/README, tools/winebuild/build.h, tools/winebuild/parser.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c: Added entry point flags -noimport, -norelay, -ret64 and -i386. Replaced 'byte', 'word' and 'long' by 'variable' and made it work for Win32 too. Made parser more robust against truncated files. * include/cdrom.h, include/elfdll.h, windows/x11drv/wineclipsrv.c, dlls/ddraw/x11_private.h, dlls/winmm/wineoss/oss.h: Dimitrie O. Paun Make sure all files using config.h constants actually #include "config.h" * dlls/ole32/ole32_main.c, dlls/dciman32/dciman_main.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/nativeapi.dat, tools/winapi_check/win16/avifile.api, tools/winapi_check/win32/dciman32.api: Patrik Stridvall Minor API files update. * tools/winebuild/import.c: Marcus Meissner The __wine_call_from_16_ calls in the import table should use a valid segment for dereferencing their pointer (using CS). * configure, configure.in, dlls/icmp/icmp_main.c, dlls/wininet/utility.c, dlls/winsock/async.c, dlls/winsock/socket.c, include/config.h.in, include/winsock.h: Hidenori Takeshima Added checking for netdb.h. Don't include arpa/inet.h and sys/socket.h if system doesn't have these headers. * include/x11drv.h, graphics/x11drv/dib.c: Dimitrie O. Paun Do not compile code that makes use of the X Shm extension. 2000-11-25 Alexandre Julliard * dlls/kernel/debugger.c, dlls/ntdll/exception.c, include/winnt.h: Moved GET_IP out of winnt.h. * programs/progman/ChangeLog, programs/progman/Ru.rc, programs/progman/dialog.c, programs/progman/rsrc.rc: Vasily I. Volchenko Added Russian language support. Fixed bug of file browsing operation (filepath length corrected). * configure, configure.in, include/config.h.in, tools/bin2res.c, tools/winebuild/res16.c, tools/winebuild/res32.c: Hidenori Takeshima Added checking for mmap. * tools/wrc/utils.c: Added a few missing languages. * dlls/kernel/locale_rc.rc, dlls/kernel/nls/hkg.nls, dlls/kernel/nls/prc.nls, dlls/kernel/nls/sgp.nls: Nerijus Baliunas Added missing locales to locale_rc.rc. * graphics/x11drv/dib.c: Ove Kaaven Made X11DRV_DIB_GetImageBits_16 aware of 565 DIBs. * dlls/oleaut32/typelib.c, include/wine/obj_oleaut.h: Francois Jacques - support for arguments with referenced types - imported type libraries - dispinterfaces - dual interfaces - ref count problems - memory leaks fixed * dlls/crtdll/crtdll_main.c: Marcus Meissner glibc2.2 needs __USE_ISOC99 for FP_NAN and isfinite(). * win32/console.c, include/wincon.h, dlls/kernel/kernel32.spec: Fixed GetLargestConsoleWindowSize return type for Winelib apps. * dlls/ole32/ole32.spec, dlls/shell32/shell32.spec, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, dlls/win32s/w32skrnl.spec: Added a few forwards. * dlls/user/misc.c, dlls/user/user32.spec: Fixed typos. * include/bitmap.h, include/x11drv.h, objects/dib.c, dlls/ttydrv/bitmap.c, dlls/ttydrv/dc.c, dlls/ttydrv/ttydrv.h, graphics/x11drv/dib.c, graphics/x11drv/init.c: Ove Kaaven Implemented Get/SetDIBColorTable. * dlls/kernel/nls/lth.nls, dlls/kernel/nls/lvi.nls: Nerijus Baliunas Completed lvi.nls and lth.nls. * windows/message.c: Ove Kaaven Check whether senderQ is NULL before trying to lock it. * dlls/crtdll/crtdll.h, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/file.c, dlls/crtdll/string.c: Jon Griffiths - Fix ctype(), make is* functions binary compatible - Add 13 functions, set errno in math calls * dlls/wininet/ftp.c, if1632/relay.c, windows/user.c, dlls/dinput/joystick/linux.c, dlls/ntdll/debugtools.c, dlls/rpcrt4/rpcrt4_main.c, dlls/setupapi/setupapi.spec, dlls/shell32/shelllink.c, dlls/commdlg/fontdlg.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/nativeapi.dat, tools/winapi_check/win32/crtdll.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/rpcrt4.api, tools/winapi_check/win32/setupapi.api, tools/winapi_check/win32/urlmon.api, tools/winapi_check/win32/user32.api, tools/winapi_check/winapi_check: Patrik Stridvall Minor API files update. * include/comcat.h, include/rpc.h: Francois Gouget Include the same headers as on Windows. * dlls/ole32/compobj.c, dlls/ole32/compobj_private.h, dlls/ole32/filemoniker.c, dlls/ole32/moniker.c, include/compobj.h: Francois Gouget compobj.h is a synonym for objbase.h Moved all the other contents to dlls/ole32/compobj_private.h * dlls/comctl32/header.c: Eric Kohl Added notification format handling. * controls/listbox.c, dlls/user/user.spec, dlls/user/user32.spec: Ove Kaaven Implemented Win16 behaviour of DDL_DRIVES in DlgDirList. * windows/x11drv/keyboard.c: Dmitry Timoshkov Fixed ToUnicode TRACE message. * dlls/crtdll/crtdll.h, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/file.c: Jon Griffiths - Add math calls: scalb, fpclass, nextafter, logb, _CI* - Add futime, utime, purecall, getpid * dlls/ntdll/misc.c: Jon Griffiths NTDLL__CIpow returns double, not LONG. * dlls/winmm/wineoss/audio.c: Stephane Lussier - Read all the fragments available, not only one fragment before going back to sleep. - Use SNDCTL_DSP_SETTRIGGER ioctl command to trigger the start the recording. If this command is not supported by the device, read 4 bytes in the sound device instead. * windows/dialog.c: Dmitry Timoshkov Add support for national characters as accelerators in dialogs. * windows/message.c: Dmitry Timoshkov Always generate unicode CHAR messages. * dlls/ole32/hglobalstream.c, dlls/ole32/stg_bigblockfile.c: Fixed warnings. * scheduler/process.c, windows/cursoricon.c, windows/driver.c, debugger/winedbg.c, dlls/ole32/ifs.c, msdos/dosmem.c: Andreas Mohr Cosmetics. * include/wine/wingdi16.h: Andreas Mohr Added GdiSeeGdiDo16. * include/winnt.h: Andreas Mohr Removed double ANYSIZE_ARRAY define. * tools/winemaker: Francois Gouget When autodetected the MFC were still generating wrappers. Fixed inconsistencies in the use of 'no' in the option names. Updated the MFC link-list (configure.in). Made the Makefile.in layout more readable. * dlls/comctl32/updown.c: Dimitrie O. Paun Update comments, cleanup warning messages. * dlls/winsock/socket.c, memory/selector.c, msdos/dpmi.c, msdos/int11.c, relay32/relay386.c, scheduler/critsection.c, server/trace.c, dlls/ntdll/exception.c: Dimitrie O. Paun Include config.h in files that test for constants defined in it. * dlls/kernel/comm.c: Dimitrie O. Paun Avoid using TIOCM_* constants if not available. * include/wine/obj_base.h: Dimitrie O. Paun Fixed typo in macro ICOM_METHOD11 parameter list. * dlls/imagehlp/modify.c: Eric Kohl Implemented PE file checksum calculation. * dlls/comctl32/comctl32.h, dlls/comctl32/commctrl.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c: Eric Kohl Removed calls to internal (non-exported) wine functions. * dlls/kernel/locale_rc.rc: Aric Stewart Added the turkish locale. * windows/x11drv/clipboard.c: Ulrich Czekalla Allow for zero-length string selections. * dlls/comctl32/header.c: Ulrich Czekalla Send HDN_ITEMCHANGING and HDN_ITEMCHANGED when resizing. * ole/ole2nls.c: Andreas Mohr CompareStringW returned wrong results sometimes. * ole/Makefile.in: Dimitrie O. Paun We no longer have an ole/nls directory. * dlls/shlwapi/ordinal.c, dlls/shlwapi/reg.c, dlls/shlwapi/shlwapi.spec: Marcus Meissner Added some ordinal stubs, implemented SHDeleteValue*, SHSetValue*. * windows/message.c: Ove Kaaven Implemented SendNotifyMessage(). * tools/wineinstall: Andreas Mohr Made wineinstall a bit more verbose. * dlls/gdi/wing.c: Ove Kaaven WinG was written for 8bpp DIBs, so some apps assume that, so always recommend 8bpp, regardless of the actual display depth. * graphics/painting.c: Marcus Meissner GetPixel needs to return CLR_INVALID if not inside clipping region. * dlls/ole32/ole32.spec, dlls/ole32/ole32_main.c: Marcus Meissner Added OLE32.DllRegisterServer stub. * dlls/avifil32/avifile.spec: Ove Kaaven Routed a couple of 16-bit avifile.dll handlers to the 32-bit handlers... well, works for Civilization II. * dlls/ntdll/ntdll.spec: Marcus Meissner Added pow() forward. * relay32/snoop.c: Marcus Meissner Don't test !HIWORD values for pointerness. * include/windef.h: Dimitrie O. Paun Fixed compilation warning on Cygwin. * dlls/comctl32/comctl32undoc.c: Marcus Meissner MultiByteToWideChar() returns characters, not bytes. * dlls/oleaut32/variant.c: Francois Jacques Implemented VT_EMPTY to VT_BSTR type coercion. * include/ole2.h, include/oleauto.h: Marcus Meissner Added prototypes for Ole{G,S}etAutoConvert, LHashValOfNameSys{,A}. * dlls/kernel/format_msg.c: Marcus Meissner Handle %ls same as %s. * dlls/dciman32/dciman_main.c, dlls/dciman32/dciman32.spec: Marcus Meissner Added stub for DCIOpenProvider. 2000-11-16 Alexandre Julliard * dlls/imagehlp/Makefile.in, dlls/msacm/Makefile.in, dlls/msacm/msacm32.spec, dlls/oleaut32/oleaut32.spec, dlls/olecli/Makefile.in, dlls/olecli/olecli32.spec, dlls/olesvr/Makefile.in, dlls/olesvr/olesvr32.spec, dlls/rasapi32/Makefile.in, dlls/rasapi32/rasapi32.spec, dlls/version/Makefile.in, dlls/wininet/Makefile.in, dlls/winmm/mciseq/Makefile.in, dlls/Makefile.in, dlls/avifil32/Makefile.in, dlls/dplayx/Makefile.in: Avoid linking with ntdll where possible. * dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/dir.c, dlls/crtdll/file.c, dlls/crtdll/spawn.c: Removed calls to Wine internal functions. * dlls/dplayx/dplay.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplobby.c, dlls/dplayx/name_server.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, dlls/version/info.c, dlls/version/install.c, dlls/version/resource.c, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c: Replaced HEAP_strdup* and lstrcpynAtoW calls by exported functions. 2000-11-15 Alexandre Julliard * objects/gdiobj.c, scheduler/process.c, scheduler/synchro.c, scheduler/syslevel.c, tools/winebuild/relay.c, windows/queue.c, windows/win.c, windows/winhelp.c, include/wine/winbase16.h, include/wine/windef16.h, loader/module.c, loader/ne/module.c, loader/task.c, dlls/kernel/kernel.spec, dlls/kernel/sync.c, dlls/kernel/thunk.c, dlls/kernel/wowthunk.c, dlls/ntdll/signal_i386.c, dlls/user/user_main.c, dlls/win32s/w32skernel.c, dlls/win32s/win32s16.c, dlls/winmm/mmsystem.c, dlls/winmm/time.c, files/dos_fs.c, include/heap.h, include/syslevel.h, include/win.h, include/winbase.h, include/windef.h, include/winsock.h: Moved standard syslevel APIs declaration to winbase.h. Use exported syslevel function wherever possible. Moved SEGPTR declaration to windef16.h. * include/winproc.h, windows/message.c, windows/winproc.c: Dmitry Timoshkov Added mapping to/from unicode for WM_CHAR, WM_DEADCHAR, WM_SYSCHAR, WM_SYSDEADCHAR messages. * tools/winebuild/main.c: Francois Gouget Allow the user to stick the option and its argument together. * dlls/crtdll/crtdll.h, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/file.c, dlls/crtdll/memory.c, dlls/crtdll/string.c, tools/winapi_check/win32/crtdll.api: Jon Griffiths - Complete the implementation of heap functions - Forward j0,j1,jn,y0,y1,yn math calls to libc - Add strnextc, pass text flag in creat, winapi_check fixes * controls/widgets.c: Dmitry Timoshkov Prepare switching to unicode of builtin widgets. * include/wine/obj_base.h: James Hatheway Increase number of parameters possible for ICOM_* macros to 11. * debugger/stabs.c: Dmitry Timoshkov Skip directories when loading debug symbols. * debugger/debugger.h, debugger/hash.c, debugger/module.c, debugger/msc.c, debugger/stabs.c, debugger/winedbg.c: Eric Pouech Improved internal module handling (module now have a size, map of loaded module is clearer, better error reporting, seperated module loading code from symbol extraction). * dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, dlls/comctl32/monthcal.c, dlls/comctl32/rebar.c, dlls/commdlg/colordlg.c: Dmitry Timoshkov Remove redundant includes. Eliminate use of USER internal structures. * dlls/comctl32/tab.c: Eric Kohl Use internal unicode strings. Added unicode messages. * dlls/comctl32/comctl32.h, dlls/comctl32/comctl32undoc.c: Eric Kohl New unicode support functions. * tools/winebuild/spec16.c: Dimitrie O. Paun Include config.h. * dlls/ole32/compobj.c: Marcus Meissner Simplified reg handling in CoGetClassObject, do not use RegQueryValueW. * misc/registry.c: Marcus Meissner RegSetValueEx16 might get passed 0 as count of databytes, determine string length for ourselves in this case. * include/objbase.h, include/unknwn.h: Francois Gouget Match the Windows header dependencies. * windows/sysmetrics.c: Francois Gouget SM_ARRANGE is ARW_HIDE, i.e. 8 * tools/winemaker: Francois Gouget Distinguish between IMPORTS and LIBRARIES. Renamed LIBRARIES to DLLS to avoid confusion with the above, renamed PROGRAMS to EXES to match. Added a '-i' option for importing a Winelib library. '-l' is still there but is only used for linking in the Unix sense. Disabled the 'wrapper' options. It will be removed as a separate patch. No longer link with all of Wine's libraries. Import the same default set of dlls as Visual Studio. Avoid duplicate imports when generating the .spec file. Updated the way winebuild is used. Link applications as libraries and create a symbolic link to wine. Detect where 'wine' is located in the configure script. Removed unused/no longer used variables: DLLFLAGS, XLIB, X_DLLS, XFILES, DLLS (configure.in) Updated LDSHARED AND LDDLLFLAGS detection (configure.in). Removed the rules pertaining to spec files from the Make.rules. Updated the clean command to remove the symbolic links. * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Marcus Meissner Added some rpcrt4 stubs. * dlls/x11drv/x11drv_main.c: Jeremy White Allow desktop=N in the [x11drv] section of .winerc, instead of defaulting to desktop=640x480. 2000-11-14 Alexandre Julliard * tools/winebuild/relay.c, tools/winebuild/spec16.c, loader/ne/module.c, loader/ne/resource.c, loader/ne/segment.c, memory/Makefile.in, memory/environ.c, memory/global.c, memory/heap.c, memory/instr.c, memory/ldt.c, memory/selector.c, msdos/dosmem.c, msdos/dpmi.c, msdos/vxd.c, objects/metafile.c, scheduler/process.c, scheduler/thread.c, server/process.c, server/thread.c, server/trace.c, dlls/kernel/kernel_main.c, dlls/kernel/thunk.c, dlls/winmm/mmsystem.c, graphics/x11drv/dib.c, if1632/builtin.c, if1632/relay.c, if1632/snoop.c, include/builtin16.h, include/global.h, include/ldt.h, include/selectors.h, include/server.h, include/wine/library.h, library/Makefile.in, library/ldt.c, loader/task.c: Moved LDT handling to libwine.so. Changed the interface to use the exported LDT_ENTRY structure. 2000-11-13 Alexandre Julliard * dlls/shell32/shell32.spec, dlls/comctl32/comctl32.spec, dlls/commdlg/comdlg32.spec: Temp hack: do not import dlls that we link with at the ELF level. * dlls/kernel/kernel32.spec: Fixed copy/paste typo spotted by Dimitrie O. Paun. * dlls/comctl32/rebar.c: Guy L. Albertelli Implement dragging on gripper to expand and compress bands. Actual moving bands to different rows will be later. * dlls/kernel/comm.c, include/server.h, scheduler/synchro.c, server/Makefile.in, server/async.c, server/object.h, server/request.h, server/serial.c, server/trace.c: Mike McCormack - created server object for handling async i/o - implemented WaitCommEvent with the EV_RXCHAR flag - implemented GetOverlappedResult * dlls/kernel/kernel32.spec, dlls/kernel/thunk.c, if1632/builtin.c, if1632/relay.c, if1632/snoop.c, include/builtin16.h, tools/winebuild/relay.c, tools/winebuild/spec16.c, windows/winproc.c: Export the CallFrom16xxx functions from kernel32. Renamed them __wine_call_from_16 to follow the naming convention. * tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/spec32.c: Do not warn for unused imported dlls when forwards to the same dlls are present. * tools/winebuild/spec32.c: Don't include wine internal functions in the relay debugging table. * Make.rules.in: Do a strip --strip-unneeded on the .tmp.o file to reduce disk usage. * dlls/setupapi/infparse.c, dlls/winmm/mciseq/mcimidi.c, dlls/winspool/info.c, graphics/x11drv/dib.c, memory/global.c, scheduler/thread.c, dlls/avifil32/avifile.c, dlls/dplayx/dplay.c, dlls/imagehlp/access.c, dlls/msacm/internal.c: Replaced a few internal functions by exported ones. * scheduler/pthread.c: Ove Kaaven Unix98 pthread_rwlock* stubs for glibc2.2 compatibility. * configure, configure.in: Marcus Meissner Since we can no longer built .a files: - remove -disable/-enable-dll option - error and abort if no suitable shared library linking is possible * tools/winemaker: Francois Gouget Fixed the detection of the link flags for NetBSD/Cygwin (configure.in) Added AC_PATH_HEADER and AC_PATH_LIBRARY Better header/library detection. Now works if things are already in the include/library path Look for the wine/MFC headers and libraries in more places so that it works out of the box if Wine/MFC is installed in a standard place (although there is not really a standard place yet for the MFC) Renamed the '--with-xxx' options to have simpler more natural names Renamed the corresponding 'WINELIB_xxx' variables to 'WINE_xxx' * msdos/dpmi.c: Ove Kaaven When a Win16 app sets a selector base to low DOS memory, make sure low DOS memory is mapped first. * msdos/interrupts.c: Ove Kaaven Use the virtual real-mode interrupt table if low DOS memory isn't mapped. * include/miscemu.h, msdos/dosmem.c: Ove Kaaven Reorganized DOS memory remapping slightly, so that the real-mode interrupt table can exist even when low DOS memory isn't mapped, and is copied down along with the BIOS area whenever it is mapped. Added DOSMEM_SystemBase() which returns a pointer to the virtual real-mode interrupt table and BIOS data segment. Allowed DOSMEM_Init(TRUE) to be called more than once. 2000-11-12 Alexandre Julliard * dlls/win32s/Makefile.in, dlls/winaspi/Makefile.in, dlls/wininet/Makefile.in, dlls/winmm/joystick/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, dlls/wow32/Makefile.in, dlls/shfolder/Makefile.in, dlls/shlwapi/Makefile.in, dlls/tapi32/Makefile.in, dlls/tapi32/tapi32.spec, dlls/ttydrv/Makefile.in, dlls/urlmon/Makefile.in, dlls/version/Makefile.in, dlls/shell32/shell32.spec, dlls/shell32/Makefile.in, dlls/setupapi/Makefile.in, dlls/olepro32/Makefile.in, dlls/olesvr/Makefile.in, dlls/psapi/Makefile.in, dlls/rasapi32/Makefile.in, dlls/richedit/Makefile.in, dlls/rpcrt4/Makefile.in, dlls/rpcrt4/rpcrt4.spec, dlls/serialui/Makefile.in, dlls/imm32/Makefile.in, dlls/lzexpand/Makefile.in, dlls/mpr/Makefile.in, dlls/msacm/Makefile.in, dlls/msnet32/Makefile.in, dlls/msvideo/Makefile.in, dlls/odbc32/Makefile.in, dlls/oleaut32/Makefile.in, dlls/olecli/Makefile.in, dlls/oledlg/Makefile.in, dlls/Makefile.in, dlls/avifil32/Makefile.in, dlls/comctl32/Makefile.in, dlls/commdlg/Makefile.in, dlls/commdlg/filedlgbrowser.c, dlls/crtdll/Makefile.in, dlls/dciman32/Makefile.in, dlls/dplay/Makefile.in, dlls/dplayx/Makefile.in, dlls/dsound/Makefile.in, dlls/icmp/Makefile.in, dlls/imagehlp/Makefile.in: Start using import tables for dlls that can already support it. * tools/winebuild/spec16.c, tools/winebuild/spec32.c, dlls/kernel/kernel.spec, dlls/ole32/compobj.spec, if1632/relay.c, loader/task.c, tools/winebuild/import.c, tools/winebuild/parser.c: Raise an exception for unimplemented 16-bit entry points too. Added check for duplicate names in 16-bit spec files. * win32/except.c, winedefault.reg: The debugger "Auto" registry value should be a string. * dlls/x11drv/x11drv_main.c, wine.ini: Andreas Mohr Implemented the Desktop=XXXxYYY setting in the [x11drv] section of the config file. * debugger/msc.c: Eric Pouech Make use of Windows structure for COFF info. Fixed a few issues in COFF loading. Cleaned up the code. * tools/c2man.pl: Hidenori Takeshima Fix for APIs that don't have any ordinal (ordinal=@). * dlls/winspool/info.c: Stefan Leichter Made WINSPOOL_GetPrinterDriver work again. 2000-11-11 Alexandre Julliard * console/generic.c, controls/button.c, server/request.c, tools/bin2res.c, tools/makedep.c, tools/winebuild/parser.c, tools/winebuild/res16.c, tools/winebuild/res32.c, tools/winebuild/spec32.c, tools/wmc/lang.c, tools/wrc/dumpres.c, tools/wrc/newstruc.c, tools/wrc/newstruc.h, tools/wrc/parser.y, tools/wrc/readres.c, tools/wrc/utils.c, tools/wrc/wrctypes.h, tools/wrc/writeres.c: Joerg Mayer Get rid of some warnings about unused variables, signed/unsigned comparisons and incomplete initializations. * windows/x11drv/keyboard.c, graphics/x11drv/xfont.c, include/wingdi.h, unicode/Makefile.in, unicode/c_28592.c, unicode/c_28593.c, unicode/c_28594.c, unicode/c_28599.c, unicode/c_28600.c, unicode/c_28603.c, unicode/c_28604.c, unicode/c_28605.c, unicode/cpmap.pl, unicode/cptable.c: Nerijus Baliunas Add new encodings ISO 8859-10 (cp28600), 8859-13 (cp28603), 8859-14 (cp28604), 8859-15 (cp28605). Add Lithuanian (Baltic) keyboard layout. * dlls/comctl32/animate.c: Andreas Mohr Fixed WM_PAINT in ANIMATE_WindowProc; call DefWindowProcA for default handling. * configure, configure.in: Eric Pouech Added another detection of strength-reduce bug in GCC. 2000-11-10 Alexandre Julliard * 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/uninstaller/Makefile.in, programs/view/Makefile.in, programs/wcmd/Makefile.in, programs/winemine/Makefile.in, programs/winhelp/Makefile.in, programs/winver/Makefile.in, programs/winver/winver.spec, programs/avitools/Makefile.in, programs/avitools/aviinfo.spec, programs/avitools/aviplay.spec, programs/avitools/icinfo.spec, programs/clock/Makefile.in: Build most programs as .so files. * configure, configure.in, programs/.cvsignore, programs/Makefile.in, programs/Makeprog.rules.in: Added Makeprog.rules.in containing rules for building Winelib programs. * dlls/ntdll/debugtools.c, dlls/ntdll/ntdll.spec, files/file.c, include/debugtools.h: Dimitrie O. Paun Use variable argument macros when compiling with gcc. * tools/winelauncher.in: Jeremy White Make winelauncher smarter about finding the Wine libraries and binaries. Change the color scheme. Handle launches with no arguments, correctly handle invocation as a mime-type handler from KDE. * memory/heap.c, dlls/user/exticon.c, dlls/version/resource.c, include/sqlext.h, include/winbase.h, include/winnt.h, library/loader.c, loader/pe_resource.c: Francois Gouget Use DUMMYxxxNAME for anonymous struct/unions. * include/wingdi.h: Francois Gouget Added missing pointer types: Pxxx or LPxxx Fixed the definition of FONTENUMPROC Fixed typo: TA_RTLEADING is in fact TA_RTLREADING (right to left reading I believe) Added missing definitions: PC_TRAPEZOID Use DUMMYxxxNAME for anonymous struct/unions in DEVMODE * include/winuser.h: Francois Gouget Added some STN_xxx macros. * include/windef.h: Francois Gouget HICON and HCURSOR should be interchangeable. * include/commctrl.h: Francois Gouget Added LPUDACCEL and HDF_RTLREADING. * tools/winemaker: Francois Gouget Convert include statements of not-found files to lower case by default Added --no-lower-include option to override the above Beautified the interactive mode output to make it easier to follow Interactive mode: support the --mfc and --wrap options for both projects and targets Fixed the mfc/wrap propagation between project and targets (goes both ways) Autodetect MFC based projects by looking for an 'stdafx.(cpp|h)' file Don't put the stdafx.cpp file in the list of files to compile (it's just there for pre-compiled headers, yuk) Fixed LD_LIBRARY_PATH when linking an application with a library from the same makefile Don't forget 'extra' sources when looking for a file for configure.in Renamed the '--no-makefile' option to '-no-generated-file' * documentation/winemaker.man: Francois Gouget Document the --lower-include options. Document the --no-generated-files options. * relay32/builtin32.c: Repaired relay debugging. * dlls/Makedll.rules.in: We do not need to set SOVERSION for dlls. * libtest/Makefile.in, libtest/expand.spec, libtest/hello.spec, libtest/hello2.spec, libtest/hello3.spec, libtest/hello4.c, libtest/hello4.spec, libtest/hello5.spec, libtest/new.spec, libtest/rolex.spec, libtest/vartest.c, libtest/vartest.spec, libtest/volinfo.spec: Build test programs as .so files. Added missing imports. * include/wine/library.h, library/loader.c, scheduler/process.c: Added support for loading a Winelib app linked as a .so from the wine launcher, based on the value of argv[0]. * dlls/Makedll.rules.in, dlls/ntdll/Makefile.in, dlls/ttydrv/Makefile.in: Don't link libwine_unicode into all dlls. * programs/clock/language.c, programs/clock/language.h, programs/clock/license.c, programs/clock/license.h, programs/clock/main.c, programs/clock/main.h, programs/notepad/dialog.c, programs/notepad/language.c, programs/notepad/language.h, programs/notepad/license.c, programs/notepad/license.h, programs/notepad/main.c, programs/notepad/main.h, programs/winhelp/winhelp.c: Fixed language handling. Removed some dependencies on Wine internals. * wine.ini: Andreas Mohr Added an explanation for the directory symlink stuff. * dlls/winspool/info.c: Stefan Leichter Corrected used registry key. * dlls/wininet/http.c: Huw D M Davies Initialize nSocketFD to INVALID_SOCKET. 2000-11-09 Alexandre Julliard * programs/uninstaller/uninstaller.spec, programs/view/view.spec, programs/wcmd/wcmd.spec, programs/winemine/winemine.spec, programs/winhelp/winhelp.spec, programs/winver/winver.spec, debugger/winedbg.spec, programs/clock/clock.spec, programs/cmdlgtst/cmdlgtst.spec, programs/control/control.spec, programs/notepad/notepad.spec, programs/osversioncheck/osversioncheck.spec, programs/progman/progman.spec, programs/regapi/regapi.spec, programs/regtest/regtest.spec: Added some missing imports. * Make.rules.in, Makefile.in, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/spec32.c: Added support in winebuild for resolving function imports (-sym option). Added -L option for locating imported dlls. Changed generated exe init code to use __wine_get_main_args. * dlls/ntdll/ntdll.spec, misc/options.c: Added __wine_get_main_args to retrieve command-line arguments for the application. * loader/elfdll.c: Don't strip the library extension if it's not ".dll". * configure, configure.in: Fixed NetBSD dll check. Added check for -Bsymbolic. Fixed LDSHARED definition to support undefined SONAME. * dlls/comctl32/comctl32.h, dlls/comctl32/header.c, dlls/comctl32/rsrc.rc: Eric Kohl Added header control cursors and drag list arrow icon. * dlls/wineps/rsrc.rc, dlls/wineps/wps_En.rc, dlls/wineps/wps_Ru.rc, dlls/wineps/wps_Sk.rc: Dmitry Timoshkov Added Russian resources to the Postscript driver. * dlls/comctl32/propsheet.c: Dmitry Timoshkov Make a copy of the dialog resource before correcting styles. 2000-11-08 Alexandre Julliard * include/wine/library.h, library/loader.c, relay32/builtin32.c: Do builtin modules fixups in library/loader.c before calling the load_dll callback. * if1632/thunk.c, include/callback.h, include/task.h, loader/dos/dosvm.c, loader/module.c, loader/task.c, miscemu/main.c, objects/palette.c, scheduler/process.c, scheduler/thread.c, win32/except.c, dlls/gdi/printdrv.c, dlls/kernel/comm.c: Check all Callouts function pointers for NULL before using them. Don't load USER dll if not needed by the application. * dlls/crtdll/crtdll.h, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/dir.c, dlls/crtdll/exit.c, dlls/crtdll/file.c, dlls/crtdll/mbstring.c, dlls/crtdll/memory.c, dlls/crtdll/spawn.c, dlls/crtdll/string.c, dlls/crtdll/time.c, dlls/crtdll/wcstring.c, tools/winapi_check/win32/crtdll.api, dlls/crtdll/Makefile.in: Jon Griffiths - Implemented 73 CRT functions - Reimplemented file I/O using Win32 calls - Set errno/doserrno in most calls * dlls/wininet/ftp.c: Gerald Pfeifer Add missing #include and #include . * programs/winemine/main.c: Added middle mouse button handling. * dlls/user/.cvsignore: Removed .s files. * include/Makefile.in, include/comcat.h, include/rpc.h, include/rpcdce.h, include/rpcdcep.h, include/rpcndr.h, include/wtypes.h: Francois Gouget Moved things to the proper rpcxxx.h header. Added some type definitions used by the MFC. * dlls/commdlg/filedlgbrowser.c, dlls/ddraw/ddraw_private.h, dlls/dplayx/dpclassfactory.c, dlls/ole32/moniker.c, dlls/shell32/folders.c, dlls/shell32/shlview.c: Francois Gouget We must include windef.h before wtypes.h (directly or indirectly). * include/winuser.h: Francois Gouget Added DM_REPOSITION. * include/winbase.h: Francois Gouget We must include stdarg.h. Added a few missing exception related types. * include/winnt.h: Francois Gouget We must include ctype.h so that applications get isalnum & co. * include/commdlg.h: Francois Gouget Added CC_SOLIDCOLOR and CC_ANYCOLOR. * include/Makefile.in, include/dosexe.h, include/module.h, library/Makefile.in, library/debug.c, library/loader.c, loader/dos/module.c, loader/module.c, loader/pe_image.c, miscemu/main.c, relay32/builtin32.c, scheduler/process.c, tools/winebuild/spec32.c: Moved builtin dll registration to libwine. Changed process initialization to not load imported dlls too early. * dlls/comctl32/listview.c: Aric Stewart Implemented VK_PRIOR and VK_NEXT processing (merged from Corel tree). * windows/x11drv/keyboard.c: Aric Stewart ToUnicode: ignore CTRL+number keystrokes. * include/wine/library.h, include/wine/port.h, library/port.c, memory/virtual.c, misc/options.c: Added new library.h header for libwine definitions. Added getpagesize() and wine_anon_mmap() portability functions. 2000-11-07 Alexandre Julliard * scheduler/pthread.c: pthread_atfork: don't call critical section functions before initialization is done. * memory/virtual.c: Fixed 0/-1 mixup for indicating no mapping handle. * controls/uitools.c, include/tchar.h: Francois Gouget Fixed typos in comments. * dlls/comctl32/comctl32.h, dlls/comctl32/comctl_De.rc, dlls/comctl32/comctl_En.rc, dlls/comctl32/toolbar.c: Eric Kohl Implemented toolbar customization dialog. * dlls/comctl32/updown.c: Eric Kohl Implemented new messages. * debugger/msc.c: Ulrich Weigand - Take OMAP records into account to correct symbol addresses. - Understand CodeView data embedded in the PE file itself. - Understand NB11 signature CodeView data. - No more bogus 'timestamp mismatch' errors. - General cleanup / removal of duplicate code. * include/winnt.h: Ulrich Weigand Added missing IMAGE_DEBUG_MISC definition. * dlls/wininet/ftp.c: Huw D M Davies Send the local ip address with the PORT command and not that of the server. Fix handling of multi-line responses. Read a response after the STOR command. * dlls/comctl32/listview.c: Aric Stewart Implemented the RedrawItems message for a listview. * dlls/wineps/afm.c: Dmitry Timoshkov New path for AFM documentation on the net. * tools/winemaker: Francois Gouget Fix the include path handling in get_real_include_name Modified get_real_include_name so that it can follow an include path starting with $(TOPSRCDIR) Indent the debug messages a bit more so that winemaker's is still readable when they are on The ATL_INCLUDE_ROOT variable was set wrong (configure.in) The MFC include path must contain the path to the ATL headers (configure.in) * dlls/comctl32/tab.c: Francois Gouget Use DrawFocusRect to draw the focus rectangle. * dlls/winaspi/aspi.c: Andreas Mohr - fortify ASPI /proc file parsing (SCSI_getprocentry()) against CD-ROM drives that are doing mad things with spaces - add ERR()s in case of parsing problems * include/bitmaps/wine_small.xpm: Aric Stewart Added 16x16 wine logo. 2000-11-06 Alexandre Julliard * dlls/Makefile.in, dlls/winmm/Makefile.in, dlls/winmm/winmm.spec: Removed SUBDIRS in winmm Makefile. * dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c, include/Makefile.in, include/setupapi.h: James Hatheway Added stubs and setupapi.h. * dlls/comctl32/comboex.c: Marcus Meissner CBEM_SETITEMW done by example from SETITEMA, converted SETITEMA to use it. * documentation/Makefile.in, documentation/winemaker.man: Francois Gouget Winemaker's man page initial release. * tools/wrc/Makefile.in, debugger/Makefile.in, programs/winhelp/Makefile.in, tools/makedep.c, tools/wmc/Makefile.in: Better error message when an include file is not found by makedep. Added support for .mc extension. Do not try to open *.tab.h and *.mc.rc include files. * dlls/user/Makefile.in: Added missing dependency for 16-bit resource files. * Make.rules.in, dlls/kernel/Makefile.in, dlls/kernel/kernel.rc, dlls/kernel/messages/.cvsignore: Use .mc.rc extension for rc files generated by the message compiler. * loader/elf.c: Andreas Mohr Get ELF_LoadLibraryExA back into a working state. * dlls/winspool/info.c: Stefan Leichter Enable the functions AddPrinterW, WINSPOOL_GetPrinterDriver, AddPrinterDriverA, WINSPOOL_EnumPrinterDrivers to distinguish the registry entrys of Win9[58] and WinNT printer drivers. * controls/menu.c: Francois Gouget Take into account the sunken border for Win98 look. Leave a 1 pixel gap to the left of menu bitmap items for symetry (and because Win9x does it). Leave a 1 pixel gap above menu bar items for symetry (and because Win9x does it). 2000-11-05 Alexandre Julliard * dlls/dinput/Makefile.in, dlls/dinput/device.c, dlls/dinput/device_private.h, dlls/dinput/dinput_main.c, dlls/dinput/dinput_private.h, dlls/dinput/joystick/linux.c, dlls/dinput/keyboard/main.c, dlls/dinput/mouse/main.c, include/dinput.h, configure, configure.in: Lionel Ulmer - reorganized DInput DLL - added stubbing for DInput 7a - 'fixed' the mouse problem in Fallout * dlls/ole32/.cvsignore, dlls/ole32/Makefile.in, dlls/ole32/ole2.c, dlls/ole32/ole32.spec, dlls/ole32/ole32_main.c, dlls/ole32/ole32_main.h, dlls/ole32/ole32res.rc: Huw D M Davies Added DnD cursors as ole32 resources. * include/spy.h, windows/message.c, windows/spy.c: Dmitry Timoshkov Added the ability to see names of the virtual key codes. * Makefile.in, configure, configure.in, tools/.cvsignore, tools/Makefile.in, tools/winelauncher.in: Jeremy White Added a winelauncher shell script which makes the process of running Wine a little nicer for an end user. The intent of winelauncher is to be used inside of a distribution package. * tools/Makefile.in, tools/winemaker: Francois Gouget New script for porting Windows source code to WineLib. * dlls/x11drv/x11drv.spec, dlls/winmm/mcianim/Makefile.in, dlls/winmm/mcianim/mcianim.drv.spec, dlls/winmm/mciavi/Makefile.in, dlls/winmm/mciavi/mciavi.drv.spec, dlls/winmm/mcicda/Makefile.in, dlls/winmm/mcicda/mcicda.drv.spec, dlls/winmm/mciseq/Makefile.in, dlls/winmm/mciseq/mciseq.drv.spec, dlls/winmm/mciwave/Makefile.in, dlls/winmm/mciwave/mciwave.drv.spec, dlls/winmm/midimap/Makefile.in, dlls/winmm/midimap/midimap.drv.spec, dlls/winmm/wavemap/Makefile.in, dlls/winmm/wavemap/msacm.drv.spec, dlls/winmm/wineoss/Makefile.in, dlls/winmm/wineoss/wineoss.drv.spec, dlls/winsock/ws2_32.spec, dlls/winspool/Makefile.in, dlls/winspool/winspool.drv.spec, dlls/wsock32/Makefile.in, dlls/wsock32/wsock32.spec, dlls/version/Makefile.in, dlls/version/version.spec, dlls/win32s/Makefile.in, dlls/win32s/w32skrnl.spec, dlls/winaspi/Makefile.in, dlls/winaspi/wnaspi32.spec, dlls/wineps/Makefile.in, dlls/wineps/wineps.spec, dlls/wininet/Makefile.in, dlls/wininet/wininet.spec, dlls/winmm/Makefile.in, dlls/winmm/joystick/Makefile.in, dlls/winmm/joystick/joystick.drv.spec, dlls/winmm/winmm.spec, dlls/shlwapi/shlwapi.spec, dlls/tapi32/tapi32.spec, dlls/ttydrv/Makefile.in, dlls/ttydrv/ttydrv.spec, dlls/urlmon/Makefile.in, dlls/urlmon/urlmon.spec, dlls/user/user32.spec, dlls/shell32/shell32.spec, dlls/shlwapi/Makefile.in, dlls/shell32/pidl.c, dlls/serialui/serialui.spec, dlls/setupapi/Makefile.in, dlls/setupapi/setupapi.spec, dlls/shell32/Makefile.in, dlls/olesvr/olesvr32.spec, dlls/opengl32/opengl32.spec, dlls/psapi/Makefile.in, dlls/psapi/psapi.spec, dlls/rasapi32/rasapi32.spec, dlls/richedit/Makefile.in, dlls/richedit/riched32.spec, dlls/rpcrt4/rpcrt4.spec, dlls/serialui/Makefile.in, 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/msvideo/Makefile.in, dlls/msvideo/msvfw32.spec, dlls/odbc32/odbc32.spec, dlls/ole32/ole32.spec, dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec, dlls/olecli/Makefile.in, dlls/olecli/olecli32.spec, dlls/oledlg/oledlg.spec, dlls/olepro32/Makefile.in, dlls/olepro32/olepro32.spec, dlls/commdlg/comdlg32.spec, dlls/crtdll/crtdll.spec, dlls/ddraw/ddraw.spec, dlls/dinput/Makefile.in, dlls/dinput/dinput.spec, dlls/dplayx/Makefile.in, dlls/dplayx/dplayx.spec, dlls/dsound/Makefile.in, dlls/dsound/dsound.spec, dlls/gdi/Makefile.in, dlls/gdi/gdi32.spec, dlls/icmp/Makefile.in, dlls/icmp/icmp.spec, dlls/imagehlp/Makefile.in, dlls/imagehlp/imagehlp.spec, dlls/imm32/Makefile.in, dlls/imm32/imm32.spec, dlls/kernel/kernel32.spec, dlls/Makedll.rules.in, dlls/Makefile.in, dlls/advapi32/advapi32.spec, dlls/avifil32/Makefile.in, dlls/avifil32/avifil32.spec, dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.spec: Declare debug channels in all dlls that need them; added imports of ntdll where necessary. * dlls/ntdll/Makefile.in, dlls/ntdll/debugtools.c, dlls/ntdll/ntdll.spec, include/debugdefs.h, include/debugtools.h, include/main.h, library/Makefile.in, library/debug.c, misc/Makefile.in, misc/debugstr.c, misc/main.c, misc/options.c, relay32/builtin32.c, tools/find_debug_channels, tools/make_debug: New debug channel mechanism allowing decentralized channel declarations. * tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec32.c: Added debug_channels support. * graphics/win16drv/graphics.c, graphics/win16drv/init.c, graphics/x11drv/init.c, include/enhmetafiledrv.h, include/gdi.h, include/win16drv.h, dlls/ttydrv/dc.c, dlls/wineps/init.c, graphics/enhmetafiledrv/graphics.c, graphics/enhmetafiledrv/init.c, graphics/metafiledrv/graphics.c, graphics/metafiledrv/init.c, graphics/metafiledrv/metafiledrv.h, graphics/painting.c: Patrik Stridvall Optimized {,p}MoveTo{,Ex}{,16}. * windows/dce.c: Francois Gouget Added comment explaining why we have an ERR rather than a WARN. * msdos/dosmem.c: Gerald Pfeifer Added missing #include . * dlls/comctl32/comboex.c: Marcus Meissner Forward CBEM_SETEXSTYLE to CBEM_SETEXTENDEDSTYLE, pass WM_SETTEXT and WM_GETTEXT down to combo box. * windows/sysparams.c: James Abbatiello Cleanup SystemParametersInfo<16|A|W>. * controls/menu.c: James Abbatiello Don't reset MF_POPUP flag in SetMenu(). * windows/queue.c: James Abbatiello Fix test for pending message in QUEUE_ReceiveMessage(). * windows/dce.c, windows/scroll.c, windows/x11drv/wnd.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/palette.c, graphics/x11drv/pen.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c, include/dc.h, include/gdi.h, objects/bitmap.c, objects/brush.c, objects/clipping.c, objects/dc.c, objects/dcvalues.c, objects/dib.c, objects/font.c, objects/gdiobj.c, objects/palette.c, objects/region.c, objects/text.c, graphics/x11drv/bitblt.c, dlls/wineps/brush.c, dlls/wineps/clipping.c, dlls/wineps/color.c, dlls/wineps/escape.c, dlls/wineps/font.c, dlls/wineps/graphics.c, dlls/wineps/init.c, dlls/wineps/pen.c, dlls/wineps/ps.c, dlls/wineps/text.c, graphics/bitblt.c, graphics/enhmetafiledrv/graphics.c, graphics/enhmetafiledrv/init.c, graphics/enhmetafiledrv/objects.c, graphics/escape.c, graphics/mapping.c, graphics/metafiledrv/bitblt.c, graphics/metafiledrv/graphics.c, graphics/metafiledrv/init.c, graphics/metafiledrv/mapping.c, graphics/metafiledrv/objects.c, graphics/painting.c, graphics/path.c, graphics/win16drv/brush.c, graphics/win16drv/font.c, graphics/win16drv/graphics.c, graphics/win16drv/init.c, graphics/win16drv/pen.c, graphics/win16drv/text.c, dlls/gdi/printdrv.c, dlls/opengl32/wgl.c, dlls/ttydrv/bitmap.c, dlls/ttydrv/dc.c, dlls/ttydrv/graphics.c, dlls/ttydrv/objects.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/wnd.c: Allocate DC objects on the process heap, and removed WIN_DC_INFO structure (based on a patch by Ken Coleman). 2000-11-04 Alexandre Julliard * dlls/shell32/shelllink.c: Removed leftover debug output. * dlls/setupapi/infparse.c, dlls/setupapi/setupx16.h, dlls/setupapi/setupx_main.c: Andreas Mohr - fix inf file open/close - do NOT return handles based on list offset - we might want to use HEAP_strdupA instead of assigning string pointers... - implement (more or less) GenFormStrWithoutPlaceholders * documentation/wine.man.in: Lawson Whitney Protect the backslashes we mean to have show from groff. * dlls/comctl32/comctl32undoc.c: Marcus Meissner Fixed off by one error in DPA handling, added some warnings. * files/file.c: Dimitrie O. Paun Use debugging API instead of outputing to stderr directly. * dlls/ddraw/dsurface/main.c: Andreas Mohr Avoid division by zero. * dlls/comctl32/rebar.c: Marcus Meissner Pass up WM_DRAWITEM messages to parent. 2000-11-02 Alexandre Julliard * dlls/shell32/shelllink.c, include/bitmaps/wine.xpm, tools/Makefile.in, tools/wineshelllink, wine.ini: Create Gnome/KDE desktop and menu entries from IShellLink interface. Based on the work of James Thomson and Dusan Lacko. * dlls/comctl32/treeview.c: Aric Stewart Treeview item sorting could mess up the visibleOrder of the items. * windows/win.c: Gerard Patel Marcus Meissner Move focus recalculation out of the window destroy recursion so we do not send WM_SETFOCUS to already destroyed windows. * controls/menu.c: Dmitry Timoshkov Do not invert "magic" bitmap menu items. * tools/find_debug_channels: Francois Gouget Make sure to carefully quote file names. * dlls/comctl32/toolbar.c: Marcus Meissner Swap CalcToolbar and paint rectangle computation to the correct order. * programs/wcmd/ChangeLog, programs/wcmd/Makefile.in, programs/wcmd/wcmdmain.c: Dave Pickles Pause command interpreter while executing a console-mode app. 2000-11-01 Alexandre Julliard * files/directory.c: Fixed SearchPath to handle a ';'-separated path as first argument. * dlls/ntdll/nt.c: Andreas Mohr Changed NtQueryInformationToken() to fill out a valid TOKEN_GROUP with admin privileges. * windows/cursoricon.c: Marcus Meissner DrawIconEx: when flags=0 use flags=DI_NORMAL instead. * dlls/shell32/shell32.spec, dlls/shell32/shellord.c: Juergen Schmied Export SHGetSettings by name. New stub for shell.68. * dlls/comctl32/rebar.c: Marcus Meissner Have Internet Explorer 3 show its toolbars by passing RB_GETBANDINFO to RB_GETBANDINFOA. * objects/metafile.c: Andreas Mohr Use GDISelectPalette16 instead of SelectPalette and GDIRealizePalette16 instead of RealizePalette in order to get rid of possible deadlocks. * relay32/snoop.c, scheduler/process.c, scheduler/timer.c, server/atom.c, server/mapping.c, server/request.c, server/thread.h, win32/console.c, windows/dialog.c, windows/x11drv/clipboard.c, dlls/kernel/time.c, dlls/kernel/win87em.c, dlls/msvideo/drawdib.c, dlls/oleaut32/variant.c, dlls/setupapi/setupx_main.c, dlls/shell32/shlmenu.c, dlls/shell32/shv_bg_cmenu.c, graphics/x11drv/xfont.c, loader/ne/segment.c, misc/cpu.c, misc/error.c, misc/options.c, misc/registry.c, msdos/devices.c, msdos/vga.c, msdos/vxd.c, objects/dib.c, controls/edit.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/tab.c, dlls/comctl32/treeview.c, dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/x11.c, dlls/ddraw/x11_private.h: Andreas Mohr Dimitrie O. Paun Patrik Stridvall Various warning fixes. * graphics/painting.c, graphics/path.c, include/path.h: Mark Dufour Make the functions Pie, Chord, RoundRect, AngleArc, PolyDraw and Ellipse work with an open path. * controls/menu.c: Dmitry Timoshkov Make bitmap menu items look like in windows when selected, i.e. inverted and hilited (in Win98 look). * controls/scroll.c: Francois Gouget Check for SB_CTL before displaying a caret. * dlls/kernel/format_msg.c: Do not truncate high word of message id. * include/commdlg.h, include/wine/obj_serviceprovider.h, include/wine/obj_shellbrowser.h, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filedlgbrowser.h: Juergen Schmied Better handling of custom templates and hooks. Bug fixes. * dlls/comctl32/toolbar.c: Marcus Meissner Removed unnecessary calls of TOOLBAR_CalcToolbar() (which would be recalculated due to InvalidateRect()->WM_PAINT anyway). * dlls/user/user32.spec: Patrik Stridvall Fixed issue found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/win32/advapi32.api, tools/winapi_check/win32/rpcrt4.api, tools/winapi_check/win32/ttydrv.api, tools/winapi_check/win32/user32.api, tools/winapi_check/win32/wininet.api, tools/winapi_check/win32/x11drv.api: Patrik Stridvall Minor API files update. * windows/x11drv/keyboard.c: Gabriel Garcia Added Latin American layout. * dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Lawson Whitney Stubs for UrlMkSetSessionOption, SHLWAPI_132, SHGetInverseCMAP. Redirected forward of shlwapi.54 to gdi32.CreateICW. 2000-10-31 Alexandre Julliard * dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/tab.c, dlls/comctl32/treeview.c: Francois Gouget Use PS_ALTERNATE rather than PS_DOT. Use Rectangle to draw focus rectangles. * objects/pen.c: Francois Gouget Allow pens with styles greater than PS_INSIDEFRAME to be created with CreatePenIndirect and ExtCreatePen. * graphics/x11drv/pen.c: Francois Gouget Use sizeof for maintainability. * dlls/comctl32/rebar.c: Guy L. Albertelli Ignore RBBS_BREAK style on first band. * graphics/x11drv/init.c: Francois Gouget Fixed a few device caps values. * misc/registry.c: David Elliott _nt_parse_nk() should not close keys that it does not open. * objects/gdiobj.c: Francois Gouget Set the thickness of stock pens to 0 so that they are not scaled. * dlls/comctl32/listview.c: Aric Stewart Fixed cancels editing of a listview label if the listview is scrolled. * windows/syscolor.c: Francois Gouget Fixed the value of some system colors. * dlls/comctl32/rebar.c: Hidenori Takeshima Fix for avoiding subtraction from unsigned zero. * dlls/wineps/rsrc.rc, dlls/wineps/wps_Sk.rc, dlls/winmm/winmm_Sk.rc, dlls/winmm/winmm_res.rc, documentation/i18n.sgml, programs/clock/Sk.rc, programs/clock/rsrc.rc, programs/notepad/Sk.rc, programs/notepad/rsrc.rc, programs/progman/Sk.rc, programs/progman/rsrc.rc, programs/winhelp/Sk.rc, programs/winhelp/rsrc.rc, windows/x11drv/keyboard.c, dlls/commdlg/cdlg_Sk.rc, dlls/shell32/shell32_Sk.rc, dlls/user/resources/user32_Sk.rc: Peter Ivanyi Added/upgraded Slovak messages, and Slovak and Czech keyboard layout. * controls/scroll.c: Francois Gouget Hide the caret only on the first WM_KEYDOWN. * dlls/dinput/dinput_main.c: Andreas Mohr Changed mouse UnAcquire to NOT unacquire it on multiple unacquires. Implemented DIPROP_AXISMODE for SysMouseAImpl_SetProperty. * dlls/comctl32/treeview.c: Susan Farley Under some conditions its necessary to explicitly show the scrollbars. * windows/dialog.c: Dmitry Timoshkov Display an ERR on errors while initializing USER. * dlls/kernel/time.c: Rein Klazes Return TIME_ZONE_ID_STANDARD in GetTimeZoneInformation(). * dlls/comctl32/comboex.c: Guy L. Albertelli Handle special case where itemID = -1 (special focus rect draw). * dlls/shell32/shres.rc: Andreas Mohr Fix insufficient rect width value in resource file. * win32/console.c: Guy L. Albertelli Need to get any outstanding input prior to returning number. * tools/wineinstall: Ove Kaaven Some bugfixes, another function for packaging, and some text reformatting from Eric Maryniak. * dlls/gdi/Makefile.in, dlls/x11drv/Makefile.in: Removed obsolete TOOLSUBDIRS dependency. * programs/winemine/Makefile.in, programs/winhelp/Makefile.in, programs/winver/Makefile.in, programs/avitools/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/uninstaller/Makefile.in, programs/view/Makefile.in, programs/wcmd/Makefile.in, dlls/odbc32/Makefile.in, dlls/odbc32/odbc32.spec, dlls/ole32/Makefile.in, dlls/oledlg/Makefile.in, dlls/oledlg/oledlg.spec, dlls/olesvr/Makefile.in, dlls/olesvr/olesvr32.spec, dlls/rasapi32/Makefile.in, dlls/rasapi32/rasapi32.spec, dlls/rpcrt4/Makefile.in, dlls/rpcrt4/rpcrt4.spec, dlls/user/Makefile.in, dlls/winsock/Makefile.in, libtest/Makefile.in, miscemu/wine.spec, programs/Makefile.in, debugger/Makefile.in, dlls/advapi32/Makefile.in, dlls/commdlg/Makefile.in, dlls/crtdll/Makefile.in, dlls/dciman32/Makefile.in, dlls/dciman32/dciman32.spec, dlls/kernel/Makefile.in, dlls/msnet32/Makefile.in, dlls/msnet32/msnet32.spec: Added import of ntdll. * tools/winebuild/Makefile.in, tools/wmc/Makefile.in, tools/wrc/Makefile.in, unicode/Makefile.in, .cvsignore, Make.rules.in, Makefile.in, dlls/Makedll.rules.in, dlls/Makefile.in, dlls/ntdll/.cvsignore, dlls/ntdll/Makefile.in, library/.cvsignore, library/Makefile.in, library/port.c, library/winestub.c, misc/Makefile.in, misc/port.c: Build ntdll as a real dll, including everything that was previously in libwine.so. Created a new (mostly empty) libwine.so in library/ subdir. 2000-10-29 Alexandre Julliard * debugger/msc.c: Uwe Bonnes DEBUG_ProcessDBGFile: use a stack variable for the extra_info. * relay32/snoop.c, dlls/msvideo/msvideo_main.c, dlls/richedit/charlist.h, dlls/winmm/wineoss/midi.c, if1632/snoop.c, if1632/thunk.c, loader/task.c: Dimitrie O. Paun Fixed a few compilation warnings * dlls/ntdll/signal_i386.c, dlls/oleaut32/safearray.c, dlls/winaspi/winescsi.h, server/handle.c: Joerg Mayer Move inline and static to the beginning of declarations. * dlls/comctl32/comboex.c: Uwe Bonnes COMBOEX_DrawItem: check return value of SendMessageA(...,CB_GETITEMDATA,...) * tools/wineconf: Lionel Ulmer Added a '-inifile' option to specify the location of the wine.ini file used in the building of the new wine.ini file. * debugger/msc.c: Juergen Schmied - enable loading of pdb files named in NB10 records of a dbg file - disable timestamp check for pdb files * win32/device.c: Marcus Meissner Quieten VxDCall_VMM output. * tools/wineinstall: Ove Kaaven wineinstall improvements, mostly for usage in package postinstall scripts. * if1632/builtin.c, if1632/relay.c, include/builtin16.h, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/relay.c, tools/winebuild/spec16.c: Patch flat cs of 16-bit entry points if current %cs is different from compiled value, and retrieve flat ds from a global variable. This should avoid problems with win4lin kernels. * scheduler/critsection.c, scheduler/thread.c, windows/clipboard.c, windows/winpos.c, dlls/advapi32/advapi32.spec, dlls/advapi32/registry.c, dlls/kernel/kernel32.spec, dlls/ntdll/critsection.c, dlls/ntdll/ntdll.spec, dlls/user/user32.spec, files/directory.c, include/ntddk.h, memory/registry.c: David Elliott Added basic working stubs of new Windows 2000 API functions. * include/local.h, memory/local.c: Removed unused LOCAL_LockSegptr. * graphics/x11drv/palette.c, objects/dc.c, objects/palette.c, windows/painting.c: Use GetStockObject() instead of the magic STOCK_* handles. * debugger/msc.c: Uwe Bonnes DEBUG_ProcessDBGFile: allocate MSC_DBG_INFO before writing to members of that structure. * dlls/shell32/shell32_main.c: Dave Pickles Implement SHGFI_EXETYPE function of SHGetFileInfo. * windows/winhelp.c: Marcus Meissner Report errors on WinHelp() failures. * dlls/comctl32/comboex.c: Guy L. Albertelli - improved trace information - implemented CB_SETITEMHEIGHT, WM_WINDOWPOSCHANGING, WM_MEASUREITEM, WM_DRAWITEM - changed CBEM_INSERTITEMA, CBEM_SETIMAGELIST, WM_CREATE, WM_DESTROY - above changes correct window rectangle, draws items, and creates control correctly. * dlls/comctl32/rebar.c: Guy L. Albertelli - correct processing of RBBS_BREAK style. - handle cases where cyChild was set to -1 by appl. - undocumented. - remove special code for Comboboxex problem (now solved). - fix some painting problems 2000-10-28 Alexandre Julliard * memory/global.c: Francois Gouget Return the correct value for dwTotalVirtual. Return a more plausible value for dwAvailVirtual. * misc/cpu.c: Francois Gouget Return a more plausible value for MinimumApplicationAddress. * tools/winebuild/main.c, server/context_i386.c: Federico Schwindt Fixes for OpenBSD. * dlls/ole32/itemmoniker.c: Marcus Meissner CreateItemMoniker may get NULL as szDelim, some cleanups. * dlls/ole32/storage32.c: Marcus Meissner Fixed OleLoadFromStream: Dereference ppvObj and get IPersistStream instead of accessing IUnknown. * dlls/wininet/Makefile.in, dlls/wininet/http.c, dlls/wininet/wininet.spec: Huw D M Davies Stub for HttpSendRequestExA. * controls/combo.c, dlls/commdlg/filedlg95.c: Andreas Mohr - set the item height not only for the listbox, but also for the text field - center text vertically - beautify comments * dlls/user/Makefile.in: Matthew Clarke Don't assume we are building in the source tree, but allow make to locate resources/display.rc and resources/mouse.rc via VPATH. 2000-10-26 Alexandre Julliard * debugger/winedbg.c, include/windef.h, include/wine/exception.h, relay32/builtin32.c, tools/winebuild/spec32.c, win32/except.c: Raise an exception when a stub entry point is called. * windows/keyboard.c, windows/struct32.c, windows/struct32.h: Removed unused STRUCT32_NCCALCSIZE functions. * windows/input.c, controls/menu.c: Dmitry Timoshkov Ask application to reinitialize its menu before processing an accelerator key. * dlls/shell32/shellpath.c: Martin Pilka "StartMenu" --> "Start Menu", "Startup" --> "StartUp". * dlls/ntdll/signal_i386.c: Fixed typo due to merge error. * dlls/oleaut32/typelib.c: Francois Jacques Updated the load process so that all typelibs (and not just the first one, as it used to) stored in a DLL can be loaded. * graphics/painting.c: Mark Dufour Implemented PolyDraw() and AngleArc(). 2000-10-26 Alexandre Julliard * ANNOUNCE, ChangeLog, include/version.h: Release 20001026. ---------------------------------------------------------------- 2000-10-26 Alexandre Julliard * debugger/winedbg.c, include/windef.h, include/wine/exception.h, relay32/builtin32.c, tools/winebuild/spec32.c, win32/except.c: Raise an exception when a stub entry point is called. * windows/keyboard.c, windows/struct32.c, windows/struct32.h: Removed unused STRUCT32_NCCALCSIZE functions. * windows/input.c, controls/menu.c: Dmitry Timoshkov Ask application to reinitialize its menu before processing an accelerator key. * dlls/shell32/shellpath.c: Martin Pilka "StartMenu" --> "Start Menu", "Startup" --> "StartUp". * dlls/ntdll/signal_i386.c: Fixed typo due to merge error. * dlls/oleaut32/typelib.c: Francois Jacques Updated the load process so that all typelibs (and not just the first one, as it used to) stored in a DLL can be loaded. * graphics/painting.c: Mark Dufour Implemented PolyDraw() and AngleArc(). 2000-10-25 Alexandre Julliard * windows/x11drv/keyboard.c: Dmitry Timoshkov Added an another special case handling for Shift+[NumPad]DEL. * debugger/Makefile.in, server/Makefile.in, tools/winebuild/Makefile.in, tools/wmc/Makefile.in, tools/wrc/Makefile.in: Kristoffer Gleditsch Added LDFLAGS to linking of wine-related binaries. * dlls/ttydrv/user.c, dlls/user/user_main.c, dlls/x11drv/x11drv.spec, include/user.h, include/x11drv.h, windows/input.c, windows/keyboard.c, windows/x11drv/keyboard.c, dlls/ttydrv/ttydrv.spec: Dmitry Timoshkov Replaced ToAscii by ToUnicode in the User driver interface. * dlls/ddraw/ddraw/x11.c: William Waghorn xf86vmode_setdisplaymode() wasn't properly saving the 'private' field of the XF86VidModeModeLine structure. * controls/scroll.c: Francois Methot Added support of blinking thumb as found in Windows scrollbar. * dlls/oleaut32/typelib.c: Francois Jacques Updated typelib loader. Typelib contents can be stored as multibyte strings. However, they are always returned to the application as BSTR, e.g. UNICODE strings. All strings are now stored as BSTR instead of ASCII strings. * include/module.h, loader/module.c, loader/pe_image.c: Andreas Mohr Free the Win16 dummy module and wm->deps. * graphics/x11drv/graphics.c: Mark Dufour X11DRV_DrawArc: swap the start and end points when drawing in clockwise direction. * objects/region.c: Aviad Pineles Avoid infinite loop in CreateRoundRectRgn(). * Make.rules.in, dlls/user/Makefile.in, dlls/user/display.spec, dlls/user/mouse.spec, dlls/user/resources/.cvsignore, dlls/user/resources/display.rc, dlls/user/resources/display.rc16, dlls/user/resources/mouse.rc, dlls/user/resources/mouse.rc16, if1632/builtin.c, tools/winebuild/Makefile.in, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/res16.c, tools/winebuild/res32.c, tools/winebuild/spec16.c, tools/winebuild/utils.c: Added support for loading .res files for 16-bit resources. * relay32/builtin32.c: Removed no longer used structure definition. * tools/wrc/writeres.c: 16-bit resource size must be scaled by alignment. * dlls/comctl32/tab.c: Chris Morgan Implement TCS_VERTICAL style. Fix tab borders to have shading that matches Windows. Center image and text in tabs. Size tabs to completely fill each row with multiline style. Fix positioning of tabs for TCS_BOTTOM style. Fix various drawing issues. * dlls/comctl32/treeview.c: Susan Farley - When inserting an item, do not invalidate the area above the new item. - The debug function that verifies the tree after each insertion should be disabled by default. * dlls/dsound/dsound_main.c: Andreas Mohr Reimplement patch by Marcus Meissner ('98) to "fix" problems with DSCAPS_EMULDRIVER flag for games like Quake 2 and Unreal Tournament. * dlls/winmm/wineoss/audio.c: Andreas Mohr Transform device open error TRACE()s into WARN(); better error msgs. * windows/winpos.c: Rein Klazes In SWP_DoNCCalcSize() when determining whether the client area has moved, use the client coordinates as they are: not relative to its window coordinates. * windows/sysparams.c: Andreas Mohr Added SPI_GETWINDOWSEXTENSION. * scheduler/process.c: Jeremy White Added support for a WINELOADER environment variable which allows the specification of a different binary loader. 2000-10-24 Alexandre Julliard * include/module.h, loader/pe_resource.c: Removed GetResDirEntryA/W. * dlls/shell32/iconcache.c, dlls/shell32/shell.c: Implement InternalExtractIcon by calling PrivateExtractIcons instead of duplicating all the code. * tools/wrc/Makefile.in, tools/wrc/genres.c, tools/wrc/utils.c, tools/wrc/utils.h, tools/wrc/writeres.c: Added codepage translation based on the language id (based on a patch by Junichi Kuchinishi ). * controls/menu.c: Aric Stewart Converted menu string handling to Unicode. * dlls/winsock/ws2_32.spec: Aric Stewart Added forward for WSAResetEvent. * dlls/winsock/socket.c: Rein Klazes Convert the value of level when setsockopt is called with WS_SO_DONTLINGER. * misc/options.c, server/request.c, dlls/dsound/dsound_main.c, dlls/odbc32/proxyodbc.c, dlls/wineps/init.c, if1632/thunk.c, loader/task.c: Patrik Stridvall Explicitly initialize structures. * objects/palette.c: Patrik Stridvall - Explicitly initialize structures. - Fixed strange code probably caused by a merge conflict. * dlls/winmm/wineoss/audio.c: Francois Jacques - All audio device handles are initialized to -1 and set to -1 when closed. - WINE_WM_HEADER event should *NOT* make the recording thread start. The thread should only start through waveInStart. The application calling waveInAddBuffer might not be in a state to provide another buffer in a period of time short enough to avoid buffer underrun in widRecorder thread. - widRecorder - improved robustness of widRecorder to avoid some data loss that occured when not reading one full fragment from the OSS audio driver. * dlls/ddraw/ddraw/x11.c: Patrik Stridvall Fixed some warnings. * include/cdrom.h: Patrik Stridvall Added some missing defines for non-Linux. * tools/winebuild/res32.c: David Elliott Fixed OFFSETOF macro definition for gcc 2.96. * dlls/advapi32/advapi32.spec, dlls/advapi32/crypt.c: James Hatheway Added stubs for CryptGenRandom(), CryptReleaseContext(). * controls/combo.c: Susan Farley Do not block CBN_EDITCHANGE for WM_PASTE or WM_CUT with the NOEDITNOTIFY flag, as these msgs can come directly from the app to the combo wndproc. * objects/enhmetafile.c: Dmitry Timoshkov Make EnumEnhMetaFile work. * dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c: Chris Morgan Implemented RpcStringFreeA and UuidToStringA. 2000-10-23 Alexandre Julliard * programs/uninstaller/.cvsignore, programs/uninstaller/Makefile.in, programs/uninstaller/uninstaller.spec, programs/view/.cvsignore, programs/view/Makefile.in, programs/view/view.spec, programs/wcmd/.cvsignore, programs/wcmd/Makefile.in, programs/wcmd/wcmd.spec, programs/winemine/.cvsignore, programs/winemine/Makefile.in, programs/winemine/winemine.spec, programs/winhelp/.cvsignore, programs/winhelp/Makefile.in, programs/winhelp/winhelp.spec, relay32/builtin32.c, tools/makedep.c, dlls/user/resources/.cvsignore, dlls/wineps/.cvsignore, dlls/wineps/Makefile.in, dlls/wineps/wineps.spec, dlls/winmm/.cvsignore, dlls/winmm/Makefile.in, dlls/winmm/winmm.spec, if1632/Makefile.in, libtest/.cvsignore, libtest/Makefile.in, libtest/hello3.spec, programs/avitools/Makefile.in, programs/clock/.cvsignore, programs/clock/Makefile.in, programs/clock/clock.spec, programs/cmdlgtst/.cvsignore, programs/cmdlgtst/Makefile.in, programs/cmdlgtst/cmdlgtst.spec, programs/notepad/.cvsignore, programs/notepad/Makefile.in, programs/notepad/notepad.spec, programs/progman/.cvsignore, programs/progman/Makefile.in, programs/progman/progman.spec, Make.rules.in, dlls/comctl32/.cvsignore, dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.spec, dlls/commdlg/.cvsignore, dlls/commdlg/Makefile.in, dlls/commdlg/comdlg32.spec, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/kernel32.spec, dlls/msacm/.cvsignore, dlls/msacm/msacm32.spec, dlls/serialui/.cvsignore, dlls/serialui/serialui.spec, dlls/shell32/.cvsignore, dlls/shell32/Makefile.in, dlls/shell32/shell32.spec, dlls/user/Makefile.in, dlls/user/display.spec, dlls/user/mouse.spec, dlls/user/user32.spec: Build Win32 resources as .res files and dump them into the .spec.c file. * tools/winebuild/Makefile.in, tools/winebuild/build.h, tools/winebuild/parser.c, tools/winebuild/res32.c, tools/winebuild/spec32.c, tools/winebuild/utils.c: Added support for loading Win32 .res files. * configure, configure.in, dlls/user/disp.rc, dlls/user/mouserc.rc, dlls/user/resources/TODO, dlls/user/resources/display.rc16, dlls/user/resources/mouse.rc16, dlls/user/resources/user32.rc, dlls/user/resources/user32_Ca.rc, dlls/user/resources/user32_Cs.rc, dlls/user/resources/user32_Da.rc, dlls/user/resources/user32_De.rc, dlls/user/resources/user32_En.rc, dlls/user/resources/user32_Eo.rc, dlls/user/resources/user32_Es.rc, dlls/user/resources/user32_Fi.rc, dlls/user/resources/user32_Fr.rc, dlls/user/resources/user32_Hu.rc, dlls/user/resources/user32_It.rc, dlls/user/resources/user32_Ja.rc, dlls/user/resources/user32_Ko.rc, dlls/user/resources/user32_Nl.rc, dlls/user/resources/user32_No.rc, dlls/user/resources/user32_Pl.rc, dlls/user/resources/user32_Pt.rc, dlls/user/resources/user32_Ru.rc, dlls/user/resources/user32_Sk.rc, dlls/user/resources/user32_Sv.rc, dlls/user/resources/user32_Wa.rc: Moved all USER resources to new dlls/user/resources directory. * include/wine/winuser16.h, include/winver.h, dlls/version/info.c, dlls/version/resource.c, dlls/version/ver.spec, dlls/version/ver16.c: Duplicate resource directory searching routines instead of calling pe_resource.c internal functions. Made GetFileResource16 and GetFileResourceSize16 callable directly instead of defining extra internal functions. * dlls/user/exticon.c: Duplicate resource directory searching routines instead of calling pe_resource.c internal functions. * tools/wrc/writeres.c: Fixed duplication of typename in 16-bit assembly output. * memory/heap.c: Fixed multibyte handling in HEAP_strdupAtoW. * dlls/winmm/mcicda/mcicda.c, include/cdrom.h, misc/cdrom.c, msdos/int2f.c: Andreas Mohr Always open/close the CD-ROM device for every Windows API CD-ROM access. * controls/edit.c: Ulrich Weigand Do not send EN_UPDATE to multi-line edit controls. * controls/menu.c: Francois Gouget Fixed the text color of higlighted menu bar item for the Win98 look. Clicking on a separator should not close the menu. Do not right align 'bitmap' items and the help menu for the Win9x look and feels. * files/dos_fs.c: Marcus Meissner If we have a drive pointing to /, we must not remove the final / or we get the current directory doubled. * dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/x11.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/x11_private.h, include/ddraw.h: Marcus Meissner Added some basic IDirectDraw7 interface support, fixed argument count of IDirectDraw{4,7}_SetDisplayMode defines. * windows/winpos.c: Louis Philippe Gagnon - Calculate changes in the client area relative to the window instead of its parent when using SWP_EX_PAINTSELF. - With SWP_EX_PAINTSELF, copy only if client area changed, since a window can't move relative to itself. - In SWP_DoNCCalcSize, when determining if the client area changed, use values relative to the window itself, not its parent. * objects/region.c, windows/painting.c, windows/scroll.c: Ulrich Weigand Fixed painting problems in non-MM_TEXT modes. 2000-10-22 Alexandre Julliard * files/dos_fs.c, msdos/dosconf.c, server/registry.c, tools/winebuild/main.c, tools/winebuild/spec32.c, windows/x11drv/keyboard.c: Joerg Mayer Reduce the number of warnings about missing initializers. * dlls/commdlg/cdlg32.c: Marcus Meissner Got rid of misleading "No Tls Space" error message. * include/wingdi.h: Patrik Stridvall Fixed issue found by winapi_check. * dlls/dinput/dinput_main.c: Patrik Stridvall Fixed some warnings. * include/process.h: Patrik Stridvall Use intermediate typedef. * tools/winapi_check/modules.dat, tools/winapi_check/win16/ole2disp.api, tools/winapi_check/win16/typelib.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/msacm32.api, tools/winapi_check/win32/oleaut32.api, tools/winapi_check/win32/user32.api: Patrik Stridvall Minor API files update. * windows/defwnd.c, windows/message.c, windows/spy.c, include/spy.h: Guy L. Albertelli Added wParam and lParam as parameters in SPY_ExitMessage Added dump for the STYLECHANG[ING|ED] messages. Dump structures on exit only if message allows changes. * win32/except.c: Andreas Mohr - Print CS reg at crash MessageBox (needed for Win16 programs). - Add "hint" for debugger setup. * debugger/Makefile.in, debugger/winedbg.spec: Eric Pouech Added advapi32 to imported DLLs list. * dlls/msacm/pcmconverter.c: Eric Pouech Added more conversion routines (rate conversion is implemented). Cleaned up the code. * debugger/msc.c: Ulrich Weigand PDB symbol header format depends only on version code. * dlls/comctl32/listview.c: Marcus Meissner Do not set the iSubItem part of the struct for LVM_HITTEST, applications only need to pass memory space up to iItem. * README: Andreas Mohr Mention that you need the X11 devel files. * dlls/ddraw/main.c: Marcus Meissner DirectDrawCreateEx() should already return the interface for the passed refiid. * dlls/ddraw/ddraw/dga2.c: Lionel Ulmer Change the width / height parameter on a SetDisplayMode. * dlls/commdlg/filedlg.c: Gerard Patel Fixed bug when changing drives in 16 bit style dialog for a 32 bit app + miscellaneous fixes. * dlls/user/exticon.c: Marcus Meissner Added two checks for out of range pointer accesses. * debugger/types.c: Eric Pouech Fixed floating point data printing and made basic types reading more robust. * dlls/comctl32/imagelist.c: Jason Mawdsley Fixed some flickering that was occurring in the image list control when it repainted. * dlls/winmm/wineoss/audio.c: Andreas Mohr Added sleep time calculation for the wodPlayer thread. Changed the wodPlayer thread messaging to use its own fast 30 entries ring buffer list. * include/winbase.h: Andreas Mohr Removed redundant thread priority defines. 2000-10-19 Alexandre Julliard * include/process.h: Peter Hunnisett Added crt/msvcrt thread prototypes. * dlls/winmm/mciwave/mciwave.c: Francois Jacques Added asynchronous recording in MCI layer. * include/winuser.h: Dmitry Timoshkov Added support for AZERTY keyboard layout. * dlls/winmm/wineoss/midi.c: Andreas Mohr Sequencer error message fix. * dlls/comctl32/listview.c: James Hatheway Fix messages sent when right-clicking in a blank (non-item) area of a listview. * loader/pe_image.c: Uwe Bonnes Pass the correct hFile to PE_CreateModule. * dlls/comctl32/header.c: Uwe Bonnes Draw text and icons, implement ordering functions, allow reordering with mouse and fix the WM_NOTIFY target. * windows/x11drv/keyboard.c: Dmitry Timoshkov Added support for AZERTY keyboard layout. * programs/progman/group.c, programs/progman/grpfile.c, programs/progman/progman.h, programs/progman/program.c: Changed GROUP to PROGGROUP. * files/dos_fs.c, files/file.c, include/winnt.h: Andreas Mohr Skip directory symlinks in DOSFS_FindNextEx. * dlls/wineps/escape.c: Brian Pirie Added support for PASSTHROUGH and POSTSCRIPT_PASSTHROUGH escapes. * include/wine/obj_base.h, include/objbase.h, include/oleauto.h, include/olectl.h, include/wininet.h: Francois Gouget Added/fixed missing extern "C". * console/interface.c: Francois Gouget Fixed a char/NULL comparison. * include/winerror.h: Francois Gouget Added the {HRESULT,SCODE}_SEVERITY macros. * dlls/user/exticon.c, dlls/version/resource.c, include/module.h, loader/pe_resource.c, dlls/shell32/shell.c: Use a binary search to find entries in resource directories. Fixed GetResDirEntryA/W prototypes. * dlls/shell32/iconcache.c, include/winuser.h: Call PrivateExtractIcon in user32 instead of duplicating the code. * dlls/winmm/wineoss/audio.c: Francois Jacques Should test unixdev against -1 (see wodOpen/widOpen). widRecorder: bytesRead is now tested against (DWORD) -1. * loader/elfdll.c: Andreas Mohr Back out my ELFDLL_dlopen patch and add a warning for future misguided hackers. * memory/global.c: Ulrich Weigand Allow freeing locked global memory handles. * windows/mdi.c: Ulrich Weigand Watch out for DefMDIChildProc calls on non-MDI-child windows. * graphics/x11drv/oembitmap.c: Ulrich Weigand Don't hold the X11 lock while calling GDI object routines. * dlls/x11drv/x11drv_main.c: Lionel Ulmer Do not do any GLX calls on a display that does not support GLX. * dlls/comctl32/listview.c: Chris Morgan Recalculate nItemHeight when LVS_SETIMAGELIST is called. Fixes icons being chopped off in the file dialog window. Align items to top and refresh after sorting, as windows does. * dlls/oleaut32/ole2disp.c, dlls/oleaut32/ole2disp.spec, dlls/oleaut32/oleaut32.spec: Chris Morgan Stub CreateDispTypeInfo, CreateStdDispatch16 and CreateStdDispatch. * dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplay.c, dlls/dplayx/dplay_global.h, dlls/dplayx/dplaysp.c, dlls/dplayx/dplayx_messages.c, dlls/dplayx/dplayx_messages.h, dlls/dplayx/dplobby.c: Peter Hunnisett - Add proper message reply mechanism and sp player data storage - More implementation and fixes * include/poppack.h, include/pshpack1.h, include/pshpack2.h, include/pshpack4.h, include/pshpack8.h: Francois Gouget Added support for three levels of nesting of the 'pragma pack' directives. 2000-10-17 Alexandre Julliard * msdos/int20.c, msdos/int21.c, include/dosexe.h, include/task.h, loader/dos/module.c: Ove Kaaven Implemented DOS INT21 AH=4B (EXEC). * windows/x11drv/keyboard.c, include/winuser.h: Dmitry Timoshkov Added support for keyboard input in various locales. * dlls/comctl32/listview.c: Chris Morgan Implement LVM_SETITEMPOSITION32. * dlls/comctl32/treeview.c: Uwe Bonnes Remember owner HWND when creating and use this hwnd for the WM_NOTIFY message target. * include/commctrl.h: Guy L. Albertelli Added flag and notification definitions for ComboBoxEx. * dlls/kernel/kernel.spec, dlls/kernel/kernel_main.c: Andreas Mohr Implemented old Win 2.x string functions. * dlls/ddraw/ddraw/x11.c: Lionel Ulmer Warning fix. * server/ptrace.c: Gerald Pfeifer Add appropriate casts to caddr_t for the third parameter of ptrace(). 2000-10-15 Alexandre Julliard * loader/dos/dosvm.c: Ove Kaaven Fixed a couple of recent bugs, and added some more safeguards (could be handy for portability anyway) and trace statements. * server/process.c, server/registry.c, server/serial.c, server/trace.c, tools/make_requests, scheduler/process.c, misc/registry.c, memory/registry.c, include/server.h, dlls/kernel/comm.c, files/dos_fs.c, dlls/advapi32/registry.c: Converted a few more server requests to the new mechanism. * dlls/ntdll/misc.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/reg.c, include/ntddk.h: Fixed a few prototypes. * include/miscemu.h, msdos/dosmem.c, dlls/kernel/kernel_main.c: Set selector 0000H base to 0xf0000 until the first 64K are unprotected. * dlls/shell32/shellord.c, dlls/shell32/shlfileop.c: Eric Pouech Fixed ShellMessageBox[AW] buffers usage (in some cases, wrong buffers were used ; destination buffer doesn't have a fixed size). Fixed FormatMessage parameter warnings (it's now a va_list*). * dlls/ddraw/ddraw/dga.c: Gerald Pfeifer Remove unused variable orig_mode. * dlls/comctl32/updown.c: Uwe Bonnes Draw the scrollbar beside the buddy when neither UDS_ALIGN[RIGHT|LEFT] is given. * dlls/comctl32/datetime.c: Uwe Bonnes Localization and expect leapdays when looking for the length of a month. * dlls/comctl32/monthcal.c: Uwe Bonnes Localization and many changes to behaviour and outlook. * dlls/comctl32/comctl_De.rc, dlls/comctl32/comctl_En.rc, dlls/comctl32/rsrc.rc: Uwe Bonnes Split out resources that might be localized. Added German resources. * dlls/comctl32/comctl32.h: Uwe Bonnes Added additional resource IDs. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Marcus Meissner Stubbed LookupAccountNameA. * dlls/ddraw/main.c: Marcus Meissner Return "default" DirectDraw driver if we have at least one driver registered. * windows/nonclient.c: Dmitry Timoshkov Fixed behaviour of window's system buttons. * dlls/user/resource.c: Rein Klazes LoadStringA inserts terminating null in the buffer when the string resource is an empty string or when it can not be found. 2000-10-13 Alexandre Julliard * graphics/x11drv/oembitmap.c, include/bitmaps/ocr_hand, include/winuser.h: Chris Morgan Implemented the IDC_HAND cursor. * dlls/kernel/format_msg.c, include/winbase.h: Francois Gouget Fixed the signature of the FormatMessage APIs. * include/Makefile.in, include/mcx.h, include/winbase.h: Francois Gouget The MODEM stuff has been spun off to its rightful place: mcx.h. * include/winnt.h, include/winsock.h, include/windows.h: Francois Gouget Completed/corrected the list of include files. Handle WIN32_LEAN_AND_MEAN and the NOxxx macros. * include/wingdi.h: Francois Gouget Added a NOGDI protection. Replaced _MAX_PATH with MAX_PATH. #undef can be used directly on TRANSPARENT. * include/ole2.h: Francois Gouget Must include objbase.h. * dlls/odbc32/proxyodbc.c, include/windef.h, dlls/kernel/comm.c: Francois Gouget HFILE is an int, not a regular HANDLE. * include/winuser.h: Andreas Mohr Added MSGF_DDEMGR. * dlls/ddraw/ddraw/x11.c: Gerald Pfeifer Fixed incorrect format string. * programs/winhelp/winhelp.c, programs/winhelp/winhelp.h: Chris Morgan Added changing mouse cursor when over a help topic link. * dlls/dinput/dinput.spec, dlls/dinput/dinput_main.c: Marcus Meissner Implemented DirectInputCreateEx. * dlls/comctl32/treeview.c: Louis Philippe Gagnon Do not send a WM_CONTEXTMENU message when a TreeView receives a WM_RBUTTONUP. * if1632/findfunc, tools/findfunc: Lawson Whitney Make findfunc look for .spec files, and put it with the other tools. * memory/virtual.c: Guy Albertelli Validate access even if wrap past address 0 for IsBadStringPtr[A|W] and IsBad[Read|Write]Ptr. * dlls/comctl32/commctrl.c, dlls/comctl32/imagelist.c, dlls/comctl32/listview.c, dlls/shell32/shell32_main.c, dlls/shell32/shlfolder.c, dlls/winmm/wineoss/audio.c, loader/loadorder.c, memory/registry.c: Andreas Mohr - stupid spelling fixes - some more loadorder array work * dlls/ole32/stg_stream.c, files/drive.c, files/file.c, include/ntddk.h, dlls/kernel/time.c, dlls/ntdll/large_int.c, dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec: Added a few more large integer functions. * dlls/gdi/gdi32.spec, objects/dc.c: Marcus Meissner Stubbed GetDeviceGammaRamp. * msdos/int21.c: Peter Hawkins Added DOS int 21h function 4452h support (DR-DOS version check). * graphics/x11drv/dib.c: Ove Kaaven Fill in the dsBmih.biSizeImage field of DIBSections with the calculated bitmap size. * dlls/winmm/wineoss/midi.c: Chris Morgan Indicate that the MIDI error message only affects programs that need MIDI. * memory/heap.c: Andreas Mohr Get rid of shared heap fixme messages. Slightly corrected my heap commit patch (Xilinx). * loader/dos/dosvm.c: Ove Kaaven Merged DOSVM_Int with DOSVM_SimulateInt, and made it handle apps that purposefully shuffle the interrupt vectors around. * dlls/comctl32/treeview.c: Susan Farley To improve custom-drawn items, add focus border to itemRects and do not overlap them. * dlls/kernel/Makefile.in, dlls/kernel/comm.c, dlls/kernel/kernel_main.c, files/dos_fs.c, include/comm.h, include/msdos.h, misc/Makefile.in, misc/comm.c, msdos/int11.c: Mike McCormack Moved comm.c into kernel32. * include/windef.h: Francois Gouget Claim that our headers conform to the version 5.0. * include/prsht.h: Francois Gouget The string fields in PROPSHEETPAGEA should be ANSI strings. * include/olectl.h: Francois Gouget Removed the DUMMY_UNION_NAME in favor of DUMMYUNIONNAME. * include/commctrl.h: Francois Gouget Added the missing TVINSERTSTRUCT synonyms. Added missing CBEIF_xxx definitions. * dlls/oleaut32/ole2disp.c, include/oleauto.h: Francois Gouget Fixed the signature of SysAllocStringByteLen. * dlls/comctl32/status.c, include/win.h, include/winuser.h, windows/nonclient.c, windows/win.c, windows/winpos.c, windows/x11drv/event.c, windows/x11drv/wnd.c: Susan Farley Status bars on managed windows should not have SIZEGRIP style. * dlls/ntdll/reg.c: Uwe Bonnes Make reg the default output chanel. * dlls/winsock/socket.c: Rein Klazes Ignore setsockopt calls that make the size of the receive buffer too small. * dlls/comctl32/listview.c: Stephane Lussier Subitems of listviews were not painted with the right background when: -LVS_EX_FULLROWSELECT style is defined -item is selected -Listview doesn't have the focus. * server/sock.c: Stephane Lussier After accept is called on the socket, the listening socket needs to be reselected. * memory/registry.c: Marcus Meissner Check for buffer overflows on data returns from RegQueryValueExA. * include/wine/unicode.h: Konrad Rieck Changed repne to repnz for Solaris assembler. 2000-10-12 Alexandre Julliard * include/winbase.h, include/windef.h, include/wine/winbase16.h, include/winnls.h, include/winnt.h: Francois Gouget Moved LCTYPE, GetLocaleInfo, NUMBERFMT, CURRENCYFMT and the related API to winnls.h. Moved LANG_xxx, SUBLANG_xxx, SORT_xxx and IS_TEXT_UNICODE_xxx to winnt.h. * dlls/user/resource.c, include/winuser.h, windows/cursoricon.c, windows/winhelp.c: Francois Gouget Added many missing *Pxxx types. Removed a few *LPxxx types that are not supposed to be there (in particular LPICONINFO). Added a few missing *LPCxxx types (MENUITEMINFO, SCROLLINFO, DLGITEMTEMPLATE). WINHELP and PE_ACCEL are internal types. MULTIKEYHELP and HELPWININFO both have an A and W variant. NUMBERFMT, CURRENCYFMT and the related API belong to winnls.h. Added missing ARW_xxx defines (for sysmetrics). * include/wtypes.h: Francois Gouget ROTFLAGS have their own ifdef protection, take them out of the _SECURITY_DEFINED ifdef block. * include/wingdi.h: Francois Gouget Added a declaration for GetEnhMetaFileDescription. * winedefault.reg: Andreas Mohr Added Fonts registry key. * win32/except.c: Eric Pouech Fixed regression for debugger startup event creation. * dlls/comctl32/toolbar.c: Chris Morgan Fix depressed state with flat toolbars so pressing the buttons draws the button in a depressed state. Fix bitmap offsets, fixes bitmap offset problems in file common dialog. * dlls/comctl32/treeview.c: Susan Farley On InsertItem with TVI_FIRST, the check for resetting firstVisible must be done *before* the parent's firstChild changes. * dlls/ddraw/dsurface/x11.c: Lionel Ulmer Support non-buffered overlays. * dlls/comctl32/rebar.c: Guy L. Albertelli Rewrite to support rows of bands. Draw separators between bands in rows and between rows. Support text and background color and color propagation. Improve layout code. Make fMask in internal structure the indicator of valid information. Fix size of grippers. Add debugging traces for future. * dlls/comctl32/header.c: Serge Ivanov Simple NULL check. * dlls/comctl32/listview.c: Stephane Lussier - Background should not be drawn if the background color is CLR_NONE. - Don't change the size to 0 for the header control of listview with LVS_NOCOLUMNHEADER style. In fact just setting HDS_HIDDEN to the header control is enough. * dlls/ddraw/ddraw_private.h, dlls/ddraw/convert.c: Marcus Meissner Added 16 (565) -> 15 (555) bit depth converter. * graphics/x11drv/codepage.c: Hidenori Takeshima Added support for cp936. * relay32/relay386.c: Work-around for gcc bug. * dlls/ddraw/ddraw/x11.c: Lionel Ulmer Implememnted GetFourCCCodes. * dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/x11.c, dlls/ddraw/dga_private.h, dlls/ddraw/x11_private.h: Marcus Meissner Enable XF86vmode switching possible for X11 too. * dlls/msacm/Makefile.in, dlls/msacm/driver.c, dlls/msacm/format.c, dlls/msacm/internal.c, dlls/msacm/msacm32.spec, dlls/msacm/pcmconverter.c, dlls/msacm/wineacm.h: Eric Pouech Added PCM converter internal driver. A few driver handling fixes. * configure, configure.in: Lionel Ulmer Fixed the OpenGL detection code. * debugger/stabs.c: Juergen Schmied Fixed loading of symbols from libraries. * win32/file.c: Rein Klazes Prevent SetFileAttributeA from making directory read-only. * include/windef.h, include/wine/obj_base.h: Francois Gouget Enable anonymous struct/union support by default in both C and C++. Disable them for compilers known not to support them. Disable them for the WINE code. * include/dde.h, include/winuser.h: Francois Gouget Added four DDElParam functions. Now needs an 'extern "C"' protection for C++. * dlls/user/ddeml.c: Francois Gouget Fix the parameter types and comments of the DDElParam functions. * include/winbase.h, include/wininet.h: Francois Gouget Removed stray A/W from invocations of WINELIB_NAME_AW. * msdos/int11.c: Mike McCormack Removed dependency on globals LPT[] and COM{}. * dlls/oleaut32/oleaut32.spec, include/oleauto.h: Francois Gouget Added some of the APIs introduced in Win98, mostly the VarXxx maths APIs. * msdos/vga.c: Andreas Mohr Replace null bytes by spaces in WriteConsoleOutputA call. * dlls/winmm/mcicda/mcicda.c: Andreas Mohr MCICDA didn't open/close the door when calling the command without valid parameter block (i.e. == NULL). * dlls/ole32/ole2.c, dlls/ole32/ole2stubs.c: Stephane Lussier Implementation of OleLockRunning function. * dlls/comctl32/listview.c: Aric Stewart Corrected some segvs that occur with ownerdata listviews. * objects/region.c: Marcus Meissner Return values are reversed in failure/rgdata == NULL case in GetRegionData (was merge error by me). * win32/except.c, winedefault.reg: Andreas Mohr Changed debugger launching to auto per default. * dlls/kernel/nls/dan.nls: Niels Kristian Bech Jensen Define LOCALE_IDEFAULTMACCODEPAGE for Danish locale. * dlls/winmm/wineoss/audio.c: Marcus Meissner Suppress junk noise at startup of DirectSound on SB Live! and ES 1371. 2000-10-03 Alexandre Julliard * include/drive.h, scheduler/process.c, files/drive.c: Use special environment variables to transmit the cwd of the various drives to child processes (based on a patch by Andreas Mohr). * include/msacm.h, include/tchar.h, include/wininet.h: Francois Gouget Removed the ';' ending on lines using the DECL_WINELIB_TYPE_AW and WINELIB_NAME_AW macros. * include/oleauto.h: Francois Gouget Added some missing 'SysAllocString' prototypes. Added some missing 'TypeLib' prototypes. * dlls/oleaut32/typelib.c: Francois Gouget Fixed some prototypes. * include/bitmaps/ocr_ibeam: Aric Stewart Added a white border around the I-beam cursor. 2000-10-02 Alexandre Julliard * memory/global.c: Lawson Whitney Protect GlobalHandle() against bad parameters. * debugger/stack.c: Fixed backtrace for apps that never called down to 16-bit code. n * loader/task.c: Andreas Mohr Make sure that we skip tasks with missing hInstance. * memory/global.c: Andreas Mohr Introduced a new arena flag called GA_DOSMEM to distinguish between DOSMEM and normal "windows" global mem. * dlls/winmm/mmio.c: Francois Jacques Bug fixes in mmio, related to buffering in record mode. 2000-10-02 Alexandre Julliard * ChangeLog, include/version.h, ANNOUNCE: Release 20001002. ---------------------------------------------------------------- 2000-10-02 Alexandre Julliard * memory/global.c: Lawson Whitney Protect GlobalHandle() against bad parameters. * debugger/stack.c: Fixed backtrace for apps that never called down to 16-bit code. * loader/task.c: Andreas Mohr Make sure that we skip tasks with missing hInstance. * memory/global.c: Andreas Mohr Introduced a new arena flag called GA_DOSMEM to distinguish between DOSMEM and normal "windows" global mem. * dlls/winmm/mmio.c: Francois Jacques Bug fixes in mmio, related to buffering in record mode. * server/registry.c, server/request.h, server/trace.c, memory/registry.c, include/ntddk.h, include/server.h, dlls/ntdll/reg.c, dlls/advapi32/registry.c: Convert NtQueryKey and NtEnumerateKey to the new request mechanism. Fixed a few bugs. * dlls/kernel/kernel32.spec: Forward all large integer functions to ntdll. * ole/ole2nls.c: Uwe Bonnes GetDateFormatA: Check range and recalculate wDayOfWeek. OLE_GetFormatA|W: Fix transformation of wDayOfWeek to LOCALE_S(ABBREV)DAYNAMEx. * include/wnaspi32.h, dlls/kernel/time.c, dlls/winaspi/winaspi32.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/shell32.api, tools/winapi_check/win32/shlwapi.api, tools/winapi_check/win32/wnaspi32.api, tools/winapi_check/win16/mmsystem.api, tools/winapi_check/win16/setupx.api, tools/winapi_check/win16/user.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/modules.dat: Patrik Stridvall - Support for stdcall64 - Minor API updates. * loader/loadorder.c: Andreas Mohr Beautified the loadorder array (group DLLs according to functionality, add group header comments, ...), added builtin x11drv and winaspi. * dlls/msacm/internal.c: James Hatheway Silence unneeded exception to allow easier ACM debugging. 2000-10-01 Alexandre Julliard * include/server.h, memory/registry.c, server/registry.c, server/request.h, server/trace.c, tools/make_requests, dlls/advapi32/registry.c, dlls/ntdll/reg.c: Converted some of the registry server requests to the new request mechanism. * win32/time.c, dlls/ntdll/Makefile.in, dlls/ntdll/large_int.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, dlls/ntdll/time.c, include/ntddk.h, include/winnt.h, scheduler/timer.c, dlls/kernel/time.c: Implemented a bunch of large integer functions in ntdll. * tools/winebuild/build.h, tools/winebuild/parser.c, tools/winebuild/spec32.c, relay32/relay386.c: Added stdcall64 entry point type to allow correct relay debugging support for functions that return 64-bit values. 2000-09-29 Alexandre Julliard * memory/heap.c: Andreas Mohr Make sure we commit enough memory in a new subheap. * dlls/winspool/winspool.drv.spec, dlls/winspool/info.c: Stefan Leichter - moved some code from WINSPOOL_GetPrinterDriver into new function WINSPOOL_GetDriverInfoFromReg - bug fix in function GetPrinterDirectoryW: free local variable not the one from function interface - implemented EnumPrinterDriversA|W * files/profile.c: Andreas Mohr Fixed the default value handling (trailing spaces of the default value are clipped). section == NULL, key_name == NULL undoc. feature is only valid in Win32. * dlls/ntdll/sync.c, include/ntddk.h, loader/task.c, scheduler/Makefile.in, scheduler/critsection.c, scheduler/debugger.c, scheduler/event.c, scheduler/mutex.c, scheduler/semaphore.c, scheduler/syslevel.c, win32/Makefile.in, win32/except.c, win32/kernel32.c, win32/newfns.c, win32/process.c, win32/time.c, dlls/kernel/Makefile.in, dlls/kernel/debugger.c, dlls/kernel/sync.c, dlls/kernel/time.c: Moved a bunch of routines to kernel32.dll (with the help of Dimitrie O. Paun). * objects/palette.c: Andreas Mohr GDISelectPalette16 checked GetObjectType() return value for PALETTE_MAGIC instead of OBJ_PAL. * dlls/richedit/richedit.c, dlls/shlwapi/shlwapi_main.c, include/shlwapi.h, include/winbase.h, dlls/comctl32/commctrl.c: Francois Gouget Moved DLLVERSIONINFO to shlwapi.h. * dlls/shell32/shell.c: Andreas Mohr Let InternalExtractIcon16 load icons from builtin DLLs. * dlls/comctl32/toolbar.c: Francois Gouget Modified the bitmap centering algorithm to take the button's border into account. * windows/timer.c, include/message.h, windows/message.c: Stephane Lussier Before calling the timer window proc, make sure it is valid. * dlls/ntdll/nt.c, dlls/ntdll/rtl.c, dlls/ntdll/sec.c: Removed a few dependencies on kernel32 functions. * dlls/ntdll/ntdll.spec, include/ntddk.h, include/winbase.h, scheduler/critsection.c, dlls/kernel/kernel32.spec, dlls/ntdll/Makefile.in, dlls/ntdll/critsection.c: Moved critical section implementation to ntdll. * windows/x11drv/Makefile.in, win32/Makefile.in, windows/Makefile.in, scheduler/Makefile.in, tsx11/Makefile.in, relay32/Makefile.in, resources/Makefile.in, objects/Makefile.in, ole/Makefile.in, misc/Makefile.in, miscemu/Makefile.in, msdos/Makefile.in, loader/ne/Makefile.in, memory/Makefile.in, loader/Makefile.in, loader/dos/Makefile.in, graphics/x11drv/Makefile.in, if1632/Makefile.in, graphics/win16drv/Makefile.in, graphics/enhmetafiledrv/Makefile.in, graphics/metafiledrv/Makefile.in, files/Makefile.in, graphics/Makefile.in, console/Makefile.in, controls/Makefile.in, Make.rules.in: Moved $(MODULE).o rule out of Make.rules into the individual Makefiles. * dlls/shlwapi/shlwapi.spec, include/shlwapi.h, dlls/shlwapi/reg.c: Mike McCormack Implemented SHDeleteEmptyKeyA, SHDeleteKeyA. * objects/region.c: Sergei Ivanov Fixed return values of GetRegionData. * dlls/comctl32/toolbar.c: Susan Farley Call ReleaseCapture (which triggers WM_CAPTURECHANGED) after the WM_COMMAND for the button has been sent, rather than before. * dlls/winmm/winmm_res.rc: Francois Jacques Use waveaudio, not waveform. * dlls/ole32/compobj.c: Huw D M Davies Fix a couple of TRACE messages. * debugger/stabs.c: Gerald Pfeifer Added missing cast. * include/wine/mmsystem16.h, dlls/winmm/mmsystem.c: Francois Gouget Fix the return type of mixerMessage16. * include/winver.h: Francois Gouget Renamed VS_USER_INFO to VS_USER_DEFINED. 2000-09-27 Alexandre Julliard * include/builtin32.h, miscemu/.cvsignore, miscemu/Makefile.in, miscemu/main.c, miscemu/wine.spec, relay32/builtin32.c, tools/winebuild/Makefile.in, tools/winebuild/build.h, tools/winebuild/import.c, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/spec32.c, tools/winebuild/utils.c, Make.rules.in: Changed the Win32 dll descriptor to be in IMAGE_NT_HEADERS format. Generate the import table directly in PE format. Added gui/cuiexe_no_main modes in EXE spec files, and use this for the main wine binary. * dlls/msacm/Makefile.in, dlls/msacm/msacm32.spec, dlls/ole32/ole32.spec, dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec, dlls/shell32/shell32.spec, dlls/user/Makefile.in, dlls/user/user32.spec, dlls/winaspi/Makefile.in, dlls/winaspi/wnaspi32.spec, dlls/winsock/ws2_32.spec, dlls/Makefile.in, dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.spec, dlls/dplayx/Makefile.in, dlls/dplayx/dplayx.spec, dlls/gdi/Makefile.in, dlls/gdi/gdi32.spec: Added a few missing imports. * include/commctrl.h, include/commdlg.h, include/oleauto.h, include/winbase.h, include/winerror.h, include/wtypes.h: Francois Gouget Added various type and macro definitions that are needed to compile the latest MFC. * dlls/winmm/wineoss/midi.c: Eric Pouech Store a copy of MIDIOPENDESC information instead of pointer. * dlls/winmm/mmsystem.c: Eric Pouech Unlock win16 crst while thunking up to 32 bit dll. * dlls/wininet/internet.c: Gerald Pfeifer Include for prototype of select(). * server/sock.c: Stephane Lussier Socket returned by accept function of Microsoft API should keep the properties of the listening socket. This is also true for non-blocking property. * windows/winpos.c: Dmitry Timoshkov If window was not resized and not moved, repaint only itself excluding parent. * tools/winebuild/spec32.c, if1632/builtin.c, include/builtin32.h, relay32/relay386.c, relay32/snoop.c: Generate Win32 dll descriptor structure in the .spec.c file so that we don't need to depend on builtin32.h. * include/Makefile.in, include/mouse.h, include/zmouse.h: Jeremy White Created zmouse.h, moved wheel code from mouse.h into it. * dlls/winmm/mcicda/mcicda.c: James Abbatiello MCI_STATUS_LENGTH on Windows returns one frame less than the total track length for the last track on a CD. This also affects queries for the total length of the CD. * msdos/dosaspi.c, include/wine/winaspi.h, include/mmsystem.h, include/wnaspi32.h, dlls/winmm/mmsystem.c, dlls/winaspi/winaspi32.c: Fixed a few non portable zero-size array declarations. * files/drive.c: Marcus Meissner Have the UNIX cwd follow the current directory on the current drive. * windows/x11drv/event.c: Stephane Lussier On reception of a FocusOut event, don't deactivate the application if the next window to get the focus is a Wine window. 2000-09-26 Alexandre Julliard * documentation/status/directplay, dlls/dplayx/dplay.c, dlls/dplayx/dplaysp.c, dlls/dplayx/dplaysp.h, dlls/dplayx/dplayx.spec, 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/Makefile.in, dlls/dplayx/Makefile.in: Peter Hunnisett - Remove winmm hack in dplay code - Fix up some missing holes in the code - More message implementation - Status documentation update * Make.rules.in, Makefile.in: Marcus Meissner Migrate $LDFLAGS from configure to Makefile and into main wine executable. * relay32/builtin32.c: Andreas Mohr Display an ERR() in case of undefined symbols. * dlls/setupapi/Makefile.in, dlls/setupapi/infparse.c, dlls/setupapi/setupx.spec, dlls/setupapi/setupx16.h, dlls/setupapi/setupx_main.c: Andreas Mohr Started some basic work on the more or less undocumented SETUPX functions. * dlls/comctl32/toolbar.c: Susan Farley Support for TBSTYLE_EX_DRAWDDARROWS style; reset capture and button pressed flags on WM_CAPTURECHANGED. * objects/dc.c: Marcus Meissner WORD is unsigned, so we need to transalte 0xffff into -1. * windows/x11drv/event.c, win32/console.c, windows/dce.c, windows/defwnd.c, windows/mdi.c, windows/nonclient.c, windows/win.c, include/wine/winuser16.h, msdos/dosaspi.c, msdos/xms.c, ole/ole2nls.c, include/wine/exception.h, include/wine/keyboard16.h, include/wine/mmsystem16.h, include/wine/obj_base.h, include/wine/winaspi.h, include/wine/winbase16.h, include/wine/windef16.h, include/wine/wingdi16.h, include/wine/winnet16.h, include/wine/winsock16.h, include/winbase.h, include/wincon.h, include/windef.h, include/wingdi.h, include/winnls.h, include/winproc.h, include/winsock.h, include/winsock2.h, include/winuser.h, include/winver.h, include/wnaspi32.h, include/wownt32.h, include/wtypes.h, include/neexe.h, include/nonclient.h, include/ntsecapi.h, include/ole.h, include/ole2.h, include/oleauto.h, include/shellapi.h, include/task.h, include/thread.h, include/toolhelp.h, include/vfw.h, include/win.h, include/winaspi.h, include/aspi.h, include/basetsd.h, include/builtin16.h, include/cdrom.h, include/clipboard.h, include/commdlg.h, include/dce.h, include/ddeml.h, include/dinput.h, include/file.h, include/global.h, include/local.h, include/lzexpand.h, include/message.h, include/miscemu.h, include/mmddk.h, include/mmsystem.h, include/module.h, include/msacm.h, include/Makefile.in, if1632/snoop.c, dlls/winspool/info.c, files/file.c, dlls/winsock/socket.c, dlls/winmm/mmsystem.c, dlls/winmm/sound16.c, dlls/winmm/winemm.h, dlls/winaspi/aspi.h, dlls/winaspi/winaspi16.c, dlls/win32s/w32sys.c, dlls/version/ver16.c, dlls/user/ddeml.c, dlls/user/ddeml16.h, dlls/user/bidi16.c, dlls/shell32/pidl.h, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/setupapi/setupx_main.c, dlls/shell32/pidl.c, dlls/rpcrt4/rpcrt4_main.c, dlls/olecli/olecli_main.c, dlls/olesvr/olesvr_main.c, dlls/oleaut32/ole2disp.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h, dlls/ole32/compobj.c, dlls/ole32/ifs.c, dlls/ole32/ole2nls.c, dlls/msvideo/msvideo_main.c, dlls/msvideo/vfw16.h, dlls/msvideo/drawdib.c, dlls/msacm/msacm_main.c, dlls/msacm/msacmdrv.h, dlls/msacm/wineacm.h, dlls/kernel/utthunk.c, dlls/kernel/wowthunk.c, dlls/lzexpand/lzexpand_main.c, dlls/gdi/bidi16.c, dlls/gdi/printdrv.c, dlls/kernel/stress.c, dlls/dsound/dsound_main.c, dlls/commdlg/cdlg.h, dlls/commdlg/colordlg.c, dlls/comctl32/updown.c, dlls/comctl32/status.c, dlls/comctl32/treeview.c, dlls/comctl32/progress.c, controls/listbox.c, controls/menu.c, controls/scroll.c: Moved all Win16 definitions out of the standard Windows headers. * loader/pe_resource.c: Dmitry Timoshkov Avoid crashes if 16-bit module handle was passed to the 32-bit resource enumerator. * dlls/ddraw/ddraw/x11.c, dlls/ddraw/dsurface/x11.c, include/ddraw.h, dlls/ddraw/ddraw_private.h, dlls/ddraw/helper.c, dlls/ddraw/x11.c, dlls/ddraw/x11_private.h, wine.ini: Lionel Ulmer Added support for DirectDraw overlays using the XVideo extension. * graphics/x11drv/codepage.c: Hidenori Takeshima Code cleanup. Add checking for invalid DBCS trailer bytes. * include/commctrl.h: Marcus Meissner Fixed some commctl header issues reported in newsgroup. * dlls/win32s/w32skernel.c, include/Makefile.in, include/wine/w32skrnl.h, include/wine/winestring.h, resources/sysres_Wa.rc: A few includes cleanup. * programs/regapi/regapi.c, programs/winhelp/macro.c, programs/notepad/dialog.c, loader/main.c, include/wine/obj_oleundo.h, include/wine/obj_oleview.h, include/wine/obj_picture.h, include/wine/obj_property.h, include/wine/obj_propertystorage.h, include/wine/obj_queryassociations.h, include/wine/obj_shellbrowser.h, include/wine/obj_shellextinit.h, include/wine/obj_shellfolder.h, include/wine/obj_shelllink.h, include/wine/obj_shellview.h, include/wine/obj_storage.h, include/wine/undocshell.h, include/wine/obj_cache.h, include/wine/obj_channel.h, include/wine/obj_clientserver.h, include/wine/obj_commdlgbrowser.h, include/wine/obj_connection.h, include/wine/obj_contextmenu.h, include/wine/obj_control.h, include/wine/obj_dataobject.h, include/wine/obj_dockingwindowframe.h, include/wine/obj_dragdrop.h, include/wine/obj_enumidlist.h, include/wine/obj_errorinfo.h, include/wine/obj_extracticon.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_oleobj.h, dlls/shlwapi/shlwapi_main.c, dlls/shlwapi/string.c, include/dlgs.h, include/main.h, include/ocidl.h, include/ole2.h, include/oleauto.h, include/oleidl.h, include/shell.h, include/shlobj.h, include/shlwapi.h, include/windows.h, dlls/shlwapi/regstream.c, dlls/oleaut32/olefont.c, dlls/olepro32/olepro32stubs.c, dlls/shell32/classes.c, dlls/shell32/enumidlist.c, dlls/shell32/memorystream.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.h, dlls/shell32/shellfolder.h, dlls/shell32/shellguid.c, dlls/shell32/shelllink.c, dlls/shell32/shellstring.c, dlls/shell32/shlfileop.c, dlls/shell32/shlfolder.c, dlls/shell32/shlmenu.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/systray.c, dlls/ole32/ole2impl.c, dlls/ole32/ole2stubs.c, dlls/ole32/stg_bigblockfile.c, dlls/ole32/stg_stream.c, dlls/ole32/storage32.h, dlls/oleaut32/connpt.c, dlls/comctl32/imagelist.c, dlls/commdlg/cdlg.h, dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/compositemoniker.c, dlls/ole32/datacache.c, dlls/ole32/errorinfo.c, dlls/ole32/itemmoniker.c, dlls/ole32/moniker.c: Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-25 Alexandre Julliard * dlls/shell32/clipboard.c, dlls/shell32/shell.c, dlls/shell32/shellole.c, windows/x11drv/event.c: Use documented DROPFILES structure instead of internal DROPFILESTRUCT. * relay32/relay386.c, relay32/snoop.c, win32/device.c, windows/keyboard.c, windows/winproc.c, msdos/dpmi.c, msdos/int10.c, msdos/int13.c, msdos/int15.c, msdos/int21.c, msdos/int25.c, msdos/int26.c, msdos/int2f.c, msdos/int33.c, msdos/int5c.c, msdos/vxd.c, msdos/xms.c, loader/ne/module.c, loader/ne/segment.c, memory/instr.c, memory/selector.c, misc/error.c, misc/system.c, msdos/devices.c, msdos/dosaspi.c, include/miscemu.h, include/winnt.h, loader/dos/dosvm.c, loader/task.c, dlls/kernel/thunk.c, dlls/kernel/win87em.c, dlls/ntdll/rtl.c, dlls/user/mouse.c, if1632/relay.c, if1632/snoop.c, debugger/registers.c: Removed some of the XXX_reg macros now that we are using the standard CONTEXT86 structure everywhere. * windows/clipboard.c, windows/defwnd.c, windows/dialog.c, windows/input.c, windows/msgbox.c, windows/sysparams.c, windows/user.c, scheduler/mutex.c, scheduler/semaphore.c, scheduler/timer.c, win32/console.c, misc/comm.c, misc/cpu.c, misc/main.c, misc/version.c, ole/ole2nls.c, scheduler/event.c, loader/module.c, loader/ne/convert.c, loader/ne/resource.c, memory/atom.c, memory/environ.c, memory/registry.c, memory/virtual.c, misc/cdrom.c, files/dos_fs.c, files/profile.c, graphics/metafiledrv/text.c, graphics/win16drv/font.c, graphics/win16drv/text.c, include/winbase.h, dlls/shlwapi/path.c, dlls/ttydrv/graphics.c, dlls/version/info.c, dlls/winmm/joystick.c, dlls/winmm/mmsystem.c, dlls/ole32/storage32.c, dlls/oleaut32/typelib.c, dlls/shell32/shellpath.c, dlls/shell32/shv_item_cmenu.c, dlls/ole32/clipboard.c, dlls/ole32/compobj.c, dlls/ole32/filemoniker.c, dlls/ole32/ole2.c, dlls/kernel/format_msg.c, dlls/mpr/wnet.c, dlls/msacm/driver.c, dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/internal.c, dlls/msvideo/msvideo_main.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/finddlg32.c, dlls/commdlg/fontdlg.c, dlls/crtdll/mbstring.c, dlls/advapi32/registry.c, dlls/advapi32/security.c, dlls/advapi32/service.c, dlls/comctl32/datetime.c, dlls/comctl32/header.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/toolbar.c, dlls/comctl32/treeview.c, controls/listbox.c, controls/menu.c: Removed inclusion of wine/winestring.h from winbase.h and added it to the C files that need it. 2000-09-24 Alexandre Julliard * msdos/devices.c, msdos/dosmem.c, msdos/dpmi.c, msdos/int09.c, msdos/int2f.c, msdos/int33.c, memory/instr.c, loader/dos/dosvm.c, loader/dos/module.c, loader/task.c, include/ldt.h, include/miscemu.h, include/winnt.h, include/dosexe.h: Moved most global data out of the LPDOSTASK structure. Allocate DPMI real-mode segments globally at startup. Try to allocate DOS memory at address 0. * windows/win.c, windows/message.c, include/wine/winuser16.h, dlls/user/user.spec: Call WH_GETMESSAGE hook in PeekMessage too (based on a patch by Rob Farnum). * memory/virtual.c: Gerard Patel Locks the virtual views linked list. * include/acconfig.h, include/config.h.in, dlls/winsock/async.c, dlls/winsock/socket.c, configure.in, configure: Rein Klazes Make calls to gethostbyname, gethostbyaddr, getservbyname, getservbyport, getprotobyname and getprotobynumber thread-safe. * graphics/x11drv/xfont.c: Hidenori Takeshima Use appropriate charset if facenames of font is known. Use CP_ACP if DEFAULT_CHARSET is requested. * controls/listbox.c: Gerard Patel In WM_DRAWITEM, always calls the app with a valid current focus_item. * debugger/winedbg.c, debugger/stack.c, debugger/info.c, debugger/memory.c, debugger/registers.c, debugger/dbg.y, debugger/debug.l, debugger/debugger.h, debugger/expr.c, debugger/db_disasm.c, debugger/break.c: Improved support for vm86 mode. * include/wine/exception.h, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_sparc.c: Added support for exception handling while in vm86 mode. Fixed a couple of bugs in vm86 support. * windows/dialog.c, objects/font.c, graphics/win16drv/font.c, dlls/ole32/defaulthandler.c, dlls/comctl32/rebar.c, dlls/comctl32/tooltips.c: Gerald Pfeifer Fixed format strings. * dlls/comctl32/commctrl.c: Francois Gouget Added set WS_CHILD and CCS_TOP to the toolbar's style. TOOLBAR_CalcToolbar(): if the bitmap size is 0, use the builtin defaults. * dlls/comctl32/toolbar.c: Francois Gouget The size of the comctl32 internal bitmaps is 24x24 not 26x26. Fixed minor typos. * tools/wrc/parser.l, tools/wrc/README.wrc: Francois Gouget Filenames may contain '/' and '\'. Small typo fixes. 2000-09-22 Alexandre Julliard * dlls/comctl32/listview.c: Chris Morgan Paint background before drawing item and subitems. Paint any area of the control not occupied by items. Early out of LISTVIEW_RefreshXXX if no items exist. InvalidateRect() on LBUTTONDOWN only if the control has items to draw. * windows/x11drv/event.c, windows/x11drv/keyboard.c, server/main.c, server/object.h, server/process.c, server/trace.c, scheduler/process.c, misc/main.c, include/options.h, include/server.h, include/x11drv.h, dlls/x11drv/x11drv_main.c: Andreas Mohr Make GetTickCount not use the whole Unix epoch (since 1970) any more, since that crashed several games or caused problems with them as they aren't used to a high Windows uptime of more than 24.9 days. * scheduler/client.c: Roberto Augusto Pungartnik Added S_ISFIFO check for Solaris. * include/windef.h: Francois Gouget Added a macro for _declspec (backward compatibility synonym of __declspec). Removed the dllimport and dllexport macros. * include/objbase.h: Francois Gouget Must include 'stdlib.h'. * include/commctrl.h: Francois Gouget Added HANDLE_WM_NOTIFY and FORWARD_WM_NOTIFY. * dlls/wineps/Makefile.in, dlls/wineps/driver.c, dlls/wineps/psdlg.h, dlls/wineps/psdrv.h, dlls/wineps/rsrc.rc, dlls/wineps/wineps.spec, dlls/wineps/wps_En.rc, dlls/wineps/wps_xx.rc, dlls/wineps/.cvsignore, dlls/Makefile.in: Huw D M Davies Paper size and orientation prop sheet for wineps. * dlls/user/text.c: Susan Farley Added support DT_PATH_ELLIPSIS, DT_END_ELLIPSIS, and DT_WORD_ELLIPSIS flags in DrawText. * loader/module.c: Andreas Mohr Fixed WinExec16 to handle quoted filenames correctly. * include/wine/obj_errorinfo.h, dlls/ole32/errorinfo.c: Damyan Ognyanoff IErrorInfo is now derived from IUnknown. * dlls/comctl32/listview.c: Aric Stewart Correct some situations with listview selections. Specifically fixed situations where in an OWNERDATA listview the selection ranges become invalid if the number of items is changed. Additional fixes a few problems resulting in loops in RemoveAllSelections. * include/mmsystem.h, include/wingdi.h, include/winuser.h: Francois Gouget Added a few missing macros, types and prototypes. * include/winres.h: Francois Gouget New file. All RC files generated by VC6 include afxres.h which in turn includes this file. * windows/queue.c, windows/message.c, windows/nonclient.c: Andreas Mohr Spelling, trace fixes. * memory/environ.c: Andreas Mohr Added SetLastError() in GetEnvironmentVariableA. * graphics/x11drv/text.c: Damyan Ognyanoff Added error correction when using symbol offsets. * dlls/winmm/mciseq/mcimidi.c: Eric Pouech Fixed reentrancy issues in play/stop operations. * dlls/commdlg/cdlg_xx.rc: Huw D M Davies Fix PrintDlg collate icons. Add orientation icons. * dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec: Huw D M Davies Stubs for shlwapi.151 and shlwapi.153. * dlls/ole32/ole2stubs.c, dlls/ole32/ole32.spec: Huw D M Davies Stub for CoIsOle1Class. * dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/midi.c: Huw D M Davies Set close on exec() flag at times when we leave /dev/dsp and /dev/sequencer open. * dlls/comctl32/tab.c: Susan Farley Added support for FLATBUTTON style tabs. Made width of BUTTON style tabs no less than 2x their height. Expanded focus rect to be just inside the border. * dlls/kernel/toolhelp.c: Andreas Mohr Add FIXMEs for all these nice completely unimplemented TOOLHELP functions. * misc/registry.c: Andreas Mohr fixed the win95 registry loader to have somewhat stricter checking. * dlls/comctl32/toolbar.c: Chris Morgan Fixed button image to be offset to the center of the button horizontally, visible with WinZip and CuteFTP 4.0. Fixed compile warnings from format type specifiers in two TRACE's. Removed TRACE in TOOLBAR_GetItemRect(). Added button width to TRACE in TOOLBAR_CalcToolbar(). * dlls/comctl32/datetime.c, dlls/comctl32/monthcal.c, dlls/comctl32/status.c: Chris Morgan Changed RedrawWindow()'s to InvalidateRect()'s. RedrawWindow() was being called with RDW_UPDATENOW, forcing immediate painting. Added redrawing logic to STATUSBAR_SetTextW(). * dlls/comctl32/treeview.c: Chris Morgan Fix behavior of TVS_SINGLEEXPAND style broken in Corel merge. Optimize redrawing in TREEVIEW_SetItemA() to redraw only if the item changes. * relay32/builtin32.c: Francois Gouget Raised MAX_DLLS to 100. 2000-09-19 Alexandre Julliard * include/commctrl.h, include/oleauto.h, include/prsht.h, include/shellapi.h, include/winbase.h, include/windef.h, include/winnt.h, include/winsock2.h, include/winsvc.h, include/wtypes.h, dlls/comctl32/propsheet.c, dlls/shell32/shell32.spec, dlls/shell32/systray.c, dlls/advapi32/service.c: Peter Hunnisett - Added some missing WINELIB_NAME_AW definitions, types and messages - Small prototype fixes * relay32/snoop.c: Rein Klazes Catch EXCEPTION_PRIV_INSTRUCTION exception too. * dlls/comctl32/listview.c: Stephane Lussier Notification NM_CLICK, NM_RCLICK and NM_DBLCLK sent by the listview should set lParam to a NMLISTVIEW instead of a NMHDR. According to MSDN doc, it is like that since version 4.71, Wine is returning 5.0 as the DLL version. * controls/menu.c: Andreas Mohr Fixed window lock problem in SetMenu(). * objects/metafile.c: Henning Hoffmann Avoid deadlocks in EnumMetaFile. * dlls/oleaut32/typelib.c: Gerard Patel Avoid infinite loop if QueryPathOfRegTypeLib is called with lcid=0. 2000-09-18 Alexandre Julliard * msdos/interrupts.c, debugger/dbgmain.c, debugger/module.c, memory/instr.c: Misc cleanups. * dlls/ntdll/signal_i386.c, include/wine/exception.h: Added preliminary support for switching to vm86 mode with proper exception handling. * files/file.c, include/file.h, include/global.h, memory/virtual.c, relay32/builtin32.c: Moved FILE_dommap() to memory/virtual.c (and renamed it VIRTUAL_mmap). * dlls/comctl32/toolbar.c: Chris Morgan Change FIXME("Button size set after button in toolbar\n") in SetButtonSize() to WARN as quite a few applications are doing this after adding each button to the toolbar and there is no way we can stop them. * dlls/ddraw/dsurface/dga.c: Gerald Pfeifer Remove unused local variable in DGA_IDirectDrawSurface4Impl_SetPalette(). * misc/comm.c: Mike McCormack - removed redundant functions COMM_Get(Read/Write)Fd - corrected the name of 16bit functions in comments - removed unused static variable * README: Andreas Mohr - prefer wineinstall - mention debugger setup (temporary) * dlls/shell32/shell32.spec, dlls/shell32/shellord.c, include/shlobj.h: Mike McCormack Fixed incorrect arg count in SHGetSettings that causes winzip32.exe to report an error. * dlls/comctl32/listview.c: Stephane Lussier Sorting items in a listview using LVW_SORTITEMS is only sorting the items and not the subitems. This patch fix this issue. I've remove the temporary Sortlist, it was not necessary to create another list, and it was buggy. 2000-09-16 Alexandre Julliard * include/callback.h, windows/x11drv/event.c, if1632/thunk.c: Removed a couple of unused functions in the Callout structure. * dlls/user/user32.spec, dlls/user/user_main.c, objects/palette.c, windows/painting.c: Moved Select/RealizePalette implementation to USER and use pfnSelect/RealizePalette function pointers in GDI. Make sure the palette handle is valid in GDISelectPalette16 (thanks to Uwe Bonnes). * server/request.h, server/serial.c, server/trace.c, include/server.h, misc/comm.c: Mike McCormack Implemented SetCommMask, SetCommTimeouts, GetCommMask, GetCommTimeouts. * dlls/wineps/objects.c, graphics/enhmetafiledrv/objects.c, graphics/metafiledrv/objects.c, graphics/win16drv/objects.c, graphics/x11drv/objects.c, include/gdi.h, objects/dc.c, objects/gdiobj.c, windows/syscolor.c, dlls/ttydrv/objects.c: Andreas Mohr Added support for non-deletable system brushes and pens created by USER. * dlls/winsock/socket.c: John Gilmore Cleaned it up so that code paths which have unsupported WS_SO values never actually pass them to Unix system calls. * dlls/kernel/kernel32.spec, memory/virtual.c: Andreas Mohr Added VirtualAllocEx. * include/winbase.h: Hidenori Takeshima Added GetTimeZoneInformation and TIME_ZONE_ID_INVALID. * dlls/comctl32/tab.c: Andreas Mohr Fixed tab control to use HTTRANSPARENT when mouse hits client area, but not tab control buttons. * misc/cdrom.c: Andreas Mohr Silence some bogus error message. * include/winsock.h: Jeremy White Adjusted to allow MFC compilation; prevent definition of struct fd_set which conflicts with the fd_set typedef. * include/winuser.h: Jeremy White Added PWNDCLASS definition. * dlls/comctl32/listview.c: Stephane Lussier Allow having a transparent background text color for the listview. * ole/ole2nls.c: Dimitrie O. Paun Use the system local time if lpTime=NULL. 2000-09-13 Alexandre Julliard * dlls/kernel/thunk.c: Ulrich Weigand Update ESP correctly on return from flat thunk routines. * windows/winproc.c, include/builtin16.h, loader/ne/module.c, tools/winebuild/relay.c, if1632/relay.c: Ulrich Weigand Modified CallTo16Register routines to update register context after call returns. Callers adapted. * dlls/shell32/shellstring.c, dlls/shlwapi/string.c, include/shlwapi.h, include/wine/undocshell.h: Huw D M Davies Add some Str* prototypes to shlwapi.h. * dlls/comctl32/comctl32.h, dlls/comctl32/commctrl.c, dlls/comctl32/treeview.c: Chris Morgan Merged main Wine changes into Corel's treeview control rewritten by Serge Ivanov and Andrew Lewycky. Fixed item focus behavior to match Windows. Fixed item selection when un/expanding items. Implemented WM_SETREDRAW. Added Corel's COMCTL32_CreateToolTip() helper function to commctrl.c. * windows/painting.c, controls/button.c: Serge Ivanov (Merged by Marcus Meissner ) Fixed problem with origin for DST_COMPLEX style. Fixed handling of DSS_DISABLED and DSS_DEFAULT styles. Added handling of BS_MULTILINE style, label alignment styles (BS_RIGHT, etc.) and some exotic styles BS_FLAT (only pushbuttons for now), and BS_PUSHLIKE. Modified label drawing procedure: now all kinds of buttons use common BUTTON_DrawLabel function. Actual label drawing is performed by DrawStateW function. GroupBox must use WM_CTLCOLORSTATIC instead of WM_CTLCOLORBTN message. * dlls/ddraw/ddraw/main.c: Lionel Ulmer Upgrade also 15bpp to 16bpp surfaces. 2000-09-12 Alexandre Julliard * windows/winpos.c: James Hatheway KDE 1.x has problems with using XShapeCombineMask when there was no previous region. * controls/scroll.c: Gerard Patel SetScrollInfo : don't show/hide scrollbar if no parameter (minval, maxval) change. * include/wine/unicode.h: Added missing __volatile__. * dlls/ddraw/ddraw/x11.c, dlls/gdi/gdi.spec, files/file.c, misc/main.c, scheduler/process.c, windows/message.c, controls/button.c, debugger/break.c, debugger/winedbg.c, dlls/comctl32/commctrl.c, dlls/comctl32/tab.c: Andreas Mohr - fixes debugger output - get rid of wrong comments - fix comments - .spec spelling fix - improve warning message * dlls/kernel/kernel32.spec, win32/time.c: Andreas Mohr "implemented" GetSystemTimeAdjustment. * windows/class.c: Huw D M Davies Don't try to delete a wndclass background brush if it's a COLOR_* constant. * windows/nonclient.c: Mike McCormack Make sure NC_HandleNCCalcSize returns a valid rectangle. Painting fails if the rectangle is invalid. * dlls/comctl32/listview.c: Chris Morgan Hide the vertical scrollbar when listview style is LVS_LIST. * include/winuser.h: Jeremy White Add WM_USERCHANGED. * debugger/info.c, dlls/kernel/toolhelp.c, include/tlhelp32.h: Uwe Bonnes Use tpXXX instead of tbXXX in tagTHREADENTRY32. * dlls/ddraw/dpalette/dga.c, dlls/ddraw/dsurface/dga.c, dlls/ddraw/dsurface/dga2.c: Lionel Ulmer Fixed DGA / DGA 2 palette creation. * graphics/x11drv/text.c: Gerard Patel Fix a memory leak in X11DRV_GetTextExtentPoint. ---------------------------------------------------------------- 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).