Patrik Stridvall [Thu, 11 May 2000 21:48:28 +0000 (21:48 +0000)]
Fixed some debug messages.
Patrik Stridvall [Thu, 11 May 2000 21:46:51 +0000 (21:46 +0000)]
Fixed issues found by winapi_check.
Patrik Stridvall [Thu, 11 May 2000 21:46:17 +0000 (21:46 +0000)]
- Check for missing modules in modules.dat.
- New options --debug-messages for debug message checking (turned off
by default)
- Do not discard the argument name (use in debug message checking)
- Improved parsing
- Minor bug fixes
Marcus Meissner [Thu, 11 May 2000 21:45:09 +0000 (21:45 +0000)]
Fixed asm() constraints.
Eric Pouech [Thu, 11 May 2000 21:43:43 +0000 (21:43 +0000)]
Fixed %p in printf (now using wsprintf which doesn't support it).
Added ThreadId and ProcessId internal vars.
Allow at startup to pick up a process to debug.
Eric Pouech [Thu, 11 May 2000 21:42:52 +0000 (21:42 +0000)]
Fixed division by zero.
Eric Pouech [Thu, 11 May 2000 21:42:12 +0000 (21:42 +0000)]
Fixed some quirks (range is 32 bit, page up/dn mismatch on HZ trackbars).
Ove Kaaven [Thu, 11 May 2000 21:41:15 +0000 (21:41 +0000)]
Scroll off-screen controls when scroll rectangle is NULL.
Ken Thomases [Thu, 11 May 2000 21:40:36 +0000 (21:40 +0000)]
Implemented tab control style TCS_HOTTRACK (tabs are highlighted on
mouse-over).
Aric Stewart [Thu, 11 May 2000 21:39:45 +0000 (21:39 +0000)]
Remove the background from the new image when it is being replaced
with a ReplaceImage.
Bernd Herd [Thu, 11 May 2000 00:10:36 +0000 (00:10 +0000)]
Make sure hInstance is a proper global handle and not a selector
value.
Alexandre Julliard [Thu, 11 May 2000 00:09:29 +0000 (00:09 +0000)]
Jean-Claude Batista
PrintDialog now creates a DC when receiving a PD_RETURNDC flag.
Aric Stewart [Thu, 11 May 2000 00:07:44 +0000 (00:07 +0000)]
Clean up the drawing code after a label update. There were problems if
the new label is shorter that the old label fragments of the old label
were left drawn.
Guy Albertelli [Thu, 11 May 2000 00:06:38 +0000 (00:06 +0000)]
Clear menu handle after destroying menu.
Guy Albertelli [Thu, 11 May 2000 00:06:11 +0000 (00:06 +0000)]
Revalidate menu handle in mt.hTopMenu after DispatchMessage.
Bernd Herd [Thu, 11 May 2000 00:05:22 +0000 (00:05 +0000)]
Pass CTLDATA as SEGPTR for 16-bit programs.
Alexander Frink [Thu, 11 May 2000 00:04:36 +0000 (00:04 +0000)]
Prevent possible NULL pointer access.
Aric Stewart [Wed, 10 May 2000 21:54:07 +0000 (21:54 +0000)]
- Wine was passing the wrong hwnd as the owner when processing owner
drawn menubars.
- When doing MENU_CalcItemSize for the menu bar we were not properly
padding the returned rect.
Aric Stewart [Wed, 10 May 2000 21:53:19 +0000 (21:53 +0000)]
Allow the user to cancel label editing with esc and confirm with return.
Ken Thomases [Wed, 10 May 2000 21:42:53 +0000 (21:42 +0000)]
Restore accidentally undone changes.
Aric Stewart [Wed, 10 May 2000 21:42:21 +0000 (21:42 +0000)]
- Wine was not properly reporting back the edited label to the
application in a treeview when the label is a callback.
- Because windows applications assume they get a new edit control
every time they often subclass that edit box willy-nilly and do not
clean up. So it is necessary to actually give them a new edit control
each time.
Aric Stewart [Wed, 10 May 2000 21:40:49 +0000 (21:40 +0000)]
- Cleaned up some of the drawing code, specifically dealing with
avoiding trying to draw invalid bitmaps.
- Avoid directly calling drawing functions instead invalidating rects
and relying on WM_PAINT.
- For the dropdown event check the button style as opposed to the
toolbar style.
Eric Pouech [Wed, 10 May 2000 21:39:24 +0000 (21:39 +0000)]
Make internal buffers size multiple of 4.
Guy L. Albertelli [Wed, 10 May 2000 21:39:00 +0000 (21:39 +0000)]
Verify the menu handle is non-zero prior to use.
Ken Thomases [Wed, 10 May 2000 21:38:37 +0000 (21:38 +0000)]
Fixed to display popup-menu arrow on owner-drawn popup menus.
Fixed positioning of submenus relative to parent menus.
Alexandre Julliard [Wed, 10 May 2000 04:43:32 +0000 (04:43 +0000)]
Specify the service thread timers in ms instead of us.
Alexandre Julliard [Wed, 10 May 2000 03:48:00 +0000 (03:48 +0000)]
Reserve space for the PE header at the start of the .so file.
Store the export table inside the data section so that sections can be
properly aligned.
Build the relay function table directly in the .spec.c file.
Moved relay debugging functions to relay386.c.
Gerard Patel [Wed, 10 May 2000 01:34:53 +0000 (01:34 +0000)]
Protect against use of comctl32 private control memory after it has
been freed.
Aric Stewart [Wed, 10 May 2000 01:33:20 +0000 (01:33 +0000)]
Some programs switch their status bar back and forth from simple mode
while running. This fix corrects drawing and text setting problems that
result from this behavior.
Alexandre Julliard [Tue, 9 May 2000 22:38:19 +0000 (22:38 +0000)]
Fixed HeapAlloc(HEAP_ZERO_MEMORY) to clear the whole allocated block.
Various optimizations.
Eric Pouech [Tue, 9 May 2000 22:35:47 +0000 (22:35 +0000)]
Changed WAVEHDR notification heuristic.
Added preliminary support for loops in WAVEHDRs.
Fixed issues when mixing open and getCaps calls.
Bertho Stultiens [Tue, 9 May 2000 22:35:10 +0000 (22:35 +0000)]
- Bugfix: Corrected a SEGV in the rawdata handling. Mistakingly took the
address of a pointer instead of its value. This probably slipped in
during the merge of my tree into the winetree.
Lesson learned: always double check.
- Verified most resources so that win16 compile also generates correct
output for reversed endian.
- Implemented byte-ordering for resources. All resources can be forced
to be little-, big- or native endian with command-line option -B.
- Reading resources from .res-files are only accepted in native byte-
ordering so that no additional semantic analysis is required.
- Resource directory is still written in native-only format, including
the strings.
- Wrc is now installed through the makefile with 'make install' and also
uninstalled with 'make uninstall'.
- Wrote a man-page for better reference. The manpage also gets installed
and uninstalled.
- Cleaned up the namespace a bit by more agressive use of static.
Aric Stewart [Tue, 9 May 2000 22:33:48 +0000 (22:33 +0000)]
Added the ability to use multiline tab controls to wine.
Marcus Meissner [Tue, 9 May 2000 22:33:12 +0000 (22:33 +0000)]
Number of surface Lock/Unlocks must NOT match, so do NOT use it for
reference counting.
Ove Kaaven [Tue, 9 May 2000 22:32:42 +0000 (22:32 +0000)]
Update for new Wine features; use ttydrv instead of x11drv when
running regapi, and set correct winedbg path in the registry.
Ove Kaaven [Tue, 9 May 2000 22:32:25 +0000 (22:32 +0000)]
Fixed jump_alias for non-PIC, and disabled it for PIC, since it
doesn't work for PIC right now. This fixes current crashing sigaction
calls.
Eric Pouech [Tue, 9 May 2000 22:32:01 +0000 (22:32 +0000)]
Fixed x /s command.
Andreas Mohr [Tue, 9 May 2000 22:31:43 +0000 (22:31 +0000)]
Added some reg temp file clutter check (more than 100 temp files in
~/.wine).
Marcus Meissner [Sun, 7 May 2000 20:24:08 +0000 (20:24 +0000)]
SetImageBits_8: added ->15 conversion in optimized assembler.
Alexandre Julliard [Sun, 7 May 2000 20:23:41 +0000 (20:23 +0000)]
Jean-Claude Batista
Wraps some RichEdit control functionality on an Edit control. It uses
a free implementation of an RTF parser written by Paul DuBois
http://www.primate.wisc.edu/software/RTF/ which I modified a bit to
work with the control.
Alexandre Julliard [Sun, 7 May 2000 18:41:59 +0000 (18:41 +0000)]
Do not send WM_SIZING to 16-bit windows.
Alexandre Julliard [Sun, 7 May 2000 18:41:15 +0000 (18:41 +0000)]
Cleaned up local heap initialisation.
Alexandre Julliard [Sun, 7 May 2000 18:39:28 +0000 (18:39 +0000)]
Moved Load/FreeLibrary16 definition to winbase16.h.
Dimitrie O. Paun [Sun, 7 May 2000 18:30:44 +0000 (18:30 +0000)]
Separate OLE2NLS out of KERNEL.
Patrik Stridvall [Sun, 7 May 2000 18:28:18 +0000 (18:28 +0000)]
- Check for missing modules in modules.dat.
- Minor bug fixes
Alexandre Julliard [Sun, 7 May 2000 18:27:57 +0000 (18:27 +0000)]
Jean-Claude Batista (Macadamian/Corel)
Top-down images have a negative biHeight, the scanlines of theses
images were inverted in X11DRV_DIB_GetImageBits_xx. To prevent this I
simply changed the sign of lines, the scanlines were correctly handled
afterwards
Marcus Meissner [Sun, 7 May 2000 18:27:28 +0000 (18:27 +0000)]
Old versions of glibc might not have STN_UNDEF defined.
Gerard Patel [Sun, 7 May 2000 18:26:19 +0000 (18:26 +0000)]
Revert the test for Virtual_HandleFault in ReadFile/WriteFile.
Gerard Patel [Sun, 7 May 2000 18:25:56 +0000 (18:25 +0000)]
Set the itemID member of the DRAWITEMSTRUCT to the number of the
status part painted.
Gerard Patel [Sun, 7 May 2000 18:25:33 +0000 (18:25 +0000)]
Always calls SetMenu in MDISetMenu.
Dimitrie O. Paun [Sun, 7 May 2000 18:25:04 +0000 (18:25 +0000)]
Small debug channel cleanup.
Chris Morgan [Sun, 7 May 2000 18:24:36 +0000 (18:24 +0000)]
Fixed scrolling bug.
Chris Morgan [Sun, 7 May 2000 18:24:10 +0000 (18:24 +0000)]
Implemented ListView_SetHoverTime(), ListView_GetHoverTime(), initial
support for the LVS_EX_TRACKSELECT flag. Added code to delete items
in LISTVIEW_SetItemCount().
Aric Stewart [Fri, 5 May 2000 18:28:10 +0000 (18:28 +0000)]
Added WM_SIZING message support.
Rob Farnum [Fri, 5 May 2000 18:25:29 +0000 (18:25 +0000)]
Removed warnings from freeing path in DeleteDC.
Aric Stewart [Fri, 5 May 2000 18:22:44 +0000 (18:22 +0000)]
Fixed a bug with the processing of HitTest.
Susan Farley [Fri, 5 May 2000 18:21:02 +0000 (18:21 +0000)]
Handle ^C, ^V and ^X in an edit control properly.
Huw D M Davies [Fri, 5 May 2000 18:19:03 +0000 (18:19 +0000)]
Strip the $$$PROTO.HIV bit from win2k SYSTEM and SOFTWARE hives.
Huw D M Davies [Fri, 5 May 2000 18:18:31 +0000 (18:18 +0000)]
Fixed DC leak.
Stephane Lussier [Fri, 5 May 2000 18:17:52 +0000 (18:17 +0000)]
If we do not find a resource for both (primary lang|sub lang), we try
just (primary lang) before using the default.
Sheri Steeves [Fri, 5 May 2000 18:16:35 +0000 (18:16 +0000)]
Worked around some tooltips hide problems by checking the current tooltip.
Andreas Mohr [Fri, 5 May 2000 18:15:34 +0000 (18:15 +0000)]
Added a configuration hint for the CD-ROM "unhide" option.
Alexandre Julliard [Fri, 5 May 2000 18:15:11 +0000 (18:15 +0000)]
Henning Hoffmann (of Macadamian for Corel)
Implemented SetLocaleInfo(). It required a change to GetLocaleInfo()
as well, because GetLocaleInfo() has to get any values saved by
SetLocaleInfo() in the registry.
Eric Pouech [Fri, 5 May 2000 18:14:34 +0000 (18:14 +0000)]
Fixed some buffer overflows.
Made stab parsing more robust (now ignores C++ stabs).
Display correct backtrace at first when invoked on unhandled exception.
Loads stabs from .so files when those are loaded.
Alexandre Julliard [Wed, 3 May 2000 18:43:34 +0000 (18:43 +0000)]
Generated again.
Alexandre Julliard [Wed, 3 May 2000 18:43:11 +0000 (18:43 +0000)]
PE_LoadImage: removed version parameter, set last error correctly.
Alexandre Julliard [Wed, 3 May 2000 18:42:40 +0000 (18:42 +0000)]
Store process file name in startup info.
Fixed exe_file handling.
Alexandre Julliard [Wed, 3 May 2000 18:40:18 +0000 (18:40 +0000)]
Fixed typo.
Hidenori Takeshima [Wed, 3 May 2000 18:12:19 +0000 (18:12 +0000)]
Added stubs for riched32.dll.
Lionel Ulmer [Wed, 3 May 2000 18:10:47 +0000 (18:10 +0000)]
Call XOpenIM on the large stack.
Bang Jun-Young [Wed, 3 May 2000 18:08:27 +0000 (18:08 +0000)]
FreeBSD 3.4 compile fix.
Alexandre Julliard [Wed, 3 May 2000 17:48:21 +0000 (17:48 +0000)]
Fixed COORD structure definition.
Fixed GetLargestConsoleWindowSize to not return a structure when
called from the Window binary.
Alexandre Julliard [Wed, 3 May 2000 17:45:34 +0000 (17:45 +0000)]
Small optimization.
Alexandre Julliard [Wed, 3 May 2000 17:45:14 +0000 (17:45 +0000)]
Fixed default thread stack size.
Alexandre Julliard [Wed, 3 May 2000 17:43:42 +0000 (17:43 +0000)]
Fixed DrawTextW length handling.
Lionel Ulmer [Wed, 3 May 2000 17:43:07 +0000 (17:43 +0000)]
Remove the assertion when there is no source surface.
Huw D M Davies [Wed, 3 May 2000 17:42:40 +0000 (17:42 +0000)]
Add DosDateTimeToVariantTime prototype.
Huw D M Davies [Wed, 3 May 2000 17:42:21 +0000 (17:42 +0000)]
Map StrChrA to strchr. Fix StrChrW arg list.
Huw D M Davies [Wed, 3 May 2000 17:41:55 +0000 (17:41 +0000)]
Added HWND_MESSAGE.
Huw D M Davies [Wed, 3 May 2000 17:39:21 +0000 (17:39 +0000)]
Allow ISequentialStream_Write to work if access mode is STGM_READWRITE.
Bertho Stultiens [Wed, 3 May 2000 17:35:10 +0000 (17:35 +0000)]
Mmap does not fail on zero-length files.
Alexandre Julliard [Mon, 1 May 2000 21:23:02 +0000 (21:23 +0000)]
Use exception handling to implement the IsBad* functions.
Removed /proc/self/maps parsing as it is not very useful with .so libs.
Alexandre Julliard [Mon, 1 May 2000 21:21:31 +0000 (21:21 +0000)]
Setup the initial thread %fs from a constructor.
Alexandre Julliard [Mon, 1 May 2000 20:25:13 +0000 (20:25 +0000)]
Added DECL_GLOBAL_CONSTRUCTOR macro.
Bertho Stultiens [Mon, 1 May 2000 20:05:58 +0000 (20:05 +0000)]
- Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
old parser has been stripped from the old preprocessor-code which
cleaned up both resource-scanner and -parser.
- Standard defines have been introduced (see README.wrc)
- Both preprocessor- and resource-scanner have been optimized slightly
so that no backing up is required (one char lookahead is enough).
- Filename-scanning has been cleaned up, though not perfect yet.
- User-type resources are compatible now.
- Line-continuation in strings is corrected so that it does not
introduce a newline in the output.
Alexandre Julliard [Mon, 1 May 2000 16:24:22 +0000 (16:24 +0000)]
Rewrote Unix process launching to allow passing startup information to
Winelib apps. Improved handling of execve() failures.
Alexandre Julliard [Mon, 1 May 2000 16:20:23 +0000 (16:20 +0000)]
Added ENOEXEC error code.
Alexandre Julliard [Mon, 1 May 2000 16:19:40 +0000 (16:19 +0000)]
Added atfork support.
Lionel Ulmer [Mon, 1 May 2000 14:25:49 +0000 (14:25 +0000)]
Added DGA2 driver to DirectDraw.
Uwe Bonnes [Mon, 1 May 2000 14:22:24 +0000 (14:22 +0000)]
COMDLG32_DllEntryPoint,COMDLG32_SetCommDlgExtendedError: delay
allocation of Tls for CommDlgExtendedError until it is needed.
Eric Pouech [Mon, 1 May 2000 14:22:02 +0000 (14:22 +0000)]
Fixed segv when debugger registry key doesn't exist.
Gerald Pfeifer [Mon, 1 May 2000 14:21:39 +0000 (14:21 +0000)]
Use <stdlib.h> instead of the deprecated and non-portable <malloc.h>.
Alexandre Julliard [Sun, 30 Apr 2000 13:39:07 +0000 (13:39 +0000)]
Gerard Patel [Sun, 30 Apr 2000 12:35:32 +0000 (12:35 +0000)]
X11DRV_SetFocus: really don't mess with focus for managed windows.
Dimitrie O. Paun [Sun, 30 Apr 2000 12:22:18 +0000 (12:22 +0000)]
Removed HEAP_xalloc.
Eric Pouech [Sun, 30 Apr 2000 12:21:15 +0000 (12:21 +0000)]
- Enhanced internal variables framework (including read/save to
registry and typing)
- Finalized use of Windows' Console I/O interface (instead of Unix std
streams)
- Now handling registers as internal variables (they are no longer
seen as a specific type)
Eric Pouech [Sun, 30 Apr 2000 12:20:31 +0000 (12:20 +0000)]
Insure we always try to launch a debugger.
Uwe Bonnes [Sun, 30 Apr 2000 12:11:12 +0000 (12:11 +0000)]
Use Thread pseudo handle and not Thread Id as argument for the call to
GetThreadSelectorEntry.
Alexandre Julliard [Sat, 29 Apr 2000 17:23:32 +0000 (17:23 +0000)]
Clear the remainder of the page when mapping a section whose size on
disk is not a full page multiple.
Temporarily commented out the VirtualFree call in PE_UnloadLibrary.
Lionel Ulmer [Sat, 29 Apr 2000 17:16:53 +0000 (17:16 +0000)]
- added thread-safety protection to XListPixmapFormats
- moved pixmap / image format matching ERRs to WARNs