Commit Graph

2518 Commits

Author SHA1 Message Date
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
Alexandre Julliard be367c7270 Added wine_server_fd_to_handle to replace FILE_DupUnixHandle. 2002-05-30 20:40:02 +00:00
Alexandre Julliard 5188574984 Renamed handle_t to obj_handle_t to avoid conflict with rpcdce.h. 2002-05-30 20:12:58 +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
Alexandre Julliard 9f0ff1bfd2 Moved WORDS_BIGENDIAN macros to basetsd.h.
Fixed FILETIME definition for big-endian.
2002-05-29 02:02:19 +00:00
Gregg Mattinson d736e82225 Fixed the LARGE_INTEGER and ULARGE_INTEGER unions for big endian. 2002-05-29 00:33:07 +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
Warren Turkal 129c8dc9f7 Added structures and some constants for stream handling. 2002-05-28 22:39:49 +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 9d80215254 A few optimizations in the process startup requests now that Winelib
apps are started differently from Unix ones.
2002-05-24 21:20:27 +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 5954602461 Restored managed mode config file option. 2002-05-23 16:32:32 +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
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
Francois Gouget b3c7a79225 Include winerror.h if in Winelib mode. 2002-05-23 02:38:56 +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
Francois Gouget ac70c40fb6 Add mswsock.h, move relevant definitions to this header. 2002-05-22 01:51:41 +00:00
Francois Gouget 6114ee716b Test for IStream_IMETHODS before defining APIs that need the IStream
interface (like on Windows).
2002-05-21 18:36:51 +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
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
Vincent Béron 244462cc70 Correct implementation of VerSetConditionMask. 2002-05-19 22:20:09 +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
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
Philip Brown f8369deded Need to undef NOERROR for Solaris. 2002-05-16 23:09:29 +00:00
Alexandre Julliard 59008670be Moved the selector access functions out of winnt.h into libwine. 2002-05-16 20:32:16 +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
Alexandre Julliard c3e06df941 Portability fixes. 2002-05-14 23:18:23 +00:00
Vincent Béron 736e81c67a Better implementation of GetCalendarInfo{A,W}, not perfect. 2002-05-14 21:44:07 +00:00
John K. Hohm 0ef65382b3 Fixed typos; added standard CATID_'s. 2002-05-11 23:01:40 +00:00
Eric Pouech 218faf39a2 Fixed FlushInstructionCache prototype. 2002-05-11 22:54:46 +00:00
Steven Edwards 0a8e15abfb Detect snprintf && _snprintf, use _snprintf on stupid platforms
(windows).
2002-05-10 01:33:40 +00:00
Alexandre Julliard ea69f8eeb4 Added some #ifdefs HAVE_X11_XLIB_H where appropriate. 2002-05-10 01:08:56 +00:00
John K. Hohm b06116e24f Added definitions for the Component Categories Manager. 2002-05-09 19:49:14 +00:00
Juergen Schmied 76a9fa12f7 Types and partial implementation for NtQueryVolumeInformationFile. 2002-05-09 19:40:30 +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
Jukka Heinonen 800dbf2994 Added support for DPMI RawModeSwitch. 2002-05-07 17:59:10 +00:00
Alexandre Julliard 127ec92b24 Added check for sys/sysctl.h. 2002-05-07 01:51:30 +00:00
David Hammerton ca30e48f71 Added implementation of GetWindowInfo. 2002-05-06 20:11:18 +00:00
Steven Edwards b9627c1486 Check for and use chsize instead of ftruncate if present. 2002-05-05 21:03:44 +00:00
Alexandre Julliard 140e7222e0 Removed more code at Hidenori's request. 2002-05-05 19:40:57 +00:00
Patrik Stridvall 3751ff045c MS C related changes. 2002-05-04 18:37:08 +00:00
Alexandre Julliard 5cab46ee58 Cleaned up some inter-dll dependencies in palette management. 2002-05-02 21:49:50 +00:00
Alexandre Julliard dec2cee2fb Removed some direct accesses to the DC structure. 2002-05-02 01:39:48 +00:00
Alexandre Julliard acd1c14835 Commented out removed headers. 2002-05-02 01:30:30 +00:00
Alexandre Julliard b6a7ca5855 Removed a bunch of multimedia code at Hidenori's request. 2002-05-02 01:29:18 +00:00
Alexandre Julliard d1d63927be Rewrote some headers from scratch to avoid EULA/patent concerns. 2002-05-02 01:22:00 +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 b53f13093e Attempt at fixing MAX_PATH issues for mingw. 2002-05-01 18:13:18 +00:00
Johan Gill 8fc98cdef8 DirectSoundEnumerateA() now passes a GUID to the callback if the first
call returned TRUE.
2002-05-01 18:05:30 +00:00
Patrik Stridvall 441a7dcf7e Microsoft C related changes. 2002-04-29 18:37:36 +00:00
Alexandre Julliard 9560e58ac5 FreeBSD compile fix. 2002-04-27 21:14:50 +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
Steven Edwards 882e8ad0c7 Fix for mingw32. 2002-04-25 23:04:27 +00:00
Martin Wilck 9ca4285a9f Fixed ReadFile() semantics when reading asynchronously on sockets.
Provide more accurate status codes than STATUS_UNSUCCESSFUL.
2002-04-25 22:58:59 +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
Martin Wilck bff7e69981 Implemented server framework for asynchronous IO on sockets. 2002-04-25 21:31:11 +00:00
Alexandre Julliard 867fb9d79e No longer try to support non-reentrant Xlib. 2002-04-24 22:24:43 +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
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
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
Martin Wilck 493e9d7d11 Fixed cut&paste bug. 2002-04-22 22:33:12 +00:00
Eric Pouech fbaef1cc9a Now C tests are able to access argc/argv as passed to the program. 2002-04-20 20:51:11 +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
Alexandre Julliard daa2886c10 Updated configure to take advantage of new autoconf 2.53 features. 2002-04-11 21:54:01 +00:00
Alexandre Julliard 7746e82122 Removed obsolete console driver. 2002-04-11 21:50:16 +00:00
François Gouget 141bbddb6e Added some error codes. 2002-04-08 23:40:13 +00:00
Michael Karcher ea9cf5c531 Fixed OpenGL routines broken by the DC -> PHYSDEV change. 2002-04-08 22:43:58 +00:00
Huw D M Davies 671577296e Added support for ResetDC. 2002-04-06 00:00:56 +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
Steven Edwards 63963b8ddf Fixed mingw32 warning about stdcall and fastcall being redefined. 2002-04-05 21:18:10 +00:00
Guy L. Albertelli 0a44e5bc84 - Add defines for the NMTBHOTITEM flag word.
- Add defines for the NM_CUSTOMDRAW return flags for toolbar.
2002-04-05 21:15:32 +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 e1e51f9922 Don't calculate cached metrics or enumerate X11 fonts if we're using
client side fonts.
2002-04-03 21:18:50 +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
Dmitry Timoshkov 2903ca1bbb Implement GetGlyphIndices. Tweak GetCharacterPlacement to use it. 2002-04-03 20:41:14 +00:00
Alexandre Julliard c555274d7d Better check for -lresolv. Removed FREETYPELIBS. 2002-04-03 20:24:44 +00:00
Huw D M Davies c48f3b07ae Added ImpersonateLoggedOnUser stub. 2002-04-03 19:53:31 +00:00
Geoffrey Hausheer 03f4e22327 Added test for thread functions. 2002-04-02 19:37:15 +00:00
Dimitrie O. Paun dd52bb657e Declare swprintf. 2002-04-02 19:15:25 +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
Chris Morgan 417296c4af Implement OpenThread() winapi call.
Implement a few pthreads functions.
2002-04-02 00:49:05 +00:00
Francois Gouget 3b943bca78 On Solaris inet_aton is exported by libresolv.so. 2002-04-01 21:05:15 +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
Dimitrie O. Paun 6ca8edccc3 Added the DFCS_{HOT,TRANSPARENT} definitions. 2002-04-01 20:57:21 +00:00
Alexandre Julliard 6543a6522a Transfer the full process startup info as well as the command-line
through the server.
2002-03-29 18:28:56 +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
Michal Pasternak 6098399a77 Fixed pack/unpack routines for WM_DDE_EXECUTE. 2002-03-29 18:04:43 +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
Andriy Palamarchuk 33dd201542 Added declaration of the DisconnectNamedPipe call. 2002-03-28 22:06:33 +00:00