Commit Graph

3381 Commits

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