Commit graph

1959 commits

Author SHA1 Message Date
Ulrich Weigand
2e8e2334c6 Don't link with libw if libc already contains w* routines.
Link every library with libnsl if required.
Include ieeefp.h where necessary.
2000-12-27 18:49:08 +00:00
Ulrich Weigand
d34bc744f8 Compile fix if HAVE_OSS is not defined. 2000-12-27 18:43:30 +00:00
Ulrich Weigand
5a8eef38ed Import kernel32 (for SetLastError()). 2000-12-27 18:35:52 +00:00
Ulrich Weigand
cc195924a6 Added check whether unaligned memory access is allowed.
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
Andreas Mohr
a6d83ebae1 - clarify many error messages
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Ove Kaaven
5c0f1e10a6 Release the Win16 lock before starting the DOS process, since it's not
really a Win16 app.
2000-12-27 03:24:20 +00:00
Ove Kaaven
287638fd4c Since DOSVM_Wait() blocks the normal event processing, it should
dispatch pending events itself.
2000-12-27 02:35:57 +00:00
Eric Pouech
099f4c3786 No longer using function pointers to winmm and msvfw32, but delay
loading instead.
2000-12-26 01:26:12 +00:00
Ove Kaaven
e5557b357a Separated the MZ loader and core DOS VM into dlls/winedos. 2000-12-26 00:22:45 +00:00
Francois Gouget
b065697ad8 Added GetDCBrushColor and GetDCPenColor. 2000-12-26 00:00:46 +00:00
François Gouget
ce03ac889c Moved HRASCONN from windef.h.
Added missing Unicode type and function definitions.
Added a few missing macro definitions.
Enclose in an extern "C" for C++ Winelib applications.
Added the structure packing specification.
2000-12-24 20:44:08 +00:00
Eric Pouech
4d24e0f5a6 Replaced calls to KERNEL.Yield16 by calls to KERNEL32.K32WOWYield from
outside libkernel.so.
2000-12-22 23:25:47 +00:00
Hidenori Takeshima
d48ca948cb Use dllwrap for building shared libraries in cygwin. 2000-12-22 22:28:00 +00:00
Ove Kaaven
0c7c94b956 More intelligent DirectSound prebuffering. By tracking the
last-written position of streaming buffers, it attempts to avoid
prebuffering past this position unless necessary; this may avoid a
number of sound problems in various situations. Merged HEL and HAL
mixing code, which should reduce the HEL mode's CPU usage slightly.
2000-12-22 20:31:06 +00:00
Joerg Mayer
6178459f50 Add %fs info to the critical section timeout message. 2000-12-22 20:28:46 +00:00
Alexandre Julliard
d549f6909e Use a separate FIFO pair for server requests that don't need to pass a
file descriptor.
Associate file descriptors with handles on the server side so that we
don't need to pass the fd every time the client wants to use it.
2000-12-22 02:04:15 +00:00
Marcus Meissner
a337437706 IDirectDrawSurface::Blt::SRCCOPY is the default ROP operation, do not
throw error.
2000-12-22 01:39:22 +00:00
Eric Pouech
66267d067e Added some 16 bit entry points needed by multimedia DLLs. 2000-12-22 01:30:36 +00:00
Alexandre Julliard
5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
Patrik Stridvall
188002fe71 Fixed some issues found by winapi_check. 2000-12-21 21:08:58 +00:00
Marcus Meissner
eba8cee584 Handle errors for IDsDriver_GetPosition.
Report DSERR_UNINITIALIZED on non-opened WineOSS audio device.
2000-12-21 20:49:26 +00:00
Eric Pouech
247a94f688 Cleaned up the code a bit. 2000-12-21 20:21:53 +00:00
Ove Kaaven
96f9a8d609 Enable the DirectSound HAL for sound drivers that do not report
DSP_CAP_REALTIME. Set precision of these to 256 bytes (about 3ms).
2000-12-21 20:20:34 +00:00
Francois Jacques
11ed84009e - TLB_DoFuncs: code cleanup and elemdescFunc read correctly from TLB.
- TLB_LoadTypeLib: ref count problem.
- ITypeLib::GetTypeInfoOfGuid: safer implementation (pointer testing).
- ITypeInfo::GetRefTypeOfImplType: safer implementation (pointer testing).
- ITypeInfo2::GetDocumentationL return errors if SysAllocString failed.
- TLB loader functions now trace in "typelib" channel.
- Improved traces in AddRef/Release and improved dump_* functions for
  debugging.
2000-12-21 20:20:12 +00:00
Dmitry Timoshkov
81cb2387e0 Do not free the not owned error string. 2000-12-21 20:18:40 +00:00
Francois Jacques
de3486dd1c Updated SafeArrayGetUBound and SafeArrayGetLBound with more sanity
checks: an array has at least one dimension.
Updated validCoordinates, where SafeArrayGetLBound was called on
dimension 0.
2000-12-21 20:18:18 +00:00
Eric Pouech
e93588b7a4 Rewrote the allocation of MM driver descriptors. 2000-12-21 20:17:23 +00:00
Alexandre Julliard
58c58c5445 Fixed debug routines to work before the process heap is created. 2000-12-20 18:43:42 +00:00
Andrew Johnston
03131aae91 Documentation update. 2000-12-19 23:33:03 +00:00
François Gouget
5e5c52d477 DUMMYSTRUCTNAME2 creates a conflict when using anonymous union names. 2000-12-19 23:31:52 +00:00
Francois Jacques
31c6ac2aac Implementation of Dispatch API. 2000-12-19 23:29:58 +00:00
Jon Griffiths
5d4cf0679a - Add several mbcs and CP 932 functions, fix some existing calls
- Bug fixes, -W warnings and winapi_check updates.
- Don't be so strict setting default locale, store codepage
2000-12-19 23:29:15 +00:00
Marcus Meissner
a09ece9627 shlwapi forwarders for SetWindowLongW and CallWindowProcW. 2000-12-19 19:37:43 +00:00
Dmitry Timoshkov
4e62b9df8b New unicode edit control. 2000-12-19 19:36:49 +00:00
François Gouget
44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Ulrich Weigand
975914003b Fixed IMAGE_RESOURCE_DIRECTORY_ENTRY on big-endian machines. 2000-12-19 03:38:53 +00:00
Gerard Patel
9ea31be4ff Stub for DllDebugObjectRPCHook. 2000-12-19 03:38:05 +00:00
Gerard Patel
53d198cc00 Misc fixes for QueryPathOfRegTypeLib, TLB_ReadTypeLib,
ITypeInfo_fnGetContainingTypeLib.
2000-12-19 03:37:44 +00:00
Gerard Patel
565ba5899c Do not send a WM_NOTIFYFORMAT to a non-existent owner. 2000-12-19 03:37:02 +00:00
Marcus Meissner
d88dbb4a10 Implemented DIGDD_PEEK for SysMouseA::GetDeviceData. 2000-12-19 02:10:26 +00:00
Hidenori Takeshima
a257b96dd3 Implemented keyboard layout and context - far from complete. 2000-12-18 03:51:16 +00:00
Guy L. Albertelli
943ba3f1bc - Implement drag for vertical rebars (drag up and down).
- Better algorithims for inserting new bands - matches native version
  closer.
- Make drawing of rebar attempt to match native pixel by pixel (note
  this does not fix the embedded controls in each band - they still are
  as good or bad as before.)
- Implement some of the notifications (RBN_HEIGHTCHANGE, _CHILDSIZE,
  _DELETINGBAND, _DELETEDBAND).
2000-12-18 03:13:19 +00:00
Guy L. Albertelli
762ed03a3e Pass WM_COMMAND and WM_NOTIFY to parent as received. 2000-12-18 03:12:31 +00:00
Gerard Patel
08e7086189 Change the current directory as the user browses the directory tree. 2000-12-18 03:12:06 +00:00
David Elliott
2a53800d56 Changed typo va_list to valist. 2000-12-18 03:11:32 +00:00
Marcus Meissner
ab7fc4a0c6 Mapping for ICM_SETSTATE (ptr in lParam1 to private data). 2000-12-18 03:10:19 +00:00
Patrik Stridvall
00b86a9b04 Fixed some issues found by winapi_check. 2000-12-16 21:55:05 +00:00
Jon Griffiths
88e2453716 - Fix _fullpath & splitpath, winapi_check fixes
- Add cprintf,cscanf,_fgetwchar,_fgetwc,_fputwchar,_fputwc,
  _wtoi & _wtol (fwd),scanf,_timezone_dll
2000-12-16 21:53:56 +00:00
Alexandre Julliard
ce1398e384 Avoid a couple of dependencies on input.c internal variables. 2000-12-16 20:37:16 +00:00
Alexandre Julliard
b583ed33de Fixed infinite loop in CRTDLL__fcloseall. 2000-12-16 20:19:11 +00:00
Hidenori Takeshima
85722666a9 Implemented some APIs and IME class - far from complete. 2000-12-16 20:18:07 +00:00
Marcus Meissner
34c9f9fb39 Check for NULL before doing IsEqualGUID(). 2000-12-16 20:17:22 +00:00
Eric Pouech
aaa78f9cda Fixed loading of 16 bit MCI drivers (for command tables).
Fixed alias handling in mciSendString.
2000-12-16 20:17:04 +00:00
Andreas Mohr
de0f6dd5fe - don't initialize with pFirstLDD if pFirstLDD isn't initialized yet either
- corrected VcpClose .spec
2000-12-16 20:16:33 +00:00
Hidenori Takeshima
473fd0b0f7 Implemented some DDK APIs - far from complete. 2000-12-15 23:00:00 +00:00
Alexandre Julliard
0b6a79c961 Converted enum_key_value request to the new request mechanism. 2000-12-15 20:57:00 +00:00
Aric Stewart
844625cbc5 Fixed some difficulties with the font on vertical tabs. Also plugged a
resource leak.
2000-12-15 20:55:20 +00:00
Ulrich Czekalla
361eebb1ba Mark width as valid when we send HDN_ENDTRACKA. 2000-12-15 20:54:41 +00:00
Huw D M Davies
3d3dc23ab2 Check to see whether any ancestor windows are drop targets. 2000-12-15 20:54:18 +00:00
François Gouget
3c7a2b8c84 Removed the declspec specifier. 2000-12-15 20:53:05 +00:00
Alexandre Julliard
909eff9932 Added support for Unicode applications in winebuild.
Removed cuiexe_no_main hack.
Avoid stdcall function declarations inside functions because of gcc bug.
2000-12-15 03:38:11 +00:00
Vasily I. Volchenko
afee78f36b Added more Russian support. 2000-12-14 21:58:02 +00:00
Hidenori Takeshima
9c672134fd Added a spec file for 16bit imm.
Added spec files for winnls and winnls32.
2000-12-14 21:56:18 +00:00
Marcus Meissner
c9afc46efa If DirectDrawCreate gets passed a IDirectDraw{2,4,7} interface, get
this interface and do not use IDirectDraw.
2000-12-14 19:25:36 +00:00
Francois Gouget
8a5de1c92f Removed the name of APIs exported by ordinal. 2000-12-14 19:25:13 +00:00
Nemeth Peter
5b9d410224 Some NLS updates. 2000-12-14 19:24:31 +00:00
James Abbatiello
e675887129 Work around glibc 2.1.x dlopen bug (again). 2000-12-13 21:32:55 +00:00
Andreas Mohr
559f432126 - implemented proper LDD/LDID handling
- implement Ctl*Ldd(), Ctl[GS]etLddPath, GenInstall (no real operations
  yet, I want help), InstallHinfSection
- Stubbed out DiGetClassDevs16 (needed for e.g. Monkey Island 3 ;)
- many new .spec stubs
2000-12-13 21:31:37 +00:00
Andreas Mohr
2c5efe31c0 SHGetMalloc must use MEMCTX_TASK, otherwise CoGetMalloc will
badly fail with E_INVALIDARG in case native OLE32 is used.
2000-12-13 21:29:35 +00:00
Eric Kohl
32eeb85cd6 Implemented _ultow() and export [Nt/Zw]QueryVolumeInformationFile(). 2000-12-13 21:28:15 +00:00
Alexandre Julliard
db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard
982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard
f6168db690 Fixed some warnings. 2000-12-13 20:03:53 +00:00
Eric Pouech
66b4468bd4 Split driver functions into USER (16 bit part) and WINMM (32 bit part).
Fixed some bugs in 16 bit part as well.
Now correctly parsing the system.ini extra parameters.
2000-12-13 02:07:40 +00:00
Marcus Meissner
af5ff94f4e Fixed crtdll compile problem regarding fpos_t in glibc2.2. 2000-12-13 01:59:40 +00:00
Jon Griffiths
61e48c7af1 - Implement console I/O
- Support temporary files, add tmpfile, rmtmp
- spawn* functions: fix args, add cwait, searchenv
2000-12-13 01:58:39 +00:00
Eric Kohl
4718b6d09d Fixed crash of WinZip 8.0 due to invalid image list handle. 2000-12-13 01:52:23 +00:00
Eric Pouech
fbb392e405 Return values from DRV_ENABLE should not be checked. 2000-12-13 01:51:04 +00:00
Eric Pouech
31acbb4b9c FormatMessageA wasn't properly handling the %ls modifier. 2000-12-13 01:50:19 +00:00
Andreas Mohr
bc2ae78bee Invalid buttons are "hidden". 2000-12-13 01:49:51 +00:00
Andreas Mohr
4dc1892a06 Move all values of SHGetSpecialFolderPathA into an array, add some
other registry locations and improve the number of supported CSIDLs.
2000-12-13 01:49:04 +00:00
Ian Pilcher
d7aea962dc Changed FILEDLG95_OnOpen to "double terminate" the returned string if
OFN_ALLOWMULTISELECT is set.
2000-12-13 01:46:26 +00:00
Alexandre Julliard
751625e089 Got rid of main.h. 2000-12-12 00:50:19 +00:00
Alexandre Julliard
a67369ea00 Changed LoadImage16 to take an LPCSTR instead of a SEGPTR. 2000-12-12 00:48:06 +00:00
Alexandre Julliard
bf67259a41 Use the DRIVE_* API constants instead of the DRIVETYPE enum.
Changed DRIVE_CANNOTDETERMINE and DRIVE_DOESNOTEXIST to use the
correct names.
Cleaned up a few dependencies on internal drive.c functions.
2000-12-12 00:44:42 +00:00
Marcus Meissner
c9b3b2e8f8 Added preferences to dinput drivers (so we can have two joystick
drivers). Implemented a joystick driver for the Linux 2.4
dev/input/event API.
2000-12-12 00:38:58 +00:00
Jon Griffiths
e371e682cb - Implemented setlocale parsing and LC_TYPE behavior.
- Implemented isleadbyte, snprintf.
- Added NLS IsValidCodePage prototype, misc CRTDLL fixes.
2000-12-12 00:37:27 +00:00
Dimitrie O. Paun
981a9a409b Fixed indentation problems resulting from automatic renaming, other
aesthetic fixes.
2000-12-12 00:35:54 +00:00
Gerard Patel
4d975b328f Use DrawText to display text in horizontal tabs. 2000-12-12 00:35:20 +00:00
Alexandre Julliard
becb9a353b Moved all Wine internal definitions out of process.h. 2000-12-11 03:48:15 +00:00
Alexandre Julliard
361943aaec Implemented RtlAcquirePebLock and RtlReleasePebLock. 2000-12-11 03:41:19 +00:00
Gerard Patel
158e2cb6cb Implemented DrawTextW as Unicode and DrawTextA as call to DrawTextW. 2000-12-11 03:39:08 +00:00
Alexandre Julliard
91222da881 Moved most builtin controls structures into their respective C file.
Created new controls.h file private to user32.dll and moved remaining
builtin controls definitions there.
2000-12-10 23:01:33 +00:00
Alexandre Julliard
84f91bd3fc Removed no longer used elfdll loader. 2000-12-09 03:25:34 +00:00
Andreas Mohr
1af53cbb2a - README update
- add offsets to ASPI struct defines
- spelling
2000-12-09 03:15:32 +00:00
Andreas Mohr
5448c534f3 Don't fail on pointer address checking when foreign heap. 2000-12-09 03:08:02 +00:00
Andreas Mohr
1081dfee33 Fixed MessageBox() usage. 2000-12-09 03:06:54 +00:00
Andreas Mohr
482122a1de Print CDB area. 2000-12-09 03:06:18 +00:00
Gerard Patel
6bbf46a964 Fileokstring notification should be sent to the custom child dialog,
not to the main dialog.
2000-12-07 23:54:19 +00:00
Alexandre Julliard
48d0c5fd65 Authors: Andrew Lewycky <andrew@transgaming.com>, Ove Kaaven <ovek@transgaming.com>
De-stub sin() and cos().
Add noimport flag to sin(), cos(), and pow().
2000-12-07 23:53:47 +00:00