Commit Graph

2002 Commits

Author SHA1 Message Date
Marcus Meissner e38b41911f Truncate dest blit rectangle down to surface size. 2000-11-27 23:06:36 +00:00
Marcus Meissner c7dd25420e WARN() about missing /dev/sequencer, it's too confusing for newbies. 2000-11-27 23:01:10 +00:00
Alexandre Julliard 2682bc24ca Fixed a few dependencies on 16-bit or internal functions. Fixed a few
warnings.
2000-11-27 22:03:23 +00:00
Alexandre Julliard 62469b21b6 Fixed SEGPTR_GET usage. 2000-11-27 22:02:08 +00:00
Alexandre Julliard 3062240db4 Added entry for PrivateExtractIconsA. 2000-11-27 22:01:21 +00:00
Alexandre Julliard 5ce902b0b9 Implemented DosFileHandleToWin32Handle, Win32HandleToDosFileHandle and
DisposeLZ32Handle and use them to replace file.c internal functions.
Renamed WOW* functions into K32WOW*.
2000-11-27 21:59:08 +00:00
Alexandre Julliard 1c07718a54 Added entry for TerminateApp16. 2000-11-27 21:55:30 +00:00
Alexandre Julliard ac7efef3b5 Changed GetProcAddress16 and 16-bit resource functions to take normal
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Andreas Mohr cb45438be2 - added winver settings nt2k, win30 and win20 (yes, some rare programs need this)
and *document* it (win98 was not documented previously)
- OaBuildVersion: add value for NT4 SP6
- spelling fixes
2000-11-27 01:39:05 +00:00
Jon Griffiths d6deb6db91 - configure tests for finite()/fpclass(), fixes BSD compile
- winapi_check updates, fix errno in more math calls
2000-11-27 01:37:28 +00:00
Alexandre Julliard 394e0eb19b Moved UTSelectorOffsetToLinear and UTLinearToSelectorOffset to
dlls/win32s.
2000-11-26 22:42:49 +00:00
Alexandre Julliard 69dd0a9467 Removed dependency on 16-bit file I/O functions. 2000-11-26 22:40:49 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Marcus Meissner 3c379ddc6b Ignore SOL_SOCKET/SO_DEBUG setsockopt() calls. 2000-11-26 22:36:38 +00:00
Dimitrie O. Paun 842c21245f Corrected default values with help from Ulrich Czekalla. 2000-11-26 22:35:01 +00:00
Alexandre Julliard 39b3195ce6 Added entry point flags -noimport, -norelay, -ret64 and -i386.
Replaced 'byte', 'word' and 'long' by 'variable' and made it work for
Win32 too.
Made parser more robust against truncated files.
2000-11-26 04:31:48 +00:00
Dimitrie O. Paun 5298812be1 Make sure all files using config.h constants actually #include "config.h" 2000-11-26 04:04:21 +00:00
Patrik Stridvall be0d06541a Fixed some issues found by winapi_check. 2000-11-26 04:03:10 +00:00
Hidenori Takeshima 5d1a6385e1 Added checking for netdb.h.
Don't include arpa/inet.h and sys/socket.h if system doesn't have these headers.
2000-11-26 04:00:53 +00:00
Alexandre Julliard dfd3d4ada2 Moved GET_IP out of winnt.h. 2000-11-25 23:56:20 +00:00
Nerijus Baliunas 301eb88516 Added missing locales to locale_rc.rc. 2000-11-25 23:52:38 +00:00
Francois Jacques 7163957908 - support for arguments with referenced types
- imported type libraries
- dispinterfaces
- dual interfaces
- ref count problems
- memory leaks fixed
2000-11-25 23:51:30 +00:00
Marcus Meissner 4826d56d53 glibc2.2 needs __USE_ISOC99 for FP_NAN and isfinite(). 2000-11-25 23:17:52 +00:00
Alexandre Julliard 3bf456bb44 Fixed GetLargestConsoleWindowSize return type for Winelib apps. 2000-11-25 21:46:30 +00:00
Alexandre Julliard 1852ce8018 Added a few forwards. 2000-11-25 21:43:48 +00:00
Alexandre Julliard 07b1ac8412 Fixed typos. 2000-11-25 21:43:04 +00:00
Ove Kaaven a32ddc0f8d Implemented Get/SetDIBColorTable. 2000-11-25 21:42:00 +00:00
Nerijus Baliunas 235f1295f1 Completed lvi.nls and lth.nls. 2000-11-25 21:41:05 +00:00
Jon Griffiths c702f0e69e - Fix ctype(), make is* functions binary compatible
- Add 13 functions, set errno in math calls
2000-11-25 21:39:03 +00:00
Patrik Stridvall 024d6c50d6 Fixed some issues found by winapi_check. 2000-11-25 03:09:30 +00:00
Francois Gouget 3116bd9f45 compobj.h is a synonym for objbase.h
Moved all the other contents to dlls/ole32/compobj_private.h
2000-11-25 03:08:23 +00:00
Eric Kohl 40f29eeab7 Added notification format handling. 2000-11-25 03:07:01 +00:00
Ove Kaaven 2c691b31ce Implemented Win16 behaviour of DDL_DRIVES in DlgDirList. 2000-11-25 03:06:03 +00:00
Jon Griffiths 7349aab051 - Add math calls: scalb, fpclass, nextafter, logb, _CI*
- Add futime, utime, purecall, getpid
2000-11-25 02:11:59 +00:00
Jon Griffiths d5c40bbe5f NTDLL__CIpow returns double, not LONG. 2000-11-25 02:11:26 +00:00
Stephane Lussier cb2abbc2d3 - Read all the fragments available, not only one fragment before
going back to sleep.
- Use SNDCTL_DSP_SETTRIGGER ioctl command to trigger the start the
  recording. If this command is not supported by the device, read 4
  bytes in the sound device instead.
2000-11-25 02:10:53 +00:00
Alexandre Julliard bd14f66e84 Fixed warnings. 2000-11-25 01:40:34 +00:00
Andreas Mohr a59324db91 Cosmetics. 2000-11-25 01:40:10 +00:00
Dimitrie O. Paun 3c13ab1ab4 Update comments, cleanup warning messages. 2000-11-25 01:37:22 +00:00
Dimitrie O. Paun 0b7a7bbc06 Include config.h in files that test for constants defined in it. 2000-11-25 01:31:17 +00:00
Dimitrie O. Paun 5bea4f876e Avoid using TIOCM_* constants if not available. 2000-11-25 01:29:00 +00:00
Eric Kohl 758c3841cb Implemented PE file checksum calculation. 2000-11-25 01:28:09 +00:00
Eric Kohl 7379b89185 Removed calls to internal (non-exported) wine functions. 2000-11-25 01:27:42 +00:00
Aric Stewart 49e0bf797f Added the turkish locale. 2000-11-25 01:26:38 +00:00
Ulrich Czekalla f235a7ba04 Send HDN_ITEMCHANGING and HDN_ITEMCHANGED when resizing. 2000-11-25 01:25:46 +00:00
Marcus Meissner f73358f0ea Added some ordinal stubs, implemented SHDeleteValue*, SHSetValue*. 2000-11-25 01:24:10 +00:00
Ove Kaaven b48fd54725 WinG was written for 8bpp DIBs, so some apps assume that, so always
recommend 8bpp, regardless of the actual display depth.
2000-11-25 01:23:12 +00:00
Marcus Meissner 7521295fba Added OLE32.DllRegisterServer stub. 2000-11-25 01:22:42 +00:00
Ove Kaaven 74eee411d5 Routed a couple of 16-bit avifile.dll handlers to the 32-bit
handlers... well, works for Civilization II.
2000-11-25 01:22:15 +00:00
Marcus Meissner 5580fb7dd7 Added pow() forward. 2000-11-25 01:21:56 +00:00
Marcus Meissner c2806fa15e MultiByteToWideChar() returns characters, not bytes. 2000-11-25 01:20:53 +00:00
Francois Jacques 26c0b76bf8 Implemented VT_EMPTY to VT_BSTR type coercion. 2000-11-25 01:20:37 +00:00
Marcus Meissner e93807c0cb Handle %ls same as %s. 2000-11-25 01:19:58 +00:00
Marcus Meissner b7512e480e Added stub for DCIOpenProvider. 2000-11-25 01:19:43 +00:00
Alexandre Julliard c95b1aa37f Avoid linking with ntdll where possible. 2000-11-16 04:15:08 +00:00
Alexandre Julliard 8d311c3130 Removed calls to Wine internal functions. 2000-11-16 04:14:19 +00:00
Alexandre Julliard 0e44f63c9a Replaced HEAP_strdup* and lstrcpynAtoW calls by exported functions. 2000-11-16 00:28:52 +00:00
Alexandre Julliard ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Jon Griffiths 4b43b4d558 - Complete the implementation of heap functions
- Forward j0,j1,jn,y0,y1,yn math calls to libc
- Add strnextc, pass text flag in creat, winapi_check fixes
2000-11-15 23:11:38 +00:00
Dmitry Timoshkov 77b2185e1c Remove redundant includes.
Eliminate use of USER internal structures.
2000-11-15 22:15:52 +00:00
Eric Kohl 76386564a6 Use internal unicode strings.
Added unicode messages.
2000-11-15 22:15:11 +00:00
Eric Kohl b7546b6831 New unicode support functions. 2000-11-15 22:14:43 +00:00
Marcus Meissner 93734bcdc3 Simplified reg handling in CoGetClassObject, do not use RegQueryValueW. 2000-11-15 22:13:26 +00:00
Marcus Meissner 5dec0a72bd Added some rpcrt4 stubs. 2000-11-15 22:11:50 +00:00
Jeremy White 3101315b79 Allow desktop=N in the [x11drv] section of .winerc, instead of
defaulting to desktop=640x480.
2000-11-15 22:11:33 +00:00
Alexandre Julliard 914406f854 Moved LDT handling to libwine.so. Changed the interface to use the
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Alexandre Julliard 41d6e2feba Temp hack: do not import dlls that we link with at the ELF level. 2000-11-13 20:27:31 +00:00
Alexandre Julliard 3b0c1ec489 Fixed copy/paste typo spotted by Dimitrie O. Paun. 2000-11-13 19:36:18 +00:00
Guy L. Albertelli 418efdc410 Implement dragging on gripper to expand and compress bands. Actual
moving bands to different rows will be later.
2000-11-13 19:29:16 +00:00
Mike McCormack 1eac1911c7 - created server object for handling async i/o
- implemented WaitCommEvent with the EV_RXCHAR flag
- implemented GetOverlappedResult
2000-11-13 19:27:21 +00:00
Alexandre Julliard 745ec84c8b Export the CallFrom16xxx functions from kernel32. Renamed them
__wine_call_from_16 to follow the naming convention.
2000-11-13 04:54:45 +00:00
Alexandre Julliard 8c540c657e Replaced a few internal functions by exported ones. 2000-11-13 04:16:05 +00:00
Alexandre Julliard 27939f00fd Start using import tables for dlls that can already support it. 2000-11-12 03:50:10 +00:00
Alexandre Julliard 0a8114c152 Raise an exception for unimplemented 16-bit entry points too.
Added check for duplicate names in 16-bit spec files.
2000-11-12 03:45:55 +00:00
Andreas Mohr efc17535ac Implemented the Desktop=XXXxYYY setting in the [x11drv] section of the
config file.
2000-11-12 03:41:47 +00:00
Stefan Leichter a2053ab1c5 Made WINSPOOL_GetPrinterDriver work again. 2000-11-12 03:39:53 +00:00
Andreas Mohr 3ef4f43c09 Fixed WM_PAINT in ANIMATE_WindowProc; call DefWindowProcA for default handling. 2000-11-11 00:32:05 +00:00
Dimitrie O. Paun 864dc5981c Use variable argument macros when compiling with gcc. 2000-11-10 23:31:06 +00:00
Francois Gouget da0acca7d8 Use DUMMYxxxNAME for anonymous struct/unions. 2000-11-10 22:34:39 +00:00
Alexandre Julliard 64e0ded1e0 We do not need to set SOVERSION for dlls. 2000-11-10 20:35:39 +00:00
Alexandre Julliard 70098f6990 Don't link libwine_unicode into all dlls. 2000-11-10 01:07:42 +00:00
Stefan Leichter 695f2394cf Corrected used registry key. 2000-11-10 01:04:29 +00:00
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