Commit Graph

6399 Commits

Author SHA1 Message Date
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 8058ead8ea Don't write to buffer with zero length.
Removed some unused function parameters.
2000-12-21 20:19:21 +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
Eric Kohl 02919df4c4 Use handle to palette instead of index for EMR_SELECTPALETTE.
Implemented simple case for EMR_EXTSELECTCLIPRGN.
2000-12-21 20:16:56 +00:00
Alexandre Julliard 58c58c5445 Fixed debug routines to work before the process heap is created. 2000-12-20 18:43:42 +00:00
Alexandre Julliard 014a8bb1e3 Do not call thread attach/detach routines during process exit to avoid
potential deadlocks.
2000-12-20 18:41:34 +00:00
Gerard Patel cb0ce33877 Set the color mask with BI_BITFIELD dibs, don't use the
application-provided value.
2000-12-20 18:39:41 +00:00
Dmitry Timoshkov f8b96e272a Make new edit control allocate its buffers with granularity 32 byte.
Ensure that all copied strings are 0 terminated.
2000-12-20 18:39:14 +00:00
Guy L. Albertelli 65a4aa4e11 - print out WM_NOTIFY message code if we know it.
- print out memory past end of NMHDR structure for the size of
  the normal NMxxxxx structure associated with the message code.
- setup notify code table for common, REBAR, TOOLBAR, and COMBOEX (at
  least partially).
2000-12-20 18:38:15 +00:00
Alexandre Julliard de25e6f07c Set last error in GlobalUnlock. 2000-12-19 23:38:13 +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
Stefan Leichter d45b80386b Added description of printerports section of the win.ini file for wineps.drv. 2000-12-19 23:30:51 +00:00
James Hatheway 93a41e8d76 Fix IConnectionPointContainer interface macros. 2000-12-19 23:30:24 +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
Alexandre Julliard 335b9e3be3 Include stdlib.h instead of wchar.h. 2000-12-19 19:38:48 +00:00
Marcus Meissner a09ece9627 shlwapi forwarders for SetWindowLongW and CallWindowProcW. 2000-12-19 19:37:43 +00:00
Dmitry Timoshkov fdc78a3ed0 Protect against NULL buffer in the profile functions. 2000-12-19 19:37:03 +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
François Gouget ef14b8a9e6 Added CreateWindowStation. 2000-12-19 04:52:17 +00:00
François Gouget da4fd92316 Removed the 'extern "C" { ... }' statement. It is not supposed to be
there.
2000-12-19 04:51:43 +00:00
François Gouget 640ec8e635 Moved a misplaced 'extern "C" { ... }' statement. 2000-12-19 04:51:10 +00:00
François Gouget 5051020e9f Added better support for Unicode:
Added support for 16-bit wchar_t
Added support for rewriting 4-byte Unicode literals to 16bit Unicode
2000-12-19 04:50:49 +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
Alexandre Julliard 1ab243bac1 Merged the get_read_fd and get_write_fd requests. 2000-12-19 02:12:45 +00:00
Marcus Meissner d88dbb4a10 Implemented DIGDD_PEEK for SysMouseA::GetDeviceData. 2000-12-19 02:10:26 +00:00
François Gouget 89c476f9d6 _str{dec,inc}: Cast the parameters to the proper type first
Added definitions for _tfinddata*
2000-12-19 02:10:07 +00:00
François Gouget 42b3ee74be Moved some of the STDMETHOD/STDAPI to winnt.h.
Moved the EXTERN_C macro to winnt.h.
Added a '#ifndef __WINE__' around the remaining macros.
2000-12-19 02:09:52 +00:00
François Gouget 174664a251 Removed some of the SECURITY_xxx types. 2000-12-19 02:09:23 +00:00
François Gouget c3cd6b55ca Added SetUserObjectSecurity. 2000-12-19 02:09:05 +00:00
Guy L. Albertelli 69f4a90a46 Add notify structures NMMOUSE, NMOBJECTNOTIFY, NMKEY, and NMCHAR. 2000-12-19 02:08:35 +00:00
Hidenori Takeshima a257b96dd3 Implemented keyboard layout and context - far from complete. 2000-12-18 03:51:16 +00:00
Morten Welinder a2d11df25b (strcasecmp): Conform to ANSI specs for toupper.
(strncasecmp): Ditto.  Also do not use side-effects in macro args.
(wine_openpty): Plug descriptor leak.  Always set errno on failure.
(wine_anon_mmap): Fix comment location.
2000-12-18 03:50:15 +00:00
Morten Welinder 87093f5386 (parse_options): Allow GNU-like option arguments like
"--desktop=800x600".  (Not perfect -- we don't allow shorthands.)
2000-12-18 03:49:49 +00:00
Patrik Stridvall 35d288bca1 Solaris fixes. 2000-12-18 03:13:52 +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
Gerard Patel 6e8519b128 Allow for the dialog font size to be set directly in pixels. 2000-12-18 03:11:10 +00:00
Gerard Patel cc3e0c5d90 WM_GETMINMAXINFO track min size should be used in SetWindowPos also
for 32 bits apps.
2000-12-18 03:10:42 +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