Commit Graph

1870 Commits

Author SHA1 Message Date
Huw D M Davies 73d4b5e081 Initialize nSocketFD to INVALID_SOCKET. 2000-11-10 01:04:08 +00:00
Alexandre Julliard b1e70285b4 Added __wine_get_main_args to retrieve command-line arguments for the
application.
2000-11-09 20:29:42 +00:00
Eric Kohl dbbc224f11 Added header control cursors and drag list arrow icon. 2000-11-09 20:26:34 +00:00
Dmitry Timoshkov d9d8ab0be2 Added Russian resources to the Postscript driver. 2000-11-09 20:26:11 +00:00
Dmitry Timoshkov 99653905ec Make a copy of the dialog resource before correcting styles. 2000-11-09 20:25:27 +00:00
Alexandre Julliard 4e951ea25b Check all Callouts function pointers for NULL before using them.
Don't load USER dll if not needed by the application.
2000-11-08 22:47:53 +00:00
Jon Griffiths d3576a9f85 - Implemented 73 CRT functions
- Reimplemented file I/O using Win32 calls
- Set errno/doserrno in most calls
2000-11-08 22:42:53 +00:00
Gerald Pfeifer b56a8df9e7 Add missing #include <netinet/in_systm.h> and #include <netinet/in.h>. 2000-11-08 22:21:54 +00:00
Alexandre Julliard f6def56675 Removed .s files. 2000-11-08 05:06:32 +00:00
Francois Gouget f5cea729a6 We must include windef.h before wtypes.h (directly or indirectly). 2000-11-08 05:05:15 +00:00
Aric Stewart b1eb301477 Implemented VK_PRIOR and VK_NEXT processing (merged from Corel tree). 2000-11-08 04:30:16 +00:00
Eric Kohl ea9d4ce246 Implemented toolbar customization dialog. 2000-11-07 20:30:11 +00:00
Eric Kohl 887a91f4b7 Implemented new messages. 2000-11-07 20:29:50 +00:00
Huw D M Davies 9a442f7383 Send the local ip address with the PORT command and not that of the
server.
Fix handling of multi-line responses.
Read a response after the STOR command.
2000-11-07 20:28:34 +00:00
Aric Stewart d41c9a3da4 Implemented the RedrawItems message for a listview. 2000-11-07 20:28:11 +00:00
Dmitry Timoshkov dcd09986c3 New path for AFM documentation on the net. 2000-11-07 20:27:40 +00:00
Francois Gouget a2882e03f8 Use DrawFocusRect to draw the focus rectangle. 2000-11-07 20:26:51 +00:00
Andreas Mohr 365e7479f2 - fortify ASPI /proc file parsing (SCSI_getprocentry()) against
CD-ROM drives that are doing mad things with spaces
- add ERR()s in case of parsing problems
2000-11-07 20:26:14 +00:00
Alexandre Julliard 7f12be8d80 Removed SUBDIRS in winmm Makefile. 2000-11-06 20:26:43 +00:00
James Hatheway cb655b0aae Added stubs and setupapi.h. 2000-11-06 20:24:43 +00:00
Marcus Meissner 643fcffaac CBEM_SETITEMW done by example from SETITEMA, converted SETITEMA to use
it.
2000-11-06 20:22:06 +00:00
Alexandre Julliard f3613815ba Added missing dependency for 16-bit resource files. 2000-11-06 05:31:14 +00:00
Alexandre Julliard 017a61e0c2 Use .mc.rc extension for rc files generated by the message compiler. 2000-11-06 05:30:48 +00:00
Stefan Leichter ca1661c3e1 Enable the functions AddPrinterW, WINSPOOL_GetPrinterDriver,
AddPrinterDriverA, WINSPOOL_EnumPrinterDrivers to distinguish the
registry entrys of Win9[58] and WinNT printer drivers.
2000-11-06 05:26:00 +00:00
Lionel Ulmer 6301e94e53 - reorganized DInput DLL
- added stubbing for DInput 7a
- 'fixed' the mouse problem in Fallout
2000-11-05 20:25:02 +00:00
Huw D M Davies 96569102d9 Added DnD cursors as ole32 resources. 2000-11-05 20:16:15 +00:00
Alexandre Julliard eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Alexandre Julliard 94613ab03e New debug channel mechanism allowing decentralized channel
declarations.
2000-11-05 04:51:34 +00:00
Patrik Stridvall d3534c3957 Optimized {,p}MoveTo{,Ex}{,16}. 2000-11-05 03:28:18 +00:00
Marcus Meissner a0dc42101a Forward CBEM_SETEXSTYLE to CBEM_SETEXTENDEDSTYLE, pass WM_SETTEXT and
WM_GETTEXT down to combo box.
2000-11-05 03:19:06 +00:00
Alexandre Julliard 2239abb9f9 Allocate DC objects on the process heap, and removed WIN_DC_INFO
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Alexandre Julliard 47f5f0006a Removed leftover debug output. 2000-11-04 02:57:51 +00:00
Andreas Mohr e826f27331 - fix inf file open/close
- do NOT return handles based on list offset
  - we might want to use HEAP_strdupA instead of assigning string pointers...
- implement (more or less) GenFormStrWithoutPlaceholders
2000-11-04 02:57:18 +00:00
Marcus Meissner ddedfa2324 Fixed off by one error in DPA handling, added some warnings. 2000-11-04 02:56:38 +00:00
Andreas Mohr bb84359c41 Avoid division by zero. 2000-11-04 02:55:08 +00:00
Marcus Meissner 6e9c506f4e Pass up WM_DRAWITEM messages to parent. 2000-11-04 02:54:32 +00:00
Alexandre Julliard e2b4efbd02 Create Gnome/KDE desktop and menu entries from IShellLink
interface. Based on the work of James Thomson and Dusan Lacko.
2000-11-02 20:22:07 +00:00
Aric Stewart cf94bf88c2 Treeview item sorting could mess up the visibleOrder of the items. 2000-11-02 20:09:43 +00:00
Marcus Meissner c536a4a6d3 Swap CalcToolbar and paint rectangle computation to the correct order. 2000-11-02 20:07:25 +00:00
Andreas Mohr ddcc85effb Changed NtQueryInformationToken() to fill out a valid TOKEN_GROUP with
admin privileges.
2000-11-01 21:38:09 +00:00
Juergen Schmied fa9d4e4f50 Export SHGetSettings by name. New stub for shell.68. 2000-11-01 21:36:11 +00:00
Marcus Meissner 6ce752cee9 Have Internet Explorer 3 show its toolbars by passing RB_GETBANDINFO
to RB_GETBANDINFOA.
2000-11-01 21:35:28 +00:00
Alexandre Julliard 908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Alexandre Julliard 50e8ea387b Do not truncate high word of message id. 2000-11-01 01:51:12 +00:00
Juergen Schmied ebcc72c925 Better handling of custom templates and hooks.
Bug fixes.
2000-11-01 01:50:21 +00:00
Marcus Meissner 697a621a7c Removed unnecessary calls of TOOLBAR_CalcToolbar() (which would be
recalculated due to InvalidateRect()->WM_PAINT anyway).
2000-11-01 01:49:01 +00:00
Patrik Stridvall e0322c7fe5 Fixed issue found by winapi_check. 2000-11-01 01:48:22 +00:00
Lawson Whitney 552c5b2869 Stubs for UrlMkSetSessionOption, SHLWAPI_132, SHGetInverseCMAP.
Redirected forward of shlwapi.54 to gdi32.CreateICW.
2000-11-01 01:46:24 +00:00
Francois Gouget 7203ee6623 Use PS_ALTERNATE rather than PS_DOT.
Use Rectangle to draw focus rectangles.
2000-10-31 02:05:11 +00:00
Guy L. Albertelli 88801958ec Ignore RBBS_BREAK style on first band. 2000-10-31 01:49:00 +00:00
Aric Stewart 4de47040fd Fixed cancels editing of a listview label if the listview is
scrolled.
2000-10-31 01:35:50 +00:00
Hidenori Takeshima ce50aa00bb Fix for avoiding subtraction from unsigned zero. 2000-10-31 01:34:27 +00:00
Peter Ivanyi 1da3befe54 Added/upgraded Slovak messages, and Slovak and Czech keyboard layout. 2000-10-31 01:19:11 +00:00
Andreas Mohr 0f5231d980 Changed mouse UnAcquire to NOT unacquire it on multiple unacquires.
Implemented DIPROP_AXISMODE for SysMouseAImpl_SetProperty.
2000-10-31 01:02:43 +00:00
Susan Farley 4dc7f4ca06 Under some conditions its necessary to explicitly show the
scrollbars.
2000-10-31 01:02:05 +00:00
Rein Klazes 8fa528aa3f Return TIME_ZONE_ID_STANDARD in GetTimeZoneInformation(). 2000-10-31 01:01:12 +00:00
Guy L. Albertelli 312beec840 Handle special case where itemID = -1 (special focus rect draw). 2000-10-31 01:00:39 +00:00
Andreas Mohr 7e618ef078 Fix insufficient rect width value in resource file. 2000-10-31 01:00:00 +00:00
Alexandre Julliard 67c883be31 Removed obsolete TOOLSUBDIRS dependency. 2000-10-31 00:23:15 +00:00
Alexandre Julliard 1a3f705fc1 Added import of ntdll. 2000-10-31 00:22:41 +00:00
Alexandre Julliard 2fa4f767aa Build ntdll as a real dll, including everything that was previously in
libwine.so. Created a new (mostly empty) libwine.so in library/ subdir.
2000-10-31 00:20:51 +00:00
Dimitrie O. Paun 334a42f521 Fixed a few compilation warnings 2000-10-29 18:07:04 +00:00
Joerg Mayer 650ba4df23 Move inline and static to the beginning of declarations. 2000-10-29 18:06:04 +00:00
Uwe Bonnes a07258d581 COMBOEX_DrawItem: check return value of SendMessageA(...,CB_GETITEMDATA,...) 2000-10-29 18:04:45 +00:00
David Elliott 44f84b55f3 Added basic working stubs of new Windows 2000 API functions. 2000-10-29 01:24:54 +00:00
Dave Pickles dec5b5092b Implement SHGFI_EXETYPE function of SHGetFileInfo. 2000-10-29 01:17:58 +00:00
Guy L. Albertelli c6c53cd935 - improved trace information
- implemented CB_SETITEMHEIGHT, WM_WINDOWPOSCHANGING,
  WM_MEASUREITEM, WM_DRAWITEM
- changed CBEM_INSERTITEMA, CBEM_SETIMAGELIST,
  WM_CREATE, WM_DESTROY
- above changes correct window rectangle, draws items, and creates
  control correctly.
2000-10-29 01:16:53 +00:00
Guy L. Albertelli 3c7df5c1da - correct processing of RBBS_BREAK style.
- handle cases where cyChild was set to -1 by appl. - undocumented.
- remove special code for Comboboxex problem (now solved).
- fix some painting problems
2000-10-29 01:16:26 +00:00
Marcus Meissner 92747f2543 CreateItemMoniker may get NULL as szDelim, some cleanups. 2000-10-28 00:31:09 +00:00
Marcus Meissner 52475287da Fixed OleLoadFromStream: Dereference ppvObj and get IPersistStream
instead of accessing IUnknown.
2000-10-28 00:30:42 +00:00
Huw D M Davies f9b6d7bb27 Stub for HttpSendRequestExA. 2000-10-28 00:30:23 +00:00
Andreas Mohr 45c9fd892f - set the item height not only for the listbox, but also for the text field
- center text vertically
- beautify comments
2000-10-28 00:29:58 +00:00
Matthew Clarke a420e6f9a2 Don't assume we are building in the source tree, but allow make to
locate resources/display.rc and resources/mouse.rc via VPATH.
2000-10-28 00:29:34 +00:00
Martin Pilka ea31358c0f "StartMenu" --> "Start Menu", "Startup" --> "StartUp". 2000-10-26 19:35:38 +00:00
Alexandre Julliard 5df110185a Fixed typo due to merge error. 2000-10-26 19:30:11 +00:00
Francois Jacques e21864225a Updated the load process so that all typelibs (and not just the first
one, as it used to) stored in a DLL can be loaded.
2000-10-26 19:29:09 +00:00
Dmitry Timoshkov 8a31634a00 Replaced ToAscii by ToUnicode in the User driver interface. 2000-10-25 21:34:31 +00:00
William Waghorn 1e19fe323f xf86vmode_setdisplaymode() wasn't properly saving the 'private' field
of the XF86VidModeModeLine structure.
2000-10-25 21:27:16 +00:00
Francois Jacques d1082dcaa1 Updated typelib loader. Typelib contents can be stored as multibyte
strings. However, they are always returned to the application as BSTR,
e.g. UNICODE strings. All strings are now stored as BSTR instead of
ASCII strings.
2000-10-25 21:24:53 +00:00
Alexandre Julliard cbeb644a94 Added support for loading .res files for 16-bit resources. 2000-10-25 20:33:58 +00:00
Chris Morgan 7a6cf75f76 Implement TCS_VERTICAL style. Fix tab borders to have shading that
matches Windows.  Center image and text in tabs.  Size tabs to
completely fill each row with multiline style.  Fix positioning of
tabs for TCS_BOTTOM style.  Fix various drawing issues.
2000-10-25 20:31:18 +00:00
Susan Farley 8d8c87b85a - When inserting an item, do not invalidate the area above the new
item.
- The debug function that verifies the tree after each insertion
  should be disabled by default.
2000-10-25 20:30:58 +00:00
Andreas Mohr 49b3cec137 Reimplement patch by Marcus Meissner ('98) to "fix" problems with
DSCAPS_EMULDRIVER flag for games like Quake 2 and Unreal Tournament.
2000-10-25 20:30:31 +00:00
Andreas Mohr 4ff660838f Transform device open error TRACE()s into WARN(); better error msgs. 2000-10-25 20:29:39 +00:00
Alexandre Julliard ee8722d054 Implement InternalExtractIcon by calling PrivateExtractIcons instead
of duplicating all the code.
2000-10-24 21:34:40 +00:00
Aric Stewart 4162315eac Added forward for WSAResetEvent. 2000-10-24 21:25:49 +00:00
Rein Klazes 9dd32508f6 Convert the value of level when setsockopt is called with
WS_SO_DONTLINGER.
2000-10-24 21:25:21 +00:00
Patrik Stridvall a9f6a9daec Explicitly initialize structures. 2000-10-24 02:22:16 +00:00
Francois Jacques 0282825f63 - All audio device handles are initialized to -1 and set to -1 when closed.
- WINE_WM_HEADER event should *NOT* make the recording thread start. The
  thread should only start through waveInStart. The application calling
  waveInAddBuffer might not be in a state to provide another buffer in
  a period of time short enough to avoid buffer underrun in widRecorder
  thread.
- widRecorder - improved robustness of widRecorder to avoid some data
  loss that occured when not reading one full fragment from the OSS
  audio driver.
2000-10-24 02:20:01 +00:00
Patrik Stridvall 135dfd7576 Fixed some warnings. 2000-10-24 01:42:55 +00:00
James Hatheway 4c2c7af0cc Added stubs for CryptGenRandom(), CryptReleaseContext(). 2000-10-24 01:39:29 +00:00
Chris Morgan 1fc70a94c5 Implemented RpcStringFreeA and UuidToStringA. 2000-10-24 01:37:22 +00:00
Alexandre Julliard 21ec006fc1 Build Win32 resources as .res files and dump them into the .spec.c file. 2000-10-23 21:39:39 +00:00
Alexandre Julliard 2affae5ae7 Moved all USER resources to new dlls/user/resources directory. 2000-10-23 21:32:05 +00:00
Alexandre Julliard b85a6adc58 Duplicate resource directory searching routines instead of calling
pe_resource.c internal functions.
Made GetFileResource16 and GetFileResourceSize16 callable directly
instead of defining extra internal functions.
2000-10-23 01:38:29 +00:00
Alexandre Julliard c1c41cd64e Duplicate resource directory searching routines instead of calling
pe_resource.c internal functions.
2000-10-23 01:35:46 +00:00
Andreas Mohr 588ee35618 Always open/close the CD-ROM device for every Windows API CD-ROM
access.
2000-10-23 00:40:23 +00:00
Marcus Meissner aa10949064 Added some basic IDirectDraw7 interface support, fixed argument count
of IDirectDraw{4,7}_SetDisplayMode defines.
2000-10-23 00:36:45 +00:00
Marcus Meissner 2aeb57eeff Got rid of misleading "No Tls Space" error message. 2000-10-22 23:55:34 +00:00
Patrik Stridvall fde6d9a586 Fixed some warnings. 2000-10-22 23:54:51 +00:00
Eric Pouech 3291a05838 Added more conversion routines (rate conversion is implemented).
Cleaned up the code.
2000-10-22 23:49:40 +00:00
Marcus Meissner 61ef06042e Do not set the iSubItem part of the struct for LVM_HITTEST,
applications only need to pass memory space up to iItem.
2000-10-22 23:47:49 +00:00
Marcus Meissner 5de0fa127c DirectDrawCreateEx() should already return the interface for the
passed refiid.
2000-10-22 23:47:09 +00:00
Lionel Ulmer c4134c741b Change the width / height parameter on a SetDisplayMode. 2000-10-22 23:46:48 +00:00
Gerard Patel 69036e9985 Fixed bug when changing drives in 16 bit style dialog for a 32 bit app
+ miscellaneous fixes.
2000-10-22 23:46:21 +00:00
Marcus Meissner 56b68febca Added two checks for out of range pointer accesses. 2000-10-22 23:45:50 +00:00
Jason Mawdsley e7b84a9b54 Fixed some flickering that was occurring in the image list control
when it repainted.
2000-10-22 23:43:56 +00:00
Andreas Mohr c472708f69 Added sleep time calculation for the wodPlayer thread.
Changed the wodPlayer thread messaging to use its own fast 30 entries
ring buffer list.
2000-10-22 23:43:15 +00:00
Francois Jacques 3732965c15 Added asynchronous recording in MCI layer. 2000-10-19 22:36:54 +00:00
Andreas Mohr d747b76cb6 Sequencer error message fix. 2000-10-19 22:31:37 +00:00
James Hatheway af7f901c9c Fix messages sent when right-clicking in a blank (non-item) area of a
listview.
2000-10-19 22:28:06 +00:00
Uwe Bonnes 018c6545dc Draw text and icons, implement ordering functions, allow reordering
with mouse and fix the WM_NOTIFY target.
2000-10-19 22:26:17 +00:00
Alexandre Julliard 044f028f0e Brian Pirie
Added support for PASSTHROUGH and POSTSCRIPT_PASSTHROUGH escapes.
2000-10-19 20:33:02 +00:00
Alexandre Julliard 81800b1f6d Use a binary search to find entries in resource directories.
Fixed GetResDirEntryA/W prototypes.
2000-10-19 20:29:53 +00:00
Alexandre Julliard cc7abe1f06 Call PrivateExtractIcon in user32 instead of duplicating the code. 2000-10-19 20:28:12 +00:00
Francois Jacques 11805e0a4b Should test unixdev against -1 (see wodOpen/widOpen).
widRecorder: bytesRead is now tested against (DWORD) -1.
2000-10-19 20:26:04 +00:00
Lionel Ulmer 81b7208eee Do not do any GLX calls on a display that does not support GLX. 2000-10-19 20:22:36 +00:00
Chris Morgan 89d4472d46 Recalculate nItemHeight when LVS_SETIMAGELIST is called. Fixes icons
being chopped off in the file dialog window.  Align items to top and
refresh after sorting, as windows does.
2000-10-19 20:22:09 +00:00
Chris Morgan 04996dda2d Stub CreateDispTypeInfo, CreateStdDispatch16 and CreateStdDispatch. 2000-10-19 20:21:42 +00:00
Peter Hunnisett 10a04e7485 - Add proper message reply mechanism and sp player data storage
- More implementation and fixes
2000-10-19 20:20:58 +00:00
Chris Morgan da610897e4 Implement LVM_SETITEMPOSITION32. 2000-10-17 00:30:39 +00:00
Uwe Bonnes 4bfc2a8a2d Remember owner HWND when creating and use this hwnd for the WM_NOTIFY
message target.
2000-10-17 00:29:18 +00:00
Andreas Mohr 04a8eda985 Implemented old Win 2.x string functions. 2000-10-17 00:27:47 +00:00
Lionel Ulmer cb4ff8c51e Warning fix. 2000-10-17 00:26:37 +00:00
Alexandre Julliard 57f05e1913 Converted a few more server requests to the new mechanism. 2000-10-15 00:40:25 +00:00
Alexandre Julliard bcb40b3177 Fixed a few prototypes. 2000-10-15 00:39:11 +00:00
Alexandre Julliard 80fc23a939 Set selector 0000H base to 0xf0000 until the first 64K are
unprotected.
2000-10-15 00:37:50 +00:00
Eric Pouech 353962d5b4 Fixed ShellMessageBox[AW] buffers usage (in some cases, wrong buffers
were used ; destination buffer doesn't have a fixed size).
Fixed FormatMessage parameter warnings (it's now a va_list*).
2000-10-15 00:31:23 +00:00
Gerald Pfeifer 1841a2ac08 Remove unused variable orig_mode. 2000-10-15 00:30:16 +00:00
Uwe Bonnes 64d95e9374 Draw the scrollbar beside the buddy when neither UDS_ALIGN[RIGHT|LEFT]
is given.
2000-10-15 00:28:44 +00:00
Uwe Bonnes 8923f16fa1 Localization and expect leapdays when looking for the length of a
month.
2000-10-15 00:28:00 +00:00
Uwe Bonnes b0067efa53 Localization and many changes to behaviour and outlook. 2000-10-15 00:27:28 +00:00
Uwe Bonnes f83ce82a60 Split out resources that might be localized.
Added German resources.
2000-10-15 00:26:58 +00:00
Uwe Bonnes c3585ba32d Added additional resource IDs. 2000-10-15 00:24:48 +00:00
Marcus Meissner 781eb0c660 Stubbed LookupAccountNameA. 2000-10-15 00:23:56 +00:00
Marcus Meissner c429669791 Return "default" DirectDraw driver if we have at least one driver
registered.
2000-10-15 00:23:09 +00:00
Rein Klazes e8b3afc2c1 LoadStringA inserts terminating null in the buffer when the string
resource is an empty string or when it can not be found.
2000-10-15 00:21:48 +00:00
Francois Gouget eb6500fba9 Fixed the signature of the FormatMessage APIs. 2000-10-13 23:41:12 +00:00
Francois Gouget 50bcd1a8e3 HFILE is an int, not a regular HANDLE. 2000-10-13 23:11:05 +00:00
Gerald Pfeifer df47d35e9d Fixed incorrect format string. 2000-10-13 23:08:13 +00:00
Marcus Meissner 4b3afdcce0 Implemented DirectInputCreateEx. 2000-10-13 23:07:29 +00:00
Louis Philippe Gagnon d41e22bf0d Do not send a WM_CONTEXTMENU message when a TreeView receives a
WM_RBUTTONUP.
2000-10-13 23:07:08 +00:00
Andreas Mohr 1563abe8ec - stupid spelling fixes
- some more loadorder array work
2000-10-13 20:26:52 +00:00
Alexandre Julliard 27952ef0ee Added a few more large integer functions. 2000-10-13 20:26:03 +00:00
Marcus Meissner 97827ead5b Stubbed GetDeviceGammaRamp. 2000-10-13 20:22:59 +00:00
Chris Morgan 3b37e7ae6a Indicate that the MIDI error message only affects programs that need MIDI. 2000-10-13 20:21:27 +00:00
Susan Farley 036ae0b6b3 To improve custom-drawn items, add focus border to itemRects and do
not overlap them.
2000-10-13 20:13:38 +00:00
Mike McCormack 11776c1fcf Moved comm.c into kernel32. 2000-10-13 17:11:30 +00:00
Francois Gouget 529779cf4c Fixed the signature of SysAllocStringByteLen. 2000-10-13 17:08:12 +00:00
Susan Farley 557066db1c Status bars on managed windows should not have SIZEGRIP style. 2000-10-13 17:07:08 +00:00
Uwe Bonnes 6e843d7d58 Make reg the default output chanel. 2000-10-13 17:05:56 +00:00
Rein Klazes 81f7771972 Ignore setsockopt calls that make the size of the receive buffer too
small.
2000-10-13 17:05:35 +00:00
Stephane Lussier 907a1e615b Subitems of listviews were not painted with the right background when:
-LVS_EX_FULLROWSELECT style is defined
-item is selected
-Listview doesn't have the focus.
2000-10-13 17:05:17 +00:00
Francois Gouget 67c9691313 Added many missing *Pxxx types.
Removed a few *LPxxx types that are not supposed to be there (in
particular LPICONINFO).
Added a few missing *LPCxxx types (MENUITEMINFO, SCROLLINFO,
DLGITEMTEMPLATE).
WINHELP and PE_ACCEL are internal types.
MULTIKEYHELP and HELPWININFO both have an A and W variant.
NUMBERFMT, CURRENCYFMT and the related API belong to winnls.h.
Added missing ARW_xxx defines (for sysmetrics).
2000-10-12 23:18:55 +00:00
Chris Morgan 4a49c8f080 Fix depressed state with flat toolbars so pressing the buttons draws
the button in a depressed state.  Fix bitmap offsets, fixes bitmap
offset problems in file common dialog.
2000-10-12 23:11:35 +00:00
Susan Farley 3bd7f58706 On InsertItem with TVI_FIRST, the check for resetting firstVisible
must be done *before* the parent's firstChild changes.
2000-10-12 23:11:06 +00:00
Lionel Ulmer 85f4a49c2d Support non-buffered overlays. 2000-10-12 23:09:40 +00:00
Guy L. Albertelli f82e493cdd Rewrite to support rows of bands.
Draw separators between bands in rows and between rows.
Support text and background color and color propagation.
Improve layout code.
Make fMask in internal structure the indicator of valid information.
Fix size of grippers.
Add debugging traces for future.
2000-10-12 23:09:01 +00:00
Serge Ivanov 7a9a2aa104 Simple NULL check. 2000-10-12 23:08:19 +00:00
Stephane Lussier 163830c569 - Background should not be drawn if the background color is CLR_NONE.
- Don't change the size to 0 for the header control of listview with
  LVS_NOCOLUMNHEADER style. In fact just setting HDS_HIDDEN to the
  header control is enough.
2000-10-12 23:07:41 +00:00
Marcus Meissner fad4593a74 Added 16 (565) -> 15 (555) bit depth converter. 2000-10-12 23:05:48 +00:00
Lionel Ulmer a9d3fab147 Implememnted GetFourCCCodes. 2000-10-12 20:50:45 +00:00
Marcus Meissner f71c962872 Enable XF86vmode switching possible for X11 too. 2000-10-12 20:47:42 +00:00
Eric Pouech 140d8cd909 Added PCM converter internal driver.
A few driver handling fixes.
2000-10-12 20:46:49 +00:00
Francois Gouget 8ea8181341 Fix the parameter types and comments of the DDElParam functions. 2000-10-12 20:43:59 +00:00
Francois Gouget 5853bd3c70 Added some of the APIs introduced in Win98, mostly the VarXxx maths APIs. 2000-10-12 20:41:56 +00:00
Andreas Mohr aa7971ba24 MCICDA didn't open/close the door when calling the command without
valid parameter block (i.e. == NULL).
2000-10-12 20:40:56 +00:00
Stephane Lussier ee70e92180 Implementation of OleLockRunning function. 2000-10-12 20:40:32 +00:00
Aric Stewart e127a28166 Corrected some segvs that occur with ownerdata listviews. 2000-10-12 20:39:59 +00:00
Niels Kristian Bech Jensen ef3e8f286a Define LOCALE_IDEFAULTMACCODEPAGE for Danish locale. 2000-10-12 20:38:07 +00:00
Marcus Meissner 0d30481a31 Suppress junk noise at startup of DirectSound on SB Live! and ES 1371. 2000-10-12 20:37:51 +00:00
Francois Gouget 9046658f06 Fixed some prototypes. 2000-10-03 04:09:17 +00:00
Francois Jacques 732cf4dc9a Bug fixes in mmio, related to buffering in record mode. 2000-10-02 22:15:47 +00:00
Alexandre Julliard 454355ece1 Convert NtQueryKey and NtEnumerateKey to the new request mechanism.
Fixed a few bugs.
2000-10-02 03:46:58 +00:00
Alexandre Julliard 1871e660fd Forward all large integer functions to ntdll. 2000-10-02 03:45:11 +00:00
Patrik Stridvall bf8943c60c Fixed some issues found by winapi_check. 2000-10-02 03:39:34 +00:00
James Hatheway 23b320e6de Silence unneeded exception to allow easier ACM debugging. 2000-10-02 03:33:20 +00:00
Alexandre Julliard bcf393a5e5 Converted some of the registry server requests to the new request
mechanism.
2000-10-01 01:44:50 +00:00
Alexandre Julliard d76f9f9637 Implemented a bunch of large integer functions in ntdll. 2000-10-01 01:40:42 +00:00
Stefan Leichter 5cfe17702e - moved some code from WINSPOOL_GetPrinterDriver into new function
WINSPOOL_GetDriverInfoFromReg
- bug fix in function GetPrinterDirectoryW: free local variable not
  the one from function interface
- implemented EnumPrinterDriversA|W
2000-09-29 21:05:11 +00:00
Alexandre Julliard afb49ead82 Moved a bunch of routines to kernel32.dll (with the help of
Dimitrie O. Paun).
2000-09-29 20:48:04 +00:00
Francois Gouget 8aa79fbe19 Moved DLLVERSIONINFO to shlwapi.h. 2000-09-29 01:03:30 +00:00
Andreas Mohr e983dbbccb Let InternalExtractIcon16 load icons from builtin DLLs. 2000-09-29 00:58:38 +00:00
Francois Gouget 88ebde86d7 Modified the bitmap centering algorithm to take the button's border
into account.
2000-09-29 00:56:52 +00:00
Alexandre Julliard cc9cfdff79 Removed a few dependencies on kernel32 functions. 2000-09-29 00:31:57 +00:00
Alexandre Julliard baa15566a0 Moved critical section implementation to ntdll. 2000-09-29 00:31:23 +00:00
Mike McCormack 3112fd2269 Implemented SHDeleteEmptyKeyA, SHDeleteKeyA. 2000-09-29 00:25:56 +00:00
Susan Farley ced43b914d Call ReleaseCapture (which triggers WM_CAPTURECHANGED) after the
WM_COMMAND for the button has been sent, rather than before.
2000-09-29 00:24:54 +00:00
Francois Jacques 5767f63026 Use waveaudio, not waveform. 2000-09-29 00:24:11 +00:00
Huw D M Davies a79587df23 Fix a couple of TRACE messages. 2000-09-29 00:23:45 +00:00
Francois Gouget fcc199c78a Fix the return type of mixerMessage16. 2000-09-29 00:23:04 +00:00
Alexandre Julliard 86f4531676 Added a few missing imports. 2000-09-27 22:32:44 +00:00
Eric Pouech 96d920fd25 Store a copy of MIDIOPENDESC information instead of pointer. 2000-09-27 22:28:51 +00:00
Eric Pouech 13f3e8465d Unlock win16 crst while thunking up to 32 bit dll. 2000-09-27 22:28:31 +00:00
Gerald Pfeifer eb0231da29 Include <unistd.h> for prototype of select(). 2000-09-27 22:27:57 +00:00
James Abbatiello aad78b91f7 MCI_STATUS_LENGTH on Windows returns one frame less than the total
track length for the last track on a CD.  This also affects queries
for the total length of the CD.
2000-09-27 01:18:08 +00:00
Alexandre Julliard ab170a9c84 Fixed a few non portable zero-size array declarations. 2000-09-27 00:25:24 +00:00
Peter Hunnisett 72526ba4f5 - Remove winmm hack in dplay code
- Fix up some missing holes in the code
- More message implementation
- Status documentation update
2000-09-26 23:11:48 +00:00
Andreas Mohr 5644cdc1f5 Started some basic work on the more or less undocumented SETUPX
functions.
2000-09-26 22:46:36 +00:00
Susan Farley 0fc9d151fd Support for TBSTYLE_EX_DRAWDDARROWS style; reset capture and button
pressed flags on WM_CAPTURECHANGED.
2000-09-26 22:45:31 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Lionel Ulmer fc67be9a01 Added support for DirectDraw overlays using the XVideo extension. 2000-09-26 00:38:03 +00:00
Alexandre Julliard 56b9fea89a A few includes cleanup. 2000-09-26 00:02:22 +00:00
Alexandre Julliard 74af67ef42 Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-26 00:00:55 +00:00
Alexandre Julliard 60e175294b Use documented DROPFILES structure instead of internal DROPFILESTRUCT. 2000-09-25 23:56:41 +00:00
Alexandre Julliard d8fab2e67c Removed some of the XXX_reg macros now that we are using the standard
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Alexandre Julliard 0ff083bab8 Call WH_GETMESSAGE hook in PeekMessage too (based on a patch by Rob
Farnum).
2000-09-24 19:51:15 +00:00
Rein Klazes ff7a61f8d3 Make calls to gethostbyname, gethostbyaddr, getservbyname,
getservbyport, getprotobyname and getprotobynumber thread-safe.
2000-09-24 19:41:57 +00:00
Alexandre Julliard b59627c89f Added support for exception handling while in vm86 mode.
Fixed a couple of bugs in vm86 support.
2000-09-24 03:11:54 +00:00
Gerald Pfeifer 1b490b42bf Fixed format strings. 2000-09-24 03:05:11 +00:00
Francois Gouget 0ce209c8fc Added set WS_CHILD and CCS_TOP to the toolbar's style.
TOOLBAR_CalcToolbar(): if the bitmap size is 0, use the builtin
defaults.
2000-09-24 03:03:52 +00:00
Francois Gouget 17acdf26af The size of the comctl32 internal bitmaps is 24x24 not 26x26.
Fixed minor typos.
2000-09-24 03:03:22 +00:00
Chris Morgan fca20f6553 Paint background before drawing item and subitems. Paint any area of
the control not occupied by items.  Early out of LISTVIEW_RefreshXXX
if no items exist. InvalidateRect() on LBUTTONDOWN only if the control
has items to draw.
2000-09-22 22:45:30 +00:00
Andreas Mohr c941effc24 Make GetTickCount not use the whole Unix epoch (since 1970) any more,
since that crashed several games or caused problems with them as they
aren't used to a high Windows uptime of more than 24.9 days.
2000-09-22 22:37:56 +00:00
Huw D M Davies e8aa1b98a0 Paper size and orientation prop sheet for wineps. 2000-09-22 22:16:31 +00:00
Susan Farley 196daf815e Added support DT_PATH_ELLIPSIS, DT_END_ELLIPSIS, and DT_WORD_ELLIPSIS
flags in DrawText.
2000-09-22 22:09:11 +00:00
Damyan Ognyanoff 72140b02c3 IErrorInfo is now derived from IUnknown. 2000-09-22 22:07:53 +00:00
Aric Stewart dc2ffbe0cd Correct some situations with listview selections. Specifically fixed
situations where in an OWNERDATA listview the selection ranges become
invalid if the number of items is changed. Additional fixes a few
problems resulting in loops in RemoveAllSelections.
2000-09-22 22:00:01 +00:00
Eric Pouech 29001b3131 Fixed reentrancy issues in play/stop operations. 2000-09-22 20:56:45 +00:00
Huw D M Davies 367066762d Fix PrintDlg collate icons. Add orientation icons. 2000-09-22 20:55:57 +00:00
Huw D M Davies 38610fad4b Stubs for shlwapi.151 and shlwapi.153. 2000-09-22 20:55:35 +00:00
Huw D M Davies 545771bbd8 Stub for CoIsOle1Class. 2000-09-22 20:55:14 +00:00
Huw D M Davies 044e082cf5 Set close on exec() flag at times when we leave /dev/dsp and
/dev/sequencer open.
2000-09-22 20:54:51 +00:00
Susan Farley b409cf62d4 Added support for FLATBUTTON style tabs.
Made width of BUTTON style tabs no less than 2x their height.
Expanded focus rect to be just inside the border.
2000-09-22 20:54:16 +00:00
Andreas Mohr 92dcad8a5a Add FIXMEs for all these nice completely unimplemented TOOLHELP
functions.
2000-09-22 20:51:09 +00:00
Chris Morgan 3c72f96469 Fixed button image to be offset to the center of the button horizontally,
visible with WinZip and CuteFTP 4.0.  Fixed compile warnings from format type
specifiers in two TRACE's.  Removed TRACE in TOOLBAR_GetItemRect().  Added
button width to TRACE in TOOLBAR_CalcToolbar().
2000-09-22 20:49:54 +00:00
Chris Morgan a45919338d Changed RedrawWindow()'s to InvalidateRect()'s. RedrawWindow() was
being called with RDW_UPDATENOW, forcing immediate painting.  Added
redrawing logic to STATUSBAR_SetTextW().
2000-09-22 20:49:12 +00:00
Chris Morgan 36c8db8c7d Fix behavior of TVS_SINGLEEXPAND style broken in Corel merge. Optimize
redrawing in TREEVIEW_SetItemA() to redraw only if the item changes.
2000-09-22 20:48:15 +00:00
Peter Hunnisett 565b00857e - Added some missing WINELIB_NAME_AW definitions, types and messages
- Small prototype fixes
2000-09-19 02:43:00 +00:00
Stephane Lussier c5e86a2c19 Notification NM_CLICK, NM_RCLICK and NM_DBLCLK sent by the listview
should set lParam to a NMLISTVIEW instead of a NMHDR. According to
MSDN doc, it is like that since version 4.71, Wine is returning 5.0 as
the DLL version.
2000-09-19 02:38:45 +00:00
Gerard Patel 9005713d39 Avoid infinite loop if QueryPathOfRegTypeLib is called with lcid=0. 2000-09-19 02:37:07 +00:00
Alexandre Julliard 45b2c868bb Added preliminary support for switching to vm86 mode with proper
exception handling.
2000-09-18 02:15:07 +00:00
Chris Morgan 7b7c32c801 Change FIXME("Button size set after button in toolbar\n") in
SetButtonSize() to WARN as quite a few applications are doing this
after adding each button to the toolbar and there is no way we can
stop them.
2000-09-18 01:41:50 +00:00
Gerald Pfeifer 54449ce348 Remove unused local variable in DGA_IDirectDrawSurface4Impl_SetPalette(). 2000-09-18 01:41:26 +00:00
Mike McCormack 46bc534c82 Fixed incorrect arg count in SHGetSettings that causes winzip32.exe to
report an error.
2000-09-18 01:40:13 +00:00
Stephane Lussier 3872d0a218 Sorting items in a listview using LVW_SORTITEMS is only sorting the items
and not the subitems. This patch fix this issue. I've remove the temporary
Sortlist, it was not necessary to create another list, and it was buggy.
2000-09-18 01:39:27 +00:00
Alexandre Julliard 3993216776 Moved Select/RealizePalette implementation to USER and use
pfnSelect/RealizePalette function pointers in GDI.
Make sure the palette handle is valid in GDISelectPalette16 (thanks to
Uwe Bonnes).
2000-09-16 20:57:39 +00:00
Andreas Mohr 007fb24088 Added support for non-deletable system brushes and pens created by
USER.
2000-09-16 20:53:51 +00:00
John Gilmore 5180d5635d Cleaned it up so that code paths which have unsupported WS_SO values
never actually pass them to Unix system calls.
2000-09-16 20:51:40 +00:00
Andreas Mohr 5bb74648d8 Added VirtualAllocEx. 2000-09-16 20:50:36 +00:00
Andreas Mohr 05aa048691 Fixed tab control to use HTTRANSPARENT when mouse hits client area,
but not tab control buttons.
2000-09-16 20:47:27 +00:00
Stephane Lussier 88968b89cb Allow having a transparent background text color for the listview. 2000-09-16 20:45:09 +00:00
Ulrich Weigand 53dbe16cc2 Update ESP correctly on return from flat thunk routines. 2000-09-13 20:30:03 +00:00
Huw D M Davies 52b2d2cff6 Add some Str* prototypes to shlwapi.h. 2000-09-13 20:28:31 +00:00
Chris Morgan 5f9fd77db3 Merged main Wine changes into Corel's treeview control rewritten by
Serge Ivanov and Andrew Lewycky.  Fixed item focus behavior to match
Windows.  Fixed item selection when un/expanding items.  Implemented
WM_SETREDRAW.  Added Corel's COMCTL32_CreateToolTip() helper function
to commctrl.c.
2000-09-13 20:27:30 +00:00
Lionel Ulmer 48455b369a Upgrade also 15bpp to 16bpp surfaces. 2000-09-13 00:00:26 +00:00
Andreas Mohr 20cd9356a8 - fixes debugger output
- get rid of wrong comments
- fix comments
- .spec spelling fix
- improve warning message
2000-09-12 23:40:40 +00:00
Andreas Mohr 973cc74066 "implemented" GetSystemTimeAdjustment. 2000-09-12 23:39:10 +00:00
Chris Morgan 2a6c1e498c Hide the vertical scrollbar when listview style is LVS_LIST. 2000-09-12 23:37:19 +00:00