1. 12 Jan, 1997 1 commit
    • Alexandre Julliard's avatar
      Release 970112 · c6c09442
      Alexandre Julliard authored
      Sat Jan 11 18:17:59 1997  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [controls/menu.c]
      	Updated to new Win32 types.
      
      	* [controls/listbox.c]
      	Fixed Winfile extended selection bug.
      
      	* [files/directory.c]
      	Changed DIR_SearchPath to return both long and short file names.
      
      	* [files/dos_fs.c]
      	Implemented VFAT ioctl to retrieve the original short filenames
      	from a VFAT filesystem (Linux only for now).
      	Replaced DOSFS_GetUnixFileName()/DOSFS_GetDosTrueName() by
      	DOS_GetFullName().
      	Properly implemented GetShortPathName() and GetFullPathName().
      	Made all functions re-entrant.
      
      	* [files/file.c] [misc/main.c]
      	Replaced -allowreadonly option by -failreadonly. The default is
      	now to report success when opening a read-only file for writing.
      
      	* [objects/metafile.c]
      	Fixed bug in DIB bitmaps pointer calculation.
      
      	* [scheduler/process.c]
      	Implemented environment strings and Get/SetStdHandle with process
       	environment block.
      
      	* [tools/build.c]
      	Rewrote BuildContext32() to avoid instructions that may not be
      	supported by all assemblers.
      	
      Fri Jan 10 17:11:09 1997  David Faure  <david.faure@ifhamy.insa-lyon.fr>
      
      	* [windows/event.c]
      	Created table keyc2vkey, which associate a vkey(+extended bit) to
      	any keycode. Changed EVENT_event_to_vkey to use this table to
      	return the correct vkey. Changed EVENT_ToAscii to get the keycode
      	from this table too.  Assigned OEM specific vkeys arbitrarily.
      
      Fri Jan 10 09:26:17 1997  John Harvey <john@division.co.uk>
      
      	* [misc/winsock.c] [misc/winsoc_async.c]
              Fixed svr4 header files.
              Changed bzero() to memset().
      
      	* [tools/fnt2bdf.c]
              Removed bcopy() and used memcpy() instead.
      
      	* [debugger/msc.c]
              Include string.h instead of strings.h
      
      	* [debugger/stabs.c]
              Include string.h instead of strings.h.
              Define __ELF__ for svr4 systems.
      
      	* [loader/signal.c]
              Use wait() instead of wait4() which doesnt exist on Unixware.
      
      	* [memory/global.c]
              Use sysconf() instead of getpagesize() for svr4 systems.
      
      Thu Jan  9 21:07:20 1997  Robert Pouliot <krynos@clic.net>
      
      	* [Make.rules.in] [Makefile.in] [make_os2.sh] [rc/Makefile.in]
      	  [tools/Makefile.in] [documentation/wine_os2.txt]
      	Patches for OS/2 support. Note that it doesn't compile yet.
      
      Tue Jan  7 20:03:53 1997  Eric Youngdale <eric@sub2304.jic.com>
      
      	* [debugger/*]
      	Many more debugger improvements (see debugger/README for details).
      
      Tue Jan  7 15:12:21 1997  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      
      	* [windows/graphics.c] [objects/text.c] [graphics/x11drv/*]
      	  [graphics/metafiledrv/*]
      	Moved some device dependent code into the resp. subdirs.
      
      	* [include/gdi.h] [include/metafiledrv.h] [include/x11drv.h]
      	Prototypes added,
      	DC_FUNCTIONS: GetPixel added, some unnecessary functions removed.
      
      	* [objects/region.c]
      	CreatePolyPolygonRgn32 added.
      
      	* [files/dos_fs.c]
      	QueryDosDevice added.
      
      	* [misc/lstr.c]
      	FormatMessage: broken heap management fixed.
      
      	* [scheduler/process.c] [scheduler/thread.c]
      	Get/SetThreadPriority/PriorityClass added.
      
      Mon Jan  6 21:55:30 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
      
      	* [misc/keyboard.c]
      	ToAscii : Use EVENT_ToAscii instead.
      
      	* [windows/event.c]
      	keypad_key : Do not convert XK_Mode_switch to VK_MENU; recognize
      	keypad cursor keys.
      	EVENT_event_to_vkey : New function, to transform a X keycode
      	into a MSwin vkey + extended bit.
      	EVENT_ToAscii : New function, to transform a vkey + extended bit
      	(+ key state table) into ascii char(s), using XLookupString, and
      	recognizing dead chars.
      	EVENT_key : Transform AltGr into Ctrl+Alt sequence; call
      	EVENT_event_to_vkey for keycode to vkey conversion; fixed
      	previous, context and extended bits.
      
      	* [windows/keyboard.c]
      	Include stddebug.h, to get -debugmsg messages.
      	GetKeyState : Handle VK_MBUTTON case.
      	GetKeyboardState, SetKeyboardState : Debugging messages added.
      
      	* [windows/message.c]
      	TranslateMessage : Handle dead chars.
      
      Mon Jan  6 20:10:11 1997  Dominik Strasser  <bm424953@muenchen.org>
      
      	* [if1632/crtdll.spec] [misc/crtdll.c]
      	C++ functions new/delete/set_new_handler implemented.
      
      Mon Jan  6 15:48:15 1997 Frans van Dorsselaer <dorssel@rulhmpc49.LeidenUniv.nl>
      
      	* [controls/edit.c] [include/windows.h]
      	Moved the edit control to 32 bits.
      	Included new (win95) message definitions in windows.h
      	Implemented EM_SCROLLCARET, EM_SETMARGINS, EM_GETMARGINS,
      	EM_GETLIMITTEXT, EM_POSFROMCHAR, EM_CHARFROMPOS.
      	Broke EM_SETWORDBREAKPROC (internal wordwrap still works).
      	Fixed some bugs, introduced a couple of others.
      	Text buffer is now initially in 32-bit heap.
      
      	* [controls/EDIT.TODO] [controls/combo.c] [controls/widgets.c]
      	  [if1632/wprocs.spec] [library/miscstubs.c] [windows/defdlg.c]
      	  [misc/commdlg.c]
      	Updated to work with 32-bit edit control.
      
      Sat Jan  4 22:07:27 1997  O.Flebbe  <O.Flebbe@science-computing.uni-tuebingen.de>
      
      	* [loader/pe_image.c]
      	Use mmap rather then malloc. Better workaround for clean
      	segments.
      c6c09442
  2. 01 Dec, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 961201 · da0cfb36
      Alexandre Julliard authored
      Sat Nov 30 19:21:17 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [configure]
      	Re-generated with autoconf 2.11. Let me know if you have
      	problems.
      
      	* [controls/listbox.c] [controls/oldlbox.c]
      	Listboxes rewritten from scratch. Moved old code still used by
      	comboboxes to oldlbox.c
      
      	* [misc/registry.c]
      	Use temporary file when saving registry.
      
      	* [windows/dialog.c]
      	Implemented Win32 version of DlgDirList() and DlgDirListComboBox().
      
      	* [windows/winproc.c]
      	Added translation for listbox Win32 messages.
      
      Sat Nov 30 21:00:00 Alex Korobka <alex@trantor.pharm.sunysb.edu>
      
      	* [controls/widgets.c] [controls/button.c]
      	Fixed some incompatibilities with CTL3D DLL.
      
      	* [windows/dialog.c]
      	Made dialog windows fit into the desktop.
      
      	* [misc/winsock.c] [misc/winsock_async.c]
      	New Winsock engine.
      
      	* [windows/message.c]
      	GetMessage() fixes.
      
      	* [windows/queue.c] [windows/hook.c] [windows/win.c]
      	SetMessageQueue() fixes.
      
      Fri Nov 29 10:25:12 1996  Slaven Rezic  <eserte@cs.tu-berlin.de>
      
      	* [objects/text.c]
      	DrawText16(): Fixed return value.
      
      Tue Nov 26 14:47:09 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      
      	* [files/profile.c] [*/*]
      	Added Win32 profile functions, updated to new naming standard.
      
      	* [objects/font.c] [if1632/thunk.c] [include/windows.h]
      	Added EnumFonts32*, EnumFontFamiliesEx*, changed prototypes and
      	structures.
      
      	* [misc/ole2nls.c] [if1632/thunk.c]
      	Added EnumSystemLocales() (winhelp.exe).
      
      	* [misc/registry.c]
      	Added Windows 3.1 registry loader supplied by Tor Sjxwall, tor@sn.no
      
      	* [win32/file.c]
      	Partially fixed CreateFileMapping(), added UnmapViewOfFile().
      
      Sat Nov 23 23:36:05 1996  Ronan Waide  <waider@waider.ie>
      
      	* [misc/shell.c]
      	Fixed some FIXMEs relating to ShellExec() and FindExecutable().
      
      	* [misc/main.c]
      	Implemented a few more of the SystemParametersInfo() cases.
      
      Tue Nov 19 01:24:34 1996  Philippe De Muyter  <phdm@info.ucl.ac.be>
      
      	* [include/keyboard.h]
      	New file, new macro WINE_VKEY_MAPPINGS (using code taken from event.c).
      
      	* [include/windows.h]
      	New [VK_A, VK_Z] and [VK_0, VK9] macros.
      
      	* [misc/keyboard.c]
      	Fixes in KeyTable and ToAscii.
      
      	* [objects/font.c]
      	FONT_init : Give default value for MSWIN "system" font.
      	FONT_MatchFont : Do not try every size of a font family if the
      	family does not exist.
      
      	* [windows/event.c]
      	lastEventChar hack removed.
      	KeyStateTable replaced by InputKeyStateTable (maintained in event.c)
      	and QueueKeyStateTable (maintained in message.c).
      	EVENT_key : Corrections to the extended bit setting.
      
      	* [windows/message.c] [windows/keyboard.c]
      	Implementation of a new QueueKeyStateTable : table of key states
      	valid when messages are retrieved by GetMessage or PeekMessage,
      	and valid for TranslateMessage.
      	TranslateMessage : Convert WM*KEY messages using QueueKeyStateTable
      	and ToAscii.
      	
      Mon Nov 18 16:59:01 1996  Robert Pouliot <krynos@clic.net>
      
      	* [graphics/Makefile.in] [graphics/wing.c]
      	  [if1632/wing.spec]
      	Some functions for WinG support, mostly empty stubs.
      
      	* [misc/crtdll.c] [if1632/crtdll.spec]
      	Many functions added to CRTDLL, mostly calls to Unix C library.
      da0cfb36
  3. 17 Nov, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 961117 · 75d86e1f
      Alexandre Julliard authored
      Sun Nov 17 15:01:45 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [graphics/bitblt.c] [graphics/x11drv/bitblt.c]
      	Moved BitBlt operations to the new graphics driver
      	interface. Implemented PatBlt32, BitBlt32 and StretchBlt32.
      
      	* [memory/global.c]
      	Unified MemManInfo() and GlobalMemoryStatus().
      
      	* [objects/text.c]
      	Fixed ExtTextOut() to always use physical coords for clip rect.
      
      	* [windows/dialog.c]
      	Implemented DlgDirSelectEx() and Win32 version of DlgDirSelect*.
      
      	* [windows/event.c]
      	Avoid busy-looping in EVENT_WaitXEvent when no timer is pending
      	(thanks to Thomas Koenig).
      
      	* [windows/painting.c]
      	Moved update region clipping for CS_PARENTDC windows to BeginPaint().
      	
      	* [windows/scroll.c]
      	Implemented Win32 version of ScrollWindow() and ScrollDC().
      
      Tue Nov 12 09:52:17 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      
      	* [files/*.c] [win32/file.c]
      	Some win32 filetime conversion functions added.
      	Fixed behaviour with DOS drives pointing to UNIX /
      	SetCurrentDirectory() may also get X:\xxx paths.
      	Fixed FILE_Open when called from CreateFile().
      	Added GetFileSize(), MapViewOfFile(), SetFileTime(), GetFileTime().
      
      	* [misc/crtdll.c] [if1632/crtdll.spec]
      	Added some new functions.
      
      	* [if1632/user32.spec]
      	Some thunks into win16 code added.
      
      	* [win32/init.c]
      	Added GetSystemInfo(), removed GetModuleFileName() stub.
      
      	* [win32/code_page.c] [if1632/thunk.c]
      	Added EnumSystemCodePages* (untested).
      
      	* [objects/font.c] [if1632/thunk.c]
      	Added EnumFontFamilies32*.
      	
      Mon Nov 11 14:50:24 1996  Huw D. M. Davies <h.davies1@physics.oxford.ac.uk>
      
      	* [controls/menu.c] [windows/mdi.c]
      	Don't delete the MDI `windows' menu if it's already been deleted.
      
      	* [misc/exec.c]
      	Notepad always calls WinHelp(.., HELP_QUIT, ...) at termination
       	and complains if it returns FALSE.
      
      	* [windows/winpos.c]
      	Get maximized MDI child's nonclient area redrawn after resize.
      
      Thu Nov  7 13:32:34 1996  Lee Jaekil <juria@seodu.co.kr>
      
      	* [memory/global.c]
      	Use /proc filesystem for GlobalMemoryStatus() on Linux.
      
      Mon Nov  4 18:30:00 1996  Alex Korobka <alex@trantor.pharm.sunysb.edu>
      
      	* [windows/event.c]
      	Added OffiX-style file drop handling. File paths must be
      	DOS-mappable by Wine (via wine.conf).
      
      	* [controls/combo.c]
              Added WM_GETTEXT handler.
      
      	* [objects/palette.c]
      	Added ResizePalette() (untested).
      
      	* [objects/cursoricon.c]
      	Implemented icon to cursor conversion.
      
      	* [objects/color.c]
      	Fixed crash on startup when no colorcells are writeable.
      
      Mon Nov  4 00:49:41 1996  Ulrich Schmid  <uschmid@mail.hh.provi.de>
      
      	* [rc/winerc.c]
      	Added support for win32 output.
      
      	* [library/libres.c] [include/libres.h] [loader/resource.c]
      	Renamed LIBRES_FindResource to LIBRES_FindResource16.
      	Added LIBRES_FindResource32.
      
      Sun Nov 3 21:21:45 1996  Robert Pouliot <krynos@clic.net>
      
      	* [loader/builtin.c] [if1632/Makefile.in] [if1632/wing.spec]
      	Added the spec file for WinG, it's only stub for now, but it
      	should be easy to do by someone with Windows programming
      	knowledge. See: ftp.microsoft.com/SoftLib/MSLFILES/wing10.exe.
      
      	* [if1632/crtdll.spec]
      	Added some string and memory functions to make sfxed95.exe (of
       	Warcraft 2) almost work.
      75d86e1f
  4. 28 Sep, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960928 · 2c69f6d8
      Alexandre Julliard authored
      Fri Sep 27 14:18:42 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [controls/button.c]
      	Fixed focus rectangle size and clipping.
      
      	* [controls/scroll.c]
      	Converted to Win32 and added support for scroll page.
      	Completed SetScrollInfo() and implemented other Win32 functions.
      
      	* [files/file.c]
      	Removed FILE_Read() (use _lread32 instead).
      
      	* [objects/dce.c] [include/dce.h]
      	Allocate DCE on the Win32 heap, and use pointers instead of
      	handles.
      	Implemented Win32 version of DC functions.
      
      	* [windows/painting.c]
      	Attempt to make CS_PARENTDC style work again.
      
      Wed Sep 25 23:40:52 1996 Alex Korobka <alex@trantor.pharm.sunysb.edu>
      
      	* [windows/dce.c] [windows/winpos.c]
      	Override SaveUnder attribute when painting took place
      	in a window below. Force X to raise activated window 
      	in seamless mode.
      
      	* [misc/clipboard.c] [windows/event.c]
      	Translation between DOS and Unix text formats and several
      	other fixes for the sudden selection loss.
      
      	* [windows/message.c]
      	Apply "first" and "last" when checking for WM_QUIT in 
              MSG_PeekMessage().
      
      	* [windows/win.c]
      	Rearranged DestroyWindow() to fit "Windows Internals"
      	description.
      
      	* [windows/win.c] [windows/winpos.c] [windows/nonclient.c]
      	Misc. fixes to CBT hook calls.
      
      	* [controls/menu.c] [misc/user.c]
      	Fixup resident popup menu window so that it doesn't get
      	destroyed by USER_AppExit().
      
      	* [loader/module.c] [loader/task.c] [windows/event.c]
      	Process "unsafe" X events outside the scheduler to prevent
      	deadlocks.
      
      	* [windows/message.c] [windows/queue.c] [windows/winpos.c]
      	Lots of fixes for better Win16 multitasking.
      
      Wed Sep 25 20:36:30 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      
      	* [include/windows.h]
      	Added some missing HOOK defines.
      
      	* [misc/shell.c][if1632/shell32.spec][include/shell.h]
      	SHGetFileInfoA stub added (win95 mplayer.exe /play bla.avi).
      
      	* [win32/console.c][include/wincon.h]
      	GetConsoleScreenBufferInfo, GetLargestConsoleWindowSize added.
      
      	* [misc/registry.c]
      	Some null ptr fixes.
      
      	* [loader/pe_image.c]
      	Fixed exported function lookup. (msvcrt20.dll)
      	Add debugsyms for entrypoint, exported functions and sections.
      
      	* [multimedia/mmsystem.c]
      	MCIOpen: support for element opens (mplayer.exe /play bla.avi).
      
      	* [several]
      	Added several missing things/stubs/simple thunks from win32
      	to win16 code.
      
      Sat Sep 21 17:27:44 1996  O.Flebbe  <flebbe@science-computing.uni-tuebingen.de>
      
      	* [windows/property.c]
      	Fixed debugging of 16 Bit RemoveProp().
      
      	* [debugger/memory.c]
      	Added DEBUG_checkmap_bad() for linux.
      
      Thu Sep 19 20:48:31 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [windows/event.c] [windows/hook.c]
      	Use EnableHardwareInput() for JournalPlayback hook.
      
      	* [controls/listbox.c]
      	Changed handling of LB_GETITEMRECT in empty listboxes.
      
      Thu Sep 19 13:34:35 1996  Slaven Rezic  <eserte@cs.tu-berlin.de>
      
      	* [misc/main.c]
      	Fixes to X resources handling.	
      
      Wed Sep 18 00:31:15 1996  Huw D. M. Davies <h.davies1@physics.oxford.ac.uk>
      
      	* [objects/metafile.c] [include/gdi.h] [objects/dc.c]
      	Individual handle table created for each metafile. Fixed
       	GlobalReAlloc() bug in MF_AddHandleDC() (was MF_AddHandleInternal).
      
      	* [windows/graphics.c] [objects/dc.c]
      	Rectangle() changed to work better with wide pens and PS_NULL.
      	Use JoinMiter.
      
      	* [windows/winpos.c]
      	Make the whole (non X) window invalid on resize if CS_[VH]REDRAW
       	is set.
      
      	* [windows/nonclient.c]
      	AdjustWindowRectEx() should perform calculations even if the
       	window is minimized.
      
      	* [windows/mdi.c]
      	Better handling of system button painting. Maximized windows can
       	contain scroll bars. Icons now maximize properly.
      
      	* [windows/defwnd.c] [windows/nonclient.c] [controls/menu.c]
      	Improved greying of items in system menu. WM_INITMEMUPOPUP no
       	longer caught in DefWndProc, DEFWND_InitSysMenuPopup moved to
       	menu.c.
      
      Mon Sep 16 21:30:00 1996  Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de>
      
      	* [several files]
      	Fix missing includes and wrong printing arguments.
      
      	* [controls/listbox.c]
      	Don't sort drives in ListBoxDirectory().
      	
      Sat Sep 14 09:05:47 1996  Petri Tuomola <ptuomola@xs4all.nl>
      
      	* [windows/dialog.c]
      	Fixed handling of Shift-TAB in dialogs.
      
      Thu Sep 12 18:31:00 1996  Thomas Sandford <t.d.g.sandford@prds-grn.demon.co.uk>
      
      	* [if1632/gdi32.spec]
      	Added SelectClipRgn - call win16 version.
      
      	* [if1632/user32.spec]
      	Added GetAsyncKeyState, GetMenuItemID and GetMenuStringA.
      
      	* [include/wincon.h]
      	Added COORD and SMALL_RECT typedefs, moved CONSOLE_SCREEN_BUFFER_INFO
      	out of #if 0 protected portion of file.
      
      	* [loader/pe_image.c]
      	PE_InitTEB() - Tidy up, bug fix to stack pointer value (Borland
      	programs now work better)
      
      	* [win32/console.c]
      	Added stub functions for GetConsoleScreenBufferInfo and 
      	GetLargestConsoleWindowSize
      
      	* [win32/findfile.c]
      	FindFirstFile32A() - removed erroneous strcpy
      
      	* [windows/keyboard.c]
      	GetAsyncKeyState() - bug fix - now returns value as per Microsoft
      	specification. NB - I still have doubts about some other functions
      	in this file.
      2c69f6d8
  5. 13 Sep, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960913 · 8bbf8180
      Alexandre Julliard authored
      Wed Sep 11 18:08:30 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [windows/event.c]
      	Minor improvements in setting event time in MSG struct.
      
      	* [windows/hook.c]
      	Removed an useless 'unimplemented hook' message.
      
      	* [windows/win.c]
      	Added a WH_CBT hook call during window creation: good for CTL3D.DLL
      
      Wed Sep 11 11:19:56 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      	* [loader/pe_image.c]
      	Fixed imports with no name/ordinal list (MFC30.DLL).
      	Added borland style - ordinal import (wsock32.dll).
      
      	* [files/file.c] [win32/file.c] [if1632/kernel.spec]
      	  [if1632/kernel32.spec] [include/windows.h]
      	Win32 and Win16 code use the same filehandles/HFILEs.
      	Added SetEndOfFile, MoveFile*, diverse *W functions.
      
      	* [loader/pe_image.c]
      	Fixed argument 2 to DllEntry.
      
      	* [misc/comm.c]
      	Adapt to filehandling changes, win32 code still broken.
      
      	* [misc/registry.c]
      	Use Wine filehandling.
      	StartupRegistry to add startup-detected registry entries.
      
      	* [miscemu/dpmi.c] [miscemu/int21.c]
      	Some missing interrupt-functions added.
      
      	* [if1632/gdi32.spec][if1632/user32.spec]
      	Some thunks to 16 bit equivalent functions added.
      
      Sat Sep  7 11:36:57 EDT 1996  Matthew Ghio <ghio@netcom.com>
      
      	* [misc/winsocket.c]
      	Rewrote WINSOCK_select() and WSAFDIsSet() to properly convert
      	Windows fd_set structs.
      
      	* [if1632/winsock.spec]
      	Corrected arguments to select().
      8bbf8180
  6. 02 Sep, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960902 · d1ce8b28
      Alexandre Julliard authored
      Sun Sep  1 19:22:46 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [misc/commdlg.c] [if1632/commdlg.spec]
      	Fixed some SEGPTR problems.
      
      	* [windows/winproc.c]
      	Added message translation for WM_COMPAREITEM, WM_DELETEITEM
      	and WM_MEASUREITEM
      	Fixed 16-to-32 translation for WM_HSCROLL/WM_VSCROLL.
      
      Fri Aug 30 13:39:00 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      	* [files/drive.c]
      	GetDriveType16 should report CDROMs as DRIVE_REMOTE (ACME setup).
      
      	* [multimedia/audio.c]
      	The minimum audiobuffer size shrunk somewhere in linux 1.3.xx
      	below 4096 bytes.
      
      	* [multimedia/mcistring.c]
      	Segptr string handling fixed & enhanced.
      
      	* [if1632/crtdll.spec][misc/crtdll.c]
      	malloc,free,_strupr,_stricmp,_strcmpi added.
      
      	* [if1632/wsock32.spec][misc/winsock.c]
      	More direct thunks into unix libc and WsControl-stub added.
      
      Thu Aug 29 23:54:25 1996  Huw D. M. Davies <h.davies1@physics.oxford.ac.uk>
      
      	* [objects/metafile.c]
      	Bug fixes to both recording and playback of ExtTextOut().
      
      Tue Aug 27 15:43:21 1996  Slaven Rezic  <eserte@cs.tu-berlin.de>
      
      	* [multimedia/audio.c] [multimedia/mcianim.c]
      	  [multimedia/mcicda.c] [multimedia/midi.c]
      	Made cdaudio, audio and midi work for FreeBSD.
      
      Sun Aug 25 20:18:56 1996  Jukka Iivonen <iivonen@cc.helsinki.fi>
      
      	* [misc/crtdll.c] [if1632/crtdll.spec]
      	Added a lot of functions.
      
      	* [misc/ole2nls.c]
      	Added ID values for all languages in GetUserDefaultLCID().
      	
      Fri Aug 24 21:02:28 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [windows/event.c] [windows/message.c]
      	First attempt at hook WH_JOURNALPLAYBACK.
      d1ce8b28
  7. 18 Aug, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960818 · 1e37a181
      Alexandre Julliard authored
      Sun Aug 18 12:17:54 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [files/drive.c]
      	Added 'Filesystem' option in drives configuration.
      
      	* [files/dos_fs.c] 
      	Added handling of case-insensitive filesystems.
      
      	* [memory/selector.c] [include/stackframe.h]
      	Removed MAKE_SEGPTR.
      
      	* [misc/commdlg.c] [multimedia/mcistring.c]
      	Replaced MAKE_SEGPTR by the SEGPTR_* macros.
      
      	* [objects/bitblt.c] [windows/graphics.c]
      	Use an intermediary pixmap to avoid some BadMatch errors on
      	XGetImage().
      
      Sun Aug 18 09:21:27 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [windows/message.c]
      	Added handling of WM_NC...mouse messages in JOURNALRECORD hook.
      
      	* [misc/ver.c]
      	Fixed a bad string result in VerQueryValue[16|32A|32W].
      
      Fri Aug 16 19:55:04 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      
      	* [if1632/crtdll.spec] [misc/crtdll.c]
      	More additions to get win95 programs further down the road.
      
      	* [if1632/kernel.spec] [loader/module.c]
      	GetModuleName() added.
      	LoadModule(): params->showCmd can be NULL.
      
      	* [if1632/kernel32.spec] [if1632/thunk.c]
      	ThunkConnect32() stub added.
      
      	* [loader/resource.c]
      	Entries include lastentry.
      
      	* [misc/shell.c] [files/file.c]
      	Made progman work again.
      
      Fri Aug 16 09:00:00 1996  Alex Korobka <alex@phm30.pharm.sunysb.edu>
      	
      	* [windows/defwnd.c] [windows/winpos.c] [windows/painting.c]
      	Icon painting fixes.
      
      	* [windows/winpos.c] [windows/painting.c]
      	Enforce and follow hrgnUpdate more closely to cut down on
      	redundant RedrawWindow() calls.
      
      	* [windows/event.c]
      	Process ConfigureNotify only for managed windows.
      
      	* [windows/winpos.c]
      	Do not redraw parent if the window was hidden before SetWindowPos().
      
      	* [windows/nonclient.c]
      	Omit some nonclient decoration painting for managed windows.
      
      	* [controls/menu.c] [windows/mdi.c] [windows/nonclient.c]
      	Implemented WM_NEXTMENU.
      
      	* [controls/listbox.c]
      	Multicolumn listboxes return WVR_VREDRAW on WM_NCCALCSIZE.
      
      	* [misc/shell.c]
      	Added .ICO file handling to ExtractIcon().
      1e37a181
  8. 12 Jul, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960712 · ca22b33d
      Alexandre Julliard authored
      Fri Jul 12 17:43:05 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [controls/scroll.c]
      	Use Win32 heap functions to allocate scroll-bar info structure.
      
      	* [debugger/dbg.y] [debugger/registers.c]
      	Added support for FS and GS segment registers.
      	Check that segment registers value are OK before returning from
      	the signal handler.
      
      	* [tools/build.c] [if1632/relay.c] [loader/builtin.c]
      	Changed relay debugging for Win32 function: the relay code now
      	passes the entry point address instead of the function name.
      
      	* [tools/build.c] [miscemu/*.c]
      	Added support for data entry points in Win32 DLLs.
      	Added 'cdecl' function type for Win32.
      	For 'register' function, the relay code now passes a pointer to
      	the SIGCONTEXT structure.
      	
      	* [include/registers.h] [include/wine.h]
      	Moved SIGCONTEXT structure definition in registers.h.
      
      	* [loader/pe_image.c]
      	Don't die at once if some Win32 entry points cannot be found, but
      	set them to NULL, just like we do for Win16. This allows some
      	programs to go further before crashing.
      
      	* [loader/task.c] [loader/main.c]
      	Moved global initializations from InitTask() to MAIN_Init(), as
      	they no longer need a task context with the new SEGPTR heap functions.
      
      	* [memory/string.c]
      	Added lstrcpynAtoW and lstrcpynWtoA; not real API functions, but
       	very convenient.
      
      	* [windows/graphics.c]
      	Partially implemented DrawEdge().
      
      	* [windows/timer.c] [windows/caret.c]
      	Implemented Win32 timer handling. Updated caret management to use
      	Win32 timers (avoids having to use a Win16 callback).
      
      	* [windows/win.c]
      	Prevent programs from setting some style bits with
      	SetWindowLong(). This should fix some BadMatch crashes.
      	Link new windows at the end of the linked list.
      
      	* [windows/winpos.c]
      	Don't try to activate a child window in ShowWindow().
      
      	* [windows/winproc.c]
      	Added a 32->32 thunk to support Ansi-Unicode translation.
      
      Wed Jul 10 22:11:12 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      
      	* [files/directory.c]
      	Additional (undocumented) return value for GetTempDrive() added.
      
      	* [files/dos_fs.c] [files/file.c] [include/windows.h]
      	GetTempFileName32* added.
      	GetShortPathName* added.
      
      	* [memory/string.c]
      	Win16 lstrcpy() can get NULL ptrs as argument and survive.
      
      	* [misc/lzexpand.c]
      	LZOpenFile(): also try opening with compressed filename if normal
       	open fails.
      
      	* [misc/ole2nls.c] [misc/lstr.c] [include/windows.h]
      	Char* added.
      	CompareString* added.
      
      Sun Jul  7 01:22:14 1996  Jukka Iivonen <iivonen@cc.helsinki.fi>
      
      	* [objects/font.c] [if1632/gdi32.spec]
      	CreateFontIndirect32A and CreateFontIndirect32W added.
      
      	* [misc/ole2nls.c]
      	GetUserDefaultLCID return values updated for new languages.
      	Finnish support added for GetLocaleInfoA.
      
      	* [object/palette] [gdi32.spec]
      	RealizePalette32 and SelectPalette32 added.
      	
      Sat Jul  6 17:27:30 1996  Ronan Waide  <root@waider.ie>
      
      	* [misc/shell.c]
      	Fixup for SHELL_FindExecutable so that File->Run from progman
      	works once more. Still needs some more fixups - grep for FIXME in
      	this file.
      ca22b33d
  9. 05 Jul, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960705 · 3051b644
      Alexandre Julliard authored
      Fri Jul  5 16:27:43 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [controls/desktop.c]
      	Use Windows file I/O routines to load the desktop bitmap.
      
      	* [files/file.c]
      	Implemented RemoveDirectory* and DeleteFile*.
      
      	* [include/wine.h]
      	Added SIGCONTEXT typedef to replace #define sigcontext_struct.
      
      	* [loader/task.c]
      	Fixed initial breakpoint setting for Win32 tasks.
      
      	* [misc/wsprintf.c]
      	Ignore Unicode formats for wsprintf16().
      
      	* [objects/font.c]
      	Implemented Win32 version of GetTextMetrics.
      
      	* [windows/winproc.c] [windows/win.c] [windows/class.c]
      	  [windows/dialog.c]
      	Modified windows procedures to use thunks, to ensure that the
      	procedure can be called directly from the Windows program.
      
      	* [windows/win.c]
      	Added function WIN_BuildWinArray() to make it easier to enumerate
      	windows. Implemented Win32 version of EnumWindows() and friends.
      
      Fri Jul  5 11:56:22 1996  Andreas Kirschbaum <ank@rbg.informatik.th-darmstadt.de>
      
      	* [controls/button.c] [windows/win.c]
      	Operator precedence fixes.
      
      	* [controls/edit.c]
      	Implemented ES_PASSWORD, ES_LOWERCASE and ES_UPPERCASE styles.
      	Fixed word wrap with long words.
      
      	* [debugger/debug.l]
      	New alias "where" for command "backtrace".
      
      	* [if1632/gdi.spec]
      	Corrected parameter of ExtTextOut.
      
      	* [loader/module.c]
      	Corrected printing of table of modules.
      
      	* [misc/spy.c]
      	Removed superfluous \n in message name.
      
      	* [windows/message.c]
      	Declared MSG_SendMessage as static.
      	Changed parameter of DirectedYield() from queue handle to task handle.
      	Removed warning mesages for argument of printf.
      
      	* [windows/nonclient.c]
      	Added the flag DT_NOPREFIX when drawing window titles.
      
      	* [windows/win.c]
      	WIN_WalkWindows now prints the invalid window handle.
      	Added a warning if Get-/SetWindowWord/-Long gets an invalid offset.
      
      	* [windows/winproc.c]
      	Allows creating dialog windows with NULL as dialog function.
      
      Wed Jul  3 09:26:41 1996  Andrew Lewycky <plewycky@oise.utoronto.ca>
      
      	* [windows/event.c]
      	EVENT_key: Fixes to VK_ code generation for space bar and
      	punctuation.
      
      	* [files/file.c]
      	GetTempFileName: first character in temporary name is "~".
      
      	* [memory/heap.c]
      	HEAP_MakeInUseBlockFree now frees the whole subheap if possible.
      
      	* [objects/text.c]
      	ExtTextOut16(): handle NULL lpRect and ETO_OPAQUE.
      
      	* [misc/driver.c]
      	Removed some bugs and reformatted. Actually loads drivers now.
      
      	* [include/callback.h]
      	Added CallDriverProc() and CallWindowsExitProc().
      
      	* [loader/module.c]
      	MODULE_CallWEP(): new function.
      
      	* [misc/lzexpand.c]
      	LZSeek(): return new pointer, not old one.
      
      	* [misc/ver.c]
      	find_ne_resource(): fixed dependence on LZSeek() bug.
      	GetFileResource(): initialize reslen before using it.
      
      	* [windows/class.c]
      	SetClassWord(): add missing else.
      
      	* [objects/font.c]
      	lpFontList is now MAX_FONTS+1. It used to overwrite the array.
      	InitFontList: allocate one huge array of structures.
      	FONT_MatchFont: uppercase the face name.
      
      Thu Jun 27 12:41:40 1996  Bruce Milner <bruce@genetics.utah.edu>
      
      	* [memory/heap.c]
      	Fixed a typo in HeapReAlloc().
      
      Tue Jun 25 22:22:03 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      
      	* [files/directory.c] [files/drive.c] [if1632/kernel.spec]
      	  [if1632/kernel32.spec] [if1632/shell.spec] [include/windows.h]
      	GetTempPath* added
      	GetDriveType* fixed, updated to NewNameStandard.
      	GetCurrentDirectory* fixed (needs to prepend X:\).
      
      	* [controls/listbox.c]
      	Missing NULL check added.
      
      	* [if1632/winmm.spec] [loader/builtin.c]
      	winmm.dll (32bit mmsystem equivalent) specs added.
      
      	* [memory/string.c] [if1632/kernel32.spec] [include/windows.h]
      	Rtl{Move,Zero,Fill}Memory added.
      
      	* [misc/registry.c]
      	Some NULL ptr dereference bugs fixed.
      
      	* [multimedia/mcicda.c][multimedia/mcistring.c][multimedia/mmsystem.c]
      	Check for NULL ptr.
      	Fill mciOpenDrv when mixing mciOpen and mciSendString("open ..").
      	Aliasing should work for all MCI devices.
      
      	* [windows/win.c]
      	Allow passing invalid window handles to CloseWindow().
      
      Tue Jun 25 20:02:15 1996  Jukka Iivonen <iivonen@cc.helsinki.fi>
      
      	* [files/directory.c] [if1632/kernel32.spec]
      	GetSystemDirectory32A and GetSystemDirectory32W added.
      
      	* [misc/main.c] [if1632/kernel32.spec]
      	Beep and SetEnvironmentVariable32W added.
      3051b644
  10. 11 Jun, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960611 · d90840e1
      Alexandre Julliard authored
      Tue Jun 11 15:20:43 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [debugger/break.c] [loader/signal.c]
      	Fixed breakpoints in 32-bit code.
      
      	* [include/windows.h]
      	Added many more Win32 versions of standard structures.
      
      	* [include/winreg.h] [misc/registry.c]
      	Moved private types into registry.c.
      
      	* [memory/string.c] (New file)
      	Moved most string functions from misc/lstr.c; added Win32 version
      	of all functions.
      
      	* [misc/wsprintf.c]
      	Implemented Win32 wsprintf functions.
      
      	* [objects/bitmap.c]
      	Implemented Win32 bitmap functions.
      
      	* [windows/dialog.c]
      	Don't set dialog procedure before the controls are created. This
      	avoids a crash in Winhelp.
      
      Tue Jun 11 14:10:06 1996 Martin von Loewis <loewis@informatik.hu-berlin.de>
      
      	* [controls/menu.c] [if1632/user.spec] [windows/message.c]
      	Replace PeekMessage with PeekMessage16.
      
      	* [if1632/kernel32.spec][misc/main.c]
      	GetVersion32,GetVersionEx32A,GetVersionEx32W: new functions.
      	MAIN_ParseVersion: new function, new command line option -winver.
      	GetVersion: modified to take command line argument into account.
      
      	* [if1632/kernel32.spec] [win32/process.c]
      	FreeLibrary32: new function.
      	TlsAlloc: initialize Tls to zero.
      	InterlockedIncrement,InterlockedDecrement,InterlockedExchange: new
      	functions.
      
      	* [if1632/kernel32.spec]
      	SetErrorMode,GetActiveWindow: new relays to existing functions.
      
      	* [if1632/kernel32.spec][win32/user32.c]
      	PeekMessage32A,PeekMessage32W: new functions.
      
      	* [include/struct32.h][include/windows.h]
      	Moved MSG32 to windows.h.
      	Renamed MSG to MSG16.
      	Modified prototypes to use MSG16
      
      	* [include/winbase.h]
      	OSVERSIONINFO32A,OSVERSIONINFO32W: new structures.
      
      Sun Jun  9 20:53:30 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      
      	* [if1632/Makefile.in] [loader/builtin.c]
      	version.dll,lz32.dll added.
      
      	* [include/lzexpand.h] [if1632/lz32.spec] [if1632/lzexpand.spec]
      	  [misc/lzexpand.c]
      	lz32.dll added.
      	Modified to new function naming standard.
      
      	* [include/ver.h] [if1632/ver.spec] [if1632/version.spec] [misc/ver.c]
      	version.dll added (win32 version of ver.dll).
      	Modified to new function naming standard.
      	Use registry to look up a LOCALE langids too.
      	(VerInstallFile,VerFindFile still stubs)
      
      Fri Jun  7 20:40:20 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [files/file.c]
      	Added a warning if GetTempFileName() gets a bad drive parameter.
      
      	* [misc/commdlg.c]
      	Changed file listbox color to gray in SaveFile dialog 
      	(just like Windows does this).
      d90840e1
  11. 06 Jun, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960606 · 1e9ac798
      Alexandre Julliard authored
      Wed Jun  5 20:13:54 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [controls/button.c] [controls/listbox.c]
      	Fixed wParam of WM_DRAWITEM message.
      
      	* [if1632/Makefile.in] [loader/builtin.c]
      	Remove WPROCS32 DLL, as the relay code can call Wine routines
      	directly.
      
      	* [loader/module.c] [loader/ne_image.c]
      	Fixed initial stack layout for self-loading modules.
      
      	* [tools/build.c]
      	Fixed data segment building for Win16 modules.
      
      	* [windows/defdlg.c]
      	Implemented Win32 versions of DefDlgProc().
      
      	* [windows/dialog.c]
      	Merged Win16 and Win32 dialog code.
      	Added support for control extra data in dialog item template.
      
      	* [windows/win.c]
      	Unified Win16 and Win32 versions of CreateWindow().
      	Implemented Win32 version of GetWindowLong().
      
      	* [windows/winproc.c]
      	Changed the implementation of window procedures, so that 16-bit
      	winprocs are valid segmented pointers.
      
      Sun Jun  2 16:39:46 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      
      	* [misc/registry.c]
      	Fixed another bug in the w95 loader. Quietened some debug output.
      
      Sun Jun  2 10:00:22 1996  Ulrich Schmid  <uschmid@mail.hh.provi.de>
      
      	* [windows/winproc.c]
      	Bug fix: WM_PARENTNOTIFY: don't fall through to WM_SETTEXT.
      
      Sat Jun  1 12:37:22 1996  Tristan Tarrant <tst@sthinc.demon.co.uk>
      
      	* [resources/TODO] [resources/sysres_It.rc]
      	Updated font dialog box.
      
      Thu May 30 21:05:19 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [include/commdlg.h] [misc/commdlg.c]
      	ChooseFont() and ChooseColor(): 
      	Bugfixes and added more support for some CF_* and CC_* flags: 
      	dialog templates and font size control.
      	Bugfix in structure definition of CHOOSECOLOR definition.
      
      	* [ipc/dde_proc.c] [windows/event.c]
      	Replaced SendMessage with SendMessage16 and added inclusion of
       	dde_proc.h for error-free compilation of ipc module.
      
      Thu May 30 19:00:00 1996  Alex Korobka <alex@phm30.pharm.sunysb.edu>
      
      	* [windows/scroll.c]
      	Made ScrollDC to save/restore current clipping region.
      
      	* [misc/clipboard.c] [windows/event.c]
      	Implemented most of the previously missing features (not tested), 
      	improved text pasting from/to X. 
      
      	* [if1632/user.spec] [if1632/gdi.spec] [objects/dc.c]
      	  [objects/gdiobj.c] [objects/clipping.c] [windows/dce.c]
      	  [windows/winpos.c] [windows/painting.c]
      	Updated DCE code, implemented dynamic invalidation of owned DCs.
      	This fixes a lot of problems with scrolling in WinWord. Not
      	sure about the effect on -desktop.
      
      Wed May 29 23:35:44 1996  Jukka Iivonen <iivonen@cc.helsinki.fi>
      
      	* [win32/time.c] [if1632/kernel32.spec]
      	Added SetSystemTime and SetTimeZoneInformation.
      
      	* [if1632/kernel32.spec]
      	Added lstrcat, lstrcatA, lstrcmp, lstrcmpA, lstrcpy, lstrlen.
      
      	* [include/windows.h]
      	Added SYSTEM_POWER_STATUS structure and prototypes for
      	GetSystemPowerStatus, SetSystemPowerState, SetSystemTime.
      
      	* [include/kernel32.h]
      	Added a prototype for SetTimeZoneInformation.
      
      	* [win32/environment.c] [if1632/kernel32.spec]
      	Added GetSystemPowerStatus and SetSystemPowerState stubs.
      1e9ac798
  12. 21 May, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960521 · 2d93d000
      Alexandre Julliard authored
      Tue May 21 14:06:07 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [controls/button.c]
      	Made ButtonWndProc a 32-bit window procedure.
      
      	* [controls/desktop.c]
      	Made DesktopWndProc a 32-bit window procedure.
      	Added handling of WM_SETCURSOR.
      
      	* [controls/menu.c]
      	Allocate menu items and strings on the 32-bit system heap.
      	Implemented Win32 versions for ChangeMenu, InsertMenu, ModifyMenu,
      	AppendMenu and LoadMenuIndirect.
      
      	* [controls/widgets.c]
      	Added possibility to have 32-bit built-in classes.
      
      	* [files/drive.c]
      	Implemented GetLogicalDrive() and GetLogicalDriveStrings().
      
      	* [misc/spy.c] [include/spy.h]
      	Added support for spying Win32 messages.
      
      	* [loader/builtin.c]
      	Fixed bug in -dll option parsing.
      
      	* [memory/local.c]
      	Added back the change by Huw D. M. Davies to free the block in
      	LocalRealloc() before allocating the new one.
      
      	* [objects/bitmap.c] [objects/cursoricon.c] [objects/oembitmap.c]
      	Fixed bug in bitmap size that caused memory corruption for 24bpp.
      
      	* [windows/defwnd.c]
      	Implemented Win32 version of DefWindowProc().
      
      	* [windows/dialog.c]
      	Implemented Win32 version of SendDlgItemMessage,
      	Get/SetDlgItemText and Get/SetDlgItemInt.
      
      	* [windows/mdi.c]
      	Implemented Win32 version of DefFrameProc() and DefMDIChildProc().
      	Don't make a copy of the OBM bitmaps for every MDI window.
      
      	* [windows/message.c]
      	Implemented Win32 version of SendMessage().
      	
      	* [windows/winproc.c] [windows/class.c] [windows/win.c]
      	New scheme for 32-bit window procedures to replace aliases. All
      	32-bit window procedure get a 16-bit address pointing to a
      	WINDOWPROC structure.
      	Implemented Ansi<->Unicode translation for CallWindowProc().
      	Added translation of WM_DRAWITEM between Win16 and Win32.
      
      	* [windows/win.c] [include/callback.h]
      	Added ugly hack to build CREATESTRUCT on the stack when sending
      	WM_NCCREATE.
      	Implemented Win32 version of Get/SetWindowWord/Long and
      	Get/SetWindowText.
      	
      Fri May 17 10:20:16 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [controls/button.c]
      	Avoid gray text on gray background in disabled push buttons
      	using a b/w raster and some raster operations (PatBlt,BitBlt).
      
      	* [objects/text.c]
      	DrawText(): don't draw an underbar anymore if DT_CALCRECT is set.
      2d93d000
  13. 16 May, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960516 · e2bfa4c7
      Alexandre Julliard authored
      Thu May 16 13:35:31 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [*/*.c]
      	Renamed RECT, POINT and SIZE structures to RECT16, POINT16 and
      	SIZE16. Implemented Win32 version of most functions that take
      	these types as parameters.
      
      	* [configure]
      	Patched autoconf to attempt to correctly detect -lnsl and
      	-lsocket. Please check this out.
      	
      	* [controls/button.c]
      	Added support for Win32 BM_* messages.
      
      	* [controls/menu.c]
      	Avoid sending extra WM_MENUSELECT messages. This avoids crashes
      	with Excel.
      
      	* [memory.heap.c] [include/heap.h]
      	Added support for SEGPTRs in Win32 heaps. Added a few macros to
       	make using SEGPTRs easier. They are a bit slower than MAKE_SEGPTR,
       	but they work with Win32.
      
      	* [memory/atom.c]
      	Implemented Win32 atom functions.
      
      	* [memory/local.c]
      	Fixed LocalReAlloc() changes to avoid copying the whole block twice.
      
      	* [win32/memory.c]
      	Use /dev/zero instead of MAP_ANON for VirtualAlloc().
      
      	* [windows/class.c]
      	Properly implemented the Win32 class functions.
      
      	* [windows/winproc.c] (New file)
      	New file handling the message translation between Win16 and Win32.
      
      Mon May 13 18:00:00 1996 Alex Korobka <alex@phm30.pharm.sunysb.edu>
      
      	* [windows/mdi.c] [windows/menu.c]
      	Improved WM_MDICREATE and WM_MDICASCADE handling.
      
      	* [windows/event.c] [objects/bitblt.c]
      	Handle GraphicsExpose event for BitBlt from screen to screen.
      
      	* [windows/event.c] [windows/win.c] [windows/nonclient.c]
      	Bunch of fixes for problems with -managed.
      
      	* [windows/win.c] [windows/winpos.c]
      	Changed conditions for WM_SIZE, WM_MOVE, and WM_GETMINMAXINFO
      	in CreateWindow.
      
      	* [windows/win.c] [windows/queue.c] [misc/user.c]
      	Do not send WM_PARENTNOTIFY when in AppExit and call WH_SHELL
      	on window creation/destruction.
      
      	* [objects/palette.c]
      	Crude RealizePalette(). At least something is visible in LviewPro.
      
      Sun May 12 02:05:00 1996  Thomas Sandford <t.d.g.sandford@prds-grn.demon.co.uk>
      
      	* [if1632/gdi32.spec]
      	Added Rectangle (use win16 version).
      
      	* [if1632/kernel32.spec]
      	Added GetWindowsDirectoryA (use win16 GetWindowsDirectory).
      
      	* [if1632/user32.spec]
      	Added GetSubMenu, MoveWindow, SetScrollPos, SetScrollRange (use win16
      	versions).
      	Added SetWindowsHookExA (empty stub for now).
      
      	* [include/handle32.h]
      	Changed #include <malloc.h> to #include <stdlib.h> to prevent
      	hate message from FreeBSD compiler.
      
      	* [win32/newfns.c]
      	Added new function SetWindowsHookEx32A (empty stub for now).
      
      	* [win32/user32.c]
      	Removed redundant debugging printf statement.
      
      Sun May 12 01:24:57 1996  Huw D. M. Davies <h.davies1@physics.oxford.ac.uk>
      
      	* [memory/local.c]
      	Avoid creating adjacent free blocks.
      	Free the block in LocalReAlloc() before allocating a new one.
      	Fixed LocalReAlloc() for discarded blocks.
      	
      Fri May 10 23:05:12 1996  Jukka Iivonen <iivonen@cc.helsinki.fi>
      
      	* [resources/sysres_Fi.rc]
      	ChooseFont and ChooseColor dialogs updated.
      
      Fri May 10 17:19:33 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      
      	* [files/drive.c,if1632/kernel.spec]
      	GetCurrentDirectory(),SetCurrentDirectory() implemented.
      
      	* [if1632/advapi32.spec] [if1632/kernel.spec] [if1632/shell.spec]
      	  [include/windows.h] [include/winreg.h] [loader/main.c]
      	  [misc/main.c] [misc/shell.c] [misc/registry.c]
      	Registry fixes:
      	- loads win95 registry databases,
      	- save only updated keys on default,
      	- now adhers to the new function naming standard,
      	- minor cleanups.
      
      Tue May 7 22:36:13 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [combo.c]
      	Added WM_COMMAND-handling for interaction between EDIT and COMBOLBOX
              and synchronized mine with Greg Kreider's works.
      
      	* [commdlg.c]
      	Bugfix in ChooseFont: font size handling.
      e2bfa4c7
  14. 24 Mar, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960324 · 59730ae1
      Alexandre Julliard authored
      Sun Mar 24 13:13:11 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [include/win.h] [windows/*.c]
      	Replaced next, parent, child and owner handles by pointers in WND
      	structure. This should improve performance, and should be
      	reasonably safe since Microsoft did the same in Win95.
      
      	* [include/wintypes.h] [*/*]
      	Redefined HANDLE to be UINT instead of a pointer for Winelib. This
      	allows removing a lot of unnecessary casts and NPFMTs.
      
      	* [windows/caret.c]
      	Create the caret brush upon CreateCaret(); use the bitmap
      	dimensions for the caret.
      	Fixed CARET_DisplayCaret() to use PatBlt().
      
      Fri Mar 22 16:00:00 1996  Anand Kumria <akumria@ozemail.com.au>
      
      	* [misc/winsocket.c]
      	More sanity checks, fixup some erroneous return codes.
      
      	* [documentation/winsock]
      	Description of how compatible the winsock is currently.
      
      Fri Mar 22 13:05:34 1996  Ulrich Schmid  <uschmid@mail.hh.provi.de>
      
      	* [library/winmain.c]
      	Set `lpszCmdParam' by concatenating arguments.
      
      	* [loader/module.c]
      	WinExec: accept Unix commands, use Wine emulator.
      
      Mon Mar 18 12:16:27 1996  Martin von Loewis <loewis@informatik.hu-berlin.de>
      
      	* [if1632/kernel32.spec][win32/thread.c][include/kernel32.h]
      	DeleteCriticalSection, EnterCriticalSection,
       	InitializeCriticalSection, LeaveCriticalSection, TlsAlloc,
       	TlsFree, TlsGetValue, TlsSetValue: new functions.
      	CRITICAL_SECTION: new structure.
      
      	* [if1632/kernel32.spec][win32/code_page.c]
      	WideCharToMultiByte: new function.
      
      	* [if1632/kernel32.spec][win32/file.c]
      	GetFileAttributesA: new function.
      
      	* [if1632/kernel32.spec][misc/main.c]
      	GetEnvironmentStringsW, FreeEnvironmentStringsA,
       	FreeEnvironmentStringsW: new functions.
      	
      	* [if1632/user.spec][win32/cursoricon32.c][win32/Makefile.in]
      	cursoricon32.c: new file.
      	LoadCursorA, LoadCursorW: modified implementation from LoadCursor
       	to WIN32_*.
      	LoadIconA, LoadIconW: modified implementation from LoadIconA32
      	to WIN32_*.
      
      	* [include/struct32.h]
      	pragma pack inserted.
      	CURSORICON32 structures added.
      
      	* [include/winnls.h]
      	Constants CP_* and WC_* added.
      
      	* [loader/pe_image.c]
      	PE_LoadModule: call PE_InitDLL with hModule rather than wpnt.
      
      Sun Mar 17 16:59:12 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [misc/commdlg.c]
      	Introduced hook function handling in file dialog.
      	Removed an unnecessary ShowWindow call in FILEDLG_WMCommand().
      
      Thu Mar 14 10:50:00 1996  Thomas Sandford <t.d.g.sandford@prds-grn.demon.co.uk>
      
      	* [if1632/gdi32.spec]
      	Added GetNearestColor.
      
      	* [if1632/kernel32.spec]
      	Added GlobalAddAtomA.
      
      	* [win32/param32.c]
      	Added stackframe.h to includes.
      	WIN32_GlobalAddAtomA() - new function.
      59730ae1
  15. 14 Mar, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960314 · b817f4fb
      Alexandre Julliard authored
      Wed Mar 13 19:46:50 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [controls/edit.c]
      	Removed calls to memmove (not portable).
      
      	* [debugger/dbg.y] [debugger/debug.l]
      	Prefixed all token with 't' to avoid conflicts with type
      	definitions.
      	Added 'walk queue', 'walk class' and 'info class' commands.
      
      	* [debugger/info.c]
      	Moved queue and window information functions to windows/queue.c
      	and windows/win.c respectively.
      
      	* [loader/signal.c]
      	Added SIGHUP handling to force entry into built-in debugger.
      	Cleaned up a bit.
      
      	* [misc/spy.c]
      	General cleanup and performance improvements.
      
      	* [windows/class.c]
      	Added CLASS_DumpClass() and CLASS_WalkClasses() functions for
      	debugger.
      
      	* [windows/event.c]
      	Pressing Ctrl-Alt-Return forces an entry into the debugger. Not
      	sure if this key combination is a good choice...
      
      	* [windows/message.c] [windows/queue.c] (New file)
      	Moved message queue handling functions to windows/queue.c.
      
      Tue Mar 12 14:55:16 1996  Onno Hovers  <onno@stack.urc.tue.nl>
      
      	* [if1632/except.S] [include/except.h] [win32/except.c] (New files)
      	Implemented Win32 exception functions: RaiseException(),
       	RtlUnwind(), SetUnhandledExceptionFilter() and
      	UnhandledExceptionFilter().
      
      Mon Mar 11 19:23:29 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [controls/listbox.c] [include/listbox.h]
      	Special handling for COMBOLBOX styles introduced via extension of
       	HEADLIST structure: lphl->dwStyle.
      
      Mon Mar 11 13:31:06 1996  Greg Kreider <kreider@natlab.research.philips.com>
      
      	* [controls/combo.c]
      	Any mouse movement within a small distance (defined by CBLMM_EDGE)
      	of the top or bottom edge causes the window to scroll.  Also moved 
      	some assignments so the routine works correctly.
      
      	* [controls/listbox.c]
      	Changing selection in ListBoxSetCurSel now updates PrevFocused.
      	Added to LBSetFont and CreateListBoxStruct a fake hdc that tests 
      	and sets the standard text height.
      
      Sun Mar 10 08:39:23 1996  Alex Korobka <alex@phm30.pharm.sunysb.edu>
      
      	* [windows/dce.c]
      	Fixed memory leak in DCE_ClipWindows().
      b817f4fb
  16. 09 Mar, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960309 · d2e1c1a4
      Alexandre Julliard authored
      Fri Mar  8 19:07:18 1996  Alexandre Julliard  <julliard@lrc.epfl.ch>
      
      	* [configure.in]
      	Quote '[' and ']' in the test program for the strength-reduce
      	bug. This should work much better...
      
      	* [files/file.c]
      	Augmented DOS_FILE structure. Most internal functions now return a
      	DOS_FILE* instead of a Unix handle.
      	Added a local file array to replace the PDB list upon startup, to
      	allow using file I/O functions before the first task is created.
      	Added FILE_SetDateTime() and FILE_Sync() functions.
      	
      	* [loader/module.c]
      	Use the DOS file I/O functions in MODULE_LoadExeHeader().
      
      	* [objects/bitblt.c]
      	Use visible region instead of GC clip region to clip source
      	area. This fixes the card drawing bug in freecell.
      
      	* [objects/region.c]
      	Fixed CombineRgn() to allow src and dest regions to be the same.
      
      Fri Mar  8 16:32:23 1996  Frans van Dorsselaer <dorssel@rulhm1.leidenuniv.nl>
      
      	* [controls/EDIT.TODO]
      	Updated so it reflects the current status.
      
      	* [controls/edit.c]
      	Implemented internal EDIT_WordBreakProc().
      	Implemented ES_READONLY.
      	Implemented WM_LBUTTONDBLCLK to select whole words.
      	Fixed a lot of types in the function definitions.
      
      Wed Mar  6 19:55:00 1996  Alex Korobka <alex@phm30.pharm.sunysb.edu>
      
      	* [debugger/info.c]
      	Added "walk window" command to walk window list. 
      
      	* [windows/mdi.c]
      	Added proper(?) WM_MDISETMENU message handling.
      
      Wed Mar  6 09:27:12 1996  Martin von Loewis <loewis@informatik.hu-berlin.de>
      
      	* [if1632/callback.c][if1632/relay32.c]
      	RELAY32_CallWindowProcConvStruct: new function.
      
      	* [win32/struct32.c][win32/Makefile.in][win32/param.c][win32/user32.c]
      	struct32.c: new file. Moved all structure conversions into that file
      	PARAM32_POINT32to16,MSG16to32,USER32_RECT32to16: 
      	renamed to STRUCT32_POINT32to16, ...
      	WIN32_POINT,WIN32_MSG,WIN32_RECT,WIN32_PAINTSTRUCT: renamed to
      	POINT32, ...
      	New conversion functions for NCCALCSIZE_PARAMS, WINDOWPOS,
       	CREATESTRUCT.
      
      	* [include/windows.h][misc/exec.c]
      	WINHELP, MULTIKEYHELP, HELPWININFO: new structures
      	WinHelp: Reimplemented. Thanks to Peter Balch
       	(100710.2566@compuserve.com) for his valuable research.
      
      	* [win32/winprocs.c]
      	WIN32_CallWindowProcTo16: new function, call in
       	USER32_DefWindowProcA,...
      
      Mon Mar  4 23:22:40 1996  Jim Peterson <jspeter@birch.ee.vt.edu>
      
      	* [include/wintypes.h]
      	Added "#define __export".
      
      	* [objects/bitblt.c]
      	Put in a few hacks to make bitblt-ing work when upside-down and/or
      	mirrored.  BITBLT_StretchImage should really be checked over
      	thoroughly.
      
      	* [programs/progman/main.c]
      	Added "#include <resource.h>" for definition of HAVE_WINE_CONSTRUCTOR.
      
      	* [rc/parser.h] [rc/parser.l] [rc/parser.y] [rc/winerc.c]
      	Eliminated shift/reduce conflict in style definition.
      	Added crude error message support: "stdin:%d: parse error before '%s'".
      	Implemented string table support to the best of my ability (it works
      	with LoadString() calls).
      
      	* [windows/nonclient.c]
      	Fixed bug in NC_DoSizeMove() that made system menu pop up when title
      	bar of non-iconized window was clicked (checked for iconization).
      
      Mon Mar 04 20:55:19 1996  Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
      
      	* [if1632/lzexpand.spec] [if1632/relay.c]
      	  [include/lzexpand.h][misc/lzexpand.c]
      	LZEXPAND.DLL added.
      
      Sun Mar 03 18:10:22 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [windows/win.c]
      	Prevent usage of invalid HWNDs in WIN_EnumChildWin(),
      	this prevents too early termination of EnumChildWindows().
      d2e1c1a4
  17. 31 Jan, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960131 · 7e56f684
      Alexandre Julliard authored
      Wed Jan 31 10:58:00 1996  Alexandre Julliard  <julliard@sunsite.unc.edu>
      
      	* [configure.in]
      	Added --with-dll option to build libwine.so.
      
      	* [controls/listbox.c]
      	Fixed ListBoxDirectory(), DlgDirSelect() and
      	DlgDirList(). Hopefully their behavior is correct now.
      
      	* [controls/menu.c]
      	Use SEGPTRs in ChangeMenu(), InsertMenu(), AppendMenu() and
       	ModifyMenu() for the item data, to avoid corrupting the pointer
       	for owner-drawn items.
      
      	* [controls/static.c]
      	Attempt to load OEM icons for SS_ICON controls. Probably not
      	entirely correct.
      	Don't clip the text output.
      
      	* [files/directory.c]
      	Add temp dir and Windows dir to environment.
      
      	* [files/dos_fs.c]
      	Fixed a few path handling bugs in DOSFS_GetUnixFileName().
      	Cache last used directory in DOSFS_FindNext() to avoid quadratic
      	search time.
      
      	* [files/drive.c]
      	New format for drives configuration in wine.conf; allows
      	specifying the type, label and serial number of a drive.
      
      	* [files/file.c]
      	New function FILE_OpenUnixFile to make sure we don't open a
      	directory instead of a file.
      	Fixed DOSFS_GetUnixFileName() check_last flag in FILE_MakeDir().
      
      	* [files/profile.c]
      	Rewrote profile handling. Should be closer to Windows behavior now.
      	New function PROFILE_GetWineIniString() to get a string from wine.conf.
      	Support environment variables in wine.conf.
      
      	* [loader/task.c]
      	Fixed the order of deletion in TASK_DeleteTask() to avoid memory
      	corruption.
      
      	* [memory/global.c]
      	Create a discarded block on GlobalAlloc() if the size is 0; thanks
      	to John Harvey for noticing this.
      
      	* [memory/local.c]
      	LOCAL_GetHeap: make sure the pointer is valid before checking
      	magic number.
      
      	* [misc/main.c]
      	Moved profile and registry saving to ExitWindows(), so we don't
      	try to save them in case of a crash.
      
      	* [miscemu/int21.c]
      	INT21_GetFreeDiskSpace: try to compute the cluster size from the
      	filesystem size instead of hard-coding it to 64.
      	Fixed functions 0x3f and 0x40 to use _hread and _hwrite to allow
      	reading or writing 65535 bytes (thanks to Bruce Milner for this	one).
      
      	* [windows/message.c]
      	Fixed bug in linked-list handling in MSG_DeleteQueue().
      	Simplified SetMessageQueue().
      
      	* [wine.ini] [wine.man]
      	Updated for new drives configuration format.
      
      Tue Jan 30 11:24:46 1996  William Magro  <wmagro@tc.cornell.edu>
      
      	* [controls/edit.c]
      	Implemented ES_PASSWORD style, EM_SETPASSWORDCHAR and
       	EM_GETPASSWORDCHAR messages.
      
      	* [controls/widgets.c]
      	Adjusted class creation flags to better match values Windows uses.
      
      	* [include/windows.h]
      	Fixed ES_NOHIDESEL typo.
      
      	* [loader/ne_image.c]
      	Added detection for zero offset in RADDR fixups. Quicken
      	was in an infinite loop here.
      
      Mon Jan 29 20:12:22 1996  Albrecht Kleine  <kleine@ak.sax.de>
      
      	* [files/dos_fs.c]
      	Bugfix: range error in month value (0..11 set to 1..12).
      
      	* [windows/caret.c]
      	Changed ROP2-mode to R2_NOTXORPEN in CARET_Callback for pulsed
       	appearance of the caret.
      
      	* [windows/mdi.c] [include/mdi.h]
      	Changed MDITile(): added a new parameter WORD wParam for
       	WM_MDITILE second tiling method (MDITILE_HORIZONTAL in wParam) as
       	used in Win3.1
      
      Sun Jan 28 14:20:00 1996  Cameron Heide  <heide@ee.ualberta.ca>
      
      	* [miscemu/int2f.c]
      	Added a small bit of MSCDEX emulation.
      
      	* [windows/alias.c]
      	ALIAS_RegisterAlias was returning the hash value when it should
       	have been returning the record number.
      	
      Sat Jan 27 10:53:51 1996  Jim Peterson <jspeter@birch.ee.vt.edu>
      
      	* [include/shell.h] [include/wintypes.h]
      	Moved definition of HKEY and LPHKEY types to include/wintypes.h.
      	Declared FONTENUMPROC in wintypes.h.
      
      	* [include/windows.h]
      	Added definition of KERNINGPAIR and LPKERNINGPAIR types.  Added
      	declarations for CopyCursor(), CopyIcon(), EnumFontFamilies(),
      	ExtractIcon(), FatalAppExit(), FindExecutable(), GetClipCursor(),
      	GetKerningPairs(), GetQueueStatus(), GetRasterizerCaps(),
      	IsGDIObject(), IsMenu(), IsTask(), RegCloseKey(), RegCreateKey(),
      	RegDeleteKey(), RegEnumKey(), RegOpenKey(), RegQueryValue(),
      	RegSetValue(), ResetDC(), ShellExecute(), SystemParametersInfo(),
      	and wsprintf().
      
      	* [tools/makehtml.pl] [documentation/apiw.index]
      	New files that scan windows.h, commdlg.h, and toolhelp.h and output
      	an HTML sorted list with optional links to www.willows.com and a
      	tally of unimplemented APIW functions.
      
      	* [objects/cursoricon.c]
      	Added Win32 versions of CopyIcon() and CopyCursor() for use in
      	libwine.
      
      	* [win32/resource.c] [win32/winprocs.c]
      	Added '#include "libres.h"' and explicit declarations of windows
      	procs in order to avoid warnings.
      
      	* [windows/utility.c]
      	Added Win32 version of MulDiv() for libwine.
      
      	* [*/*] [include/windows.h]
      	Changed several function declarations to comply more strictly to
      	the windows API (without, hopefully, altering their functionality).
      
      	* [controls/menu.c]
      	Made the return value of CheckMenuItem be the previous state of
       	the menu item if it was found, otherwise -1 as specified in the
       	SDK. This conflicts with the APIW specification, which says it
       	should return TRUE if successful, otherwise FALSE.
      
      	* [include/windows.h]
      	Added obsolete WM_SIZE message wParam names for compatibility.
        	Added WinHelp() command constants, even though they are not yet
       	supported.
      
      	* [rc/winerc.c]
      	Tidied up transform_binary_file().  In argument checking, flattened
      	any invalid characters specified with the prefix argument.
      
      	* [library/libres.c]
      	Made FindResource() case-insensitive when parameter 'name' is a string.
      
      Sat Jan 27 02:30 1996  Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de
      
      	* [files/drive.c]
      	If root "/" is given in wine.conf, use it as last resort.
      
      	* [files/file.c]
      	Report ER_AccessDenied it disk ist not writable
      	More Debug Output
      
      	* [miscemu/int21.c]
      	Squeezed some bugs in ExtendedOpenCreateFile
      	
      	* [windows/winpos.c]
      	Some windows may not be moved or resized. We are missing some
      	structures to be exact, but the approach should help in some cases
      	and make things worse in much fewer.
      
      Fri Jan 26 10:24:00 1996  Thomas Sandford <t.d.g.sandford@prds-grn.demon.co.uk>
      
      	* [loader/pe_image.c]
      	fixup_imports: Find builtins for Borland style entries, too
      
      Fri Jan 26 10:24:00 1996  Martin von Loewis <loewis@informatik.hu-berlin.de>
      
      	* [controls/menu.c]
      	LoadMenu: branch to Win32 for PE modules
      
      	* [if1632/gdi.spec][if1632/kernel32.spec][if1632/user32.spec]
      	DeleteObject, GetPixel, SetPixel,WritePrivateProfileStringA,
      	WriteProfileStringA, EmptyClipboard, EnableMenuItem, EnableScrollBar,
      	EnableWindow, InvalidateRect, SetWindowTextA, WinHelpA: new relays
      	DrawTextA, MoveToEx, GetClientRect, InvalidateRect, LoadBitmapA/W,
      	LoadAcceleratorsA/W, LoadMenu[Indirect]A/W, LoadStringA/W: changed
      	to convert parameters or naming convention
      
      	* [include/kernel32.h][include/wintypes.h]
      	moved WCHAR, defined LPWSTR
      
      	* [include/string32.h][win32/string32.c][include/struct32.h]
      	New files
      
      	* [loader/module.h]
      	LoadModule: exit after returning from PE_LoadModule
      
      	* [loader/pe_image.c]
      	my_wcstombs: isascii does not work on Linux for Unicode
      	PE_LoadImage: Handle directories
      
      	* [misc/user32.c]
      	USER32_RECT32to16, USER32_RECT16to32: new functions
      	implemented new user32 relays
      
      	* [misc/newfns.c]
      	WIN32_WinHelpA: new function
      
      	* [win32/param32.c]
      	New file
      
      	* [win32/resource.c]
      	GetResDirEntry: added support for named entries
      	WIN32_LoadAcceleratorsW: invoke *32 resource functions
      	WIN32_LoadBitmapA: convert name to unicode if appropriate
      	WIN32_ParseMenu: new function
      	implemented new resource functions from user32.spec
      
      Wed Jan 24 18:09:00 1996 Alex Korobka <alex@phm30.pharm.sunysb.edu>
      
      	* [objects/cursoricon.c]
      	GetIconId() and LoadIconHandler() functions.
      
      	* [windows/mdi.c]
      	Better maximization support, TranslateMDISysAccel() function, 
      	misc improvements.
      
      	* [windows/defwnd.c]
      	Fix for WM_WINDOWPOSCHANGED message handler.
      
      	* [windows/winpos.c]
      	Rewrote WindowFromPoint() function.
      
      Sun Jan 21 1996 17:05:09  Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
      
      	* [include/toolhelp.h] [misc/toolhelp.c]
      	Added Notify(Un)Register, but no callbacks yet.
      
      Fri Jan 19 01:43:37 1996 Victor Schneider <root@tailor.roman.org>
      
      	* [Makefile.in]
      	Added target for libwine.so.1.0.
      
      	* [library/winmain.c]
      	For WINELIBDLL, _WinMain just returns hInstance instead of calling
      	WinMain().
      
      	* [misc/main.c]
      	For WINELIBDLL, renamed main() to _wine_main() for calling from the
      	stub main function.
      
      	* [library/winestub.c] (new file)
      	Provides a stub main() function for using libwine.so.
      
      Tue Jan 16 11:04:34 1996  Anand Kumria <akumria@ozemail.com.au>
      
      	* [winsocket.c]
      	Fix EPERM problem.
      
      	* [global.c]
      	Attempt to do some sanity checking in MemManInfo().
      
      	* [Changelog]
      	Fix changelog oversight for previous entry.
      7e56f684
  18. 14 Jan, 1996 1 commit
    • Alexandre Julliard's avatar
      Release 960114 · 4f8c37b4
      Alexandre Julliard authored
      Sun Jan 14 13:45:22 1996  Alexandre Julliard  <julliard@sunsite.unc.edu>
      
      	* [configure.in]
      	Added check for gcc strength-reduce bug.
      
      	* [controls/listbox.c]
      	Changed ListBoxDirectory() to use the new DOS file functions.
      
      	* [controls/menu.c]
      	Fixed parameters for DeleteMenu() call in ChangeMenu().
      
      	* [debugger/stack.c]
      	Also display current frame in back-trace.
      
      	* [files/directory.c] [files/dos_fs.c] [files/drive.c] [files/file.c]
      	Complete rewrite of the DOS file handling.
      	Implemented per-task file handles.
      	Removed default Z: drive; needs to be put explicitely in wine.ini
      	if desired.
      
      	* [loader/module.c]
      	Fixed file descriptor leak in LoadModule().
      
      	* [loader/task.c]
      	Initialise PDB file handle table in TASK_CreateTask().
      	Close file handles on task termination.
      	Implemented SetErrorMode().
      
      	* [misc/network.c]
      	Fixed WNetGetConnection() to use GetDriveType().
      
      	* [misc/xmalloc.c]
      	Added function xstrdup().
      
      	* [miscemu/int21.c]
      	Many changes for new DOS file functions.
      
      	* [miscemu/interrupts.c]
      	Moved DOS_GetEquipment() function into INT_Int11Handler().
      
      	* [windows/win.c]
      	Bug fix: create system menu before sending WM_NCCREATE.
      
      	* [*/*.c]
      	Replaced strcasecmp and strncasecmp by lstrcmpi and lstrncmpi for
      	better portability.
      
      Sat Jan 13 16:13:02 1996  Jim Peterson <jspeter@birch.ee.vt.edu>
      
      	* [include/wintypes.h]
      	Added 'typedef HGLOBAL GOBALHANDLE;'.  This is not precisely in line
      	with the true windows 'typedef HANDLE GLOBALHANDLE;', but I believe
      	it should suffice.
      
      	* [include/winsock.h]
      	Added '#include <arpa/inet.h>' for various declarations.  '#ifdef'-ed
      	out some old style internet address #define's.
      
      	* [loader/task.c]
      	Made MakeProcInstance() return first parameter #ifdef WINELIB32.
      	Made FreeProcInstance() do nothing #ifdef WINELIB32.
      	'#ifdef'-ed out TASK_AllocThunk(), as it was unused in WINELIB32.
      
      	* [library/miscstubs.c]
      	Made GetWndProcEntry16() return ACTIVATEAPP_callback() when called
      	with name="ActivateAppProc".  This hardly seems correct, but it's my
      	best guess as to how the emulator responds.
      
      Sat Jan  6 17:57:45 1996  Martin von Loewis <loewis@informatik.hu-berlin.de>
      
      	* [if1632/kernel32.spec][win32/process.c]
      	WIN32_GetProcAddress, LoadLibraryA: new functions
      
      	* [if1632/relay32.c]
      	RELAY32_GetEntryPoint: Removed code to load PE DLLs
      
      	* [include/pe_image.h][include/pe_exe.h]
      	struct pe_data: new fields base_addr,load_addr,vma_size,pe_reloc
      	struct PE_Reloc_Block: new structure
      
      	* [loader/module.c]
      	MODULE_RegisterModule: new function
      
      	* [loader/pe_image.c]
      	PE_FindExportedFunction,PE_GetProcAddress: new functions
      	fixup_imports: expect struct w_files* now, fill dlls_to_init,
      	               load PE DLLs
      	do_relocations: new functions
      	calc_vma_size: renamed from dump_table
      	PE_LoadImage: use malloc to allocate memory for image
      	PE_InitDLL: expect HMODULE
      	PE_InitializeDLLs: new function
      
      	* [loader/task.c]
      	NE_InitializeDLLs: branch to PE_InitializeDLLs for PE modules
      	GetExePtr: Accept PE modules
      
      	* [misc/commdlg.c]
      	FILEDLG_WMCommand: unpack WIN32 WM_COMMAND appropriately for WineLib
      
      Thu Jan  4 11:36:21 1996  Manfred Weichel <Manfred.Weichel@mch.sni.de>
      
      	* [misc/port.c]
      	New file with usleep() function for SVR4.
      
      	* [configure.in]
      	Check for usleep() function.
      
      Tue Jan 02 14:00:00 1996  Anand Kumria <akumria@ozemail.com.au>
      
      	* [if1632/toolhelp.spec] [include/toolhelp.h]
      	  [misc/user.c] [windows/message.c]
      	Implement TOOLHELP.80 TimerCount. Fix GetTickCount.
      
      	* [winsocket.c]
      	Fixed ENOENT error.
      
      	* [miscemu/dpmi.c]
      	Implement DPMI Get Page Size (AX=0604, INT 31)
      
      	* [memory/global.c]
      	Implement TOOLHELP.72 GetMemManInfo.
      
      Mon Jan  2 10:33:00 1996  Thomas Sandford <t.d.g.sandford@prds-grn.demon.co.uk>
      
      	* [if1632/callback.c]
      	CallWindowProc() - When calling RELAY32_CallWindowProc, check
      	whether lParam should be a SEGPTR, and if so convert it to one.
      
      	* [if1632/gdi.spec] [if1632/kernel32.spec] [if1632/user32.spec]
      	Numerous functions added, mostly calls to original (win16)
       	functions.  Note that some (many) of these are probably not
       	strictly correct, but with these additions freecell will at least
       	display its main window though it is garbled.
      
      	* [if1632/winprocs.spec]
      	Completely rewritten - all WndProcs now have win32 versions to
      	help with the lparam SEGPTR fix in callback.c
      
      	* [include/kernel32.h]
      	LPTCSTR defined.
      
      	* [include/peexe.h]
      	Definition of PE_Export_Directory amended.
      
      	* [include/resource32.h]
      	New file.
      
      	* [include/stackframe.h]
      	Definition of MAKE_SEGPTR macro #ifdef'd out and replaced with
      	prototype for replacement function in memory/selector.c which
      	can operate on any given memory address. This is currently
      	required for win32 support. It is a dreadful cludge, and will
      	certainly slow down other programs. If you are not interested
      	in win32 development you may wish to reverse this patch.
      
      	* [include/windows.h]
      	Definition of SW_SHOWDEFAULT added.
      
      	* [loader/pe_image.c]
      	Extensive rewrites of xmmap() fixup_imports().
      	PE_LoadImage() - initialisation of bss added, extraction of
      	module name fixed, initialisation of DLL added.
      	PE_InitDLL() - now does something.
      	PE_Win32CallToStart() - initialisation of TEB pointed to by
      	fs added.
      	PE_InitTEB() created to perform TEB initialisation.
      
      	* [memory/selector.c] 
      	New function MAKE_SEGPTR() - see include/stackframe.h above.
      
      	* [misc/user32.c]
      	USER32_RegisterClassA(), CreateWindowExA() memory allocation
      	method changed. This is probably now unnecessary with the
      	new MAKE_SEGPTR handling code.
      	USER32_DefWndProcA() removed to win32/winprocs.c
      	USER32_TranslateMessage added.
      
      	* [tools/build.c]
      	handling of win32 spec files changed to support gcc2.6.X
      	this requires optimisations to be disabled.
      
      	* [win32/resource.c] [win32/newfns.c] [win32/heap.c] [win32/winprocs.c]
      	New files.
      
      	* [win32/Makefile.in]
      	New files heap.c, newfns.c, resource.c and winprocs.c added to build.
      
      	* [win32/file.c]
      	New function W32_SetHandleCount.
      
      	* [win32/init.c]
      	WIN32_GetModuleHandle() - now returns handle of running process
      	if called with NULL.
      	GetStartupInfoA() - set cbReserved2 to 0.
      
      	* [win32/memory.c]
      	VirtualAlloc() - set mmap() file parameter to -1 instead of 0 to make
      	it work with FreeBSD. Also check for return value. Removed extra
      	return.
      
      	* [windows/winpos.c]
      	ShowWindow() - SW_SHOWDEFAULT handling kludged in.
      4f8c37b4
  19. 12 Dec, 1995 1 commit
    • Alexandre Julliard's avatar
      Release 951212 · d471965c
      Alexandre Julliard authored
      Mon Dec 11 19:08:55 1995  Alexandre Julliard  <julliard@sunsite.unc.edu>
      
      	* [misc/lstr.c]
      	Replaced wine_strncpy() by a 32-bit version of lstrcpyn(), since
       	they do the same job.
      
      	* [tools/build.c]
      	Fixed __attribute__((stdcall)) to make it compile with gcc
      	versions under 2.7. Doesn't mean it will run OK though...
      
      Sat Dec 09 13:22:58 1995  Cameron Heide  <heide@ee.ualberta.ca>
      
      	* [include/kernel32.h] [include/winerror.h]
      	Added file attribute definitions and more error codes.
      
      	* [win32/error.c]
      	Added some rudimentary errno-to-Win32 error conversion
      	code.
      
      	* [win32/file.c]
      	Added to GetFileInformationByHandle, filled in some known
      	error codes, and switched to dprintf_win32.
      
      	* [win32/time.c]
      	Added GetLocalTime.
      
      Fri Dec  8 14:37:39 1995  Jim Peterson <jspeter@birch.ee.vt.edu>
      
      	* [controls/combo.c]
      	Converted functions of the type LONG _(HWND,WORD,LONG) to the type
      	LRESULT _(HWND,WPARAM,LPARAM) where needed.
      
      	* [include/libres.h]
      	Restructured libres prototypes to closer match the windows API.
      
      	* [include/windows.h]
      	Changed several API prototypes' parameter types from 'short' to INT,
      	which is #defined as short in the emulator, but is a normal int in
      	WINELIB32.  Also changed SEGPTR from DWORD to void* when WINELIB32.
      	(This creates a lot of warnings at library-compile time, but less
      	warnings at app-compile time.  I'll remove the warnings soon.)
      
      	* [loader/resource.c]
      	Fixed parameter mismatch in call to LIBRES_FindResource().  Changed
      	various implementations of the LIBRES_* API functions.
      
      	* [loader/signal.c]
      	Deleted local 'i' from win_fault(), since it was unused.
      
      	* [objects/bitblt.c]
      	Mirrored changes to include/windows.h mentioned above.
      
      	* [toolkit/hello3.c]
      	Changed LoadMenuIndirect() call to LoadMenu() to test the new
      	resource registration technique.
      
      	* [toolkit/libres.c]
      	Removed definition of 'struct resource' and fixed bugs in the resource
      	implementation.  Implemented LIBRES_FindResource.
      
      	* [windows/graphics.c]
      	Mirrored changes to include/windows.h mentioned above.
      
      Thu Dec  7 23:15:56 1995     Martin von Loewis <loewis@informatik.hu-berlin.de>
      
      	* [controls/edit.c]
      	LOCAL_HeapExists: Changed parameter to HANDLE. For WineLib, return true
      
      	* [controls/listbox.c]
      	CreateListBoxStruct: Initialize HeapSel to 0 for WineLib
      
      	* [include/listbox.h]
      	change HeapSel from WORD to HANDLE
      
      	* [include/resource.h][rc/winerc.c]
      	struct ResourceTable: removed
      	struct resource: moved to header file
      	autoregister resources if supported by compiler
      
      	* [memory/local.h]
      	LOCAL_GetHeap: expect HANDLE rather than WORD
      	
      	* [toolkit/Makefile.in]
      	Add ALLCFLAGS to make hello3
      
      	* [toolkit/heap.c]
      	LocalFree, HEAP_Free: handle 0 parameter gracefully
      
      Wed Dec 06 15:34:23 1995  Greg Cooper <cooper@ima-inc.com>
      
      	* [misc/winsocket.c]
      	Fixed the msgsnd and msgrcv errors that winsock programs get.
      
      Wed Dec 06 12:47:23 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
      	
      	* [if1632/kernel.spec]
      	Fixed _hread and _hwrite return type
      
      	* [if1632/relay32.c] [loader/pe_image.c]
      	Hacked loading of PE-dll's in
      
      	* [win32/advapi.c]
      	Added stubs for RegCreateKeyEx, RegSetValueEx, RegQueryValueEx
      
      	* [win32/file.c]
      	Added stubs for OpenFileMapping, CreateFileMapping, MapViewOfFileEx
      
      	* [win32/process.c]
      	Added stubs for CreateMutexA, ReleaseMutex, CreateEventA,
      	WaitForSingleObject, DuplicateHandle, GetCurrentProcess
      	
      Mon Dec 04 13:06:37 1995   Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
      
      	* [include/wine.h] [misc/lstr.c]
      	Define wine_strncpy(). This function does not pad the buffer with 
      	zeroes like GNU strncpy(), which might break some Windows programs
      	that pass bogus size arguments.
      
      	* [loader/module.c]: GetModuleFileName(),
      	[misc/commdlg.c]: GetFileTitle(),
      	[misc/keyboard.c], [misc/lstr.c]: lstrcpyn(),
      	[misc/ole2nls.c], [misc/profile.c], [multimedia/mcistring.c],
      	[multimedia/mmsystem.c], [objects/font.c]:
      	Use wine_strncpy() where strings are returned to Windows programs.
      	
      	* [objects/metafile.c]
      	PlayMetafile(): Clear the handle table before using it.
      
      	* [misc/shell.c] [misc/main.c]
      	Rename SHELL_RegCheckForRoot() to SHELL_Init() and call it from main().
      	
      	* [misc/profile.c]
      	load(): Need to handle comments.
      	
      	* [toolkit/libres.c]
      	Make it compile.
      	
      	* [windows/nonclient.c]
      	Use MAKE_SEGPTR macro in two places where a user heap block used
      	to be allocated instead.
      
      Sat Dec 02 16:43:43 1995 Ramon Garcia <ramon@ie3.clubs.etsit.upm.es>
      
      	* [windows/winpos.c]
      	In function SetWindowPos: do not redraw the parent of
      	a window if the specified window is placed on the top.
      	This avoids that ShowWindow(hwnd,1) hides hwnd instead
      	of showing it.
      
      Sat Dec 02 11:00:00 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
      
      	* [windows/scroll.c]
      	Now it can scroll children along with the client region of parent 
              window. Tried to optimize update region calculation. 
      
      	* [windows/mdi.c]
      	ScrollChildren function, more other features added. Basically
      	a rewrite.
      
      	* [windows/winpos.c] [windows/focus.c]
      	Reimplemented window activation and focus handling.
      
      	* [windows/nonclient.c]
      	Added new flag WIN_NCACTIVATED.
      
      	* [windows/message.c] [loader/task.c]
      	Small changes (to maintain linked list of message queues).
      
      Wed Nov 29 15:51:48 1995  Daniel Schepler  <daniel@shep13.wustl.edu>
      
      	* [include/options.h] [misc/main.c] [windows/defwnd.c]
      	  [windows/event.c] [windows/nonclient.c] [windows/win.c] [Wine.man]
      	Implemented a -managed option to replace the standard Windows
      	frame of top-level windows with the window manager's decorations.
      	If a top-level window makes its own frame, this will still show
      	up, inside the window manager decorations (I believe ctl3dv2.dll
      	would do this, although I can't test this).
      d471965c
  20. 26 Nov, 1995 1 commit
    • Alexandre Julliard's avatar
      Release 951124 · ade697e8
      Alexandre Julliard authored
      Tue Nov 21 18:49:10 1995  Alexandre Julliard  <julliard@sunsite.unc.edu>
      
      	* [configure.in] [Makefile] [misc/dos_fs.c]
      	Got rid of autoconf.h file.
      
      	* [debugger/dbg.y]
      	More logical behavior upon syntax errors.
      
      	* [include/hook.h] [windows/hook.c]
      	Changed hook structure and rewrote most of the hook functions for
      	better compatibility, based on investigations by Alex Korobka.
      
      	* [include/message.h] [windows/message.c]
      	Added hooks to message queue structure and made the structure
      	layout Windows-compatible.
      	Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
      	WH_JOURNALRECORD hooks.
      
      	* [misc/main.c]
      	Added command-line option for changing the language at run-time
       	(not implemented yet), based on a suggestion from Michael Patra.
      
      	* [objects/cursoricon.c]
      	Fixed silly SEGPTR bug in DumpIcon().
      
      Mon Nov 20 22:22:22 1995  Alex Korobka <alex@phm30.pharm.sunysb.edu>
      
      	* [controls/listbox.c] [controls/combo.c] [include/listbox.h]
      	Partial implementaion of LBS_EXTENDEDSEL style,
      	yet more updates for drag & drop support. Now works.
      
      	* [windows/defwnd.c]
      	More message handlers.
      
      	* [windows/win.c]
      	DragObject, DragDetect, AnyPopup functions. 
      
      	* [controls/listbox.c]
      	More kludgy fixes (WM_...TOITEM, etc.).
      
      	* [objects/cursoricon.c] [objects/oembitmap.c]
      	IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
      	cursor.
      
      	* [include/bitmaps/ocr*]
      	New OEM cursors.
      
      Mon Nov 20 11:05:20 EST 1995  Jim Peterson <jspeter@birch.ee.vt.edu>
      
      	* [toolkit/heap.c]
      	Swapped flags and size arguments to LocalRealloc as per changes in
      	memory/local.c by William Magro in previous release.
      
      	* [include/wintypes.h]
      	Reinstated the #define's for 'min' and 'max', since they're part of
      	the Windows API.  I really don't think it's a wise idea, so I put
      	a '#ifndef DONT_DEFINE_min_AND_max' around them.  I think the actual
      	WINE code should never use these (it should use 'MIN' and 'MAX'
      	instead).
      
      	* [loader/*]
      	Put '#ifndef WINELIB' around many things that WINElib should not need.
      
      	* [controls/edit.c]
      	Took out many '#if defined(WINELIB)' sections with the associated
      	comment 'temporary fix, until Local memory is correctly implemented in
      	WINELIB', since the effective translations are now in 
      	toolkit/miscstubs.c.
      	Took out the #ifndef's I put in EDIT_ClearText.  Whoever modified this
      	file fixed (or at least postponed) the bug I had encountered.
      
      	* [loader/task.c]
      	Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
      	C:  This will probably cause a lot of trouble if this change is
      	forgotten in the future, but it will let things like the OpenFileName
      	dialog work for now.
      
      	* [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
      	  [include/libres.h]
      	Made new libres.c file, which will contain functions for supporting
      	accessing resources by name in WINElib.  'winerc' will need to be
      	changed.
      
      	* [toolkit/heap.c]
      	Refined memory routines to allow for differences between LocalAlloc
      	and GlobalAlloc and between LocalSize and GlobalSize.
      
      	* [windows/message.c] [include/windows.h]
      	Defined the GetCurrentTime routine in windows/message.c, and removed
      	the #define in windows.h.
      
      Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
      
      	* [*/*]
      	Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
      
      	* [loader/module.c]
      	Added undocumented GetExpWinVer.
      
      	* [tools/build.c]
      	Previous code didn't pop possibly changed %esi, %edi and %edx
      	from the stack.
      	
      	* [win32/advapi.c]
      	Added GetUserNameA.
      
      	* [win32/code_page.c]
      	Added stub for MultiByteToWideChar.
      
      	* [win32/console.c]
      	Added SetConsoleCtrlHandler stub.
      
      	* [win32/file.c]
      	Added ReadFile CreateFileA GetFileInformationByHandle stubs.
      	Added CloseHandle.
      
      	* [win32/memory.c]
      	Changed VirtualAlloc and VirtualFree.
      
      	* [win32/process.c]
      	Added ExitProcess.
      
      Sun Nov 19 17:54:42 1995   Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
      
      	* [include/windows.h]
      	Fixed a few broken structure definitions.
      
      	* [loader/resource.c]
      	FindResource(): Need to check for '#xxx' strings here.
      
      	* [miscemu/int21.c]
      	FindNext(): Return MS-DOS filenames uppercase.
      
      	* [objects/cursoricon.c]
      	CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
      	initializers.
      	
      	* [misc/file.c]
      	_lopen(): Files opened in OF_WRITE mode are truncated.
      	OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
      	created; use read/write mode.
      	
      	* [misc/profile.c]
      	load(): Rewritten.
      	
      	* [misc/commdlg.c]
      	Fixed bad call to strncpy() that smashed the stack.
      
      	* [controls/combo.c] [windows/winpos.c] [memory/selector.c]
      	Operator precedence fixes. People who use gcc 2.7.1 don't need a
      	debugger :-)
      	
      	* [if1632/gdi.spec] [objects/palette.c]
      	Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
      	but sometimes that's good enough.
      
      Fri Nov 17 09:10:35 GMT 1995  John Harvey <john@division.co.uk>
      
      	* [include/wine.h] [include/registers.h] [include/winsock.h]
              Added definitions for Unixware.
      
      	* [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
      	Misc. fixes for Unixware.
      
      	* [loader/task.c]
              Made assignemts to context in InitTask for registers use the macros
              from registers.h to make them more portable. (Needed for Unixware)
      
      	* [tools/build.c]
      	Fixed register acces routines to work on Unixware. Bit grubby but
       	it seems to work.
      
      	* [controls/edit.c]
      	EDIT_WM_NCCreate allocates local heap if hasn't been previously
      	allocated.
      	
      	* [miscemu/int21.c]
      	mkdir now creates directory with permission to access it.
      
      	* [misc/dos_fs.c]
      	mkdir now creates directory with permission to access it.
      	DOS_opendir now uses linked list of dirents to avoid problems with 
      	realloc changing address of malloced memory.
      
      Thu Nov 16 12:47:13 1995  Michael Patra  <patra@itp1.Physik.TU-Berlin.DE>
      
      	* [controls/menu.c]
      	MENU_CalcItemSize(): Fixed handling of empty menu items.
      
      Sat Nov 11 21:46:54 1995  Hans de Graaff  <graaff@twi72.twi.tudelft.nl>
      
      	* [misc/file.c]
      	In OpenFile, unlink should be done on the unix filename.
      
      Sat Nov 11 16:43:29 1995  Cameron Heide  (heide@ee.ualberta.ca)
      
              * [include/handle32.h]
              New header file containing internal Win32 kernel handle
              information.
      
              * [win32/file.c]
              Added ReadFile, CreateFile, and CloseFileHandle, and did
              some reorganizing to match the new handle allocation scheme.
      
              * [win32/init.c]
              Added CloseHandle and the creation of standard I/O handles.
      
              * [win32/object_mgt.c]
              New module for allocating and freeing Win32 kernel handles.
      ade697e8
  21. 05 Nov, 1995 1 commit
    • Alexandre Julliard's avatar
      Release 951105 · 902da699
      Alexandre Julliard authored
      Fri Nov  3 20:08:17 1995  Alexandre Julliard  <julliard@sunsite.unc.edu>
      
      	* [configure.in]
      	Attempt to check for -li386 on NetBSD. Please test this.
      
      Mon Oct 30 12:40:32 EST 1995  Jim Peterson <jspeter@birch.ee.vt.edu>
      
      	* [*/*]
      	Eliminated various warnings with either explicit casts or more
      	accurate variable/parameter declarations (e.g. INT instead of short
      	or WORD).
      	Changed macros 'min' and 'max' to 'MIN' and 'MAX', since they're
      	macros.
      
      	* [controls/edit.c] [windows/defdlg.c]
      	Added '#ifdef SUPERFLUOUS_FUNCTIONS' wrappers around function
      	definition of EDIT_KeyVScrollDoc, EDIT_TextLineNumber, and
      	DEFDLG_FindDefButton to avoid warnings.
      
      	* [controls/button.c] [controls/scroll.c] [windows/defwnd.c]
      	  [windows/message.c] [windows/nonclient.c]
      	Converted MAKEPOINT macro call to manual conversion.
      
      	* [include/windows.h]
      	For WINELIB32, structures POINT, SIZE, and RECT have LONG members
      	instead of INT.  This also invalidates the macro MAKEPOINT(), which
      	is not supported in Win32.  Also defined the POINTS structure (SHORT
      	members) and the MAKEPOINTS macro.
      
      	* [misc/commdlg.c]
      	Changed a lot of 'strcpy' calls to 'strncpy' calls.  I'm desperate to
      	find this memory bug, and this should be done anyway.
      
      	* [controls/edit.c]
      	Well, the alteration mentioned above didn't do it, but #ifdef'ing out
      	a few lines in EDIT_ClearText did.  This leads to bugs, but for now,
      	it's better than bizzare memory troubles.
      
      	* [toolkit/miscstubs.c]
      	Removed warning messages in GLOBAL_CreateBlock(), GLOBAL_FreeBlock(),
      	and RELAY32_GetEntryPoint().  These are the most popular warnings, and
      	their current implementation seems fine.
      
      Sat Oct 28 09:39:18 1995  Jochen Karrer <cip307@wpax01.Physik.Uni-Wuerzburg.DE>
      
      	* [objects/cursoricon.c]
      	Fix for "broken" X servers that invert masked cursor colors.
      
      Fri Oct 27 19:27:21 1995  Alex Korobka  <alex@phm6.pharm.sunysb.edu>
      
      	* [windows/dialog.c] [windows/nonclient.c]
      	Remove unnecessary items from the system menu.
      
      Thu Oct 26 05:03:03 MET 1995  Philippe De Muyter <phdm@info.ucl.ac.be>
      
      	* [objects/color.c] [objects/palette.c]
      	Make GetNearestColor return a RGB value instead of a pixel value.
      
      Wed Oct 25 23:33:39 1995    Martin von Loewis <loewis@informatik.hu-berlin.de>
      
      	* [controls/desktop.c][controls/menu.c][include/menu.h]
      	Changed WORD parameters to UINT parameters.
      
      	* [include/wintypes.h]
      	Made UINT 32bit for WINELIB.
      
      	* [loader/main.c]
      	Disabled RELAY32_Init and MODULE_Init for WINELIB.
      
      	* [misc/main.c]
      	Assume CPU386 for WINELIB.
      
      	* [rc/winerc]
      	add_popup: set MF_POPUP flag on menu item.
      
      	* [toolkit/Makefile.in][toolkit/hello3.c][toolkit/hello3res.c]
      	Add resource demo hello3 for WINELIB.
      	New file README.resources.
      
      	* [toolkit/miscstubs.c]
      	Add a case for 17.
      
      Tue Oct 17 15:13:10 IST 1995  Itai Nahshon <nahshon@vnet.ibm.com>
      
      	* [loader/module.c]
      	Do not append .exe if the file name already has an extension.
      
      	* [misc/profile.c]
      	Avoid creating a file with a junk name if a .ini file does not
      	exist.
      
      	* [if1632/gdi.spec] [if1632/user.spec] [if1632/dummy.c]
      	Added a lot of dummy stubs for Windows Hebrew version.
      
      Tue Oct 17 01:03:24 1995 William Magro <wmagro@tc.cornell.edu>
      
      	* [controls/button.c]
      	Fix for buttons with no label.
      
      	* [controls/combo.c][controls/listbox.c]
      	Fixes for scrollbar positioning.  Now disappears correctly
      	for short lists.
      
      	* [controls/edit.c]
      	Handle memory allocation differently when building as library.
      
      	* [controls/static]
      	Don't destroy old icon before drawing new icon. (Fixes landscape/
      	portrait toggle icon in print dialog.)
      
      	* [if1632/gdi.spec]
      	New functions SetMetaFileBits and GetMetaFileBits
      
      	* [include/sysmetrics.h] [windows/sysmetrics.c]
      	Add support for GetSystemMetrics(SM_CMETRICS) == SM_CMETRICS
      
      	* [include/windows.h]
      	META_EXTTEXTOUT, not META_SETTEXTOUT
      	define GetCurrentTime as GetTickCount (for wine library)
      
      	* [loader/main.c]
      	Don't initialize built-in modules in wine library
      
      	* [memory/local.c]
      	LocalReAlloc was defined incorrectly. Swap flags and size arguments.
      
      	* [misc/main.c]
      	Always report CPUTYPE=4 to wine library.
      
      	* [objects/dib.c]
      	RLE8 images were missing top line when decompressed.
      
      	* [objects/metafile.c]
      	SetMetaFileBits and GetMetaFileBits implemented.  Works when called
      	from winhelp.  More testing needed.  Various memory leaks plugged.
      	Various other bug fixes.  New metafile operations added in
      	PlayMetaFileRecord: CreatePalette, SetTextAlign, SelectPalette,
      	SetMapperFlags, RealizePalette, ExtTextOut, Escape.  Testing needed.
      
      	* [toolkit/heap.c]
      	LocalUnLock changed to LocalUnlock
      
      Sun Oct 15 21:55:33 1995  Anand Kumria <akumria@ozemail.com.au>
      	
      	* [misc/winsock.c] 
      	Return the correct error number, for host lookup operations.
      	Also, correct the problem with send_message.
      
      Fri Oct 13 19:04:35 1995  Morten Welinder  <terra@diku.dk>
      
      	* [Makefile.in]
      	Using nm's built-in sorting.
      
      	* [*/*.c]
      	Use xmalloc for malloc and xrealloc for realloc in all ungarded
      	cases.
      
      	* [debugger/dbg.y]
      	Handle C-like expressions.  Clean-up.
      
      	* [debugger/debug.l]
      	Lots of new tokens for expressions.
      
      	* [debugger/info.c]
      	Implement "list" command for disassembling.
      
      	* [misc/ole2nls.c]
      	Implement more Danish stuff.
      
      Fri Oct  6 10:39:39 1995 Ram'on Garc'ia <ramon@ie3.clubs.etsit.upm.es>
      
      	* [loader/module.c]
      	Updated self-loading modules to support for new 32 bit 
      	stack frames.
      902da699
  22. 03 Oct, 1995 1 commit
    • Alexandre Julliard's avatar
      Release 951003 · af0bae58
      Alexandre Julliard authored
      Sun Oct  1 15:48:34 1995  Alexandre Julliard  <julliard@sunsite.unc>
      
      	* [controls/menu.c]
      	Fixed GetMenuString() for non-string items.
      
      	* [debugger/*.c]
      	First attempt to check validity of pointers before memory
      	accesses. For now only segmented pointers are checked.
      
      	* [debugger/dbg.y] [memory/ldt.c]
      	Added possibility to dump only one segment with 'info segment'.
      
      	* [include/bitmaps/ocr_*]
      	Added all OEM cursors as XPM bitmaps.
      
      	* [include/cursoricon.h] [objects/cursoricon.c]
      	Rewrote all cursor and icon management to use the same memory
       	layout as Windows, and to factor common code between icons and
      	cursors. Implemented icon directory lookup to find the best
      	matching icon (i.e. the color one).
        	Implemented CopyCursor() and DumpIcon().
      
      	* [loader/module.c]
      	For disabled built-in modules, we now try to load the Windows DLL
      	first, and if this fails we fall back to using the built-in module
      	anyway.
      
      	* [memory/global.c]
      	Fixed GlobalHandle() to return the correct selector in the high
      	word even if we are passed a handle in the first place.
      
      	* [miscemu/instr.c]
      	Take into account the size of the operand and of the stack segment
      	when incrementing the stack pointer.
      	Avoid referencing FS_reg and GS_reg on *BSD.
      
      	* [objects/dib.c]
      	All DIB functions now accept a BITMAPCOREHEADER format bitmap.
      	Monochrome DIBs are created as monochrome bitmap iff they are
      	black and white.
      
      	* [objects/oembitmap.c]
      	Added support for OEM cursors, changed OBM_LoadIcon to use the new
      	icon memory layout.
      
      	* [rc/sysres_Fr.rc]
      	Added French [Fr] language support.
      
      	* [win32/environment.c]
      	Fixed GetCommandLineA() to use current PDB.
      
      	* [windows/event.c] [windows/winpos.c]
      	Simulate a mouse motion event upon SetWindowPos() to force the
      	cursor to be set correctly.
      
      Sat Sep 30 17:49:32  Cameron Heide  (heide@ee.ualberta.ca)
      
      	* [win32/*]
              New Win32 kernel functions: GetACP, GetCPInfo,
       	GetEnvironmentVariableA, GetFileType, GetLastError, GetOEMCP,
       	GetStartupInfoA, GetTimeZoneInformation, SetEnvironmentVariable,
       	SetFilePointer, SetLastError, VirtualAlloc, VirtualFree,
       	WriteFile.  Completed implementations of GetCommandLineA.
      
      	* [include/kernel32.h]
              New file.
      
      	* [loader/main.c]
              Call initialization function for Win32 data (doesn't currently do
       	anything).
      
      	* [misc/main.c]
      	Implemented GetEnvironmentVariableA, SetEnvironmentVariableA.
      
      Sat Sep 30 00:26:56 1995  Niels de Carpentier  <niels@cindy.et.tudelft.nl>
      
      	* [windows/winpos.c][miscemu/emulate.c][loader/module.c]
      	  [misc/commdlg.c]
      	Misc. bug fixes
      
      Fri Sep 29 16:16:13 1995  Jim Peterson <jspeter@birch.ee.vt.edu>
      
      	* [*/*]
      	For Winelib, explicit casts have been placed where warnings were
       	usually generated.
      	printf formats which give the format for printing a handle as
       	"%04x" or something similar have been changed to use the NPFMT
       	macro defined in include/wintypes.h.  Some times, explicit casts
       	were also necessary.
           	Parameter, field, and variable declarations have been made more
       	exact, such as converting 'WORD wParam' to 'WPARAM wParam' or
       	'WORD hFont' to 'HFONT hFont'.
           	Any call of the form GetWindowWord(hwnd,GWW_HINSTANCE) has been
       	replaced with a call to WIN_GetWindowInstance(hwnd).
      
      	* [controls/combo.c]
      	Added WINELIB32 support in CLBoxGetCombo().
      
      	* [include/dialog.h]
      	Commented out the '#ifndef WINELIB' around the '#pragma pack(1)'.
      	winelib needs the packing as well (e.g. when accessing resources
      	like sysres_DIALOG_SHELL_ABOUT_MSGBOX).
      
      	* [include/windows.h]
      	Got rid of the F[a-k] macros, which were cluttering up the global
      	namespace.
      
      	* [include/windows.h] [windows/defwnd.c]
      	Added Win32 messages WM_CTLCOLOR*.
      
      	* [include/wintypes.h]
      	Put in preprocessor '#define WINELIB32' if appropriate and changed
      	the types of some typedefs (WPARAM, HANDLE) based on this.
      	
      	* [loader/module.c] [toolkit/miscstubs.c]
      	Added #ifdef'd portion in LoadModule to handle loading a WINElib
      	module (already loaded, just init values).  '#ifdef'ed out the
      	definition for GetWndProcEntry16 and added a new version to
      	toolkit/miscstubs.c.
      
      	* [misc/shell.c]
      	Adjusted the lengths of AppName and AppMisc from 512,512 to 128,906.
      	Same amount of total storage, but much more reasonable.  Also, changed
      	calls to strcpy() in ShellAbout() to calls to strncpy() instead.
      	This was a difficult bug to track down, but the AppMisc field was
      	being initialized with the contributers text, which was much larger
      	than 512 characters.
      
      	* [toolkit/atom.c]
      	New file for atom-handling functions.  Copied from memory/atom.c and
      	then heavily modified.  Right now, it's just a linked list of atoms.
      	Consider it as a hash table with just one entry.  It's easily changed
      	later.
      
      	* [toolkit/heap.c]
      	Commented out the heap functions with a "#ifdef WINELIB16" and put in
      	a Win32 version (which is basically a modified copy).
      
      	* [toolkit/sup.c] [toolkit/miscstubs.c]
      	Moved the stuff I put in toolkit/sup.c into toolkit/miscstubs.c and
      	added quite a few more stubs.
      
      	* [toolkit/winmain.c]
      	Rearranged startup code in _WinMain.  I think this will work.
      
      	* [toolkit/Makefile.in]
      	Added targets for 'hello' and 'hello2' in case anyone cares to try
      	out the sample programs.
      
      Wed Sep 27 23:13:43 1995  Anand Kumria <akumria@ozemail.com.au>
      	
      	* [miscemu/int2f.c] [miscemu/vxd.c] [if1632/winprocs.spec]
      	First attempt at support for some VxDs. Comm, Shell and Pagefile.
      
      Tue Sep 26 21:34:45 1995  Hans de Graaff  <graaff@twi72.twi.tudelft.nl>
      
      	* [misc/dos_fs.c]
      	DOS_SimplifyPath: Also remove "/./" from path. (Happens when
       	starting applications like 'wine ./excel.exe')
      
      Sat Sep 23 23:32:40 1995  Morten Welinder  <terra@diku.dk>
      
      	* [configure.in]
      	Avoid relative path for wine.ini.
      
      	* [rc/sysres_Da.rc]
      	Support for Danish [Da] language.
      
      	* [misc/main.c] [miscemu/cpu.c]
      	Return the processor we're running on correctly.
      
      	* [miscemu/int2f.c]
      	Minor stuff in int 0x2f, function 0x16.
      
      Sat Sep 23 1995 17:58:04  Marcus Meissner  <msmeissn@faui01.informatik.uni-erlangen.de>
      
      	* [misc/shell.c] [misc/main.c]
      	Implement saving and loading of the registry database (needed for
      	OLE). Very experimental. Fixed ShellExecute().
      	
      	* [miscemu/int21.c]
      	EEXIST is not a critical error condition for mkdir().
      
      Fri Sep 22 01:33:34 1995  Alex Korobka  <alex@phm6.pharm.sunysb.edu>
      
      	* [include/shell.h] [misc/shell.c]
      	Implemented 4 drag/drop functions with documented functionality.
      
              * [multimedia/time.c]
              "Fixed" MMSysTimeCallback kludge so Excel5 loads up without crashing.
      
      	* [*/*] 
              Added new files, more message definitions, structures, debug info,
       	etc.  Rewrote message logging functions to produce output similar
       	to WinSight.  Check out -debugmsg +message option.
      
      	* [misc/file.c]
              Fixed GetDriveType return value.  
      
              * [windows/message.c] 
              Hooks are invoked in normal order.
      
              * [miscemu/*]
              Added some functions and interrupts.
      
              * [misc/shell.c]
              Implemented Drag... functions.
      
      Thu Sep 21 23:50:12 1995  Jukka Iivonen <iivonen@cc.helsinki.fi>
      
      	* [rc/sysres_Fi.rc] [rc/sysres.rc]
      	First attempt at Finnish [Fi] language support.
      af0bae58
  23. 29 Jul, 1995 1 commit
    • Alexandre Julliard's avatar
      Release 950727 · e2991ea7
      Alexandre Julliard authored
      Sat Jul 22 22:39:09 IDT 1995 Michael Veksler <e1678223@tochnapc2.technion.ac.il>
      
      	* [ipc/*]
      	New directory. This directory contains the new inter-wine
       	communications support. It enables DDE protocols between two wine
       	instances.  Currently it is limited to DDE, but can be enhanced to
       	support OLE between 2 different wine instances.  This is very
       	important for libwine.a DDE/OLE support.
      
      	* [tools/ipcl]
          	A script to delete garbage IPC handles (shared memory, semaphores
       	and message queues).  The current inter-wine communication is not
       	perfect, and sometimes leaves garbage behind.
      
      	* [if1632/relay.c] [include/atom.h] [include/global.h]
       	[loader/selector.c] [loader/task.c] [loader/module.c]
       	[loader/signal.c] [memory/global.c] [misc/atom.c]
       	[windows/class.c] [windows/message.c] [windows/win.c]
      	[Imakefile]
          	Hooks for inter-wine DDE support, current Global.*Atom functions
       	renamed to Local.*Atom since Global.*Atom are used for Inter-Wine
       	DDE communication. (The first call to these functions sets up the
       	IPC structures - which otherwise cause unneeded overhead.
      
      Mon Jul 17 19:55:21 1995  Alexandre Julliard  <julliard@sunsite.unc.edu>
      
      	* [controls/menu.c]
      	Don't crash if a NULL string is passed to menu functions.
      
      	* [memory/selector.c]
      	We now use a bit in ldt_flags_copy to indicate free LDT entries.
      	Fixed a bug in SELECTOR_ReallocBlock that could cause it to
      	overwrite valid LDT entries when growing a block.
      
      	* [miscemu/instr.c]
      	Emulate int xx instruction by storing the interrupt vector in
      	CS:IP and returning directly. This allows a program to install an
      	interrupt vector.
      
      	* [windows/win.c]
      	Added function WIN_GetTopParent to get the top-level parent of a
      	window.
      
      Sun Jul  16 18:17:17 1995  Gregory Trubetskoy <grisha@mira.com>
      
              * [loader/resource.c]
              Added LoadIconHandler. It doesn't do anything yet, but now you
              can use borland help files with winhelp.exe.
      
      Sun Jul 16 11:58:45 1995 Anand Kumria <akumria@ozemail.com.au>
      
      	* [misc/main.c]
      	Fixed to return 386 Enhanced mode correctly. Also return the same
       	type of CPU, for both Enhanced and Standard mode, namely a 386.
      
      Sun Jul 16 00:02:04 1995    Martin von Loewis <loewis@informatik.hu-berlin.de>
      
      	* [Configure] [include/options.h] [include/wineopts.h]
      	  [misc/main.c][misc/spy.c]
      	  Removed support of spy file. Redirected spy messages to stddeb.
      	  Removed -spy option. Added -debugmsg +spy option.
      
      	* [debugger/dbg.y][debugger/debug.l]
      	Enabled segmented addresses (seg:offs) for break and x commands.
      
      	* [if1632/gdi.spec] [objects/region.c] [windows/graphics.c]
      	  [include/region.h]
      	FrameRgn, REGION_FrameRgn: New functions
      
      	* [if1632/kernel.spec]
      	IsWinOldApTask: Return false
      
      	* [if1632/mouse.spec]
      	CplApplet: Removed
      
      	* [if1632/user.spec] [windows/win.c]
      	ShowOwnedPopups: New function
      
      	* [if1632/winsock.spec] [misc/winsocket.c]
      	inet_addr, select: New prototypes in relay code
      	Fixed memory layout for netdb functions (getXbyY).
      	WINSOCK_ioctlsocket: Translated FIONREAD, FIONBIO, and FIOASYNC
      
      	* [objects/clipping.c]
      	RectVisible: Fixed call to LPToDP
      
      	* [rc/winerc.c]
      	main: Removed extra argument to getopt for Linux.
      
      Tue Jul 11 00:14:41 1995   Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
      
              * [controls/listbox.c]
      	Yet another fix for ListBoxDirectory().
      	
      	* [loader/module.c] [if1632/kernel.spec]
      	Make GetModuleHandle() accept instance handles as parameter.
      
              * [if1632/relay.c] [loader/task.c]
      	Put a magic cookie at the bottom of the 32 bit stack, and check on
      	each return from a 32 bit function whether it's still there. Complain
      	if it's not.
      
              * [if1632/user.spec]
      	Wrong entry for CloseDriver().
      
      	* [misc/dos_fs.c] [loader/task.c] [include/dos_fs.h] [misc/file.c]
      	[miscemu/int21.c]
      	Large parts of dos_fs.c simplified. Changed it to use one
      	current drive/directory per task, which is set to the module path on
      	task creation.
      	Prevent CorelPaint from closing stdin.
      	open() with O_CREAT set must be passed three parameters.
      	DOS FindFirst()/FindNext() could crash when FA_LABEL was set. Fixed,
      	it's in DOS_readdir() now.
      
      	* [misc/profile.c]
      	Some badly written software (Lotus Freelance Graphics) passes a bogus
      	size parameter that caused Wine to write off the end of a segment.
      	Fixed. (It's probably too paranoid now.)
      	
      	* [multimedia/mmsystem.c] [multimedia/time.c] [multimedia/joystick.c]
      	[multimedia/Imakefile] [if1632/winprocs.spec]
      	16 bit entry point for MMSysTimeCallback.
      	Split off time.c and joystick.c from mmsystem.c.
      	
      	* [objects/dib.c]
      	GetDIBits(): call XGetImage() via CallTo32_LargeStack.
      
              * [windows/cursor.c]
      	DestroyCursor(): do nothing for builtin cursors.
      	
      	* [windows/mdi.c]
      	Half of WM_MDISETMENU implemented.
      	
      	* [windows/win.c]
      	EnumWindows() and EnumTaskWindows() never enumerated any windows.
      	Fixed.
      
      	* [windows/*.c]
      	Fixed GetParent() to return correct values for owned windows.
      
      	* [windows/message.c]
      	Don't try to activate disabled top-level windows.
      
              * [windows/nonclient.c]
      	Work around a bug in gcc-2.7.0.
      	
      	* [tools/build.c] [include/stackframe.h] [memory/global.c] 
      	[loader/task.c] [memory/selector.c]
      	Some Visual Basic programs (and possibly others, too) expect ES to be 
      	preserved by a call to an API function, so we have to save it.
      	In GlobalFree() and FreeSelector(), we must clear CURRENT_STACK16->es 
      	to prevent segfaults if ES contained the selector to be freed.
      
      Sun Jul  9 20:21:20 1995  Jon Tombs  <jon@gtex02.us.es>
      
      	* [*/*]
      	Added missing prototypes to header files and relevant includes
      	to reduce compile time warnings.
      
      Sun Jul  9 18:32:56 1995  Michael Patra  <micky@marie.physik.tu-berlin.de>
      
      	* [configure.in] [include/config.h] [*/Makefile.in]
      	New configuration scheme based on autoconf.
      
      Sat Jul  8 14:12:45 1995  Morten Welinder  <terra+@cs.cmu.edu>
      
      	* [miscemu/ioports.c]
      	Revamp to have only one in- and one out- variant, both really
       	implemented.
      
      	* [miscemu/instr.c]
      	INSTR_EmulateInstruction: Use new ioport interface.  Implement
       	string io.  Correct instruction pointer for 32-bit code.
      
      	* [include/miscemu.h]
      	Update port function prototypes.
      
      	* [include/registers.h]
      	Defined FS and GS.
      
      Sat Jul  8 13:38:54 1995  Hans de Graaff  <graaff@twi72.twi.tudelft.nl>
      
      	* [misc/dos_fs.c]
      	ChopOffSlash(): A path consisting off a single slash is left
       	intact, and multiple slashes are all removed.
      e2991ea7
  24. 20 Jun, 1995 1 commit
    • Alexandre Julliard's avatar
      Release 950620 · bd34d4ff
      Alexandre Julliard authored
      Mon Jun 19 20:29:50 1995  Alexandre Julliard  (julliard@sunsite.unc.edu)
      
      	* [debugger/*.c]
      	Modified debugger to use segmented pointers everywhere.
      
      	* [if1632/shell.spec] [if1632/sound.spec] [if1632/user.spec]
      	Declared all functions that return only 16-bit as 'pascal16'.
      
      	* [include/ldt.h] [memory/ldt.c]
      	Export LDT_EntryToBytes (new) and LDT_BytesToEntry for DPMI.
      	Maintain a copy of the selector flags, removing the need to make a
      	system call to retrieve an LDT entry.
      
      	* [loader/module.c]
      	Fixed bug with module file handle cache.
      
      	* [loader/ne_resource.c]
      	Fixed file name bug in NE_AccessResource().
      
      	* [loader/resource.c]
      	Fixed bug in LoadIcon() that caused wrong colors to be used for
      	the icon mask.
      
      	* [loader/signal.c]
      	Moved instruction emulation to miscemu/instr.c.
      
      	* [misc/dos_fs.c] [miscemu/int21.c]
      	Lots of small fixes, thanks to Morten Welinder.
      
      	* [miscemu/dpmi.c]
      	More complete DPMI emulation.
      
      	* [miscemu/instr.c]
      	Added support for prefixes in instructions to emulate.
      
      	* [miscemu/int2f.c]
      	Use register macros instead of destroying the high part of 32-bit
      	registers.
      
      	* [objects/dc.c]
      	Fixed bug in GetDCState() that failed to clear the new DC.
      
      	* [rc/sysres.rc]
      	Removed dialogs 11 and 12 that were never used.
      
      	* [tools/build.c]
      	'pascal16' generated functions did not save %dx.
      	Removed use of %fs to access the stack.
      	%ds is no longer initialized before calling a 16-bit routine.
      
      	* [windows/defwnd.c]
      	Accept a NULL pointer as window title.
      
      	* [windows/mdi.c]
      	MDICascade: skip iconic windows.
      	Implemented CalcChildScroll().
      	
      	* [windows/utility.c]
      	Fixed MulDiv() for illegal values.
      
      	* [windows/win.c]
      	Fixed X error in CreateWindowEx() when WM_NCCALCSIZE returned
      	a zero width or height.
      
      Sun Jun 18 22:22:30 MET DST 1995  Fons Botman  (botman@inter.nl.net)
      
      	* [controls/edit.c]
      	Fixed "uninitalized" message which -Wall couldnt see to be ok
      	in EDIT_WriteText.
      
      	* [include/debug.h]
      	Added define for extra checks in API definitions during debugging.
      
      	* [loader/ne_image.c]
      	Added newline in NE_FixupPrologs to avoid long lines.
      
      	* [misc/dos_fs.c]
      	Added extra safety check in DOS_ValidDrive.
      
      	* [misc/exec.c]
      	Fixed definition of ExitWindows.
      	
      Sun Jun 18 21:16:08 1995   Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
      
      	* [controls/edit.c]
      	Some fixes, mostly for memory management, but also for text selection
      	and tab postitions. General cleanup. Notepad.exe now works.
      
      	* [controls/combo.c]
      	Fix: the hwnd field of the DRAWITEMSTRUCT should always be that of
      	the combo box, not the ComboLBox that belongs to it.
      
      	* [controls/listbox.c]
      	Handle itemID field correctly throughout.
      
      	* [memory/local.c]
      	Implemented flag LMEM_ZEROINIT.
      	LocalReAlloc() could trash the heap. Fixed.
      
      	* [objects/font.c]
      	FONT_MatchFont(): don't get confused by negative widths.
      	Fixed a segfault in EnumFonts().
      
      	* [objects/text.c]
      	DrawText(): DT_CALCRECT implies DT_NOCLIP.
      
      	* [objects/dcvalues.c]
      	MAKELONG was used with bad parameters in DC_GET_X_Y.
      
      	* [windows/dialog.c]
      	Don't show the dialog if WS_VISIBLE isn't set in the template.
      
      	* [windows/utility.c]
      	UTILITY_convertArgs(): Never pass an expression containing ++ into a
      	macro...
      
      	* [windows/win.c]
      	SetParent() should unlink the window before changing the parent.
      
      	* [windows/message.c]
      	Don't call timer functions via CallWindowProc(), since it checks
      	whether hwnd==0 and does not call the function in that case.
      
      	* [miscemu/instr.c]
      	Ignore interrupt 0x3D, for VBRUN300.DLL.
      
      	* [misc/commdlg.c]
      	Don't rely on the itemData field of the DRAWITEMSTRUCT to contain a
      	pointer to the item text.
      
      	* [if1632/relay.c]
      	Disable OLE and DDEML DLLs by default, since they contain nothing but
      	stubs anyway. SHELL, COMMDLG and WIN87EM are left enabled, although
      	some programs may work better without them.
      	
      	* [multimedia/*.c] [include/multimedia.h] [include/driver.h]
      	Begun cleaning things up a little. Replaced printfs with dprintf_
      	macros, made functions static where possible, and some other minor
      	changes.
      
      Sun Jun 11 23:19:10 1995  Martin von Loewis  <martin@informatik.hu-berlin.de>
      
      	* [debugger/dbg.y][debugger/dbg.l]
      	Removed special handling for FILE_IDENTIFER, because it caused
      	problems with x/<format> statements.
      
      	* [debugger/info.c]
      	Use SC_ESP instead of SC_EIP for stack dump.
      
      	* [misc/compobj.c][if1632/compobj.spec]
      	CoBuildVersion, CoInitialize, CoUninitialize: new functions
      
      	* [misc/ole2.c][if1632/ole2.spec][misc/Imakefile][include/ole2.h]
      	New files ole2.c, ole2.h
      	OleBuildVersion, OleInitialize, OleUninitialize: new functions
      
      	* [if1632/ole2disp.spec]
      	Added missing ordinals above 109
      
      	* [misc/ole2nls.c][if1632/ole2nls.spec][include/winnls.h]
      	New file winnls.h
      	GetLocaleInfoA: new function
      
      	* [if1632/shell.spec]
      	Added FindEnvironmentString as stub
      
      	* [misc/olecli.c][if1632/olecli.spec]
      	OleIsDcMeta: New function
      
      	* [objects/font][misc/gdi.spec]
      	GetKerningPairs: new function
      
      	* [misc/shell.c]
      	ShellExecute: Implemented support for starting programs
      
      	* [if1632/user.spec]
      	Inserted missing relay to GetClipCursor
      
      Sun Jun 11 20:34:47 1995   Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
              
      	* [controls/edit.c]
      	Fix a problem with the local heap.
      
      	* [include/wintypes.h]
      	Fixed wrong declarations of CATCHBUF and LPCATCHBUF.
      	
      	* [include/mdi.h] [windows/mdi.c]
      	This code still assumed segmented address==linear address. Fixed.
      
      	* [include/msdos.h] [misc/dos_fs.c]
      	The filemask field of the dosdirent structure could be overrun. Fixed.
      	If you had a file called foobar and a file called foo, trying to 
      	FindFile(foo) could accidentally find file foobar instead. Fixed.
      	
      	* [misc/file.c]
      	OpenFile(): Always return the full pathname in ofs->szPathName. This 
      	also fixes GetModuleFilename().
      	Prevent _lclose() from closing stderr or stdout.
      
      	* [misc/profile.c]
      	Search for .ini files in the path of the current module as well.
      	(Needed by Lotus Organizer.)
      
      	* [loader/task.c] [loader/ne_image.c] [loader/module.c]
      	[memory/local.c]
      	Local heaps are now initialized by InitTask() for executables. DLLs
      	have to call LocalInit() themselves, LocalInit() has to put the
      	heap at the end of the segment when called with start==0. We no longer
      	allocate the DGROUP with 64k on startup, but grow the local heap
      	in LOCAL_GetBlock() when necessary.
      
              * [loader/module.c]
      	LoadLibrary() should call LoadModule() in all cases, even if the
      	DLL is already loaded, to ensure that the reference count is correct.
      
      	* [loader/ne_image.c]
      	Some changes to function prolog fixup. Does anyone know exactly how
      	this is supposed to work? I am only guessing here.
      	In NE_InitializeDLLs(), initialize the DLLs a module refers to before
      	the module itself.
      	
              * [loader/task.c]
      	Initialize instance data at the beginning of the DGROUP in InitTask().
      
      	* [memory/local.c]
      	Some fixes for moveable blocks.
      
      	* [memory/selector.c]
      	All the IsBad*Pointer() functions returned exactly the wrong boolean
      	value in all cases!
      	
      	* [objects/bitblt.c]
      	Fixed another null pointer dereference in debugging output.
      	
      	* [objects/font.c]
      	Some more recovery possibilities for FONT_MatchFont() if a specified
      	font does not exist.
      	
      	* [windows/win.c]
      	The dialog code may call CreateWindowEx with an integer in windowName.
      	This happens for static icon controls that expect a resource ID as
      	the window name. CreateWindowEx() used to crash. Fixed.
      	
      	* [windows/class.c] [windows/win.c]
      	Window classes are owned by modules, not instances. Changed
      	RegisterClass(), UnregisterClass(), GetClassInfo() and CreateWindowEx()
      	accordingly.
      
      Sat Jun 10 16:10:53 1995  Olaf Flebbe <o.flebbe@science-computing.uni-tuebingen.de>
      
      	* [miscemu/int21.c]
      	  clock.exe was displaying incorrect year.
      
      Fri Jun 9 20:36:56 1995  Victor Schneider <tailor@crl.com>
      
      	* [include/cursor.h] [windows/cursor.c]
      	Implemented CreateCursorIconIndirect().
      bd34d4ff
  25. 22 May, 1995 1 commit
    • Alexandre Julliard's avatar
      Release 950522 · 2787be87
      Alexandre Julliard authored
      Sun May 21 12:30:30 1995  Alexandre Julliard  (julliard@sunsite.unc.edu)
      
      	* [debugger/hash.c] [debugger/info.c]
      	Added support for symbolic segmented addresses. Add symbols for all
      	built-in API entry points.
      
      	* [if1632/relay.c] [include/dlls.h]
      	Removed dll_table structure, as we now use the built-in module
      	structures.
      
      	* [if1632/relay.c] [loader/main.c]
      	Removed winestat option, as it was no longer very meaningful.
      
      	* [include/stackframe.h]
      	New macro MAKE_SEGPTR that creates a segmented pointer to a local
      	variable on the 32-bit stack.
      
      	* [loader/module.c]
      	Added support for multiple instances of an application.
      	Implemented LoadModule() and FreeModule().
      
      	* [loader/ne_image.c] [loader/task.c]
      	Moved initialisation of built-in DLLs to InitTask().
      
      	* [memory/global.c]
      	Implemented discardable blocks.
      
      	* [misc/file.c]
      	Search path of current executable in OpenFile().
      	Fixed bug with searching in Windows path.
      
      	* [misc/lstr.c]
      	Hard-coded translation tables for Ansi<->Oem.
      
      	* [misc/user.c]
      	Moved some global initializations to InitApp(), because they need
      	a task context to be performed.
      
      	* [objects/dc.c]
      	Handle R2_BLACK and R2_WHITE specially so that they work correctly
      	with palette displays.
      
      	* [tools/build.c]
      	Suppressed generation of the C file for DLL specs, because it's no
      	longer needed. Output all the assembly code directly to stdout.
      	Some changes to integrate Win32 support from Martin von	Loewis. 
      
      	* [windows/msgbox.c]
      	Moved message box code from misc/ to windows/.
      
      Mon May 15 23:40:04 1995  Martin Ayotte (wine@trgcorp.mksinfo.qc.ca)
      
      	* [misc/audio.c] [misc/mcicda.c] [misc/mcianim.c] [misc/midi.c]
      	  [misc/mmaux.c] [misc/mmsystem.c]
      	Modify code & use pointers conversion macros.
      	Make cdaudio & wave devices work again (only using some applets).
      
      	* [misc/profile.c]
      	Change getc() to fgetc() where needed.
      
      Mon May 15 22:10:56 1995  Martin von Loewis  <loewis@informatik.hu-berlin.de>
      
      	* [if1632/Imakefile]
      	added entries for the new files gdi32.spec, kernel32.spec,
      	user32.spec, shell32.spec and winprocs32.spec.
      
      	* [if1632/commdlg.spec][if1632/kernel.spec][if1632/shell.spec]
      	  [if1632/storage.spec][if1632/system.spec][if1632/user.spec]
      	ChooseFont, RESERVED5, InternalExtractIcon: Marked as stubs
      	ExtractAssociatedIcon, DoEnvironmentSubst, DumpIcon:
      		stub implementations provided 
      	marked storage.dll,storege.sys functions as stubs
      
      	* [include/pe_image.h]
      	Added structures WIN32_builtin and  WIN32_function
      
      	* [include/peexe.h]
      	PE_Import_Directory: renamed reserved fields to 
      		TimeDate, Forwarder, Thunk_List
      
      	* [include/winerror.h]
      	New file.
      
      	* [loader/main.c]
      	called RELAY32_Init
      
      	* [loader/pe_image.c]
      	xmmap: map BSS anonymous
      	dump_imports: renamed to fixup_imports, do the fixup of imported
      	              symbols
      	PE_LoadImage: pass raw data size to xmmap
      
      	* [loader/resource.c]
      	DumpIcon: new function
      
      	* [misc/kernel32.c]
      	New file.
      
      	* [misc/main.c]
      	make stdout and stderr unbuffered
      
      	* [misc/shell.c]
      	DoEnvironmentSubst: new function
      
      	* [objects/font.c]
      	FONT_MatchFont: try oblique if there is no italic
      
      	* [rc/Imakefile][rc/parser.l]
      	yywrap: new function
      	Don't link with libfl.a on Linux
      
      	* [tools/build.c]
      	Added keywords stdcall, subsystem, base
      	GenerateForWin32: new function
      	BuildSpecFiles: call GenerateForWin32 if subsystem is win32
      
      Mon May 15 10:38:14 1995   Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
              
              * [controls/listbox.c] [controls/combo.c] [windows/defwnd.c]
      	Minor fixes.
      	
      	* [misc/message.c] [misc/main.c] [rc/sysres*.rc] [include/texts.h]
      	Rewrote message box handling.
      	
      	* [windows/dialog.c]
      	Dialogs should be invisible until after WM_INITDIALOG is seent.
      	Don't switch to invisible dialog items on a TAB keypress.
      	
      	* [windows/mdi.c]
      	Send WM_NCPAINT message in MDIRestoreChild().
      	
      	* [windows/painting.c]
      	Fixed typo (&& -> &).
      	
      	* [windows/message.c] [if1632/user.spec]
      	Implemented PostAppMessage().
      	
      	* [windows/event.c]
      	SetCapture(0) should act like ReleaseCapture().
      
      Tue May  9 11:55:52 1995     Eddie C. Dost             (ecd@dressler.de)
      
      	* [Imakefile]
      	Changed CDEBUGFLAGS for systems running __ELF__ (temporarily)
      	Added ASFLAGS to exported variables.
      
      	* [debugger/readline/Imakefile]
      	Moved defines for libreadline from DEFINES to EXTRA_DEFINES
      
      	* [memory/local.c] [miscemu/int21.c]
      	Added some more debugging outputs.
      
      Mon May  8 00:55:27 MET DST 1995	  Dag Asheim (dash@ifi.uio.no)
      
      	* [misc/message.c]
      	Fixed a "FIXME" concerning norwegian translation.
      
      Sun May  7 23:25:23 1995   Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
              
      	* [*/*]
              Removed warnings in a couple of files and deleted some obsolete code.
      
              * [controls/listbox.c]
              Cleanup, speed improvements & lots of bug fixes.
      
              * [controls/combo.c]
      	Mostly rewritten. This is still very buggy, but not quite as bad as 
      	before.
      
              * [include/commdlg.h] [misc/commdlg.c]
              Removed the need for sysres.dll. Small bug fixes.
      	
              * [objects/oembitmap.c] [include/bitmaps/<many>] [include/windows.h]
                [loader/library.c] [loader/main.c] [rc/sysres*.rc]
              Removed sysres.dll and replaced the remaining bitmaps/icons with
              XPM equivalents.
      
              * [misc/message.c] [windows/nonclient.c] [misc/main.c]
                [if1632/winprocs.spec]
              "About Wine..." now brings up a standard ShellAbout() window with
              the Wine icon and the list of contributors.
      	
      	* [misc/shell.c]
      	Fixed ShellAbout()/AboutDialogProc() to show the right icon.
      
      	* [windows/event.c]
      	Small hack for non-alphanumeric keys: Dont't send the ascii value in
      	the WM_KEYDOWN message, but some unused code instead. Should be done
      	properly by sending different codes for each key. The edit control
      	used to get a VK_DELETE message each time the user typed '.'.
      
      	* [windows/class.c]
      	Removed a check for CS_GLOBALCLASS in CLASS_FindClassByName().
      	This used to be no problem, but breaks Resource Workshop in 950403.
      	
      	* [objects/dib.c]
      	New diagnostic for a bug I've been encountering. If it shows up,
      	please report it.
      
      Sun May  7 23:11:18 EDT 1995  William Magro (wmagro@tc.cornell.edu)
      
      	* [objects/color.c]
      	Handle situation when 'dc' exists, but palette mapping
      	does not.  (Fixes kidpix2 demo.)
      
      Sun May  7 03:32:00 1995  Charles M. Hannum  (mycroft@mit.edu)
      
      	* [loader/ldt.c]
      	LDT_Print: Only show the number of entries that the kernel
      	returned. Make this work for NetBSD.
      
      Fri May  5 02:53:26 1995  Charles M. Hannum  (mycroft@mit.edu)
      
      	* [debugger/dbg.y] [include/wine.h] [loader/signal.c]
      	Modify cs and ds selector values for NetBSD-current.
      
      	* [debugger/debug.l]
      	$sp, $esp: Use RN_ESP_AT_SIGNAL rather than RN_ESP.
      
      	* [debugger/regpos.h]
      	Modify sigcontext format for NetBSD-current.
      	SC_ESP: Use RN_ESP_AT_SIGNAL rather than RN_ESP.
      
      	* [include/ldt.h]
      	SELECTOR_TO_ENTRY: Explicitly clear the top half of the selector
      	value, since only 16 bits of it may have been saved.
      
      	* [misc/winsocket.c]
      	Set structure packing with `#pragma pack' to accomodate
      	other/older compilers.
      
      Tue May  2 18:15:01 1995 Paal Beyer (beyer@idt.unit.no)
      	
      	* [misc/commdlg.c]
      	Fixed path-names so when changing directory the listboxes
      	changes too.
      	
      	* [debugger/dbg.y debugger/debug.l wine.ini]
      	Added SymbolTableFile to wine.ini so symbols can be read
      	without standing in the directory containing wine.sym.
      	Added the possibility to specify full name of wine.sym from
      	the debugger prompt.
      2787be87
  26. 30 Oct, 1994 1 commit
    • Alexandre Julliard's avatar
      Release 941030 · 3a405baf
      Alexandre Julliard authored
      Sun Oct 30 13:01:18 1994  Alexandre Julliard  (julliard@lamisun.epfl.ch)
      
      	* [controls/static.c]
      	Bug fix for SS_ICON controls.
      
      	* [if1632/Imakefile]
      	Fixed call.o dependencies.
      
      	* [objects/clipping.c] [objects/dc.c]
      	Fixed visible region handling. hVisRgn is always non-null now.
      
      	* [windows/dce.c]
      	Bug fix in GetDCEx for CS_OWNDC windows.
      
      	* [windows/nonclient.c] [windows/painting.c]
      	Fixes to icon window drawing.
      
      	* [windows/winpos.c]
      	A few fixes in SetWindowPos().
      
      Sun Oct 30 12:50:24 1994  Michael Patra  <micky@marie.physik.tu-berlin.de>
      
      	* [objects/bitblt.c]
      	BitBlt(): BitBlt is now able to handle any raster operation. If
      	the request can't be passed to XWindows directly, it's quite
      	slow, though.
      
      	* [*/*.c]
      	  [misc/main.c]
      	Improvements of the system for handling debug messages. Options are
      	now also loaded from /usr/lib/X11/app-defaults/Wine (insert
      	*debugoptions: +xxx there if you want to have turn messages xxx on).
      
      	* [controls/menu.c]
      	DestroyMenu(): The whole window won't be destroyed as a sideeffect
      	any longer.
      
      	* [misc/file.c]
      	OpenFile(): Fixed bug in searching in system/window-directory.
      
      Sun Oct 30 12:25:53 1994  Jimmy Tirtawangsa <j0t2527@tam2000.tamu.edu>
      
      	* [include/windows.h]
      	Bug fix for window related structures.
      	DCB and COMSTAT are affected. They must be packed.
      
      	* [misc/comm.c]
      	Bug fix for COM ports:
      	Dial and dialog window in terminal.exe now works.
      	Non sequential COM assignments in wine.conf should not break now.
      	Baudrate can be specified in wine.conf to overcome baudrate limitation
      	in mswindow. See sample wine.ini
      
      	* [include/comm.h]
      	add baudrate field to DosDeviceStructre
      
      	* [object/font.c]
      	Bug fix for font assignment.
      	Use pairs of foundry and family fontnames in X11 to correspond with
      	window's fonts.
      	Put font assignment ini wine.ini.
      
      	* [wine.ini]
      	Adding optional baudrate after port name in "serialports" section
      	Add new section, "fonts".
      	"default" is special key in "fonts" to match any unmatch window font.
      
      Oct 29, 94 (new address) wine@trgcorp.mksinfo.qc.ca (Martin Ayotte)
      
      	* [if1632/relay.c]
      	* [if1632/commdlg.spec] 	New file.
      	* [misc/commdlg.c] 			New file.
      	* [include/commdlg.h] 		New file.
      	Begin of an emulated COMMDLG DLL, built-in for now.
      	(BTW, if you want to switch between built-in & 16bits CommDlg, only 
      	thing you need to do is to put the real/dummy name in file relay.c)
      
      	* [controls/scroll.c]
      	* [controls/combo.c]
      	* [controls/listbox.c]
      	Few bug fixes and/or cosmetic.
      
      	* [misc/audio.c]
      	* [misc/mmaux.c]
      	bug fixes and flags returned to emulate SB16.
      
      	* [misc/midi.c] 			New file.
      	skeleton for 'Midi' MMSYSTEM & MCI driver.
      
      	* [misc/mcianim.c] 			New file.
      	skeleton for 'Animation1' MCI driver.
      
      	* [windows/win.c]
      	Add new stub for GetLastActiveWindow().
      
      Tue Oct 25 09:17:25 1994  Olaf Flebbe  (flebbe@tat.physik.uni-tuebingen.de)
      
      	* [if1632/call.S] [tools/build.c]
                 Support for ELF format. (Not complete)
      
      Sun Oct 23 00:51:50 1994  Paul Falstad  (pf@zoof)
      
      	* [if1632/user.spec]
      	Add stubs for ArrangeIconicWindows(), etc.
      
      	* [if1632/kernel.spec]
      	Add IsBad*Ptr() functions.
      
      	* [loader/signal.c]
      	Add test_memory(), for use with IsBad*Ptr().
      
      	* [windows/winpos.c]
      	Add stubs for TileChildWindows(), etc.
      
      	* [windows/win.c]
      	IsWindow() shouldn't crash if it's given a bad handle.
      	Add stub for GetLastActivePopup().
      
      	* [memory/global.c]
      	Implement the IsBad*Ptr() functions.
      
      	* [controls/listbox.c]
      	Return the full longword of the item data in LB_GETITEMDATA.
      
      	* [controls/edit.c]
      	Don't let the user select an area past the end of the text.
      
      	* [objects/text.c]
      	In DrawText(), the code to delete crlfs also removed multiple
      	consecutive newlines.  Also, using DT_CALCRECT didn't return
      	the right height, and the width wasn't returned at all.
      	This caused MessageBoxes to be missing much of their text.
      
      	* [windows/scroll.c]
      	ScrollWindow[Ex] didn't work right with null LPRECT arguments.
      
      Fri Oct 21 21:47:19 1994  Paul Falstad  (pf@zoof.cts.com)
      
      	* [miscemu/int21.c]
      	Fixed int21 0x42 handler to properly assemble 32-bit seek ptr.
      
      	* [misc/property.c]
      	Fixed inverted logic in EnumProps(), and changed CallBack16()
      	call to use new arg format.
      
      	* [windows/win.c]
      	Fixed CallBack16() call in Enum[Child]Windows to use new arg
      	format; this fixes crashes in enum procedures.
      
      Wed Oct 19 21:30:00 PDT 1994		martin@cs.csufresno.edu
      
      	* [misc/clipboard.c]
      	  [windows/event.c]
      	  [windows/message.c]
      	Added cut and paste between Wine and other X clients via
      	the PRIMARY selection. Text only this time.
      
      	* [controls/edit.c]
      	EDIT_LineLength, EDIT_TextLine return 0 for lines after last one.
      
      	* [windows/defwnd.c]
      	Send WM_SYSCOMMAND to overlapped ancestor window, 
      	not the receiver of WM_SYSKEYDOWN
      
      Sat Oct 22 15:01:02 1994  Thomas Sandford <t.d.g.sandford@bradford.ac.uk>
      
              * [controls/edit.c]
      	ClientWidth()/ClientHeight() macros: return 0 if size would
      	be negative
      	EDIT_StrLength(): takes unsigned char* instead of char*
      
      	* [controls/listbox.c]
      	ListBoxWndProc(): in "case WM_MOUSEMOVE" - set lphl at start of
      	case instead of in each place required (it was omitted in
      	some places causing problems!)
      
      	* [controls/menu.c]
      	MENU_CalcItemSize(): don't try to find size of a text item
      	if the pointer is NULL
      
      	* [include/heap.h]
      	added definition of HEAP_LocalInit()
      
      	* [include/msdos.h]
      	removed buggy pointer() macro (use SAFEMAKEPTR() from segmem.h
      	instead)
      
      	* [loader/selector.c]
      	IPCCopySelector(): added missing flags to shmget() call
      	? does this break linux - I added these flags in a previous
      	patch but they were missing in the corresponding release ?
      
      	* [loader/signal.c]
      	win_fault(): added missing definitions of i, dump for those
      	not running NetBSD or linux
      
      	* [misc/dos_fs.c]
      	DOS_GetCurrentDir(): made temp[] static so it can be safely
      	returned
      
      	* [miscemu/int21.c,int25.c,int26.c]
      	Changed all invocations of pointer() to SAFEMAKEPTR(). Included
      	segmem.h where necessary.
      
      	* [windows/dialog.c]
      	CreateDialogIndirectParam(): Changed HEAP_Init() call to 
      	HEAP_LocalInit(), removed redundant variables
      
      Sat Oct 22 00:29:41 MET 1994		  Dag Asheim (dash@ifi.uio.no)
      
      	* [loader/library.c] [loader/main.c] [loader/ne_image.c]
      	  [misc/exec.c] [miscemu/int10.c] [miscemu/int21.c]
      	  [objects/bitblt.c] [objects/metafile.c]
      	Rewritten more printf's to use the new debugging system, and
      	made wine less verbose per default. Use "-debugmsg +module"
      	to get (almost) the same behavior as before.
      3a405baf
  27. 17 Oct, 1994 1 commit
    • Alexandre Julliard's avatar
      Release 941017 · aca05783
      Alexandre Julliard authored
      Sun Oct 16 13:29:07 1994  Alexandre Julliard  (julliard@lamisun.epfl.ch)
      
      	* [controls/button.c]
      	Implemented WM_GETDLGCODE, WM_SETFONT, BM_SETSTYLE, BM_SETCHECK,
      	BM_SETSTATE.
      	Implemented default button painting.
      	Optimised redrawing.
      	Fixed owner-draw buttons.
      
      	* [controls/static.c]
      	Implemented WM_SETFONT.
      	A few optimisations in painting code.
      	Bug fix for SS_SIMPLE controls.
      
      	* [if1632/callback.c]
      	Preliminary GetCodeHandle().
      
      	* [if1632/gdi.spec]
      	Changed 'pascal' to 'pascal16' everywhere it's needed.
      
      	* [include/windows.h]
      	Fixed a few data structures.
      
      	* [memory/heap.c]
      	Bug fix in HEAP_ReAlloc().
      
      	* [misc/cursor.c]
      	Fixed SetCursor().
      
      	* [objects/bitblt.c]
      	Fixed PatBlt() when using BLACKNESS or WHITENESS codes.
      
      	* [objects/font.c]
      	Better font mapping code.
      	Implemented GetTextFace().
      
      	* [objects/region.c]
      	Bug fix in REGION_MakePixmap().
      	Faster region copying.
      
      	* [objects/text.c]
      	Implemented ExtTextOut().
      	Implemented DT_NOCLIP style for DrawText().
      
      	* [windows/dc.c]
      	Free the bitmap when deleting a memory DC.
      
      	* [windows/dce.c]
      	Added support for windows that have no associated X window.
      	Implemented DCX_CLIPSIBLINGS and DCX_PARENTCLIP in GetDCEx().
      
      	* [windows/defdlg.c]
      	Implemented default push button handling and DM_SETDEFID.
      	Implemented WM_NEXTDLGCTL.
      
      	* [windows/dialog.c]
      	Implemented default push button handling.
      	Beginning of a keyboard interface in dialogs
      	(does not really work yet).
      	Fixed dialogs that use a special font.
      
      	* [windows/event.c] [windows/focus.c]
      	Added support for non-X windows.
      
      	* [windows/graphics.c]
      	Rewritten FloodFill() and implemented ExtFloodFill().
      
      	* [windows/message.c]
      	Cleaner hardware messages and X events handling.
      
      	* [windows/defwnd.c] [windows/painting.c]
      	Implemented WM_SETREDRAW.
      
      	* [windows/win.c]
      	Only create an X window for top-level windows, or for the desktop.
      	Child windows now use their parent's drawable.
      
      	* [windows/winpos.c]
      	Beginning of support for non-X windows (still somewhat broken).
      	Implemented *DeferWindowPos().
      
      	* [*/Imakefile]
      	Cleaned up some Imakefiles.
      	Moved dc.c from windows/ to objects/.
      	Moved cursor.c from misc/ to windows/.
      
      Sun Oct 16 12:21:52 1994  Michael Patra <micky@marie.physik.tu-berlin.d400.de>
      
      	* [include/debug.h]
      	  [include/stddebug.h]
      	  [*/*.c]
              Rewritten all the calls to printf for displaying debug-information
              (messages like "LoadImage: loading SOL (SOL.EXE)" etc.) 
              Added option "-debugmsg" to Wine. Example: "-debugmsg +all" will turn
              all these messages on, "-debugmsg -dll" will turn all messages 
      	concerning DLLs off.
      
      	* [controls/combo.c]
      	Added some handling for combo controls with ownerdraw-styles
              (just creating and passing the necessary messages to the 
      	corresponding listbox control; the edit-control needs to be
      	replaced with something else).
      
      	* [controls/edit.c]
      	  [windows/dialog.c]
      	Added support for use of global heap memory in dialogs with 
      	edit controls.
      
      	* [controls/listbox.c]
      	Added support for item data.
      	ListBoxInsertString(): Fixed bug for elements which are not inserted
      	after the currently last element.
      	
      	* [misc/dos_fs.c]
      	  [miscemu/int21.c]
      	DOS_ValidDirectory(): Checks whether a given string is in fact the
      	valid name of a directory.
      
      Sat Oct 15 17:35:00 PDT 1994		<martin@cs.csufresno.edu>
      
      	* [Imakefile]
      	generate wine.sym after creating wine
      
      	* [debugger/dbg.y]
      	load "wine.sym" when entering debugger
      
      	* [debugger/info.c]
      	symbolic backtrace for 32-bit stack. Breaks 16-bit bt.
      
      Sun Sep  25 12:00:00 PDT 1994   <martin@osiris.cs.csufresno.edu>
      
      	* [rc/rc.y] [rc/rc.h] [rc/rc.l] [rc/winerc.c]
      	Files created
      
      Sun Sep 18 11:04:45 MET DST 1994          Dag Asheim (dash@ifi.uio.no)
      
      	* [misc/spy.c]
      	Exclude and Include no longer requires a terminating ';' to
      	register the last component.
      
      Thu Sep 15 23:10:09 MET DST 1994          Dag Asheim (dash@ifi.uio.no)
      
      	* [Configure]
      	Rewrote much of it.  Added capability to generate a wine.ini
      	file.  Commented out the processor emulator options until that
      	becomes interesting.  Gives a warning if it sees any *.rej
      	files.  I hope I haven't assumed to much about the shell/OS so
      	that it breaks under *BSD.
      
      	* [misc/dos_fs.c]
      	Removed/changed calls to ToUnix() (which calls tolower()) so
      	that the part of the pathname which correspond with the drive
      	letter on DOS no longer will be mapped to lowercase.  This
      	means that it should be possible to have uppercase letters in
      	the [drives] section of wine.ini.
      
      	* [LICENSE]
      	Cosmetic changes so that it displays better in the window you
      	get from pressing "Credit_License" in the "About WINE" window.
      
      Sun Aug 21 21:12:06 MET DST 1994	<erik@xs4all.nl>
      
      	* [controls/menu.c]
      	LoadMenu() moved to loader/resource.c.
      
      	* [misc/main.c]
      	Added stub for FileCDR().
      
      	* [include/peexe.h]
      	Added, from Eric's pe-test.
      
      	* [include/resource.h]
      	Added.
      
      	* [loader/resources.c]
      	Removed duplicated code in *Resource() functions.
      	Moved NE-program specific functions into ne_image.c.
      	Moved NE-fileformat functions to ne_resource.c.
      
      	* [pe_image.c] [pe_resource.c]
      	Added. Nothing implemented to run PE-executables, resource
      	loading only.
      
      	* [misc/file.c]
      	Changed OpenFile() to use macros.
      
      	* [misc/shell.c]
      	Added NULL-ptr checks to ShellAbout().
      
      	* [miscemu/int21.c]
      	Fixed a few typos.
      
      	* [miscemu/kernel.c]
      	Added _DI = _DS, to put the caller's instance in DI. Doesn't
      	work properly if caller changed DS :-(
      aca05783
  28. 16 Aug, 1994 1 commit
    • Alexandre Julliard's avatar
      Release 940815 · 3f2abfaa
      Alexandre Julliard authored
      Tue Aug  9 23:58:29 MET DST 1994	<erik@hacktic.nl>
      
      	* [misc/file.c]
      	OpenFile(): Completly rewritten.
      
      	* [miscemu/int21.c]
      	CreateFile(): Fixed wrong mode in call to open.
      	OpenExistingFile(): Implemented file sharing.
      	FindNext(): Fixed.
      	CreateNewFile(): Fixed wrong mode in call to open.
      	fLock(): Added to handle record locking.
      	GetFileAttribute(): Added.
      	As a result, AH = 0x5c, 0x09, and 0x0b were changed.
      
      	* [miscemu/int2f.c]
      	AH = 0x10: SHARE installation check
       
      	* [loader/resource.c]
      	AccessResource(): Fixed. A new file descriptor will be returned by
      	every call to AccessResource().
      
      	* [windows/utility.c]
      	wvsprintf(): Fixed.
      
      	* [controls/menu.c]
      	FindMenuItem(): Fixed (handling for nPos == -1 added).	
      
      	* [windows/win.c]
      	CreateWindowEx(): Added call to WINPOS_GetMinMaxInfo.
      
      	* [Configure]
      	Added two options for a processor emulator that might be
      	plugged in later..
      
      	* [loader/task.c] [include/toolhelp.h] [if1632/toolhelp.spec]
      	CreateNewTask() stores real modulename instead of 'TASKxxxx'.
      	Added TaskFirst(), TaskNext(), TaskFindHandle().
      
      	* [memory/global.c]
      	Added stub for MemManInfo().
      
      	* [objects/text.c]
      	Added stub for GetTabbedTextExt().
      
      	* [miscemu/*]
      	Changed all references to registers. Please don't access
       	the context structure.
      	fix for GetSystemTime() by <jspeter@birch.ee.vt.edu> added.
      
      	* [misc/lstr.c]
      	Fixed bug in AnsiUpper() & AnsiLower().
      
      	* [misc/winsocket.c]
      	bugfix in getsockopt()/setsockopt(): winsock uses different values
      	than unix.
      
      	* [objects/dib.c]
      	Added DIB_SetImageBits_RLE[48] to support compressed bitmaps.
      
      Mon Aug  8 21:12:33 1994  David Metcalfe <david@prism.demon.co.uk>
      
      	* [controls/edit.c]
      	Added support for WM_COPY, WM_CUT and WM_PASTE messages.
      
      	* [windows/dialog.c] [windows/defdlg.c] [include/dialog.h]
      	Modified dialog code to create new heap for edit controls
      	unless DS_LOCALEDIT style is set.
      
      Thu Aug  4 18:50:56 1994  Alexandre Julliard  (julliard@lamisun.epfl.ch)
      
      	* [controls/button.c] [controls/edit.c] [controls/static.c]
      	Removed unneeded GlobalUnlock() calls.
      
      	* [controls/menu.c] [include/menu.h]
      	Lots of changes, fixed a lot of old bugs and introduced a lot of
      	new ones :-)
      	- Changed message loop to use MSG_GetInternalMessage().
      	- Fixed a bug that caused the main window to lose activation when
      	  displaying a menu.
      	- Correctly send initialisation messages (WM_INITMENUPOPUP).
      	- Implemented EndMenu() and LookupMenuHandle().
      	- Changed internal structures to be as compatible as possible with
      	  MS-Windows.
      	- Allocated everything on the USER heap instead of the global heap.
      	- Prefixed all internal function names with MENU_ and declared
      	  them static.
      	- Moved "About Wine..." handling to NC_HandleSysCommand().
      	- Multi-line menus should now work correctly.
      
      	* [loader/resource.c] [objects/bitmap.c]
      	Added the possibility to create OEM bitmaps directly as X bitmaps.
      
      	* [objects/dcvalues.c] [windows/dc.c]
      	Fixed GetDCOrg() to return screen coordinates.
      
      	* [windows/message.c]
      	Fixed double-click checks when the message is not removed from the
      	queue.
      	Fixed MSG_GetInternalMessage() to send WM_ENTERIDLE messages.
      
      	* [windows/nonclient.c]
      	Bug fix in system menu hit-test calculation.
      	A few changes for new menu functions.
      
      Thu Aug 11 17:51:02 1994  Thomas Sandford <t.d.g.sandford@bradford.ac.uk>
      
              * [controls/edit.c]
              Bug fix in Edit_NCCreateMessage
              es->textlen was being used before being set
      
              * [controls/menu.c]
              Bug fix in MENU_DrawMenuItem
              don't try to write text if NULL pointer passed
      3f2abfaa
  29. 21 Apr, 1994 1 commit
    • Alexandre Julliard's avatar
      Release 940420 · 5819953c
      Alexandre Julliard authored
      Wed Apr 20 14:53:35 1994  Bob Amstadt  (bob@pooh)
      
      	* [tools/build.c] [if1632/call.S] [if1632/Imakefile]
      	Fixed bug for non-Linux systems.
      
      Apr 18, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
      
      	* [windows/win.c]
      	Bug fixed in CreateWindowEx() : Now use SetMenu() for menubar setup.
      	New empty stub for function SetSysModalWindow().
      
      	* [misc/exec.c]
      	New empty stub for function ExitWindows().
      
      	* [objects/font.c]
      	New empty stub for function EnumFonts().
      
      	* New file [misc/property.c]
      	New functions RemoveProp(), GetProp(), SetProp() & EnumProps().
      
      	* New file [misc/shell.c]
      	New empty stubs for function RegisterShellProc(), 
      			ShellExecute() & ShellProc().
      
      	* New files [loader/task.c] & [include/task.h]
      	Move functions GetWindowTask(), GetNumTask(), EnumTaskWindows()
      		from 'loader/library.c'.
      
      	* [if1632/user.c] [if1632/kernel.c]
      	Put Atoms functions entries.
      
      	* [controls/combo.c]
      	New functions DirDlgSelectComboBox() & DirDlgListComboBox().
      
      	* [controls/listbox.c]
      	New functions DirDlgSelect() & DirDlgList().
      
      Sun Apr 17 20:57:59 1994  Erik Bos (erik@trashcan.hacktic.nl)
      
      	* [objects/test.c]
      	GrayString() added.
      
      	* [if1632/callback.c]
      	CallGrayStringProc() added.
      
      	* [if1632/relay.c] [if1632/mmsystem.spec]
      	Added.
      
      	* [if1632/kernel.spec] [if1632/user.spec]
      	Added forgotten specs for atom functions.
      
      Tue Apr 12 00:05:31 1994  Bob Amstadt  (bob@pooh)
      
      	* misc/spy.c (SpyInit): Added more message types
      
      	* [windows/mdi.c] [include/mdi.h]
      	Maximizing and restoring child windows.
      	Tiling of child windows.
      
      Mon Apr 11 20:48:28 1994  Alexandre Julliard  (julliard@lamisun.epfl.ch)
      
      	* [windows/winpos.c]
      	Revert focus and activation to previous window when hiding a window.
      
      	* [windows/syscolor.c]
      	Implemented system color objects (brushes and pens created at
      	SetSysColor() time for better performance).
      
      	* [windows/graphics.c] [windows/nonclient.c] [controls/button.c]
      	Changed painting code to use system color objects.
      
      	* [windows/message.c]
      	New function MSG_InternalGetMessage() for internal messages
      	loops (e.g. for dialogs or menus).
      
      	* [windows/hook.c] [include/hook.h]  (New files)
      	Beginning of the window hooks implementation.
      
      	* [windows/dialog.c]
      	Use new function MSG_InternalGetMessage() in DialogBox().
      
      	* [if1632/callback.c]
      	Added function CallHookProc().
      
      Apr 11, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
      
      	* [windows/event.c]
      	Bug fix : WM_CHARs are sent to focused window like WM_KEY???.
      
      	* [misc/exec.c]
      	Nothing much more than a stub for LoadModule(), I saw there a lot
      		to be done in that corner, I will come back later ...
      
      	* [loader/library.c]
      	New functions GetWindowTask(), GetNumTask(), EnumTaskWindows() 
      			and associated modules & tasks linked-lists.
      	(it's only an 'emerging bud', more to come next weeks).
      
      	* [loader/wine.c]
      	Use LoadLibrary() instead of LoadImage() for 'sysres.dll'.
      
      	* [control/menu.c]
      	You can now click outside menu region without problem.
      	Keyboard navig more smootly, even if a child has the focus.
      	Bug fix in InsertItem(), (bad linklist when insert point not found).
      	change Realloc for Free & Alloc in ModifyItem().
      	MF_STRING now set BLACK_PEN to fix bug of bad color of the underscores 
      		done by DrawText(), (maybe it should done in DrawText() itself ?).
      
      Sun Apr 10 14:06:08 1994  Erik Bos (erik@trashcan.hacktic.nl)
      
      	* [misc/profile.c]
      	.INI files will now be stored in / loaded from the windows dir
      	if no path is supplied.
      
      	* [if1632/kernel.spec]
      	Fixed GetDriveType's prototype.
      
      	* [if1632/winsock.spec] [include/winsock.h] [misc/winsocket.c]
      	Fixed prototypes: winsock uses a word as socket handle not an int.
      
      	* [misc/winsocket.c]
      	Added heap allocation for returned structures.
      	Added non-blocking WSAAsyncGetXbyY() functions as blocking ones.
      
      	* [loader/wine.c]
      	Added IsDLLLoaded(), used in LoadImage() to prevent loading
      	a dll multiple times.
      	Directory is added to wine's path when a fullpath is supplied when
      	starting wine.
      	LoadImage(): DLL filename used instead DLL's own internal name,
      	fixes 'Bad DLL name' errors.
      
      Sat Apr  9 08:26:03 1994  David Metcalfe <david@prism.demon.co.uk>
      
      	* [controls/edit.c] [controls/widgets.c]
      	First release of edit control.
      5819953c
  30. 05 Apr, 1994 1 commit
    • Alexandre Julliard's avatar
      Release 940405 · 8d24ae6d
      Alexandre Julliard authored
      Tue Apr  5 14:36:59 1994  Bob Amstadt  (bob@pooh)
      
      	* [include/mdi.h] [windows/mdi.c]
      	Use WM_PARENTNOTIFY messages to activate children.
      	Generate WM_CHILDACTIVATE messages.
      	Beginnings handler for maxmized child window.
      	Clean up when children are destroyed.
      
      	* [windows/message.c] [windows/nonclient.c] [windows/winpos.c]
      	Removed code add 94/03/26.
      
      Apr 4, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
      
      	* [control/menu.c]
      	Make mouse menu navigation working again. :-))
      	(be carefull, clicking outside menus (ie.: clientrect) 
      	not resolved yet)
      
      	* [windows/nonclient.c]  [controls/scroll.c]
      	Bugs fix in NCTrackScrollBars().
      
      	* [misc/dos_fs.c]
      	Bug fix in 'ToDos()' in conversion for '/',
      		(example: '/window/' was translated to 'WINDOWs').
      
      	* [miscemu/int21.c]
      	Function ChangeDir() extract possible drive before DOS_ChangeDir().
      
      	* [loader/library.c]  [loader/wine.c]
      	Playing around moving function GetProcAddress() and put some code in.
      
      Mon Apr  4 21:39:07 1994  Alexandre Julliard (julliard@lamisun.epfl.ch)
      
      	* [misc/main.c]
      	Better explanation of command-line options.
      
      	* [objects/dib.c]
      	Implemented SetDIBitsToDevice().
      
      	* [windows/dc.c]
      	Bug fix in SetDCState().
      
      	* [windows/event.c]
      	Removed WS_DISABLED handling (now done in message.c).
      
      	* [windows/message.c]
      	Added sending a WM_PARENTNOTIFY message in MSG_TranslateMouseMsg().
      	Use WindowFromPoint() to find the window for mouse events, taking
      	into account disabled windows.
      
      	* [windows/painting.c]
      	Bug fix in BeginPaint() to allow calling it at other times than
      	on WM_PAINT (Solitaire needs it...)
      
      	* [windows/win.c]
      	Implemented FindWindow().
      	Rewritten EnableWindow() to behave more like Windows.
      
      	* [windows/winpos.c]
      	Rewritten WindowFromPoint() to also search child windows.
      
      Mon Apr  4 17:36:32 1994  Erik Bos (erik@trashcan.hacktic.nl)
      
      	* [include/int21.h] -> [msdos.h]
      	renamed.
      
      	* [miscemu/int10.h] [miscemu/int25.h] [miscemu/int26.h] 
      	new, added for int 10, 25 and 26.
      
      	* [miscemu/ioports.c]
      	new, added to allow win apps to use ioports.
      
      	* [loader/signal.c]
      	Added support for in, inb, out, outb instructions.
      
      Sun Mar 27 13:40:25 1994  Bob Amstadt  (bob@pooh)
      
      	* controls/menu.c (InsertMenu): Changed to use FindMenuItem().
      
      Sat Mar 26 21:23:55 1994  Bob Amstadt  (bob@pooh)
      
      	* [windows/mdi.c]
      	Window list properly updated.
      
      	* [windows/message.c]
      	Call WINPOS_ChildActivate() when mouse pressed.
      
      	* [windows/nonclient.c]
      	Use WINPOS_IsAnActiveWindow() instead of GetActiveWindow() in
      	NC_HandleNCPaint().
      
      	* [windows/winpos.c]
      	Created functions WINPOS_IsAnActiveWindow() and WINPOS_ActivateChild()
      
      Thu Mar 24 14:49:17 1994  Bob Amstadt  (bob@pooh)
      
      	* controls/menu.c (DeleteMenu): Changed to use FindMenuItem
      	(DeleteMenu): Many bug fixes.
      
      	* [controls/menu.c]
      	Created function FindMenuItem().
      
      Thu Mar 24 14:17:24 1994  Bob Amstadt  (bob@pooh)
      
      	* [windows/win.c]
      	Removed incorrect MDI handling code from CreateWindowEx().
      
      	* [controls/menu.c]
      	MF_STRING items needed to allocate a private copy of string.
      
      	* [controls/menu.c]
      	Fixed buggy calls to GlobalFree().
      
      	* [memory/global.c]
      	Eliminated some redundant code with function call.
      
      Wed Mar 23 1994 Pentti Moilanen (pentti.moilanen@ntc.nokia.com)
      
      	* [windows/timer.c]
      	timer list pointers looped in InsertTimer
      
      Tue Mar 29 13:32:08 MET DST 1994  julliard@di.epfl.ch (Alexandre Julliard)
      
      	* [misc/cursor.c]
      	A few changes for desktop window support.
      
      	* [misc/main.c]
      	Added -depth option.
      
      	* [misc/rect.c]
      	Yet another bug fix in SubtractRect().
      
      	* [objects/bitmap.c]
      	Changes to use only one depth (specified with -depth)
      	for color bitmaps.
      
      	* [objects/brush.c]
      	Added support for dithered solid brushes.
      
      	* [objects/color.c]
      	Use the same 20 system colors as in Windows.
      	System palette initialisation now done in COLOR_InitPalette().
      	Added support for a color mapping table to map logical color
      	indexes to X colormap entries.
      	Implemented GetNearestColor() and RealizeDefaultPalette().
      
      	* [objects/dib.c]
      	Added support for color mapping table.
      
      	* [objects/dither.c]  (New file)
      	Implemented solid color dithering.
      
      	* [objects/palette.c]
      	Implemented GetSystemPaletteEntries() and SelectPalette().
      
      	* [windows/class.c]
      	Make a copy of the menu name in RegisterClass().
      
      	* [windows/dc.c]
      	Fixed device caps when using a desktop window.
      	Added support for the color mapping table in DCs.
      
      	* [windows/event.c]
      	Added ConfigureNotify handler on desktop window.
      
      	* [windows/message.c]
      	Removed call to XTranslateCoordinates() on every mouse motion
      	New function MSG_Synchronize() to synchronize with the X server.
      
      	* [windows/syscolor.c]
      	Rewritten SYSCOLOR_Init() to read the system colors from WIN.INI.
      
      	* [windows/winpos.c]
      	Added synchronization on window mapping. Solves the double redraw
      	problem when starting Solitaire.
      
      Mar 27, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
      
      	* [control/menu.c]	* [windows/defwnd.c]
      	Make keyboard navigation working with menubar,
      	but temporarely inserted a bug in menubar mouse handling ... :-((
      	(it will be fix next week !)
      
      	* [windows/defwnd.c]
      	Connect VK_MENU to menubar navigation.
      
      	* [loader/library.c]
      	GetModuleHandle() return 'fictive 0xF000+ handles' for built-in DLLs.
      
      Sun Mar 20 22:32:13 1994 Erik Bos (erik@trashcan.hacktic.nl)
      
      	* [misc/main.c]
      	Added Copy(). Added a check for `-h' to show usage.
      
      	* [misc/dos_fs.c]
      	Fixed bug in FindFile(), to load directories as dlls.
      
      	* [misc/dos_fs.c]
      	Fixed ToUnix() and ToDos() again, as my previous patch
      	didn't make it.
      
      	* [misc/dos_fs.c] [miscemu/int21.c]
      	Bug fixes, should be able to handle all winfile and progman int21
      	requests now except for a few small things.
      
      Tue Mar 29 06:25:54 1994  crw@harris.mlb.semi.harris.com (Carl Williams)
      
      	* [memory/heap.c]
      	Implemented GetFreeSystemResources().
      
      Mon Mar 21 17:32:25 1994  Bob Amstadt  (bob@pooh)
      
      	* controls/menu.c (GetSubMenu): Function did not return correct value
      
      	* [windows/mdi.c]
      	Beginnings of menu handling.
      
      Thu Mar 10 11:32:06 1994  Stefan (SAM) Muenzel  (muenzel@tat.physik.uni-tuebingen.de)
      
      	* [objects/font.c]
      	if font.width equals zero use asterix instead.
      
      Mon Mar 21 17:23:37 MET 1994  julliard@di.epfl.ch (Alexandre Julliard)
      
      	* [objects/bitmap.c]
      	Rewritten bitmap code to use exclusively X pixmaps; *much* faster.
      
      	* [objects/brush.c]
      	Some changes with pattern brushes because of the new bitmap code.
      
      	* [objects/color.c]
      	Added function COLOR_ToPhysical for better color mapping.
      
      	* [objects/dib.c]
      	Heavily optimized SetDIBits().
      
      	* [windows/dc.c]
      	Opimized SetDCState() and DC_SetupGC*() functions.
      	Added stub for CreateIC().
      
      Mar 20, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
      
      	* [misc/message.c]
      	Call SetFocus() after closing box to give back focus to previous owner.
      
      	* [misc/files.c]
      	Small bug fix in GetTempFilename() : replace a '\' to '\\'.
      
      	* [control/scroll.c]
      	Calls to BitBlt() replace by StretchBlt().
      
      	* [control/menu.c]
      	Call SetFocus() to previous owner after closing Popups.	
      	Fill stub DeleteMenu().
      
      	* [control/listbox.c]
      	* [control/combo.c]
      	Use SetFocus() in WM_LBUTTONDOWN.
      	Close ComboBox List upon WM_KILLFOCUS.
      	Early development of WM_MEASUREITEM mecanism.
      
      	* [windows/defwnd.c]
      	Early development of WM_MEASUREITEM mecanism.
      
      Tue Mar 22 10:44:57 1994  Miguel de Icaza  (miguel@xochitl)
      
      	* [misc/atom.c]
      	Fixed sintaxis problem when building the library.
      
      Tue Mar 15 13:11:56 1994  Bob Amstadt  (bob@pooh)
      
      	* [include/windows.h]
      	Added message types and structures for MDI
      
      	* [include/mdi.h]
      	Created internal structures for handling MDI
      
      	* [windows/mdi.c]
      	Began creating MDI support
      
      Thu Mar 10 16:51:46 1994  Bob Amstadt  (bob@pooh)
      
      	* [loader/wine.c] [include/wine.h]
      	Added new field to "struct w_files" to hold the "name table"
      	resource for Windows 3.0 programs
      
      	* [loader/resource.c]
      	Added code to handle programs with a "name table" resource.
      	LoadResourceByName() modified to check for the existence of
      	this resource.
      
      Mon Mar 14 22:31:42 MET 1994  julliard@di.epfl.ch (Alexandre Julliard)
      
      	* [objects/color.c]
      	Added installing the private colormap on the desktop window.
      
      	* [windows/event.c]
      	Cleaned up focus event handling (see focus.c).
      	Use GetFocus() to direct key events to the correct window.
      
      	* [windows/focus.c]
      	Rewritten SetFocus() to:
      	- only set X focus on top-level windows
      	- send WM_SETFOCUS and WM_KILLFOCUS messages (was done in event.c)
      	- prevent setting focus to disabled windows
      	- install private colormap so -privatemap option works again
      
      	* [windows/message.c] [windows/timer.c]
      	Changed timer management to no longer use PostMessage(), but
      	to generate timer messages on the fly. Also fixed a related bug
      	in GetMessage() which could cause busy-waiting.
      
      	* [windows/win.c]
      	Only select focus events on top-level windows.
      
      	* [windows/winpos.c]
      	Added some sanity checks for desktop window.
      
      Fri Mar  4 20:42:01 1994  Erik Bos (erik@trashcan.hacktic.nl)
      
      	* [misc/dos_fs.c]
      	bug fixes in ToUnix(), WinIniFileName(), GetUnixFileName(). 
      	Support for tilde symbol added for rootdirectories in [drives]
      	section of wine's configfile.
      
      	* [misc/file.c]
      	hread(), hwrite() added.
      
      	* [misc/main.c]
      	hmemcpy() added.
      
      	* [if1632/stress.spec] [include/stress.h] [misc/stress.c]
      	Added STRESS.DLL, an useless dll used to stress a windows system.
      
      	* [*/*]
      	Added missing #includes, fixed prototypes for prototype checking.
      
      	* [include/prototypes.h]
      
      	Added prototypes for loader/*c, if1632/*c.
      
      Tue Mar  8 09:54:34 1994  Bob Amstadt  (bob@pooh)
      
      	* [Configure]
      	Added reminder to set WINEPATH, if it is not set.
      
      	* [Imakefile]
      	Removed #elif's
      
      	* [controls/button.c]
      	Added BN_CLICKED notification for owner-draw buttons.
      
      	* [if1632/kernel.spec] [memory/heap.c]
      	Changed Local* functions to WIN16_Local* to prevent unconcious use
      	of these functions.
      
      	* [if1632/relay.c]
      	Push old Stack16Frame on stack before setting.
      
      	* [include/atom.h] [misc/atom.c] [include/heap.h] [memory/local.c]
      	Added multiple local heap handling in Atom* functions.
      
      	* [include/regfunc.h] [miscemu/int21.c]
      	Rewrote DOS3Call() use context frame that is already on the stack.
      
      	* [misc/profile.c]
      	Fixed to allow leading ";" to mark comments.
      
      	* [misc/spy.c]
      	Fixed bugs and added support for "include" and "exclude" filters.
      
      	* [misc/user.c]
      	Rearranged calls in InitApp().
      
      	* [misc/font.c]
      	Fixed font handling to create system fonts, if they are used.
      
      	* [windows/dc.c]
      	If text drawn on window with no font specified, then default the
      	font to the system font.
      
      Mon Mar  7 20:32:09 MET 1994  julliard@di.epfl.ch (Alexandre Julliard)
      
      	* [controls/desktop.c]
      	Added handling of WM_NCCREATE and WM_ERASEBKGND functions.
      	Implemented SetDeskPattern().
      
      	* [misc/main.c]
      	Added -desktop option to get a large desktop window with
      	everything inside it.
      	Added -name option.
      
      	* [misc/rect.c]
      	Bug fix in SubtractRect().
      
      	* [objects/*.c]
      	Replaced the DefaultRootWindow() macro by the rootWindow variable.
      
      	* [windows/event.c] [windows/message.c]
      	  [windows/nonclient.c] [windows/win.c]
      	A few changes to accomodate the new desktop window.
      
       Tue Mar  8 11:13:03 1994  Miguel de Icaza  (miguel@xochitl.nuclecu.unam.mx)
       
       	* [toolkit/arch.c] --New file-- 
       	Routines for converting little endian data structures to
       	big-endian data structures, currently only BITMAP structures are 
       	converted.
       
       	* [misc/atom.c]
       	When used as part of the WineLib, the code is much simpler.
       	Doesn't depend on alignement.
       
       	* [loader/wine.c]
       	Ifdefed Emulator dependent code if compiling WineLib.
       
       	* [loader/resource.c]
       	Moved misc/resource.c to loader/resource.c.
       
       	* [loader/dump.c,ldt.c,ldtlib.c,library,c,selector.c,signal.c]
       	Ifdefed whole code if compiling WINELIB.
       
       	* [include/winsock.h]
       	Added compilation define to allow compilation on SunOS.
       
       	* [include/wine.h]
       	Removed load_typeinfo and load_nameinfo prototypes, they belong
       	to neexe.h
       
       	* [include/neexe.h]
       	Added load_typeinfo and load_nameinfo prototypes.
       
       	* [include/arch.h]
       	Fixed some bugs in the conversion routines.
       	Added macros for Bitmap loading.
      
      Tue Mar  8 12:52:05 1994  crw@maniac.mlb.semi.harris.com (Carl Williams)
       	
      	* [if1632/kernel.spec] [memory/global.c]
      	Implemented GetFreeSpace()
      
      	* [if1632/user.spec] [loader/resource.c]
      	Implemented CreateIcon()
      8d24ae6d
  31. 18 Jan, 1994 1 commit
    • Alexandre Julliard's avatar
      Release 0.7 · 86a8d0f9
      Alexandre Julliard authored
      Thu Jan 13 11:45:13 1994  John Richardson <jrichard@cs.uml.edu>
      
      	* [window/win.c]
      	Added functions EnableWindow, IsWindowEnabled, and helper 
      	WIN_SetSensitive.
      	
      	* [window/event.c]
      	Added checks for WS_DISABLED windows in EVENT_key, EVENT_MotionNotify,
      	EVENT_ButtonPress, EVENT_ButtonRelease, EVENT_ConfigureNotify,
      	EVENT_FocusIn, EVENT_FocusOut, and EVENT_EnterNotify.  Key and 
      	button presses beep for a disabled window.  
      	If anyone finds better places for these checks, please tell me.
      
      Jan 17, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
      
      	* [misc/message.c]
      	Cleanup on buttons answer value returned.
      
      	* [control/combo.c]
      	Now use OBM_COMBO bitmap dropdown button.
      
      Mon Jan 17 21:56:45 1994  Erik Bos (erik@trashcan.hacktic.nl)
      
      	* [misc/comm/c]
      	A few bugfixes.
      
      Tue Jan 18 06:36:48 1994  julliard@di.epfl.ch (Alexandre Julliard)
      
      	* [loader/cursor.c]
      	Added X cursor for IDC_SIZENS and IDC_SIZEWE.
      
      	* [include/options.h] [misc/main.c]  (New files)
      	Rewrote main() function to get rid of Xt application context,
      	and added command-line option parsing.
      
      	* [objects/color.c]
      	Use of a private map now configurable with command-line option.
      
      	* [windows/defwnd.c]
      	Added WM_SYSCOMMAND handling, and better WM_SETCURSOR handling.
      
      	* [windows/event.c]
      	Removed ConfigureNotify event handler (no longer needed).
      
      	* [windows/message.c]
      	Send WM_SETCURSOR message on mouse events.
      
      	* [windows/nonclient.c]
      	Use OEM bitmaps for the drawing of the non-client area.
      	Added caption bar buttons handling, and moving and resizing of
      	the window via the window frame (bypassing the window manager).
      
      	* [windows/painting.c]
      	Bug fix in BeginPaint().
      
      	* [windows/win.c]
      	Set the override_redirect flag for windows (to bypass window
      	manager).
      
      	* [windows/winpos.c]
      	Implemented WindowFromPoint(), ChildWindowFromPoint(),
      	BringWindowToTop(), Get/SetInternalWindowPos(),
      	Get/SetWindowPlacement().
      
      Mon Jan 17 20:48:24 1994  Bob Amstadt  (bob@pooh)
      
      	* [memory/heap.c]
      	Added support for multiple local heaps.
      86a8d0f9
  32. 12 Jan, 1994 1 commit
    • Alexandre Julliard's avatar
      Release 0.6 · cdd09237
      Alexandre Julliard authored
      Tue Jan  4 13:01:33 1994  David Metcalfe <david@prism.demon.co.uk>
      
              * [window/caret.c]
              Modified code to use system timer.
      
      Jan 9, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
      
      	* [windows/win.c]
      	Windows create if required new XLIB MenuBar & CaptionBar.
      
      	* [windows/defwnd.c]
      	WM_CALCSIZE Move & Resize caption, menubar & scrollbars.
      	(I'm not sure it's the good place for it, but it work...)
      
      	* [loader/resource.c]
      	optimize in FindResourceByNumber, make lseek() if next type ...
      
      	* [controls/scroll.c]
      	scrollbar buttons are now using system resources bitmaps.
      
      	* [controls/caption.c] - new file ...
      	captionbar showing title, close button with SysMenu,
      	and other buttons using system resources bitmaps.
      
      	* [controls/menu.c]
      	New functions: SetMenuItemBitmaps() with 'glues',
      	Make new version of LoadMenu() & ParseMenu(),
      	( put #define USE_POPUPMENU ).
      	Implementation of MenuBar functions.
      	
      	* [sysres.dll]
      	New bitmaps for system such OBM_CLOSE, OBM_MINIMIZE, OBM_UPARROWI.
      	New SYSMENU menu, it don't work yet ! :-((
      
      Tue Jan 11 05:27:45 1994  julliard@di.epfl.ch (Alexandre Julliard
      
      	* [memory/atom.c]
      	Fixed a bug that could cause atoms to be case-sensitive.
      
      	* [misc/rect.c]
      	Bug fix in SubtractRect().
      
      	* [objects/clipping.c]
      	Bug fix when setting the clip mask to an empty region.
      
      	* [windows/dce.c]
      	Bug fix in ReleaseDC().
      
      	* [windows/dialog.c]
      	Call AdjustWindowRectEx() before creating the dialog window.
      	Added support for DS_MODALFRAME style.
      
      	* [windows/event.c]
      	Cleaned up event handling and removed old Xt stuff.
      	Moved double-click handling to windows/message.c
      
      	* [windows/focus.c]
      	Bug fix: only set the X focus when the window is viewable.
      
      	* [windows/graphics.c]
      	Rewritten DrawReliefRect() to use brush instead of pen, and
      	to use the system colors.
      
      	* [windows/message.c]
      	Implemented WM_NCHITTEST message sending, and non-client
      	mouse messages.
      	Cleaned up double-click handling, and removed the Xt code.
      
      	* [windows/nonclient.c]  (New file)
      	Implemented AdjustWindowRect().
      	Implemented WM_NCCALCSIZE, WM_NCHITTEST and WM_NCPAINT handling.
      
      	* [windows/painting.c]
      	Added sending of the WM_NCPAINT message in BeginPaint().
      
      	* [windows/sysmetrics.c] [include/sysmetrics.h]  (New files)
      	Implemented system metrics.
      
      	* [windows/win.c]
      	Bug fix in setting the parent and owner in CreateWindow().
      	Removed the Xt code.
      
      	* [windows/winpos.c]
      	Added sending of the WM_NCPAINT message in SetWindowPos().
      	Removed the Xt code.
      cdd09237