Commit Graph

893 Commits

Author SHA1 Message Date
Lawson Whitney 51044b3d51 Corrected value for DAYS_IN_ONE_YEAR. 2000-03-08 18:24:03 +00:00
Alexandre Julliard 7d343401d7 Cleaned up CRTDLL__unlink. 2000-03-08 18:23:18 +00:00
Alexandre Julliard 00641d5b1c Removed PDB32_DEBUGGED flag and send all debug events unconditionally.
Implemented IsDebuggerPresent().
2000-03-08 16:41:37 +00:00
Alexandre Julliard 7d0dd5f327 Added DbgBreakPoint. Fixed exception record contents on SIGTRAP. 2000-03-07 13:10:21 +00:00
Rein Klazes 5d3f7a6885 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.
2000-03-07 12:23:51 +00:00
Ulrich Czekalla 1e899dfa2e Check for existence if MMIO_EXIST is passed to MMIO_Open. 2000-03-07 12:23:11 +00:00
Jeff Tranter 7d50ae6f80 The pathname was stored in a string of size 100, which was not always
large enough. It should be set to MAX_PATH (255).
2000-03-07 12:22:51 +00:00
Alexandre Julliard 82a2b186e7 Added support for creating extra symlinks for .so files that contain
multiple dlls.
2000-03-05 13:08:24 +00:00
Alexandre Julliard d0edc5fecd Moved dll-specific make rules to a separate Makedll.rules file. 2000-03-04 22:31:27 +00:00
Ove Kaaven 4ff3b20508 WSACleanup should set last error to WSANOTINITIALISED if failing
because Winsock was not initialized...
2000-03-04 19:29:42 +00:00
Marcus Meissner 09ee5d0a56 CoLoadLibrary gets UNICODE, not ASCII strings. (spotted by Lawson
Whitney), removed the dllName component of the openDlls.  Added some
debugstr_guid().
2000-03-04 19:24:25 +00:00
Dan Scott 4d8d8b5669 Fixed typos in _alldiv() and _allmul(). 2000-03-04 19:22:13 +00:00
Pierre Mageau c9b253940e OleRegGetUserType did query wrong registry key. 2000-03-04 19:20:30 +00:00
Alexandre Julliard d37c1bb570 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.
2000-03-04 19:11:54 +00:00
Rein Klazes 20c68be907 Made WINSOCK_setsockopt handle option SO_DONTLINGER correctly. 2000-03-04 19:09:16 +00:00
Alexandre Julliard 7ee3435d5d Renamed libwin32s to use the proper dll name (libw32skrnl). 2000-02-29 22:11:44 +00:00
Niels Kristian Bech Jensen 4eb4380360 Removed superfluous #include statements for header files included twice. 2000-02-29 22:06:06 +00:00
Serge Ivanov a2c87ded53 Make updown control work. UpDown control always sends WM_*SCROLL
message and uses SB_THUMBPOSITION code (not SB_LINE[UP|DOWN]).
2000-02-29 22:04:40 +00:00
Pascal Lessard ce527de51f Implemented the behavior of sending WM_CONTEXTMENU when receiving a
WM_RBUTTONUP.
2000-02-29 22:04:00 +00:00
Alexandre Julliard 8eba5c2a21 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.
2000-02-29 22:03:14 +00:00
Patrik Stridvall 194bd05260 Moved some stubs and added forwards in order to make both winapi_check
and checklink happy.
2000-02-29 22:02:11 +00:00
Patrik Stridvall ba9294111e Fixed some issues found by winapi_check. 2000-02-27 16:38:08 +00:00
Alexandre Julliard a5515e24e4 oleaut32 should not import functions from olepro32. 2000-02-27 14:33:04 +00:00
Pierre Mageau c8212371db 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.
2000-02-27 14:03:06 +00:00
Juergen Schmied 9f50d049ea Fixed definition of the RtlMemory functions. Use macros internally and
for Winelib, use real functions for exports from ntdll.
2000-02-26 19:35:50 +00:00
Hidenori Takeshima 0f36ec47c9 ArrangeCtrlPositions: fix for user-defined template with no stc32. 2000-02-26 19:32:44 +00:00
Alexandre Julliard fc6d940424 ErrorInfo functions need to be in ole32, not oleaut32. 2000-02-26 19:11:25 +00:00
Alexandre Julliard c3feebb67e More portable CRTDLL_iswctype. 2000-02-26 18:48:56 +00:00
Juergen Schmied 93e99127f5 Moved file functions to shlfileop.c
New SHELL_DeleteDirectoryA
Use shell notifications.
Enabled file manipulation functions.
2000-02-26 18:48:16 +00:00
Juergen Schmied d52e04781b Fix for OpenIcon. 2000-02-26 18:47:23 +00:00
Juergen Schmied 2ff02949c6 Stub PathIsDirectory. 2000-02-26 18:46:03 +00:00
Juergen Schmied eabe82b1d3 Fixes for ShellExecuteEx. 2000-02-26 18:45:09 +00:00
Juergen Schmied 50f067b726 Basic implementation of shell notifications. 2000-02-26 18:44:08 +00:00
Juergen Schmied 56c2c553c5 Added icon no 4 (open folder). 2000-02-26 18:36:29 +00:00
Patrik Stridvall a9855b5122 Added stubs for {Create,Get,Set}ErrorInfo. 2000-02-26 18:33:21 +00:00
Abey George 453e2dcf3a Return an error instead of a success code in OleCreate stub function. 2000-02-26 18:32:38 +00:00
Alexandre Julliard 047513f3de 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
2000-02-26 18:31:01 +00:00
Jim Aston fd018cc9da This reverts Matts patch. The messaging needs double checking. 2000-02-26 18:28:38 +00:00
Alexandre Julliard 916f975624 Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
Alexandre Julliard e1d78899ea Made winmm a separate shared library. 2000-02-26 13:45:34 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Eric Pouech 2a3b0a1dad Moved hardware related handling to dlls/winmm/joystick driver.
Got rid of joySendMessages() hack (now implementation with a timer).
2000-02-26 13:14:04 +00:00
Alexandre Julliard 23ce7f10a9 Added import of olepro32. 2000-02-25 21:41:26 +00:00
Ulrich Czekalla 6a80c8a260 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.
2000-02-25 21:38:17 +00:00
Dmitry Timoshkov 6fdfd53eaa Do not overwrite the valid ObjectAttributes->RootDirectory.
Perform case insensitive comparison for the registry paths.
2000-02-25 21:37:21 +00:00
Hidenori Takeshima 031aef9a91 Fix for toolbar button size. 2000-02-25 21:35:18 +00:00
James Abbatiello 1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Pierre Mageau 89aa86165f 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.
2000-02-25 20:58:25 +00:00
Patrik Stridvall 1c57a3ba2d Made some local functions static. 2000-02-25 20:55:54 +00:00
Patrik Stridvall 49bcb93262 Fixed some issues found by winapi_check. 2000-02-25 20:55:33 +00:00
James Abbatiello ce829bdc8c Better thread safety for WarpPointer hack. 2000-02-25 20:53:34 +00:00
Juergen Schmied 605325683f Added AddAccessAllowedAce. 2000-02-25 20:52:38 +00:00
Juergen Schmied 52bd50fb85 For unicode: give the selected filename back. 2000-02-25 20:51:33 +00:00
Serge Ivanov c0b824d7de In Windows, if PropertySheet can't create some page it just skips it. This
patch adds similar behaviour to Wine. It also adds some NULL checks.

<yuxi@corel.com>
Fix property sheet initialization bugs.

Matthew Robertson
The template was calling GetActiveIndex which was not being set in the
propsheet code, and the call was moved before we call SetActive -
because that's where we query for the Active Index.

Noomen Hamza
Resize property sheet to the largest dialog size.

Don Kelly
In the WM_INITDIALOG handler for the prop sheet, there is a call to
PROPSHEET_IsTooSmall() which, if it returns TRUE, calls
PROPSHEET_AdjustSize().  Contrary to its comment, .._AdjustSize() actually
aligns the sizes of the "largest" prop. sheet dialog template and the tab
control.  The IsTooSmall() call doesn't properly catch this mismatch.
Modified the function to return TRUE if the sizes mismatch and renamed it to
PROPSHEET_SizeMismatch() to reflect its proper use.
2000-02-25 20:49:49 +00:00
Marcus Meissner a5402d896e We define PathISURLA, so use it. 2000-02-25 20:48:11 +00:00
Serge Ivanov a39cbbc0eb In function IMAGELIST_InternalDrawMask we have to mask out overlay mask in
fStyle. Otherwise comparison fStyle == ILD_NORMAL will not work, which leads
to improper display of overlay images.
2000-02-25 20:47:26 +00:00
Juergen Schmied 4dc586108e Fixed handling of filedlg flags. 2000-02-25 20:36:42 +00:00
Andreas Mohr 6d982b6ee6 - stub for OLE32.MkParseDisplayName
- spelling fixes
2000-02-20 19:17:53 +00:00
Andreas Mohr f4185f63d0 Spelling fixes. 2000-02-20 19:17:15 +00:00
Marcus Meissner f8e4fb0888 Made the buffer list in the directsound object thread-safe. 2000-02-20 19:16:12 +00:00
Gerard Patel ec7d7fa380 Avoid too much refreshing when changing the drive in the 16 bits file
dialog.
2000-02-20 19:15:01 +00:00
Alexandre Julliard cf1bcc496b Corel merge:
Pierre Mageau
Don't update the combo box selection when closing the dialog only when
clicking on OK button.  Adjust file dialog size when help button isn't
present.

Don Kelly.
Fixes problems with open dialog box filters.

Ulrich Czekalla
Prevents the help button from displaying on OpenFile dialogs unless
the proper flag is set in the OPENFILENAME struct.

Yuxi Zhang
Fixed memory leak.

Jean-Claude Batista
Add tooltips to the file Dialog toolbar.

Sylvain Bouchard, Bill Jin
Three new functions
EnumSelectedPidls, GetNumSelected, FILEDLG95_OnOpenUsingView: corrections
Instead of passing in a copy of ofn, passing in the pointer of ofn.

David Golding
A "!" was missing in a check against lpstrInitialDir.

Rick Mutzke
Fixed crash: if dialog has no filetypes appearing in the dropdown list.

Matt Robertson, Ulrich Czekalla
Fixed problems occurring with selection of files inside openfiledlg.
2000-02-20 18:54:04 +00:00
Juergen Schmied 2972b40048 - activated use of templates
- moved the creating of new folders to the shellview
2000-02-20 18:50:18 +00:00
Juergen Schmied 40bf27e4ef Started with shell-clipboard handling (context menu cut&paste,
drag&drop).
2000-02-20 18:49:16 +00:00
Juergen Schmied f37028370d Removed ItemIDListList, reorganisation, more formats. 2000-02-20 18:48:41 +00:00
Juergen Schmied 2e39859ea1 - implemented rename, copy and delete file
- "new file" is activating label edit for rename
- implemented IShellView_SelectItem
2000-02-20 18:48:26 +00:00
Juergen Schmied 538f30dad8 Better context menus. 2000-02-20 18:47:41 +00:00
Juergen Schmied e2b8804525 - new files related to context menu and drag drop file operations
- render functions for clipboardformats
2000-02-20 18:46:28 +00:00
Alexandre Julliard 3712c46511 Stephane Lussier
Implemented PathIsURLA and modified ShellExecute16 to be able to load URL
2000-02-20 18:43:44 +00:00
Juergen Schmied b070313c80 Started implementation of shell notifications. 2000-02-20 18:40:55 +00:00
Juergen Schmied cb23a8ed0f New file (SHFileOperation). 2000-02-20 18:39:11 +00:00
Juergen Schmied ed93b63b45 Fixes. 2000-02-20 18:38:19 +00:00
Juergen Schmied 229ea7a036 - new internal interface for item manipulation (cut/paste/new folder/delete/rename)
- implemented IPersistFolder2 interface
2000-02-20 18:37:48 +00:00
Juergen Schmied 02b0be7cff New aPidl handling functions. 2000-02-20 18:36:23 +00:00
Alexandre Julliard 45a4b0a2ec Avoid crash on NULL data pointer. 2000-02-20 13:57:13 +00:00
Andreas Mohr 63e8bd5d50 Added stub for RtlAssert(). 2000-02-20 13:47:28 +00:00
Eric Pouech 1ee4a807c5 Got rid of PROFILE_ functions, now accessing Wine config options
through the registry.
2000-02-20 13:40:54 +00:00
Owen Wang 64b9d86669 Set the type of VarBstrFromDate to dwFlags, instead of lcid.
Ulrich Czekalla  <ulrichc@corel.ca>
Fixed the problem with the date being off by one.

Petar Djukic
VariantCopy was ignoring VT_DISPATCH,VT_UNKNOWN, and VT_VARIANT. Same
with VariantClear.
Coerce function doesn't implement coercion for VT_DISPATCH type.
2000-02-18 19:14:29 +00:00
Alexandre Julliard d65198c6b3 Changed the loading of typelib files to use a memory mapping instead
of reading the file bit by bit.
2000-02-18 19:08:40 +00:00
Eric Pouech 853043b4b7 Fixed prototype for OleTranslateColor. 2000-02-18 19:06:00 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Juergen Schmied 32fe6bdc13 Added stub for CoResumeClassObjects. 2000-02-14 19:56:21 +00:00
Ove Kaaven d0c3e19e8a ioctlsocket() now returns success if the app sets nonblocking mode for
WSAAsyncSelect()-ed sockets.
2000-02-14 19:50:57 +00:00
Gerald Pfeifer 5d3cd5296f Fixed FreeBSD compile. 2000-02-14 19:50:26 +00:00
Eric Pouech 696fb4f341 - fixed crash on mci channel tracing
- fixed 16 to 32 bit translation for MCI_BREAK and MCI_SYSINFO messages
2000-02-14 19:49:46 +00:00
Alexandre Julliard 83ab5ae577 Removed check for class existence. 2000-02-13 15:10:50 +00:00
Alexandre Julliard d711ad9e0a Removed superfluous GlobalFindAtom calls. 2000-02-13 15:10:16 +00:00
David Howells 53ec9f3287 Implemented isw*() wctype.h functions. 2000-02-13 15:04:24 +00:00
Alex Priem d5a50a3cea Fixed off-by-one error. 2000-02-13 15:02:43 +00:00
Oleg Korda 596bca5bfc Added Russian translation. 2000-02-10 22:38:16 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Alexandre Julliard fc296da4e2 Removed extra includes from ole.h and wingdi.h. 2000-02-10 19:39:48 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Owen Wang 923685ac95 Make CLSIDFromString return a CLSID of zeros instead of crashing when
passed a null pointer.
2000-02-07 22:20:44 +00:00
Gerald Pfeifer e5bd2f8221 Fixed unconditional use of JOYDEV. 2000-02-07 22:11:40 +00:00
Juergen Schmied 2577e9df2d Changed import to ordinal. 2000-02-07 17:17:41 +00:00
Andreas Mohr a16c0e19a7 - implemented serial numbers for audio CDs and data CDs
- big clean up of misc/cdrom.c and dlls/winmm/mcicda/mcicda.c function
  naming and such
- split debug channel cdaudio into cdrom and mcicda
- fixed some typos
2000-02-07 16:28:52 +00:00
Sean Langley 9c92c7de2c Made OleCreateFontIndirect have the same signature (exactly) as the
header file. Added olepro32 dll stubs.
2000-02-07 16:27:33 +00:00
Sean Langley 58c71d4f7c OLEPRO32 stubs. 2000-02-07 16:26:56 +00:00
Wolfgang Schwotzer 8f22c91b93 Extended the winmm joystick API calls to support the new Linux
joystick driver.
2000-02-07 16:22:07 +00:00