Commit Graph

2739 Commits

Author SHA1 Message Date
Andriy Palamarchuk
442f5f56d1 RtlNtStatusToDosError: Added new NT status to error codes mapping,
added missed definitions of the used constants, created unit test for
subset of the mappings.
2002-09-09 19:25:29 +00:00
Dimitrie O. Paun
3a706f0be0 - Add missing declaration for TBS_DOWNISLEFT and TTM_GETBUBBLESIZE.
- Fix indentation for a bunch of things.
2002-09-09 19:19:50 +00:00
Michael Stefaniuc
e149b37f3a Finish the conversion of HWND to a void*. 2002-09-06 20:40:42 +00:00
Andriy Palamarchuk
d7922143dd LsaNtStatusToDosError implementation. 2002-09-06 19:36:37 +00:00
Michael Stefaniuc
2247af320d - Rename WIN_Handle16 to HWDN_16 and make it a macro.
- Prepare user.dll for the change of HWND to a void*.
2002-09-04 19:37:01 +00:00
Alexandre Julliard
65ea73fedf Added DPMI segments structure and related function to avoid direct
references to dosmem internal variables.
Determine BIOS system offsets at compile time.
2002-09-04 18:52:22 +00:00
Steven Edwards
ca14f24af4 Fixed typo in BITMAPV4HEADER stucture. 2002-09-04 18:47:32 +00:00
Dimitrie O. Paun
d5d23cb9d5 Added some missing ImageList definitions. 2002-09-04 18:45:24 +00:00
Patrik Stridvall
51e6c0ccb1 MSVC compatibility fixes. 2002-08-31 19:04:14 +00:00
Alexandre Julliard
3fa613cf61 Moved internal context macros out of winnt.h.
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
2002-08-31 18:47:00 +00:00
Alexandre Julliard
0d875e773e Fixed some dll separation issues. 2002-08-30 00:03:25 +00:00
Marcus Meissner
c87c2c4f1a Use Iar (Instruction Address Register) instead of Fill[0].
siginfo.si_code uses the lower 16bit for the type of the exception.
2002-08-30 00:00:57 +00:00
Michael Stefaniuc
1033ffe423 Convert HPALETTE to a void*. 2002-08-29 01:55:55 +00:00
Alexandre Julliard
a0b32d7c1b Added internal 32-bit versions of GDISelectPalette and
GDIRealizePalette.
2002-08-29 01:55:16 +00:00
Marco Pietrobono
0e79a4128c Use alsa/asoundlib.h instead of sys/asoundlib.h if possible. 2002-08-29 01:51:31 +00:00
Patrik Stridvall
1ee88a2bfb Removed trailing white space. 2002-08-28 23:43:43 +00:00
Patrik Stridvall
9aab47ed24 MSVC compatibility fixes. 2002-08-28 23:42:34 +00:00
Per Nystrom
e765bc1a41 Implemented GetCursorInfo. 2002-08-28 23:38:10 +00:00
Alexandre Julliard
aface53759 Fixed a number of dll separation issues. 2002-08-28 22:35:23 +00:00
Michael Stefaniuc
4a75c5c6ea Convert HACCEL to a void*. 2002-08-28 00:39:39 +00:00
Patrik Stridvall
d8f50798b6 Implement wrapper calls for the 16 bit GlobalAtom* functions. 2002-08-28 00:38:42 +00:00
Alexandre Julliard
b5753597f1 Added a couple of listview definitions. 2002-08-27 22:32:36 +00:00
Ulrich Czekalla
651c5988aa - Add a max wait time for selection notifies.
- Add new function to the x11drv to get clipboard format names of
  externally registered formats.
- When a clipboard format is registered we should pass the global atom
  value as the format identifier.
- Clipboard format name should be treated as case insensitive.
- Serialize metafile bits when requested via a clipboard selection.
- Return format ids for native formats when mapping from properties.
2002-08-27 19:19:49 +00:00
Alexandre Julliard
dba83c8bfc Added wine_get_user_name function and got rid of some of the getpwuid
portability stuff.
More portable printf formats for 64-bit types.
2002-08-27 18:30:53 +00:00
Dmitry Timoshkov
d75aed2c92 Convert most of the file APIs to Unicode. 2002-08-27 01:13:58 +00:00
Steven Edwards
6a28adb40f Fix for lots of warnings when building on Mingw32. 2002-08-27 00:32:43 +00:00
Patrik Stridvall
57bf45067a MSVC compatibility fixes. 2002-08-26 21:53:24 +00:00
Andriy Palamarchuk
d86393f6c8 SetTokenInformation stub implementation, a few other small changes. 2002-08-26 21:39:17 +00:00
Alexandre Julliard
911a17748f Don't map/unmap a top-level window when WS_VISIBLE changes, only when
we explicitly do a SetWindowPos(SWP_SHOWWINDOW/HIDEWINDOW).
Update the WM hints when mapping a window in case the style has
changed in the meantime.
2002-08-20 00:36:45 +00:00
Marcus Meissner
2456149860 Use r2 instead of r13 for TLS, since r13 is used in the ELF32 PPC
ABI.
2002-08-20 00:00:35 +00:00
Jon Griffiths
18176e3c0c Fix existing string functions, implement a bunch of new ones. 2002-08-19 23:57:27 +00:00
Huw D M Davies
3d10c1fc6e Mapping mode functions should change dc settings when dc is an enhmf. 2002-08-17 18:32:12 +00:00
Mike McCormack
d788939d8f Removed Wine internal flags. 2002-08-17 18:31:12 +00:00
Daniel Gudbjartsson
42c74d6454 Combined the implementation of all the scanf's in a single place.
Added implementations of fwscanf, swscanf, wscanf and sscanf.
Corrected the declaration of swscanf.
Added implementation of the l, h, L and w prefixes.
Added implementation of the c, C, s, S and n types.
2002-08-17 01:22:00 +00:00
Aric Stewart
5501f127df Very partial implementation of BroadcastSystemMessageA. 2002-08-16 23:29:48 +00:00
Alexandre Julliard
0eec45a97b Force loadorder of 16-bit dlls to builtin if their 32-bit counterpart
has already been loaded as builtin.
2002-08-16 20:02:54 +00:00
Michael Stefaniuc
c018ef6b6b Convert HKL to a void*. 2002-08-16 01:34:19 +00:00
Alexandre Julliard
1c4b5c40bf Moved a large number of 16-bit functions to a separate gdi16.c file. 2002-08-16 00:42:06 +00:00
Alexandre Julliard
66e3183099 Fixed GetLocaleInfoW to handle Unicode properly and completed
implementation.
Update win.ini and registry on startup when language changed.
More logical priority order for locale environment variables.
Implemented SetLocaleInfoW.
Moved some locale functions to kernel32.dll.
2002-08-15 23:18:47 +00:00
Jon Griffiths
1da297178a Implement and test rtl bitmap functions.
Add a couple of other misc rtl functions.
2002-08-15 22:08:40 +00:00
Alexandre Julliard
f22ba0560d Added support for #pragma code_page.
Fixed a few bugs in language handling.
Added error message when Ansi->Unicode conversion in the current
codepage loses information.
2002-08-15 21:57:36 +00:00
Alexandre Julliard
befbb0e441 Make behavior of builtin executables closer to that of builtin dlls.
Fixed case sensitivity of builtin executables.
2002-08-14 21:12:58 +00:00
Alexandre Julliard
6006757996 Setup exception frame around 16-bit calls to unwind stack properly. 2002-08-13 03:29:17 +00:00
Juergen Schmied
1166dc733a Stubs for DragDropHelper. 2002-08-13 03:21:53 +00:00
Alexandre Julliard
a5dea216cc Implemented the RtlImage* functions, and use them to replace the
PE_HEADER macro.
2002-08-09 19:57:38 +00:00
Andriy Palamarchuk
3d8b123e5a Improved richedit headers. 2002-08-09 19:51:49 +00:00
Michael Stefaniuc
c8ff4da2ac Convert HMMIO to a void*. 2002-08-09 19:51:01 +00:00
Marcus Meissner
5ee517ac3d Copy va_lists by using va_copy, not by just assigning them. 2002-08-09 19:49:31 +00:00
Ove Kaaven
29b3061bfa Some more RPC definitions. 2002-08-09 01:11:39 +00:00
Michael Stefaniuc
ec7d7b72b2 - Convert HDRVR to a void*.
- Fix declaration of DriverCallback().
2002-08-09 01:02:25 +00:00
Alexandre Julliard
c1dec29304 Authors: Josh DuBois <duboisj@codeweavers.com>, Marcus Meissner <meissner@suse.de>
PowerPC locked exchange functions merged from old ppc patch.
NtCurrentTeb handling for PowerPC (using gpr 13).
2002-08-06 23:51:25 +00:00
Juergen Schmied
712caf3596 - Fixed possible loss of data with given overlapped structure on a
file opened in non overlapped mode.
- Fixme for file-lock functions.
2002-08-03 19:11:33 +00:00
Juergen Schmied
d1c144148c - Moved 16 bit functions to a seperate file.
- First implementation for free threaded marshaller.
- Fixed handling of REG_EXPAND_STRING registry values in CoCreateObject.
- Fixed CoLoad/FreeLibrary functions.
- Fixed use internal dll-list (used only for functions loading a dll
  internally without returning HMODULE).
2002-08-03 00:17:10 +00:00
Michael Stefaniuc
c414344e2a Convert HMIXER, HMIXEROBJ to a void*. 2002-08-03 00:14:43 +00:00
Michael Stefaniuc
bacc1b3b58 - Converted HWAVE, HWAVEIN, HWAVEOUT to void*.
- Fixed some HMIDI{IN,OUT}16 to HANDLE conversions.
- midiOutCacheDrumPatches16 called itself recursively in an infinite
  loop.
2002-08-02 19:02:49 +00:00
Robert Lunnon
2a91e3f99b Preliminary audio driver for Solaris Libaudioio. 2002-08-01 18:22:38 +00:00
Alexandre Julliard
7cae201e3f Authors: Eric Pouech <eric.pouech@wanadoo.fr>, Michael Stefaniuc <mstefani@redhat.com>
Convert HMIDI, HMIDIIN, HMIDIOUT, HMIDISTRM to void*.
2002-08-01 18:17:51 +00:00
Alexandre Julliard
cd6b50e732 Moved the #ifdefs for the getnetby* etc. functions directly into the
winsock implementation to avoid having to redefine the data structures
in port.h.
2002-07-31 23:20:47 +00:00
Rafael Kitover
ac81d02a58 Portability fixes for Cygwin. 2002-07-31 20:04:20 +00:00
Alexandre Julliard
7375597fe2 Fixed some handle type mismatches and added a few casts in prevision
of void* handles.
2002-07-31 19:26:03 +00:00
Alexandre Julliard
267ca68253 Fixed HANDLE<->HFILE conversions, since they will be different types
when handles are void*.
2002-07-31 17:20:00 +00:00
Alexandre Julliard
04b5a86c46 Merged the NAS driver written by Nicolas
Escuder <n.escuder@alineanet.com>.
2002-07-30 02:44:19 +00:00
Marcus Meissner
786d24903b Check for mkstemp, added a port implementation if it is not
present. Use mkstemp() in various places needing tmp files.
2002-07-29 23:55:39 +00:00
Juergen Schmied
c1f9d386eb - Implemented IMallocSpy hooks in IMalloc.
- Moved memory related functions into ifs.c.
- Implemented stubs for the MallocSpy.
2002-07-29 23:30:20 +00:00
Michael Stefaniuc
5c55df649b Converted HENHMETAFILE and HMETAFILE to a void*. 2002-07-29 00:14:59 +00:00
Alexandre Julliard
13f2a17eb2 Convert HTASK to void* (based on a patch by Michael Stefaniuc). 2002-07-28 23:48:27 +00:00
Michael Stefaniuc
37553b7a13 - Converted HHOOK to a void*.
- Changed the internal HOOK_* functions to pass only HHOOK's between
  them.
- Fixed wrong HHOOK <-> HANDLE16 conversions.
2002-07-28 17:42:05 +00:00
Alexandre Julliard
891d23e57f Added support for ordinal hint in PE_FindExportedFunction. 2002-07-24 19:04:41 +00:00
Alexandre Julliard
5cdda82a5d Fixed duplication of definitions between shlwapi.h and
obj_queryassociations.h.
2002-07-24 01:57:22 +00:00
Alexandre Julliard
84555cc771 Generate the __ASM_NAME and __ASM_FUNC macros directly from
configure.
Simplified the WINE_TRY_ASM_LINK test.
Moved DECL_GLOBAL_CONSTRUCTOR to wine/port.h.
2002-07-22 20:51:02 +00:00
Michael Karcher
4ae5380cbb Set the correct length of the struct DDSURFACEDESC. 2002-07-22 20:37:01 +00:00
Jon Griffiths
b8a70d8973 Add some new defines and functions. 2002-07-22 20:30:58 +00:00
Gregg Mattinson
57807fa11f Added checks for __sparc__, __sun__ and @function. 2002-07-20 20:17:13 +00:00
Dominik Strasser
751c4544b0 Implemented RegQueryMultipleValues. 2002-07-20 20:02:55 +00:00
Gregg Mattinson
6132474cf3 Fixed __builtin_return_address. 2002-07-20 18:53:34 +00:00
Alexandre Julliard
44b4235af2 Fixed per-thread data handling.
Made terminate and unexpected function pointer per-thread.
Added set_se_translator.
2002-07-19 03:24:50 +00:00
Gregg Mattinson
8a191ff5b8 Avoid structures or arrays of size 0. 2002-07-19 03:18:05 +00:00
Gregg Mattinson
044b5c411b - X11/extensions/shape.h requires X11/Xutil.h.
- X11/XKBlib.h requires X11/Xlib.h.
 - net/if.h requires sys/socket.h.
 - netinet/ip.h requires sys/socket.h and sys/in_systm.h.
 - resolv.h requires sys/socket.h.
2002-07-19 03:16:51 +00:00
Michael Stefaniuc
325cb0d2a8 Convert HMONITOR to a void*. 2002-07-19 00:28:13 +00:00
Alexandre Julliard
7d4ee77cab Merged the IDL compiler written by Ove Kaaven. 2002-07-16 03:20:45 +00:00
Admiral Coeyman
9cb2b210aa Added support for FPU emulation interrupts. 2002-07-10 23:22:29 +00:00
Jon Griffiths
273f86fc74 Stubs/docs for NotifyWinEvent,SetWinEventHook,IsWinEventHookInstalled,
UnhookWinEvent.
2002-07-10 23:20:49 +00:00
Gregg Mattinson
421660e894 Fixed V_DECIMAL macro to reflect where the decVal member is actually
stored.
2002-07-08 19:39:45 +00:00
Gregg Mattinson
81cbb28d07 - Forte C does not support nameless structures or unions
- Implemented __builtin_return_address for Forte C on sparc
- Implemented DECL_GLOBAL_CONSTRUCTOR for non-386, non-GNU C
- Implemented WINE_DPRINTF to have function name with Forte C
2002-07-05 21:22:09 +00:00
Alexandre Julliard
f5e5fcac97 Tried to make IsDialogMessageW more compatible. Changed
IsDialogMessage16/A to call IsDialogMessageW.
2002-07-05 00:23:02 +00:00
Gregg Mattinson
5837e8b105 Removed extra , from last element in enum declarations. 2002-07-03 01:15:32 +00:00
Gregg Mattinson
cc49e393f2 Removed extra ; from end of ICOM_METHOD macros. 2002-07-03 01:15:14 +00:00
Juergen Schmied
23b808791e - changed STRRET definition
- small changes for seperation of shell32 from ole32
- debughelper for printing interface names (shell internal)
- changed shell memory allocation to use IMalloc of ole32 when this
  library is already loaded
- fallback IMalloc internally in shell
- unified constructor syntax for several objects  created by DllGetClassObject
- rewrote instance creation for com objects
- made the desktop folder parsing paths like ::{CLSID}
- Implemented IPersistFolder3 partially
2002-07-02 02:05:17 +00:00
Alexandre Julliard
142dab8c81 Added configure check for getpwuid. 2002-07-01 18:17:30 +00:00
Andreas Mohr
db31151b1e Implemented set cursor shape functionality. 2002-07-01 18:13:52 +00:00
Alexandre Julliard
f92b7c06c2 Added some ALSA configure checks. 2002-06-28 18:31:01 +00:00
Gregg Mattinson
88773cd403 Removed C++ style comments. 2002-06-28 17:37:34 +00:00
Alexandre Julliard
5ee1599d59 Replaced LPTODP/DPTOLP macros by calls to LPtoDP/DPtoLP (with the help
of Huw Davies).
2002-06-25 23:29:51 +00:00
Alexandre Julliard
5f09c96f58 Fixed endianness #ifdefs (spotted by Jason Edmeades). 2002-06-25 03:03:19 +00:00
Alexandre Julliard
69622dbdcc Added support for path wildcards of the form "*dllname" in load order
specifications.
Only use wildcard entry for dlls that don't specify an explicit path.
Removed the old DllOverrides syntax support.
Misc cleanups and optimizations.
2002-06-25 00:23:23 +00:00
Ulrich Czekalla
550b97e7cd Added temp fix for world transform bug in SetWindowOrgEx handler.
Added handlers for EMR_SETTEXTJUSTIFICATION and EMR_SETLAYOUT.
2002-06-24 23:09:19 +00:00
Steven Edwards
ff4525ce84 Added check for pwd.h. 2002-06-24 23:00:25 +00:00
Huw D M Davies
8da26fb26a - Implement AddFontResource*, add stubs for RemoveFontResource*.
- Add support for GGO_BEZIER and a few bug fixes for GGO_NATIVE.
- Much better support for non ansi charsets in font matching.
- Proper implementation of GetTextFace for gdi font.
- Load fonts that are listed in the registry but aren't in
  %WINDOWSDIR%\fonts.
- Revert TranslateCharsetInfo to use codepage 1252 with ANSI_CHARSET.
- Add support for VIETNAMESE_CHARSET and SYMBOL_CHARSET.
2002-06-22 01:19:29 +00:00
Alexandre Julliard
75de8fe16c Added printf format checking to the ok() and trace() macros, and fixed
the resulting warnings.
2002-06-22 00:08:10 +00:00
Gregg Mattinson
c6a0054484 Moved all #includes to the top so that __stdcall is defined for the
declaration of IIDLookupRtn.
2002-06-21 20:09:34 +00:00
Alexandre Julliard
4144b5b8fc Create the server directory and socket file in /tmp.
Use fcntl file locking to ensure exclusion on the server socket and to
better recover from crashes.
Flush the registry before closing the socket to avoid timeouts on the
client side.
Moved get_config_dir functionality to libwine.
2002-06-20 23:21:27 +00:00
Jason Edmeades
5b6a9ff537 - VarAnd, VarCmp (Strings only), VarNot implemented.
- VarParseNumFromStr/VarNumFromParseNum handle negative currency
  numbers.
- More VarCmp support (Decimals and Dates).
- Date support for VB time only (0.0->1.0), corrected some date
  rounding and calculation errors around variant dates and the system
  time.
- Variant date support now round trips! (Date->Variant->Date) due to
  misuse of tm_mon (0..11 not 1..12).
- Better pre-1899 support for dates in the SYSTEMTIME format.
- VarBstrFromCy, VarCyFromStr implemented.
- VarFormat partial implementation (currency and date support).
- VarFormatFromTokens, VarTokenizeFormatString partial implementation
  as per w2k (dates only so far).
- Better debugging when dumping variants, and some additional trace
 points to help debugging.
- Fix to VarBstrCmp to handle null and empty string the same (as per
  w2k, different to msdn).
- Fix return from VarDateFromUdate.
- Correct definition of CY structure.
2002-06-20 23:07:55 +00:00
Sander van Leeuwen
8e35fe47ec 'class' is a reserved word (C++). 2002-06-20 22:42:41 +00:00
Aric Stewart
49467be6d9 Added GetCurrentHwProfileA. 2002-06-14 23:32:46 +00:00
Ove Kaaven
d2d08f0c28 - support DirectInput 8 interfaces.
- implemented mouse wheel support.
2002-06-14 00:39:44 +00:00
Alexandre Julliard
9428f06993 Update the cursor for each window on receiving an X11 event, don't
wait for the SetCursor call.
Added EnterNotify handler to set the cursor on window map/unmap.
2002-06-14 00:08:40 +00:00
Alexandre Julliard
c0d1ff5967 Store the current cursor in the thread queue instead of globally. 2002-06-14 00:07:05 +00:00
Ove Kaaven
935e3df35c Support DirectSound 8 interfaces. Split interface implementations into
separate files. Split primary buffer and secondary buffer interfaces
into separate implementations. Made the primary buffer state part of
the dsound object, so primary buffer objects can be created and
refcounted independently. Made the interfaces follow COM aggregation
rules more closely. Converted the dsound critical section to a R/W
lock to improve potential remixing concurrency. Fixed various bugs and
refcounting issues.
2002-06-13 19:15:06 +00:00
Alexandre Julliard
d3cab1857a Moved DC origin into device-specific structure.
Fixed handling of DC origin in X11 driver.
2002-06-10 22:52:47 +00:00
Alexandre Julliard
85844e506d Authors: Jesse Allen <uh_ja@gmx.net>, Lionel Ulmer <lionel.ulmer@free.fr>
Added implementation of wglSwapLayerBuffers.
2002-06-10 02:28:42 +00:00
Alexandre Julliard
df6fa30288 Duplicated wsprintf implementation in shlwapi. 2002-06-04 23:11:09 +00:00
Alexandre Julliard
a061b84ee1 Moved specification of relay and snoop include/exclude functions to
the config file.
Changed spy config a bit to follow the same scheme.
Moved debug option parsing routine into libwine.
2002-06-04 17:48:41 +00:00
Alexandre Julliard
78b041cf52 Better encapsulation of the font and metafile objects. 2002-06-04 01:02:51 +00:00
Warren Turkal
37fb021a5a More stream definitions. 2002-06-04 00:51:05 +00:00
Alexandre Julliard
376e65092a Better separation of the palette functions.
Removed the palette driver.
2002-06-02 21:40:24 +00:00
Alexandre Julliard
70e192b9cf Removed CURSORICON_IconToCursor now that we support color cursors. 2002-06-02 21:29:23 +00:00
Mike McCormack
dec45522f6 Declare NtCreateFile(), NtOpenFile() and NtReadFile(). 2002-06-02 21:24:34 +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
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