Ulrich Czekalla [Wed, 8 Mar 2000 18:41:22 +0000 (18:41 +0000)]
wm->modname might be invalid at the end of FreeLibrary.
Patrik Stridvall [Wed, 8 Mar 2000 18:26:56 +0000 (18:26 +0000)]
Removed a lot of unnecessary includes and fixed the compile errors.
Patrik Stridvall [Wed, 8 Mar 2000 18:25:22 +0000 (18:25 +0000)]
Fixed some warnings.
Lawson Whitney [Wed, 8 Mar 2000 18:24:03 +0000 (18:24 +0000)]
Corrected value for DAYS_IN_ONE_YEAR.
Alexandre Julliard [Wed, 8 Mar 2000 18:23:18 +0000 (18:23 +0000)]
Cleaned up CRTDLL__unlink.
Ulrich Czekalla [Wed, 8 Mar 2000 18:22:51 +0000 (18:22 +0000)]
The static control only needs to invalidate its rect when we SetText.
Hidenori Takeshima [Wed, 8 Mar 2000 18:22:21 +0000 (18:22 +0000)]
Added a few messages for IME.
Eric Pouech [Wed, 8 Mar 2000 16:44:54 +0000 (16:44 +0000)]
No longer directly accessing debuggee memory.
Execution context (mode, steps...) are now linked to a thread.
Removed some X11 crst hacks.
Rewrote info/walk commands.
Removed direct debugger invocation code (and moved the rest to the new
winedbg.c file).
Alexandre Julliard [Wed, 8 Mar 2000 16:41:37 +0000 (16:41 +0000)]
Removed PDB32_DEBUGGED flag and send all debug events unconditionally.
Implemented IsDebuggerPresent().
Alexandre Julliard [Wed, 8 Mar 2000 12:01:30 +0000 (12:01 +0000)]
Generate CREATE_PROCESS/THREAD debug events internally in the server.
Alexandre Julliard [Tue, 7 Mar 2000 13:14:27 +0000 (13:14 +0000)]
Better implementation of inline functions SetLastError and
GetCurrentThreadId. Added asm inlines for Interlocked* functions.
Alexandre Julliard [Tue, 7 Mar 2000 13:10:21 +0000 (13:10 +0000)]
Added DbgBreakPoint. Fixed exception record contents on SIGTRAP.
Andreas Mohr [Tue, 7 Mar 2000 12:26:16 +0000 (12:26 +0000)]
Fixed second instance DGROUP loading.
Huw D M Davies [Tue, 7 Mar 2000 12:25:40 +0000 (12:25 +0000)]
Implement SPI_GETICONMETRICS.
Change WARN -> FIXME for unimplemented SPI_s and set appropriate error.
Marcus Meissner [Tue, 7 Mar 2000 12:24:58 +0000 (12:24 +0000)]
Actual write the cached struct in GlobalMemoryStatus.
Rein Klazes [Tue, 7 Mar 2000 12:24:26 +0000 (12:24 +0000)]
Include in the AddFontResourceA/W fixme message a pointer to the fonts
document. In this document tell the user how to find the needed tools.
Rein Klazes [Tue, 7 Mar 2000 12:23:51 +0000 (12:23 +0000)]
Add a message and fix error code if __ws_getservbyname() and
__ws_getservbyport() cannot find the requested service.
Fix WINSOCK_setsockopt() when called with optval pointing to 16 bit int.
Ulrich Czekalla [Tue, 7 Mar 2000 12:23:11 +0000 (12:23 +0000)]
Check for existence if MMIO_EXIST is passed to MMIO_Open.
Jeff Tranter [Tue, 7 Mar 2000 12:22:51 +0000 (12:22 +0000)]
The pathname was stored in a string of size 100, which was not always
large enough. It should be set to MAX_PATH (255).
Andreas Mohr [Tue, 7 Mar 2000 12:22:35 +0000 (12:22 +0000)]
Several fixes to MakeProcInstance.
Alexandre Julliard [Sun, 5 Mar 2000 13:08:24 +0000 (13:08 +0000)]
Added support for creating extra symlinks for .so files that contain
multiple dlls.
Alexandre Julliard [Sat, 4 Mar 2000 22:31:27 +0000 (22:31 +0000)]
Moved dll-specific make rules to a separate Makedll.rules file.
Alexandre Julliard [Sat, 4 Mar 2000 19:33:38 +0000 (19:33 +0000)]
Fixed error checking in registry saving.
Ove Kaaven [Sat, 4 Mar 2000 19:29:42 +0000 (19:29 +0000)]
WSACleanup should set last error to WSANOTINITIALISED if failing
because Winsock was not initialized...
Marcus Meissner [Sat, 4 Mar 2000 19:24:25 +0000 (19:24 +0000)]
CoLoadLibrary gets UNICODE, not ASCII strings. (spotted by Lawson
Whitney), removed the dllName component of the openDlls. Added some
debugstr_guid().
Dan Scott [Sat, 4 Mar 2000 19:22:13 +0000 (19:22 +0000)]
Fixed typos in _alldiv() and _allmul().
Marcus Meissner [Sat, 4 Mar 2000 19:21:49 +0000 (19:21 +0000)]
Added message for missing xpm devel libs for debian/corel.
Pierre Mageau [Sat, 4 Mar 2000 19:20:30 +0000 (19:20 +0000)]
OleRegGetUserType did query wrong registry key.
Marcus Meissner [Sat, 4 Mar 2000 19:19:15 +0000 (19:19 +0000)]
Some applications call GlobalMemoryStatus() very often. Cache the
results of the call for 1 second (spotted by Corel).
Marcus Meissner [Sat, 4 Mar 2000 19:18:47 +0000 (19:18 +0000)]
GetClipboardData16 might return an invalid global handle (spotted by
Corel).
Alexandre Julliard [Sat, 4 Mar 2000 19:18:23 +0000 (19:18 +0000)]
Lilia Roumiantseva
cbCountSizeOfEnhMetafile callback function instead of increasing a
contents of the pointer to the size increased the pointer itself.
Huw D M Davies [Sat, 4 Mar 2000 19:16:34 +0000 (19:16 +0000)]
Fix docs to reflect change to .winerc processing.
Ove Kaaven [Sat, 4 Mar 2000 19:13:52 +0000 (19:13 +0000)]
Fixed a couple of config.cache problems.
Alexandre Julliard [Sat, 4 Mar 2000 19:11:54 +0000 (19:11 +0000)]
Vahid Pourlotfali
Trackbar contol did not have proper position value in case of
SB_THUMBTRACK notification message: it was always sending 0.
Jim Aston <jima@corel.ca>
Made the slider control a rect. It had been trying to draw a notched
slider, but the result didn't look right.
Rein Klazes [Sat, 4 Mar 2000 19:09:16 +0000 (19:09 +0000)]
Made WINSOCK_setsockopt handle option SO_DONTLINGER correctly.
Serge Ivanov [Sat, 4 Mar 2000 19:07:08 +0000 (19:07 +0000)]
CURSORICON_IconToCursor: inconsistent Lock/Unlock
Uwe Bonnes [Sat, 4 Mar 2000 19:03:15 +0000 (19:03 +0000)]
PROFILE_GetString: only accept NULL for keyname to return the list of
keys as Win95 does.
Joerg Mayer [Sat, 4 Mar 2000 19:00:42 +0000 (19:00 +0000)]
Fix a sign bug where memcpy was called with negative length.
Alexandre Julliard [Tue, 29 Feb 2000 22:19:57 +0000 (22:19 +0000)]
Make profile key a global handle.
Alexandre Julliard [Tue, 29 Feb 2000 22:11:44 +0000 (22:11 +0000)]
Renamed libwin32s to use the proper dll name (libw32skrnl).
Niels Kristian Bech Jensen [Tue, 29 Feb 2000 22:06:06 +0000 (22:06 +0000)]
Removed superfluous #include statements for header files included twice.
Serge Ivanov [Tue, 29 Feb 2000 22:04:40 +0000 (22:04 +0000)]
Make updown control work. UpDown control always sends WM_*SCROLL
message and uses SB_THUMBPOSITION code (not SB_LINE[UP|DOWN]).
Pascal Lessard [Tue, 29 Feb 2000 22:04:00 +0000 (22:04 +0000)]
Implemented the behavior of sending WM_CONTEXTMENU when receiving a
WM_RBUTTONUP.
Alexandre Julliard [Tue, 29 Feb 2000 22:03:14 +0000 (22:03 +0000)]
Murali Pattathe
This is the patch for the OleConvertOLESTREAMToIStorage wine API.
This API calls another function called OLECONVERT_LoadOLE10 which
basically read the OLE stream from the file through the callback
function (this is passed by the application).
The reading format was wrong. Still I am not very sure this is 100 %
correct format. I did some reverse engineering and found the format. I
have tried with different OLE object and its worked in paradox. I
haven't tested with any other apps.
Patrik Stridvall [Tue, 29 Feb 2000 22:02:11 +0000 (22:02 +0000)]
Moved some stubs and added forwards in order to make both winapi_check
and checklink happy.
Patrik Stridvall [Tue, 29 Feb 2000 21:59:09 +0000 (21:59 +0000)]
Moved the rest of the API specification from the global file to the
local files.
Alexandre Julliard [Sun, 27 Feb 2000 18:10:15 +0000 (18:10 +0000)]
Uwe Bonnes [Sun, 27 Feb 2000 17:25:13 +0000 (17:25 +0000)]
GetComputerNameA(): added parameter check like Win95 does.
Patrik Stridvall [Sun, 27 Feb 2000 17:02:03 +0000 (17:02 +0000)]
- Fixed some Solaris specific assembler problems
- Fixed some missing .type @function (helps debugging with dbx)
- Fixed code needing __attribute__((constructor))__ for non-GCC ELF compilers
- Fixed use of zero width arrays (ANSI C violation)
- @GOTOFF on Solaris doesn't work - use @GOT and redirection instead
Patrik Stridvall [Sun, 27 Feb 2000 16:39:48 +0000 (16:39 +0000)]
Fixed some Solaris specific assembler problems.
Patrik Stridvall [Sun, 27 Feb 2000 16:38:08 +0000 (16:38 +0000)]
Fixed some issues found by winapi_check.
Patrik Stridvall [Sun, 27 Feb 2000 16:37:26 +0000 (16:37 +0000)]
Updated winapi_check.
Steven Elliott [Sun, 27 Feb 2000 16:36:59 +0000 (16:36 +0000)]
Added utility that generates patches for submission to
wine-patches@winehq.com.
Alexandre Julliard [Sun, 27 Feb 2000 14:33:04 +0000 (14:33 +0000)]
oleaut32 should not import functions from olepro32.
Pierre Mageau [Sun, 27 Feb 2000 14:03:06 +0000 (14:03 +0000)]
Don't display the context menu on a double click.
Ulrich Czekalla <ulrichc@corel.ca>
Set the font on the edit label control to that used by the listview
control. It also uses text metrics to set a more reasonable initial
edit control size.
Pierre Mageau <pierre@macadamian.com>
Handle M_SETREDRAW in ListView.
Fix to EnsureVisible to handle small and large icon correctly.
Add edit label functionnality to the listview and the file open dialog.
Ulrich Czekalla <ulrichc@corel.ca>
RelaseDC in CreateEditLabel.
Pierre Mageau <pierre@macadamian.com>
Add functionnality to create new folder in the open dialog.
Add support for right click menu in common file dialog.
LISTVIEW_EndEditlabel is now handling NONLPSTR_TEXTCALLBACK listview items.
Serge Ivanov <sergei@corel.ca>
LISTVIEW_GetColumnA fix (do not copy string, pass pointers).
Luc Tourangeau <luc@macadamian.com>
Preventing a divide by zero when handling LVW_ENSUREVISIBLE message.
Don Kelly
-Implemented the sorting on insert of items into a ListView control
with either LVS_SORTASCENDING or LVS_SORTDESCENDING set.
-(helping evil applications): sometimes not so well structured apps
(PFPI90, in this case) will not fully initialize structs. In the case
of the LVM_GETITEM message the app may have only initialized the mask
and iItem members of the struct. Added processing of the LVIF_PARAM
mask in the case that iSubItem was set but is invalid/uninitialized.
Pierre Mageau <pierre@macadamian.com>
Fix for handling correctly the cancelling mode of the Edit label.
Fix width calculation of the edit label.
Pascal Lessard <pascal@macadamian.com>
Implemented the behavior of sending WM_CONTEXTMENU when receiving a
WM_RBUTTONUP.
Ulrich Czekalla <ulrichc@corel.ca>
Fixed a painting problem with listview when the view changes and an
edit label is active.
Ulrich Czekalla <ulrichc@corel.ca>
Fixed a notification problem with listview. On creation if the user
specifies an item with focus and/or selection we should send the
proper notification. Insert was preventing LISTVIEW_SetItem from
seeing the changes and sending the notification.
Make the draw item rectangle consistent with the selection
rectangle. This allows us to click on the folders and icons in the
file open dialog box and the item actually gets selected.
Petr Tomasek [Sun, 27 Feb 2000 14:00:14 +0000 (14:00 +0000)]
- Write serial numbers to the device (FAT)
- DRIVE_ReadSuperblock: better checking for the FAT fs.
Uwe Bonnes [Sun, 27 Feb 2000 13:58:12 +0000 (13:58 +0000)]
GetFullPathName fixes.
Juergen Schmied [Sat, 26 Feb 2000 19:35:50 +0000 (19:35 +0000)]
Fixed definition of the RtlMemory functions. Use macros internally and
for Winelib, use real functions for exports from ntdll.
Juergen Schmied [Sat, 26 Feb 2000 19:33:11 +0000 (19:33 +0000)]
Prototypes OleInitialize, OleUninitialize.
Hidenori Takeshima [Sat, 26 Feb 2000 19:32:44 +0000 (19:32 +0000)]
ArrangeCtrlPositions: fix for user-defined template with no stc32.
Ulrich Czekalla [Sat, 26 Feb 2000 19:13:44 +0000 (19:13 +0000)]
Send WM_HELP message when F1 is pressed.
Yuxi Zhang [Sat, 26 Feb 2000 19:13:12 +0000 (19:13 +0000)]
In the listbox, when the last item is selected and deleted, it still
appeared in the window.
Sheri Steeves <sheri@macadamian.com>
In LISTBOX_UpdateScroll(), if the listbox did not have the WS_SCROLL
style it would just return. This left the horizontal scroll bar
uninitialized and it was appearing at the bottom of the listbox when
it did not have to.
Serge Ivanov <sergei@corel.com>
LISTBOX_SetColumnWidth adds extra 2 pixels to the passed column width
(it says it is for column margins). Obviously it is wrong, because
margins must be internal.
Alexandre Julliard [Sat, 26 Feb 2000 19:11:25 +0000 (19:11 +0000)]
ErrorInfo functions need to be in ole32, not oleaut32.
Alexandre Julliard [Sat, 26 Feb 2000 18:48:56 +0000 (18:48 +0000)]
More portable CRTDLL_iswctype.
Juergen Schmied [Sat, 26 Feb 2000 18:48:16 +0000 (18:48 +0000)]
Moved file functions to shlfileop.c
New SHELL_DeleteDirectoryA
Use shell notifications.
Enabled file manipulation functions.
Juergen Schmied [Sat, 26 Feb 2000 18:47:23 +0000 (18:47 +0000)]
Fix for OpenIcon.
Juergen Schmied [Sat, 26 Feb 2000 18:46:03 +0000 (18:46 +0000)]
Stub PathIsDirectory.
Juergen Schmied [Sat, 26 Feb 2000 18:45:09 +0000 (18:45 +0000)]
Fixes for ShellExecuteEx.
Juergen Schmied [Sat, 26 Feb 2000 18:44:08 +0000 (18:44 +0000)]
Basic implementation of shell notifications.
Juergen Schmied [Sat, 26 Feb 2000 18:37:11 +0000 (18:37 +0000)]
Updated.
Juergen Schmied [Sat, 26 Feb 2000 18:36:56 +0000 (18:36 +0000)]
Added Winelib types.
Juergen Schmied [Sat, 26 Feb 2000 18:36:29 +0000 (18:36 +0000)]
Added icon no 4 (open folder).
Patrik Stridvall [Sat, 26 Feb 2000 18:33:21 +0000 (18:33 +0000)]
Added stubs for {Create,Get,Set}ErrorInfo.
Abey George [Sat, 26 Feb 2000 18:32:38 +0000 (18:32 +0000)]
Return an error instead of a success code in OleCreate stub function.
Alexandre Julliard [Sat, 26 Feb 2000 18:31:01 +0000 (18:31 +0000)]
Don Kelly
In Windows Property Sheet can have any mix of icon-less tabs and tabs
with icons. Adds a check to see if the icon we're adding is non-NULL
(otherwise random junk from memory can be rendered) when the application
has specified the PSP_USEICONID flag is set. Changes to the Tab control
to only render icons for tabs that have the TCIF_IMAGE flag set
(previously, if the flag was set the entire image list of icons was
rendered).
Stephane Lussier <stephane@macadamian.com>
Fixes for some tab control bugs
Henning Hoffmann
Fixed some width problem with OWNERDRAW tab.
Luc Tourangeau <luc@macadamian.com>
TCM_ADJUSTRECT is now returning consistant compare to Windows.
Serge Ivanov <sergei@corel.ca>
Fixed problem with tab selection. When you select tab it becames first
visible tab. Now leftmost visible tab is calculated properly.
- Added code for correct handling of updown control.
- Forced recalculation of tabs' coordinates when:
a) all items are deleted,
b) window style is canged
Ian Schmidt [Sat, 26 Feb 2000 18:30:12 +0000 (18:30 +0000)]
Added necessary defines and structures to compile WineLib apps using
MFC 6.0 headers.
Fixed typo in TCM_SETMINTABWIDTH constant.
Bill Jin [Sat, 26 Feb 2000 18:29:15 +0000 (18:29 +0000)]
Bitmap buttons were not refreshed correctly.
Jim Aston [Sat, 26 Feb 2000 18:28:38 +0000 (18:28 +0000)]
This reverts Matts patch. The messaging needs double checking.
Alexandre Julliard [Sat, 26 Feb 2000 16:51:13 +0000 (16:51 +0000)]
Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
Alexandre Julliard [Sat, 26 Feb 2000 13:45:34 +0000 (13:45 +0000)]
Made winmm a separate shared library.
Patrik Stridvall [Sat, 26 Feb 2000 13:17:55 +0000 (13:17 +0000)]
Fixed ANSI C violations.
Patrik Stridvall [Sat, 26 Feb 2000 13:16:13 +0000 (13:16 +0000)]
Fixed Solaris specific compiler issue.
Patrik Stridvall [Sat, 26 Feb 2000 13:15:51 +0000 (13:15 +0000)]
Fixed some debug message crashes.
Lionel Ulmer [Sat, 26 Feb 2000 13:15:17 +0000 (13:15 +0000)]
- implement EnumObjects and GetProperty for Mouse and Joystick drivers
- implement SetDataFormat for the Mouse driver
Eric Pouech [Sat, 26 Feb 2000 13:14:04 +0000 (13:14 +0000)]
Moved hardware related handling to dlls/winmm/joystick driver.
Got rid of joySendMessages() hack (now implementation with a timer).
Alexandre Julliard [Fri, 25 Feb 2000 21:44:49 +0000 (21:44 +0000)]
Release unused space in debug strings to avoid too frequent
wrap-arounds in the circular buffer.
Alexandre Julliard [Fri, 25 Feb 2000 21:41:26 +0000 (21:41 +0000)]
Added import of olepro32.
Andreas Mohr [Fri, 25 Feb 2000 21:40:48 +0000 (21:40 +0000)]
Added OLE entries and comments.
Hidenori Takeshima [Fri, 25 Feb 2000 21:40:10 +0000 (21:40 +0000)]
Japanese support implemented.
Steven Elliott [Fri, 25 Feb 2000 21:39:38 +0000 (21:39 +0000)]
Stubbed out the implementation of LCMAP_SORTKEY in LCMapStringW() in
order to allow Windows 9x Perl to start.
Ulrich Czekalla [Fri, 25 Feb 2000 21:38:17 +0000 (21:38 +0000)]
This patch initializes the return buffer used in GetPrinterDriverA to
zeros. This prevents buffer overruns caused by accessing garbage data.
Some improvements to the NULL check patch.
Gautam Jain
EnumPrinters is not returning the number of printers found in case the
parameter dwLevel is 1.
Dmitry Timoshkov [Fri, 25 Feb 2000 21:37:21 +0000 (21:37 +0000)]
Do not overwrite the valid ObjectAttributes->RootDirectory.
Perform case insensitive comparison for the registry paths.
Dmitry Timoshkov [Fri, 25 Feb 2000 21:36:57 +0000 (21:36 +0000)]
Added prototypes for registry functions.
Dmitry Timoshkov [Fri, 25 Feb 2000 21:36:27 +0000 (21:36 +0000)]
Move definition of CPINFO structure from winbase.h to winnls.h
Add definition of CPINFOEX structure to winnls.h
Dmitry Timoshkov [Fri, 25 Feb 2000 21:35:39 +0000 (21:35 +0000)]
Add prototype for CRTDLL_wcstol.
Hidenori Takeshima [Fri, 25 Feb 2000 21:35:18 +0000 (21:35 +0000)]
Fix for toolbar button size.
Hidenori Takeshima [Fri, 25 Feb 2000 21:34:48 +0000 (21:34 +0000)]
Fixed CharNextA/CharNextExA for DBCS.
James Abbatiello [Fri, 25 Feb 2000 21:01:50 +0000 (21:01 +0000)]
Misc. fixes for compiler warnings.
Pierre Mageau [Fri, 25 Feb 2000 20:58:25 +0000 (20:58 +0000)]
Implementation of OleConvert routines.
Thuy Nguyen <thuy@macadamian.com>
Don't allow to resize stream open in read only mode
Allow write access for stream/storage open with STGM_READWRITE.
StgOpenStorage return values are now more detailed.
Don't rely on STGM_CREATE flag in the Storage constructor.
Preventing to write out of date property.
Owen Wang <owenw@corel.ca>
Allow both positive & negative 32-bit integers as with MFC assumption.
This patch improves the 32bit limit on IStream::*_Seek operations.
John Li <johnl@corel.ca>
When WP opens a linked file, the malloc function in
OLECONVERT_LoadOLE10(...) returns a NULL. This causes a later Wine
crash. The actual problem is the function reading a large data length.
Patrik Stridvall [Fri, 25 Feb 2000 20:55:54 +0000 (20:55 +0000)]
Made some local functions static.