Commit Graph

2662 Commits

Author SHA1 Message Date
Jörg Mayer e5b5af9d66 Fixed a few signed/unsigned and "unsigned < 0 always true" warnings. 2001-08-10 22:49:35 +00:00
Ian Pilcher 061cfa80a7 Removed ANSI encoding stuff. 2001-08-10 22:30:16 +00:00
Dusan Lacko 1a74b2abd6 Fix ExtractFromEXEDLL for nIndex != 0.
Prefer 8bit icons.
2001-08-10 22:29:48 +00:00
Mike McCormack 0dae258385 Implemented msvcrt._mbspbrk. 2001-08-10 22:24:54 +00:00
Eric Pouech 78a4134e51 - implemented correctly the HSZ as local atoms and added the needed
conversions to global atoms
- enhanced internal handle <=> pointer conversions, as well as
  validity of such objects (life time, destruction, mutual access...)
- fixed a few ANSI/Unicode issues, stores most of the data as Unicode
- started having both Ansi/Unicode DDE window procs for message A/W
  transformation
- fixed a few segmented pointer issues (mainly in DdeInitialize &
  DdeGetData)
- added most of the CBF_ flags handling
- implemented the conversation announcement (XTYP_CONNECT_CONFIRM) on
  server side
- enhanced DdeQueryConfig and implemented DdeReconnect
- implemented conversation termination (including XTYP_UNREGISTER)
- several others code clean up
- added transaction support on server side too
2001-08-09 22:07:22 +00:00
Mike McCormack 7b3495ac93 Implemented multibyte string reverse. 2001-08-09 21:37:19 +00:00
Ian Pilcher c4e40d8f9e Remove previously disabled code. 2001-08-09 21:36:56 +00:00
Patrik Stridvall a2afd5b8ad Documentation fixes. 2001-08-09 21:36:39 +00:00
Patrik Stridvall ad9cab82a4 Fixed issue found by winapi_check. 2001-08-09 21:35:59 +00:00
Alexandre Julliard e994d5036e Added Interlocked*Pointer functions.
Fixed InterlockedCompareExchange prototype.
2001-08-09 21:21:13 +00:00
Andreas Mohr da920ee9b9 Spelling fixes. 2001-08-09 21:16:55 +00:00
Alexandre Julliard e6533a6b71 Fixed DrawState16 callback support. 2001-08-08 23:26:32 +00:00
Alexandre Julliard fa7ae72060 Fixed loop termination check in PathIsExeW. 2001-08-08 23:24:15 +00:00
Ian Pilcher 625bef463f Rewrite and separate AFM parsing code (no more [afmfiles]). 2001-08-08 23:22:06 +00:00
Alexandre Julliard d253c58b1b Rewrote most of SendMessage/PeekMessage.
Implemented inter-process messaging.
Moved most message routines to dlls/user, and split off 16-bit
routines to a separate file.
2001-08-07 19:19:08 +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
Jukka Heinonen 822ab45314 XGrabPointer is now called from the correct thread context and it is
made sure that we have keyboard focus when using DirectX.
2001-08-06 18:47:25 +00:00
Alexandre Julliard bfb4a23aa9 Replaced MSG_InternalGetMessage calls by equivalent exported APIs. 2001-08-06 18:05:47 +00:00
Andreas Mohr c457fbdde6 Fixed tab control index handling. 2001-08-06 17:51:09 +00:00
Marcus Meissner 99f54153f5 SetCommConfig has 3 arguments, not 2. 2001-08-06 17:50:42 +00:00
Marcus Meissner f7c69ede9e First (partial) implementation of ITypeInfo::Invoke.
Fixed buffer len passing to snprintf().
2001-08-06 17:46:18 +00:00
Malte Starostik b91c3ca7d1 Implemented RegisterTypeLib. 2001-08-03 18:13:24 +00:00
Andreas Mohr 0ab0704822 Only add "." separator in case a default file name extension does
exist.
2001-08-03 18:11:49 +00:00
Guy L. Albertelli 9a1a35e489 - Add debugging dumps of bar and buttons, and trace entry for each
message.
- Organize WM_NOTIFY processing in preparation for Unicode
- Implement TBN_GETDISPINFO and I_IMAGECALLBACK for bitmaps.
- Implement drawing of separator for TBSTYLE_DROPDOWN similar to native.
- Change drawing of buttons to support TBSTYLE_LIST and make match
  native pixel layout (with and without bitmaps).
- Change TOOLBAR_MeasureString to measure with DrawText like native.
  This eliminates extra space due to prefix char ("&").
- Speed up TOOLBAR_CalcStrings by doing the HDC and FONT selection once.
- Change calc of buttons to match drawing for TBSTYLE_LIST and
  separators.
2001-08-03 18:10:30 +00:00
Jukka Heinonen cce6dd0033 Include device name in call to CreateIC. 2001-07-31 17:25:47 +00:00
Alexandre Julliard 8f4c007ff5 Fixed desktop window structure initialization. 2001-07-31 01:00:50 +00:00
Alexandre Julliard 502d83b1d2 Fixed a few problems with DCX_* flags handling. 2001-07-31 00:14:06 +00:00
Nog 111ec8d6c2 Don't enable the 'hot' state of a toolbar button when it's not
enabled.
2001-07-31 00:10:06 +00:00
Lionel Ulmer 7fc3a3bf20 - added support for the SGIS multitexture extension.
- misc. other fixes
2001-07-31 00:08:05 +00:00
Alexandre Julliard 9208301d16 Rewrote Escape to avoid calling down to Escape16.
Replaced Escape by ExtEscape in the DC function table.
2001-07-29 20:25:14 +00:00
Patrik Stridvall 6ad988eb2d Fixed some warnings. 2001-07-29 20:19:51 +00:00
Alexandre Julliard 99bb9f9775 Added GetDeviceCaps to the DC driver interface. Removed devCaps
pointer in the generic DC structure.
2001-07-28 00:18:02 +00:00
Alexandre Julliard 4c5b35d6e9 Removed unused DC_FUNCS pointers. 2001-07-28 00:09:07 +00:00
Andreas Mohr 0ce0bef9c1 Don't crash if DeviceCapabilities(DC_PAPERNAMES) fails. 2001-07-27 23:55:51 +00:00
Alexandre Julliard 9dd5b16382 Added missing ntdll imports. 2001-07-27 19:49:49 +00:00
Alexandre Julliard 3dd63eb2ad Build the DC function table by using GetProcAddress on the graphics
driver module. Moved driver support to dlls/gdi.
2001-07-27 19:37:31 +00:00
Alexandre Julliard e9dd63ef16 Removed import of x11drv from ddraw. 2001-07-26 21:48:17 +00:00
Patrik Stridvall 2344798c46 Fixed some warnings. 2001-07-26 21:44:44 +00:00
Patrik Stridvall b3b61dad68 Documentation fixes. 2001-07-26 21:44:23 +00:00
Patrik Stridvall 33c40709bf - Moved comm related protoypes to the correct .h file.
- Cleaned up the include section.
2001-07-26 21:43:56 +00:00
Ian Pilcher 42e052d405 Rewrite TrueType font metric parsing code. 2001-07-26 21:42:45 +00:00
Dmitry Timoshkov 9a57ef4de1 Fix a typo. 2001-07-26 21:41:22 +00:00
Alexandre Julliard 5edf4e1cef Removed a few unnecessary Callouts. 2001-07-26 20:12:54 +00:00
Alexandre Julliard 8afe6628f8 Avoid using GetFastQueue16 from USER. 2001-07-26 20:12:22 +00:00
Travis Michielsen 188b32b73f Fully implement DrawTextEx* functions. 2001-07-26 20:10:40 +00:00
Marcus Meissner 40734af751 Be a bit more graceful on NULL property sheet titles. 2001-07-26 20:07:53 +00:00
Guy L. Albertelli 2435237537 - On TB_SETIMAGELIST retrieve new values of the bitmap width and
height (fixes overlap of image and text in IE4).
- Handle return codes from TBN_DROPDOWN (allows a "dropdown" to be
  treated like a regular button).
- Implement TBN_BEGINDRAG and TBN_ENDDRAG in WM_LBUTTON{DOWN|UP} (not
  necessary but done by native).
- Implement NM_RELEASEDCAPTURE and NM_CLICK.
2001-07-26 20:07:23 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Ian Pilcher d8f2c8b67c Make built-in font data read-only. 2001-07-24 21:40:15 +00:00
Ian Pilcher 4bc1ebb5ed Modify init code to handle const data types. 2001-07-24 20:52:19 +00:00
Mike McCormack e4ca13ea82 Move 16-bit COMM code to USER dll. 2001-07-24 20:49:41 +00:00
Marcus Meissner c0ccd263a7 OLEAUT32.DllGetClassObject and support for the Ole StdFont added (just
giving back a 8 point System font for now).
2001-07-24 00:59:28 +00:00
Patrik Stridvall 4b1574577d - Made sure that the files that contains the declarations
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-23 23:50:18 +00:00
Ian Pilcher d80b7a0776 Use Windows metrics for font scaling. 2001-07-23 23:21:18 +00:00
Marcus Meissner ff584e4d9c Pass handle to GetFileType, not MSVCRT fd. 2001-07-23 18:02:18 +00:00
Mike McCormack fe0529dbea Rewrite BuildCommDCB16 to depend on BuildCommDCB, not vice-versa. 2001-07-23 17:56:33 +00:00
Ian Pilcher 7dd9ad72be Only index glyph names when necessary. 2001-07-23 17:48:51 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Ian Pilcher c85b9fddf6 Eliminate UNICODEVECTOR data type. 2001-07-22 23:43:51 +00:00
Alexandre Julliard 6ac3937630 Commented out references to x11drv internals from MESA code. 2001-07-22 23:42:09 +00:00
Alexandre Julliard 0dd55c44a2 Removed some direct accesses to GDI internal pen/brush/font
structures.
2001-07-22 23:34:21 +00:00
Alexandre Julliard 6bbc745dde Moved the 16-bit pointer to the DIB bits out of the driver-specific
structure and into the main bitmap structure. Removed
CreateDIBSection16 from the driver interface.
2001-07-22 23:13:08 +00:00
Alexandre Julliard ef06b4a694 Got rid of HEAP_strdupW. 2001-07-22 23:08:10 +00:00
Ian Pilcher a9eae850d4 Remove redundant data structure from font metrics. 2001-07-22 23:05:51 +00:00
Marcus Meissner 3f46d3d6a4 OleFont::IDispatch::Invoke stub can just return S_OK. 2001-07-22 23:03:55 +00:00
Alexandre Julliard 8cd1f719bc Use AdjustWindowRect to translate X to window rectangle instead of
duplicating what's done in nonclient.c.
2001-07-20 18:37:37 +00:00
Patrik Stridvall bc38d6bfde - Made sure that the files that contains the declarations
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-20 18:00:00 +00:00
Guy L. Albertelli ca5757f8c5 - Recalc the toolbar size on TB_SETBUTTONSIZE in certain conditions.
- Add trace to show the paint rectangle prior to refreshing.
2001-07-20 17:58:27 +00:00
Guy L. Albertelli 6eb7273e82 - Fix handling of text color.
- Correct implementation of WM_SETREDRAW to be closer to native.
- Do more implementation of RBS_AUTOSIZE in the WM_SIZE processor.
- Implement RBBS_VARIABLEHEIGHT. Used by IE4.
- Do more testing in WM_SIZE to handle strange cases like native.
2001-07-20 17:58:12 +00:00
Guy L. Albertelli d750780f8c Fix conversion of W structure to A structure during notify. 2001-07-20 17:57:24 +00:00
Mike McCormack e12d8ae06e Replace service thread with ReadFileEx/WriteFileEx. 2001-07-20 17:56:37 +00:00
Patrik Stridvall a5f510f35c Removed unused file. 2001-07-19 19:17:30 +00:00
Dmitry Timoshkov 822429ad55 Fix out of the source tree build (again). 2001-07-19 19:09:33 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00
Ian Pilcher 020146619c Read/calculate average character width for all fonts.
Work directly with 16-bit WCHARs; don't convert to CP1252.
2001-07-19 00:30:43 +00:00
Ian Pilcher 4194fe48e3 Make Helvetica Narrow a separate font family. 2001-07-19 00:30:15 +00:00
Patrik Stridvall 33929be46f - Made sure that the files that contains the declarations
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Mike McCormack 1e72a3e96b Use GetCommState16 to save state in OpenComm16.
Merge comm16 globals into one structure.
2001-07-18 20:03:11 +00:00
Alexandre Julliard 10c886f050 Updated dependencies. 2001-07-17 00:57:41 +00:00
Mike McCormack 0a17a7c055 Rewrite SetCommState16 to use SetCommState. 2001-07-17 00:57:01 +00:00
Andreas Mohr 26af822102 More descriptive error on buffer overflow. 2001-07-17 00:56:37 +00:00
Andreas Mohr a49b5be97d Fixed some more overflowing string traces. 2001-07-17 00:51:00 +00:00
Lionel Ulmer 4a1a8f2b60 Make sure user32 is always loaded before x11drv. 2001-07-17 00:41:24 +00:00
Francois Gouget 3408e9cfd0 Some 'calendar' typos... 2001-07-17 00:40:30 +00:00
Francois Gouget f8142d3fa5 Added missing CommandLineToArgvW prototype. 2001-07-17 00:39:58 +00:00
Gerard Patel 5aa9754c6a Refresh bitmap count to take in account imagelist changes after
TB_SETIMAGELIST.
2001-07-17 00:39:15 +00:00
Gerard Patel 2d82be84a5 Fixed unicode warning. 2001-07-17 00:38:50 +00:00
Patrik Stridvall 83dbdceba3 Fixed issue found by winapi_check. 2001-07-14 00:49:03 +00:00
Marcus Meissner 1ef0d39c66 Made some FIXME()s print the respective strings passed.
Changed StgSetTimes() to correct type.
2001-07-14 00:47:52 +00:00
Marcus Meissner d2838353ae Added Quality Box (readonly currently) for 16bit templated dialogs.
Added [Printer] button support in 16bit templated dialogs.
Try sending orientation icon to stc10 too.
2001-07-14 00:47:20 +00:00
Marcus Meissner 1884f9b680 Replaced most of the numbers with the symbolic constants of the dialog
items.
2001-07-14 00:47:01 +00:00
Mike McCormack 187ed4106d Rewrite GetCommState16 using GetCommState. 2001-07-14 00:45:58 +00:00
Patrik Stridvall e9782fa1fc Documentation fixes. 2001-07-12 22:33:51 +00:00
Mike McCormack e61ad3a9f3 Implement overlapped completion routines.
Don't use lpOverlapped->OffsetHigh to store bytes to transfer.
2001-07-12 22:29:41 +00:00
Lionel Ulmer 1fc39be64f Fix X crash when running in managed mode. 2001-07-12 22:27:56 +00:00
Patrik Stridvall 4d2b85bf99 Fixed some issues found by winapi_check. 2001-07-12 22:22:23 +00:00
Alexandre Julliard 704d035364 Fixed a few issues with tsx11 locking.
Always map the client window when moving out of iconic state.
2001-07-12 02:49:31 +00:00
Lionel Ulmer aeb92b1ca3 - removed unused OSMesa linking
- removed OSMesa code
2001-07-12 02:46:23 +00:00
Mike McCormack f41de9779c Implement COMM_MSRUpdate with GetCommModemStatus. 2001-07-12 02:45:25 +00:00
Peter Hunnisett 8cec3cff1e Added a bunch of entry points.
Added some stubs and header information.
Fixed some return codes.
2001-07-11 20:19:06 +00:00
Uwe Bonnes e0cef27056 Semistubs for _ismbcdigit,_ismbcspace,_mbslwr,_mbsnbcmp,_mbsspn. 2001-07-11 20:13:14 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Mike McCormack d342ed2bc0 Implement FlushComm16 with PurgeComm. 2001-07-11 17:26:57 +00:00
Mike McCormack 140cec5b6d Stub some rasapi functions. 2001-07-11 17:25:03 +00:00
Marcus Meissner 22255b3256 Have InternetGetConnectedState always return 'LAN connection'. 2001-07-11 17:24:39 +00:00
Mike McCormack de7c3003e2 Start implementing named pipes. 2001-07-10 19:16:49 +00:00
Peter Hunnisett d50a5b3f0a Add shlwapi.wvnsprintf[AW], header info and comments. 2001-07-10 19:12:40 +00:00
Peter Hunnisett 7736876afd Implemented a stub for WSARecvFrom. 2001-07-10 19:09:59 +00:00
Mike McCormack 4be97b6696 Rewrite EscapeCommFunction16 to use EscapeCommFunction. 2001-07-10 19:05:30 +00:00
Peter Hunnisett e3454c78ba CreateFile should be called with security attributes in _open. 2001-07-10 19:03:46 +00:00
Marcus Meissner 6e24312af5 Make (G|S)etClipList not abort, but return DDERR_NOCLIPLIST.
Do not scroll FIXME()s too much.
2001-07-10 19:03:15 +00:00
Patrik Stridvall 655b2044d9 Fixed issues found by winapi_check. 2001-07-08 22:32:51 +00:00
Patrik Stridvall 3e3194f68b - Added comment that code is broken.
- Silenced annoying long term winapi_check message.
2001-07-08 22:31:29 +00:00
Patrik Stridvall 09da966c8c Add proper check for existance of struct sockaddr member sa_len. 2001-07-08 22:30:50 +00:00
Peter Hunnisett 14e690f47f Fix some ordinal forwarding. 2001-07-08 20:32:42 +00:00
Guy L. Albertelli 2420fa983d - Move creation process to the WM_NCCREATE message like native and force
styles WS_VISIBLE and CCS_TOP.
- Implement messages WM_NCHITTEST, WM_STYLECHANGED, RB_MOVEBAND,
  RB_MINIMIZEBAND.
- Improve preformance by removing calls to GetWindowLong for GWL_STYLE
  (by saving state and handling WM_STYLECHANGED).
- Cleanup and remove dead and test code.
2001-07-08 20:31:11 +00:00
Mike McCormack db718970d3 Use HANDLEs instead of unix fds. 2001-07-08 20:28:55 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Hidenori Takeshima b7d4b4e73b Added stubs for quartz.dll. 2001-07-02 18:57:22 +00:00
Mike McCormack 838a3614f6 Declare stubs for ReadFileEx, WriteFileEx. 2001-07-02 18:56:01 +00:00
Dmitry Timoshkov 7aa8694908 Fix some inter dll dependencies. 2001-07-02 18:02:10 +00:00
Dmitry Timoshkov 07b4422a01 Add stdcall->cdecl thunks for inet_network and getnetbyname. 2001-07-02 18:01:41 +00:00
Dmitry Timoshkov 043f64021d Replace PROFILE_* functions by Reg*. 2001-07-02 18:00:33 +00:00
Guy L. Albertelli 6ae29d6ac0 RBBS_FIXEDSIZE should not affect _AdjustBands (found by Mike McCormack
in WinZip).
2001-07-02 17:59:11 +00:00
Mike McCormack aa62953b31 Fix button text placement for disabled buttons (see Winzip 8.0). 2001-07-02 17:58:31 +00:00
Patrik Stridvall a274dd9105 Fixed some issues found by winapi_check. 2001-07-02 01:22:10 +00:00
Dmitry Timoshkov 56a19923e8 Replace some 16-bit calls by their 32-bit equivalents. 2001-07-02 01:21:26 +00:00
Guy L. Albertelli b0327f2b40 Remember response from LVN_GETDISPINFO if user sets LVIF_DI_SETITEM. 2001-07-02 01:20:28 +00:00
Dmitry Timoshkov f177a1546b Finish win32s separation. 2001-07-02 01:19:57 +00:00
Dmitry Timoshkov 3b725f6b9a Fix 'make depend' for out of the source tree build. 2001-06-29 19:20:18 +00:00
Dmitry Timoshkov e070021789 Add missing config.h include. 2001-06-29 19:19:53 +00:00
Alexandre Julliard f25487a10f Removed unnecessary SetWindowPos call in SetWindowRgn. 2001-06-29 01:41:32 +00:00
Alexandre Julliard ed15fc7de1 Moved ForceWindowRaise to the USER driver and removed the WND driver. 2001-06-29 01:26:41 +00:00
Patrik Stridvall 17fd4e3816 Documentation name fixes. 2001-06-28 18:04:41 +00:00
Patrik Stridvall 83eb6b83a5 Fixed some issues found by winapi_check. 2001-06-28 18:02:05 +00:00
Dmitry Timoshkov 93e936f97b Finish ole32 separation. 2001-06-28 17:59:22 +00:00
Alexandre Julliard 649637f53f Added window properties to make some x11drv-specific information
available to higher level code.
2001-06-26 21:10:11 +00:00
Alexandre Julliard 9446387170 Make the visible region empty for non-visible windows. 2001-06-26 20:09:19 +00:00
Dmitry Timoshkov 36b4e1e2bf Replace some 16-bit calls by their 32-bit equivalents. 2001-06-26 19:34:36 +00:00
Alexandre Julliard 7f862cb2d2 Don't compile vm86-specific code on platforms that don't support it. 2001-06-25 21:08:47 +00:00
Jau-Horng Chen 8a820bc51a Added Traditional Chinese Support
Fixed sublang font size error when not using fixed-size font.
2001-06-25 21:01:00 +00:00
Alexandre Julliard f9037de2ae Implemented SendInput(). 2001-06-25 20:01:03 +00:00
Guy L. Albertelli ea478c62a1 - Add support for WM_NOTIFYFORMAT and support both ANSI and UNICODE
notify formats.
- Move the drawing of the band backgrounds and band separators to the
  WM_ERASEBKGND processing just the way the native controls do.
- Implement WM_SETREDRAW.
2001-06-24 00:22:55 +00:00
Guy L. Albertelli b2207c7f36 - Fix memory leaks.
- Add support for WM_NOTIFYFORMAT and support both ANSI and UNICODE
  notify formats.
- Fix some drawing issues with COMBOEX_DrawItem.
2001-06-24 00:22:20 +00:00
Guy L. Albertelli 0d0cc390c3 Fixed test so 0xffffffff is properly recognized. 2001-06-24 00:21:40 +00:00
Andreas Mohr 99f2f396b5 Spelling fixes. 2001-06-22 23:21:47 +00:00
Eric Pouech 6a03ac0e96 Merge from Corel tree. Contributors are:
- Corel (Sean Langley, Michael Abd-El-Malek, Rick Mutzke, Bill Xing)
- Macadamian on behalf of Corel (Louis-Philippe Gagnon, Jean-Claude Batista)
Also added a few bits:
- Complete window model for several instances and conversations.
- Support for asynchronous transactions.
- Fixed some code (WM_DDE_REQUEST, WM_DDE_ADVISE, WM_DDE_REQUEST) handling.
- Support for wild connections.
2001-06-22 23:02:48 +00:00
Alexandre Julliard f4b14106f7 Don't rely on X to expose windows covered by a sibling, do it
manually.
2001-06-22 03:42:27 +00:00
Ove Kaaven 624f14e776 Make GetCursorPos call XQueryPointer. 2001-06-21 00:44:09 +00:00