Commit Graph

3648 Commits

Author SHA1 Message Date
Eric Pouech dfbb04df23 Fixed bug in acmFormatTagEnumW. 2002-05-11 22:56:13 +00:00
Eric Pouech bf98cf8404 Created session instance for installable drivers.
Now properly freeing library upon driver exit.
2002-05-11 22:55:29 +00:00
Joris Beugnies ff60a9a27b Make defines configurable at run-time. 2002-05-11 22:53:00 +00:00
Alexandre Julliard 8dc3a51329 Removed extra return statement. 2002-05-10 01:10:04 +00:00
Juergen Schmied 5ec1b0d121 Corrected RtlConvertSidToUnicodeString, stub for VerSetConditionMask. 2002-05-09 20:30:52 +00:00
Jakob Eriksson e8449e6028 Added some more tests. 2002-05-09 20:29:15 +00:00
Juergen Schmied c74a791a0d Added some tests. 2002-05-09 19:48:07 +00:00
Juergen Schmied 68b6f56b32 Reimplemented SHRegGetPathA/W, SHGetValueA/W, SHRegGetPathA/W. 2002-05-09 19:43:44 +00:00
Juergen Schmied 7919d5a178 Moving the pidl debug functions to a separate file and made them self
contained. This prevents useless trace messages generated from the
debug functions themselves.
2002-05-09 19:42:07 +00:00
Juergen Schmied 76a9fa12f7 Types and partial implementation for NtQueryVolumeInformationFile. 2002-05-09 19:40:30 +00:00
Juergen Schmied a44e0b0fbd Make use of access mask MAXIMUM_ALLOWED possible. 2002-05-09 19:39:10 +00:00
Juergen Schmied c5d30535fb Stub for VerifyVersionInfoW. 2002-05-09 19:36:28 +00:00
Alexandre Julliard ce830a9c18 Added mkinstalldirs to create directories more portably. 2002-05-09 04:31:39 +00:00
Alexandre Julliard da580c47ff Added ExtSelectClipRgn to the DC interface and implemented it for
standard and enhanced metafiles.
2002-05-09 04:03:46 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Bill Medland aac0dd7a62 Fix the Win31 style file dialog box.
- If there is no filter don't put a blank one in; it doesn't
  work (leave it NULL).
- Correctly figure out which is the current drive in the combo box.
- Add FIXME for the variable "initial dir" handling.
2002-05-08 23:15:38 +00:00
Alexandre Julliard 92b376d61d Moved parts of the DC initialisation and bitmap selection out of the
drivers into the common code.
2002-05-07 02:08:46 +00:00
Andreas Mohr 3fc3d06a66 Replace DOSFS_GetFullName with wine_get_unix_file_name. 2002-05-07 01:53:51 +00:00
Michael Cardenas f0b6b9a1ba Cap window sizes at 65535. 2002-05-07 01:52:15 +00:00
Olivier Houchard 0bd249dd6b Hack to make SetEventNotification work. 2002-05-07 01:49:19 +00:00
Alexandre Julliard b462a0442b Fixed handling of GetLongPathNameA. 2002-05-06 20:13:16 +00:00
Jakob Eriksson b02f0940b7 Tests for _lcreat,_llseek and _llopen added. 2002-05-06 20:12:55 +00:00
Marcus Meissner 87ecfab4ec Small hack to make InstallShield v6 work better. 2002-05-06 20:12:32 +00:00
Marcus Meissner 5b63cc22e8 BSTRs can be NULL, handle them seperately. 2002-05-06 20:12:11 +00:00
David Hammerton ca30e48f71 Added implementation of GetWindowInfo. 2002-05-06 20:11:18 +00:00
Jukka Heinonen 09537b76f7 DOSVM now exports DPMI Raw Mode Switch routine. 2002-05-05 21:06:51 +00:00
Jukka Heinonen 887ed6228a Terminating DOS program in real mode now calls ExitThread which is
exactly what terminating in protected mode does.
2002-05-05 20:22:39 +00:00
Jukka Heinonen 8a1ac6edf4 Real mode interrupt handler now handles interrupt 21 function 0C. 2002-05-05 20:22:06 +00:00
Alexandre Julliard 140e7222e0 Removed more code at Hidenori's request. 2002-05-05 19:40:57 +00:00
Huw D M Davies d3cbb2ed76 Detect and warn about buggy versions of libXrender. 2002-05-04 18:25:43 +00:00
Alexandre Julliard 5cab46ee58 Cleaned up some inter-dll dependencies in palette management. 2002-05-02 21:49:50 +00:00
Bill Medland 8fe5e0fcfa Moved drawing of owner-drawn parts to after the background and edge.
Also added some indentation to the code.
2002-05-02 21:35:50 +00:00
Christian Costa 751f683f07 TOOLTIPS_GetTipText: Accept null module instance, Loadstring can
handle it.
2002-05-02 21:35:23 +00:00
Alexandre Julliard dec2cee2fb Removed some direct accesses to the DC structure. 2002-05-02 01:39:48 +00:00
Alexandre Julliard b6a7ca5855 Removed a bunch of multimedia code at Hidenori's request. 2002-05-02 01:29:18 +00:00
Rizsanyi Zsolt e7c6d17b3e Implemented IOCTL_SCSI_GET_ADDRESS for non true scsi cdrom drives
(only on linux).
Initialize registry under HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/Scsi.
Added IOCTL_CDROM_MEDIA_REMOVAL support.
2002-05-01 22:25:41 +00:00
Laurent Pinchart b50a532aff Fixed NtQueryInformationProcess to return correct information and
error code for ProcessDebugPort when no debugger is attached.
2002-05-01 22:02:02 +00:00
Laurent Pinchart 0314a65a58 Implementation of IOCTL_SCSI_PASS_THROUGH and
IOCTL_SCSI_PASS_THROUGH_DIRECT.
2002-05-01 22:01:30 +00:00
Alexandre Julliard b53f13093e Attempt at fixing MAX_PATH issues for mingw. 2002-05-01 18:13:18 +00:00
Johan Gill 8fc98cdef8 DirectSoundEnumerateA() now passes a GUID to the callback if the first
call returned TRUE.
2002-05-01 18:05:30 +00:00
Jukka Heinonen 7ec04452a1 When DOS program executes another DOS program, command line is now
passed correctly. If DOS command line is too long, command line is now
truncated instead of letting it trash memory.
2002-05-01 18:04:11 +00:00
Alexandre Julliard d0893548e6 Moved remaining files in windows/x11drv to dlls/x11drv. 2002-04-30 21:16:39 +00:00
Hidenori Takeshima 8ad2676dfc Removed some code because of MS EULA concerns.
Rewrote stubs.
2002-04-29 23:32:39 +00:00
Marco Bizzarri f596eceb22 Implemented the TB_REPLACEBITMAP message. 2002-04-29 23:32:07 +00:00
Patrik Stridvall fc2be7edcc Fixed some issues found by winapi_check. 2002-04-29 18:48:56 +00:00
Patrik Stridvall 4c692b9b9f Stub implementation of SNMPAPI.DLL. 2002-04-29 18:43:35 +00:00
Hidenori Takeshima 9fe4deb7de Reimplemented the asynchronous source filter. 2002-04-29 18:36:33 +00:00
Jakob Eriksson 3315199cd8 Added unit tests for file functions. 2002-04-29 17:14:50 +00:00
Jukka Heinonen 6138ba089f When freeing XMS memory block, return an error if block has not been
previously allocated.
2002-04-29 17:12:29 +00:00
Marcus Meissner 30678c33cb Make twain compile again. 2002-04-29 17:12:13 +00:00
Marcus Meissner 5b85db3db0 Fixed StatusBar SetText again, added some comments. 2002-04-29 17:12:01 +00:00
Alexandre Julliard 3b1e3c8f9b Fixed warnings. 2002-04-27 21:16:28 +00:00
Martin Wilck b28f933b60 Added unit test for winsock. 2002-04-27 01:27:34 +00:00
Martin Wilck cf518bcd6d SO_OPENTYPE has to be a per-thread setting. 2002-04-27 01:05:35 +00:00
Alexandre Julliard 9a8e6e98c5 Added some shdocvw ordinals and stubs.
Fixed a few winapi_check issues.
2002-04-27 00:16:25 +00:00
Robert O'Callahan 71a8a74b43 Fixed bug in TEXT_WordBreak that was variously throwing Lotus Notes
into an infinite loop or causing it to crash.
2002-04-27 00:14:16 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Martin Wilck ff1f320ac8 Fixed some bugs in my recently submitted patch series. 2002-04-26 18:31:19 +00:00
Paul Millar b0b3c385e1 Fixed minor typo. 2002-04-25 23:05:02 +00:00
Mike McCormack eeb356567b Added support for TransmitCommChar. 2002-04-25 23:00:45 +00:00
Alexandre Julliard 894b188fcf Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch] 2002-04-25 21:40:56 +00:00
Martin Wilck af16c98f71 Implemented overlapped WSARecvFrom(), WSASendTo(), and
WSAGetOverlappedResult().
Fixed shutdown() to work correctly for overlapped sockets (do not
actually do a shutdown() system call as long as there are pending
overlapped requests).
Also added correct error reporting when trying to read or write on a
shut down connection, also for ReadFile()/WriteFile() calls.
2002-04-25 21:34:24 +00:00
Alexandre Julliard 046dbf94f8 Never activate the window on SW_SHOWNOACTIVATE. 2002-04-24 22:26:34 +00:00
Huw D M Davies 0f31a34bc7 Don't check hwndInsertAfter if SWP_NOZORDER is set. 2002-04-24 22:20:11 +00:00
Alexandre Julliard 64896d03da Added support for installing an error callback when expecting an X11
error.
2002-04-24 21:32:11 +00:00
Guy L. Albertelli 14a913c28d - Improve I_IMAGECALLBACK handling and support I_IMAGENONE.
- Implement TBN_HOTITEMCHANGE in the mouse move routine.
2002-04-24 21:22:17 +00:00
Marcelo Welter 69494b8763 Fix to old DCB format parsing. 2002-04-24 21:21:43 +00:00
Bill Medland 61245b2867 First regression test for wsprintf. 2002-04-24 21:16:51 +00:00
Alexandre Julliard 21e916676f Load libXrender at run-time with dlopen (based on a patch by Huw
Davies).
2002-04-23 22:06:41 +00:00
Martin Wilck d15bf1c0fe Fixed handling of deferred connections in WSAAccept(). 2002-04-23 22:03:42 +00:00
Dimitrie O. Paun 55f9b75163 Fix WM_NOTIFYFORMAT handling. 2002-04-23 19:27:10 +00:00
Dimitrie O. Paun e569b73d5b - implement WM_NOTIFYFORMAT
- fix grip painting
- make use of DrawStatusText to paint control
2002-04-23 19:26:55 +00:00
Chuck Crayne ce2024ce42 - Recognize "\n" as an alternative soft line break in function
EDIT_BuildLineDefs_ML of edit.c.
- Major restructuring of richedit.c to provide bug fixes, enhanced
  function, and improved debug support.
2002-04-22 23:08:19 +00:00
Eric Pouech c745b52803 A bit more robust against wave???Open failures. 2002-04-22 22:36:18 +00:00
Eric Pouech 90b71b5191 Fixed multi-thread access to local variables (mainly fd for
/dev/dsp).
God rid of obsolete macro.
Fixed some slight init issues.
2002-04-22 22:35:30 +00:00
Eric Pouech ef1f015652 Fixed a mismatch in wavein 16/32 mapping.
Relaxed some tests about buffer lengths.
2002-04-22 22:34:26 +00:00
Alexandre Julliard 20286abc42 Removed constants that aren't defined in Windows. 2002-04-22 22:32:13 +00:00
Eric Pouech 00baf1a34c Added a framework for testing CreateProcess and a few tests. 2002-04-21 22:07:03 +00:00
77c2bbcb0b Faster serial speed cases for non Linux systems. 2002-04-21 22:06:09 +00:00
Mike McCormack 0f7b48b890 Added a simple test set for window classes. 2002-04-21 22:05:42 +00:00
Bill Medland e80b028d55 The extension should not be removed from the display of folder names. 2002-04-21 22:03:55 +00:00
Hidenori Takeshima ed8fbe3e95 Implemented OleIconToCursor. 2002-04-20 20:55:13 +00:00
Bill Medland 28cbea801c Correct handling of zero-padded negative numbers; transfer the sign
BEFORE adding the zeroes.
2002-04-20 20:53:59 +00:00
Bill Medland aa187527a5 Get the folder browser to work as well with W notification as A (it
seems to work reasonably).
2002-04-20 20:52:33 +00:00
Christian Costa e684c1dad7 GET FUNCTIONALITY/STATE INFORMATION: The input parameter ES:DI is a
buffer where bios information (all the VIDEOSTATE struct) must be
copied to.
2002-04-20 20:52:05 +00:00
Christian Costa de61088197 VGA_ioport_in: Fake the occurrence of the vertical refresh when no
graphic mode has been set.
2002-04-19 00:05:38 +00:00
Hidenori Takeshima b8ae37ccda Implemented MJPG handler. 2002-04-19 00:05:05 +00:00
Leo van den Berg b611681c3f Added stubs for AbortSystemShutdown[AW] and PrivilegeCheck. 2002-04-19 00:04:27 +00:00
Mehmet Yasar da2b2d6714 Now, we are really erasing WS_CAPTION style. 2002-04-19 00:02:21 +00:00
Alexandre Julliard 7418d39f5a Export a few more 16-bit GDI functions. Finished wineps separation. 2002-04-17 16:51:47 +00:00
Christian Costa ee95709090 Implement SET INDIVIDUAL DAC REGISTER and SET BLOCK OF DAC REGISTERS. 2002-04-17 16:50:42 +00:00
Mehmet Yasar 6646c46e5b Add more check inside SB_SETTEXT and SB_GETTEXT. 2002-04-17 16:48:16 +00:00
Dimitrie O. Paun 52e0e9c1b9 Complete implementation for DrawStatusText{A,W}. 2002-04-17 16:47:48 +00:00
Martin Wilck aba594712b _get_sock_fd_type: New function, retrieve fd type and flags like
FILE_GetUnixHandleType().
WSASendTo/WSARecvFrom: Use  _get_sock_fd_type().
2002-04-17 16:46:49 +00:00
Alexandre Julliard ab246a679b Pass a PHYSDEV to EnumDeviceFont and release the GDI lock in
FONT_EnumInstance instead.
2002-04-14 19:42:43 +00:00
Martin Wilck 08867f7149 - Need a "cleanup" method.
- calling the "call_completion" method unconditionally in finish_async
  (introduced by me) was wrong, because the thread may never be in an
  alertable wait state -> call it only if user completion function is present.
- We need two constant "ops" objects, one with and one without call_completion
  method (the event field may NOT be used to determine whether the completion
  must be called or not).
2002-04-14 19:34:57 +00:00
Mehmet Yasar 70e8fce405 - Clear WS_CAPTION style.
- Send now CDN_FILEOK before FILEOKSTRING.
- Fix bug related to DWL_MSGRESUL (we were reading from wrong hwnd).
2002-04-14 19:33:18 +00:00
Hidenori Takeshima 912f899c96 Fixed some bugs.
Added stubs.
Remove harmless FIXMEs.
2002-04-14 19:32:31 +00:00
Guy L. Albertelli fc4524d822 Implement NM_CUSTOMDRAW notification. 2002-04-14 19:30:58 +00:00
Hidenori Takeshima a781a31922 Return error codes in some 16bit ole stubs, returning success causes
crashes.
2002-04-11 23:44:48 +00:00
Alexandre Julliard 7746e82122 Removed obsolete console driver. 2002-04-11 21:50:16 +00:00
Geoffrey Hausheer 13f92d3cdd Added test for GetFullPathNamesA, GetLongPathNamesA,
GetShortPathNamesA, GetCurrentDirectoryA, SetCurrentDirectoryA.
2002-04-11 21:49:23 +00:00
Uwe Bonnes b14f63847b SIC_GetIconIndex: start DPA_Search from index 0. 2002-04-11 21:47:53 +00:00
Stefan Leichter f25efa0660 Compile fixes for gcc 2.7.2.3. 2002-04-11 17:34:46 +00:00
Dimitrie O. Paun d5d431feae - implement LPSTR_TEXTCALLBACK
- fix many memory-management bugs
- many Unicode fixes
- fix indentation in a few places
- bits of code cleanup
2002-04-11 17:33:47 +00:00
Jukka Heinonen d9f4241d0e Removed obsolete text mode color and attribute code.
Made routines for text mode scolling, clearing and getting character
at cursor use Windows console and VGA buffer.
2002-04-11 17:33:15 +00:00
Marcus Meissner b8cab4989a Implemented PrintDlgW and PageSetupDlgW. 2002-04-11 17:32:49 +00:00
Uwe Bonnes 07a308d606 LISTVIEW_GetColumnT: care for the format of the string.
LISTVIEW_Create: send HDM_SETUNICODEFORMAT message.
2002-04-11 17:31:45 +00:00
Uwe Bonnes 39d013c6e9 MCIWndCreateA: check for NULL filename. 2002-04-11 17:30:45 +00:00
Mike McCormack f6be044d62 Created a stubbed version of MSISYS.OCX. 2002-04-08 23:56:14 +00:00
Dusan Lacko 7647c8e9df If we can't extract the icon, defer link creation to runonce. 2002-04-08 23:49:11 +00:00
Hidenori Takeshima b54389b3ed Added some stubs. 2002-04-08 22:45:34 +00:00
Dimitrie O. Paun 63231c52d7 - get rid of parent handle from info struct
- store hwnd in info struct, do not pass it around
- use unicode functions wherever possible
- consistent indentation
- bugs in Unicode handling fixed
- fix handling of error conditions
- fix initialization bugs, etc.
- complete tooltip support
- typesafety
- update the FIXME list to the latest specs
2002-04-08 22:44:20 +00:00
Dimitrie O. Paun 43230a2f42 - fix indentation
- handle all out-of-memory cases
- better drawing code
- fix CBES_EX_NOEDITIMAGE handling
- implement CBES_EX_NOEDITIMAGEINDENT
- implement I_{INDENT,IMAGE}CALLBACK
- fix notification code for ANSI/Unicode
- make use of iOverlay image
2002-04-08 20:16:01 +00:00
Gerald Pfeifer 37e87f7408 Also #include <sys/uio.h>. 2002-04-08 20:14:58 +00:00
Hidenori Takeshima 425acfdc21 Added some stubs. 2002-04-08 20:13:54 +00:00
Hidenori Takeshima 5d8b982b6b Added resources for Japanese. 2002-04-08 20:13:27 +00:00
Hidenori Takeshima bf6c92aa3a Fixed crashing in stopping parser. 2002-04-08 20:12:50 +00:00
Jukka Heinonen 66503b0653 Converted "read standard input with echo" interrupt service to use
common DOSVM console input routine and made the service really echo.
2002-04-08 20:11:47 +00:00
Jukka Heinonen adf7751dd5 Writes to stdout and VGA_WriteChars routine now update both VGA
buffers and Windows console.
Added routine for changing current console attributes.
Moved text mode handling from VGA_Poll into new routine and changed
locking primitive into critical section.
2002-04-08 20:11:28 +00:00
Hidenori Takeshima dc31501ed2 Fixed an overflow in calculating times. 2002-04-08 20:10:10 +00:00
Huw D M Davies b88f72465a Implement ResetDC and PHYSICALOFFSET[X|Y] devcaps.
Fixes to MergeDevmodes.
2002-04-06 00:12:42 +00:00
Huw D M Davies 7526fc5f92 Changed default paper size to letter. 2002-04-06 00:04:31 +00:00
Huw D M Davies 671577296e Added support for ResetDC. 2002-04-06 00:00:56 +00:00
Huw D M Davies 18036cb5a1 Make ExtDeviceMode dialog use unicode property sheet functions. 2002-04-05 23:59:43 +00:00
Martin Wilck 2b47fb3cee - separate cleanly between async scheduling and file IO related issues.
- make the API compatible with other types of async requests (e.g. for
  sockets).
- remove exports of async IO related functions for DLL separation.
2002-04-05 22:53:57 +00:00
Martin Wilck 58854430fa Make the recv() and send() family of functions use WSARecvFrom() and
WSASendTo().
2002-04-05 21:22:55 +00:00
Stefan Leichter 32b6ef349d Check for NULL pointer in DrawTextExA. 2002-04-05 21:17:00 +00:00
Dimitrie O. Paun 7c3fca16c5 - fix edit box placement
- reorganize drawing for proper handling of edit box
- typesafety when processing messages
- subclass edit to handle up/down arrows
- more robust handling of failure cases
- numerous bugs fixed
- complete unicodification
- more specific debug messages
- remove cvs log info from file
- consistent indentation
2002-04-05 21:16:19 +00:00
Guy L. Albertelli ffa48e0416 - Use the new comctl32 color array for the colors. Provides better
support for the TB_SETCOLORSCHEME.
- Do some optimizations.
- Correct computation of nHeight and PGN_CALCSIZE.
- Implement the undocumented 045E message.
2002-04-05 21:15:06 +00:00
Guy L. Albertelli 35d8e1ec0a - Keep track of all system colors used by comctl32.dll.
- Provide routine to support the WM_SYSCOLORCHANGE message.
2002-04-05 21:14:05 +00:00
Guy L. Albertelli 71e4b98f5a Adjust the child offset x value based on band style RBBS_CHILDEDGE. 2002-04-05 21:13:32 +00:00
Guy L. Albertelli 1251aa79cc - Try to match the native control for the SetBkColor message.
- Correct processing in NCCalcSize message processing.
2002-04-05 21:13:07 +00:00
Alexandre Julliard 9302f85da8 Fixed compile without freetype. 2002-04-04 15:30:29 +00:00
Charles Loep e9533488dc Support for hiding file extensions in IShellFolder_GetDisplayNameOf. 2002-04-03 22:56:20 +00:00
Huw D M Davies 0b8e8d10b7 Check for failure of IShellFolder_GetDisplayNameOf. 2002-04-03 22:52:52 +00:00
Francois Gouget 857fb75bf7 Forward C++ functions to the msvcrt library. 2002-04-03 22:49:51 +00:00
Aric Stewart 1e6063d531 Use rect only if there are flags. 2002-04-03 22:49:26 +00:00
Huw D M Davies 160be64e9e Added writing META_ESCAPE records. 2002-04-03 22:47:50 +00:00
Huw D M Davies f641cf4724 Removed old FF_ code. 2002-04-03 22:44:35 +00:00
Huw D M Davies b3b0ddb859 Fix off by one error in HEADER_InsertItemW. 2002-04-03 22:43:27 +00:00
Huw D M Davies 5b01b50631 Implement GetTextExtentPointI and add support for ETO_GLYPH_INDEX. 2002-04-03 22:08:27 +00:00
Huw D M Davies afd519be0e Fix a few font problems with rotated text and non MM_TEXT mapping
modes. Do slightly better with the FF_ flags in WineEngGetTextMetrics.
2002-04-03 21:06:09 +00:00
Huw D M Davies 43b62092a0 Add font substitution lookup in the registry. We look under the key
HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes for
"fromName[,cp]"="toName[,cp]" where cp can be an optional codepage.
Substitution occurs before scanning the available font list, as is the
case with Windows.
2002-04-03 20:51:20 +00:00
Dmitry Timoshkov 2903ca1bbb Implement GetGlyphIndices. Tweak GetCharacterPlacement to use it. 2002-04-03 20:41:14 +00:00
Mike McCormack ee77955a6c Add stub for WSAEnumProtocols(A/W) functions. 2002-04-03 20:04:50 +00:00
Huw D M Davies d14b2f0f0b Load libfreetype.so on the fly with dlopen and friends. 2002-04-03 20:02:39 +00:00
Aric Stewart 7ed8cee8b8 Enable ShellExecuteEx to actually open things with their helper
applications.
2002-04-03 19:57:57 +00:00
Mike McCormack 0bb784f69c Added some stubs. 2002-04-03 19:55:13 +00:00
Huw D M Davies c48f3b07ae Added ImpersonateLoggedOnUser stub. 2002-04-03 19:53:31 +00:00
Alexandre Julliard 766957317a Avoid local WINAPI function pointers to work around gcc bug. 2002-04-03 02:43:03 +00:00
Patrik Stridvall 14c96c1017 Fixed some issues found by winapi_check. 2002-04-03 02:37:09 +00:00
Jukka Heinonen 7e94af47aa Redirect DOS writes to stdout/console to DOSVM_PutChar. 2002-04-03 02:34:45 +00:00
Geoffrey Hausheer f31c3e3898 Cleaned up a bit, removed todos for OpenThread, avoid TerminateThread
race.
2002-04-03 02:33:13 +00:00
Andreas Mohr 01c8ec3a9c Spelling/error messages fixes. 2002-04-02 19:47:30 +00:00
Geoffrey Hausheer 03f4e22327 Added test for thread functions. 2002-04-02 19:37:15 +00:00
Jukka Heinonen 0c80289492 Compiles now even on platforms that do not support DOS VM. 2002-04-02 19:20:12 +00:00
Gerald Pfeifer 4e589cd171 Use ENOMEDIUM errno code only when defined. 2002-04-02 19:19:49 +00:00
Dimitrie O. Paun 59d9dd3910 - correct notifications
- behaviour closer to native
- better drawing
- multiple bugs fixed
- faster & cleaner code
- consistent indentation
2002-04-02 19:16:45 +00:00
Dimitrie O. Paun 00df897119 Fix two compilation warnings. 2002-04-02 19:16:08 +00:00
Alexandre Julliard d7c606d624 Various makefile fixes for the test environment. 2002-04-02 02:58:45 +00:00
Alexandre Julliard 5068347b19 Implemented a large number of the 32-bit setupapi functions.
Fixed a number of setupx functions by making them call the setupapi
equivalents.
2002-04-02 02:57:50 +00:00
Dmitry Timoshkov 0ca9bba60b Always call LoadLibrary.
Workaround a broken behaviour of the 16-bit loader.
2002-04-02 02:45:09 +00:00
Alexandre Julliard ed8218791c Fixed length handling in RtlUnicodeStringToAnsi/OemString. 2002-04-02 02:43:53 +00:00
François Gouget 7ccf8bc87d Implemented _mbsnbicmp. 2002-04-02 02:42:58 +00:00
Dmitry Timoshkov 79313d371a Make sure the security descriptor is initialized in RegGetKeySecurity. 2002-04-02 02:41:27 +00:00
Chris Morgan 417296c4af Implement OpenThread() winapi call.
Implement a few pthreads functions.
2002-04-02 00:49:05 +00:00
Eric Pouech 3320b43404 Made use of MSACM driver definitions. 2002-04-02 00:45:25 +00:00
François Gouget ffb6d763f4 Include wine/test.h before windows headers.
Add definitions for IDI_APPLICATIONA and IDC_ARROWA for Windows.
Fix a check in the SPI_{GET,SET}BORDER test.
Fix bad copy/paste in the SPI_{GET,SET}BORDER test.
Use eq macro to print values when something goes wrong.
2002-04-02 00:44:51 +00:00
Francois Gouget 0763abf115 Fix warnings for Linux, FreeBSD and Solaris. 2002-04-01 21:08:16 +00:00
Francois Gouget 0f4ed92098 Added missing FP_PNORM case. 2002-04-01 21:03:53 +00:00
Eric Pouech a1e57324e4 More robust and less time consuming playback. 2002-04-01 21:02:49 +00:00
Eric Pouech 3209f949b3 Fixed size of buffers in conversion. 2002-04-01 21:02:27 +00:00
Francois Gouget 9e881be5bb Fix for the unistd.h vs. winsock.h problem in Winelib applications.
Refine the WS_DEFINE_HTONL definition.
2002-04-01 21:01:13 +00:00
Francois Gouget 37f2c37697 Don't bother with declare, just 'use kernel32'. 2002-04-01 21:00:42 +00:00
Francois Gouget 80b72db33b Windows headers must be included after wine/test.h. 2002-04-01 21:00:26 +00:00
Hidenori Takeshima 0f1f42ea9c Fixed some bugs.
Implemented some methods of CLSID_ACMWrapper.
2002-04-01 20:59:24 +00:00
Hidenori Takeshima 3a00735924 Implemented CreateStdDispatch and CreateDispTypeInfo. 2002-04-01 20:58:37 +00:00
Dimitrie O. Paun dd585157fe - implement UDS_HOTTRACK
- implement NM_RELEASEDCAPTURE
- implement UDM_[GS]ETUNICODEFORMAT
- get rid of WM_NCCREATE processing
- use InvalidateRect instead of a synch refresh
- implement auto auto arrow press on key presses
- more code cleanups
- better drawing, closer to native
2002-04-01 20:57:44 +00:00
Jukka Heinonen 869b044249 Routine DOSVM_Wait now wakes up if new events are queued and it
returns if it processed any queued events.
2002-04-01 20:56:15 +00:00
Alexandre Julliard db317095b6 Fixed compile without curses. 2002-03-29 19:20:09 +00:00
Francois Gouget 34372dcbf0 Fix SetFileAttributes to honor the umask (rather than making files
world-writable).
2002-03-29 18:17:35 +00:00
Alexandre Julliard 740ba2ca65 Fixed pack/unpack routines for WM_DDE_EXECUTE. 2002-03-29 17:59:20 +00:00
Andreas Mohr 66c72d0bf3 Added mapping for errno ENOMEDIUM to STATUS_NO_MEDIA_IN_DEVICE. 2002-03-29 17:57:43 +00:00
Alexandre Julliard 85cacd8fe9 Removed call to DIB_GetDIBWidthBytes. 2002-03-28 22:25:02 +00:00
Alexandre Julliard e21c15e39d Changed the GDI driver interface to pass an opaque PHYSDEV pointer
instead of a DC structure.
Removed some direct accesses to the DC structure from the drivers.
Got rid the bitmap driver.
2002-03-28 22:22:05 +00:00
Marco Pietrobono 0449937a84 Added support for 16bit mouse cursor bitmaps in RGB 565 format. 2002-03-28 22:05:57 +00:00
Dimitrie O. Paun a7dbc6c823 - updown unicodification
- better/cleaner buddy handling
- few bugs fixed
- more testing
- consistent indentation
2002-03-28 22:05:18 +00:00
Alexandre Julliard 5c6a86bfde Added alloc.ok. 2002-03-27 21:18:02 +00:00
Alexandre Julliard 8911856858 Moved metafiles and win16 drivers to dlls/gdi. 2002-03-27 21:13:40 +00:00
Geoffrey Hausheer 936d2dd3aa Added memory allocation test. 2002-03-27 21:03:50 +00:00
Andriy Palamarchuk 95de1f8365 fwrite: fixed handling of already buffered data. 2002-03-27 21:03:24 +00:00
Alexandre Julliard a05e448d90 Renamed some 16-bit spec files to match the dll name. 2002-03-26 19:56:06 +00:00
Vincent Béron 1c9733c924 - Converted HACMOBJ to void*
- acmMetrics16 calls acmMetrics only if hao is NULL
2002-03-26 19:48:42 +00:00
Mehmet Yasar 2dbf9ea34c Fix default extension behavior with GetOpenFileName. 2002-03-26 19:47:40 +00:00
Marcus Meissner e8d977011b Ported variant tests to the new testing framework. 2002-03-26 01:54:25 +00:00
Uwe Bonnes c63916b1ce Add stub for __lconv_init(). 2002-03-26 01:51:55 +00:00
Uwe Bonnes d82f35eda1 __[x|]getmainargs: Accept NULL new_mode argument. 2002-03-25 20:56:20 +00:00
Vincent Béron 847dda4ea0 Changes some handle definitions to the proper type. 2002-03-25 20:53:35 +00:00
Chris Morgan cf5bfc44b1 wodOpen() should return MMSYSERR_ALLOCATED if the device is already
allocated.  Allow for multiple audio devices. Fix wodPlayer_reset as
with aRts we cannot cancel audio data already written to the server.
Rename some functions. Cleanup unused code.
2002-03-25 20:52:42 +00:00
Chris Morgan ace56c62a3 Dsound will now try as many devices as are available when trying to
open a waveOut device in DirectSoundCreate().
2002-03-25 20:52:17 +00:00
Marcus Meissner 5a82fa1902 Added missing header. 2002-03-25 20:51:48 +00:00
Alexandre Julliard ced71edbd7 Added support for driver-specific escapes in the x11drv to retrieve
X11 information. Finished dll separation of opengl32.
2002-03-23 21:43:56 +00:00
Patrik Stridvall f89d4a8673 Fixed some issues found by winapi_check. 2002-03-23 21:39:05 +00:00
Alexandre Julliard 81f2a7307b Send message for WSAAsyncSelect sockets directly from the server,
instead of using the service thread. Finished separation of ws2_32.
2002-03-23 20:43:52 +00:00
Hidenori Takeshima 0307f6dc7b Implemented an IMA driver. 2002-03-23 20:18:11 +00:00
Alexandre Julliard ac0e137998 Create threads to manage timers instead of using the service thread. 2002-03-23 18:48:53 +00:00
Alexandre Julliard 8d1550d1c6 Export the FILE_GetUnixHandle functionality from ntdll. 2002-03-23 18:48:12 +00:00
Eric Pouech 630cde9008 Changed fixed fonts family name. 2002-03-23 18:45:25 +00:00
Hidenori Takeshima 4887da520e Removed some code because of concerns over the Microsoft DirectX SDK
license agreement.
2002-03-22 19:19:23 +00:00
Hidenori Takeshima bcb9c46c8f Implemented G711 codec driver. 2002-03-22 19:16:10 +00:00
Guy L. Albertelli 2cb7c3a472 - Implement CCM_{GET|SET}COLORSCHEME.
- Implement WM_NOTIFYFORMAT and correct passing WM_NOTIFY with correct
  message call.
- Ignore PGM_FORWARDMOUSE like native.
2002-03-22 19:11:38 +00:00
Guy L. Albertelli 66eda939ee Reanalyze button status during NCCalcSize processing because size of
window may have changed.
2002-03-22 19:11:11 +00:00
Dmitry Timoshkov 4145a7a8a1 Added tests for GetSystemDirectoryA/W and GetWindowsDirectoryA/W. 2002-03-22 01:00:17 +00:00
Hidenori Takeshima d677edf9e4 Implemented EnumProcesses and EnumProcessModules. 2002-03-22 00:56:36 +00:00
Alexandre Julliard aeb566052f Correctly fill parent pid, module size and module name in process and
module snapshots. Based on patches by Eric Pouech and Andreas Mohr.
2002-03-22 00:21:23 +00:00
Chris Morgan cc9e3ccd2a Fix range in aRts 8bit volume code. 2002-03-22 00:12:31 +00:00
Bill Medland 2162eb867a Initialise a stack variable. 2002-03-22 00:12:15 +00:00
Shi Quan He 6b0720f5d6 Started TWAIN implementation.
Marcus Meissner <marcus@jet.franken.de>
Merged into WineHQ, made sure it works without SANE.
2002-03-21 02:58:39 +00:00
Chris Morgan 9b0ba7ca2b Added aRts driver. 2002-03-21 01:38:19 +00:00
Michael Cardenas cc7c1c0b93 Added some stubs. 2002-03-21 01:25:42 +00:00
Michael Cardenas 7dbce65bb2 Changed registry handling in RegOpenKeyExA to behave like windows95
when winver==win95.
2002-03-21 01:24:52 +00:00
Andriy Palamarchuk 8c45390a7f Added check to fwrite for size == 0.
Fixed order and format of "size" and "nmemb" parameters in calls to
fwrite.
2002-03-21 01:23:32 +00:00
Alexandre Julliard b2fffefe07 Fixed rules for main module spec file. 2002-03-20 22:58:11 +00:00
Hidenori Takeshima d5d18816c7 Added some stubs.
Started implementing MPEG parser.
2002-03-20 22:57:15 +00:00
Bill Medland 716ffc5bef Connect the msvcrt file byte locking up to ntdll. 2002-03-20 22:50:38 +00:00
Bill Medland f12f4d7d0c No need for the fixme on a simple TBSTYLE_SEP. 2002-03-20 22:49:44 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Jon Griffiths c90aa7b665 Update shell xxxAW wrapper prototypes for fixed SHLWAPI functions. 2002-03-20 01:33:39 +00:00
Jon Griffiths 4e75d1246f Document, implement/fix and test 110+ Path functions.
Share the GET_FUNC macro, other places than ordinal.c need it.
2002-03-20 01:33:19 +00:00
Guy L. Albertelli b4994d18e9 - Preliminary implementation of TVS_NOSCROLL and TVS_NOHSCROLL
- Implement A and W versions of WM_NOTIFY based on response to
  WM_NOTIFYFORMAT. Note that the EDITLABEL notifies are not done.
- Implement WM_NOTIFYFORMAT.
2002-03-20 01:29:04 +00:00
Hidenori Takeshima e747da44f6 Implemented the basic COM framework.
Fixed all IUnknown of shdocvw.dll.
2002-03-20 01:02:15 +00:00
Alexandre Julliard c4a336a04d Authors: Charles Vaughn <charlesv@mfos.org>, Lionel Ulmer <lionel.ulmer@free.fr>
- added support for glMTexCoord2fSGIS
- updated to latest OpenGL extensions
2002-03-20 00:58:40 +00:00
Bernhard Rosenkraenzer e00aca0298 Added InternetOpenURLA implementation. 2002-03-20 00:56:49 +00:00
Bill Medland 1ec2839ec9 Hook back into the correct MSVCRT__tolower/upper. 2002-03-20 00:55:40 +00:00
Admiral Coeyman 3a4512b1ff Beginnings of the code that should allow DOS programs to set their
color palette.
2002-03-20 00:55:05 +00:00
Duane Clark b7d819953e Add LVS_NOSORTHEADER support.
Sort column on HDN_ITEMCLICKA too.
Do not edit labels if icon was clicked.
Fix the incorrect icon width in my earlier patch.
2002-03-20 00:53:42 +00:00
Hidenori Takeshima 4e69776f78 Implemented some APIs.
Added some stubs.
2002-03-20 00:50:35 +00:00
Guy L. Albertelli bf73d90097 - Reimplement functions 350, 351, 352 to use appropriate W functions
(thanks Jürgen!)
- Add additional comments to functions 266, 267, 276 and adjust the
  stubbed return values.
2002-03-20 00:49:36 +00:00
Guy L. Albertelli 6db25faed2 - Correct RBN_CHILDSIZE rect value for CCS_VERT rebar.
- Do UpdateWindow only if doing redraws when doing layout.
2002-03-20 00:49:06 +00:00
Hidenori Takeshima a558562409 Fixed some bugs.
Fixed audio renderer.
Implemented seeking.
Added some stubs.
2002-03-19 02:15:26 +00:00
Leo van den Berg 39bcf9d6d4 Added some stubs. 2002-03-19 02:14:34 +00:00
Sergei Turchanov 7029646708 Ordinal 342 is really named SHInterlockedCompareExchange. 2002-03-19 02:12:05 +00:00
Duane Clark 874e14c57e TOOLBAR_LButtonUp should work even if ReleaseCapture was already
called.
2002-03-19 02:11:03 +00:00
Hidenori Takeshima 4df788225f Added stubs. 2002-03-19 02:07:40 +00:00
Jukka Heinonen a65ef56101 Console mode DOS programs now receive mouse events.
Replaced GetMessage with PeekMessage, since MsgWaitForMultipleObjects
is allowed to return spontaneously.
2002-03-19 02:05:57 +00:00
Francois Gouget 902540cf0b Don't show the window. 2002-03-19 02:03:17 +00:00
Michael Karcher c4fdd2ea24 pDst was advanced too much when decoding DELTA blocks. 2002-03-12 19:19:23 +00:00
Jukka Heinonen b7beb7278f Added option SW_FORCEMINIMIZE to ShowWindow. 2002-03-12 19:18:48 +00:00
Patrik Stridvall 136fae57c3 - Better handling when settimeofday is not available.
- Adding name translations for p{close,open} and str{,n}casecmp if
  they exists under other names.
2002-03-11 05:08:38 +00:00
Alexandre Julliard 302208f12a Fixed inter-process packing of CB/LB_FINDSTRING, CB/LB_FINDSTRINGEXACT
and CB/LB_SELECTSTRING.
2002-03-11 05:06:04 +00:00
Waldek Hebisch 75315fa6d8 Implemented stdio buffering and ungetc. Misc stdio fixes. 2002-03-11 05:03:05 +00:00
Duane Clark b6c28ff62f Add support for report mode text justification. 2002-03-11 05:02:11 +00:00
Mike McCormack 4a6b990ce8 Set an overlapped hEvent before calling any APCs. 2002-03-11 01:19:29 +00:00
Hidenori Takeshima c2503b5583 Added some stubs. 2002-03-11 01:18:30 +00:00
Patrik Stridvall ee7c86f277 Fixed some issues found by winapi_check. 2002-03-11 01:17:26 +00:00
Hidenori Takeshima e4745cbfe9 Added and fixed some Japanese resources. 2002-03-11 01:16:42 +00:00
Guy L. Albertelli 8a8457e25a Add support for WM_WINDOWPOSCHANGED to save new origin of window. 2002-03-11 01:16:02 +00:00
Bill Medland 7d983d244a Pass information through arguments instead of static variables.
Add protection to prevent reading outside the buffer.
Better handling of degenerate cases.
2002-03-11 01:15:31 +00:00
Mehmet Yasar 78f41aeaf7 Prevent setup from crashing if a section in the INF is empty (no
entries) (this happens when installing IE5).
2002-03-11 01:15:01 +00:00
Turchanov Sergei ae3d4261d5 Implement ordinal 342. 2002-03-11 01:14:17 +00:00
Guy L. Albertelli 68c7b55e1f - Add scaffolding for TB_{GET|SET}PADDING.
- Replace wrong test for CCS_VERT with correct test for undocumented
  TBSTYLE_EX_ style 0x04.
- Add support for undocumented TB_SETBUTTONSIZE where the size is
  zero, sets to default value.
- Issue FIXMEs for unsupported extended styles.
- Implement first try at undocumented toolbar message 0x0463.
2002-03-11 01:11:19 +00:00
Andreas Mohr e5df2830f9 Some small cleanups to dinput mouse code. 2002-03-11 01:09:44 +00:00
Andriy Palamarchuk b8805b6bf0 Created dummy implementation of InternetSetOption function. 2002-03-11 01:09:25 +00:00
Duane Clark f730157ce6 Test bUnicode and call appropriate DrawText routine. 2002-03-11 01:08:29 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard 14c83358d1 Updated authors list from the Changelog. Please let me know if you
have been left out.
2002-02-28 23:00:28 +00:00
Alexandre Julliard abfcb8bfb9 Added make check target to run unit tests too since this seems to be
standard.
2002-02-28 21:43:46 +00:00
Duane Clark ad079d6cbb Ask for correct number of chars in EditLblWndProcT. 2002-02-28 21:42:25 +00:00
Michael Cardenas 6ec9cc2bfb More complete implementation of SHLWAPI_356. 2002-02-28 20:47:30 +00:00
Mike McCormack c129764af1 Fixed merge error. 2002-02-28 20:46:31 +00:00
Duane Clark bdd77388b9 LISTVIEW_InsertColumnT can be called with a width of
LVSCW_AUTOSIZE_USEHEADER.
Use the correct strings when column autosizing on columns other than
column 0.
LVSCW_AUTOSIZE_USEHEADER uses both item and header strings.
2002-02-28 20:41:39 +00:00
Andreas Mohr f16b401e28 Various cosmetic changes. 2002-02-27 21:34:54 +00:00
Andriy Palamarchuk 812bc5298b Added SystemParametersInfo unit test. 2002-02-27 21:32:18 +00:00
Alexandre Julliard 3c4538c8db Reimplemented DebugBreakProcess. 2002-02-27 01:55:02 +00:00
Andreas Mohr 8bc7f16caa Spelling/alignment fixes. 2002-02-27 01:34:08 +00:00
Eric Pouech fbccb38e18 New XP debugging APIs: implemented DebugActiveProcessStop,
DebugSetProcessKillOnExit, DebugBreakProcess.
2002-02-27 01:28:30 +00:00
Bill Medland df0f236038 Centre text correctly for the selected item.
Draw complete background for the selected item.
Calculate the size of a large icon more correctly (including multiline
labels).
2002-02-27 01:24:39 +00:00
Guy L. Albertelli b2f0a6f5e9 - Support CCS_VERT as alternative for TBSTYLE_WRAPABLE.
- TB_INSERTBUTTONW was not as functional as the 'A' version. They now
  match.
2002-02-27 01:22:58 +00:00
Eric Pouech 1056953e2c Fixed ShellExecute functions when ddeexec was present in registry. 2002-02-27 01:22:15 +00:00
Marcus Meissner c36e7b8937 Fixed cut&paste problem in SETRTS. 2002-02-26 00:39:55 +00:00
Bill Medland bc39eeec40 Correct Word breaking in centred/right justified mode; it was leaving a
trailing space which it should only do for left-justified text.
Also tighten up some comments.
2002-02-26 00:39:30 +00:00
Guy L. Albertelli 8fe19fa7bb Implement EM_FMTLINES message based on relay trace of native. 2002-02-26 00:38:42 +00:00
Eric Pouech 92e838f263 Fixed DdeGetData when called for getting size. 2002-02-26 00:37:57 +00:00
Lionel Ulmer e88edac600 Fix crash in the X11 HAL when setting a NULL palette to a surface. 2002-02-26 00:36:21 +00:00
Guy L. Albertelli 9ce993206d Fix another bad test. Caused regression in IE 4. 2002-02-26 00:34:48 +00:00
Charles Duffy 6a45c0b4b4 Stop TOOLBAR_MeasureString from dying on empty strings. 2002-02-26 00:34:19 +00:00
Dave Hawkes 770a5bfa2d Partially repair hotspot handling. 2002-02-26 00:33:51 +00:00
Peter Hunnisett 73ab649ced New file msvcrt/excpt.h. Move some stuff out of winnt.h into it. 2002-02-25 20:10:35 +00:00
Gerard Patel 019ae8a22f LVM_GetItemRect should not take text size in account for LVIR_LABEL in
report mode.
2002-02-25 19:00:03 +00:00
Bill Medland d10c9a47b8 Implement multiline labels in the Large Item view by using DrawText
Note that this now highlights weaknesses in the label measuring code
etc. which cannot correctly handle multiline labels.
2002-02-22 21:23:02 +00:00
Stefan Leichter 923861fbd2 Compile fix for GCC 2.7.x. 2002-02-22 21:22:06 +00:00
Peter Hunnisett 3290038929 Add spec stub for RtlGetNtVersionNumbers. 2002-02-22 21:21:38 +00:00
Gavriel State fc86225450 Change useless warning into a TRACE. 2002-02-22 21:21:09 +00:00
Peter Hunnisett 618a4e916b atexit doesn't take a _onexit_t parameter. 2002-02-22 21:20:39 +00:00
Peter Hunnisett d1a79ea2eb Add _lock,_unlock and header file for them.
Convert all msvcrt locks over to use _lock and _unlock.
Explicitly make msvcrt compile with multithreaded option.
Fix flag handling in _sopen. Add W->A call for new _swopen.
2002-02-21 20:22:00 +00:00
Guy L. Albertelli df30690e04 - Forward ordinals 40, 41, 143, 362 to appropriate routines.
- Implement ordinals 155, 350, 351, 352, 418, 436.
- Fake implementation of SHGetInverseCMAP.
- Stub ordinal 209.
- Fix definition of ordinal 7.
- Implement SHGetThreadRef and SHSetThreadRef.
2002-02-21 20:09:17 +00:00
Guy L. Albertelli a8bba78485 Fix problems in DPA_Merge exposed by previous code cleanup. 2002-02-21 20:08:29 +00:00
Bill Medland 7423dc0463 DrawText ellipsification on all lines, not just single-line. 2002-02-21 20:07:26 +00:00
Alexandre Julliard caa03388bc Preliminary version of the C unit tests run-time environment.
Added make rules for building and running C unit tests.
2002-02-20 19:03:59 +00:00