Commit Graph

463 Commits

Author SHA1 Message Date
Alexandre Julliard b4a4c05aed Removed a few more #ifdef __WINE__. 2003-01-04 00:19:17 +00:00
Alexandre Julliard 78ff6763ed Added wine_dbg_sprintf function that allocates a temporary buffer in
the per-thread strings area.
Added inline functions to format POINT, SIZE and RECT structures.
2003-01-03 03:12:58 +00:00
Marcus Meissner 8ff278d25e Implemented SafeArray{SetIID,GetIID,SetRecordInfo,GetRecordInfo}.
Added support for FADF_HAVEIID, FADF_RECORD, FADF_HAVEVARTYPE.
Implemented SafeArrayAllocDescriptorEx and SafeArrayGetVarType
correctly.
Fixed second argument of SafeArrayCopyData (it is just SAFEARRAY*).
Changed allocation to include 16 bytes before the SAFEARRAY (to store
IID/VARTYPE/IRecordInfo*).
VARTYPE -> size array was not indexed correctly.
Added lots of testcases for most functionality.
Added IRecordInfo interface definition.
2003-01-02 23:13:56 +00:00
Alberto Massari ca70e84f7f Moved implementation of strpbrkW from filedlg95.c to wine/unicode.h. 2003-01-02 19:25:44 +00:00
Francois Gouget 88a5cb569b Add support for WINETEST_INTERACTIVE. If set then tests can perform
additional explicitly interactive tests.
Modify the winmm test to use WINETEST_INTERACTIVE.
2003-01-02 17:52:05 +00:00
Ove Kaaven 2a8bd72ffd Merge the rest of include/wine/obj_base.h into include/objbase.h. 2002-12-23 01:41:51 +00:00
Ove Kaaven 9a580d9ad9 Wrote a new objidl.idl to replace a number of include/wine/obj_*.h
files.
2002-12-19 22:15:24 +00:00
Ove Kaaven 1cd02fa4d8 Moved a couple of types from include/wine/obj_*.h to
include/wtypes.idl.
2002-12-19 21:13:58 +00:00
Ove Kaaven a93a5e9ce0 Moved some definitions from include/wine/obj_moniker.h to
dlls/ole32/moniker.h.
2002-12-19 01:09:40 +00:00
Ove Kaaven 99c8526324 Moved COM API prototypes to objbase.h, from wine/obj_*.h. 2002-12-18 20:49:16 +00:00
Tony Lambregts 2ff48996a0 Direct the output of the tests to stdout so that Win98 can redirect
the output to a file.
2002-12-17 01:47:04 +00:00
Ove Kaaven 0df7b24b32 Wrote a Wine-compatible unknwn.idl, moving the IUnknown definition
from wine/obj_base.h to the generated unknwn.h.
2002-12-16 23:49:30 +00:00
Francois Gouget 725b8b7fcf When reporting a test failure, only report the file name, not the full
path.
Merge winetest_set_trace_location with winetest_set_ok_location.
2002-12-11 00:17:42 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Ove Kaaven 41dfa0590f Moved COM API prototypes in include/wine/obj_base.h to
include/objbase.h.
2002-12-06 19:49:56 +00:00
Ove Kaaven 1f5315c80f Make sure that no files except unknwn.h include wine/obj_base.h
directly.
2002-12-05 20:33:07 +00:00
Rolf Kalbermatter 90a78f74b0 Add prototypes for IExtractIconW interface. 2002-12-05 19:13:11 +00:00
Alexandre Julliard 274836861c Install ipexport.h and icmpapi.h with the other Windows includes. 2002-12-03 22:08:14 +00:00
Ove Kaaven 729dd8bf28 Added more types to wtypes.idl. 2002-12-03 21:42:17 +00:00
Alexandre Julliard d77294a8ec Authors: Greg Turner <gmturner007@ameritech.net>, Ove Kaaven <ovek@transgaming.com>
- preliminary implementation of endpoint-mapping via a new on-demand
  server-ish process
- more header fixups
- (re)implement RpcEpRegisterA, RpcEpUnregister, and
  RpcEpResolveBinding using the new rpcss functionality
- update the todo list in rpcrt4_main.c a bit
- many beautifications and touch-ups
- command-line configurable timeout
- micro-client imbedded in np_server.c
2002-12-02 21:17:04 +00:00
Mike McCormack 11f4b44451 Implemented registry change notifications. 2002-11-25 02:47:32 +00:00
Ryan Cumming 24f4eced42 Partially implement GetThreadTimes. 2002-11-25 01:33:38 +00:00
Alexandre Julliard b31af31cbf Removed the WINE_NO_STRICT support. 2002-11-23 01:09:57 +00:00
Alexandre Julliard 14e68ba7fe Added support for system-wide hooks. 2002-11-20 19:54:32 +00:00
Huw Davies a4c3ed02ee Implemented Escapes *_PATH and POSTSCRIPT_IGNORE. 2002-11-15 00:02:13 +00:00
Patrik Stridvall c99c022a78 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-13 04:13:42 +00:00
Ove Kaaven d8d2805c9a Moved IMalloc definition from obj_base.h to obj_misc.h. 2002-11-08 18:54:44 +00:00
Ove Kaaven a2156ead18 Add ICOM_DEFINE1 macro to define a COM interface without a base
class.
Use it to define IUnknown.
2002-11-06 19:56:59 +00:00
Ove Kaaven 582b744e43 Some RPC format characters from MS documentation. 2002-11-01 01:46:23 +00:00
Alexandre Julliard 7a1cb65cb9 Moved 16-bit definitions out of mmddk.h into mmsystem16.h. 2002-10-31 02:23:43 +00:00
Alexandre Julliard 0cf753385b Moved the test routines from wtmain.c into wine/test.h so that they
can be compiled separately with different flags for each dll.
2002-10-30 20:36:21 +00:00
Patrik Stridvall de41ddcab9 Added {ok,trace}_ macros to take explicit file and line number. 2002-10-29 23:07:58 +00:00
Alexandre Julliard 0286135de3 Rewrote hook support to store the hook chain in the server.
Split off 16-bit hook functions and re-implemented them on top of the
32-bit ones; system-wide 16-bit hooks are no longer supported at this
point.
2002-10-29 00:41:42 +00:00
Lionel Ulmer bdb44555a3 Raise an exception if any Wine or Winelib code does an assert. 2002-10-28 23:56:58 +00:00
Greg Turner 4a37d84a9d - Make explicit some missing include dependencies.
- Implement NdrGetBuffer, NdrFreeBuffer, NdrConformantStringBufferSize
  and NdrConformantStringMarshall.
- Define the RPC_FC_C_CSTRING constant.
- Perhaps I don't want those MIDL_*_FORMAT_STRING structs, after
  all. Removed.
- Add RPC todo list.
- MIDL_STUB_MESSAGE.uFlags aren't.
- Comment out the NdrClientCall2 mock-up since that stuff is in the
  process of being implemented and might cause problems.
2002-10-25 19:03:43 +00:00
Eric Pouech 56d80b4c65 Moved 16 bit digital structs to include/wine/mmsystem16.h. 2002-10-23 18:43:00 +00:00
Alexandre Julliard b1df392f02 Fixed the WINE_NO_STRICT #ifdefs to do the right thing if STRICT is
defined (spotted by Michael Stefaniuc).
2002-10-21 23:43:04 +00:00
Alexandre Julliard f3215eba4a Get/SetFastQueue16 should use HQUEUE16 handles. 2002-10-19 17:20:44 +00:00
Malte Starostik 78a86e9feb Fixed IWebBrowser::Navigate() parameter type.
Added IWebBrowserApp and related typedefs.
2002-10-19 17:15:39 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard 7aee90762a Merged wine_call_to_16_long and wine_call_to_16_short into a single
function.
2002-10-18 00:29:32 +00:00
Alexandre Julliard 9534d4f0fe Added wine_memcpy_unaligned function to avoid gcc memcpy
optimizations.
2002-10-18 00:27:38 +00:00
Alexandre Julliard 0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Alexandre Julliard 11e3523949 Rewrote caret implementation to store the information in the server. 2002-10-17 01:24:33 +00:00
Alexandre Julliard a9e8f59c95 Moved mouse capture handling into the server. 2002-10-12 01:24:37 +00:00
Alexandre Julliard 5030bda77c Reimplemented Get/SetActiveWindow, Get/SetFocus and
Get/SetForegroundWindow by storing the information in the
server. Implemented correct inter-process window activation.
2002-10-11 23:41:06 +00:00
Alexandre Julliard ab5063b217 Added server-side infrastructure for the thread input structure.
Reimplemented AttachThreadInput() and added GetGUIThreadInfo().
2002-10-11 18:50:15 +00:00
Alexandre Julliard 54f228733a Added process_id_t and thread_it_t types to the server interface
instead of using void*, and removed a number of type casts.
2002-10-03 19:54:57 +00:00
Alexandre Julliard 5cf56a3afe Removed LPxxx handle types that don't exist under Windows. 2002-10-03 19:46:27 +00:00
Patrik Stridvall e29345c3bb Added a GNU C implementation of some of the DECLSPEC_ macros and used
them wherever possible.
2002-10-01 18:07:37 +00:00
Alexandre Julliard 7dafa61700 Fixed a number of bugs in the handling of window parent and owner and
added a regression test (based on the work of Bill Medland).
2002-09-25 00:21:56 +00:00
Patrik Stridvall 1a4db3e72a Cleaned up the code so it would be easier to parse with the new C
parser.
2002-09-23 20:45:57 +00:00
Alexandre Julliard 341b7dceb4 Implemented the ntdll virtual memory functions, and made the kernel
functions use them.
2002-09-17 18:54:42 +00:00
Dmitry Timoshkov a9c057f73b Replace static initializers with a proper #define in .h files. 2002-09-16 19:29:36 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Alexandre Julliard dd0bdbe44e Removed the __uint* types from basetsd.h since they don't exist under
Windows. Fixed a few other issues with type definitions.
2002-09-12 17:29:12 +00:00
Michael Stefaniuc e149b37f3a Finish the conversion of HWND to a void*. 2002-09-06 20:40:42 +00:00
Patrik Stridvall 1ee88a2bfb Removed trailing white space. 2002-08-28 23:43:43 +00:00
Patrik Stridvall d8f50798b6 Implement wrapper calls for the 16 bit GlobalAtom* functions. 2002-08-28 00:38:42 +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
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
Juergen Schmied 1166dc733a Stubs for DragDropHelper. 2002-08-13 03:21:53 +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
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
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
Gregg Mattinson 57807fa11f Added checks for __sparc__, __sun__ and @function. 2002-07-20 20:17:13 +00:00
Alexandre Julliard 7d4ee77cab Merged the IDL compiler written by Ove Kaaven. 2002-07-16 03:20: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
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 75de8fe16c Added printf format checking to the ok() and trace() macros, and fixed
the resulting warnings.
2002-06-22 00:08:10 +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
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
Alexandre Julliard 376e65092a Better separation of the palette functions.
Removed the palette driver.
2002-06-02 21:40:24 +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 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
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
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 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
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
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
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
John K. Hohm 0ef65382b3 Fixed typos; added standard CATID_'s. 2002-05-11 23:01:40 +00:00
Steven Edwards 0a8e15abfb Detect snprintf && _snprintf, use _snprintf on stupid platforms
(windows).
2002-05-10 01:33:40 +00:00
John K. Hohm b06116e24f Added definitions for the Component Categories Manager. 2002-05-09 19:49:14 +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
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
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 bff7e69981 Implemented server framework for asynchronous IO on sockets. 2002-04-25 21:31:11 +00:00