1 ----------------------------------------------------------------------
2 Sun Feb 18 16:35:54 1996 Alexandre Julliard <julliard@lrc.epfl.ch>
5 Look for the wallpaper file in the Windows directory.
8 Fixed swapped parameters in SetMenuItemBitmaps().
9 Create a separator in MENU_SetItemData() when the string is NULL.
12 DOSFS_FindNext: don't return '.' and '..' in a drive root dir.
15 Added a DOS_FILE structure to store per-file information (not
17 Fixed _lread and _hread to check the size of the buffer before
18 calling Unix read() to avoid EFAULT error.
21 Return TRUE in WinHelp() for HELP_QUIT to quiet Notepad on exit.
24 Call DOSMEM_Alarm() in INSTR_ReplaceSelector(). This should fix
25 programs that poll the BIOS counter, provided they reload the
26 selector on every read.
29 Re-implemented FindFirst/FindNext for FCB calls.
31 * [windows/message.c] [windows/winpos.c]
32 Merged MSG_GetWindowForEvent() and WINPOS_WindowFromPoint().
34 * [windows/nonclient.c] [windows/win.c] [include/windows.h]
35 Added a per-window WIN_MANAGED flag; only windows that have a
36 dialog frame or a sizing border are managed.
38 Sat Feb 17 18:25:00 1996 Thomas Sandford <tdgsandf@prds-grn.demon.co.uk>
40 * [if1632/Makefile.in]
41 Added -g flag to compilation of .c files generated from *32.spec.
44 Numerous additional functions implemented.
47 wsprintfA maps to vsprintf not wsprintf
48 Numerous additional functions implemented.
50 * [include/gdi.h] [objects/gdiobj.c]
51 New #define MAGIC_DONTCARE added. This is used in
52 GDI_GetObjPtr to enable getting a pointer to a GDI object of
59 WIN32_MoveToEx() - handle NULL pointer argument.
62 USER32_InvalidateRect - handle passing of a NULL pointer.
63 USER32_SetTimer - New function.
66 Fixed DIR_Init() (off by one in allocation of space for
67 environment variables).
70 Added <sys/types.h> to #includes (prerequisite for <sys/stat.h>
73 Fri Feb 16 10:26:56 1996 Andreas Kirschbaum <ank@rbg.informatik.th-darmstadt.de>
79 Erase space with function ExtTextOut(). This eliminates the use of
80 xmalloc(). Memory leak in EDIT_WriteText plugged.
82 * [debugger/db_disasm.c]
83 Operand for scas now is di.
86 PROFILE_GetSection was copying too much data.
87 PROFILE_GetSection now returns the correct value. It was returning
88 the number of unused instead of used bytes.
91 Corrected two typos in comments.
94 FONT_MatchFont didn't return if it couldn't find any font.
96 * [objects/oembitmap.c]
97 Free object only if it has been allocated.
100 Memory leak in ScrollDC plugged.
102 Tue Feb 13 11:17:00 1996 William Magro <wmagro@tc.cornell.edu>
105 Implemented ES_NOHIDESEL style, shift+click selection,
106 shift+{arrow,home,end,pgup,pgdn} selection. Optimized
107 (de)selection drawing. Changed selection drawing to use correct
108 system colors instead of inverting. Fixed deleting or backspacing
109 across a '\r\n' end of line pair. Selection now anchors
110 correctly. Fixed text leaking and extra garbage problem bug
111 uncovered by change in class style in wine960131.
113 * [controls/widgets.c]
114 Class flags now match those of Windows.
116 Mon Feb 12 21:28:19 1996 Martin von Loewis <loewis@informatik.hu-berlin.de>
118 * [controls/widgets.c]
119 WIDGETS_Init: RELAY32_GetEntryPoint does not take a string anymore.
121 * [if1632/Makefile.in][if1632/relay32.c][include/relay32.h]
122 comctl32.spec ole32.spec winspool.spec: new files.
123 RELAY32_Init: call initialization of new DLLs.
124 RELAY32_GetEntryPoint: expects WIN32_builtin* now.
125 RELAY32_MakeFakeModule: new function.
127 * [if1632/gdi32.spec][if1632/kernel32.spec][if1632/user32.spec]
128 Added Win95 functions. Ordinals now differ from both NT and Win95
129 HeapCreate, CreateDialogIndirectParamA, CreateDialogIndirectParamW,
130 CreateDialogParamA, CreateDialogParamW, DialogBoxIndirectParamA
131 DialogBoxIndirectParamW, DialogBoxParamA, DialogBoxParamW:
134 * [if1632/shell32.spec]
135 shell32.spec: renumbered all functions to take into account ordinals.
136 These seem to be identical between NT and Win95.
138 * [include/dialog.h][windows/dialog.c]
139 xBaseUnit,yBaseUnit,DIALOG_DoDialogBox: made non-static.
141 * [include/handle32.h]
142 New handle types VRANGE, HEAP, HEAPITEM.
144 * [include/pe_image.h][loader/pe_image.c]
145 struct w_files: new field builtin.
146 PE_FindExportedFunction: support ordinals.
147 PE_GetProcAddress: call RELAY32_GetEntryPoint for builtins.
148 fixup_imports: support ordinals.
149 PE_LoadImage: prefer directories over segments.
151 * [include/resource.h][win32/resource.c]
152 FindResource32: changed parameter from LPCTSTR to LPCWSTR
153 check LANG_NEUTRAL if LANG_ENGLISH fails.
154 LoadAcceleratorsW,SizeofResource32,AccessResource32:
155 disabled because it's broken.
156 Casted to and from LPWSTR at various places.
158 * [include/string32.h][win32/string32.c]
159 Changed prototypes to take const arguments where appropriate.
161 * [include/struct32.h]
162 New structures DLGTEMPLATE32, DLGITEMTEMPLATE32.
165 BuildSpec32Files: generate Base value into code, generate call to
166 RELAY32_MakeFakeModule.
169 This is still not finished and needs rework.
170 HeapAlloc: renamed to SIMPLE_HeapAlloc, implemented HeapAlloc.
171 HeapCreate: implemented on top of VirtualAlloc, which does not work yet
172 HeapDestroy, HEAP_GrowHeap, HeapFree: new functions.
175 Support for VRANGE_OBJECT. This is not yet called from any place,
176 and needs more platform specific support
177 MEMORY_FindVrange, MEMORY_IsVrangeFree, MEMORY_InsertVrange,
178 MEMORY_AllocVrange, MEMORY_ReleaseVrange: new functions.
181 WIN32_CreateWindowExA: don't GlobalAlloc for integer class and window
182 names, as in dialogs.
183 Implemented dialog functions (see user32.spec).
186 CARET_Initialize: call RELAY32_GetBuiltinDLL.
188 Mon Feb 12 18:52:40 1996 Jim Peterson <jspeter@birch.ee.vt.edu>
191 Removed commented out #ifdefs for WINELIB.
193 * [tools/makehtml.pl]
194 Put in error checking when trying to open a file.
196 * [libtest/Makefile.in] [libtest/new.c] [libtest/hello4.c]
197 Added two new targets: hello4 and new.
199 * [include/windows.h]
200 Added definition of DEVMODE structure, although it's not yet used.
201 Modified various API functions from CreateDC() to Escape(), in
202 order to make them more compliant with the strict API definitions.
204 * [include/wintypes.h]
205 Added 'typedef char TCHAR'. It probably should be defined as
206 'short', but then we would have to support such characters. Also did
207 'typedef const TCHAR* LPCTSTR' and 'typedef TCHAR* LPTSTR'.
208 Also defined WNDENUMPROC, FONTENUMPROC, GOBJENUMPROC, PROPENUMPROC
209 MFENUMPROC, and HGDIOBJ.
211 Mon Feb 5 16:42:07 1996 Frans van Dorsselaer <dorssel@rulhm1.leidenuniv.nl>
214 Patched a bug that occurred in the internal COMMDLG module for the
215 FileOpen(), FileSave() and FileSaveAs() functions. The file-type
216 combobox is now handled correctly.
218 Fri Feb 2 22:52:58 1996 Roman Dolejsi <roman@sorry.vse.cz>
220 * [resources/sysres_Cz.rc]
221 Added support for Czech [Cz] language.
223 Thu Feb 1 00:35:04 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
226 FONT_matchfont : for fixed-spacing fonts, allow 'c' if 'm' fails;
227 for variable-spacing fonts : allow '*' if 'p' fails; if asked lfHeight
229 CreateFontIndirect : if font parameter is NULL, issue an error message.
230 CreateFont : null-terminate lfFaceName.
231 ParseFontParms : debug code turned off : too verbose.
232 InitFontsList : recognize *-c-* fonts as fixed-spacing fonts.
235 ColorToPhysical : admit 0xff...... COLORREF's as 0x00...... ones.
237 --------------------------------------------------------------------
238 Wed Jan 31 10:58:00 1996 Alexandre Julliard <julliard@sunsite.unc.edu>
241 Added --with-dll option to build libwine.so.
243 * [controls/listbox.c]
244 Fixed ListBoxDirectory(), DlgDirSelect() and
245 DlgDirList(). Hopefully their behavior is correct now.
248 Use SEGPTRs in ChangeMenu(), InsertMenu(), AppendMenu() and
249 ModifyMenu() for the item data, to avoid corrupting the pointer
250 for owner-drawn items.
252 * [controls/static.c]
253 Attempt to load OEM icons for SS_ICON controls. Probably not
255 Don't clip the text output.
257 * [files/directory.c]
258 Add temp dir and Windows dir to environment.
261 Fixed a few path handling bugs in DOSFS_GetUnixFileName().
262 Cache last used directory in DOSFS_FindNext() to avoid quadratic
266 New format for drives configuration in wine.conf; allows
267 specifying the type, label and serial number of a drive.
270 New function FILE_OpenUnixFile to make sure we don't open a
271 directory instead of a file.
272 Fixed DOSFS_GetUnixFileName() check_last flag in FILE_MakeDir().
275 Rewrote profile handling. Should be closer to Windows behavior now.
276 New function PROFILE_GetWineIniString() to get a string from wine.conf.
277 Support environment variables in wine.conf.
280 Fixed the order of deletion in TASK_DeleteTask() to avoid memory
284 Create a discarded block on GlobalAlloc() if the size is 0; thanks
285 to John Harvey for noticing this.
288 LOCAL_GetHeap: make sure the pointer is valid before checking
292 Moved profile and registry saving to ExitWindows(), so we don't
293 try to save them in case of a crash.
296 INT21_GetFreeDiskSpace: try to compute the cluster size from the
297 filesystem size instead of hard-coding it to 64.
298 Fixed functions 0x3f and 0x40 to use _hread and _hwrite to allow
299 reading or writing 65535 bytes (thanks to Bruce Milner for this one).
301 * [windows/message.c]
302 Fixed bug in linked-list handling in MSG_DeleteQueue().
303 Simplified SetMessageQueue().
305 * [wine.ini] [wine.man]
306 Updated for new drives configuration format.
308 Tue Jan 30 11:24:46 1996 William Magro <wmagro@tc.cornell.edu>
311 Implemented ES_PASSWORD style, EM_SETPASSWORDCHAR and
312 EM_GETPASSWORDCHAR messages.
314 * [controls/widgets.c]
315 Adjusted class creation flags to better match values Windows uses.
317 * [include/windows.h]
318 Fixed ES_NOHIDESEL typo.
320 * [loader/ne_image.c]
321 Added detection for zero offset in RADDR fixups. Quicken
322 was in an infinite loop here.
324 Mon Jan 29 20:12:22 1996 Albrecht Kleine <kleine@ak.sax.de>
327 Bugfix: range error in month value (0..11 set to 1..12).
330 Changed ROP2-mode to R2_NOTXORPEN in CARET_Callback for pulsed
331 appearance of the caret.
333 * [windows/mdi.c] [include/mdi.h]
334 Changed MDITile(): added a new parameter WORD wParam for
335 WM_MDITILE second tiling method (MDITILE_HORIZONTAL in wParam) as
338 Sun Jan 28 14:20:00 1996 Cameron Heide <heide@ee.ualberta.ca>
341 Added a small bit of MSCDEX emulation.
344 ALIAS_RegisterAlias was returning the hash value when it should
345 have been returning the record number.
347 Sat Jan 27 10:53:51 1996 Jim Peterson <jspeter@birch.ee.vt.edu>
349 * [include/shell.h] [include/wintypes.h]
350 Moved definition of HKEY and LPHKEY types to include/wintypes.h.
351 Declared FONTENUMPROC in wintypes.h.
353 * [include/windows.h]
354 Added definition of KERNINGPAIR and LPKERNINGPAIR types. Added
355 declarations for CopyCursor(), CopyIcon(), EnumFontFamilies(),
356 ExtractIcon(), FatalAppExit(), FindExecutable(), GetClipCursor(),
357 GetKerningPairs(), GetQueueStatus(), GetRasterizerCaps(),
358 IsGDIObject(), IsMenu(), IsTask(), RegCloseKey(), RegCreateKey(),
359 RegDeleteKey(), RegEnumKey(), RegOpenKey(), RegQueryValue(),
360 RegSetValue(), ResetDC(), ShellExecute(), SystemParametersInfo(),
363 * [tools/makehtml.pl] [documentation/apiw.index]
364 New files that scan windows.h, commdlg.h, and toolhelp.h and output
365 an HTML sorted list with optional links to www.willows.com and a
366 tally of unimplemented APIW functions.
368 * [objects/cursoricon.c]
369 Added Win32 versions of CopyIcon() and CopyCursor() for use in
372 * [win32/resource.c] [win32/winprocs.c]
373 Added '#include "libres.h"' and explicit declarations of windows
374 procs in order to avoid warnings.
376 * [windows/utility.c]
377 Added Win32 version of MulDiv() for libwine.
379 * [*/*] [include/windows.h]
380 Changed several function declarations to comply more strictly to
381 the windows API (without, hopefully, altering their functionality).
384 Made the return value of CheckMenuItem be the previous state of
385 the menu item if it was found, otherwise -1 as specified in the
386 SDK. This conflicts with the APIW specification, which says it
387 should return TRUE if successful, otherwise FALSE.
389 * [include/windows.h]
390 Added obsolete WM_SIZE message wParam names for compatibility.
391 Added WinHelp() command constants, even though they are not yet
395 Tidied up transform_binary_file(). In argument checking, flattened
396 any invalid characters specified with the prefix argument.
399 Made FindResource() case-insensitive when parameter 'name' is a string.
401 Sat Jan 27 02:30 1996 Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de
404 If root "/" is given in wine.conf, use it as last resort.
407 Report ER_AccessDenied it disk ist not writable
411 Squeezed some bugs in ExtendedOpenCreateFile
414 Some windows may not be moved or resized. We are missing some
415 structures to be exact, but the approach should help in some cases
416 and make things worse in much fewer.
418 Fri Jan 26 10:24:00 1996 Thomas Sandford <t.d.g.sandford@prds-grn.demon.co.uk>
420 * [loader/pe_image.c]
421 fixup_imports: Find builtins for Borland style entries, too
423 Fri Jan 26 10:24:00 1996 Martin von Loewis <loewis@informatik.hu-berlin.de>
426 LoadMenu: branch to Win32 for PE modules
428 * [if1632/gdi.spec][if1632/kernel32.spec][if1632/user32.spec]
429 DeleteObject, GetPixel, SetPixel,WritePrivateProfileStringA,
430 WriteProfileStringA, EmptyClipboard, EnableMenuItem, EnableScrollBar,
431 EnableWindow, InvalidateRect, SetWindowTextA, WinHelpA: new relays
432 DrawTextA, MoveToEx, GetClientRect, InvalidateRect, LoadBitmapA/W,
433 LoadAcceleratorsA/W, LoadMenu[Indirect]A/W, LoadStringA/W: changed
434 to convert parameters or naming convention
436 * [include/kernel32.h][include/wintypes.h]
437 moved WCHAR, defined LPWSTR
439 * [include/string32.h][win32/string32.c][include/struct32.h]
443 LoadModule: exit after returning from PE_LoadModule
445 * [loader/pe_image.c]
446 my_wcstombs: isascii does not work on Linux for Unicode
447 PE_LoadImage: Handle directories
450 USER32_RECT32to16, USER32_RECT16to32: new functions
451 implemented new user32 relays
454 WIN32_WinHelpA: new function
460 GetResDirEntry: added support for named entries
461 WIN32_LoadAcceleratorsW: invoke *32 resource functions
462 WIN32_LoadBitmapA: convert name to unicode if appropriate
463 WIN32_ParseMenu: new function
464 implemented new resource functions from user32.spec
466 Wed Jan 24 18:09:00 1996 Alex Korobka <alex@phm30.pharm.sunysb.edu>
468 * [objects/cursoricon.c]
469 GetIconId() and LoadIconHandler() functions.
472 Better maximization support, TranslateMDISysAccel() function,
476 Fix for WM_WINDOWPOSCHANGED message handler.
479 Rewrote WindowFromPoint() function.
481 Sun Jan 21 1996 17:05:09 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
483 * [include/toolhelp.h] [misc/toolhelp.c]
484 Added Notify(Un)Register, but no callbacks yet.
486 Fri Jan 19 01:43:37 1996 Victor Schneider <root@tailor.roman.org>
489 Added target for libwine.so.1.0.
491 * [library/winmain.c]
492 For WINELIBDLL, _WinMain just returns hInstance instead of calling
496 For WINELIBDLL, renamed main() to _wine_main() for calling from the
499 * [library/winestub.c] (new file)
500 Provides a stub main() function for using libwine.so.
502 Tue Jan 16 11:04:34 1996 Anand Kumria <akumria@ozemail.com.au>
508 Attempt to do some sanity checking in MemManInfo().
511 Fix changelog oversight for previous entry.
513 ---------------------------------------------------------------------
514 Sun Jan 14 13:45:22 1996 Alexandre Julliard <julliard@sunsite.unc.edu>
517 Added check for gcc strength-reduce bug.
519 * [controls/listbox.c]
520 Changed ListBoxDirectory() to use the new DOS file functions.
523 Fixed parameters for DeleteMenu() call in ChangeMenu().
526 Also display current frame in back-trace.
528 * [files/directory.c] [files/dos_fs.c] [files/drive.c] [files/file.c]
529 Complete rewrite of the DOS file handling.
530 Implemented per-task file handles.
531 Removed default Z: drive; needs to be put explicitely in wine.ini
535 Fixed file descriptor leak in LoadModule().
538 Initialise PDB file handle table in TASK_CreateTask().
539 Close file handles on task termination.
540 Implemented SetErrorMode().
543 Fixed WNetGetConnection() to use GetDriveType().
546 Added function xstrdup().
549 Many changes for new DOS file functions.
551 * [miscemu/interrupts.c]
552 Moved DOS_GetEquipment() function into INT_Int11Handler().
555 Bug fix: create system menu before sending WM_NCCREATE.
558 Replaced strcasecmp and strncasecmp by lstrcmpi and lstrncmpi for
561 Sat Jan 13 16:13:02 1996 Jim Peterson <jspeter@birch.ee.vt.edu>
563 * [include/wintypes.h]
564 Added 'typedef HGLOBAL GOBALHANDLE;'. This is not precisely in line
565 with the true windows 'typedef HANDLE GLOBALHANDLE;', but I believe
568 * [include/winsock.h]
569 Added '#include <arpa/inet.h>' for various declarations. '#ifdef'-ed
570 out some old style internet address #define's.
573 Made MakeProcInstance() return first parameter #ifdef WINELIB32.
574 Made FreeProcInstance() do nothing #ifdef WINELIB32.
575 '#ifdef'-ed out TASK_AllocThunk(), as it was unused in WINELIB32.
577 * [library/miscstubs.c]
578 Made GetWndProcEntry16() return ACTIVATEAPP_callback() when called
579 with name="ActivateAppProc". This hardly seems correct, but it's my
580 best guess as to how the emulator responds.
582 Sat Jan 6 17:57:45 1996 Martin von Loewis <loewis@informatik.hu-berlin.de>
584 * [if1632/kernel32.spec][win32/process.c]
585 WIN32_GetProcAddress, LoadLibraryA: new functions
588 RELAY32_GetEntryPoint: Removed code to load PE DLLs
590 * [include/pe_image.h][include/pe_exe.h]
591 struct pe_data: new fields base_addr,load_addr,vma_size,pe_reloc
592 struct PE_Reloc_Block: new structure
595 MODULE_RegisterModule: new function
597 * [loader/pe_image.c]
598 PE_FindExportedFunction,PE_GetProcAddress: new functions
599 fixup_imports: expect struct w_files* now, fill dlls_to_init,
601 do_relocations: new functions
602 calc_vma_size: renamed from dump_table
603 PE_LoadImage: use malloc to allocate memory for image
604 PE_InitDLL: expect HMODULE
605 PE_InitializeDLLs: new function
608 NE_InitializeDLLs: branch to PE_InitializeDLLs for PE modules
609 GetExePtr: Accept PE modules
612 FILEDLG_WMCommand: unpack WIN32 WM_COMMAND appropriately for WineLib
614 Thu Jan 4 11:36:21 1996 Manfred Weichel <Manfred.Weichel@mch.sni.de>
617 New file with usleep() function for SVR4.
620 Check for usleep() function.
622 Tue Jan 02 14:00:00 1996 Anand Kumria <akumria@ozemail.com.au>
624 * [if1632/toolhelp.spec] [include/toolhelp.h]
625 [misc/user.c] [windows/message.c]
626 Implement TOOLHELP.80 TimerCount. Fix GetTickCount.
632 Implement DPMI Get Page Size (AX=0604, INT 31)
635 Implement TOOLHELP.72 GetMemManInfo.
637 Mon Jan 2 10:33:00 1996 Thomas Sandford <t.d.g.sandford@prds-grn.demon.co.uk>
639 * [if1632/callback.c]
640 CallWindowProc() - When calling RELAY32_CallWindowProc, check
641 whether lParam should be a SEGPTR, and if so convert it to one.
643 * [if1632/gdi.spec] [if1632/kernel32.spec] [if1632/user32.spec]
644 Numerous functions added, mostly calls to original (win16)
645 functions. Note that some (many) of these are probably not
646 strictly correct, but with these additions freecell will at least
647 display its main window though it is garbled.
649 * [if1632/winprocs.spec]
650 Completely rewritten - all WndProcs now have win32 versions to
651 help with the lparam SEGPTR fix in callback.c
653 * [include/kernel32.h]
657 Definition of PE_Export_Directory amended.
659 * [include/resource32.h]
662 * [include/stackframe.h]
663 Definition of MAKE_SEGPTR macro #ifdef'd out and replaced with
664 prototype for replacement function in memory/selector.c which
665 can operate on any given memory address. This is currently
666 required for win32 support. It is a dreadful cludge, and will
667 certainly slow down other programs. If you are not interested
668 in win32 development you may wish to reverse this patch.
670 * [include/windows.h]
671 Definition of SW_SHOWDEFAULT added.
673 * [loader/pe_image.c]
674 Extensive rewrites of xmmap() fixup_imports().
675 PE_LoadImage() - initialisation of bss added, extraction of
676 module name fixed, initialisation of DLL added.
677 PE_InitDLL() - now does something.
678 PE_Win32CallToStart() - initialisation of TEB pointed to by
680 PE_InitTEB() created to perform TEB initialisation.
682 * [memory/selector.c]
683 New function MAKE_SEGPTR() - see include/stackframe.h above.
686 USER32_RegisterClassA(), CreateWindowExA() memory allocation
687 method changed. This is probably now unnecessary with the
688 new MAKE_SEGPTR handling code.
689 USER32_DefWndProcA() removed to win32/winprocs.c
690 USER32_TranslateMessage added.
693 handling of win32 spec files changed to support gcc2.6.X
694 this requires optimisations to be disabled.
696 * [win32/resource.c] [win32/newfns.c] [win32/heap.c] [win32/winprocs.c]
699 * [win32/Makefile.in]
700 New files heap.c, newfns.c, resource.c and winprocs.c added to build.
703 New function W32_SetHandleCount.
706 WIN32_GetModuleHandle() - now returns handle of running process
708 GetStartupInfoA() - set cbReserved2 to 0.
711 VirtualAlloc() - set mmap() file parameter to -1 instead of 0 to make
712 it work with FreeBSD. Also check for return value. Removed extra
716 ShowWindow() - SW_SHOWDEFAULT handling kludged in.
718 ----------------------------------------------------------------------
719 Sat Dec 23 18:15:59 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
721 * [configure.in] [Makefile.in] [tools/install-sh]
722 New 'install' target installs Wine binary, library and man page.
723 Library is now more logically named libwine.a.
724 Split toolkit/ directory into library (for library code) and
725 libtest (for test programs).
728 Quick hack to partially support EM_PASSWORD style (avoids
729 displaying your passwords on the screen when testing programs...)
731 * [configure.in] [controls/menu.c] [include/resource.h]
732 [misc/commdlg.c] [misc/ole2nls.c] [misc/shell.c] [windows/msgbox.c]
733 Language is now a run-time option (wine -language xx).
736 Dump some more debugging info on crash.
739 Only consider ';' as a comment if it's the first non-blank
740 character on the line.
743 More debugging info for real-mode callback.
746 Rewrote EnumObjects() to do the Right Thing.
748 * [resources/sysres*]
749 New directory containing system resources.
751 Fri Dec 22 11:24:39 GMT 1995 John Harvey <john@division.co.uk>
753 * [win32/file.c] [win32/memory.c]
754 Unixware doesn't have MAP_ANON ifdefed out for now.
757 DOS_GetDosFileName didn't truncate paths starting ./ properly.
760 Produces assembly code that works with the unixware assembler.
762 Wed Dec 20 22:22:29 +0100 1995 Morten Welinder <terra@diku.dk>
765 INSTR_GetOperandAddr: 16-bit addresses should be masked to 16 bits.
768 DOS_readdir should always return directories, even if they don't
769 match the file name mask.
771 Tue Dec 19 18:00:00 1995 Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de>
774 Give arguments to winhelp.
777 Implemented Interrupt 21 AX=6C00 EXTENDED OPEN/CREATE.
778 Created function ExtendedOpenCreateFile.
779 Give for some Windows95 interrupts the return value 'not
782 Sun Dec 17 16:51:56 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
784 * [include/kernel32.h] [include/windows.h]
785 Moved the typedefs for SYSTEMTIME and LPSYSTEMTIME from
786 include/kernel32.h to include/windows.h and declared the new Win32
787 API functions Sleep(), GetLocalTime(), and GetSystemTime().
788 Redefined INFINITE as 0xFFFFFFFF if WINELIB32.
791 Created the shell script 'rc', which should simplify resource
794 * [win32/environment.c]
795 Kludged around an undefined reference to wine_files. This change
796 should be fixed some time.
798 * [win32/time.c] [if1632/kernel32.spec]
799 Added the functions GetSystemTime(), and Sleep().
802 Renamed static function GetSystemTime to INT21_GetSystemTime to
803 avoid conflicts with the API function of the same name.
805 * [include/wintypes.h]
806 Added the SPFMT definition for printf statements.
808 * [misc/shell.c] [include/shell.h]
809 Changed ERROR_* defines to SHELL_ERROR_*, as they were conflicting
810 with the ones in include/winerror.h. They should probably use the
811 versions in winerror.h, but I'm not certain, and that can be done
815 Translated WM_MDIACTIVATE(?,(LOhwnd,HIhwnd)) messages to
816 WM_MDIACTIVATE(HIhwnd,LOhwnd) for WINELIB32. The ? parameter
817 (boolean) was discarded with this translation. Translated handler
818 of WM_MDISETMENU(ref,(loHMENU,hiHMENU)) to handle
819 WM_MDISETMENU(loHMENU, hiHMENU) messages in WINELIB32 (ref assumed
820 false, call DrawMenuBar() if desired).
823 General explicit casts and more rigid typing to remove warnings.
825 * [include/winpos.h] [windows/winpos.c]
826 Changed return type of WINPOS_ChangeActiveWindow to BOOL.
828 * [include/commdlg.h] [misc/commdlg.c]
829 Added prototypes for ChooseColor(), CommDlgExtendedError(),
830 FindText() GetFileTitle(), GetOpenFileName(), GetSaveFileName(),
831 PrintDlg, and ReplaceText().
832 Renamed the CommDlgExtendError() function to CommDlgExtendedError().
833 Made GetFileTitle return a short, as per the API definition.
836 Added line to clean and distclean that removes temporaries from
837 the include directory.
839 Sat Dec 16 19:39:14 MET 1995 Steffen Moeller <smoe0024@rz.uni-hildesheim.de>
842 Almost rewrote EDIT_GetLineMsg.
844 Sat Dec 16 13:51:48 MST 1995 Andrew Taylor <andrew@riscan.com>
847 Fixed MDITile() bug that occurs when 0 windows are present or all
848 windows are minimized.
850 Wed Dec 12 23:30:00 1995 Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de>
853 Try harder to find files, especially in the working directory.
854 Look in $HOME/.wine too and create it there if it isn't found.
856 ----------------------------------------------------------------------
857 Mon Dec 11 19:08:55 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
860 Replaced wine_strncpy() by a 32-bit version of lstrcpyn(), since
861 they do the same job.
864 Fixed __attribute__((stdcall)) to make it compile with gcc
865 versions under 2.7. Doesn't mean it will run OK though...
867 Sat Dec 09 13:22:58 1995 Cameron Heide <heide@ee.ualberta.ca>
869 * [include/kernel32.h] [include/winerror.h]
870 Added file attribute definitions and more error codes.
873 Added some rudimentary errno-to-Win32 error conversion
877 Added to GetFileInformationByHandle, filled in some known
878 error codes, and switched to dprintf_win32.
883 Fri Dec 8 14:37:39 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
886 Converted functions of the type LONG _(HWND,WORD,LONG) to the type
887 LRESULT _(HWND,WPARAM,LPARAM) where needed.
890 Restructured libres prototypes to closer match the windows API.
892 * [include/windows.h]
893 Changed several API prototypes' parameter types from 'short' to INT,
894 which is #defined as short in the emulator, but is a normal int in
895 WINELIB32. Also changed SEGPTR from DWORD to void* when WINELIB32.
896 (This creates a lot of warnings at library-compile time, but less
897 warnings at app-compile time. I'll remove the warnings soon.)
899 * [loader/resource.c]
900 Fixed parameter mismatch in call to LIBRES_FindResource(). Changed
901 various implementations of the LIBRES_* API functions.
904 Deleted local 'i' from win_fault(), since it was unused.
907 Mirrored changes to include/windows.h mentioned above.
910 Changed LoadMenuIndirect() call to LoadMenu() to test the new
911 resource registration technique.
914 Removed definition of 'struct resource' and fixed bugs in the resource
915 implementation. Implemented LIBRES_FindResource.
917 * [windows/graphics.c]
918 Mirrored changes to include/windows.h mentioned above.
920 Thu Dec 7 23:15:56 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
923 LOCAL_HeapExists: Changed parameter to HANDLE. For WineLib, return true
925 * [controls/listbox.c]
926 CreateListBoxStruct: Initialize HeapSel to 0 for WineLib
928 * [include/listbox.h]
929 change HeapSel from WORD to HANDLE
931 * [include/resource.h][rc/winerc.c]
932 struct ResourceTable: removed
933 struct resource: moved to header file
934 autoregister resources if supported by compiler
937 LOCAL_GetHeap: expect HANDLE rather than WORD
939 * [toolkit/Makefile.in]
940 Add ALLCFLAGS to make hello3
943 LocalFree, HEAP_Free: handle 0 parameter gracefully
945 Wed Dec 06 15:34:23 1995 Greg Cooper <cooper@ima-inc.com>
948 Fixed the msgsnd and msgrcv errors that winsock programs get.
950 Wed Dec 06 12:47:23 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
952 * [if1632/kernel.spec]
953 Fixed _hread and _hwrite return type
955 * [if1632/relay32.c] [loader/pe_image.c]
956 Hacked loading of PE-dll's in
959 Added stubs for RegCreateKeyEx, RegSetValueEx, RegQueryValueEx
962 Added stubs for OpenFileMapping, CreateFileMapping, MapViewOfFileEx
965 Added stubs for CreateMutexA, ReleaseMutex, CreateEventA,
966 WaitForSingleObject, DuplicateHandle, GetCurrentProcess
968 Mon Dec 04 13:06:37 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
970 * [include/wine.h] [misc/lstr.c]
971 Define wine_strncpy(). This function does not pad the buffer with
972 zeroes like GNU strncpy(), which might break some Windows programs
973 that pass bogus size arguments.
975 * [loader/module.c]: GetModuleFileName(),
976 [misc/commdlg.c]: GetFileTitle(),
977 [misc/keyboard.c], [misc/lstr.c]: lstrcpyn(),
978 [misc/ole2nls.c], [misc/profile.c], [multimedia/mcistring.c],
979 [multimedia/mmsystem.c], [objects/font.c]:
980 Use wine_strncpy() where strings are returned to Windows programs.
982 * [objects/metafile.c]
983 PlayMetafile(): Clear the handle table before using it.
985 * [misc/shell.c] [misc/main.c]
986 Rename SHELL_RegCheckForRoot() to SHELL_Init() and call it from main().
989 load(): Need to handle comments.
994 * [windows/nonclient.c]
995 Use MAKE_SEGPTR macro in two places where a user heap block used
996 to be allocated instead.
998 Sat Dec 02 16:43:43 1995 Ramon Garcia <ramon@ie3.clubs.etsit.upm.es>
1000 * [windows/winpos.c]
1001 In function SetWindowPos: do not redraw the parent of
1002 a window if the specified window is placed on the top.
1003 This avoids that ShowWindow(hwnd,1) hides hwnd instead
1006 Sat Dec 02 11:00:00 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
1008 * [windows/scroll.c]
1009 Now it can scroll children along with the client region of parent
1010 window. Tried to optimize update region calculation.
1013 ScrollChildren function, more other features added. Basically
1016 * [windows/winpos.c] [windows/focus.c]
1017 Reimplemented window activation and focus handling.
1019 * [windows/nonclient.c]
1020 Added new flag WIN_NCACTIVATED.
1022 * [windows/message.c] [loader/task.c]
1023 Small changes (to maintain linked list of message queues).
1025 Wed Nov 29 15:51:48 1995 Daniel Schepler <daniel@shep13.wustl.edu>
1027 * [include/options.h] [misc/main.c] [windows/defwnd.c]
1028 [windows/event.c] [windows/nonclient.c] [windows/win.c] [Wine.man]
1029 Implemented a -managed option to replace the standard Windows
1030 frame of top-level windows with the window manager's decorations.
1031 If a top-level window makes its own frame, this will still show
1032 up, inside the window manager decorations (I believe ctl3dv2.dll
1033 would do this, although I can't test this).
1035 ----------------------------------------------------------------------
1036 Tue Nov 21 18:49:10 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
1038 * [configure.in] [Makefile] [misc/dos_fs.c]
1039 Got rid of autoconf.h file.
1042 More logical behavior upon syntax errors.
1044 * [include/hook.h] [windows/hook.c]
1045 Changed hook structure and rewrote most of the hook functions for
1046 better compatibility, based on investigations by Alex Korobka.
1048 * [include/message.h] [windows/message.c]
1049 Added hooks to message queue structure and made the structure
1050 layout Windows-compatible.
1051 Added support for WH_MOUSE, WH_KEYBOARD, WH_HARDWARE and
1052 WH_JOURNALRECORD hooks.
1055 Added command-line option for changing the language at run-time
1056 (not implemented yet), based on a suggestion from Michael Patra.
1058 * [objects/cursoricon.c]
1059 Fixed silly SEGPTR bug in DumpIcon().
1061 Mon Nov 20 22:22:22 1995 Alex Korobka <alex@phm30.pharm.sunysb.edu>
1063 * [controls/listbox.c] [controls/combo.c] [include/listbox.h]
1064 Partial implementaion of LBS_EXTENDEDSEL style,
1065 yet more updates for drag & drop support. Now works.
1067 * [windows/defwnd.c]
1068 More message handlers.
1071 DragObject, DragDetect, AnyPopup functions.
1073 * [controls/listbox.c]
1074 More kludgy fixes (WM_...TOITEM, etc.).
1076 * [objects/cursoricon.c] [objects/oembitmap.c]
1077 IconToCursor skeleton, patch for OBM_LoadCursorIcon to handle new
1080 * [include/bitmaps/ocr*]
1083 Mon Nov 20 11:05:20 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
1086 Swapped flags and size arguments to LocalRealloc as per changes in
1087 memory/local.c by William Magro in previous release.
1089 * [include/wintypes.h]
1090 Reinstated the #define's for 'min' and 'max', since they're part of
1091 the Windows API. I really don't think it's a wise idea, so I put
1092 a '#ifndef DONT_DEFINE_min_AND_max' around them. I think the actual
1093 WINE code should never use these (it should use 'MIN' and 'MAX'
1097 Put '#ifndef WINELIB' around many things that WINElib should not need.
1100 Took out many '#if defined(WINELIB)' sections with the associated
1101 comment 'temporary fix, until Local memory is correctly implemented in
1102 WINELIB', since the effective translations are now in
1103 toolkit/miscstubs.c.
1104 Took out the #ifndef's I put in EDIT_ClearText. Whoever modified this
1105 file fixed (or at least postponed) the bug I had encountered.
1108 Put an #ifdef in TASK_CreateTask() that hardwires the current drive to
1109 C: This will probably cause a lot of trouble if this change is
1110 forgotten in the future, but it will let things like the OpenFileName
1111 dialog work for now.
1113 * [toolkit/libres.c] [toolkit/Makefile.in] [toolkit/Makefile]
1115 Made new libres.c file, which will contain functions for supporting
1116 accessing resources by name in WINElib. 'winerc' will need to be
1120 Refined memory routines to allow for differences between LocalAlloc
1121 and GlobalAlloc and between LocalSize and GlobalSize.
1123 * [windows/message.c] [include/windows.h]
1124 Defined the GetCurrentTime routine in windows/message.c, and removed
1125 the #define in windows.h.
1127 Mon Nov 20 00:36:42 MET 1995 Sven Verdoolaege <skimo@dns.ufsia.ac.be>
1130 Added new debugging type DEBUG_WIN32 and DEBUG_ENV.
1133 Added undocumented GetExpWinVer.
1136 Previous code didn't pop possibly changed %esi, %edi and %edx
1142 * [win32/code_page.c]
1143 Added stub for MultiByteToWideChar.
1146 Added SetConsoleCtrlHandler stub.
1149 Added ReadFile CreateFileA GetFileInformationByHandle stubs.
1153 Changed VirtualAlloc and VirtualFree.
1158 Sun Nov 19 17:54:42 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
1160 * [include/windows.h]
1161 Fixed a few broken structure definitions.
1163 * [loader/resource.c]
1164 FindResource(): Need to check for '#xxx' strings here.
1167 FindNext(): Return MS-DOS filenames uppercase.
1169 * [objects/cursoricon.c]
1170 CreateIcon(), CreateCursor(): Added missing element to CURSORICONINFO
1174 _lopen(): Files opened in OF_WRITE mode are truncated.
1175 OpenFile(): Ignore OF_READ/OF_WRITE/OF_READWRITE when files are
1176 created; use read/write mode.
1182 Fixed bad call to strncpy() that smashed the stack.
1184 * [controls/combo.c] [windows/winpos.c] [memory/selector.c]
1185 Operator precedence fixes. People who use gcc 2.7.1 don't need a
1188 * [if1632/gdi.spec] [objects/palette.c]
1189 Add ResizePalette() and AnimatePalette() stubs. They don't do anything,
1190 but sometimes that's good enough.
1192 Fri Nov 17 09:10:35 GMT 1995 John Harvey <john@division.co.uk>
1194 * [include/wine.h] [include/registers.h] [include/winsock.h]
1195 Added definitions for Unixware.
1197 * [loader/signal.c] [misc/comm.c] [misc/winsocket.c]
1198 Misc. fixes for Unixware.
1201 Made assignemts to context in InitTask for registers use the macros
1202 from registers.h to make them more portable. (Needed for Unixware)
1205 Fixed register acces routines to work on Unixware. Bit grubby but
1209 EDIT_WM_NCCreate allocates local heap if hasn't been previously
1213 mkdir now creates directory with permission to access it.
1216 mkdir now creates directory with permission to access it.
1217 DOS_opendir now uses linked list of dirents to avoid problems with
1218 realloc changing address of malloced memory.
1220 Thu Nov 16 12:47:13 1995 Michael Patra <patra@itp1.Physik.TU-Berlin.DE>
1223 MENU_CalcItemSize(): Fixed handling of empty menu items.
1225 Sat Nov 11 21:46:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
1228 In OpenFile, unlink should be done on the unix filename.
1230 Sat Nov 11 16:43:29 1995 Cameron Heide (heide@ee.ualberta.ca)
1232 * [include/handle32.h]
1233 New header file containing internal Win32 kernel handle
1237 Added ReadFile, CreateFile, and CloseFileHandle, and did
1238 some reorganizing to match the new handle allocation scheme.
1241 Added CloseHandle and the creation of standard I/O handles.
1243 * [win32/object_mgt.c]
1244 New module for allocating and freeing Win32 kernel handles.
1246 ----------------------------------------------------------------------
1247 Fri Nov 3 20:08:17 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
1250 Attempt to check for -li386 on NetBSD. Please test this.
1252 Mon Oct 30 12:40:32 EST 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
1255 Eliminated various warnings with either explicit casts or more
1256 accurate variable/parameter declarations (e.g. INT instead of short
1258 Changed macros 'min' and 'max' to 'MIN' and 'MAX', since they're
1261 * [controls/edit.c] [windows/defdlg.c]
1262 Added '#ifdef SUPERFLUOUS_FUNCTIONS' wrappers around function
1263 definition of EDIT_KeyVScrollDoc, EDIT_TextLineNumber, and
1264 DEFDLG_FindDefButton to avoid warnings.
1266 * [controls/button.c] [controls/scroll.c] [windows/defwnd.c]
1267 [windows/message.c] [windows/nonclient.c]
1268 Converted MAKEPOINT macro call to manual conversion.
1270 * [include/windows.h]
1271 For WINELIB32, structures POINT, SIZE, and RECT have LONG members
1272 instead of INT. This also invalidates the macro MAKEPOINT(), which
1273 is not supported in Win32. Also defined the POINTS structure (SHORT
1274 members) and the MAKEPOINTS macro.
1277 Changed a lot of 'strcpy' calls to 'strncpy' calls. I'm desperate to
1278 find this memory bug, and this should be done anyway.
1281 Well, the alteration mentioned above didn't do it, but #ifdef'ing out
1282 a few lines in EDIT_ClearText did. This leads to bugs, but for now,
1283 it's better than bizzare memory troubles.
1285 * [toolkit/miscstubs.c]
1286 Removed warning messages in GLOBAL_CreateBlock(), GLOBAL_FreeBlock(),
1287 and RELAY32_GetEntryPoint(). These are the most popular warnings, and
1288 their current implementation seems fine.
1290 Sat Oct 28 09:39:18 1995 Jochen Karrer <cip307@wpax01.Physik.Uni-Wuerzburg.DE>
1292 * [objects/cursoricon.c]
1293 Fix for "broken" X servers that invert masked cursor colors.
1295 Fri Oct 27 19:27:21 1995 Alex Korobka <alex@phm6.pharm.sunysb.edu>
1297 * [windows/dialog.c] [windows/nonclient.c]
1298 Remove unnecessary items from the system menu.
1300 Thu Oct 26 05:03:03 MET 1995 Philippe De Muyter <phdm@info.ucl.ac.be>
1302 * [objects/color.c] [objects/palette.c]
1303 Make GetNearestColor return a RGB value instead of a pixel value.
1305 Wed Oct 25 23:33:39 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
1307 * [controls/desktop.c][controls/menu.c][include/menu.h]
1308 Changed WORD parameters to UINT parameters.
1310 * [include/wintypes.h]
1311 Made UINT 32bit for WINELIB.
1314 Disabled RELAY32_Init and MODULE_Init for WINELIB.
1317 Assume CPU386 for WINELIB.
1320 add_popup: set MF_POPUP flag on menu item.
1322 * [toolkit/Makefile.in][toolkit/hello3.c][toolkit/hello3res.c]
1323 Add resource demo hello3 for WINELIB.
1324 New file README.resources.
1326 * [toolkit/miscstubs.c]
1329 Tue Oct 17 15:13:10 IST 1995 Itai Nahshon <nahshon@vnet.ibm.com>
1332 Do not append .exe if the file name already has an extension.
1335 Avoid creating a file with a junk name if a .ini file does not
1338 * [if1632/gdi.spec] [if1632/user.spec] [if1632/dummy.c]
1339 Added a lot of dummy stubs for Windows Hebrew version.
1341 Tue Oct 17 01:03:24 1995 William Magro <wmagro@tc.cornell.edu>
1343 * [controls/button.c]
1344 Fix for buttons with no label.
1346 * [controls/combo.c][controls/listbox.c]
1347 Fixes for scrollbar positioning. Now disappears correctly
1351 Handle memory allocation differently when building as library.
1354 Don't destroy old icon before drawing new icon. (Fixes landscape/
1355 portrait toggle icon in print dialog.)
1358 New functions SetMetaFileBits and GetMetaFileBits
1360 * [include/sysmetrics.h] [windows/sysmetrics.c]
1361 Add support for GetSystemMetrics(SM_CMETRICS) == SM_CMETRICS
1363 * [include/windows.h]
1364 META_EXTTEXTOUT, not META_SETTEXTOUT
1365 define GetCurrentTime as GetTickCount (for wine library)
1368 Don't initialize built-in modules in wine library
1371 LocalReAlloc was defined incorrectly. Swap flags and size arguments.
1374 Always report CPUTYPE=4 to wine library.
1377 RLE8 images were missing top line when decompressed.
1379 * [objects/metafile.c]
1380 SetMetaFileBits and GetMetaFileBits implemented. Works when called
1381 from winhelp. More testing needed. Various memory leaks plugged.
1382 Various other bug fixes. New metafile operations added in
1383 PlayMetaFileRecord: CreatePalette, SetTextAlign, SelectPalette,
1384 SetMapperFlags, RealizePalette, ExtTextOut, Escape. Testing needed.
1387 LocalUnLock changed to LocalUnlock
1389 Sun Oct 15 21:55:33 1995 Anand Kumria <akumria@ozemail.com.au>
1392 Return the correct error number, for host lookup operations.
1393 Also, correct the problem with send_message.
1395 Fri Oct 13 19:04:35 1995 Morten Welinder <terra@diku.dk>
1398 Using nm's built-in sorting.
1401 Use xmalloc for malloc and xrealloc for realloc in all ungarded
1405 Handle C-like expressions. Clean-up.
1407 * [debugger/debug.l]
1408 Lots of new tokens for expressions.
1411 Implement "list" command for disassembling.
1414 Implement more Danish stuff.
1416 Fri Oct 6 10:39:39 1995 Ram'on Garc'ia <ramon@ie3.clubs.etsit.upm.es>
1419 Updated self-loading modules to support for new 32 bit
1422 ----------------------------------------------------------------------
1423 Sun Oct 1 15:48:34 1995 Alexandre Julliard <julliard@sunsite.unc>
1426 Fixed GetMenuString() for non-string items.
1429 First attempt to check validity of pointers before memory
1430 accesses. For now only segmented pointers are checked.
1432 * [debugger/dbg.y] [memory/ldt.c]
1433 Added possibility to dump only one segment with 'info segment'.
1435 * [include/bitmaps/ocr_*]
1436 Added all OEM cursors as XPM bitmaps.
1438 * [include/cursoricon.h] [objects/cursoricon.c]
1439 Rewrote all cursor and icon management to use the same memory
1440 layout as Windows, and to factor common code between icons and
1441 cursors. Implemented icon directory lookup to find the best
1442 matching icon (i.e. the color one).
1443 Implemented CopyCursor() and DumpIcon().
1446 For disabled built-in modules, we now try to load the Windows DLL
1447 first, and if this fails we fall back to using the built-in module
1451 Fixed GlobalHandle() to return the correct selector in the high
1452 word even if we are passed a handle in the first place.
1455 Take into account the size of the operand and of the stack segment
1456 when incrementing the stack pointer.
1457 Avoid referencing FS_reg and GS_reg on *BSD.
1460 All DIB functions now accept a BITMAPCOREHEADER format bitmap.
1461 Monochrome DIBs are created as monochrome bitmap iff they are
1464 * [objects/oembitmap.c]
1465 Added support for OEM cursors, changed OBM_LoadIcon to use the new
1469 Added French [Fr] language support.
1471 * [win32/environment.c]
1472 Fixed GetCommandLineA() to use current PDB.
1474 * [windows/event.c] [windows/winpos.c]
1475 Simulate a mouse motion event upon SetWindowPos() to force the
1476 cursor to be set correctly.
1478 Sat Sep 30 17:49:32 Cameron Heide (heide@ee.ualberta.ca)
1481 New Win32 kernel functions: GetACP, GetCPInfo,
1482 GetEnvironmentVariableA, GetFileType, GetLastError, GetOEMCP,
1483 GetStartupInfoA, GetTimeZoneInformation, SetEnvironmentVariable,
1484 SetFilePointer, SetLastError, VirtualAlloc, VirtualFree,
1485 WriteFile. Completed implementations of GetCommandLineA.
1487 * [include/kernel32.h]
1491 Call initialization function for Win32 data (doesn't currently do
1495 Implemented GetEnvironmentVariableA, SetEnvironmentVariableA.
1497 Sat Sep 30 00:26:56 1995 Niels de Carpentier <niels@cindy.et.tudelft.nl>
1499 * [windows/winpos.c][miscemu/emulate.c][loader/module.c]
1503 Fri Sep 29 16:16:13 1995 Jim Peterson <jspeter@birch.ee.vt.edu>
1506 For Winelib, explicit casts have been placed where warnings were
1508 printf formats which give the format for printing a handle as
1509 "%04x" or something similar have been changed to use the NPFMT
1510 macro defined in include/wintypes.h. Some times, explicit casts
1511 were also necessary.
1512 Parameter, field, and variable declarations have been made more
1513 exact, such as converting 'WORD wParam' to 'WPARAM wParam' or
1514 'WORD hFont' to 'HFONT hFont'.
1515 Any call of the form GetWindowWord(hwnd,GWW_HINSTANCE) has been
1516 replaced with a call to WIN_GetWindowInstance(hwnd).
1518 * [controls/combo.c]
1519 Added WINELIB32 support in CLBoxGetCombo().
1521 * [include/dialog.h]
1522 Commented out the '#ifndef WINELIB' around the '#pragma pack(1)'.
1523 winelib needs the packing as well (e.g. when accessing resources
1524 like sysres_DIALOG_SHELL_ABOUT_MSGBOX).
1526 * [include/windows.h]
1527 Got rid of the F[a-k] macros, which were cluttering up the global
1530 * [include/windows.h] [windows/defwnd.c]
1531 Added Win32 messages WM_CTLCOLOR*.
1533 * [include/wintypes.h]
1534 Put in preprocessor '#define WINELIB32' if appropriate and changed
1535 the types of some typedefs (WPARAM, HANDLE) based on this.
1537 * [loader/module.c] [toolkit/miscstubs.c]
1538 Added #ifdef'd portion in LoadModule to handle loading a WINElib
1539 module (already loaded, just init values). '#ifdef'ed out the
1540 definition for GetWndProcEntry16 and added a new version to
1541 toolkit/miscstubs.c.
1544 Adjusted the lengths of AppName and AppMisc from 512,512 to 128,906.
1545 Same amount of total storage, but much more reasonable. Also, changed
1546 calls to strcpy() in ShellAbout() to calls to strncpy() instead.
1547 This was a difficult bug to track down, but the AppMisc field was
1548 being initialized with the contributers text, which was much larger
1549 than 512 characters.
1552 New file for atom-handling functions. Copied from memory/atom.c and
1553 then heavily modified. Right now, it's just a linked list of atoms.
1554 Consider it as a hash table with just one entry. It's easily changed
1558 Commented out the heap functions with a "#ifdef WINELIB16" and put in
1559 a Win32 version (which is basically a modified copy).
1561 * [toolkit/sup.c] [toolkit/miscstubs.c]
1562 Moved the stuff I put in toolkit/sup.c into toolkit/miscstubs.c and
1563 added quite a few more stubs.
1565 * [toolkit/winmain.c]
1566 Rearranged startup code in _WinMain. I think this will work.
1568 * [toolkit/Makefile.in]
1569 Added targets for 'hello' and 'hello2' in case anyone cares to try
1570 out the sample programs.
1572 Wed Sep 27 23:13:43 1995 Anand Kumria <akumria@ozemail.com.au>
1574 * [miscemu/int2f.c] [miscemu/vxd.c] [if1632/winprocs.spec]
1575 First attempt at support for some VxDs. Comm, Shell and Pagefile.
1577 Tue Sep 26 21:34:45 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
1580 DOS_SimplifyPath: Also remove "/./" from path. (Happens when
1581 starting applications like 'wine ./excel.exe')
1583 Sat Sep 23 23:32:40 1995 Morten Welinder <terra@diku.dk>
1586 Avoid relative path for wine.ini.
1589 Support for Danish [Da] language.
1591 * [misc/main.c] [miscemu/cpu.c]
1592 Return the processor we're running on correctly.
1595 Minor stuff in int 0x2f, function 0x16.
1597 Sat Sep 23 1995 17:58:04 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
1599 * [misc/shell.c] [misc/main.c]
1600 Implement saving and loading of the registry database (needed for
1601 OLE). Very experimental. Fixed ShellExecute().
1604 EEXIST is not a critical error condition for mkdir().
1606 Fri Sep 22 01:33:34 1995 Alex Korobka <alex@phm6.pharm.sunysb.edu>
1608 * [include/shell.h] [misc/shell.c]
1609 Implemented 4 drag/drop functions with documented functionality.
1611 * [multimedia/time.c]
1612 "Fixed" MMSysTimeCallback kludge so Excel5 loads up without crashing.
1615 Added new files, more message definitions, structures, debug info,
1616 etc. Rewrote message logging functions to produce output similar
1617 to WinSight. Check out -debugmsg +message option.
1620 Fixed GetDriveType return value.
1622 * [windows/message.c]
1623 Hooks are invoked in normal order.
1626 Added some functions and interrupts.
1629 Implemented Drag... functions.
1631 Thu Sep 21 23:50:12 1995 Jukka Iivonen <iivonen@cc.helsinki.fi>
1633 * [rc/sysres_Fi.rc] [rc/sysres.rc]
1634 First attempt at Finnish [Fi] language support.
1636 ----------------------------------------------------------------------------
1637 Sun Sep 17 16:47:49 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
1639 * [configure.in] [*/Makefile.in] [Make.rules.in]
1640 Cleaned up makefiles, added configuration option for Winelib,
1641 grouped common make rules in Make.rules.in.
1644 Renamed to 'Configure.old'; please use 'configure' instead.
1647 Fixed DestroyMenu() to avoid deleting the same menu twice.
1648 More fixes to WM_MENUSELECT, and added WM_INITMENU.
1651 Fixed wrong register values displayed by RELAY_DebugCall32().
1654 Fixed LocalLock() and LocalUnlock() to increment/decrement the
1655 lock count for moveable blocks.
1657 * [misc/commdlg.c] [misc/shell.c] [rc/winerc.c]
1658 Modified the generated C file so that the resource information
1659 (size, etc.) is also exported.
1660 Modified common dialogs to use the new informations.
1662 * [misc/main.c] [ANNOUNCE]
1663 Update the list of contributors. Please let me know if I forgot
1666 * [rc/sysres.rc] [rc/sysres_En.rc]
1667 Moved English resources to sysres_En.rc.
1668 Changed ids from numeric to symbolic for dialogs.
1670 * [windows/dialog.c]
1671 Modified template parsing to be able to pass segmented pointers to
1675 CreateWindow() now takes segmented pointers for class and window
1677 Maxmimize or minimize the window upon creation if the WS_MAXIMIZE
1678 or WS_MINIMIZE bits are set.
1680 Thu Sep 14 17:19:57 1995 Paul Wilhelm <paul@paul.accessone.com>
1682 * [controls/scroll.c]
1683 Fixed scroll-bar bugs for non-client windows.
1685 Thu Sep 14 14:04:14 MET DST 1995 Jochen Hoenicke <Jochen.Hoenicke@arbi.Informatik.Uni-Oldenburg.de>
1687 * [include/cursor.h] [windows/cursor.c]
1688 Cursor is not mirrored any more and the hotspot is set right.
1690 Wed Sep 13 14:22:31 1995 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
1695 Mon Sep 4 00:01:23 1995 Jon Tombs <jon@gte.esi.us.es>
1698 First attempt at Spanish [Es] language support.
1700 Sun Sep 3 13:22:33 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
1702 * [include/alias.h][windows/alias.c][include/relay32.h]
1705 * [controls/widgets.c]
1706 WIDGETS_Init: register alias window procedures
1708 * [if1632/callback.c]
1709 CallWndProc: Call alias functions if necessary
1711 * [if1632/gdi32.spec]
1712 GetStockObject, TextOutA: new relays
1714 * [misc/user32.c][if1632/user32.spec][misc/Makefile.in][misc/Imakefile]
1716 BeginPaint,CreateWindowExA,DefWindowProcA,DispatchMessage,EndPaint,
1717 GetMessageA,RegisterClassA,ShowWindow,UpdateWindow: new relays
1719 * [if1632/winprocs32.spec][loader/pe_image.c][loader/module.c]
1720 PE_Win32CallToStart: new function
1721 MODULE_CreateInstance: removed static attribute
1722 LoadModule: Try loading PE image on error 21
1723 PE_LoadModule: new function
1724 PE_LoadImage: initialize pe_data with 0
1726 * [include/dlls.h][include/peexe.h]
1727 moved pe_data and w_files to peexe.h
1730 ShellAbout: Register AboutWndProc aliases
1733 handle 0x440A and 0xDC
1739 CreateDIBitmap: complain if BITMAPINFOHEADER is of wrong size
1742 include windows.h and relay32.h into generated Win32 relays,
1743 don't declare the implementation as int (*)();
1744 limit in WIN32_builtin was off by one
1747 CARET_Initialize: new function, call on strategic places
1749 * [windows/messagebox.c]
1750 MessageBox: register message box proc aliases
1752 * [if1632/advapi32.spec][if1632/comdlg32.spec]
1755 * [if1632/Makefile.in][if1632/Imakefile][if1632/relay32.c]
1756 added new spec files
1757 RELAY32_GetBuiltinDLL: perform lookup case insensitive
1758 RELAY32_GetEntryPoint: start name search at 0
1760 * [if1632/user.spec][if1632/kernel.spec][if1632/gdi.spec]
1761 Added stubs for new Win95 API
1763 Sat Sep 2 1995 Martin Roy
1766 In WM_INITDIALOG, current filter must reflect lpofn->nFilterIndex.
1767 When process IDOK button in FILEDLG_WMCommand(),
1768 lpofn->nFilterIndex should be updated to current selection.
1770 Thu Aug 31 15:00:00 1995 Ram'on Garc'ia <ramon@ie3.clubs.etsit.upm.es>
1772 * [loader/module.c] [loader/ne_image.c]
1773 Added support of self-loading modules.
1775 ---------------------------------------------------------------------
1776 Thu Aug 31 17:19:57 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
1779 Added compile-time option for IPC.
1782 Added command-line options for language, IPC and malloc
1786 WM_MENUSELECT was sometimes sent to the wrong window.
1788 * [debugger/break.c]
1789 For the 'next' command, only step over instruction that require
1790 it. This allows 'next' to do the right thing with jmp and ret
1793 * [ipc/*.c] [memory/atom.c] [memory/global.c]
1794 IPC can now be configured out at compile-time.
1797 Bug fix in TASK_Reschedule() that could cause a task to be deleted
1800 * [miscemu/dosmem.c] (New file)
1801 Partial emulation of the BIOS data segment.
1804 Trap attempts to access selector 0x40 and remap the access to
1808 Fixed bug in CallTo32_LargeStack() that caused problems when
1809 compiling Wine with the -fomit-frame-pointer option.
1811 * [windows/message.c]
1812 Fixed bug in hardware event handling that could cause some events
1815 Sat Aug 26 13:12:59 IST 1995 Michael Veksler <mveksler@vnet.ibm.com>
1817 * [ipc/README] [ipc/dde.tex]
1818 LaTeX documentation for the ipc and DDE stuff.
1820 Wed Aug 23 22:01:23 GMT 1995 Michael Veksler <mveksler@vnet.ibm.com>
1822 * [ipc/Imakefile] [ipc/wine_test_stub.c]
1823 Fixed IPC testing. Now it can be compiled with "make tests"
1825 Wed Aug 23 21:04:14 1995 Fons Botman <botman@wab-tis.rabobank.nl>
1827 * [if1632/kernel.spec] [include/windows.h] [misc/main.c]
1828 Added GetWinDebugInfo/SetWinDebugInfo stub for player.exe
1830 Sun Aug 20 13:49:42 1995 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
1833 Misc fix to int21,ah=40 (write) to match _lwrite().
1834 AX=0x440A (check if handle is remote) added.
1836 * [multimedia/mmsystem.c]
1837 Moved mciSendString to mcistring.c.
1839 * [multimedia/mcistring.c]
1840 New file, string interface for MCI (not complete, not thoroughly
1843 * [multimedia/audio.c]
1844 IOCTL prints errors; one paranoid check disabled.
1847 Misc operator precedence fixes.
1849 * [if1632/gdi.spec] [objects/bitblt.c]
1850 Stub for FastWindowFrame (parameters not correct).
1852 Sat Aug 19 01:31:23 1995 Graham Menhennitt <gfm@werple.mira.net.au>
1854 * [loader/ne_image.c]
1855 Preliminary support for iterated segments.
1857 Sat Aug 19 00:43:04 1995 Andrew Taylor (andrew@riscan.com)
1859 * [windows/mapping.c]
1860 In function MAPPING_FixIsotropic(), VportExt[XY] is multiplied by
1861 the absolute value of (ydim / xdim) or (xdim / ydim).
1863 Thu Aug 15 23:00:16 Gregory Trubetskoy <grisha@mira.com>
1865 * [objects/oembitmap.c]
1866 Added some includes for Windows 95.
1868 * [include/sysmetrics.h]
1869 Added some sysmetrics for Windows 95.
1871 * [include/bitmaps/*95]
1872 New files: obm_close_95, obm_closed_95, obm_reduce_95, obm_reduced_95
1873 obm_zoom_95, obm_zoomd_95 - these are some pixmaps for Windows 95.
1875 Thu Aug 10 12:00:00 1995 Jan Willamowius (jan@janhh.shnet.org)
1877 * [misc/shell.c] [rc/sysres*.rc]
1878 The caption of the ShellAbout dialog box is language specific and
1879 should be defined in the resources.
1881 ----------------------------------------------------------------------
1882 Thu Aug 17 19:30:14 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
1885 Removed winelibclean target, as it doesn't work anyway.
1887 * [controls/button.c]
1888 Avoid drawing the focus rectangle outside of the button.
1890 * [controls/widgets.c]
1891 Fixed bug with the size of the reserved bytes for the Edit
1892 control (caused Eudora to crash).
1894 * [debugger/*] [include/debugger.h]
1895 Unified debugger address handling. Segmented and linear addresses
1896 are no grouped in a single type DBG_ADDR.
1897 All commands now accept seg:off addresses.
1898 Module entry points are now loaded upon first entry to the
1899 debugger, so that entry points of the loaded executable also
1900 appear in the symbol table.
1902 * [include/registers.h] [miscemu/*.c]
1903 Register macros are now of the form 'AX_reg(context)' instead of 'AX'.
1904 This makes code less readable, but will prevent a lot of name
1905 clashes with other definitions. It also avoids a hidden reference
1906 to the 'context' variable.
1908 * [ipc/dde_atom.c] [misc/atom.c]
1909 All *AddAtom and *FindAtom functions now take a SEGPTR parameter,
1910 to allow supporting integer atoms.
1911 Moved atom.c to memory/ directory.
1914 Fixed environment allocation to compute the size dynamically.
1915 Added 'windir' environment variable.
1916 Fixed GetDOSEnvironment() to return the current task environment.
1918 * [windows/message.c]
1919 Fixed bug in MSG_GetWindowForEvent().
1921 Wed Aug 9 11:40:43 1995 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
1924 Added a lot of structures from my Borland Manual. Neither complete,
1925 nor 100% right (check please)
1928 Fixed some of the Reg* functions.
1929 Enhanced ShellExecute.
1930 Please test: wine "regedit.exe /v" mplayer.exe soundrec.exe
1931 Do YOU know the format of \WINDOWS\REG.DAT? Mail me please :)
1934 Make umsdos mounted windows dirs work again.
1936 * [miscemu/emulate.c]
1937 Added some comments, preimplementation of subfunction 7.
1939 * [multimedia/mmsystem.c]
1940 Implemented mciSendString. not complete, not clean, not
1941 necessarily working (only checked with a program which uses
1942 'cdaudio' (one working program is cool.exe, a shareware waveditor
1943 with cdaudio play facilities.)
1945 * [multimedia/mcicda.c]
1946 Segptr fixes in DriverProc
1947 Default cdrom drive in Linux is /dev/cdrom ... usually a symbolic
1948 link to your real cdrom device.
1950 Tue Aug 8 19:41:50 CDT 1995 Daniel Schepler <dks2@cec.wustl.edu>
1952 * [loader/resource.c]
1953 Don't crash in a LoadString to NULL
1955 * [loader/resource.c]
1956 Fixed accelerators to work with modifiers. (ALT-x modifiers still
1957 won't work unless the ALT keypress exited the menu.)
1960 Expand a file to the current offset with an _lwrite of size zero.
1963 Set a newly created file to read-write instead of write-only.
1965 Sun Aug 6 20:28:35 1995 Anand Kumria <akumria@ozemail.com.au>
1967 * [misc/main.c] [include/msdos.h]
1968 Fixed to return DOS version 6.22, and the correct byte order
1969 for Windows programs.
1971 Wed Aug 2 12:36:33 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
1973 * [include/options.h] [memory/global.c] [misc/main.c]
1974 Make the new IPC run-time selectible, disabling it by default.
1975 (I think it's only useful for libwine, anyway.)
1977 * [loader/task.c] [memory/selector.c]
1978 In FreeSelector(), walk up the stack and fix the frames.
1981 Missing break statement in DIB_SetImageBits_RLE8().
1982 In GetDIBits(), set the compression flag in the bitmap info to zero.
1984 * [windows/dialog.c]
1985 GetNextDlgGroupItem() needs to treat the first child as if it had
1986 an implicit WS_GROUP bit set.
1988 Mon Jul 31 15:44:47 EDT 1995 Louis-D. Dubeau <ldd@step.polymtl.ca>
1991 Quick'n dirty fix for the initialisation of the Z: information
1994 ----------------------------------------------------------------------
1995 Sat Jul 22 22:39:09 IDT 1995 Michael Veksler <e1678223@tochnapc2.technion.ac.il>
1998 New directory. This directory contains the new inter-wine
1999 communications support. It enables DDE protocols between two wine
2000 instances. Currently it is limited to DDE, but can be enhanced to
2001 support OLE between 2 different wine instances. This is very
2002 important for libwine.a DDE/OLE support.
2005 A script to delete garbage IPC handles (shared memory, semaphores
2006 and message queues). The current inter-wine communication is not
2007 perfect, and sometimes leaves garbage behind.
2009 * [if1632/relay.c] [include/atom.h] [include/global.h]
2010 [loader/selector.c] [loader/task.c] [loader/module.c]
2011 [loader/signal.c] [memory/global.c] [misc/atom.c]
2012 [windows/class.c] [windows/message.c] [windows/win.c]
2014 Hooks for inter-wine DDE support, current Global.*Atom functions
2015 renamed to Local.*Atom since Global.*Atom are used for Inter-Wine
2016 DDE communication. (The first call to these functions sets up the
2017 IPC structures - which otherwise cause unneeded overhead.
2019 Mon Jul 17 19:55:21 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
2022 Don't crash if a NULL string is passed to menu functions.
2024 * [memory/selector.c]
2025 We now use a bit in ldt_flags_copy to indicate free LDT entries.
2026 Fixed a bug in SELECTOR_ReallocBlock that could cause it to
2027 overwrite valid LDT entries when growing a block.
2030 Emulate int xx instruction by storing the interrupt vector in
2031 CS:IP and returning directly. This allows a program to install an
2035 Added function WIN_GetTopParent to get the top-level parent of a
2038 Sun Jul 16 18:17:17 1995 Gregory Trubetskoy <grisha@mira.com>
2040 * [loader/resource.c]
2041 Added LoadIconHandler. It doesn't do anything yet, but now you
2042 can use borland help files with winhelp.exe.
2044 Sun Jul 16 11:58:45 1995 Anand Kumria <akumria@ozemail.com.au>
2047 Fixed to return 386 Enhanced mode correctly. Also return the same
2048 type of CPU, for both Enhanced and Standard mode, namely a 386.
2050 Sun Jul 16 00:02:04 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
2052 * [Configure] [include/options.h] [include/wineopts.h]
2053 [misc/main.c][misc/spy.c]
2054 Removed support of spy file. Redirected spy messages to stddeb.
2055 Removed -spy option. Added -debugmsg +spy option.
2057 * [debugger/dbg.y][debugger/debug.l]
2058 Enabled segmented addresses (seg:offs) for break and x commands.
2060 * [if1632/gdi.spec] [objects/region.c] [windows/graphics.c]
2062 FrameRgn, REGION_FrameRgn: New functions
2064 * [if1632/kernel.spec]
2065 IsWinOldApTask: Return false
2067 * [if1632/mouse.spec]
2070 * [if1632/user.spec] [windows/win.c]
2071 ShowOwnedPopups: New function
2073 * [if1632/winsock.spec] [misc/winsocket.c]
2074 inet_addr, select: New prototypes in relay code
2075 Fixed memory layout for netdb functions (getXbyY).
2076 WINSOCK_ioctlsocket: Translated FIONREAD, FIONBIO, and FIOASYNC
2078 * [objects/clipping.c]
2079 RectVisible: Fixed call to LPToDP
2082 main: Removed extra argument to getopt for Linux.
2084 Tue Jul 11 00:14:41 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2086 * [controls/listbox.c]
2087 Yet another fix for ListBoxDirectory().
2089 * [loader/module.c] [if1632/kernel.spec]
2090 Make GetModuleHandle() accept instance handles as parameter.
2092 * [if1632/relay.c] [loader/task.c]
2093 Put a magic cookie at the bottom of the 32 bit stack, and check on
2094 each return from a 32 bit function whether it's still there. Complain
2097 * [if1632/user.spec]
2098 Wrong entry for CloseDriver().
2100 * [misc/dos_fs.c] [loader/task.c] [include/dos_fs.h] [misc/file.c]
2102 Large parts of dos_fs.c simplified. Changed it to use one
2103 current drive/directory per task, which is set to the module path on
2105 Prevent CorelPaint from closing stdin.
2106 open() with O_CREAT set must be passed three parameters.
2107 DOS FindFirst()/FindNext() could crash when FA_LABEL was set. Fixed,
2108 it's in DOS_readdir() now.
2111 Some badly written software (Lotus Freelance Graphics) passes a bogus
2112 size parameter that caused Wine to write off the end of a segment.
2113 Fixed. (It's probably too paranoid now.)
2115 * [multimedia/mmsystem.c] [multimedia/time.c] [multimedia/joystick.c]
2116 [multimedia/Imakefile] [if1632/winprocs.spec]
2117 16 bit entry point for MMSysTimeCallback.
2118 Split off time.c and joystick.c from mmsystem.c.
2121 GetDIBits(): call XGetImage() via CallTo32_LargeStack.
2123 * [windows/cursor.c]
2124 DestroyCursor(): do nothing for builtin cursors.
2127 Half of WM_MDISETMENU implemented.
2130 EnumWindows() and EnumTaskWindows() never enumerated any windows.
2134 Fixed GetParent() to return correct values for owned windows.
2136 * [windows/message.c]
2137 Don't try to activate disabled top-level windows.
2139 * [windows/nonclient.c]
2140 Work around a bug in gcc-2.7.0.
2142 * [tools/build.c] [include/stackframe.h] [memory/global.c]
2143 [loader/task.c] [memory/selector.c]
2144 Some Visual Basic programs (and possibly others, too) expect ES to be
2145 preserved by a call to an API function, so we have to save it.
2146 In GlobalFree() and FreeSelector(), we must clear CURRENT_STACK16->es
2147 to prevent segfaults if ES contained the selector to be freed.
2149 Sun Jul 9 20:21:20 1995 Jon Tombs <jon@gtex02.us.es>
2152 Added missing prototypes to header files and relevant includes
2153 to reduce compile time warnings.
2155 Sun Jul 9 18:32:56 1995 Michael Patra <micky@marie.physik.tu-berlin.de>
2157 * [configure.in] [include/config.h] [*/Makefile.in]
2158 New configuration scheme based on autoconf.
2160 Sat Jul 8 14:12:45 1995 Morten Welinder <terra+@cs.cmu.edu>
2162 * [miscemu/ioports.c]
2163 Revamp to have only one in- and one out- variant, both really
2167 INSTR_EmulateInstruction: Use new ioport interface. Implement
2168 string io. Correct instruction pointer for 32-bit code.
2170 * [include/miscemu.h]
2171 Update port function prototypes.
2173 * [include/registers.h]
2176 Sat Jul 8 13:38:54 1995 Hans de Graaff <graaff@twi72.twi.tudelft.nl>
2179 ChopOffSlash(): A path consisting off a single slash is left
2180 intact, and multiple slashes are all removed.
2182 ----------------------------------------------------------------------
2183 Wed Jul 5 19:06:35 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
2185 * [controls/scroll.c]
2186 Fixed drawing bug that caused part of a non-client scroll bar
2187 to be painted even when the scroll-bar was hidden.
2189 * [debugger/break.c] [debugger/dbg.y]
2190 Rewrote breakpoint handling to work in 16-bit mode.
2191 Implemented single-stepping ('step' and 'next' instructions).
2193 * [debugger/debug.l]
2194 Format specifier is now a separate token.
2195 Entering an empty line at the debugger prompt causes the previous
2196 command to be repeated, like under gdb.
2198 * [debugger/debug.l] [debugger/registers.c]
2199 Differentiate 16-bit and 32-bit registers without taking current
2200 mode into account ($eax is always 32-bit, $ax always 16-bit).
2202 * [debugger/stack.c]
2203 Fixed stack information routines to differentiate between 16-bit
2207 Option -debug now sets a breakpoint at the first instruction of
2211 Added handling of lock, repe and repne prefixes.
2214 Changed StretchDIBits() to do the correct thing, even if it's still
2217 * [windows/graphics.c]
2218 Fixes in RoundRect(), thanks to Babak Masalehdan.
2220 * [windows/message.c]
2221 Tried to fix mouse event handling with respect to disabled
2224 * [windows/painting.c]
2225 Clear WIN_NEEDS_NCPAINT flag before sending WM_NCPAINT to avoid
2229 Fixed IsWindowVisible() to return FALSE when one of the parent
2232 Sat Jul 1 22:08:21 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
2234 * [if1632/compobj.spec][misc/compobj.c]
2235 CoGetMalloc: New function
2236 Added relay entries for COMPOBJ ordinals above 100
2237 CoInitialize: Changed parameter to DWORD
2239 * [if1632/ole2.spec]
2240 Exported implementation of OleBuildVersion
2242 * [if1632/ole2disp.spec][misc/ole2disp.c][misc/Imakefile]
2243 ole2disp.c: New file
2244 SysAllocString, SysReallocString, SysAllocStringLen,
2245 SysReAllocStringLen, SysFreeString, SysStringLen: new functions
2247 * [if1632/ole2nls.spec][include/winnls.h][misc/ole2nls.c]
2248 CompareStringA: New function
2250 Thu Jun 29 19:42:02 1995 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
2251 * [objects/font.c] [if1632/gdi.spec]
2252 New stubs for CreateScalableFontResource, GetGlyphOutline.
2254 Thu Jun 29 13:47:08 GMT 1995 Göran Thyni (goran@norrsken.bildbasen.se)
2257 Extensive changes and bug fixes to FileDialog handling,
2258 behaves more like native Windows.
2260 Wed Jun 28 13:04:44 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2262 * [controls/listbox.c] [controls/combo.c]
2263 Some minor optimizations.
2266 LOCAL_FindFreeBlock(): Never use the last one.
2269 GlobalReAlloc(): GMEM_MODIFY must not be ignored when size==0.
2272 read() returns an error when length==0. This is not what Windows
2273 programs expect, so pay attention to this in _lread(). Changed this
2274 in _lwrite(), _hread(), _hwrite(), too.
2276 * [loader/resource.c]
2277 LoadIcon(): Ignore bih->biSizeImage, some icons have wrong values in
2280 * [if1632/shell.spec] [misc/shell.c]
2281 Wrong spec file entries caused havoc: HKEY has 32 bit, not 16.
2282 Accept some more combinations of parameters in the Reg..() functions.
2284 * [if1632/toolhelp.spec]
2285 Make InterruptRegister() and InterruptUnregister() return false.
2288 CallNextHookEx() used to crash when called with a null hhook. Fixed.
2290 Wed Jun 28 10:14:34 1995 Martin von Loewis <martin@informatik.hu-berlin.de>
2292 * [include/neexe.h][loader/ne_image.c]
2293 NE_LoadSegment: Detect iterated segments
2296 LOCALE_SLONGDATE: fixed typo
2299 Reordered include files to avoid conflicts with Linux libc.5.1
2302 Added -b option to process binary resource files into C arrays
2304 * [include/callback.h]
2305 CallWndProc: Added dummy ds parameter for libwine
2307 * [include/gdi.h][include/user.h]
2308 USER_HEAP_ALLOC, GDI_HEAP_ALLOC: dropped flags parameter
2310 * [include/ldt.h][include/stackframe.h]
2311 defined segment conversion macros for libwine
2314 Defined USER_HeapSel for libwine
2317 Disable -dll option for libwine
2320 removed GetFreeSystemResources, SystemHeapInfo from libwine for now
2323 fixed LocalLock prototype
2326 sync'ed load_mz_header, load_ne_header with structures
2328 * [toolkit/winmain.c]
2329 Disabled resource DLLs for libwine for now
2331 Mon Jun 26 19:30:24 1995 Hans de Graaff (graaff@twi72.twi.tudelft.nl)
2334 Fixed -enhanced option to report a 386 CPU instead of a 286.
2336 Fri Jun 23 23:18:25 1995 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
2339 Remove maximum open dosdirent limit (fixing the winfile.exe
2340 problem) by using telldir()/seekdir().
2342 Fri Jun 23 13:42:25 1995 Hans de Graaff (graaff@twi72.twi.tudelft.nl)
2345 Fixed problem parsing empty lines within sections in .ini files.
2347 ----------------------------------------------------------------------
2348 Mon Jun 19 20:29:50 1995 Alexandre Julliard (julliard@sunsite.unc.edu)
2351 Modified debugger to use segmented pointers everywhere.
2353 * [if1632/shell.spec] [if1632/sound.spec] [if1632/user.spec]
2354 Declared all functions that return only 16-bit as 'pascal16'.
2356 * [include/ldt.h] [memory/ldt.c]
2357 Export LDT_EntryToBytes (new) and LDT_BytesToEntry for DPMI.
2358 Maintain a copy of the selector flags, removing the need to make a
2359 system call to retrieve an LDT entry.
2362 Fixed bug with module file handle cache.
2364 * [loader/ne_resource.c]
2365 Fixed file name bug in NE_AccessResource().
2367 * [loader/resource.c]
2368 Fixed bug in LoadIcon() that caused wrong colors to be used for
2372 Moved instruction emulation to miscemu/instr.c.
2374 * [misc/dos_fs.c] [miscemu/int21.c]
2375 Lots of small fixes, thanks to Morten Welinder.
2378 More complete DPMI emulation.
2381 Added support for prefixes in instructions to emulate.
2384 Use register macros instead of destroying the high part of 32-bit
2388 Fixed bug in GetDCState() that failed to clear the new DC.
2391 Removed dialogs 11 and 12 that were never used.
2394 'pascal16' generated functions did not save %dx.
2395 Removed use of %fs to access the stack.
2396 %ds is no longer initialized before calling a 16-bit routine.
2398 * [windows/defwnd.c]
2399 Accept a NULL pointer as window title.
2402 MDICascade: skip iconic windows.
2403 Implemented CalcChildScroll().
2405 * [windows/utility.c]
2406 Fixed MulDiv() for illegal values.
2409 Fixed X error in CreateWindowEx() when WM_NCCALCSIZE returned
2410 a zero width or height.
2412 Sun Jun 18 22:22:30 MET DST 1995 Fons Botman (botman@inter.nl.net)
2415 Fixed "uninitalized" message which -Wall couldnt see to be ok
2419 Added define for extra checks in API definitions during debugging.
2421 * [loader/ne_image.c]
2422 Added newline in NE_FixupPrologs to avoid long lines.
2425 Added extra safety check in DOS_ValidDrive.
2428 Fixed definition of ExitWindows.
2430 Sun Jun 18 21:16:08 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2433 Some fixes, mostly for memory management, but also for text selection
2434 and tab postitions. General cleanup. Notepad.exe now works.
2436 * [controls/combo.c]
2437 Fix: the hwnd field of the DRAWITEMSTRUCT should always be that of
2438 the combo box, not the ComboLBox that belongs to it.
2440 * [controls/listbox.c]
2441 Handle itemID field correctly throughout.
2444 Implemented flag LMEM_ZEROINIT.
2445 LocalReAlloc() could trash the heap. Fixed.
2448 FONT_MatchFont(): don't get confused by negative widths.
2449 Fixed a segfault in EnumFonts().
2452 DrawText(): DT_CALCRECT implies DT_NOCLIP.
2454 * [objects/dcvalues.c]
2455 MAKELONG was used with bad parameters in DC_GET_X_Y.
2457 * [windows/dialog.c]
2458 Don't show the dialog if WS_VISIBLE isn't set in the template.
2460 * [windows/utility.c]
2461 UTILITY_convertArgs(): Never pass an expression containing ++ into a
2465 SetParent() should unlink the window before changing the parent.
2467 * [windows/message.c]
2468 Don't call timer functions via CallWindowProc(), since it checks
2469 whether hwnd==0 and does not call the function in that case.
2472 Ignore interrupt 0x3D, for VBRUN300.DLL.
2475 Don't rely on the itemData field of the DRAWITEMSTRUCT to contain a
2476 pointer to the item text.
2479 Disable OLE and DDEML DLLs by default, since they contain nothing but
2480 stubs anyway. SHELL, COMMDLG and WIN87EM are left enabled, although
2481 some programs may work better without them.
2483 * [multimedia/*.c] [include/multimedia.h] [include/driver.h]
2484 Begun cleaning things up a little. Replaced printfs with dprintf_
2485 macros, made functions static where possible, and some other minor
2488 Sun Jun 11 23:19:10 1995 Martin von Loewis <martin@informatik.hu-berlin.de>
2490 * [debugger/dbg.y][debugger/dbg.l]
2491 Removed special handling for FILE_IDENTIFER, because it caused
2492 problems with x/<format> statements.
2495 Use SC_ESP instead of SC_EIP for stack dump.
2497 * [misc/compobj.c][if1632/compobj.spec]
2498 CoBuildVersion, CoInitialize, CoUninitialize: new functions
2500 * [misc/ole2.c][if1632/ole2.spec][misc/Imakefile][include/ole2.h]
2501 New files ole2.c, ole2.h
2502 OleBuildVersion, OleInitialize, OleUninitialize: new functions
2504 * [if1632/ole2disp.spec]
2505 Added missing ordinals above 109
2507 * [misc/ole2nls.c][if1632/ole2nls.spec][include/winnls.h]
2509 GetLocaleInfoA: new function
2511 * [if1632/shell.spec]
2512 Added FindEnvironmentString as stub
2514 * [misc/olecli.c][if1632/olecli.spec]
2515 OleIsDcMeta: New function
2517 * [objects/font][misc/gdi.spec]
2518 GetKerningPairs: new function
2521 ShellExecute: Implemented support for starting programs
2523 * [if1632/user.spec]
2524 Inserted missing relay to GetClipCursor
2526 Sun Jun 11 20:34:47 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2529 Fix a problem with the local heap.
2531 * [include/wintypes.h]
2532 Fixed wrong declarations of CATCHBUF and LPCATCHBUF.
2534 * [include/mdi.h] [windows/mdi.c]
2535 This code still assumed segmented address==linear address. Fixed.
2537 * [include/msdos.h] [misc/dos_fs.c]
2538 The filemask field of the dosdirent structure could be overrun. Fixed.
2539 If you had a file called foobar and a file called foo, trying to
2540 FindFile(foo) could accidentally find file foobar instead. Fixed.
2543 OpenFile(): Always return the full pathname in ofs->szPathName. This
2544 also fixes GetModuleFilename().
2545 Prevent _lclose() from closing stderr or stdout.
2548 Search for .ini files in the path of the current module as well.
2549 (Needed by Lotus Organizer.)
2551 * [loader/task.c] [loader/ne_image.c] [loader/module.c]
2553 Local heaps are now initialized by InitTask() for executables. DLLs
2554 have to call LocalInit() themselves, LocalInit() has to put the
2555 heap at the end of the segment when called with start==0. We no longer
2556 allocate the DGROUP with 64k on startup, but grow the local heap
2557 in LOCAL_GetBlock() when necessary.
2560 LoadLibrary() should call LoadModule() in all cases, even if the
2561 DLL is already loaded, to ensure that the reference count is correct.
2563 * [loader/ne_image.c]
2564 Some changes to function prolog fixup. Does anyone know exactly how
2565 this is supposed to work? I am only guessing here.
2566 In NE_InitializeDLLs(), initialize the DLLs a module refers to before
2570 Initialize instance data at the beginning of the DGROUP in InitTask().
2573 Some fixes for moveable blocks.
2575 * [memory/selector.c]
2576 All the IsBad*Pointer() functions returned exactly the wrong boolean
2579 * [objects/bitblt.c]
2580 Fixed another null pointer dereference in debugging output.
2583 Some more recovery possibilities for FONT_MatchFont() if a specified
2584 font does not exist.
2587 The dialog code may call CreateWindowEx with an integer in windowName.
2588 This happens for static icon controls that expect a resource ID as
2589 the window name. CreateWindowEx() used to crash. Fixed.
2591 * [windows/class.c] [windows/win.c]
2592 Window classes are owned by modules, not instances. Changed
2593 RegisterClass(), UnregisterClass(), GetClassInfo() and CreateWindowEx()
2596 Sat Jun 10 16:10:53 1995 Olaf Flebbe <o.flebbe@science-computing.uni-tuebingen.de>
2599 clock.exe was displaying incorrect year.
2601 Fri Jun 9 20:36:56 1995 Victor Schneider <tailor@crl.com>
2603 * [include/cursor.h] [windows/cursor.c]
2604 Implemented CreateCursorIconIndirect().
2606 ----------------------------------------------------------------------
2607 Tue Jun 6 12:11:41 1995 Alexandre Julliard (julliard@sunsite.unc.edu)
2610 Fixed bug with drawing multi-column menus with vertical separator.
2612 * [debugger/debug.l]
2613 Fixed NULL-pointer reference after readline().
2615 * [if1632/winprocs.spec] [miscemu/int21.c] [miscemu/interrupts.c]
2616 Added interrupt vector emulation. Allows to retrieve an interrupt
2617 vector and jump to it without crashing.
2620 Moved ldt.c to memory directory.
2623 Implemented LockCurrentTask() and GetInstanceData().
2625 * [objects/bitblt.c]
2626 Fixed a bug that caused StretchBlt() to use wrong colors when
2627 stretching a monochrome bitmap to a color display.
2629 * [objects/bitmap.c]
2630 Fixed a segmented pointer bug in CreateBitmapIndirect().
2633 Added possibility to have arguments for register functions; used
2634 by interrupt vectors to remove the flags from the stack.
2635 Generate a new function CallTo32_LargeStack(), that allows calling
2636 a 32-bit function using the original 32-bit stack, for functions
2637 that need more that 64k of stack.
2639 Tue May 30 10:29:56 1995 Martin von Loewis <martin@informatik.hu-berlin.de>
2641 * [if1632/shell.spec] [misc/shell.c]
2642 DoEnvironmentSubst: fixed prototype
2644 * [if1632/gdi.spec] [objects/palette.c]
2645 SetSystemPaletteUse: new function
2647 * [if1632/kernel.spec] [loader/resource.c]
2648 DirectResAlloc: new function
2650 * [if1632/user.spec] [windows/keyboard.c]
2651 SetKeyboardState: new function
2653 Mon May 29 12:58:28 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2656 Prevent interrupts from destroying the args for a 32 bit function
2657 by loading the correct value into %esp directly after %ss.
2659 * [loader/ne_image.c] [loader/module.c]
2660 The new instance must be created earlier in LoadModule(), so that
2661 fixups referencing it will be handled correctly.
2662 Initialize the local heap for a DGROUP in NE_LoadSegment().
2665 Like RLE8 bitmaps, RLE4 bitmaps don't always end with a proper code.
2666 This used to crash Wine. Fixed.
2669 Fix possible null pointer dereference in debugging output.
2672 Handle user input in the edit control better. Some bugs fixed.
2675 Started implementing moveable blocks. This is unfinished (!), but
2676 at least it does not seem to break things.
2678 Wed May 24 13:26:36 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2681 LoadModule(): DLLs occasionally have a data segment, and they work
2682 much better if it is loaded :-)
2683 LoadLibrary(): pass HMODULE instead of HINSTANCE to NE_InitializeDLLs.
2684 FindModule(): also strip off the last backslash of the pathnames
2685 (Winhelp tried to load C:\WINDOWS\SYSTEM\COMMDLG.DLL).
2686 GetModuleHandle(): just call MODULE_FindModule, it does the same job,
2689 * [loader/ne_image.c]
2690 LocalInit() the heap of a DLL in NE_InitDLL. (This is probably
2691 not really correct, it seems that all programs and DLLs try to do
2692 this themselves. But they pass weird parameters.)
2693 NE_InitializeDLLs should also call NE_InitDLL for the passed hModule.
2695 * [loader/task.c] [misc/user.c]
2696 Finish global initializations in InitTask instead of InitApp, or
2697 all the DLLs will be initialized in InitTask without any available
2700 ----------------------------------------------------------------------
2701 Sun May 21 12:30:30 1995 Alexandre Julliard (julliard@sunsite.unc.edu)
2703 * [debugger/hash.c] [debugger/info.c]
2704 Added support for symbolic segmented addresses. Add symbols for all
2705 built-in API entry points.
2707 * [if1632/relay.c] [include/dlls.h]
2708 Removed dll_table structure, as we now use the built-in module
2711 * [if1632/relay.c] [loader/main.c]
2712 Removed winestat option, as it was no longer very meaningful.
2714 * [include/stackframe.h]
2715 New macro MAKE_SEGPTR that creates a segmented pointer to a local
2716 variable on the 32-bit stack.
2719 Added support for multiple instances of an application.
2720 Implemented LoadModule() and FreeModule().
2722 * [loader/ne_image.c] [loader/task.c]
2723 Moved initialisation of built-in DLLs to InitTask().
2726 Implemented discardable blocks.
2729 Search path of current executable in OpenFile().
2730 Fixed bug with searching in Windows path.
2733 Hard-coded translation tables for Ansi<->Oem.
2736 Moved some global initializations to InitApp(), because they need
2737 a task context to be performed.
2740 Handle R2_BLACK and R2_WHITE specially so that they work correctly
2741 with palette displays.
2744 Suppressed generation of the C file for DLL specs, because it's no
2745 longer needed. Output all the assembly code directly to stdout.
2746 Some changes to integrate Win32 support from Martin von Loewis.
2748 * [windows/msgbox.c]
2749 Moved message box code from misc/ to windows/.
2751 Mon May 15 23:40:04 1995 Martin Ayotte (wine@trgcorp.mksinfo.qc.ca)
2753 * [misc/audio.c] [misc/mcicda.c] [misc/mcianim.c] [misc/midi.c]
2754 [misc/mmaux.c] [misc/mmsystem.c]
2755 Modify code & use pointers conversion macros.
2756 Make cdaudio & wave devices work again (only using some applets).
2759 Change getc() to fgetc() where needed.
2761 Mon May 15 22:10:56 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
2763 * [if1632/Imakefile]
2764 added entries for the new files gdi32.spec, kernel32.spec,
2765 user32.spec, shell32.spec and winprocs32.spec.
2767 * [if1632/commdlg.spec][if1632/kernel.spec][if1632/shell.spec]
2768 [if1632/storage.spec][if1632/system.spec][if1632/user.spec]
2769 ChooseFont, RESERVED5, InternalExtractIcon: Marked as stubs
2770 ExtractAssociatedIcon, DoEnvironmentSubst, DumpIcon:
2771 stub implementations provided
2772 marked storage.dll,storege.sys functions as stubs
2774 * [include/pe_image.h]
2775 Added structures WIN32_builtin and WIN32_function
2778 PE_Import_Directory: renamed reserved fields to
2779 TimeDate, Forwarder, Thunk_List
2781 * [include/winerror.h]
2787 * [loader/pe_image.c]
2788 xmmap: map BSS anonymous
2789 dump_imports: renamed to fixup_imports, do the fixup of imported
2791 PE_LoadImage: pass raw data size to xmmap
2793 * [loader/resource.c]
2794 DumpIcon: new function
2800 make stdout and stderr unbuffered
2803 DoEnvironmentSubst: new function
2806 FONT_MatchFont: try oblique if there is no italic
2808 * [rc/Imakefile][rc/parser.l]
2809 yywrap: new function
2810 Don't link with libfl.a on Linux
2813 Added keywords stdcall, subsystem, base
2814 GenerateForWin32: new function
2815 BuildSpecFiles: call GenerateForWin32 if subsystem is win32
2817 Mon May 15 10:38:14 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2819 * [controls/listbox.c] [controls/combo.c] [windows/defwnd.c]
2822 * [misc/message.c] [misc/main.c] [rc/sysres*.rc] [include/texts.h]
2823 Rewrote message box handling.
2825 * [windows/dialog.c]
2826 Dialogs should be invisible until after WM_INITDIALOG is seent.
2827 Don't switch to invisible dialog items on a TAB keypress.
2830 Send WM_NCPAINT message in MDIRestoreChild().
2832 * [windows/painting.c]
2833 Fixed typo (&& -> &).
2835 * [windows/message.c] [if1632/user.spec]
2836 Implemented PostAppMessage().
2839 SetCapture(0) should act like ReleaseCapture().
2841 Tue May 9 11:55:52 1995 Eddie C. Dost (ecd@dressler.de)
2844 Changed CDEBUGFLAGS for systems running __ELF__ (temporarily)
2845 Added ASFLAGS to exported variables.
2847 * [debugger/readline/Imakefile]
2848 Moved defines for libreadline from DEFINES to EXTRA_DEFINES
2850 * [memory/local.c] [miscemu/int21.c]
2851 Added some more debugging outputs.
2853 Mon May 8 00:55:27 MET DST 1995 Dag Asheim (dash@ifi.uio.no)
2856 Fixed a "FIXME" concerning norwegian translation.
2858 Sun May 7 23:25:23 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2861 Removed warnings in a couple of files and deleted some obsolete code.
2863 * [controls/listbox.c]
2864 Cleanup, speed improvements & lots of bug fixes.
2866 * [controls/combo.c]
2867 Mostly rewritten. This is still very buggy, but not quite as bad as
2870 * [include/commdlg.h] [misc/commdlg.c]
2871 Removed the need for sysres.dll. Small bug fixes.
2873 * [objects/oembitmap.c] [include/bitmaps/<many>] [include/windows.h]
2874 [loader/library.c] [loader/main.c] [rc/sysres*.rc]
2875 Removed sysres.dll and replaced the remaining bitmaps/icons with
2878 * [misc/message.c] [windows/nonclient.c] [misc/main.c]
2879 [if1632/winprocs.spec]
2880 "About Wine..." now brings up a standard ShellAbout() window with
2881 the Wine icon and the list of contributors.
2884 Fixed ShellAbout()/AboutDialogProc() to show the right icon.
2887 Small hack for non-alphanumeric keys: Dont't send the ascii value in
2888 the WM_KEYDOWN message, but some unused code instead. Should be done
2889 properly by sending different codes for each key. The edit control
2890 used to get a VK_DELETE message each time the user typed '.'.
2893 Removed a check for CS_GLOBALCLASS in CLASS_FindClassByName().
2894 This used to be no problem, but breaks Resource Workshop in 950403.
2897 New diagnostic for a bug I've been encountering. If it shows up,
2900 Sun May 7 23:11:18 EDT 1995 William Magro (wmagro@tc.cornell.edu)
2903 Handle situation when 'dc' exists, but palette mapping
2904 does not. (Fixes kidpix2 demo.)
2906 Sun May 7 03:32:00 1995 Charles M. Hannum (mycroft@mit.edu)
2909 LDT_Print: Only show the number of entries that the kernel
2910 returned. Make this work for NetBSD.
2912 Fri May 5 02:53:26 1995 Charles M. Hannum (mycroft@mit.edu)
2914 * [debugger/dbg.y] [include/wine.h] [loader/signal.c]
2915 Modify cs and ds selector values for NetBSD-current.
2917 * [debugger/debug.l]
2918 $sp, $esp: Use RN_ESP_AT_SIGNAL rather than RN_ESP.
2920 * [debugger/regpos.h]
2921 Modify sigcontext format for NetBSD-current.
2922 SC_ESP: Use RN_ESP_AT_SIGNAL rather than RN_ESP.
2925 SELECTOR_TO_ENTRY: Explicitly clear the top half of the selector
2926 value, since only 16 bits of it may have been saved.
2928 * [misc/winsocket.c]
2929 Set structure packing with `#pragma pack' to accomodate
2930 other/older compilers.
2932 Tue May 2 18:15:01 1995 Paal Beyer (beyer@idt.unit.no)
2935 Fixed path-names so when changing directory the listboxes
2938 * [debugger/dbg.y debugger/debug.l wine.ini]
2939 Added SymbolTableFile to wine.ini so symbols can be read
2940 without standing in the directory containing wine.sym.
2941 Added the possibility to specify full name of wine.sym from
2942 the debugger prompt.
2944 ----------------------------------------------------------------------
2945 Sat Apr 29 20:42:01 1995 Alexandre Julliard (julliard@sunsite.unc.edu)
2947 * [controls/static.c]
2948 Fixed painting of SS_*FRAME controls.
2950 * [if1632/callback.c]
2951 Pass the window instance as DS to the 16-bit window procedure.
2952 Rewrote Catch() and Throw() to make them work with multiple tasks.
2955 New function MAIN_Init() to perform initializations before the
2956 first task is started instead of doing them in InitApp().
2957 Temporary hack to command-line parsing to load one program per
2958 command-line argument, to make testing task-switching easier.
2961 Reimplemented modules to use a Windows-compatible layout and to
2962 allow multiple tasks and multiple module instances. Not really
2965 * [loader/task.c] [misc/exec.c]
2966 Reimplemented tasks to use a common address space, and implemented
2967 preliminary task-switching capabilities.
2970 Fixed bug in GlobalNext().
2973 Updated the list of contributors. Let me know if I forgot someone.
2976 Use one DTA per task instead of a global one.
2978 * [objects/bitblt.c]
2979 Fixed bug in BitBlt() that could cause BadMatch errors.
2982 Added new function type 'stub', that makes possible to export an
2983 unimplemented function by name as well as by ordinal. This will
2984 avoid loading errors for unimplemented functions.
2985 Generate an in-memory module layout for built-in DLLs so that the
2986 same code can be used for built-in and loaded modules.
2987 Changed relay code to make it unnecessary to save the value of the
2990 * [windows/message.c]
2991 Implemented multiple message queues and preliminary task-switching
2992 capabilities. Inter-task SendMessage() calls are not implemented
2993 yet and will probably cause crashes if used.
2995 * [windows/property.c]
2996 Reimplemented properties and allocate them on the USER heap.
2999 Fixed bug in SetWindowWord().
3000 Reimplemented EnumWindows() and EnumTaskWindows().
3002 Tue Apr 18 09:48:38 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
3005 GetSystemParametersInfo(): Additional action SPI_GETICONTITLEFONT.
3007 * [loader/resource.c]
3008 Removed the check for NE_SEGFLAGS_EXECUTEONLY, since it broke
3012 * [objects/font.c] [include/windows.h]
3013 Fixed a bug in InitFontsList() and worked on the EnumFonts()
3014 functions to make them comprehensible.
3016 * [controls/button.c]
3017 Fixed my previous patch to handle LBUTTONUP messages.
3019 Fri Apr 14 11:41:28 1995 Cameron Heide (heide@ee.ualberta.ca)
3021 * [misc/network.c, misc/dos_fs.c]
3022 Implemented WNetGetConnection. All that is currently
3023 supported are drives, for which the remote name is simply
3024 the redirected UNIX directory name.
3027 More drive number validity checking.
3029 Wed Apr 12 11:28:37 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
3031 * [controls/listbox.c]
3032 Oops, my previous change to ListBoxDirectory broke the Borland
3033 file open dialog. Fixed.
3035 Mon Apr 10 23:17:12 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
3037 * [if1632/ole2nls.spec] [misc/ole2nls.c] [misc/Imakefile]
3038 New file ole2nls.c. Added stubs for GetUserDefaultLCID,
3039 GetSystemDefaultLCID, GetUserDefaultLangID, GetSystemDefaultLangID.
3041 Mon Apr 10 10:05:18 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
3043 * [memory/global.c] [memory/local.c] [include/windows.h]
3044 GlobalReAlloc(): If GMEM_MODIFY is set, don't resize the block.
3045 LocalReAlloc(): Same for LMEM_MODIFY.
3047 * [controls/listbox.c]
3048 Fixed a bug in ListBoxDirectory that prevented commdlg from working.
3049 Check for errors in some more places.
3051 * [if1632/gdi.spec] [if1632/user.spec]
3052 16 bit callback functions should be passed as segptrs.
3054 * [include/dlls.h] [loader/ne_image.c] [loader/selector.c]
3056 Prevent a DLL from being initialized twice (Borlands Resource
3057 Workshop used to do this).
3058 Provide an additional flag for each w_file that indicates whether
3059 it's an EXE or a DLL, for combinations like pbrush.exe/.dll.
3061 * [controls/button.c]
3062 Handle LBUTTONUP messages even if the button no longer has the
3063 capture (for WinHelp).
3065 * [include/wintypes.h]
3066 FARPROC is now a segptr for the emulator and a function
3067 pointer for the library.
3069 * [misc/commdlg.c] [misc/commdlg.h]
3070 Cleaned the file dialogs up a little. They now work reasonably well,
3071 although there are still some problems (e.g. files are initially
3074 * [windows/class.c] [if1632/user.spec] [include/windows.h]
3075 GetClassInfo() must take a segptr, as it checks whether the
3077 GetClassName() called the wrong atom function. No surprise it didn't
3081 AnsiToOem() and OemToAnsi() didn't terminate the strings. Fixed.
3082 Removed some warnings.
3084 * [if1632/relay.c] [if1632/ddeml.spec] [include/dlls.h]
3085 New spec file for the 3.1 DDEML DDL.
3088 Small fix to ChangeMenu - mask out the obsolete flags
3089 (MF_APPEND == MF_OWNERDRAW, this led to problems). It also had
3090 problems with the MF_BYPOSITION flag.
3092 * [windows/message.c]
3093 SendMessage(): call the WH_CALLWNDPROC hook function. This is rather
3094 ugly, I'm afraid. Windows probably passes a pointer to the 16 bit
3095 stack for speed reasons.
3097 * [windows/hook.c] [include/windows.h]
3098 Set/HookWindowsHook() shouldn't just call their *Ex counterparts, as
3099 they have slightly different semantics.
3100 MS Hearts now works somewhat, if you disable the new builtin DDEML.
3101 The graphics are completely messed up, though.
3103 ----------------------------------------------------------------------
3104 Sun Apr 2 18:31:12 1995 Alexandre Julliard (julliard@sunsite.unc.edu)
3106 * [Configure] [if1632/Imakefile]
3107 Removed new build and short names options.
3109 * [if1632/*.c] [tools/build.c]
3110 Implemented compiled call-back functions for better performance;
3111 all the relay code is now done in assembly code generated by the
3113 Relay code is no longer dependent on being loaded below 64K.
3115 * [loader/resource.c]
3116 Fixed memory leak in LoadString(). A fix will also be needed for
3120 Implemented global heap arenas, so we can store informations about
3121 global blocks, like lock counts or owner handle.
3122 Implemented FarGetOwner() and FarSetOwner().
3123 Implemented global heap TOOLHELP functions.
3125 * [memory/selector.c]
3126 Bug fix: it was not possible to re-use a free selector.
3128 Sun Apr 2 01:34:52 1995 Constantine Sapuntzakis (csapuntz@mit.edu)
3130 * [controls/listbox.c]
3131 Major work on listbox code
3132 - Many bugs fixed (still many bugs)
3133 - More messages supported
3136 Fri Mar 31 03:27:16 EST 1995 William Magro (wmagro@tc.cornell.edu)
3139 Lots of bug fixes related to diappearing text, lost carets,
3140 highlighting, segmentation faults, occurance of random
3141 characters, insertion of characters over selection, misplaced
3142 caret location, display corruption, end of line behavior, etc.
3144 * [controls/widgets.c]
3145 EDIT class doesn't want to use CS_PARENTDC flag.
3147 Thu Mar 30 20:58:25 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
3149 * [loader/selector.c]
3150 FixupFunctionPrologs() should also handle multiple data modules.
3151 (this bug only became visible because MakeProcInstance() was fixed
3155 Simplified DOS_SimplifyPath.
3156 Small fix to DOS_opendir to reuse an entry if an open directory
3157 is opened again, to prevent "too many open directories" messages.
3159 Thu Mar 30 12:05:05 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
3161 * [if1632/compobj.spec][include/compobj.h][misc/compobj.c]
3162 CoDisconnectObject: new stub function
3167 * [loader/ne_image.c]
3168 NE_FixupSegment: Be more generous on additive fixups
3170 * [if1632/user.spec][misc/network.c]
3171 Add more WNet* stubs
3173 Wed Mar 29 11:47:22 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
3175 * [controls/listbox.c]
3176 DlgDirList(): send segptr instead of linear pointer
3177 in message to static control
3179 Tried to implement ownerdrawn menuitems. Doesn't work.
3180 * [if1632/gdi.spec] [include/windows.h] [objects/font.c]
3181 Provide a stub for GetRasterizerCaps()
3182 * [loader/selector.c]
3183 Pass end address instead of length to LocalInit() in
3186 LocalInit(): If there's already a local heap in the segment, do
3187 nothing and return TRUE
3188 * [objects/linedda.c]
3189 Replaced buggy LineDDA() with a Bresenham algorithm. Should work
3191 * [windows/cursor.c]
3192 LoadCursor()/CreateCursor(): Cleaned up the mess. Needs some
3195 Tue Mar 21 17:54:43 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
3197 * [if1632/relay.c] [if1632/callback.c] [include/dlls.h]
3198 [if1632/winprocs.spec] [if1632/winprocs.c] [include/winprocs.h]
3199 [controls/widgets.c] [misc/shell.c] [misc/commdlg.c]
3200 [windows/nonclient.c] [misc/message.c]
3201 Added a new builtin DLL that provides 16 bit entry points for all
3202 the Def*Procs (DefDlgProc, ButtonProc etc.). OWL programs work
3205 RegOpenKey()/RegCreateKey() bugs fixed.
3206 * [loader/ne_image.c]
3207 Skipping the initialization of a DLL when CS == 0 was broken.
3209 ----------------------------------------------------------------------
3210 Sun Mar 19 16:30:20 1995 Alexandre Julliard (julliard@sunsite.unc.edu)
3213 Implemented a new memory mapping scheme. There's no longer a
3214 one-to-one mapping between 16-bit and 32-bit pointers. Please see
3215 file DEVELOPERS-HINTS for technical details.
3217 * [controls/scroll.c]
3218 Fixed bug when dragging mouse in horizontal scrollbars.
3220 * [tools/build.c] [if1632/*.spec]
3221 Removed support for C callback functions and for re-ordering
3222 of the 32-bit arguments, as these were never used. This should
3223 allow a more efficient callback scheme to be implemented.
3225 * [if1632/olecli.spec]
3226 Reduced the number of entries to make the 16-bit code fit in 64k.
3227 This limitation will soon be removed.
3230 Rewrote LDT manipulation functions and implemented LDT_GetEntry().
3233 Rewrote Global*() routines to use the new selector allocation
3237 Rewrote local heap handling to use a Windows-compatible layout
3238 (not really finished yet).
3239 Implemented TOOLHELP heap-walking routines.
3241 * [memory/selector.c]
3242 Implemented LDT manipulation API functions.
3244 Tue Mar 14 19:50:28 EST 1995 William Magro (wmagro@tc.cornell.edu)
3246 * [windows/defdlg.c]
3247 Fixed problem where dialogs closed using the System menu
3248 ('Close' item or double click on close box) would
3251 Sun Mar 12 14:28:13 1995 Michael Patra <micky@marie.physik.TU-Berlin.DE>
3253 * [controls/listbox.c]
3254 Removed most of the statements for sending a notification message
3255 ListBoxDirectory(), DlgDirSelect(), DlgDirList(): Improved the
3256 code; Borland's standard file open dialog will work now.
3258 * [misc/main.c], [misc/file.c], [miscemu/int21.c]
3259 Added support for new command line option "-allowreadonly". If set
3260 an attempt to open a read only file in write mode will be converted
3261 to opening it read only (many programs try to open all files in
3262 read/write mode even if they only intend to read it - this might
3263 cause a few under problems under an unix-like environment where most
3264 files are read only for a "normal" user)
3266 * [loader/selector.c]
3267 GetMemoryReference(): Added support for __AHIncr and __AHShift
3270 DOS_SimplifyPath(): This routine simplifies path names ( e.g., it
3271 will change "/usr///local/bin/../lib//a" to "/usr/local/lib/a" )
3275 TEXT_NextLine(): Removed a bug in the handling of LF's
3278 GetFileDateTime(): Fixed. SetFileDateTime() is still broken.
3280 Sat Mar 11 19:46:19 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
3283 ChangeMenu: defaults to MF_INSERT
3284 InsertMenu: allow insertion even if position is one after last item
3286 * [if1632/Imakefile] [if1632/compobj.spec] [if1632/relay.c]
3287 [if1632/storage.spec] [include/dlls.h]
3288 Added stubs for STORAGE.DLL and COMPOBJ.DLL
3290 * [if1632/user.spec] [windows/message.c]
3291 InSendMessage: new function
3293 * [include/neexe.h][include/ne_image.c]
3294 NE_FixupSegment: fixed handling of additive records
3296 * [loader/selector.c]
3297 GetEntryDLLName: return NULL instead of pointer to DLL.0 if not found
3300 win_fault: Enter debugger on SIGFPE, too
3302 Wed Mar 1 21:47:42 1995 Cameron Heide (heide@ee.ualberta.ca)
3305 Various minor modifications to the clock tick counter,
3306 FindFirst/FindNext funcs, and DPB handling.
3308 ----------------------------------------------------------------------
3309 Thu Mar 2 17:44:32 1995 Alexandre Julliard (julliard@sunsite.unc.edu)
3311 * [loader/resource.c] [objects/oembitmap.c]
3312 Removed sysres bitmap code; you need libXpm to compile now.
3313 Implemented LoadIcon() for OEM icons.
3315 * [include/bitmaps/oic_*]
3316 Added OEM icons in XPM format.
3319 Bug fix in DrawIcon().
3322 Removed; all bitmaps are stored in XPM format now.
3324 Tue Feb 28 18:54:28 1995 Tomi Leppikangas (tomilepp@paju.oulu.fi)
3327 Small patch to fix edit-control when it's created with text.
3329 Sun Feb 26 20:22:15 1995 Michael Veksler (e1678223@tochnapc2.technion.ac.il)
3331 * [tools/make_debug]
3332 The created macros won't have side effects anymore when used in
3333 an "if-else" structure. No more warnings from the compiler when
3334 compiled without defining DEBUG_RUNTIME.
3336 Sun Feb 26 20:20:49 1995 Michael Patra <micky@marie.physik.TU-Berlin.DE>
3338 * [controls/listbox.c]
3339 ListBoxDeleteString(): Fixed
3341 * [loader/selector.c]
3342 GetMemoryReference(): When special segments are referenced by
3343 pseudo-functions like __0040H, a reference to a "normal" segment
3344 will be returned preventing the program from crashing as soon
3345 as the referenced segment is actually accessed.
3347 Sun Feb 26 15:55:14 MET 1995 Martin von Loewis (loewis@informatik.hu-berlin.de)
3350 Ask for OLE stubs and malloc debugging
3353 link with libmcheck.a if necessary
3355 * [if1632/relay.c][include/dll.h][if1632/Imakefile]
3356 Add OLE stubs, increase number of builtins
3357 dll_name_table_entry_s: new field dll_is_used
3359 * [loader/library.c]
3360 GetModuleHandle,ModuleNext: Check dll_is_used
3362 * [loader/ne_image.c]
3363 Bark on unsupported NE_RADDR_LOWBYTE flag (what is it supposed
3366 * [misc/olecli.c][misc/olesvr.c]
3367 New files. Add to misc/Imakefile
3370 DOS_GetUnixFileName: make a copy of the input parameter to
3374 MAIN_ParseDLLOptions: new function
3375 MAIN_ParseOptions: treat -dll command line flag
3376 main: add support for malloc debugging
3378 Fri Feb 24 12:43:27 1995 Erik Svendsen <z3esv@kmd-ac.dk>
3381 Small patch for people using FreeBSD-2.1.0.
3383 Fri Feb 17 22:49:18 1995 Miguel de Icaza (miguel@roxanne.nuclecu.unam.mx)
3386 Added return values to the Call* routines
3388 * [toolkit/winmain.c]
3389 Load the resource file properly for WineLib applications.
3391 ----------------------------------------------------------------------
3392 Thu Feb 16 18:57:31 1995 Alexandre Julliard (julliard@sunsite.unc.edu)
3395 Only save the lower 16-bits of SP and BP.
3397 * [if1632/callback.c]
3398 When calling to 16-bit code, restore DS from its previous value on
3399 entry to the 32-bit code, instead of from the code segment owner.
3401 * [if1632/relay.c] [include/stackframe.h]
3402 Use a structure to represent the 16-bit stack frame layout
3403 instead of hard-coded offsets.
3406 Use y.tab.c for bison output file for compatibility with yacc.
3409 Small optimization for calls to 32-bit code.
3411 Sun Feb 12 03:19:47 1995 Michael Veksler (s1678223@t2.technion.ac.il)
3414 Fixed bug (inflicted by previous change) - SEGV on ZMAGIC file format.
3416 Sun Feb 11 20:00:00 1995 Göran Thyni (goran@norrsken.bildbasen.se)
3419 Remove unnecessary sym-table loading when stopped in 16-bit mode.
3421 * [include/segmem.h] [loader/selector.c]
3422 Added dynamic alloction of selectors.
3423 Fixed some problems with large programs SIGSEGV-ing while
3424 running out of selectors.
3426 * [include/segmem.h] [loader/selector.c] [if1632/callback.c]
3427 [memory/global.c] [memory/heap.c] [memory/linear.c]
3428 Use __AHSHIFT and __AHINCR instead of 3 and 8.
3430 Mon Feb 6 18:07:38 1995 Cameron Heide (heide@ee.ualberta.ca)
3433 Better relative path handling when converting filenames between
3434 dos and unix, allowing '.' to be used in the Windows path.
3435 Startup working dir is now based on current working dir.
3437 Sat Feb 4 21:21:13 1995 Michael Veksler (s1678223@t2.technion.ac.il)
3439 * [if1632/relay.c] [include/dlls.h] [tools/build.c]
3440 Squeezed data structure that references internal dll's (mostly
3441 "struct dll_table_entry_s"). Caused 20% reduction in executable
3444 Fri Feb 3 18:53:15 1995 Martin v. Loewis (loewis@marie)
3447 make wine.sym only when making emulator
3450 OpenFile(): report as not implemented for WINELIB
3453 Fix CONVERT_HOSTENT and friends for use with WINELIB
3455 * [rc/Imakefile][rc/rc.y][rc/parser.c]
3456 Rename rc.y to parser.y
3457 Use flex and bison on Sun
3460 CallWindowProc: fix parameter type
3463 Commented #ifdef sparc
3465 ----------------------------------------------------------------------
3466 Wed Feb 1 19:27:55 1995 Alexandre Julliard (julliard@lamisun.epfl.ch)
3468 * [windows/nonclient.c] [windows/winpos.c]
3469 Implemented maximized windows.
3470 Implemented icon positioning and ArrangeIconicWindows().
3471 Bug fixes in SetWindowPos().
3473 * [windows/painting.c]
3474 Implemented GetControlBrush().
3475 Window frame is no longer contained in the update region.
3478 Destroy owned windows upon DestroyWindow().
3480 Sun Jan 29 16:17:22 1995 David Metcalfe <david@prism.demon.co.uk>
3483 Changed line terminator to \r\n to be compatible with
3484 Windows. Fixed bug in text selection.
3486 Sun Jan 29 14:10:22 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
3489 Rewrote RegCreateKey and RegOpenKey, since they were completely broken.
3490 Fixed a bug in RegQueryKeyValue. Implemented RegEnumKey
3491 These functions now work somewhat more the way Windows programs expect
3494 ----------------------------------------------------------------------
3495 Sun Jan 22 18:55:33 1995 Alexandre Julliard (julliard@lamisun.epfl.ch)
3497 * [loader/resource.c] [objects/dib.c]
3498 Fixed icon loading and drawing, now that BitBlt() works correctly.
3500 * [objects/clipping.c] [objects/region.c]
3501 Implemented elliptic regions with a set of rectangle. This greatly
3502 simplifies the region code and should boost clipping performance.
3505 Fixed bug that caused seg-fault on 24bpp displays.
3507 * [objects/bitblt.c]
3508 Fixed bug when shrinking a bitmap to more than half its size.
3510 * [windows/graphics.c]
3511 Fixed bugs in PaintRgn() and Polyline().
3513 * [windows/nonclient.c] [windows/painting.c] [windows/winpos.c]
3514 Fixed some problems with window background painting.
3516 Thu Jan 12 12:20:25 PST 1995 Ross Biro (biro@yggdrasil.com)
3519 * [tools/newbuild.c]
3523 * [loader/selector.c]
3524 * [include/segmem.h]
3526 Changed selector code and 16/32 bit xfer code so that wine
3527 no longer has to be loaded low in memory. Changed wine
3528 to work with ELF binary formats under Linux.
3530 Sat Sep 17 11:08:49 1994 Eric Youngdale (eric@esp22)
3532 * [debugger/db_disasm.c]
3533 New instruction disassembler - borrowed from Mach kernel. Has a
3534 BSD style of license as opposed to the gdb code we were previously
3535 using which was under the GPL.
3537 ----------------------------------------------------------------------
3538 Mon Jan 9 18:27:11 1995 Alexandre Julliard (julliard@lamisun.epfl.ch)
3541 Compiling with -Wall flag.
3544 Fixes to minimize the number of compilation warnings.
3546 * [objects/bitblt.c]
3547 Fixed BitBlt() and used the same code to rewrite PatBlt() and
3548 StretchBlt(). The three *Blt() functions should now be correct in
3549 every case (famous last words).
3551 * [objects/brush.c] [objects/dither.c]
3552 Merged the two files into brush.c
3555 Fixed bug when the Windows programs forget to re-select the
3556 original bitmap in a memory DC.
3559 Tty to use 'fixed' font when the system font can't be found.
3561 * [windows/dialog.c]
3562 Tentative fix to make dialogs look better when using fixed-width
3565 * [windows/graphics.c]
3566 Partially implemented the PS_INSIDEFRAME pen style.
3568 * [windows/nonclient.c]
3569 Fix for windows that have the WS_EX_DLGMODALFRAME style bit
3570 without the WS_DLGFRAME style.
3572 Thu Jan 5 13:37:42 1995 Cameron Heide (heide@ee.ualberta.ca)
3575 GlobalCompact should now return the correct value when the
3576 largest run of free blocks includes the last block.
3579 Tiling and cascading windows without any MDI children should
3580 no longer crash (assuming no-op is the correct thing to do).
3582 Sun Jan 1 23:30:25 1995 Fons Botman <botman@rabo.nl>
3585 GetTextExtentPoint: fixed debug output, str is counted string, not
3589 DLLRelay: when debugging_stack got segv, added upper bound for
3592 ----------------------------------------------------------------------
3593 Tue Dec 27 13:35:16 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
3596 All objects files are now kept in their respective directory.
3601 * [objects/bitblt.c]
3602 Rewrote BitBlt() to look right in every case, while minimizing
3603 the impact on performance. Not really finished yet.
3605 * [objects/bitmap.c] [objects/dc.c]
3606 Fixed bug with pattern brushes.
3608 * [objects/clipping.c] [windows/painting.c]
3609 Fixes for logical coordinates.
3611 * [objects/color.c] [windows/graphics.c]
3612 Fixed GetPixel() to return the correct color, and made it faster.
3614 * [objects/region.c]
3615 Fixed bug in CombineRgn() when one of the region is empty.
3617 Fri Dec 22 01:42:57 MET 1994 Dag Asheim (dash@ifi.uio.no)
3620 Don't assume that expr handles '==', use '=' instead.
3621 Give a (hopefully informative) message if imake fails.
3623 ----------------------------------------------------------------------
3624 Wed Dec 7 14:52:25 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
3626 * [controls/listbox.c]
3627 Fixed problems due to new scroll-bar code.
3629 * [loader/signal.c] [miscemu/ioports.c]
3630 Handle I/O opcodes that use an absolute address.
3633 Implemented TabbedTextOut().
3635 Sat Dec 3 18:53:08 1994 Kenneth MacDonald <K.MacDonald@ed.ac.uk>
3637 * [objects/metafile.c]
3638 Implemented GetMetafile().
3639 Fixed bug in PlayMetaFile() when reading disc based metafile records.
3640 Added META_POLYPOLYGON, META_DELETEOBJECT and META_EOF to
3641 PlayMetaFileRecord().
3643 Wed Nov 30 06:32:25 1994 Martin von Loewis (martin@cs.csufresno.edu)
3646 wine.sym: Remove gcc2_compiled and friends
3648 * [controls/listbox.c][if1632/relay.c][if1632/relay.c]
3649 [loader/resource.c][memory/heap.c][objects/dib.c][windows/dialog.c]
3650 Replace #ifdef DEBUG_XXX with if(debugging_xxx){
3653 CallToLibMain: New function
3655 * [if1632/relay.c][include/options.h][misc/main.c]
3656 [miscemu/int1a.c][miscemu/int21.c][miscemu/kernel.c]
3657 removed Options.relay_debug
3660 HEAP_OWNER: Use ds instead of cs:ip
3662 * [loader/ne_image.c]
3663 LoadNEImage: Remember current exe, handle nodata dlls
3664 InitNEDLL: handle nodata dlls, call CallToLibMain
3666 * [loader/selector.c]
3667 CreateSelectors: Initialize auto_data_sel with 0
3670 HEAP_CheckHeap: Check prev
3671 HEAP_CheckLocalHeaps: new function
3674 Remember and dump only changed profiles
3677 Introduce debugging_xxx flags
3679 Sun Nov 27 23:13:22 MET 1994 <erik@xs4all.nl>
3681 * [clipboard.h color.h dc.h dos_fs.h event.h font.h graphics.h
3682 if1632.h kernel.h library.h miscemu.h ne_image.h nonclient.h
3683 pe_image.h selectors.h wintypes.h]
3687 - Commented all 'static char copyright statements', see misc/main.c
3688 - moved prototypes to headers files, fixed wrong prototypes.
3689 - *please* add a header file for each .c if you need to export
3693 Added one static string which list the names of the contributors.
3695 Fri Nov 25 16:24:27 MET 1994 Dag Asheim (dash@ifi.uio.no)
3698 Made the support for multiple languages more automatic. Added
3699 a [fonts] section to the wine.conf file. Made the defaults
3700 better. Generally cleaned it up.
3702 * [rc/sysres_No.rc] [rc/sysres_De.rc] [rc/sysres.c]
3703 Norwegian resources and small fixes to the german resources.
3705 Wed Nov 23 20:28:59 1994 Martin von Loewis (martin@cs.csufresno.edu)
3707 * [debugger/break.c]
3708 bark(), toggle_next(), should_continue(): New functions
3709 insert_break(): Fixed, adds write access to page before writing
3710 wine_bp.next_addr: new structure field
3713 Changed symbol's value to be it's value instead of the value
3714 pointed to by the symbol.
3715 Changed SIGTRAP handling to allow continuation after break point
3718 ShellAbout(): Load resource from memory
3720 ----------------------------------------------------------------------
3721 Sun Nov 20 18:30:06 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
3723 * [controls/scroll.c] [include/scroll.h]
3724 Rewritten most of scroll-bar code for better Windows look & feel.
3725 Implemented EnableScrollBar().
3726 Preliminary keyboard support.
3728 * [objects/bitblt.c]
3729 Fixed BadMatch error for BitBlt() and StretchBlt() when reading
3730 bits from outside the visible region.
3732 * [objects/oembitmap.c] [include/bitmaps/obm_*]
3733 Use XPM symbolic colors to load bitmaps. This allows the colors
3734 of the bitmaps to depend on the system colors.
3736 * [tools/make_debug]
3737 Made the make_debug script more robust.
3739 * [windows/dialog.c]
3740 Fixed CheckRadioButton().
3742 * [windows/nonclient.c]
3743 A few changes to scroll-bar drawing and tracking.
3745 * [windows/winpos.c]
3746 Renamed NextWindowFromPoint() to WINPOS_NextWindowFromPoint() to
3747 avoid confusion, and optimized it somewhat.
3749 Nov 19, 94 Martin Ayotte (wine@trgcorp.mksinfo.qc.ca)
3753 more coding but nothing spectacular.
3756 some coding to access '/dev/mixer'.
3759 some coding to read .MID files, but it's not playing yet.
3761 Sun Nov 13 19:31:03 1994 James Youngman (mbcstjy@afs.man.ac.uk)
3764 Reimplemented DIB_SetImageBits_RLE8() so that it would cope with
3765 bitmaps which don't end 0x00, 0x02 (previously it blew up). This
3766 includes some bitmaps output by Paint Shop Pro. Implementation is
3767 possibly now too lax. Please see the notes on the function about
3770 * [controls/desktop.c]
3771 The desktop pattern should be painted if the wallpaper doesn't
3772 cover the whole screen width OR the whole screen height.
3774 Sun Nov 13 00:07:11 MET 1994 Erik Bos <erik@xs4all.nl>
3777 Small bug in DIB_SetImageBits() fixed, bitmaps in 16,24 bpp
3780 * [loader/ne_resource.c] [include/resource.h]
3783 Thu Nov 10 20:44:58 1994 Martin von Loewis (martin@cs.csufresno.edu)
3787 Primitive compile-time support for multiple languages
3792 * [loader/resource.c]
3793 LoadBitmap: Recognize end of sysresbm properly
3796 Rules to compile resources simplified, dependencies changed
3799 Don't use sysresbm if using XPM
3801 * [windows/dialog.c]
3802 CreateDialogIndirectParam: Reverse Z-order of controls
3804 * [windows/message.c]
3805 MSG_TranslateMouseMsg: Fix HTTRANSPARENT handling
3807 * [windows/winpos.c]
3808 NextWindowFromPoint: New function
3810 * [controls/button.c]
3811 WM_NCHITTEST: Group Box is HTTRANSPARENT
3812 BUTTON_CheckAutoRadioButton: New function
3813 BM_SETCHECK: Added call to BUTTON_CheckAutoRadioButton
3815 Mon Nov 7 11:20:26 1994 Paul Falstad (pf@zoof.cts.com)
3818 Fix hang when using DrawText(..., DT_WORDBREAK) with a word that
3819 is too long to break.
3822 Don't assume helvetica if there is no font family; let the other
3823 font attributes decide what font to use.
3825 * [controls/widgets.c]
3826 Listboxes and combo boxes need to be notified of double-clicks.
3828 * [controls/listbox.c]
3831 scrolling to bottom of list box should display last item at the
3832 bottom, not at the top.
3834 list boxes need to allocate a separate heap for their item data,
3835 rather than using the user heap. Otherwise, it's very easy to run
3836 out of memory for list box items.
3838 removed redundant code in ListBoxAddString(). Implemented simple
3839 version of LBS_SORT.
3841 Don't put [.] in the list box when using DDL_DIRECTORY.
3843 * [controls/combo.c]
3844 Combos should pass CBS_SORT onto their list box.
3847 If window creation is aborted, remove the window from the
3850 * [controls/static.c]
3851 static controls with SS_ICON were always returning 0 from
3854 Make sure static controls have text to draw before drawing it.
3856 ----------------------------------------------------------------------
3857 Sun Nov 6 18:52:04 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
3859 * [objects/oembitmap.c] (New file)
3860 Added possibility to use .xpm files for OEM bitmaps.
3862 * [include/bitmaps/obm*] (New files)
3863 Redrawn all OEM bitmaps in xpm format.
3866 Add space for internal leading when using a negative font height.
3867 Stubs for AddFontResource() and RemoveFontResource().
3868 Fix in FONT_Init() for uninitialised default font.
3870 * [windows/dialog.c]
3871 Make font height negative as it is really a point size and not a
3872 pixel size; dialogs using 8-point fonts look better now.
3874 * [windows/graphics.c]
3875 Fixed the fix :-) for Pie() to make it work for Arc() and Chord() also.
3877 * [windows/nonclient.c]
3878 A few changes for new OEM bitmaps.
3880 Sun Nov 6 18:22:18 1994 Michael Patra <micky@marie.physik.tu-berlin.de>
3883 The names of local classes have to be stored using GlobalAtom*.
3884 Otherwise they couldn't be accessed from other modules (e.g. BWCC)
3887 CallTo16(cx): It's possible to set the contents of the cx-register.
3889 * [loader/ne_image.c]
3890 InitNEDLL(): The size of the local heap is now passed in the cx-
3891 register when initializing a DLL.
3894 LocalInit(): The case start==0 is now handled in the way it should.
3897 GetWindowLong(): If the adress of the windows function is requested
3898 it's no longer returned if it's within the Wine code (and therefore
3899 unreachable by a windows program). This makes Borland's OWL happy.
3902 EDIT_GetStr(): Added handling for off<0.
3904 Sun Nov 6 17:37:14 1994 Chris Jones <chrisj@ichips.intel.com>
3906 * [loader/library.c]
3907 Fixed infinite loop bug when two DLLs refer to each other (fixes
3908 hangup of Quicken during loading).
3910 Thu Nov 04 12:00:00 1994 Jan Willamowius (jan@janhh.sh.sub.de)
3913 Bug fix: The size of a disk an the available space
3914 is now returned in bytes instead of (incorrectly)
3917 Thu Nov 03 12:00:00 1994 Jan Willamowius (jan@janhh.sh.sub.de)
3919 * [windows/graphics.c]
3920 Bug fix: Pie segments are now filled with correct brush.
3922 Thu Nov 3 10:40:09 1994 Martin von Loewis (martin@cs.csufresno.edu)
3925 generate rc.o before loader.o
3928 CopySysMenu: generate SYSMENU on the fly, eliminate hSysMenu
3930 * [include/resource.h]
3931 Add struct ResourceTable
3934 Load system bitmaps from sysresbmTable
3936 * [misc/clipboard.c]
3938 IsClipboardFormatAvailable,EVENT_SelectionRequest: bug fixes
3941 generate rc.o from sysres.o and sysresbm.o. Added -lfl
3944 change style handling to allow ( S1 | S2 ) | S3
3948 Put bitmaps and icons to sysresbm, everything else to sysres
3952 Added -o, -c flags. New function set_out_file. Output to files.
3954 * [windows/dialog.c]
3955 DialogBoxIndirectPtr, DialogBoxIndirectParamPtr: New functions
3957 * [windows/nonclient.c]
3958 Create AboutWine dialog from template pointer
3960 ----------------------------------------------------------------------
3961 Sun Oct 30 13:01:18 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
3963 * [controls/static.c]
3964 Bug fix for SS_ICON controls.
3966 * [if1632/Imakefile]
3967 Fixed call.o dependencies.
3969 * [objects/clipping.c] [objects/dc.c]
3970 Fixed visible region handling. hVisRgn is always non-null now.
3973 Bug fix in GetDCEx for CS_OWNDC windows.
3975 * [windows/nonclient.c] [windows/painting.c]
3976 Fixes to icon window drawing.
3978 * [windows/winpos.c]
3979 A few fixes in SetWindowPos().
3981 Sun Oct 30 12:50:24 1994 Michael Patra <micky@marie.physik.tu-berlin.de>
3983 * [objects/bitblt.c]
3984 BitBlt(): BitBlt is now able to handle any raster operation. If
3985 the request can't be passed to XWindows directly, it's quite
3990 Improvements of the system for handling debug messages. Options are
3991 now also loaded from /usr/lib/X11/app-defaults/Wine (insert
3992 *debugoptions: +xxx there if you want to have turn messages xxx on).
3995 DestroyMenu(): The whole window won't be destroyed as a sideeffect
3999 OpenFile(): Fixed bug in searching in system/window-directory.
4001 Sun Oct 30 12:25:53 1994 Jimmy Tirtawangsa <j0t2527@tam2000.tamu.edu>
4003 * [include/windows.h]
4004 Bug fix for window related structures.
4005 DCB and COMSTAT are affected. They must be packed.
4008 Bug fix for COM ports:
4009 Dial and dialog window in terminal.exe now works.
4010 Non sequential COM assignments in wine.conf should not break now.
4011 Baudrate can be specified in wine.conf to overcome baudrate limitation
4012 in mswindow. See sample wine.ini
4015 add baudrate field to DosDeviceStructre
4018 Bug fix for font assignment.
4019 Use pairs of foundry and family fontnames in X11 to correspond with
4021 Put font assignment ini wine.ini.
4024 Adding optional baudrate after port name in "serialports" section
4025 Add new section, "fonts".
4026 "default" is special key in "fonts" to match any unmatch window font.
4028 Oct 29, 94 (new address) wine@trgcorp.mksinfo.qc.ca (Martin Ayotte)
4031 * [if1632/commdlg.spec] New file.
4032 * [misc/commdlg.c] New file.
4033 * [include/commdlg.h] New file.
4034 Begin of an emulated COMMDLG DLL, built-in for now.
4035 (BTW, if you want to switch between built-in & 16bits CommDlg, only
4036 thing you need to do is to put the real/dummy name in file relay.c)
4038 * [controls/scroll.c]
4039 * [controls/combo.c]
4040 * [controls/listbox.c]
4041 Few bug fixes and/or cosmetic.
4045 bug fixes and flags returned to emulate SB16.
4047 * [misc/midi.c] New file.
4048 skeleton for 'Midi' MMSYSTEM & MCI driver.
4050 * [misc/mcianim.c] New file.
4051 skeleton for 'Animation1' MCI driver.
4054 Add new stub for GetLastActiveWindow().
4056 Tue Oct 25 09:17:25 1994 Olaf Flebbe (flebbe@tat.physik.uni-tuebingen.de)
4058 * [if1632/call.S] [tools/build.c]
4059 Support for ELF format. (Not complete)
4061 Sun Oct 23 00:51:50 1994 Paul Falstad (pf@zoof)
4063 * [if1632/user.spec]
4064 Add stubs for ArrangeIconicWindows(), etc.
4066 * [if1632/kernel.spec]
4067 Add IsBad*Ptr() functions.
4070 Add test_memory(), for use with IsBad*Ptr().
4072 * [windows/winpos.c]
4073 Add stubs for TileChildWindows(), etc.
4076 IsWindow() shouldn't crash if it's given a bad handle.
4077 Add stub for GetLastActivePopup().
4080 Implement the IsBad*Ptr() functions.
4082 * [controls/listbox.c]
4083 Return the full longword of the item data in LB_GETITEMDATA.
4086 Don't let the user select an area past the end of the text.
4089 In DrawText(), the code to delete crlfs also removed multiple
4090 consecutive newlines. Also, using DT_CALCRECT didn't return
4091 the right height, and the width wasn't returned at all.
4092 This caused MessageBoxes to be missing much of their text.
4094 * [windows/scroll.c]
4095 ScrollWindow[Ex] didn't work right with null LPRECT arguments.
4097 Fri Oct 21 21:47:19 1994 Paul Falstad (pf@zoof.cts.com)
4100 Fixed int21 0x42 handler to properly assemble 32-bit seek ptr.
4103 Fixed inverted logic in EnumProps(), and changed CallBack16()
4104 call to use new arg format.
4107 Fixed CallBack16() call in Enum[Child]Windows to use new arg
4108 format; this fixes crashes in enum procedures.
4110 Wed Oct 19 21:30:00 PDT 1994 martin@cs.csufresno.edu
4112 * [misc/clipboard.c]
4115 Added cut and paste between Wine and other X clients via
4116 the PRIMARY selection. Text only this time.
4119 EDIT_LineLength, EDIT_TextLine return 0 for lines after last one.
4121 * [windows/defwnd.c]
4122 Send WM_SYSCOMMAND to overlapped ancestor window,
4123 not the receiver of WM_SYSKEYDOWN
4125 Sat Oct 22 15:01:02 1994 Thomas Sandford <t.d.g.sandford@bradford.ac.uk>
4128 ClientWidth()/ClientHeight() macros: return 0 if size would
4130 EDIT_StrLength(): takes unsigned char* instead of char*
4132 * [controls/listbox.c]
4133 ListBoxWndProc(): in "case WM_MOUSEMOVE" - set lphl at start of
4134 case instead of in each place required (it was omitted in
4135 some places causing problems!)
4138 MENU_CalcItemSize(): don't try to find size of a text item
4139 if the pointer is NULL
4142 added definition of HEAP_LocalInit()
4145 removed buggy pointer() macro (use SAFEMAKEPTR() from segmem.h
4148 * [loader/selector.c]
4149 IPCCopySelector(): added missing flags to shmget() call
4150 ? does this break linux - I added these flags in a previous
4151 patch but they were missing in the corresponding release ?
4154 win_fault(): added missing definitions of i, dump for those
4155 not running NetBSD or linux
4158 DOS_GetCurrentDir(): made temp[] static so it can be safely
4161 * [miscemu/int21.c,int25.c,int26.c]
4162 Changed all invocations of pointer() to SAFEMAKEPTR(). Included
4163 segmem.h where necessary.
4165 * [windows/dialog.c]
4166 CreateDialogIndirectParam(): Changed HEAP_Init() call to
4167 HEAP_LocalInit(), removed redundant variables
4169 Sat Oct 22 00:29:41 MET 1994 Dag Asheim (dash@ifi.uio.no)
4171 * [loader/library.c] [loader/main.c] [loader/ne_image.c]
4172 [misc/exec.c] [miscemu/int10.c] [miscemu/int21.c]
4173 [objects/bitblt.c] [objects/metafile.c]
4174 Rewritten more printf's to use the new debugging system, and
4175 made wine less verbose per default. Use "-debugmsg +module"
4176 to get (almost) the same behavior as before.
4178 ----------------------------------------------------------------------
4179 Sun Oct 16 13:29:07 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
4181 * [controls/button.c]
4182 Implemented WM_GETDLGCODE, WM_SETFONT, BM_SETSTYLE, BM_SETCHECK,
4184 Implemented default button painting.
4185 Optimised redrawing.
4186 Fixed owner-draw buttons.
4188 * [controls/static.c]
4189 Implemented WM_SETFONT.
4190 A few optimisations in painting code.
4191 Bug fix for SS_SIMPLE controls.
4193 * [if1632/callback.c]
4194 Preliminary GetCodeHandle().
4197 Changed 'pascal' to 'pascal16' everywhere it's needed.
4199 * [include/windows.h]
4200 Fixed a few data structures.
4203 Bug fix in HEAP_ReAlloc().
4208 * [objects/bitblt.c]
4209 Fixed PatBlt() when using BLACKNESS or WHITENESS codes.
4212 Better font mapping code.
4213 Implemented GetTextFace().
4215 * [objects/region.c]
4216 Bug fix in REGION_MakePixmap().
4217 Faster region copying.
4220 Implemented ExtTextOut().
4221 Implemented DT_NOCLIP style for DrawText().
4224 Free the bitmap when deleting a memory DC.
4227 Added support for windows that have no associated X window.
4228 Implemented DCX_CLIPSIBLINGS and DCX_PARENTCLIP in GetDCEx().
4230 * [windows/defdlg.c]
4231 Implemented default push button handling and DM_SETDEFID.
4232 Implemented WM_NEXTDLGCTL.
4234 * [windows/dialog.c]
4235 Implemented default push button handling.
4236 Beginning of a keyboard interface in dialogs
4237 (does not really work yet).
4238 Fixed dialogs that use a special font.
4240 * [windows/event.c] [windows/focus.c]
4241 Added support for non-X windows.
4243 * [windows/graphics.c]
4244 Rewritten FloodFill() and implemented ExtFloodFill().
4246 * [windows/message.c]
4247 Cleaner hardware messages and X events handling.
4249 * [windows/defwnd.c] [windows/painting.c]
4250 Implemented WM_SETREDRAW.
4253 Only create an X window for top-level windows, or for the desktop.
4254 Child windows now use their parent's drawable.
4256 * [windows/winpos.c]
4257 Beginning of support for non-X windows (still somewhat broken).
4258 Implemented *DeferWindowPos().
4261 Cleaned up some Imakefiles.
4262 Moved dc.c from windows/ to objects/.
4263 Moved cursor.c from misc/ to windows/.
4265 Sun Oct 16 12:21:52 1994 Michael Patra <micky@marie.physik.tu-berlin.d400.de>
4268 [include/stddebug.h]
4270 Rewritten all the calls to printf for displaying debug-information
4271 (messages like "LoadImage: loading SOL (SOL.EXE)" etc.)
4272 Added option "-debugmsg" to Wine. Example: "-debugmsg +all" will turn
4273 all these messages on, "-debugmsg -dll" will turn all messages
4274 concerning DLLs off.
4276 * [controls/combo.c]
4277 Added some handling for combo controls with ownerdraw-styles
4278 (just creating and passing the necessary messages to the
4279 corresponding listbox control; the edit-control needs to be
4280 replaced with something else).
4284 Added support for use of global heap memory in dialogs with
4287 * [controls/listbox.c]
4288 Added support for item data.
4289 ListBoxInsertString(): Fixed bug for elements which are not inserted
4290 after the currently last element.
4294 DOS_ValidDirectory(): Checks whether a given string is in fact the
4295 valid name of a directory.
4297 Sat Oct 15 17:35:00 PDT 1994 <martin@cs.csufresno.edu>
4300 generate wine.sym after creating wine
4303 load "wine.sym" when entering debugger
4306 symbolic backtrace for 32-bit stack. Breaks 16-bit bt.
4308 Sun Sep 25 12:00:00 PDT 1994 <martin@osiris.cs.csufresno.edu>
4310 * [rc/rc.y] [rc/rc.h] [rc/rc.l] [rc/winerc.c]
4313 Sun Sep 18 11:04:45 MET DST 1994 Dag Asheim (dash@ifi.uio.no)
4316 Exclude and Include no longer requires a terminating ';' to
4317 register the last component.
4319 Thu Sep 15 23:10:09 MET DST 1994 Dag Asheim (dash@ifi.uio.no)
4322 Rewrote much of it. Added capability to generate a wine.ini
4323 file. Commented out the processor emulator options until that
4324 becomes interesting. Gives a warning if it sees any *.rej
4325 files. I hope I haven't assumed to much about the shell/OS so
4326 that it breaks under *BSD.
4329 Removed/changed calls to ToUnix() (which calls tolower()) so
4330 that the part of the pathname which correspond with the drive
4331 letter on DOS no longer will be mapped to lowercase. This
4332 means that it should be possible to have uppercase letters in
4333 the [drives] section of wine.ini.
4336 Cosmetic changes so that it displays better in the window you
4337 get from pressing "Credit_License" in the "About WINE" window.
4339 Sun Aug 21 21:12:06 MET DST 1994 <erik@xs4all.nl>
4342 LoadMenu() moved to loader/resource.c.
4345 Added stub for FileCDR().
4348 Added, from Eric's pe-test.
4350 * [include/resource.h]
4353 * [loader/resources.c]
4354 Removed duplicated code in *Resource() functions.
4355 Moved NE-program specific functions into ne_image.c.
4356 Moved NE-fileformat functions to ne_resource.c.
4358 * [pe_image.c] [pe_resource.c]
4359 Added. Nothing implemented to run PE-executables, resource
4363 Changed OpenFile() to use macros.
4366 Added NULL-ptr checks to ShellAbout().
4371 * [miscemu/kernel.c]
4372 Added _DI = _DS, to put the caller's instance in DI. Doesn't
4373 work properly if caller changed DS :-(
4375 ----------------------------------------------------------------------
4376 Thu Aug 25 15:24:36 EDT 1994 <jrichard@cs.uml.edu>
4379 Removed seperate X window for icon, added icon width,height.
4381 * [include/windows.h]
4382 Commented out the old SW_xxx emum and added defines since
4383 they aren't enumerated.
4386 Removed some older IsIconic checks from GetDCEx(), functionality
4387 is now in nonclient and generic wine window handling code.
4388 Lots of thanks to Alexandre Julliard all the hints and
4391 * [windows/defwnd.c]
4392 Removed call to NC_HandleNCPaintIcon() under case WM_PAINTICON,
4393 WM_PAINTICON now calls NC_HandleNCPaint.
4396 Removed IsIconic checks.
4399 Removed everything in this file for now... could be used later.
4400 Icon functionality is now handled by the generic wine windows
4404 Added a ShowWindow in MDIRestoreChild(). MDI child windows now
4405 show up when deiconified. Removed IsIconic checks.
4407 * [windows/message.c]
4408 Removed old icon routines from hardware_event().
4410 * [windows/nonclient.c]
4411 Changed NC_HandleNCCalcSize() so it doesn't change the size
4412 of an icon window. Made NC_InternalNCHitTest() on an Iconic
4413 window always return HTCAPTION. Made NC_HandleNCLButtonDblClk()
4414 on an Iconic window always send a SC_RESTORE message.
4416 * [windows/painting.c]
4417 Changed RedrawWindow() so it doesn't redraw an iconic window
4418 unless it has to (no icon for this class).
4421 Removed creation of seperate icon window from CreateWindowEx().
4423 * [windows/winpos.c]
4424 Added saving and restoring of window rectangle during
4425 iconification/deiconification to ShowWindow(). Added
4426 functions to recursively hide and show children... called
4427 by ShowWindow during iconification/deiconification.
4429 Sat, 27 Aug 1994 18:47:34 +0100 (MET DST) micky@marie.physik.tu-berlin.de (Michael Patra)
4431 * [windows/message.c]
4432 WaitMessage(): Fixed handling of wm_timer-messages
4435 FindNextFCB(): Rewritten to support other functions than just
4436 returning the volume label
4439 OpenFile(): Fix in handling of OF_CREATE
4441 Wed Aug 24 19:40:42 PDT 1994 Andrew Lagodzinski (andrew@netcom.com)
4443 * [if1632/user.spec]
4449 Fri Aug 19 16:37:00 1994 Thomas Sandford <t.d.g.sandford@bradford.ac.uk>
4451 * [loader/selector.c]
4452 Many changes throughout file to correct handling of shared memory
4453 function return codes. FreeBSD and SunOS shm functions return
4454 -1 not 0 on error. If Linux is different, these changes
4455 will have to be backed out.
4456 CleanupSelectors(): this is a new (internal) call to free
4457 up all selectors (and shm handles/memory) for use on exit.
4459 * [include/segmem.h]
4460 Change comment to reflect new use of shm_key
4463 called_at_exit(): add call to CleanupSelectors()
4465 Mon Aug 22 18:19:25 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
4467 * [controls/button.c]
4468 Use OBM_CHECKBOXES to draw check boxes with correct colors.
4469 Fixed bug with WM_SETTEXT handling.
4470 A few drawing optimisations.
4473 Implemented correct \t and \a handling in menu items.
4474 Implemented help items (flush right) on menu bar.
4475 Added WM_ENTERMENULOOP and WM_EXITMENULOOP messages.
4477 * [controls/static.c]
4478 Fixed SS_ICON controls and implemented STM_SETICON message
4481 * [controls/widget.c]
4482 Set cursor to IDC_ARROW for built-in classes.
4484 * [include/options.h] [misc/main.c]
4485 Backing store is now off by default.
4487 * [objects/region.c]
4488 Use X regions for rectangle and polygon regions: *major* speed
4491 * [windows/dialog.c]
4492 Fixed the fix for integer ids in controls. SS_ICON controls in
4493 dialogs should work now.
4494 Implemented DS_ABSALIGN style.
4496 * [windows/graphics.c]
4497 Implemented InvertRgn().
4498 New internal function GRAPH_DrawBitmap() to draw bitmaps faster
4499 than with CreateCompatibleDC() + BitBlt().
4501 * [windows/message.c]
4502 Determining the window for a mouse message is now done at
4504 Modified PeekMessage() handling to avoid needlessly flushing the
4508 Check for restart of a timer (SetTimer call with the same hwnd and
4509 id than an existing timer).
4511 ----------------------------------------------------------------------
4512 Tue Aug 9 23:58:29 MET DST 1994 <erik@hacktic.nl>
4515 OpenFile(): Completly rewritten.
4518 CreateFile(): Fixed wrong mode in call to open.
4519 OpenExistingFile(): Implemented file sharing.
4521 CreateNewFile(): Fixed wrong mode in call to open.
4522 fLock(): Added to handle record locking.
4523 GetFileAttribute(): Added.
4524 As a result, AH = 0x5c, 0x09, and 0x0b were changed.
4527 AH = 0x10: SHARE installation check
4529 * [loader/resource.c]
4530 AccessResource(): Fixed. A new file descriptor will be returned by
4531 every call to AccessResource().
4533 * [windows/utility.c]
4537 FindMenuItem(): Fixed (handling for nPos == -1 added).
4540 CreateWindowEx(): Added call to WINPOS_GetMinMaxInfo.
4543 Added two options for a processor emulator that might be
4546 * [loader/task.c] [include/toolhelp.h] [if1632/toolhelp.spec]
4547 CreateNewTask() stores real modulename instead of 'TASKxxxx'.
4548 Added TaskFirst(), TaskNext(), TaskFindHandle().
4551 Added stub for MemManInfo().
4554 Added stub for GetTabbedTextExt().
4557 Changed all references to registers. Please don't access
4558 the context structure.
4559 fix for GetSystemTime() by <jspeter@birch.ee.vt.edu> added.
4562 Fixed bug in AnsiUpper() & AnsiLower().
4564 * [misc/winsocket.c]
4565 bugfix in getsockopt()/setsockopt(): winsock uses different values
4569 Added DIB_SetImageBits_RLE[48] to support compressed bitmaps.
4571 Mon Aug 8 21:12:33 1994 David Metcalfe <david@prism.demon.co.uk>
4574 Added support for WM_COPY, WM_CUT and WM_PASTE messages.
4576 * [windows/dialog.c] [windows/defdlg.c] [include/dialog.h]
4577 Modified dialog code to create new heap for edit controls
4578 unless DS_LOCALEDIT style is set.
4580 Thu Aug 4 18:50:56 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
4582 * [controls/button.c] [controls/edit.c] [controls/static.c]
4583 Removed unneeded GlobalUnlock() calls.
4585 * [controls/menu.c] [include/menu.h]
4586 Lots of changes, fixed a lot of old bugs and introduced a lot of
4588 - Changed message loop to use MSG_GetInternalMessage().
4589 - Fixed a bug that caused the main window to lose activation when
4591 - Correctly send initialisation messages (WM_INITMENUPOPUP).
4592 - Implemented EndMenu() and LookupMenuHandle().
4593 - Changed internal structures to be as compatible as possible with
4595 - Allocated everything on the USER heap instead of the global heap.
4596 - Prefixed all internal function names with MENU_ and declared
4598 - Moved "About Wine..." handling to NC_HandleSysCommand().
4599 - Multi-line menus should now work correctly.
4601 * [loader/resource.c] [objects/bitmap.c]
4602 Added the possibility to create OEM bitmaps directly as X bitmaps.
4604 * [objects/dcvalues.c] [windows/dc.c]
4605 Fixed GetDCOrg() to return screen coordinates.
4607 * [windows/message.c]
4608 Fixed double-click checks when the message is not removed from the
4610 Fixed MSG_GetInternalMessage() to send WM_ENTERIDLE messages.
4612 * [windows/nonclient.c]
4613 Bug fix in system menu hit-test calculation.
4614 A few changes for new menu functions.
4616 Thu Aug 11 17:51:02 1994 Thomas Sandford <t.d.g.sandford@bradford.ac.uk>
4619 Bug fix in Edit_NCCreateMessage
4620 es->textlen was being used before being set
4623 Bug fix in MENU_DrawMenuItem
4624 don't try to write text if NULL pointer passed
4626 ----------------------------------------------------------------------
4627 Thu Aug 4 07:18:02 1994 Michael Patra <micky@marie.physik.tu-berlin.de>
4629 * [windows/message.c]
4630 Implemented WaitMessage() (USER.112).
4632 * [if1632/user.spec]
4635 * [windows/defwnd.c]
4636 WM_ERASEBKGND: Added support for hbrBackground=COLOR_xxx.
4638 * [miscemu/int{13,21,2a}.c]
4639 * [miscemu/Imakefile]
4641 Added a few basic disk information and diagnostic functions to
4642 prevent programs using this function from crashing. All drives
4643 are claimed to be remote ones, so direct I/O isn't allowed.
4646 EDIT_WriteText(): Added code to correctly erase the remaining space
4647 of the edit-control if the size of the control has changed sinced it's
4650 Tue Jul 26 22:05:54 MET DST 1994 Erik Bos <erik@hacktic.nl>
4652 * [if1632/mouse.spec]
4653 Added mouse.dll entry, no functions.
4655 * [loader/resource.c]
4656 Bug fix in AccessResource().
4658 * [misc/keyboard.c], added [include/keyboard.h]
4659 Changed functions to return more useful values.
4661 * [windows/dialog.c]
4662 Hacked DIALOG_GetControl() to support resources which
4663 have 0xff00 - 0xffff as id. ** Needs to be done properly by
4664 someone who knows the NE fileformat **
4666 Jul 29, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
4669 Add new stub for EnableHGardwareInput() function.
4671 * [windows/message.c]
4672 Add coding for HWND_BROADCAST in PostMessage().
4675 Add coding for OpenFile() also search in WindowPaths.
4681 Change #include "linux/soundcard.h" by #include "sys/soundcard.h"
4682 Add coding in MMIO functions. Now, mmioDescend() can find WAV chunks.
4683 SndPlaySound & MCI_ELEMENT now use MMIO and adjust to proper formats.
4684 ----------------------------------------------------------------------
4685 Mon Jul 18 23:55:13 MET DST 1994
4688 CallTo16(): added `mov %eax,%edx' just before lcall,
4689 to make sure that DX contain the DLL's hinstance when
4692 CallTo32_16() added, equal to CallTo32() except for
4693 one thing: it saves DX and
4696 Added some code to support 16 and 32 bit return values.
4698 * [1632/{kernel,user}.spec]
4699 Changed most of the `pascal' style to pascal_16 when
4700 function returned a 16bit value.
4702 Tue Jul 19 18:40:25 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
4705 Reorganized sizing and drawing code to implement multi-line menus.
4706 Implemented MENUBREAK style.
4707 Use system colors to draw menus.
4710 Bug fix in COLOR_IsSolid().
4713 Bug fix in FONT_GetMetrics(): calculate average character width
4714 only on existing chars (dialogs look much better).
4717 Bug fix in DrawText(): use text color to underline mnemonic.
4719 * [windows/nonclient.c]
4720 Changed WM_NCHITTEST handling to cope with multi-line menu bars.
4722 * [windows/syscolor.c]
4723 Added system objects for menu colors.
4725 Mon Jul 18 19:32:08 PDT 1994 Andrew Lagodzinski (andrew@netcom.com)
4728 Fixed bug in SelectPrevItem that caused seperators to not be
4729 skipped when using the up arrow key.
4731 ----------------------------------------------------------------------
4732 Thu Jul 14 17:50:45 1994 Bob Amstadt (bob@pooh)
4735 Autodetects Linux version (if running Linux).
4738 New signals for Linux.
4741 New structure field in sys call.
4743 Sun Jul 10 19:31:34 1994 Olaf Flebbe (olaf@dragon)
4746 fixed Memory (Resource) Leak.
4751 Tue Jul 12 18:50:34 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
4753 * [controls/desktop.c]
4754 Implemented desktop wallpaper (only 16 colors for now).
4756 * [controls/menu.c] [windows/nonclient.c]
4757 Preliminary work to allow multi-line menus.
4760 No backing store on desktop window (not useful).
4763 A few fixes to DrawText() to make underlines under mnemonic
4764 letters to look better.
4766 * [windows/graphics.c]
4767 More fixes to GRAPH_DrawArc(), and some fixes to Polygon().
4768 Implemented PolyPolygon() (partially working).
4770 * [windows/winpos.c]
4771 New function WINPOS_SendNCCalcSize().
4772 Cleaned up SetWindowPos() and added preliminary support for
4775 Mon Jul 11 19:15:51 1994 Miguel de Icaza (miguel@sphinx)
4778 Changes to work as a library.
4780 * [if1632/callback.c]
4784 Changes to allow linking with WineLib.
4786 * [include/windows.h]
4787 Added macro WINELIB_UNIMP
4789 * [loader/library.c]
4790 When compiling WineLib, GetProcAddress is not implemented yet.
4793 Added empty InitDLL when using WineLib.
4795 * [loader/ne_image.c]
4796 Some parts of the loader are needed for WineLib, ifdefed correctly
4798 * [misc/{audio.c,mcicda.c,mmaux.c,mmsystem.c]
4799 Disable compilation of module when compiling WineLib.
4802 Fixed small bug. When passed an invalid handle WineLib would
4803 crash, now return NULL.
4805 * [toolkit/winmain.c]
4806 Call CreateNewTask in _WinMain.
4808 Sun Jul 10 09:08:02 1994 David Metcalfe <david@prism.demon.co.uk>
4810 * [controls/edit.c] [controls/widget.c]
4811 More changes to improve compatibility with Windows' edit
4812 control. Finished off tab stop support.
4814 Mon Jul 11 21:05:02 MET DST 1994 Erik Bos <erik@hacktic.nl>
4817 # of ordinals in shell.dll changed to 103.
4820 sti, cli will now be ignored.
4823 Added stub for GetSysColorBrush().
4825 ----------------------------------------------------------------------
4826 Sun, 3 Jul 1994 20:15:56 +0100 (BST) David Metcalfe <david@prism.demon.co.uk>
4829 Bug fixes and tidying up. Preliminary tab stop support
4832 * [windows/dialog.c]
4833 Reversed order of buttons in CheckRadioButtons so that all
4834 buttons are now displayed.
4836 Tue Jul 5 18:30:24 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
4838 * [include/options.h] [misc/main.c] [windows/win.c]
4839 Removed nosaveunders option, replaced by handling
4840 the CS_SAVEBITS flag.
4843 Modified the fix for negative size in class extra bytes to
4844 avoid modifying the caller's data.
4847 Bug fix: system font must be a proportional font.
4848 Fixed a bug that caused the default pen to not be selected
4851 * [windows/graphics.c]
4852 Bug fix in GRAPH_DrawArc(). Thanks to Adriano Azevedo for
4855 * [windows/painting.c]
4856 Removed incorrect selecting of default objects in BeginPaint()
4857 (no longer needed because of the fix in dc.c).
4859 Jul 4, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
4863 Add more code to interface '/dev/dsp'.
4865 * New file [misc/mcicda.c]
4866 Create an MCI_DEVTYPE_CD_AUDIO driver connected to '/dev/sbpcd'.
4868 * New file [misc/mmaux.c]
4869 Stubs to make a future driver connected to '/dev/mixer'.
4872 Temporary patch to CreateWindowEx() for reseting negative
4873 coordinates to 0,0 ; because 'soundrec.exe' give negative values
4874 and I need it to work on MMSYSTEM ... :-)
4877 add a stub 'do_int2f_16' (function 0x16) for DMPI server.
4879 Mon Jun 20 10:08:40 BST 1994 William Smith (wos@dcs.warwick.ac.uk)
4882 New file -- some definitions that were in comm.c now need to
4883 be shared with misc/dos_fs.c
4886 Some definitions moved into include/comm.h
4888 * misc/dos_fs.c (DOS_GetEquipment):
4889 Fixed error in equipment -- bitwise or of two values should
4890 be used instead of logical or. Also added code to correctly
4891 report the number of serial and parallel devices.
4893 ----------------------------------------------------------------------
4894 Mon Jun 20 14:26:41 1994 Bob Amstadt (bob@pooh)
4896 * [objects/bitmap.c]
4897 Allow negative bitmap sizes.
4899 Sun Jun 19 12:00:04 1994 David Metcalfe <david@prism.demon.co.uk>
4902 Improved selection display. Added processing for WM_SETFONT,
4903 EM_REPLACESEL, EM_LINELENGTH, EM_UNDO, EM_EMPTYUNDOBUFFER,
4904 EM_GETHANDLE, EM_SETHANDLE messages. Text buffer now stored on
4905 application's local heap.
4907 * [windows/graphics.c]
4908 Corrected bug in Rectangle(). XFillRectangle has the same
4909 width as Rectangle, but XDrawRectangle is one pixel wider
4910 for the same co-ordinates.
4912 * [memory/heap.c] [include/heap.h]
4913 Added HEAP_LocalSize function.
4915 * [windows/event.c] [windows/keyboard.c]
4916 Improvements to KeyStateTable and addition of AsyncKeyStateTable.
4917 Added supporting code to GetKeyState and GetAsyncKeyState and
4918 merged mouse button states into GetKeyboardState.
4920 * [loader/resource.c] [include/accel.h]
4921 Added recognition of SHIFT, CONTROL and ALT keys to
4922 TranslateAccelerator.
4924 * [objects/metafile.c] [objects/font.c] [objects/bitblt.c]
4925 A bit more metafile support.
4927 Sun Jun 19 17:29:00 MET DST 1994 Erik Bos (erik@hacktic.nl)
4929 * [loader/resource.c]
4930 SizeofResource() and AllocResource() added, AccessResource() updated.
4932 * [if1632/kernel.spec]
4933 FreeLibrary() used for FreeModule().
4935 * [windows/graphics.c]
4936 Rectangle(): swap left & right corners when right < left,
4937 swap top & bottom when botton < top.
4939 Jun 19, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
4941 * [controls/combo.c]
4942 Fix bug in window style of the associated listbox.
4945 Skip separators in keyboard navigation by using new internal
4946 functions SelectPrevItem() & SelectNextItem(),
4949 Bug fix in GetPrivateProfileInt(), was limited to 4 digit,
4950 IntBuf must be alloc to (5+1)=6. char instead of 5.
4953 Put code in functions SetEnvironment() & GetEnvironment().
4956 Start putting some code in ExtractIcon() function.
4959 Some code for MMTimer functions & timers list.
4962 Few stubs for DPMI interrupt calls. Nothing work yet.
4964 Mon Jun 20 07:37:43 EDT 1994 John Richardson (jrichard@cs.uml.edu)
4966 * include/win.h (tagWND):
4967 Added icon fields icon, hIcon and rectClientSave to
4971 Added icon.c to the list of files to compile
4973 * windows/dce.c (GetDCEx):
4974 Added some checks for iconic mode and pass icon window as drawable,
4975 not the real window.
4977 * windows/defwnd.c (DefWindowProc)
4978 Added PAINTICON default windows procedure.
4980 * windows/event.c (EVENT_Expose)
4981 Added check for iconic window expose. If iconic window is exposed
4982 send a WM_PAINTICON message
4985 New file. ICON_Iconify, ICON_findIconFromPoint, ICON_Deiconify.
4987 * windows/mdi.c (DefMDIChildProc)
4988 Test for IsIconic during a SC_RESTORE, this doesn't work yet.
4990 * windows/message.c (hardware_event)
4991 Looks for icon as well as window now.
4993 * windows/nonclient.c (NC_HandleSysCommand, NC_DoNCPaintIcon)
4994 Added iconify/deiconify in NC_HandleSysCommand, new function
4995 NC_DoNCPaintIcon which paints an icon.
4997 * windows/painting.c (BeginPaint)
4998 Made a BeginPaint select the STOCK_BLACK_PEN, STOCK_WHITE_BRUSH,
4999 and STOCK_SYSTEM_FONT objects since this is (hopefully) default
5002 * windows/win.h (CreateWindowEx)
5003 Set the default background color of a window to be white.
5004 Create icon window, turn off MINIMIZE if it is on, since
5005 I don't know what to do with it as of yet... register
5006 the icon with the hwnd of its window so we can identify where
5007 icon messages are coming from.
5009 Mon Jun 20 10:15:59 1994 Miguel de Icaza (miguel@sphinx)
5011 * windows/event.c: Added a hack to define XPointer when using
5014 * toolkit/hello.c: Test application for WineLib. To compile you'll
5015 need: gcc -Iinclude -DWINELIB -g hello.c -c, and to link you'll
5016 need: gcc hello.o libwine.a -lX11 -L/usr/openwin/lib -lm
5018 * toolkit/heap.c: Extended the size of the block size per chunk.
5020 * misc/stress.c (GetFreeFileHandles): Fixed typo.
5022 * misc/main.c (main): Changes to allow compilation under SunOS.
5024 * loader/library.c: Changed some ifdefs to compile WineLib.
5026 ----------------------------------------------------------------------
5027 Tue Jun 14 08:09:14 1994 Bob Amstadt (bob@pooh)
5029 * loader/selector.c (GetCurrentPDB):
5030 Added trivial function GetCurrentPDB() which returns the program
5031 segment prefix selector.
5033 * memory/heap.c (HEAP_Free):
5034 If free list is empty, make the freed block the free list.
5036 Fri Jun 10 07:56:49 1994 Bob Amstadt (bob@pooh)
5038 * controls/edit.c (EDIT_SetTextMsg):
5039 Do not append a newline at the end of the last line.
5041 * windows/event.c (SetCapture):
5042 Set winHasCursor if mouse capture succeeds.
5044 Jun 13, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5046 * [controls/listbox.c]
5047 Fix bug in listbox : InsertString should call AddString if -1.
5050 New function GetMenuState().
5052 * [controls/scroll.c] [windows/nonclient.c]
5053 Try to make ShowScrollBar() recalc NC_ regions. Not finished !
5056 Add Stub for TabbedTextOut(), which temporarely call Textout().
5058 * [windows/keyboard.c] [windows/event.c]
5059 New function GetKeyBoardState() with an KeyStateTable array
5060 & associated handling in function EVENT_key().
5062 Mon Jun 13 16:45:24 MET DST 1994 (erik@hacktic.nl)
5067 * [loader/library.c]
5068 ModuleFirst(), ModuleNext(), ModuleFindName(), ModuleFindHandle()
5072 IsGDIObject() added.
5074 * [miscemu/int2[56].c]
5075 bugfix: both didn't leave flags pushed on 16bit-stack.
5076 (winfile gets a bit further)
5081 Sat Jun 11 22:56:48 1994 Jon Tombs (jon@esix2.us.es)
5083 Added code to drop redundant motion Events in the XEvent queue.
5085 Thu Jun 9 10:55:55 MET DST 1994 Jochen Hein ( Hein@Student.TU-Clausthal.de )
5087 * [misc/main.c misc/message.c include/texts.h]
5088 Removed the text-constants from message.c into variables
5089 which may be changed from X-resources.
5091 * [misc/main.c misc/message.c]
5092 added <locale.h> and setlocale() to main.c, used toupper() in message.c
5094 Mon, 13 Jun 94 09:41:16 -0500 Paul Bramel <paulbr@comm.mot.com>
5096 * controls/button.c ( [CR]B_LButton* )
5097 left rc.right at full window width so click on label also
5098 activates the control (MSWin behavior)
5100 Sat Jun 11 19:05:40 1994 Olaf Flebbe (flebbe@tat.physik.uni-tuebingen.de)
5102 * include/windows.h:
5103 functions pointers can not be packed.
5104 (annoying warnings with forthcomming gcc-2.6.x)
5106 * loader/main.c (InitDLL):
5107 Fixed a printf statement. (for control.exe)
5109 (InitializeLoadedDLLs):
5110 deleted shadow definition of *wpnt.
5111 (Breaks many programs, because now COMMDLG will be
5114 * windows/win.c (SetWindowText):
5115 added missing breaks; (PENSATE starts)
5117 * windows/graphics.c (FloodFill):
5118 Proper boundarys. (BANGBANG starts) FloodFile_rec should
5121 * objects/font.c (FONT_GetMetrics):
5122 TYPO: use font->perchar only if it is defined. (WRITE starts)
5124 Sun June 12, Peter Broadhurst (pbr@ua.nwl.ac.uk)
5126 Fixes for improved behaviour when dragging thumb;
5127 Added SB_THUMBPOSITION message when thumb is released.
5129 ----------------------------------------------------------------------
5130 Tue Jun 7 08:41:27 1994 Bob Amstadt (bob@pooh)
5132 * loader/selector.c (FixupFunctionPrologs):
5133 New function to fixup loaded DLL function prologs. It replaces the
5134 do nothing code with code that loads DS with the appropriate data
5135 segment for the DLL.
5137 * misc/cursor.c (LoadCursor):
5138 Disabled cursor loading from .EXE or .DLL. The code needs to handle
5139 the possibility of multiple cursors in a single directory. Also,
5140 it should check to see if the cursor is the right size.
5142 * objects/font.c (EnumFonts):
5143 Checked for lpLogFontList[i] == NULL
5145 * objects/gdiobj.c (SetObjectOwner):
5146 Removed stub. Replaced with simple return in gdi.spec. This
5147 function is not defined for the retail version of Windows.
5149 * memory/heap.c (WIN16_LocalHandleDelta):
5150 New function. This is really a dummy that imitates the proper
5153 * loader/library.c (GetProcAddress):
5154 Fixed definition of IS_BUILTIN_DLL() macro.
5156 Mon Jun 6 18:15:40 1994 Bob Amstadt (bob@pooh)
5158 * miscemu/int21.c (SeekFile):
5159 Needed to return current position in DX:AX.
5161 * windows/utility.c (windows_wsprintf):
5162 Added support for '#' in format, and fixed bug with "ptr" being
5163 incremented too many times.
5165 * miscemu/int21.c (OpenExistingFile):
5166 Add code to handle opening files read-only and write-only.
5169 Segment fixups now done in LoadImage instead of _WinMain. This
5170 is necessary to support LoadLibrary().
5172 Sun Jun 5 17:34:24 1994 Erik Bos (erik@hacktic.nl)
5175 - fixed: GetModuleHandle() sometimes returned
5177 - don't init dlls when cs == 0 (lzexpand, doesn't
5178 seem to have a init function)
5179 - LoadLibrary & LoadImage now return error instead
5181 - moved most of NE-functions into one file.
5182 - LoadLibrary() uses w_files list instead of its
5184 - NE exectables are now fixed-up and initialised when
5185 loaded instead of only once before calling InitTask.
5187 * [miscemu/int15.c] [miscemu/int31.c]
5190 * [loader/selector.c]
5191 Stubs added for {Get|Set}SelectorLimit(), {Get|Set}SelectorBase().
5194 Stub added for IsRomModule().
5197 Some cleanup, added heap for returning data.
5199 Jun 6, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5202 Change MAX_ORDINALS define to higher value, 1299 entries.
5203 (MMSYSTEM doesn't have succesive numbers, some are around 1200).
5205 * [windows/utility.c]
5206 Bug fix in windows_wsprintf(), (twice increments ...).
5208 * [windows/winpos.c]
5209 Bug fix in SetWindowPos(), redraw was done if flag
5210 was set to SWP_NOREDRAW while SWP_SHOWWINDOW).
5212 * [misc/message.c] [controls/combo.c]
5213 Add an InvalidateRect() in WM_SHOWWINDOW to statisfy the new 'saveunder'.
5216 In CreateWindowEx(), do SetMenu() calls after window creation,
5217 just before sending to WM_NCCALCSIZE.
5220 In function SetMenu(), now use SetWindowPos() with
5221 flags SWP_FRAMECHANGED to readjust menu area.
5222 Function MenuBarCalcSize() redone.
5224 Sun May 29 11:08:24 1994 David B. Thomas (dt@yenta.abq.nm.us)
5227 Fixed problems associated with DT_WORDBREAK flag. String length
5228 was not being properly decremented when lines were folded, and
5229 wrapping was not performed when DT_NOCLIP and DT_NOPREFIX were
5230 both on in addition to DT_WORDBREAK. Windows does wrapping in
5231 this case, and now so does wine.
5233 Sun Jun 5 19:17:49 1994 Olaf Flebbe (olaf@dragon)
5236 cp1 was uninitialized iff lineno == 0
5238 * FindFile tests for existance of file even if a full
5239 filename was supplied. What about unix file names?
5241 * [controls/listbox ]
5242 wndPtr was uninitialized for LB_SETTOPINDEX
5245 Do not free lpProp. Is it really allocated by malloc?
5246 {edited by Bob Amstadt: changed free() to GlobalFree()}
5248 ----------------------------------------------------------------------
5249 Sat May 28 12:03:23 1994 Bob Amstadt (bob@pooh)
5251 * miscemu/int21.c (OpenExistingFile):
5252 OpenExistingFile needed to return handle in AX register instead
5255 * miscemu/int21.c (ioctlGetDeviceInfo):
5256 Added a little code to give a fake result for normal files.
5258 Wed May 25 21:55:38 1994 Bob Amstadt (bob@pooh)
5261 return value from GlobalSize was completely wrong.
5264 fixed bug in FindFirst. Directory pointer (dp) was not placed in
5268 fixed creation of pop.h to guarantee that flags are restored correctly.
5271 changed all occurance of strncmp() to strncasecmp().
5272 BuildCommDCB() should not require that OpenComm() be called first.
5274 * [loader/selector.c]
5275 Heap initialized to size of full segment less stack size and
5276 automatic data size.
5278 Sat May 28 09:14:33 1994 Rick Sladkey (jrs@world.std.com)
5280 * [controls/listbox.c]
5281 Correct typos in ListBoxResetContent where lpls variable is
5282 used where lsls2 variable is meant. Don't call USER_HEAP_FREE
5283 twice on the same handle if hData and hMem are the same.
5285 * [debugger/opcodes/i386-dis.c]
5286 Add new name array names_rmw for table driven decoding of the
5287 16-bit mod/rm field. Omit large case statement in OP_E and
5288 replace with array reference to match existing coding style.
5289 Add new static variable machine with value 286 or 386 to
5290 correctly decode mod/rm field in either 16 or 32 bit modes.
5291 Set it in print_insn_i{2,3}86. In OP_E use it to decide how
5292 to decode mod/rm. While the code was correct for 16 bit code,
5293 it was improperly decoding mod/rm fields on word prefixed
5294 32 bit instructions.
5296 * [debugger/debug.l]
5297 Recognize new token ABORT. Recognize single letters 'p'
5301 Add new token ABORT. Allow print command to be invoked by
5302 'p' and quit command by 'q', ala GDB. Change lots of '};'
5303 to just '}'. Add static dummy_regs to wine_debug so that
5304 wine_debug(0, NULL) doesn't core dump with qmagic.
5307 Correct syntax of break command in helptext and omit former
5308 comment about probable bugginess of the disassembly since it
5309 is now correct. Change fprintf of first backtrace stack
5310 frame to match that of the second and subsequent frames.
5312 * [loader/selector.c]
5313 Change construction of command line in CreatePSP from creating
5314 a string that looks like "arg1 arg2 \r" to "arg1 arg2". A DOS
5315 PSP command line looks like " arg1 arg2\r" with the length not
5316 including the trailing "\r" but that is not how Windows does it.
5318 * [loader/library.c]
5319 Change uses of %s to print strings in GetModuleHandle to %x so
5320 that string IDs don't cause a core dump with qmagic. Handle
5321 converting a string id to a literal module handle. For
5322 example, GetModuleHandle((LPSTR) 0x57) now returns 0x57 if
5323 it is a real module handle.
5326 In MessageBox, translate a NULL title argument to the string "Error".
5329 In GetSetProfile translate a NULL Default argument to "". Any
5330 caller whose Default argument is NULL is buggy, but CHARMAP does it
5334 Add NULL pointer checks in EnumFontFamilies to prevent core dumps.
5336 Sat May 28 20:01:51 1994 Jon Tombs (jon@gtex02.us.es)
5338 * New options/resourses nosaveunders and nobackingstore. By
5339 default backingstore and saveunders are now enabled, these use
5340 more memory but avoids those slow (sometimes multiple) redraws
5341 caused be exposure events.
5343 May 30, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5345 * [misc/driver.c] New file
5346 Skeleton for 'Installable Wine Drivers' functions. :-)
5347 * [misc/audio.c] New file
5348 Skeleton for basic 'Audio Driver' functions.
5349 * [misc/network.c] New file
5350 Stubs for few networking functions.
5353 More coding ... a dust in a galaxy ...
5355 Some coding for 'RegXXX' functions ... a dust in the wind ...
5358 Bug fix in GetSetProfile(), bad enumeration if KeyName == NULL.
5361 New function CreateDiscardableBitmap(), it just calling
5362 CreateCompatibleBitmap() for now. It's get 'clock.exe' running ! :-)
5364 * [controls/listbox.c]
5365 * [controls/combo.c]
5366 New font member assigned to SYSTEM_FONT as default.
5367 Added processing for WM_SETFONT message;
5370 Tue May 31 20:34:25 EDT 1994 John Richardson <jrichard@cs.uml.edu>
5373 Added AsyncMouseButtonsStates array for GetAsyncKeyState.
5375 * [windows/keyboard.c]
5376 Implemented beginning of GetAsyncKeyState.
5378 Wed May 25 23:35:03 1994 David Metcalfe <david@prism.demon.co.uk>
5380 * [objects/metafile.c] [include/metafile.h]
5381 [windows/mapping.c] [objects/clipping.c] [objects/bitblt.c]
5383 Further metafile support.
5385 ----------------------------------------------------------------------
5386 Mon May 23 15:07:36 1994 Bob Amstadt (bob@pooh)
5388 * [loader/selector.c]
5389 Allocate heap and stack segments as 64k.
5391 Sat May 21 01:15:49 1994 Rick Sladkey (jrs@world.std.com)
5393 * [loader/selector.c]
5394 Correct typos where memcpy is used instead of memset.
5396 * [loader/resource.c]
5397 Allow for legitimate cases where biSizeImage is 0 in LoadIcon
5398 by calculating the value when the bitmap is not compressed.
5401 Fix NULL dereference caused by superfluous DOS_closedir in FindNext.
5403 * [loader/resource.c]
5404 New function type_match to handle string resource types as
5405 well as IDs. In addition, compare only low 4 bits of type_id
5406 when both numbers are IDs so that 0x0002 matches 0x8002.
5407 In FindResourceByNumber and FindResourceByName use type_match
5408 instead of comparing numbers. In FindResource handle the
5409 "#number" syntax and empty strings in both the resource and
5412 Mon May 23 00:48:25 1994 Rick Sladkey (jrs@world.std.com)
5414 * [windows/dialog.c]
5415 Fix inadvertent printing of string IDs as strings.
5417 May 23, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5420 New functions GetMenuItemCount(), GetMenuItemID().
5421 GetMenuString() & HiliteMenuItem().
5422 Bug fix in CheckMenuItem().
5423 Function SetMenu() now make client area recalc if menu removed.
5425 * [windows/winpos.c]
5426 Bug fix in SetWindowPos(), no more XMapping or XConfiguring of
5427 windows with initial width or height equal zero.
5429 * [objects/gdiobj.c]
5430 New function EnumObjects(), using new lpPenBrushList buildup
5431 from calls to new function GDI_AppendToPenBrushList().
5432 ('pbrush.exe' don't show its face yet ! ... :-( )
5433 New EMPTY STUB for function SetObjectOwner(),
5434 ('mplayer.exe' call it via GetProcAddress() ...)
5437 New internal functions ParseFontParms() & InitFontsList().
5438 EnumFonts() & EnumFontFamilies() enumerates fonts (no more dummies).
5439 FONT_MatchFont now make retries to find closest-smallest font.
5440 ('charmap.exe' can now show the differents fonts available)
5442 * [windows/nonclient.c]
5443 Use small dos OBM_OLD_CLOSE button for MDI windows.
5445 * [windows/graphics.c] [objects/bitmap.c]
5446 Start to remove obsolete globals such XT_screen ...
5448 * [loader/library.c]
5449 Make function GetProcAddress() working also with builtin DLLs.
5451 Tue May 24 20:18:02 1994 Erik Bos (erik@hacktic.nl)
5453 * [if1632/system.spec] [if1632/toolhelp.spec]
5454 system.dll & toolhelp.dll added.
5456 * [loader/library.c]
5457 Modified GetModuleFileName() to return the full
5459 Added a check to LoadLibrary() to prevent loading
5460 built in dlls. (eg. user.exe)
5461 Added a check to FreeLibrary() to prevent built-in
5462 dlls from being freed.
5463 Modified GetProcAddress() to support builtin dlls.
5465 * [loader/signal.c] [miscemu/int2f.c]
5466 Added => pifedit runs.
5469 Added a NULL-ptr check to DOS_closedir().
5471 ----------------------------------------------------------------------
5472 Tue May 17 23:03:16 1994 Bob Amstadt (bob@pooh)
5475 Fixed bug with dce initialization that was causing dialog boxes to not
5478 * [if1632/callback.c]
5479 Better fix for bug found by Martin.
5481 Sat May 14 19:48:39 1994 Rick Sladkey (jrs@world.std.com)
5484 Redirect HEAP_ReAlloc calls with NULL argument to HEAP_Alloc.
5486 May 16, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5489 Make EnumFonts() calling a callback with dummy fonts ... :-)
5492 Add Empty Stub for ExtTextOut(), which temporarely call Textout().
5494 * [if1632/callback.c]
5495 Temporarely go around bug in CallWindowProc(), you will see printfs.
5498 Make EDIT controls focused by a mouse click.
5501 Bug Fix in function EnumProps(), better use of CallBack16().
5504 Basic Skelton's for MCI messages dispatching function.
5506 Sun May 15 16:15:17 1994 Erik Bos (erik@hacktic.nl)
5508 * [windows/utility.c]
5509 Added windows_wsprintf() for the emulator, wsprintf() is
5512 Sat May 14 22:16:40 1994 Rick Sladkey (jrs@world.std.com)
5515 Fix pointer problems in LoadCursor leading to heap corruption.
5517 * [ controls/menu.c ]
5518 Fix two NULL dereferencing bugs.
5520 Sun May 15 20:07:48 1994 Rick Sladkey (jrs@world.std.com)
5523 Fix NULL pointer dereferencing bug in GetCharWidth.
5525 * [loader/resource.c]
5526 Fix under-allocation of memory in LoadAccelerators.
5529 Ignore negative sizes for extra fields in RegisterClass.
5531 Sun May 15 06:35:03 1994 David Metcalfe <david@prism.demon.co.uk>
5533 * [objects/metafile.c] [include/metafile.h] [include/windows.h]
5534 [objects/gdiobj.c] [objects/brush.c] [objects/pen.c]
5535 [objects/text.c] [objects/dcvalues.c] [windows/graphics.c]
5536 [windows/dc.c] [windows/mapping.c]
5537 Beginnings of metafile support.
5540 Corrected spelling of _lcreat.
5544 ----------------------------------------------------------------------
5545 May 9, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5547 * [controls/scroll.c]
5548 Make thumbtrack button disappear if scroll box ratio < 3:1.
5549 Make arrow buttons rectangular if scroll box ratio < 2:1.
5550 Add code for SBS_TOPALIGN, SBS_BOTTOMALIGN,
5551 SBS_LEFTALIGN & SBS_RIGHTALIGN.
5552 Bug fix in NC_CreateScrollBars(), no more bigbutt in calendar.exe... :-)
5554 * [loader/library.c] [loader/task.c] [misc/exec.c]
5555 Continue playing around trying to get a second task running.
5558 Change OBM_CLOSE for OBM_OLD_CLOSE, a smaller dot button when maximized.
5561 Adding previous works of the Apr 25, 94.
5563 Tue May 10 18:09:14 1994 Erik Bos (erik@trashcan.hacktic.nl)
5565 * [if1632/mmsystem.spec] [misc/mmsystem.c] [include/mmsystem.h]
5566 Added Martin's mmsystem.dll stubs.
5569 Added remaining stubs for sound.dll.
5571 * [if1632/shell.spec] [misc/shell.c]
5572 Fixed prototypes (I found them in BC 4) and added ShellAbout()
5575 ----------------------------------------------------------------------
5576 May 1, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5579 Add XUngrabPointer() & XUngrabServer() in wine_fault().
5581 Fri Apr 22 19:30:08 1994 Erik Bos (erik@trashcan.hacktic.nl)
5583 * [objects/bitblt.c]
5584 color_stretch() rewritten to use ints only. *fast!*
5585 BLACKONWHITE & WHITEONBLACK stretchmodes redirected to
5586 use color_stretch().
5588 Mon May 2 21:39:43 1994 Erik Bos (erik@trashcan.hacktic.nl)
5597 SwapMouseButton() added, (NOP).
5600 GetDesktopHwnd() added.
5603 Added not implemented functions defs as comment.
5605 * [misc/winsocket.c]
5606 Change WSAGetXbyY() functions to non-blocking ones,
5607 Added WSAAsyncSelect().
5608 (WSA functions can't be canceled yet).
5610 Wed Apr 20 23:58:58 1994 Scott A. Laird (scott@curly)
5612 * misc/profile.c: Fixed bug with GetIniFileName returning wrong
5613 path when given a simple file name. Fixed GetSetProfile to allow
5614 enumerating all key names when KeyName is null.
5616 Apr 25, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5618 * [objects/bitblt.c]
5619 Add protection to BitBlt() & StretchBlt() for width or height = 0.
5621 * [windows/nonclient.c]
5622 Avoid painting in NC_DoNCPaint() if IsWindowVisible().
5623 Simplify NC_TrackMouseMenuBar() because code moved to MenuFocusLoop().
5626 CreateWindowEx() & DestroyWindow() now call respectively
5627 AddWindowToTask() & RemoveWindowFromTask().
5628 New empty stub for function AnyPopup().
5630 * [loader/library.c]
5631 Bug Fix : GetModuleFileName() now return full path filename.
5633 * [include/menu.h] [controls/menu.c]
5634 Add hText handle and remove obsolete MENUITEM struct members.
5635 Add a ReleaseCapture() in SetMenu() when menubar changed while captured.
5636 Add MenuMouseMove() MenuButtonUp() in function MenuFocusLoop().
5639 GetTempFilename() now create a file.
5640 _lcreate() use unix open (name, mode, perm), with perm=O666.
5643 Remove temporarly builtin SHELL.DLL, Add MMSYSTEM.DLL in builtin list.
5645 * New file [misc/mmsystem.c]
5646 * New file [include/mmsystem.h]
5647 * New file [if1632/mmsystem.spec]
5648 Many, many empty stubs ... :-)
5650 ----------------------------------------------------------------------
5652 Wed Apr 20 14:53:35 1994 Bob Amstadt (bob@pooh)
5654 * [tools/build.c] [if1632/call.S] [if1632/Imakefile]
5655 Fixed bug for non-Linux systems.
5657 Apr 18, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5660 Bug fixed in CreateWindowEx() : Now use SetMenu() for menubar setup.
5661 New empty stub for function SetSysModalWindow().
5664 New empty stub for function ExitWindows().
5667 New empty stub for function EnumFonts().
5669 * New file [misc/property.c]
5670 New functions RemoveProp(), GetProp(), SetProp() & EnumProps().
5672 * New file [misc/shell.c]
5673 New empty stubs for function RegisterShellProc(),
5674 ShellExecute() & ShellProc().
5676 * New files [loader/task.c] & [include/task.h]
5677 Move functions GetWindowTask(), GetNumTask(), EnumTaskWindows()
5678 from 'loader/library.c'.
5680 * [if1632/user.c] [if1632/kernel.c]
5681 Put Atoms functions entries.
5683 * [controls/combo.c]
5684 New functions DirDlgSelectComboBox() & DirDlgListComboBox().
5686 * [controls/listbox.c]
5687 New functions DirDlgSelect() & DirDlgList().
5689 Sun Apr 17 20:57:59 1994 Erik Bos (erik@trashcan.hacktic.nl)
5694 * [if1632/callback.c]
5695 CallGrayStringProc() added.
5697 * [if1632/relay.c] [if1632/mmsystem.spec]
5700 * [if1632/kernel.spec] [if1632/user.spec]
5701 Added forgotten specs for atom functions.
5703 ----------------------------------------------------------------------
5704 Tue Apr 12 00:05:31 1994 Bob Amstadt (bob@pooh)
5706 * misc/spy.c (SpyInit): Added more message types
5708 * [windows/mdi.c] [include/mdi.h]
5709 Maximizing and restoring child windows.
5710 Tiling of child windows.
5712 Mon Apr 11 20:48:28 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
5714 * [windows/winpos.c]
5715 Revert focus and activation to previous window when hiding a window.
5717 * [windows/syscolor.c]
5718 Implemented system color objects (brushes and pens created at
5719 SetSysColor() time for better performance).
5721 * [windows/graphics.c] [windows/nonclient.c] [controls/button.c]
5722 Changed painting code to use system color objects.
5724 * [windows/message.c]
5725 New function MSG_InternalGetMessage() for internal messages
5726 loops (e.g. for dialogs or menus).
5728 * [windows/hook.c] [include/hook.h] (New files)
5729 Beginning of the window hooks implementation.
5731 * [windows/dialog.c]
5732 Use new function MSG_InternalGetMessage() in DialogBox().
5734 * [if1632/callback.c]
5735 Added function CallHookProc().
5737 Apr 11, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5740 Bug fix : WM_CHARs are sent to focused window like WM_KEY???.
5743 Nothing much more than a stub for LoadModule(), I saw there a lot
5744 to be done in that corner, I will come back later ...
5746 * [loader/library.c]
5747 New functions GetWindowTask(), GetNumTask(), EnumTaskWindows()
5748 and associated modules & tasks linked-lists.
5749 (it's only an 'emerging bud', more to come next weeks).
5752 Use LoadLibrary() instead of LoadImage() for 'sysres.dll'.
5755 You can now click outside menu region without problem.
5756 Keyboard navig more smootly, even if a child has the focus.
5757 Bug fix in InsertItem(), (bad linklist when insert point not found).
5758 change Realloc for Free & Alloc in ModifyItem().
5759 MF_STRING now set BLACK_PEN to fix bug of bad color of the underscores
5760 done by DrawText(), (maybe it should done in DrawText() itself ?).
5762 Sun Apr 10 14:06:08 1994 Erik Bos (erik@trashcan.hacktic.nl)
5765 .INI files will now be stored in / loaded from the windows dir
5766 if no path is supplied.
5768 * [if1632/kernel.spec]
5769 Fixed GetDriveType's prototype.
5771 * [if1632/winsock.spec] [include/winsock.h] [misc/winsocket.c]
5772 Fixed prototypes: winsock uses a word as socket handle not an int.
5774 * [misc/winsocket.c]
5775 Added heap allocation for returned structures.
5776 Added non-blocking WSAAsyncGetXbyY() functions as blocking ones.
5779 Added IsDLLLoaded(), used in LoadImage() to prevent loading
5780 a dll multiple times.
5781 Directory is added to wine's path when a fullpath is supplied when
5783 LoadImage(): DLL filename used instead DLL's own internal name,
5784 fixes 'Bad DLL name' errors.
5786 Sat Apr 9 08:26:03 1994 David Metcalfe <david@prism.demon.co.uk>
5788 * [controls/edit.c] [controls/widgets.c]
5789 First release of edit control.
5791 ----------------------------------------------------------------------
5792 Tue Apr 5 14:36:59 1994 Bob Amstadt (bob@pooh)
5794 * [include/mdi.h] [windows/mdi.c]
5795 Use WM_PARENTNOTIFY messages to activate children.
5796 Generate WM_CHILDACTIVATE messages.
5797 Beginnings handler for maxmized child window.
5798 Clean up when children are destroyed.
5800 * [windows/message.c] [windows/nonclient.c] [windows/winpos.c]
5801 Removed code add 94/03/26.
5803 Apr 4, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5806 Make mouse menu navigation working again. :-))
5807 (be carefull, clicking outside menus (ie.: clientrect)
5810 * [windows/nonclient.c] [controls/scroll.c]
5811 Bugs fix in NCTrackScrollBars().
5814 Bug fix in 'ToDos()' in conversion for '/',
5815 (example: '/window/' was translated to 'WINDOWs').
5818 Function ChangeDir() extract possible drive before DOS_ChangeDir().
5820 * [loader/library.c] [loader/wine.c]
5821 Playing around moving function GetProcAddress() and put some code in.
5823 Mon Apr 4 21:39:07 1994 Alexandre Julliard (julliard@lamisun.epfl.ch)
5826 Better explanation of command-line options.
5829 Implemented SetDIBitsToDevice().
5832 Bug fix in SetDCState().
5835 Removed WS_DISABLED handling (now done in message.c).
5837 * [windows/message.c]
5838 Added sending a WM_PARENTNOTIFY message in MSG_TranslateMouseMsg().
5839 Use WindowFromPoint() to find the window for mouse events, taking
5840 into account disabled windows.
5842 * [windows/painting.c]
5843 Bug fix in BeginPaint() to allow calling it at other times than
5844 on WM_PAINT (Solitaire needs it...)
5847 Implemented FindWindow().
5848 Rewritten EnableWindow() to behave more like Windows.
5850 * [windows/winpos.c]
5851 Rewritten WindowFromPoint() to also search child windows.
5853 Mon Apr 4 17:36:32 1994 Erik Bos (erik@trashcan.hacktic.nl)
5855 * [include/int21.h] -> [msdos.h]
5858 * [miscemu/int10.h] [miscemu/int25.h] [miscemu/int26.h]
5859 new, added for int 10, 25 and 26.
5861 * [miscemu/ioports.c]
5862 new, added to allow win apps to use ioports.
5865 Added support for in, inb, out, outb instructions.
5867 ----------------------------------------------------------------------
5868 Sun Mar 27 13:40:25 1994 Bob Amstadt (bob@pooh)
5870 * controls/menu.c (InsertMenu): Changed to use FindMenuItem().
5872 Sat Mar 26 21:23:55 1994 Bob Amstadt (bob@pooh)
5875 Window list properly updated.
5877 * [windows/message.c]
5878 Call WINPOS_ChildActivate() when mouse pressed.
5880 * [windows/nonclient.c]
5881 Use WINPOS_IsAnActiveWindow() instead of GetActiveWindow() in
5884 * [windows/winpos.c]
5885 Created functions WINPOS_IsAnActiveWindow() and WINPOS_ActivateChild()
5887 Thu Mar 24 14:49:17 1994 Bob Amstadt (bob@pooh)
5889 * controls/menu.c (DeleteMenu): Changed to use FindMenuItem
5890 (DeleteMenu): Many bug fixes.
5893 Created function FindMenuItem().
5895 Thu Mar 24 14:17:24 1994 Bob Amstadt (bob@pooh)
5898 Removed incorrect MDI handling code from CreateWindowEx().
5901 MF_STRING items needed to allocate a private copy of string.
5904 Fixed buggy calls to GlobalFree().
5907 Eliminated some redundant code with function call.
5909 Wed Mar 23 1994 Pentti Moilanen (pentti.moilanen@ntc.nokia.com)
5912 timer list pointers looped in InsertTimer
5914 Tue Mar 29 13:32:08 MET DST 1994 julliard@di.epfl.ch (Alexandre Julliard)
5917 A few changes for desktop window support.
5920 Added -depth option.
5923 Yet another bug fix in SubtractRect().
5925 * [objects/bitmap.c]
5926 Changes to use only one depth (specified with -depth)
5930 Added support for dithered solid brushes.
5933 Use the same 20 system colors as in Windows.
5934 System palette initialisation now done in COLOR_InitPalette().
5935 Added support for a color mapping table to map logical color
5936 indexes to X colormap entries.
5937 Implemented GetNearestColor() and RealizeDefaultPalette().
5940 Added support for color mapping table.
5942 * [objects/dither.c] (New file)
5943 Implemented solid color dithering.
5945 * [objects/palette.c]
5946 Implemented GetSystemPaletteEntries() and SelectPalette().
5949 Make a copy of the menu name in RegisterClass().
5952 Fixed device caps when using a desktop window.
5953 Added support for the color mapping table in DCs.
5956 Added ConfigureNotify handler on desktop window.
5958 * [windows/message.c]
5959 Removed call to XTranslateCoordinates() on every mouse motion
5960 New function MSG_Synchronize() to synchronize with the X server.
5962 * [windows/syscolor.c]
5963 Rewritten SYSCOLOR_Init() to read the system colors from WIN.INI.
5965 * [windows/winpos.c]
5966 Added synchronization on window mapping. Solves the double redraw
5967 problem when starting Solitaire.
5969 Mar 27, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
5971 * [control/menu.c] * [windows/defwnd.c]
5972 Make keyboard navigation working with menubar,
5973 but temporarely inserted a bug in menubar mouse handling ... :-((
5974 (it will be fix next week !)
5976 * [windows/defwnd.c]
5977 Connect VK_MENU to menubar navigation.
5979 * [loader/library.c]
5980 GetModuleHandle() return 'fictive 0xF000+ handles' for built-in DLLs.
5982 Sun Mar 20 22:32:13 1994 Erik Bos (erik@trashcan.hacktic.nl)
5985 Added Copy(). Added a check for `-h' to show usage.
5988 Fixed bug in FindFile(), to load directories as dlls.
5991 Fixed ToUnix() and ToDos() again, as my previous patch
5994 * [misc/dos_fs.c] [miscemu/int21.c]
5995 Bug fixes, should be able to handle all winfile and progman int21
5996 requests now except for a few small things.
5998 Tue Mar 29 06:25:54 1994 crw@harris.mlb.semi.harris.com (Carl Williams)
6001 Implemented GetFreeSystemResources().
6003 ----------------------------------------------------------------------
6004 Mon Mar 21 17:32:25 1994 Bob Amstadt (bob@pooh)
6006 * controls/menu.c (GetSubMenu): Function did not return correct value
6009 Beginnings of menu handling.
6011 Thu Mar 10 11:32:06 1994 Stefan (SAM) Muenzel (muenzel@tat.physik.uni-tuebingen.de)
6014 if font.width equals zero use asterix instead.
6016 Mon Mar 21 17:23:37 MET 1994 julliard@di.epfl.ch (Alexandre Julliard)
6018 * [objects/bitmap.c]
6019 Rewritten bitmap code to use exclusively X pixmaps; *much* faster.
6022 Some changes with pattern brushes because of the new bitmap code.
6025 Added function COLOR_ToPhysical for better color mapping.
6028 Heavily optimized SetDIBits().
6031 Opimized SetDCState() and DC_SetupGC*() functions.
6032 Added stub for CreateIC().
6034 Mar 20, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
6037 Call SetFocus() after closing box to give back focus to previous owner.
6040 Small bug fix in GetTempFilename() : replace a '\' to '\\'.
6042 * [control/scroll.c]
6043 Calls to BitBlt() replace by StretchBlt().
6046 Call SetFocus() to previous owner after closing Popups.
6047 Fill stub DeleteMenu().
6049 * [control/listbox.c]
6051 Use SetFocus() in WM_LBUTTONDOWN.
6052 Close ComboBox List upon WM_KILLFOCUS.
6053 Early development of WM_MEASUREITEM mecanism.
6055 * [windows/defwnd.c]
6056 Early development of WM_MEASUREITEM mecanism.
6058 Tue Mar 22 10:44:57 1994 Miguel de Icaza (miguel@xochitl)
6061 Fixed sintaxis problem when building the library.
6063 ----------------------------------------------------------------------
6064 Tue Mar 15 13:11:56 1994 Bob Amstadt (bob@pooh)
6066 * [include/windows.h]
6067 Added message types and structures for MDI
6070 Created internal structures for handling MDI
6073 Began creating MDI support
6075 Thu Mar 10 16:51:46 1994 Bob Amstadt (bob@pooh)
6077 * [loader/wine.c] [include/wine.h]
6078 Added new field to "struct w_files" to hold the "name table"
6079 resource for Windows 3.0 programs
6081 * [loader/resource.c]
6082 Added code to handle programs with a "name table" resource.
6083 LoadResourceByName() modified to check for the existence of
6086 Mon Mar 14 22:31:42 MET 1994 julliard@di.epfl.ch (Alexandre Julliard)
6089 Added installing the private colormap on the desktop window.
6092 Cleaned up focus event handling (see focus.c).
6093 Use GetFocus() to direct key events to the correct window.
6096 Rewritten SetFocus() to:
6097 - only set X focus on top-level windows
6098 - send WM_SETFOCUS and WM_KILLFOCUS messages (was done in event.c)
6099 - prevent setting focus to disabled windows
6100 - install private colormap so -privatemap option works again
6102 * [windows/message.c] [windows/timer.c]
6103 Changed timer management to no longer use PostMessage(), but
6104 to generate timer messages on the fly. Also fixed a related bug
6105 in GetMessage() which could cause busy-waiting.
6108 Only select focus events on top-level windows.
6110 * [windows/winpos.c]
6111 Added some sanity checks for desktop window.
6113 Fri Mar 4 20:42:01 1994 Erik Bos (erik@trashcan.hacktic.nl)
6116 bug fixes in ToUnix(), WinIniFileName(), GetUnixFileName().
6117 Support for tilde symbol added for rootdirectories in [drives]
6118 section of wine's configfile.
6121 hread(), hwrite() added.
6126 * [if1632/stress.spec] [include/stress.h] [misc/stress.c]
6127 Added STRESS.DLL, an useless dll used to stress a windows system.
6130 Added missing #includes, fixed prototypes for prototype checking.
6132 * [include/prototypes.h]
6134 Added prototypes for loader/*c, if1632/*c.
6136 ----------------------------------------------------------------------
6137 Tue Mar 8 09:54:34 1994 Bob Amstadt (bob@pooh)
6140 Added reminder to set WINEPATH, if it is not set.
6145 * [controls/button.c]
6146 Added BN_CLICKED notification for owner-draw buttons.
6148 * [if1632/kernel.spec] [memory/heap.c]
6149 Changed Local* functions to WIN16_Local* to prevent unconcious use
6153 Push old Stack16Frame on stack before setting.
6155 * [include/atom.h] [misc/atom.c] [include/heap.h] [memory/local.c]
6156 Added multiple local heap handling in Atom* functions.
6158 * [include/regfunc.h] [miscemu/int21.c]
6159 Rewrote DOS3Call() use context frame that is already on the stack.
6162 Fixed to allow leading ";" to mark comments.
6165 Fixed bugs and added support for "include" and "exclude" filters.
6168 Rearranged calls in InitApp().
6171 Fixed font handling to create system fonts, if they are used.
6174 If text drawn on window with no font specified, then default the
6175 font to the system font.
6177 Mon Mar 7 20:32:09 MET 1994 julliard@di.epfl.ch (Alexandre Julliard)
6179 * [controls/desktop.c]
6180 Added handling of WM_NCCREATE and WM_ERASEBKGND functions.
6181 Implemented SetDeskPattern().
6184 Added -desktop option to get a large desktop window with
6185 everything inside it.
6189 Bug fix in SubtractRect().
6192 Replaced the DefaultRootWindow() macro by the rootWindow variable.
6194 * [windows/event.c] [windows/message.c]
6195 [windows/nonclient.c] [windows/win.c]
6196 A few changes to accomodate the new desktop window.
6198 Tue Mar 8 11:13:03 1994 Miguel de Icaza (miguel@xochitl.nuclecu.unam.mx)
6200 * [toolkit/arch.c] --New file--
6201 Routines for converting little endian data structures to
6202 big-endian data structures, currently only BITMAP structures are
6206 When used as part of the WineLib, the code is much simpler.
6207 Doesn't depend on alignement.
6210 Ifdefed Emulator dependent code if compiling WineLib.
6212 * [loader/resource.c]
6213 Moved misc/resource.c to loader/resource.c.
6215 * [loader/dump.c,ldt.c,ldtlib.c,library,c,selector.c,signal.c]
6216 Ifdefed whole code if compiling WINELIB.
6218 * [include/winsock.h]
6219 Added compilation define to allow compilation on SunOS.
6222 Removed load_typeinfo and load_nameinfo prototypes, they belong
6226 Added load_typeinfo and load_nameinfo prototypes.
6229 Fixed some bugs in the conversion routines.
6230 Added macros for Bitmap loading.
6232 Tue Mar 8 12:52:05 1994 crw@maniac.mlb.semi.harris.com (Carl Williams)
6234 * [if1632/kernel.spec] [memory/global.c]
6235 Implemented GetFreeSpace()
6237 * [if1632/user.spec] [loader/resource.c]
6238 Implemented CreateIcon()
6240 ----------------------------------------------------------------------
6241 Tue Mar 1 11:30:21 1994 Bob Amstadt (bob@pooh)
6243 * [Configure] [*/Imakefile]
6244 Created configure script to handle different types of Wine builds.
6246 * [Configure] [tools/build.c] [if1632/Imakefile] [Wine.tmpl]
6247 Added ability to compile Wine on systems with 14-char filename limit.
6249 * [if1632/relay.c] [include/options.h] [misc/main.c]
6250 Added -relaydbg option to command line if DEBUG_RELAY is defined.
6252 * [loader/selector.c]
6253 Fixed bug in GetEntryDLLName() that caused Wine to seg fault.
6256 Fixed LocalInit() to work correctly.
6259 Added code to call loaded DLLs' initialization routines.
6261 Tue Mar 1 01:01:17 MET 1994 julliard@di.epfl.ch (Alexandre Julliard)
6264 Added clipping of child windows by their parent's client area.
6266 * [windows/nonclient.c]
6267 Bug fix in NC_DoNCPaint().
6269 * [windows/painting.c]
6270 Bug fix in RedrawWindow().
6272 Feb 27, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
6275 Bug fix again in ATOM_DeleteAtom() :
6276 change LocalFree() by USER_HEAP_FREE().
6277 (Previous patch done Feb 13th had been lost)
6279 * [controls/scroll.c]
6280 Move bitmaps loading in AllocScrollBar() instead of in WM_CREATE.
6282 * [windows/class.c] (sorry Alex ...)
6283 There was no bug there "in RegisterClass() :
6284 WNDCLASS->lpszClassName was reset to NULL."
6287 * [misc/clipboard.c] --- New File ---
6288 New function EnumClipboardFormats().
6289 New function OpenClipboard().
6290 New function CloseClipboard().
6291 New function EmptyClipboard().
6292 New function GetClipboardOwner().
6293 New function GetClipboardViewer().
6294 New function CountClipboardFormats().
6295 New function IsClipboardFormatAvailable().
6296 New function OpenClipboard().
6297 New function GetClipboardData().
6298 New function SetClipboardViewer().
6299 New function EnumClipboardFormats().
6300 New function RegisterClipboardFormat().
6301 New function ChangeClipboardChain().
6302 New function SetClipboardData().
6303 New function GetOpenClipboardWindow().
6304 New function GetPriorityClipboardFormat().
6305 New function GetClipboardFormatName().
6307 Tue Mar 1 20:15:45 1994 Erik Bos <erik@trashcan.hacktic.nl>
6310 bugfix in OpenComm().
6312 ----------------------------------------------------------------------
6313 Tue Feb 22 18:04:02 1994 Jeffrey Hsu <hsu@freefall.cdrom.com>
6315 * [include/winsock.h]
6316 The sockproto struct is already defined in <sys/socket.h>
6319 Need to include <netinet/in.h> for struct in-addr.
6320 Use sys_errlist[] instead of strerror[].
6323 ANSI C specifies that the malloc functions are defined in stdlib.h,
6324 so we don't need to include malloc.h.
6327 Print informative error message about probable cause of i386_set_ldt()
6328 failure and then exit.
6331 For systems that don't use gmake by default, set the MAKE variable
6332 to gmake and propagate it on recursive makes.
6333 Take out -li386 for FreeBSD systems and define __FreeBSD__ so Wine
6334 can be built with the FreeBSD 1.0.2 compiler.
6336 Tue Feb 22 02:52:19 EST 1994 jrichard@cs.uml.edu (John Richardson)
6338 * [objects/bitblt.c]
6339 Added in three functions to do stretching and compression
6340 for WHITEONBLACK, BLACKONWHITE, and color copies.
6342 Tue Feb 22 15:01:31 EST 1994 jrichard@cs.uml.edu (John Richardson)
6344 * [windows/graphics.c]
6345 Added FloodFill and FloodFill_rec. FloodFill_rec is pretty
6346 inefficent, but should suffice for now.
6348 * [include/windows.h]
6349 Changed the x,y paramaters for the FloodFill prototype
6352 Tue Feb 22 00:58:28 MET 1994 julliard@di.epfl.ch (Alexandre Julliard)
6354 * [windows/widgets.c]
6355 Added desktop window class.
6357 * [windows/painting.c]
6358 Bug fix in RedrawWindow().
6359 Implemented ExcludeUpdateRgn().
6361 * [windows/win.c] [windows/winpos.c]
6362 Implemented desktop window.
6364 * [controls/desktop.c]
6365 Preliminary desktop window procedure.
6367 Feb 20, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
6370 New function LoadMenuIndirect().
6371 New function GetMenuCheckMarkDimensions().
6373 * [if1632/user.spec]
6374 Entry for DefDlgProc().
6377 Fix bug in RegisterClass() :
6378 WNDCLASS->lpszMenuName was reset to NULL.
6381 In CreateWindowEx(), if hMenu == 0 then use
6382 wndclass->lpszMenuName to load Menu from resource;
6384 Mon Feb 21 22:38:28 1994 Erik Bos (erik@trashcan.hacktic.nl)
6386 * [loader/library.c] [loader/wine.c]
6387 Fixed runing DLL's as main executable problem.
6390 Added wildcard support in DOS_readdir().
6392 * [misc/winsocket.c]
6393 Added proper error handling of BSD winsocket functions.
6396 KERNEL_DOS3Call renamed to DOS3Call and modified to use do_int21().
6399 Added functions for GetVersion, GetWinFlags and GetTimerResolution
6400 for libwine.a, SystemParametersInfo() partly implemented.
6402 Tue Feb 22 19:00:02 1994 Miguel de Icaza (miguel@xochitl.nuclecu.unam.mx)
6404 * [toolkit/winmain.c]
6405 Added _WinMain function. Setups the library (calls USER_InitApp).
6408 Added load_mz_header, load_ne_header, load_type_info and
6409 load_name_info functions.
6415 Moved from loader/misc.c. I hope to put back all the loader
6416 functions in the ~loader subdirectory in the future. CUrrently is
6417 needed since it has USER_InitApp.
6420 Since WineLib will probably need DLLs (currently it needs
6421 Sysres.dll). WineLib will be using much code of the loader again.
6422 So I removed some ifdefs that were used by WineLib.
6424 Added load_typeinfo and load_nameinfo (and the corresponding
6425 functions in [toolkit/sup.c]
6427 Added integer convertion functions in the needed places.
6429 Added very ugly patch (includes wine.c). In the next release I
6430 plan to move back all the loader routines to ~/loader. In the
6431 meantime I needed this patch. It doesn't affect any of the
6432 emulator code (its ifdefed for WineLib).
6435 Cleaned up call to WinMain (now uses [toolkit/winmain.c]
6436 Ifdefed argument number checking when compiling the library.
6439 Modified to use load_(mz|ne)_header instead of doing a direct
6440 read. When compiling the emulator it still uses the direct read
6444 Prototypes for loading routines.
6447 Added WINE_PACKED macro instead of __attribute__ ((packed))
6450 Macros for converting integers (Little endian to big-endian).
6451 Needed in the Sun to allow loading of DLL files.
6453 ----------------------------------------------------------------------
6454 Mon Feb 14 23:48:09 MET 1994 julliard@di.epfl.ch (Alexandre Julliard)
6456 * [windows/clipping.c]
6457 Moved everything into windows/painting.c and removed this file.
6459 * [windows/message.c]
6460 Removed calls to memmove() in MSG_RemoveMsg().
6462 * [windows/nonclient.c]
6463 Added WM_GETMINMAXINFO support for window resizing.
6465 * [windows/painting.c]
6466 Implemented RedrawWindow().
6468 * [windows/scroll.c]
6469 Bug fix in ScrollWindowEx().
6472 Moved UpdateWindow() to windows/painting.c.
6474 Fri Feb 11 12:41:28 1994 Erik Bos (erik@trashcan.hacktic.nl)
6476 * [loader/wine.c] [misc/dos_fs.c]
6477 getenv() eq NULL bugfixes.
6480 cfmakeraw changed for SunOS.
6482 Feb 13, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
6485 Bug fix in ATOM_DeleteAtom() :
6486 change LocalFree() by USER_HEAP_FREE().
6489 New function FatalAppExit().
6492 New empty stub SetMapperFlags().
6495 Better CheckMark & other bitmaps placement.
6497 * [windows/graphics.c]
6498 New function RoundRect() : calc.exe now working...
6500 Tue Feb 15 14:29:37 1994 John Richardson
6502 * [objects/bitblt.c]
6503 Fixed StretchBlt so it works quicker and faster. It still doesn't
6504 use the StretchMode bits for bitmap compression, but that will
6507 Mon Feb 14 13:21:04 1994 Miguel de Icaza (miguel@roxanne.nuclecu.unam.mx)
6509 * [include/windows.h,dialog.h,gdi.h]
6510 Changed __atribute__ ((packed)) for WINE_PACKED.
6511 When compiling the library this is defined as nothing. This gets
6512 rid with all the problems compiling under SunOS. Also
6514 * [windows/utility.c]
6515 Added DebugPrintString.
6518 Added hSysRes = 1 definition to resolve externals.
6519 Added CallLineDDAProc function (toolkit version).
6520 Added toy, and hi ineficient memmove until code in message.c get
6523 * [objects/gdiobj.c]
6524 Ifdefed linux/emulator-dependent code to allow compilation of
6527 * [misc/winsocket.c]
6528 Added ifdef to allow compilation under SunOS.
6531 When compiling the library, the resource file is expected to be in
6532 a file called $argv[0].Res. Also the information of the resource
6533 is expected to be at offset 0 of the .Res file.
6536 Call WinMain with arguments if compiling WineLib.
6537 Call shutdown functions (Comm_DeInit, DOS_DeInitFS).
6538 Call sync_profiles to preserve changes to .INI files.
6540 * [misc/comm.c,dos_fs.c]
6541 removed call to atexit(Comm_DeInit)
6542 removed call to atexit(DOS_DeInitFS)
6543 Shutdown functions are now called from the return of WinMain
6545 * removed memorylib subdirectory
6547 * moved memory/atom.c to misc/atom.c
6548 moved memorylib/heap.c to toolkit/heap.c
6551 Moved DebugPrintString to windows/utility.c
6553 * [include/winsock.h]
6554 Define SO_DONTLINGER only if it has not been previously defined.
6556 * [include/windows.h]
6557 added definition for DLGPROC.
6558 added definition for LMEM_WINE_ALIGN and other LMEM_* constants.
6559 When compiling WineLib WNDPROC is defined with all the parameters
6560 to avoid compilation problems.
6563 When compiling WineLib USER_HEAP_(ALLOC|REALLOC|ADDR|FREE) the
6564 calls are translated to the library allocation routines.
6566 * [include/gdi.h,user.h]
6567 When compiling WineLib GDI_HEAP_(ALLOC|ADDR|FREE) the calls are
6568 translated to the library allocation routines.
6571 Defined LocalAlign. When compiling the emulator it's translated as
6572 a call to LocalAlloc (the original code), when compiling WineLib
6573 as a call to LocalAlloc with a WINE-flag called LMEM_WINE_ALIGN
6574 (atom.c needs aligned data on a 4 byte boundary).
6577 Renamed KERNEL_* functions and fixed prototypes.
6579 * [if1632/kernel.spec]
6580 Renamed KERNEL_* functions in order to be used by applications
6581 using Wine as a library (OpeFile, _lclose, _lread, _lcreate,
6582 _llseek, _lopen, _lwrite).
6585 Create library instead of executable when building target
6588 ----------------------------------------------------------------------
6589 Tue Feb 8 13:52:11 1994 Miguel de Icaza (miguel@roxanne)
6592 Use $(CC) instead of cc.
6593 Added libwine target.
6595 * [include/prototypes]
6596 #ifdefed section for WineLib
6598 * moved loader/cursor.c to misc/cursor.c
6599 moved loader/resource.c to misc/resource.c
6600 moved misc/emulate.c to miscemu/emulate.c
6601 moved misc/int1a.c to miscemu/int1a.c
6602 moved misc/int21.c to miscemu/int21.c
6603 moved misc/kernel.c to miscemu/kernel.c
6604 moved misc/user.c to miscemu/user.c
6606 * [memorylib/heap.c]
6607 Heap management for WineLib
6610 Modified to allow compilation under SunOS (#include errno, SunOS
6611 doesn't have atexit ()).
6614 Modified to allow compilation under SunOS (#include vfs.h)
6617 Modified to allow compilation under SunOS (OPEN_MAX constant,
6620 * [objects/palette.c]
6621 Modified to allow compilation under SunOS (#include limits)
6624 WineLib version of CallWindowProc.
6627 Typedef XPointer under X11R4 (OpenWindows).
6630 When compiling WineLib, use direct callbacks instead of the
6631 windows supplied callbacks.
6633 Mon Feb 7 22:37:34 MET 1994 julliard@di.epfl.ch (Alexandre Julliard)
6636 New function CURSOR_SetWinCursor(), for internal use, to set
6637 the cursor of a specific window more reliably than with SetCursor().
6639 * [windows/nonclient.c]
6640 Better window management. Moving and resizing from the system
6641 menu should work now.
6642 Added scroll-bar mouse tracking.
6645 Moved scroll-bar creation and destruction to defwnd.c.
6647 Feb 5, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
6649 * [windows/nonclient.c]
6650 Call to StdDrawMenuBar() during NC's drawing.
6651 New NC_TrackMouseMenuBar() function which call
6652 MenuButtonDown(), MenuButtonUp() & MenuMouseMove().
6655 New ChangeMenu() function.
6656 Remove permanently old Xt menu code.
6657 Make common functions MenuButtonDown(), MenuButtonUp()
6658 & MenuMouseMove() for both popups & menubar.
6660 * [controls/combo.c]
6661 Paint OBM_COMBO directly in combo client.
6663 * [controls/listbox.c]
6664 Fix bug in multicolumns calculations.
6666 * [controls/Makefile]
6667 Remove rules for old file 'caption.c'.
6670 Remove empty stub GetModuleFileName().
6672 * [loader/library.c]
6673 New GetModuleHandle() function.
6674 New GetModuleUsage() function.
6675 New GetModuleFileName() function.
6677 * [loader/resource.c]
6678 Try to find the bug a missing menu loading ... Not found yet !
6681 Remove old menubar creation.
6683 Thu Feb 3 22:30:11 1994 Erik Bos (erik@trashcan.hacktic.nl)
6685 * [misc/winsocket.c]
6686 More functions added.
6688 * [if1632/winsock.spec] [misc/winsocket.c]
6689 Added John Brezak's winsock.dll stuff.
6691 ----------------------------------------------------------------------
6692 Tue Feb 1 21:14:47 1994 Bob Amstadt (bob@pooh)
6694 * [loader/selector.c]
6695 Added function CreateNewSegments(). Modified IPCCopySelector
6696 to allow aliasing to any arbitrary memory space.
6699 Fixed potential bug in GlobalGetFreeSegments().
6702 Created functions GlobalLinearLock() and GlobalLinearUnlock().
6704 Tue Feb 1 05:51:43 1994 julliard@di.epfl.ch (Alexandre Julliard)
6706 * [controls/widgets.c]
6707 Removed CAPTION window class.
6710 Bug fix in LoadCursor(): don't allocate memory every time for
6713 * [windows/clipping.c]
6714 Invalidate child windows in InvalidateRgn().
6716 * [windows/defwnd.c]
6717 Added repaint of the caption when changing window text.
6720 Modified SetCapture() to allow keyboard events while capturing.
6722 * [windows/message.c]
6723 New function MSG_GetHardwareMessage(), to do mouse tracking
6724 without returning control to the Windows program.
6726 * [windows/nonclient.c]
6727 A couple of changes in frame drawing for DLGMODALFRAME windows.
6728 Rewritten window moving code, to use MSG_GetHardwareMessage()
6729 instead of non-client mouse events (this is the way Windows
6730 does it), and to send WM_ENTERSIZEMOVE messages.
6731 Removed WM_NCBUTTONUP and WM_NCMOUSEMOVE handlers.
6734 Allocate temporary structures on the USER heap instead of
6735 using GlobalAlloc().
6737 * [windows/winpos.c]
6738 Added function WINPOS_GetMinMaxInfo() to get sizing informations.
6740 Jan 31, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
6742 * [windows/nonclient.c]
6743 Call to StdDrawScrollBar() during NC's drawing.
6744 Call to NC_ScrollBarButtonDown() on NC mouse events WM_LBUTTONDOWN.
6745 Call to NC_ScrollBarButtonUp() on NC mouse events WM_LBUTTONUP.
6746 Call to NC_ScrollBarMouseMove() on NC mouse events WM_MOUSEMOVE.
6749 New GetSubMenu() function.
6750 Move GetMenu() & SetMenu() functions from 'windows/win.c'.
6752 * [controls/listbox.c]
6753 Start changes to satisfy recent changes in scrollbars/windows.
6755 * [loader/resource.c]
6756 Put some code in LoadAccelerators() stub.
6757 New TranslateAccelerator() function.
6760 Remove GetMenu() & SetMenu() functions.
6761 Call to NC_CreateScrollBars() if required by CreateWindow().
6763 ----------------------------------------------------------------------
6764 Mon Jan 24 10:40:10 EST 1994 John Richardson (jrichard@cs.uml.edu)
6767 Added functions EnumWindows, EnumChildWindows, and helper
6768 WIN_EnumChildWin. EnumWindows won't list all wine windows
6769 because GetDesktopWindow isn't complete. However, the code
6770 is in place for it to work correctly and only needs
6771 GetDesktopWindow to do so.
6773 Tue Jan 25 05:51:47 1994 julliard@di.epfl.ch (Alexandre Julliard)
6775 * [windows/defwnd.c]
6776 Added handling of activation messages (WM_ACTIVATE,
6777 WM_NCACTIVATE, WM_MOUSEACTIVATE)
6780 De-activate the window when losing input focus.
6783 Bug fix in SetFocus().
6785 * [windows/message.c]
6786 Added activation of the window on mouse-clicks.
6788 * [windows/nonclient.c]
6789 Changed non-client area painting to use the correct colors
6790 depending upon the activation state.
6791 Added WM_NCACTIVATE message handling.
6792 Fixed a couple of bugs in window moving and resizing.
6794 * [windows/winpos.c]
6795 Implemented Get/SetActiveWindow().
6796 Implemented SWP_NOACTIVATE flag in SetWindowPos().
6798 Jan 17, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
6801 MessageBox has a CaptionBar for his title except for
6802 MB_SYSTEMMODAL with MB_ICONHAND.
6804 * [windows/nonclient.c]
6805 Call to NC_TrackSysMenu on SysMenu button mouse click.
6807 * [windows/defwnd.c]
6808 Call to NC_TrackSysMenu on Alt key (VK_MENU).
6811 New GetSystemMenu() function.
6812 New CopySystemMenu() internal function.
6813 New NC_TrackSysMenu() internal function.
6815 * [include/windows.h]
6816 New WM_INITMENU, WM_INITMENUPOPUP, WM_MENUSELECT & WM_MENUCHAR defines.
6818 ----------------------------------------------------------------------
6819 Thu Jan 13 11:45:13 1994 John Richardson <jrichard@cs.uml.edu>
6822 Added functions EnableWindow, IsWindowEnabled, and helper
6826 Added checks for WS_DISABLED windows in EVENT_key, EVENT_MotionNotify,
6827 EVENT_ButtonPress, EVENT_ButtonRelease, EVENT_ConfigureNotify,
6828 EVENT_FocusIn, EVENT_FocusOut, and EVENT_EnterNotify. Key and
6829 button presses beep for a disabled window.
6830 If anyone finds better places for these checks, please tell me.
6832 Jan 17, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
6835 Cleanup on buttons answer value returned.
6838 Now use OBM_COMBO bitmap dropdown button.
6840 Mon Jan 17 21:56:45 1994 Erik Bos (erik@trashcan.hacktic.nl)
6845 Tue Jan 18 06:36:48 1994 julliard@di.epfl.ch (Alexandre Julliard)
6848 Added X cursor for IDC_SIZENS and IDC_SIZEWE.
6850 * [include/options.h] [misc/main.c] (New files)
6851 Rewrote main() function to get rid of Xt application context,
6852 and added command-line option parsing.
6855 Use of a private map now configurable with command-line option.
6857 * [windows/defwnd.c]
6858 Added WM_SYSCOMMAND handling, and better WM_SETCURSOR handling.
6861 Removed ConfigureNotify event handler (no longer needed).
6863 * [windows/message.c]
6864 Send WM_SETCURSOR message on mouse events.
6866 * [windows/nonclient.c]
6867 Use OEM bitmaps for the drawing of the non-client area.
6868 Added caption bar buttons handling, and moving and resizing of
6869 the window via the window frame (bypassing the window manager).
6871 * [windows/painting.c]
6872 Bug fix in BeginPaint().
6875 Set the override_redirect flag for windows (to bypass window
6878 * [windows/winpos.c]
6879 Implemented WindowFromPoint(), ChildWindowFromPoint(),
6880 BringWindowToTop(), Get/SetInternalWindowPos(),
6881 Get/SetWindowPlacement().
6883 Mon Jan 17 20:48:24 1994 Bob Amstadt (bob@pooh)
6886 Added support for multiple local heaps.
6888 ----------------------------------------------------------------------
6889 Tue Jan 4 13:01:33 1994 David Metcalfe <david@prism.demon.co.uk>
6892 Modified code to use system timer.
6894 Jan 9, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
6897 Windows create if required new XLIB MenuBar & CaptionBar.
6899 * [windows/defwnd.c]
6900 WM_CALCSIZE Move & Resize caption, menubar & scrollbars.
6901 (I'm not sure it's the good place for it, but it work...)
6903 * [loader/resource.c]
6904 optimize in FindResourceByNumber, make lseek() if next type ...
6906 * [controls/scroll.c]
6907 scrollbar buttons are now using system resources bitmaps.
6909 * [controls/caption.c] - new file ...
6910 captionbar showing title, close button with SysMenu,
6911 and other buttons using system resources bitmaps.
6914 New functions: SetMenuItemBitmaps() with 'glues',
6915 Make new version of LoadMenu() & ParseMenu(),
6916 ( put #define USE_POPUPMENU ).
6917 Implementation of MenuBar functions.
6920 New bitmaps for system such OBM_CLOSE, OBM_MINIMIZE, OBM_UPARROWI.
6921 New SYSMENU menu, it don't work yet ! :-((
6923 Tue Jan 11 05:27:45 1994 julliard@di.epfl.ch (Alexandre Julliard
6926 Fixed a bug that could cause atoms to be case-sensitive.
6929 Bug fix in SubtractRect().
6931 * [objects/clipping.c]
6932 Bug fix when setting the clip mask to an empty region.
6935 Bug fix in ReleaseDC().
6937 * [windows/dialog.c]
6938 Call AdjustWindowRectEx() before creating the dialog window.
6939 Added support for DS_MODALFRAME style.
6942 Cleaned up event handling and removed old Xt stuff.
6943 Moved double-click handling to windows/message.c
6946 Bug fix: only set the X focus when the window is viewable.
6948 * [windows/graphics.c]
6949 Rewritten DrawReliefRect() to use brush instead of pen, and
6950 to use the system colors.
6952 * [windows/message.c]
6953 Implemented WM_NCHITTEST message sending, and non-client
6955 Cleaned up double-click handling, and removed the Xt code.
6957 * [windows/nonclient.c] (New file)
6958 Implemented AdjustWindowRect().
6959 Implemented WM_NCCALCSIZE, WM_NCHITTEST and WM_NCPAINT handling.
6961 * [windows/painting.c]
6962 Added sending of the WM_NCPAINT message in BeginPaint().
6964 * [windows/sysmetrics.c] [include/sysmetrics.h] (New files)
6965 Implemented system metrics.
6968 Bug fix in setting the parent and owner in CreateWindow().
6969 Removed the Xt code.
6971 * [windows/winpos.c]
6972 Added sending of the WM_NCPAINT message in SetWindowPos().
6973 Removed the Xt code.
6975 Sun Jan 2 12:38:53 1994 David Metcalfe <david@prism.demon.co.uk>
6978 Implemented GetClassName and GetClassInfo.
6981 Various improvements to text caret code.
6983 Fri Dec 31 15:22:22 1993 John Brezak <brezak@apollo.hp.com>
6986 Patches to work with NetBSD.
6988 Thu Dec 30 12:11:55 1993 John Richardson <jrichard@cs.uml.edu>
6990 * [objects/bitblt.c] Added StretchBlt().
6992 Tue Jan 4 05:22:07 1994 julliard@di.epfl.ch (Alexandre Julliard)
6995 Added creation of system message queue.
6997 * [objects/bitmap.c] [objects/dcvalues.c] [windows/dc.c]
6998 Added DC size fields into DC structure.
7000 * [objects/clipping.c]
7001 Bug fix in CLIPPING_IntersectRect().
7004 Allocate a DCE instead of a DC for CS_CLASSDC classes.
7006 * [windows/clipping.c]
7007 Fixed GetUpdateRect() and GetUpdateRgn() to clip to the client area.
7010 Implemented GetDCEx() and GetWindowDC().
7012 * [windows/defwnd.c]
7013 Implemented WM_WINDOWPOSCHANGED handling.
7016 Preliminary support for Xlib event handling instead of Xt callbacks.
7017 Changed MSG_AddMsg() calls to hardware_event() or PostMessage().
7019 * [windows/message.c]
7020 Preliminary support for multiple message queues.
7021 Implemented hardware_event() to store messages into the system queue.
7022 Implemented Get/SetTaskQueue().
7023 Better WM_PAINT and WM_TIMER handling.
7024 Changes to use Xlib instead of Xt for events.
7026 * [windows/painting.c]
7027 Use GetDCEx() to retrieve the DC, to get a correct visible region.
7030 Moved the timer procedure callback into DispatchMessage().
7031 Changed implementation to get rid of Xt timeouts. Timer checking
7032 is now done inside GetMessage().
7035 Allocate a DCE instead of a DC for CS_OWNDC windows.
7036 Replaced Xt calls with Xlib calls.
7037 Moved window positioning functions into windows/winpos.c
7039 * [windows/winpos.c] (New file)
7040 Rewritten most of the window positioning functions.
7041 Implemented SetWindowPos() and MapWindowPoints().
7043 Jan 3, 94 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
7045 * [if1632/user.spec]
7046 Bad arguments description for function SetDlgItemText.
7049 Function DrawText now handle DT_CALCRECT request.
7052 Message boxes now use DrawText with DT_CALCRECT.
7054 * [windows/graphics.c]
7055 Bug fix in function FrameRect, (it was using PEN instead of BRUSH).
7058 Bug fix for flags in function ShowWindow.
7059 More accurate WM_SIZE generated by function ShowWindow.
7061 * [controls/listbox.c]
7062 More code for LBS_MULTIPLESEL.
7063 More code for LBS_MULTICOLUMN.
7065 * [include/windows.h]
7066 Bad define for MF_SEPARATOR.
7069 New functions: PopMenuWndProc() with 'glues',
7070 CreatePopupMenu(), AppendMenu(), InsertMenu(), RemoveMenu(),
7071 DeleteMenu(), ModifyMenu(), TrackPopupMenu().
7072 Code in stubs: CreateMenu(), DestroyMenu().
7074 Sat Jan 1 10:22:43 1994 Bob Amstadt (bob@pooh)
7076 * loader/wine.c: Added support for relocation types 5 and 6.
7078 Mon Dec 27 11:06:03 1993 Erik Bos (erik@trashcan.hacktic.nl)
7081 new functions: BuildCommDCB(), OpenComm(), CloseComm(),
7082 SetCommBreak(), ClearCommBreak(), EscapeCommFunction(), FlushComm(),
7083 GetCommError(), SetCommEventMask(), GetCommEventMask(),
7084 SetCommState(), GetCommState(), TransmitCommChar(), ReadComm(),
7087 Wed Dec 22 13:00:15 1993 David Metcalfe <david@prism.demon.co.uk>
7090 Implemented text caret functions.
7092 Tue Dec 21 06:13:58 1993 julliard@di.epfl.ch (Alexandre Julliard)
7095 Bug fix in LoadImage().
7097 * [objects/bitblt.c] [objects/clipping.c] [objects/text.c]
7098 [windows/dc.c] [windows/dce.c] [windows/graphics.c]
7099 Modified graphics calls to take into account the DC origin.
7101 * [windows/defwnd.c]
7102 Added preliminary WM_NCCALCSIZE handling.
7105 Send WM_NCCALCSIZE message on resize event.
7108 Send WM_NCCALCSIZE message in CreateWindow().
7109 Realize widgets at creation time (should prevent problems with
7110 unrealized widgets).
7112 Dec 19, 93 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
7114 * [controls/static.c]
7115 Send mouse & keyboard message received to its parent.
7117 * [controls/scroll.c]
7118 Send keyboard message received to its parent.
7120 * [controls/listbox.c]
7121 Add Navigation keys .
7122 ListBox now use VSCROLL & HSCROLL instead of children.
7123 Alpha version of LBS_MULTIPLESEL.
7124 Alpha version of LBS_MULTICOLUMN.
7126 * [controls/combo.c]
7127 Add Navigation keys on closed ComboBox.
7128 Remove useless 'COMBOBOX_CreateComboBox' function.
7130 Mon Dec 19 20:39:34 1993 Erik Bos (erik@trashcan.hacktic.nl)
7133 LoadImage() modified to use FindFile().
7141 Dec 13, 93 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
7144 bug fix in GlobalGetFreeSegment : good ptr in 'g_prev'.
7147 preliminary version of a 'glass of wine' bitmap
7150 New function 'GetCapture'.
7152 * [controls/scroll.c]
7153 Remove useless 'SCROLLBAR_CreateScrollBar' function.
7155 * [controls/listbox.c]
7156 Remove useless 'LISTBOX_CreateListBox' function.
7158 Mon Dec 13 13:51:00 1993 David Metcalfe <david@prism.demon.co.uk>
7161 Corrected bugs in GetCharWidth().
7164 Modified EVENT_key to send Windows virtual key codes for
7165 WM_KEYDOWN and WM_KEYUP messages, and a WM_CHAR message
7166 for printable characters.
7168 Wed Dec 08 19:20:00 1993 Karl Guenter Wuensch (hn324wu@unidui.uni-duisburg.de)
7170 * [windows/graphics.c]
7171 Added Polyline and Polygon
7173 Mon Dec 13 14:51:54 1993 Erik Bos (erik@trashcan.hacktic.nl)
7175 * [controls/listbox.c]
7176 ListBoxDirectory() modified to use dos_fs.c's functions to
7177 access files&|drives.
7179 Sat Dec 04 17:04:23 1993 Erik Bos (erik@trashcan.hacktic.nl)
7182 Added FindFile() to search a file in a dos/unix style path.
7185 New Win31 functions: OpenFile, _lcreate, _llseek, GetTempDrive,
7186 GetTempFileName, GetWindowsDirectory, GetSystemDirectory,
7192 Wed Dec 1 16:20:45 1993 Miguel de Icaza (miguel@roxanne.nuclecu.unam.mx)
7195 The Profile functions now return the correct values. They now
7196 implement all the features described in the SDK.
7198 Tue Nov 30 13:55:27 1993 Bob Amstadt (bob at amscons)
7200 * [loader/selector.c]
7201 Rewrote selector aliasing routines to use System V IPC
7202 routine to alias memory segments.
7204 Nov 28, 93 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
7206 * [controls/listbox.c]
7207 More consistency in functions using wIndexes
7209 * [controls/scroll.c]
7210 New function : ShowScrollBar().
7212 * [loader/cursor.c] ... New file
7213 Move cursor functions from [loader/resource.c].
7214 New function : ClipCursor().
7215 New function : GetClipCursor().
7216 New function : CreateCursor().
7217 SetCursor() now working using gloabal variable 'winHasCursor'.
7220 New stub only : SelectPalette().
7221 New stub only : RealizePalette().
7224 New function : EVENT_enter_notify(),
7225 update 'winHasCursor' and send WM_SETCURSOR.
7228 Add processing of WM_SETCURSOR message.
7231 New members in WND structure : hCursor, hWndVScroll & hWndHScroll.
7232 CreateWindowEx() now create children for WM_HSCROLL & WM_VSCROLL.
7233 New function ClientToScreen().
7234 New function ScreenToClient().
7236 Mon Nov 25 18:25:40 1993 Erik Bos (erik@trashcan.hacktic.nl)
7238 * [files.h / regfunc.h / misc/dos.c]
7242 Added support for loading dosdrive cfg from wine.ini.
7248 Wed Nov 24 11:37:33 1993 julliard@disuns2.epfl.ch (Alexandre Julliard)
7250 * [include/atom.h] [memory/atom.c]
7254 Modified RegisterClass() to use atoms.
7255 Implemented CS_GLOBALCLASS style.
7257 * [windows/message.c]
7258 Implemented RegisterWindowMessage().
7260 * [loader/resource.c]
7261 Bug fix in LoadResource().
7263 * [windows/dialog.c]
7264 Modified CreateDialogParam() to use Find/LoadResource().
7266 Mon Nov 22 13:58:56 1993 David Metcalfe <david@prism.demon.co.uk>
7268 * [windows/scroll.c]
7269 Preliminary implementations of ScrollWindow, ScrollDC and
7272 Nov 21, 93 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
7274 * [controls/listbox.c]
7275 Optimization of redraw during 'Add' or 'Insert'.
7277 * [controls/scroll.c]
7278 Optimization of WM_PAINT during 'thumbtracking'.
7280 * [controls/button.c]
7281 Add of beta implement of 'BS_OWNERDRAW'
7283 * [controls/static.c]
7284 Style 'SS_ICON' new supported.
7287 Begin of implemantation of MB_XXX styles.
7289 * [loader/resource.c]
7290 Function LoadIcon() : now prepare transparency Bitmap mask.
7291 Function LoadCursor() : now prepare a 'X pixmapcursor'.
7292 New function SetCursor() : not finished.
7293 New function ShowCursor() : not finished.
7294 New function AccessResource() : stub.
7297 Function DrawIcon(): deugging phase of icon transparency mask.
7299 * [loader/library.c]
7300 new file for news functions LoadLibrary() & FreeLibrary().
7303 Resources only 16bits DLL for System Resources, icons, etc...
7305 Sun Nov 14 14:39:06 1993 julliard@di.epfl.ch (Alexandre Julliard)
7307 * [include/dialog.h] [windows/dialog.c]
7308 Simplified dialog template parsing.
7309 Implemented DialogBoxIndirect().
7312 Fixed bug in CreateWindow() when aborting window creation.
7313 Modified UpdateWindow() to only update visible windows.
7314 Implemented IsWindow().
7316 Nov 14, 93 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
7318 * [controls/listbox.c]
7319 Listbox control window : new messages.
7321 * [controls/combo.c]
7322 Combo box control window : new messages.
7325 Moved stub MessageBox() to this new file.
7326 Implemented of a callback, now MessageBox show a window.
7328 * [loader/resource.c]
7329 New function DestroyIcon()
7330 New function DestroyCursor()
7331 Filled stub LoadIcon()
7332 Filled stub LoadCursor()
7333 Bug fixed in FindResourceByName() : missing lseek().
7336 New function DrawIcon()
7339 New function CloseWindow()
7340 New function OpenIcon()
7341 New function IsIconic()
7342 New Function FindWindow()
7344 Sun Nov 14 08:27:19 1993 Karl Guenter Wuensch (hz225wu@unidui.uni-duisburg.de)
7346 * [loader/selector.c]
7347 Wrote AllocCStoDSAlias() and AllocDStoCSAlias()
7349 Sun Nov 14 08:27:19 1993 Bob Amstadt (bob at amscons)
7351 * [loader/selector.c]
7352 Wrote AllocSelector() and PrestoChangoSelector(). YUK!
7354 Sat Nov 13 13:56:42 1993 Bob Amstadt (bob at amscons)
7356 * [loader/resource.c]
7357 Wrote FindResource(), LoadResource(), LockResource(),
7360 * [include/segmem.h] [loader/selector.c] [loader/signal.h]
7361 Changed selector allocation method.
7363 Sun Nov 10 08:27:19 1993 Karl Guenter Wuensch (hz225wu@unidui.uni-duisburg.de)
7365 * [if1632/callback.c if1632/call.S if1632/user.spec]
7366 added Catch (KERNEL.55) and Throw (KERNEL.56)
7368 Nov 7, 93 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
7370 * [controls/scroll.c]
7371 Scroll bar control window
7372 Bug resolved : Painting message before scroll visible.
7374 * [controls/listbox.c]
7375 Listbox control window
7378 * [controls/combo.c]
7379 Combo box control window
7382 * [controls/button.c]
7383 GetCheck Message now return is state.
7386 New function IsWindowVisible()
7388 Mon Nov 1 14:40:21 1993 julliard@di.epfl.ch (Alexandre Julliard)
7390 * [if1632/user.spec]
7391 Removed some duplicate entries.
7393 * [include/dialog.h] [windows/dialog.c]
7394 Implemented dialog units and fonts.
7395 Added preliminary loading of dialog resources.
7396 Preliminary implementation of DialogBox().
7397 Implemented Get/SetDlgItem* functions.
7400 Implemented WM_PARENTNOTIFY message.
7401 Implemented CreateWindowEx() and GetWindow().
7402 Completed DestroyWindow().
7404 Mon Nov 1 18:19:34 1993 Erik Bos
7407 Added support for int 0x11 & 0x12.
7410 Improved function handling.
7412 Sun Oct 31 12:38:09 1993 David Metcalfe <david@prism.demon.co.uk>
7415 Implemented GetCharWidth().
7417 Wed Oct 27 09:56:06 1993 John Brezak <brezak@ch.hp.com>
7422 * [include/int21.h include/wine.h]
7423 Change sc_eflags to sc_efl .
7426 Fix misplaced #endif
7427 Include <signal.h> for NetBSD
7430 Don't include <sys/vfs.h> in NetBSD
7431 Do include <sys/mount.h> in NetBSD
7434 Mon Oct 26 17:59:01 1993 Erik Bos
7440 Added support for many dos ints.
7442 * [misc/file.c] [include/files.h]
7443 Moved OPEN_MAX and DosDriveStruct to files.h.
7445 Sun Oct 24 13:36:50 1993 David Metcalfe <david@prism.demon.co.uk>
7447 * [controls/button.c]
7448 Implemented CHECKBOX, AUTOCHECKBOX, 3STATE, AUTO3STATE,
7449 RADIOBUTTON, AUTORADIOBUTTON, GROUPBOX controls, together with
7450 a preliminary USERBUTTON control.
7453 Corrected bugs in TEXT_NextLine() and added handling of prefix
7456 * [controls/button.c]
7457 Disabled focus handling by commenting out SetFocus() calls until
7458 serious bug can be found.
7460 Oct 20, 93 martin2@trgcorp.solucorp.qc.ca (Martin Ayotte)
7462 * [controls/listbox.c]
7463 Listbox control window
7464 Painting cleanup, new messages processed.
7466 * [controls/scroll.c]
7467 Scroll bar control window
7470 * [controls/combo.c]
7471 Combo box control window
7474 Tue Oct 12 17:50:11 1993 julliard@di.epfl.ch (Alexandre Julliard)
7476 * [objects/color.c] [objects/palette.c] [windows/syscolor.c]
7477 Better support for the private color map.
7478 Using a private map is now the default.
7483 * [include/dialog.h] [windows/dialog.c]
7484 Implemented CreateDialog*() and IsDialogMessage().
7486 * [misc/xt.c] [windows/defwnd.c]
7487 Moved DefWindowProc() to defwnd.c.
7488 Added WM_NCCREATE, WM_NCDESTROY and WM_CTLCOLOR handling.
7490 * [windows/defdlg.c]
7491 Started the implementation of DefDlgProc().
7494 Added WM_NCCREATE and WM_NCDESTROY messages.
7495 Implemented IsChild().
7497 Tue Oct 12 17:50:20 1993 David Metcalfe <david@prism.demon.co.uk>
7500 Implemented GetFocus() and SetFocus().
7503 Added processing of FocusIn and FocusOut events.
7505 * [windows/graphics.c]
7506 Added DrawFocusRect().
7508 Sat Oct 9 14:36:57 1993 Erik Bos
7511 Added more function handling.
7513 Wed Oct 6 12:21:22 1993 Erik Bos
7516 Split signal.c into int1a.c, int21.c and signal.c.
7518 Tue Oct 5 22:12:40 1993 David Metcalfe
7520 * [controls/static.c] [control/widgets.c]
7521 Static control class.
7524 Added processing of additional DT_ flags to DrawText().
7526 * [windows/win.c] [misc/xt.c]
7527 Added SetWindowText() and WM_SETTEXT processing.
7529 Tue Oct 5 22:12:40 1993 Martin Ayotte
7531 * [controls/listbox.c]
7532 Listbox control window
7534 * [controls/scroll.c]
7535 Scroll bar control window
7537 * [controls/combo.c]
7538 Combo box control window
7541 Combo box definitions
7543 * [include/listbox.h]
7546 * [include/scroll.h]
7547 Scroll bar definitions
7549 Sat Oct 2 09:35:54 1993 Bob Amstadt (bob at pooh)
7551 * [if1632/callback.c]
7552 Fixed bug in MakeProcInstance().
7555 Changed x/w and x/b to display in hex.
7557 * [debugger/i386-pinsn.c]
7558 Added code to properly unassemble 16-bit indexing.
7560 Fri Oct 1 08:29:05 1993 Bob Amstadt (bob at pooh)
7562 * [loader/files.c] [misc/profile.c]
7563 System initialization file is now called "wine.ini" and can
7564 be located in the current directory, the user's home directory,
7565 or any directories specified in the WINEPATH environment variable.
7567 * [tools/build.c] [if1632/call.S] [include/regfunc.h]
7568 Changed register function stack to match sigcontext structure.
7570 Thu Sep 30 22:30:21 1993 Bob Amstadt (bob at pooh)
7573 Created function to search a path for files to load.
7576 Modified exe and dll file loading to search through path
7577 specified by the environment variable WINEPATH.
7579 Thu Sep 30 22:30:21 1993 Eric Youngdale
7584 Thu Sep 30 22:30:21 1993 John Brezak
7586 * [debugger/dbg.y] [debugger/debug.l] [debugger/dtest.c]
7587 [debugger/obstack.h]
7588 Updates to allow debugger to function under NetBSD.
7590 Tue Sep 28 19:59:21 1993 David Metcalfe
7593 Implemented support for windows with no borders. Added
7594 GetParent(), GetDlgCtrlID(), GetWindowText() and
7595 GetWindowTextLength() functions.
7598 Added processing of WM_GETTEXT and WM_GETTEXTLENGTH messages
7599 to DefWindowProc and Implemented MessageBeep().
7601 * [windows/syscolor.c]
7602 Added preliminary system color support.
7604 * [controls/button1.c]
7605 Mods to new button control and integration with Wine.
7607 Tue Sep 28 19:59:21 1993 Johannes Ruscheinski
7609 * [controls/button1.c]
7610 New button control using GDI functions.
7612 Tue Sep 28 19:59:21 1993 Eric Youngdale
7615 Added debugging capabilities to Wine
7617 Sat Sep 25 13:22:50 1993 Alexandre Julliard (julliard@di.epfl.ch)
7619 * [objects/region.c]
7622 Fri Sep 24 07:35:11 1993 Bob Amstadt (bob at pooh)
7625 Changed the entry point code to reduce the standard entry
7626 point size from 22 bytes to 10 bytes. This leaves about
7627 4000 free entry points instead of the 800 in version 0.4.2.
7629 * [loader/resource.c]
7630 Rewrote functions to allow loading of resources from any
7633 * [loader/wine.c] [include/wine.h]
7634 Added functions GetFilenameFromInstance() and GetFileInfo()
7635 to search for a loaded file based on its instance handle.
7636 Added a field in struct w_files to make searching by an instance
7639 Tue Sep 21 09:57:01 1993 miguel@roxanne.nuclecu.unam.mx (Miguel de Icaza)
7642 Implementation of .INI file handling
7644 Mon Sep 20 10:54:32 1993 David Metcalfe
7646 * [misc/profile.c.old]
7647 Implementation of .INI file handling
7649 Mon Sep 20 10:54:32 1993 John Brezak
7651 * [controls/WinButton.c]
7652 Bug fix with call to XtVaSetValues.
7654 Mon Sep 20 10:54:32 1993 Alexandre Julliard
7657 Quick patch to get colormaps to work with button widget.
7659 Mon Sep 20 02:42:54 1993 (yngvi@hafro.is)
7662 Ifdefed out some bogus Ansi<->Oem conversion functions
7665 New file with string functions like lstr* IsChar* *Ansi*
7667 Wed Sep 15 20:35:10 1993 John Brezak
7670 Additional changes to support NetBSD.
7672 Wed Sep 15 22:19:22 1993 Martin Ayotte
7674 * [windows/graphics.c]
7675 Added FrameRect function
7677 Tue Sep 14 13:54:45 1993 Alexandre Julliard
7679 * [objects/color.c] [objects/palette.c]
7680 Preliminary support for private color map.
7683 Implemented CS_CLASSDC style.
7686 Moved DCEs to USER heap.
7687 Implemented class and window DCs.
7690 Implemented CS_DBLCLKS style.
7692 * [windows/graphics.c]
7693 Bug fix in SetPixel().
7696 Implemented CS_OWNDC style.
7697 Implemented Get/SetWindowLong().
7699 * [controls/menu.c] [windows/class.c] [windows/clipping.c]
7700 [windows/dce.c] [windows/message.c] [windows/win.c]
7701 Moved windows from global heap to USER heap.
7703 Mon Sep 13 05:00:11 1993 Eric Youngdale
7705 * [Makefile] [if1632/relay.c] [include/dlls.h] [selector.c]
7706 [loader/wine.c] [tools/build.c]
7707 Added ability to generate missing functions statistics.
7709 Mon Sep 13 12:09:47 1993 Scott A. Laird (scott@curly)
7714 * [if1632/kernel.spec]
7715 Added definitions for GetProfile{Int,String} and SetHandleCount.
7717 * [if1632/keyboard.spec]
7718 Created interface specification for Keyboard driver DLL.
7721 Added keyboard.dll to list of included DLLs.
7723 * [if1632/user.spec]
7724 Added LoadAccelerators definition.
7726 * [loader/resource.c]
7727 Added LoadAccelerators stub.
7730 Changed OpenFile, and added SetHandleCount (for winfile.exe)
7733 Added keyboard code.
7735 * [misc/profile.c] [misc/xt.c]
7736 Moved GetPrivateProfile* commands here, and added GetProfile*
7739 Mon Sep 13 10:24:37 1993 Andrew Bulhak
7741 * [windows/utility.c]
7742 Implemented MulDiv(), OutputDebugString() and wvsprintf()
7744 Fri Sep 10 09:13:30 1993 John Brezak
7747 Created patch to allow BSD make to build wine.
7750 Fixed NULL pointer reference.
7752 * [windows/message.c] [misc/xt.c]
7753 Defined HZ to handle system specific timing.
7755 * [windows/graphics.c]
7758 * [objects/pallete.c]
7759 NetBSD does not have /usr/include/values.h and MAXINT is INT_MAX.
7761 * [dump.c] [ldt.c] [wine.c]
7762 ifdef'ed linux headers for linux compile.
7765 Add NetBSD system calls when compiled on that system.
7767 * [loader/selector.c]
7768 Use mmap(MAP_ANON, ...) for NetBSD.
7771 Fixed selector assumptions.
7773 Thu Sep 9 20:01:37 1993 David Metcalfe
7775 * [controls/WinButton*] [controls/button.c] [controls/widget.c]
7776 [windows/win.c] [windows/class.c]
7777 Added 3D button control and tied into CreateWindow()
7779 Thu Sep 9 07:35:24 1993 Scott Laird
7781 * [if1632/sound.spec]
7782 Created interface specification for SOUND DLL.
7784 * [if1632/win87em.spec]
7785 Added more functions to the WIN87EM DLL interface specification
7788 Created stubs for the new math emulation functions.
7791 Created stubs for the SOUND DLL.
7793 Sun Sep 5 21:02:10 1993 John Burton
7795 * [if1632/kernel.spec]
7796 Added interface specifications for OpenFile, _lclose, _lread, _lopen,
7799 * [include/windows.h]
7803 Implemented OpenFile, _lclose, _lread, _lopen and _lwrite.
7805 Fri Sep 3 18:47:03 1993 Alexandre Julliard
7813 Fri Sep 3 18:47:03 1993 Bob Amstadt
7815 * [objects/linedda.c]
7818 Fri Sep 3 11:52:18 1993 Bob Amstadt
7821 Changed to use CallWindowProc() rather directly calling callback.
7824 Implemented SetCapture() and ReleaseCapture()
7826 * [windows/keyboard.c]
7827 Created stub for GetKeyState()
7829 * [objects/linedda.c]
7830 Created stub for LineDDA()
7832 * [if1632/callback.c]
7833 Created callback handler for LineDDA callback procedure.
7835 * [if1632/callback.c]
7836 Created FreeProcInstance()
7838 Fri Sep 3 08:36:52 1993 David Metcalfe
7841 Patch to and code for INT 1A
7843 Thu Sep 2 00:31:54 1993 Alexandre Julliard
7845 * [objects/font.c] [objects/text.c]
7846 More text support: implemented justification and underlining.
7848 * [windows/clipping.c] [objects/clipping.c]
7849 Moved low-level clipping functions to objects/clipping.c.
7851 * [windows/clipping.c] [windows/event.c] [windows/message.c]
7852 Implemented window update regions.
7854 * [windows/dc.c] [objects/dcvalues.c]
7855 Moved some device-independent DC functions to objects/dcvalues.c.
7857 * [windows/graphics.c]
7858 Implemented InvertRect() and GetPixel().
7860 Sat Aug 28 08:40:23 1993 Eric Youngdale
7862 * [include/neexe.h] [loader/wine.c]
7863 Added code to handle relocation type 4.
7865 * [loader/signal.h] [loader/wine.c] [loader/selector.c]
7866 Added support for dos interrupts.
7868 Thu 26 Aug 19:15:00 1993 Eric Youngdale
7870 * [loader/selector.c]
7871 Fixed bug dealing with loading DLLs.
7873 Thu Aug 26 19:22:40 1993 Alexandre Julliard
7875 * [include/gdi.h] [objects/font.c] [windows/dc.c]
7876 Beginning of real font support.
7878 * [windows/graphics.c]
7879 Implemented PatBlt().
7882 Corrected a bug with linked list handling in GlobalAlloc().
7884 * [objects/bitmap.c]
7885 Corrected a bug in BITMAP_SelectObject().
7887 Tue Aug 24 19:22:40 1993 David Metcalfe
7889 * [controls/Command*] [controls/Label*] [controls[MenuButto*]
7890 [controls/SmeMenuButt*]
7891 Change code to support & as a special character in menu item text.
7893 Tue Aug 24 19:22:40 1993 Alexandre Julliard
7895 * [include/gdi.h] [windows/dc.c]
7896 Heavily modified the DC structure for better device-independence.
7898 * [objects/bitmap.c]
7899 Implemented bitmap dimensions.
7901 * [windows/dc.c] [windows/dce.c]
7902 Implemented DC state saving and restoring.
7905 Implemented ROP mode.
7907 * [windows/graphics.c]
7908 Implemented FillRect().
7910 Mon Aug 23 22:08:34 1993 Bob Amstadt (bob at pooh)
7913 Fixed bug in InvalidateRect(). Solitaire attempted to
7914 clear window before it was realized.
7916 * [loader/resource.c]
7917 Began rewrite of LoadBitmap().
7920 Fixed code which set Argv and Argc global variables.
7922 * [loader/selector.c]
7923 Added code to set up command line arguments.
7926 Fixed error in PSP structure.
7928 Tue Aug 17 20:41:12 1993 Alexandre Julliard
7930 * [include/gdi.h] [windows/dc.c]
7931 Implemented device capabilities.
7933 * [objects/region.c]
7934 Implemented EqualRgn() and CombineRgn().
7936 * [windows/clipping.c]
7937 Implemented Save/RestoreVisRgn().
7939 * [windows/graphics.c]
7940 Implemented PaintRgn() and FillRgn().
7942 * [windows/mapping.c]
7943 Implemented mapping modes.
7945 Tue Aug 10 14:07:38 1993 Alexandre Julliard
7947 * [if1632/user.spec] [misc/rect.c]
7948 Implemented rectangle API functions.
7950 * [if1632/gdi.spec] [include/gdi.h] [objects/region.c]
7951 Implemented regions.
7954 Corrected a typo in UnregisterClass().
7956 * [windows/clipping.c] [windows/dc.c]
7957 Implemented DC clipping and visible region.
7959 Tue Aug 10 20:57:56 1993 Bob Amstadt (bob at pooh)
7961 * [controls/menu.c] [windows/win.c]
7962 SetMenu(), GetMenu(), CheckMenuItem() implemented
7964 Thu Aug 5 22:33:22 1993 Bob Amstadt (bob at pooh)
7966 * [controls/menu.c] [windows/win.c]
7967 Many improvements menus. LoadMenu() should work.
7969 Wed Aug 4 14:55:36 1993 Alexandre Julliard
7972 Started the implementation of device-independent bitmaps.
7974 * [objects/bitmap.c]
7975 Added support for multiple bitmap depths.
7978 Implemented pattern brushes.
7980 * [windows/dc.c] [windows/graphics.c]
7981 Implemented some GDI graphics primitives.
7983 Tue Aug 3 21:16:47 1993 Bob Amstadt (bob at pooh)
7985 * [controls/menu.c] [windows/win.c] [include/menu.h]
7986 Code to load class menus from executable file.
7988 * [if1632/user.spec]
7989 Fixed specification of SendMessage() and PostMessage.
7991 Mon Jul 26 21:53:24 1993 Alexandre Julliard
7994 Corrected a bug in KERNEL_InitTask().
7996 * [include/windows.h]
7997 Added a lot of constants.
7999 * [loader/selector.c]
8000 Corrected a bug in segment allocation in CreateSelectors().
8002 * [objects/bitmap.c]
8003 Implemented SelectObject() for bitmaps.
8006 Implemented hatched brushes and SelectObject().
8008 * [objects/gdiobj.c]
8009 Removed linked list (not needed).
8011 * [objects/palette.c]
8012 Implemented system palette creation and misc. palette API functions.
8018 Implemented memory device contexts.
8020 Tue Jul 20 10:38:59 1993 Bob Amstadt (bob at pooh)
8023 Split DOS3Call() out of kernel.c. Added support for get date
8027 Added function ReturnFromRegisterFunc() to allow DOS calls
8028 to return values in registers.
8031 Macros to access registers saved on stack.
8033 Tue Jul 20 10:38:59 1993 Alexandre Julliard
8036 Corrected allocation of the WM_CREATE data structure.
8039 Implemented DCE handling.
8041 * [bitmap.c] [brush.c] [dc.c] [font.c] [gdi.h] [gdi.spec]
8042 [gdiobj.c] [palette.c] [pen.c]
8043 Implemented the GDI objects data structures and allocation.
8046 Added several structures and constants for GDI objects.
8048 Mon Jul 19 12:51:10 1993 Bob Amstadt (bob at pooh)
8051 Modified system calls to match Linus' new interface for
8052 the LDT modification.
8055 Fixed bug with WM_CREATE message.
8057 * [heap.c] [kernel.spec]
8058 Completed local heap allocation functions.
8061 Created function GlobalQuickAlloc() for easy allocation from DLLs
8063 Tue Jul 13 20:31:31 1993 Bob Amstadt (bob at pooh)
8066 Completed global memory pool API
8068 Sun Jul 11 16:59:52 1993 Alexandre Julliard
8070 * [message.c] [user.c] [user.spec] [windows.h]
8071 Added emulation of Windows message queue.
8073 Thu Jul 8 19:29:27 1993 Bob Amstadt (bob at pooh)
8075 * [build.c] Original by Bob Amstadt
8076 * [callback.c] Original by Bob Amstadt, updates by
8078 * [dump.c] Original by Bob Amstadt
8079 * [global.c] Original by Bob Amstadt
8080 * [heap.c] Original by Bob Amstadt
8081 * [kernel.c] Original by Bob Amstadt
8082 * [ldt.c] Original by Bob Amstadt
8083 * [ldtlib.c] Original by Bob Amstadt
8084 * [relay.c] Original by Bob Amstadt
8085 * [resource.c] Original by Bob Amstadt, updates by
8087 * [selector.c] Original by Bob Amstadt, updates by Eric Youngdale
8088 * [user.c] Original by Bob Amstadt
8089 * [wine.c] Original by Bob Amstadt, updates by Eric Youngdale and
8091 * [wintcl.c] Original by Regents of the University of California,
8092 updates by Peter MacDonald and Alexandre Julliard
8093 * [callback.h] Original by Bob Amstadt
8094 * [dlls.h] Original by Bob Amstadt
8095 * [heap.h] Original by Bob Amstadt
8096 * [neexe.h] Original by Bob Amstadt
8097 * [prototypes.h] Original by Bob Amstadt, updates by
8099 * [segmem.h] Original by Bob Amstadt
8100 * [tkInt.h] Original by Regents of the University of California
8101 * [windows.h] Original by Peter MacDonald, updates by
8102 Alexandre Julliard and Bob Amstadt
8103 * [wine.h] Original by Eric Youngdale
8104 * [kernel.spec] Original by Bob Amstadt, updates by
8106 * [gdi.spec] Original by Bob Amstadt, updates by
8108 * [shell.spec] Original by Bob Amstadt
8109 * [unixlib.spec] Original by Bob Amstadt
8110 * [user.spec] Original by Bob Amstadt, updates by Alexandre Julliard
8111 * [win87em.spec] Original by Bob Amstadt
8112 * [Windows.tcl] Original by Peter MacDonald, updates by
8114 * [build-spec.txt] Original by Bob Amstadt
8115 * [if1632.S] Original by Bob Amstadt, updates by Eric Youngdale