Commit Graph

3455 Commits

Author SHA1 Message Date
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