Commit Graph

185 Commits

Author SHA1 Message Date
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 c3e06df941 Portability fixes. 2002-05-14 23:18:23 +00:00
Steven Edwards 0a8e15abfb Detect snprintf && _snprintf, use _snprintf on stupid platforms
(windows).
2002-05-10 01:33:40 +00:00
Alexandre Julliard 127ec92b24 Added check for sys/sysctl.h. 2002-05-07 01:51:30 +00:00
Steven Edwards b9627c1486 Check for and use chsize instead of ftruncate if present. 2002-05-05 21:03:44 +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 0314a65a58 Implementation of IOCTL_SCSI_PASS_THROUGH and
IOCTL_SCSI_PASS_THROUGH_DIRECT.
2002-05-01 22:01:30 +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
Alexandre Julliard 867fb9d79e No longer try to support non-reentrant Xlib. 2002-04-24 22:24:43 +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
Alexandre Julliard daa2886c10 Updated configure to take advantage of new autoconf 2.53 features. 2002-04-11 21:54:01 +00:00
Alexandre Julliard c555274d7d Better check for -lresolv. Removed FREETYPELIBS. 2002-04-03 20:24:44 +00:00
Francois Gouget 3b943bca78 On Solaris inet_aton is exported by libresolv.so. 2002-04-01 21:05:15 +00:00
Michal Pasternak 6098399a77 Fixed pack/unpack routines for WM_DDE_EXECUTE. 2002-03-29 18:04:43 +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
Patrik Stridvall 81ecb52cc9 Added some optional headers and functions for compiling on Windows
with MSVC.
2002-03-11 05:08:14 +00:00
Lawson Whitney 533e7eeaf4 Support for nonstandard baud rate in SetCommState. 2002-02-19 18:41:56 +00:00
Alexandre Julliard f5818d2f7a Upgraded configure script to use autoconf 2.50 features, and renamed
to configure.ac.
Changed a few things to better follow the autoconf guidelines.
2002-02-14 19:47:29 +00:00
Dmitry Timoshkov 93a5b8681d Support for generation of .def files from .spec files. 2002-02-04 18:48:18 +00:00
Huw D M Davies 9b1d37260b Don't define HAVE_FREETYPE unless we have freetype.h. 2002-01-29 17:09:28 +00:00
Alexandre Julliard 18d7573c5e Authors: Huw D M Davies <hdavies@codeweavers.com>, Charles Loep <charles@codeweavers.com>
Various fixes for gdi font handling code including:
- Using TTs VDMX table to ensure that we get exactly that same size
  font that Windows uses.
- Fixes to many members of the metrics structures.
- Font cache.
- Rotated text support.
- Support for GGO_GRAY?_BITMAP (ready for anti-aliased text).
- Support for GGO_NATIVE.
2002-01-29 03:02:50 +00:00
Alexandre Julliard f1a0de996a Added configure check for pread/pwrite. 2002-01-07 21:00:27 +00:00
Alexandre Julliard 18e4b5e293 We no longer need libXpm. 2002-01-04 18:52:40 +00:00
Alexandre Julliard 4895768443 Link to the curses library only for the dlls that need it. 2001-12-26 23:08:31 +00:00
Bang Jun-Young eda758ebcd Added check for stdint.h (needed on NetBSD). 2001-12-14 22:47:19 +00:00
François Gouget 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
François Gouget 2663b80f16 Make debugtools.h independent from config.h. 2001-11-06 19:01:05 +00:00
Huw D M Davies 4e2024e8a8 Implement GetFontData. 2001-10-23 20:06:32 +00:00
Huw D M Davies ff453fcd38 Add config check and thread safe wrappers for the XRender library. 2001-09-14 01:04:25 +00:00
Huw D M Davies 814654ef9f Lay down the infrastructure for gdi font rendering.
Partial implementation of GetGylphOutline and GetOutlineTextMetrics
for gdi fonts.
2001-09-12 20:21:06 +00:00
Eric Pouech 624cbd7c47 Fixes for Solaris X86. 2001-08-10 22:29:21 +00:00
Marcus Meissner 252b0fe099 Implemented OleLoadPicture.
Added support for loading JPEG, Bitmap and Icons from persistant
streams.
Implemented JPEG support using libjpeg, added necessary configure.in
options.
Added IConnectionPoint style notifications to the IPicture iface.
Implemented several of the stubs already there, added some more.
2001-08-06 18:52:14 +00:00
Lionel Ulmer aeb92b1ca3 - removed unused OSMesa linking
- removed OSMesa code
2001-07-12 02:46:23 +00:00
Patrik Stridvall 09da966c8c Add proper check for existance of struct sockaddr member sa_len. 2001-07-08 22:30:50 +00:00
Patrik Stridvall 61c8a939f3 Fixed subtle configure bug concerning OpenGL.
Found on FreeBSD (which has OpenGL in /usr/X11R6/lib).
2001-06-28 18:03:15 +00:00
Alexandre Julliard ed2f19a63f Put AC_DEFINE symbols definitions directly in the configure script so
that we no longer need an acconfig.h. Cleaned up dlopen() tests a bit.
2001-06-27 21:42:00 +00:00
Uwe Bonnes 6509fa93f9 Added /dev/parport support for direct port access. 2001-06-26 21:06:07 +00:00
Marcus Meissner 0f6cfbc7ba Added check for broken mmap64. 2001-06-08 19:34:56 +00:00
Ian Pilcher 40432fef7e Use autoconf checks to check for various FreeType headers. 2001-06-06 21:05:23 +00:00
Marcus Meissner 6bb990f7fd Drop any file64 functions, try to use system supplied 64-bit mode by
using proper defines.
2001-05-29 20:55:21 +00:00
Ian Pilcher 563598d45d Read metrics from TrueType fonts. 2001-05-16 20:56:05 +00:00
Marcus Meissner 3f1ed52d8b Implemented 64bit file size handling.
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Marcus Meissner ab8b7dba77 Added CUPS printing support. 2001-04-27 18:02:46 +00:00
Marcus Meissner 74f2b4b2ae Added configure check for old linux/input.h. 2001-01-19 21:09:07 +00:00
Alexandre Julliard 598412ed6a Cleaned up the various errno location tests in configure.
Added (h_)errno_location pointers in the library that allow remapping
the calls in higher level dlls.
Moved X11DRV_CritSection out of sysdeps.c and into x11drv.dll.
2001-01-17 20:22:22 +00:00
Andreas Mohr a7ca2ba777 NetBSD 1.5 is lacking ecvt, fcvt, gcvt for crtdll. 2001-01-12 23:07:11 +00:00
Ulrich Weigand 15f96804c4 Replaced architecture-dependent configure checks by hardcoded
definitions in winnt.h (to avoid config.h dependency).
2001-01-11 00:54:21 +00:00
Alexandre Julliard d6c0f9f784 Authors: Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming.com>, Ove Kaaven <ovek@transgaming.com>
Major DirectDraw restructure/reimplementation, using an improved component
object model hierarchy. The implementation currently supports:
- DirectDraw over GDI/USER in a window (using DIBsections and
  asynchronous updates)
- XVidMode
- XF86DGA2
- All DirectDraw interfaces from versions 1 to 7 (at least in theory)
- Hooks for Direct3D interfaces
2001-01-04 22:44:55 +00:00
Ove Kaaven c90fb25c68 Turn on detectable autorepeat if the X Keyboard Extension is
detected.
2001-01-02 22:39:14 +00:00
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 cc195924a6 Added check whether unaligned memory access is allowed.
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
Ulrich Weigand 975914003b Fixed IMAGE_RESOURCE_DIRECTORY_ENTRY on big-endian machines. 2000-12-19 03:38:53 +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
Patrik Stridvall 7a4e599780 Fixed some issues found by winapi_check. 2000-12-01 23:53:46 +00:00
Dimitrie O. Paun 1ec253d205 Supply dummy getrlimit if absent. 2000-12-01 20:47:11 +00:00
Dimitrie O. Paun 2af03e45b5 Do not include sys/ptrace.h and sys/user.h unconditionally.
Other portability fixes.
2000-11-29 20:04:09 +00:00
Dimitrie O. Paun db1e5dbfef Do not use a.out.h. 2000-11-29 19:00:23 +00:00
Alexandre Julliard 27bb311d70 Added implementation of lstat to port.c. 2000-11-29 17:48:06 +00:00
Dimitrie O. Paun c77cbbcd1f Test if we need to put the .type directive inside a .def directive. 2000-11-27 23:32:55 +00:00
Jon Griffiths d6deb6db91 - configure tests for finite()/fpclass(), fixes BSD compile
- winapi_check updates, fix errno in more math calls
2000-11-27 01:37:28 +00:00
Hidenori Takeshima 5d1a6385e1 Added checking for netdb.h.
Don't include arpa/inet.h and sys/socket.h if system doesn't have these headers.
2000-11-26 04:00:53 +00:00
Hidenori Takeshima a85b0a6d41 Added checking for mmap. 2000-11-25 23:54:12 +00:00
Rein Klazes ff7a61f8d3 Make calls to gethostbyname, gethostbyaddr, getservbyname,
getservbyport, getprotobyname and getprotobynumber thread-safe.
2000-09-24 19:41:57 +00:00
Lionel Ulmer 3d2f32dcfb Added possibility to use XVideo. 2000-09-06 19:46:59 +00:00
Alexandre Julliard c97bb4c5d6 Added Unicode ctype support. 2000-08-11 20:53:40 +00:00
Patrik Stridvall 11ca9b9eb7 Fixed issues found by winapi_check. 2000-08-04 21:08:28 +00:00
Francois Jacques 5b6879c5c0 - implementation of SetWindowsRgn and GetWindowRgn
- X11DRV and TTYDRV updated with new API SetWindowRgn
2000-07-28 23:04:54 +00:00
Lionel Ulmer 1434d875ea Detect broken glext.h headers. 2000-07-23 14:23:31 +00:00
Marcus Meissner b53bb4197e Make non-existence of (f)lex an error. 2000-07-23 13:41:51 +00:00
Lionel Ulmer a8cc5f543e - fix Direct3D support and a lot of warnings
- add support for DDraw in a window (not optimized yet)
- cleans up OpenGL extensions handling for D3D
2000-07-16 14:40:35 +00:00
Hidenori Takeshima 01f78aaa9c Added configure check for libutil.h. 2000-07-09 12:19:09 +00:00
Lionel Ulmer bedf40b58b Added support for OpenGL. 2000-05-12 20:18:14 +00:00
Eric Pouech f61d7e0a24 Enhanced libc's pthread configuration detection. 2000-04-29 16:44:19 +00:00
Lionel Ulmer fbc15b1768 Added '--enable-opengl' flag to bypass the thread-safety check. 2000-04-29 14:23:22 +00:00
Alexandre Julliard 0045def764 Fixed signal stack handling on Linux when sigaltstack is available.
Added a direct sigaltstack syscall to work-around the glibc bug.
2000-04-13 19:25:52 +00:00
Alexandre Julliard e1d78899ea Made winmm a separate shared library. 2000-02-26 13:45:34 +00:00
Juergen Lock 2d33ab91f4 Added configure check for the unix domain sockaddr length. 2000-02-13 16:03:29 +00:00
Ulrich Weigand 8a1bdb3074 Added configure check for sys/reg.h. 2000-01-30 22:22:22 +00:00
Lionel Ulmer 48c0816476 - detect if the OpenGL implementation defines the paletted texture and
color table extensions
- small warning fixes
- fix the double '-lXxf86dga' when having DGA 2.0
2000-01-05 01:51:02 +00:00
Marcus Meissner 2d7be870cc Use the real glibc openpty if present. 1999-12-05 23:06:40 +00:00
Francois Gouget ae5e93e365 Use BSD headers for ICMP portability. 1999-11-13 23:02:06 +00:00
Patrik Stridvall b9010214d2 Added better missing function emulation. 1999-11-13 22:23:35 +00:00
Patrik Stridvall 96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Lionel Ulmer d94475bdb2 Added the possibility to use DGA 2.0. 1999-09-20 18:42:46 +00:00
Ron Record e977d6ca5c Added support of __thr_errno for reentrance on UnixWare. 1999-09-05 12:32:05 +00:00
Alexandre Julliard 3b96efc0f7 Added configure check for str[n]casecmp. 1999-09-04 14:36:02 +00:00
Marcus Meissner 028e9a1720 Implemented DirectInput Joystick support (tested with WC:Prophecy). 1999-08-04 15:07:56 +00:00
Lionel Ulmer 5d68f79a8b Better detection of OpenGL. 1999-07-23 19:33:24 +00:00
Howard Abrams 132774804e Added checks for sys/errno.h, sys/signal.h and sys/mman.h. 1999-07-10 13:16:29 +00:00
Eric Pouech 338d3b2d1b Create a new configuration manifest constant HAVE_OSS_MIDI. 1999-05-22 18:52:21 +00:00
Patrik Stridvall 1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Alexandre Julliard 0e7bd08cbd Added check for -lmmap for OS/2. 1999-05-02 11:46:02 +00:00
Marcus Meissner 1a8bbd7ca9 Added autoconf check for "inline". You can now use it, it will be
defined to (empty) for compilers that do not have it.
1999-04-26 14:58:58 +00:00
Marcus Meissner f070fda20d autoconf fixes and cleanups (check for dlopen() in libc too). 1999-04-24 12:02:14 +00:00
Alexandre Julliard 2487ccea81 Removed check for union semun; cleaned up a bit. 1999-04-18 14:43:16 +00:00
Ulrich Weigand 715a55e75f Reentrant libc check for Solaris added.
Fixed reentrant X11 check for FreeBSD and Solaris.
Added check for Solaris low-level thread routines.
1999-04-18 13:19:56 +00:00
Marcus Meissner f31ec0b08a FreeBSD 3 multithreading final fix. Do not use libc_r, libc is just as
reentrant concerning errno. Revert unneeded FreeBSD hack to
loader/signal.c from last patch.
1999-04-15 16:38:38 +00:00
Marcus Meissner c26063818f - Started multithreading for FreeBSD (incomplete, but some
applications now at least start up again).
- Use _thread_sys_sigaction/_thread_sys_sigaltstack.
- CR2 on pagefault gets passed in sc_err (some kind of kludge in
  FreeBSD owns fault handling we can use)
1999-04-11 15:20:29 +00:00
Marcus Meissner 664c2727cf Some Solaris fixes. <resolv.h> needs <arpa/nameser.h>, sig_context.h
needs to define HANDLER_CONTEXT, wctype.h does not like 'wsprintf'
defined, msdos/dpmi.c needs "stackframe.h" too, and multimedia/dsound.c
needs "winuser.h".
1999-02-28 11:23:44 +00:00