Commit Graph

3622 Commits

Author SHA1 Message Date
Patrik Stridvall 296c5a6b97 Fixed some issues found by winapi_check. 2002-06-04 22:12:50 +00:00
Jason Edmeades 235d82ee44 nitialDir handling and InitialFile handling now agrees with MSDN
description, and testing on win2000 appears to agree.
ilename field not cleared when directory selected/clicked on.
OFN_NOVALIDATE field no longer causes traps, and appears to behave as
per w2k.
2002-06-04 21:23:12 +00:00
Eric Pouech b706b23a10 Implemented a MP3 decoder (based on mpglib). 2002-06-04 17:53:46 +00:00
Alexandre Julliard 78b041cf52 Better encapsulation of the font and metafile objects. 2002-06-04 01:02:51 +00:00
Bill Medland 978a934245 Fixed incorrect pointer-cast arithmetic.
Extended ole trace information.
Don't lose the existing pipes on alloc failure.
2002-06-04 00:53:21 +00:00
Johan Gill bbbc18b12c Added version info to 16-bit shell.dll. 2002-06-04 00:52:49 +00:00
Gerald Pfeifer f1451e6650 Warning fix. 2002-06-04 00:52:01 +00:00
Eric Pouech 7efd615e4f Fixed another regression in PlaySound. 2002-06-04 00:51:38 +00:00
Steven Edwards fb24f71e5b Porting fixes. 2002-06-04 00:50:11 +00:00
Alexandre Julliard 376e65092a Better separation of the palette functions.
Removed the palette driver.
2002-06-02 21:40:24 +00:00
Eric Pouech 0d588a4a82 Fixed DebugBreakProcess (now generates EXCEPTION_BREAKPOINT instead of
EXCEPTION_SINGLE_STEP).
2002-06-02 21:36:39 +00:00
Alexandre Julliard 70e192b9cf Removed CURSORICON_IconToCursor now that we support color cursors. 2002-06-02 21:29:23 +00:00
John K. Hohm 36ed03e246 Complete ICatInformation implementation. 2002-06-02 21:25:08 +00:00
Sander van Leeuwen b7828ac478 Fixed wrong cast; MSDN says lpDropFileStruct->pFiles is offset in
bytes (regardless of ascii/unicode).
2002-06-02 21:23:45 +00:00
Eric Pouech 93bfa0d6b1 Implementation for console control events (includes process groups
support).
2002-06-02 21:22:22 +00:00
Vincent Béron 1ae26ebafc - Made sure const LP were actually const in dinput.h.
- Uniformized the {A,W} declarations of some structures.
2002-06-02 21:18:48 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 332d62ba10 Avoid division by zero (thanks to David Ronis). 2002-05-31 19:14:40 +00:00
Alexandre Julliard d8a9244fc4 Added function table to GDI objects for better encapsulation.
Removed some direct accesses to the bitmap structure.
Fixed handling of stock bitmap if selected in multiple DCs.
Some minor fixes to the DC function table.
2002-05-31 18:43:22 +00:00
Shachar Shemesh 4b050944fe Added Israeli Hebrew keyboard, and fixed a problem in the matching of
characters against dead keys.
2002-05-31 18:21:33 +00:00
Alexandre Julliard be367c7270 Added wine_server_fd_to_handle to replace FILE_DupUnixHandle. 2002-05-30 20:40:02 +00:00
Sander van Leeuwen 9851f7a902 Match behaviour of ImageList_LoadImageA wrt cx parameter (when set to
zero).
2002-05-30 20:38:13 +00:00
Alexandre Julliard 5aead170c2 Portability fixes. 2002-05-30 20:07:51 +00:00
Vincent Béron a032277311 - Fixed GetSystemTimeAdjustment prototype and added it to winbase.h.
- Fixed DosDateTimeToFileTime, FileTimeToDosDateTime,
  LocalFileTimeToFileTime, FileTimeToLocalFileTime and
  SystemTimeToFileTime.
2002-05-30 20:05:48 +00:00
Alexandre Julliard 13b0dc5fde Replaced swprintf by wsprintfW. 2002-05-29 19:25:50 +00:00
Bill Medland d36c8e9d0c Ensure that an out-of-process COM object is started only once.
Allow out-of-process COM objects if request is for
in-or-out-of-process.
2002-05-29 19:20:32 +00:00
Vincent Béron 6a5ba8fba2 Fixed some more missing \n in traces. 2002-05-29 19:09:54 +00:00
Sander van Leeuwen bbee7ec711 - Check for valid part nr in STATUSBAR_GetTextLength.
- TRACE fix in STATUSBAR_SetTextT; SBT_OWNERDRAW pointer isn't always
  a string pointer.
2002-05-29 19:08:18 +00:00
Marcus Meissner e656fc1cd6 Dropped superflous Remote_CoGetClassObject() (entirely contained in
create_marshalled_proxy()).
2002-05-29 19:05:14 +00:00
Eric Pouech 4664903d1e Some other synchronisation issues. 2002-05-29 19:04:41 +00:00
Alexandre Julliard 94152d5038 Fixed some alignment issues (based on a patch by Gregg Mattinson). 2002-05-29 17:04:10 +00:00
Jakob Eriksson 43b3177e48 Removed redundant checks and variables, fixed some tests, some
cosmetic changes.
2002-05-29 16:58:14 +00:00
Alexandre Julliard ec13989573 Fixed some tests that were failing under Wine. 2002-05-29 16:56:45 +00:00
Guy L. Albertelli dea6820b29 - Fixed drawing of borders to that of native (uses DrawEdge).
- Fixed drawing of separators to match the native.
- Fixed height of tabs and buttons to match native.
- Add/improved traces.
- Handle WM_SYSCOLORCHANGE message.
2002-05-29 00:32:02 +00:00
Eric Pouech c22256a01c Check for NULL ptr in midiStreamOut. 2002-05-29 00:31:00 +00:00
Mehmet Yasar f87d30edc1 Added test for locale functions. 2002-05-29 00:30:32 +00:00
Alexandre Julliard e8a1a232b6 A few fixes in ExtSelectClipRgn metafile functions. 2002-05-28 22:47:49 +00:00
Johan Gill 7c61a61616 Only enumerate DirectSound devices if the first sound device in the
system supports the Wine implementation of DirectSound. Also added
some entries to the sample config file and changed the values of the
"EmulDriver" key to "Y"/"N".
2002-05-28 22:45:58 +00:00
Christian Costa cc208a151f The SVGA block code was not accessible (AH and AL inverted). Fixed.
Removed duplicate VESA Get SuperVGA INFORMATION function.
Fix and finish its implementation.
Add 2 functions to managed structures in the BiosSys segment.
2002-05-28 22:44:53 +00:00
Vincent Béron 8e2cbcab7b Fixed warnings. 2002-05-28 22:42:11 +00:00
Maciek Kaliszewski 2ad82e119e Fixed memory allocation bug in PROPSHEET_CollectPageInfo. 2002-05-28 22:41:19 +00:00
Sander van Leeuwen f81982aeed mixerGetControlDetailsW: translate strings for
MIXER_GETCONTROLDETAILSF_LISTTEXT option.
2002-05-28 22:40:40 +00:00
Mike McCormack a8693258af Stub implementations of some functions. 2002-05-28 22:39:14 +00:00
Alexandre Julliard 07439cd2d0 Removed dependencies on the internals of the region object.
Do not store the region type in the object, it's trivial to determine
from the rectangle count.
Rewrote a few routines to not depend on internal clipping or region
functions.
2002-05-25 22:16:12 +00:00
Alexandre Julliard 987d8a4ffc Fixed typo in iswalpha forward. 2002-05-25 21:10:39 +00:00
James Juran 32886f6b88 Add missing \n to output messages. 2002-05-24 21:17:59 +00:00
Vincent Béron 9d9cf72a70 Partial implementation of VerifyVersionInfo{A,W}. 2002-05-24 21:13:45 +00:00
Alexandre Julliard 55e845d11b Removed most inclusions of options.h.
Removed a few no longer used PROFILE_* functions.
2002-05-23 19:40:18 +00:00
Alexandre Julliard 8c08ceb56c Replaced -dosver and -winver options by config file parameters. 2002-05-23 19:35:18 +00:00
Alexandre Julliard 45a795c0d8 Restored the library file intermediate step for symlink dependencies. 2002-05-23 19:13:22 +00:00
Alexandre Julliard 5954602461 Restored managed mode config file option. 2002-05-23 16:32:32 +00:00
Francois Gouget c949349cab Improve the failure messages. 2002-05-23 16:29:37 +00:00
Alexandre Julliard 7fbd74ea55 Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
issues.
2002-05-23 02:53:10 +00:00
Alexandre Julliard 5852f7a185 Run make clean in all directories, even the ones we don't compile in.
Simplified sub-directories rules a bit.
2002-05-23 02:47:16 +00:00
Alexandre Julliard 261e28a775 Removed some unnecessary imports. 2002-05-23 02:46:10 +00:00
Dimitrie O. Paun e361ceab45 Remove the --managed option, and make wine use the managed mode by
default.
2002-05-23 02:43:09 +00:00
Andreas Mohr 841ce935d2 Removed obsolete email address. 2002-05-23 02:41:46 +00:00
Francois Gouget 4c314000b9 Make the tests compile with Visual C++. 2002-05-23 02:40:07 +00:00
Alexandre Julliard 3536316a31 New loading scheme for Winelib apps, makes them behave like builtin
dlls and takes load order into account. Install them in dlldir.
Improved MODULE_GetBinaryType to recognize ELF binaries.
Added a wrapper script to setup the environment when running directly
from inside the source tree.
2002-05-22 21:32:49 +00:00
Eric Pouech bed67fc939 Created an ACM MS ADPCM codec. 2002-05-22 02:00:05 +00:00
Patrik Stridvall 5e6943f421 Fixed some issues found by winapi_check. 2002-05-22 01:55:18 +00:00
Eric Pouech 48b98159ce Fixed hang in PlaySound in error cases; added registry lookup for sounds. 2002-05-22 01:52:31 +00:00
Francois Gouget ac70c40fb6 Add mswsock.h, move relevant definitions to this header. 2002-05-22 01:51:41 +00:00
Alexandre Julliard cc2ee7636d Renamed Winelib apps to .exe.so to follow the dll naming convention. 2002-05-21 19:42:29 +00:00
Steven Edwards 13eae8ef2c Check for sys/ioctl.h. 2002-05-21 18:33:56 +00:00
Eric Pouech aeb0cdb9fb Implemented a G711 ACM codec (supports both A-Law and MU-Law). 2002-05-21 18:31:36 +00:00
Eric Pouech c0d955e8c4 Now runs in Perl strict mode.
Added ability to skip DLL from the tree.
2002-05-21 18:29:31 +00:00
Eric Pouech 3e4381aad0 Added stub for ExtractAssociatedIconExA. 2002-05-21 18:06:07 +00:00
Eric Pouech 9259cfa855 Added 16/32 DDE message conversion.
Finished the 16 bit implementation of DDEML.
2002-05-21 18:03:15 +00:00
Alexandre Julliard 67e8dc6861 Added configure check for the soname of libraries that we load
dynamically.  Added a few other configure macros, and moved all macros
into aclocal.m4.
2002-05-20 18:29:58 +00:00
Alexandre Julliard 4344c368cb Got rid of GetSysColorPen. 2002-05-20 18:15:28 +00:00
Andreas Mohr 11b35c0b4c Better error messages. 2002-05-20 18:11:08 +00:00
John K. Hohm 45b94449e6 Fix msvcrt._vsnwprintf format reading bug like NTDLL_vsnwprintf. 2002-05-20 18:02:47 +00:00
Andreas Mohr 012478c9d3 Spelling stuff. 2002-05-20 18:01:44 +00:00
Francois Gouget 3009185c0a Dump thread id instead of %fs. 2002-05-20 18:00:46 +00:00
Alexandre Julliard 35389149de Export the debug API as functions instead of pointers.
A few other import fixes for Mingw.
2002-05-19 22:29:01 +00:00
John K. Hohm 454d99f0a2 More comcat.dll implementation, swprintf fix, winerror.h additions. 2002-05-19 22:27:41 +00:00
Arjen Nienhuis c9654a7df8 Fixed keyboard handling. 2002-05-19 22:26:16 +00:00
Steven Edwards 48ac89b627 Add check for <sys/ioctl.h>. 2002-05-19 22:25:02 +00:00
Andreas Mohr 7632452e96 - Improve error messages.
- Add error code mapping EPERM -> STATUS_ACCESS_DENIED.
2002-05-19 22:23:56 +00:00
Andreas Mohr 4532cc83b4 Added LOCALE_IDEFAULTMACCODEPAGE values for some languages. 2002-05-19 22:23:23 +00:00
Stefan Leichter 8550dc2fd6 Added stub for DllRegisterServer. 2002-05-19 22:22:52 +00:00
Stefan Leichter 7f4066a421 Added version info resource. 2002-05-19 22:22:36 +00:00
Francois Gouget ea668d1be1 Make the 'error' string of a couple of checks consistent with the
others.
2002-05-19 22:22:06 +00:00
Francois Gouget 905cb7e316 Implemented _getws. 2002-05-19 22:21:17 +00:00
Vincent Béron 244462cc70 Correct implementation of VerSetConditionMask. 2002-05-19 22:20:09 +00:00
Alexandre Julliard 23d3ef19ef Generate a kernel32 dependency for dlls that have no imports to handle
the winebuild-generated implicit import.
2002-05-17 04:32:20 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard 6044307c3a A few fixes for mingw cross-compilation. 2002-05-17 03:31:08 +00:00
Alexandre Julliard 0aa28b5b8d Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Bill Medland dff78edb02 Remove leading whitespace from printcap entries. 2002-05-17 00:10:15 +00:00
Christian Costa fc37ef6130 Do not create a window each time VGA_DoSetMode is called. The window
is created the first time and then just resized.
2002-05-17 00:09:35 +00:00
Alexandre Julliard 702b158e70 Export global argc/argv variables from libwine and remove the
__wine_get_main_args functions from ntdll.
2002-05-16 23:16:01 +00:00
Alexandre Julliard d8d313d110 Fixed struct msghdr access for platforms that have msg_accrights
(reported by Warren Baird).
2002-05-16 23:12:03 +00:00
Warren Baird c43b5c8f11 Some fixes for compiling on Sparc. 2002-05-16 23:08:01 +00:00
Alexandre Julliard 59008670be Moved the selector access functions out of winnt.h into libwine. 2002-05-16 20:32:16 +00:00
Eric Pouech ff8a62d8fe Fixed hangs when playing an ASCII resource. 2002-05-16 20:28:26 +00:00
Christian Costa 2fd4a55d07 Handle properly the requested video mode in Int10h SET VIDEO MODE
function by managing the bit 7 of AL.
2002-05-16 20:27:54 +00:00
Marcus Meissner f9bf085108 Tell the user if winedefault.reg is not loaded. 2002-05-16 20:26:40 +00:00
Alexandre Julliard 9b6f433ebb Implemented strtolW/strtoulW in libwine_unicode and used it to replace
wcstol and friends.
2002-05-16 18:58:47 +00:00
Christian Costa 53268a54d1 Added DMA and SoundBlaster emulation. 2002-05-16 18:34:48 +00:00
Steven Edwards fb2a70463e Fixed snprintf warnings. 2002-05-16 18:31:27 +00:00
Johan Gill b4f3cc9507 lpmmioinfo can sometimes, proven in the read case, be NULL. 2002-05-16 18:27:52 +00:00
Alexandre Julliard c3e06df941 Portability fixes. 2002-05-14 23:18:23 +00:00
John K. Hohm 34909c206c Added comcat.dll with factory and manager but E_NOTIMPL work methods. 2002-05-14 21:50:56 +00:00
Vincent Béron 736e81c67a Better implementation of GetCalendarInfo{A,W}, not perfect. 2002-05-14 21:44:07 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard ec329ab3b4 Updated make_dlls script for new import scheme. 2002-05-14 20:42:52 +00:00
Sander van Leeuwen d919c27a97 - Center property sheet page during creation (padding)
(some applications rely on this behaviour when resizing the page)
- Mask away WS_THICKFRAME page style
- Page navigation by resource id (by unknown author)
2002-05-14 18:38:07 +00:00
Alexandre Julliard 9bb05fc48e Specify the complete source file list for a dll inside the main
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Aric Stewart 697a8e44f7 Improved NLS file for codepage 932 (SJIS). 2002-05-14 03:59:32 +00:00
Aric Stewart 5679be34d9 Do not invalidate the rect while drawing.
Implemented GetSubItemRect and a quick change to notifications sent
for OwnerData items.
2002-05-14 03:58:46 +00:00
Robert Coeyman 38fc50d202 Added the rest of the register manipulation code to int 10. It only
handles the setting of the 16-color palette registers and overscan.
2002-05-14 03:57:26 +00:00
Guy L. Albertelli ec67a95525 - Change traces to trace full window handle and improve some traces.
- Send WM_NOTIFY to parent not to self.
- Implement PGS_AUTOSCROLL via MOUSEMOVE and Timer routines.
2002-05-14 03:50:53 +00:00
Guy L. Albertelli f8acf0c440 Support PGN_SCROLL notify and return either the button heigth or width. 2002-05-14 03:50:23 +00:00
Guy L. Albertelli 7f9baba139 Fixed issues with Unicode conversion. Certain strings were not
converted, but then processed as converted.
2002-05-14 03:48:48 +00:00
Alexandre Julliard fc01b729f6 Added some support for cross-compilation using mingw32. 2002-05-12 03:16:39 +00:00
Eric Pouech b93f1114de Better behavior of PlaySound (error handling, synchronization).
Removed some unnecessary tests about windows handles.
2002-05-12 03:10:26 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Eric Pouech 8be2e3d489 Let MCI drivers support the session instance loading mechanism (NULL
lParam2 in MCI_OPEN).
2002-05-11 23:02:55 +00:00
Christian Costa 4a0a2ee00e Avoid deadlock in VGA_DoSetMode. 2002-05-11 23:00:17 +00:00
Eric Pouech 9dafca8ee0 Moved session instance loading to winmm. 2002-05-11 22:58:23 +00:00
Eric Pouech 0143542c3a Created an ACM IMA ADPCM codec. 2002-05-11 22:57:40 +00:00
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