Commit Graph

2675 Commits

Author SHA1 Message Date
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
Ove Kaaven 6e33f63e4a Extended __wine_enter_vm86 to handle pending interrupts. 2001-06-21 00:39:34 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Alexandre Julliard 4b0343dc5f Moved queue paint count to the server. Removed a few no longer used
routines.
2001-06-20 22:55:31 +00:00
Patrik Stridvall a84934403d Fixed some issues found by winapi_check. 2001-06-20 22:53:48 +00:00
Alexandre Julliard 64264be49b Clip parent client area when using the drawable from a higher level
parent.
2001-06-20 00:22:40 +00:00
Alexandre Julliard 8ffcf755fe Fixed region leak. 2001-06-20 00:18:48 +00:00
Alexandre Julliard 838d65aebe Moved hardware message queue handling to the server. 2001-06-19 19:16:41 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Eric Pouech 05b85c3290 Fails mapper opening when no midi out devices are present. 2001-06-19 18:15:53 +00:00
Eric Pouech 3c39af2e75 Fixed bugs in output functions (ascend, createChunk).
Cleaned up trace messages.
Fixed some mmioOpen file name parsing.
2001-06-19 18:15:30 +00:00
Alexandre Julliard 0cbfb24f83 Fixed one more bug in clip_children. 2001-06-19 03:47:11 +00:00
Patrik Stridvall 887c035be1 - Added, cleaned up and/or documentated _{begin,end}thread{,ex}.
- _lfind and _ltow are implemented (not stubs).
2001-06-19 03:46:27 +00:00
Patrik Stridvall 6ac110836b Removed implementation of _ultow since it is forwarded to NTDLL in the
.spec file.
2001-06-19 03:44:39 +00:00
Patrik Stridvall cd6b8cadce Fixed GetCommConfig number of arguments. 2001-06-19 03:44:16 +00:00
Patrik Stridvall c01c1933bf Fixed some issues found by winapi_check. 2001-06-19 03:36:23 +00:00
Patrik Stridvall 6076729649 Documentation ordinal fixes. 2001-06-19 03:34:07 +00:00
Dmitry Timoshkov de70d2b2c7 Replace PROFILE_ functions by RegQueryValueExA in x11drv. 2001-06-19 03:32:44 +00:00
Alexandre Julliard 8f750d5c3a clip_children: don't crash if child is not in list (can happen on
WM_NCCREATE).
2001-06-15 19:44:35 +00:00
Ove Kaaven e4a98ec195 Block SIGINT and SIGALRM in signal handlers. 2001-06-15 19:43:15 +00:00
Dmitry Timoshkov affc9a8817 Move IsCharAlphaA and IsCharAlphaNumericA to user32.
Better implement some of user32 *Char* functions regarding locale.
Remove kernel32 dependency on user32.
2001-06-14 19:27:01 +00:00
Ulrich Czekalla 49dd3fb448 Stub for InternetGetCookieA. 2001-06-14 19:24:50 +00:00
Patrik Stridvall dae8de69e2 Documentation ordinal fixes (using winapi_fixup). 2001-06-13 20:13:18 +00:00
Alexandre Julliard 7b25ed534b Use the topmost parent that isn't clipping children as drawable,
to make sure parent siblings are not clipped.
2001-06-13 20:07:48 +00:00
Ian Pilcher b0f69948c6 Make ChooseFontW use ChooseFontA. 2001-06-13 20:06:42 +00:00
Dmitry Timoshkov 303ffd2f60 Replace PROFILE_GetWineIniString by RegQueryValueExA. 2001-06-13 19:36:27 +00:00
Marcus Meissner 9c0ae56d39 Added definitions for IKsPropertySet, small stub implementation for
IDirectSound3DBuffer. Fixed one pointer reference.
2001-06-13 19:36:10 +00:00
Marcus Meissner 737e624d1b _tzset just forwards to libc tzset(). 2001-06-13 19:35:48 +00:00
Dmitry Timoshkov 5e42134225 Protect against a driver misconfiguration. 2001-06-13 19:35:28 +00:00
Alexandre Julliard 883cff405b Fixed handling of zero-sized client window.
Create the X windows before sending WM_NCCREATE.
2001-06-12 04:02:10 +00:00
Patrik Stridvall 172cd1b967 Fixed some issues found by winapi_check. 2001-06-11 20:16:11 +00:00
Patrik Stridvall d9b9c4c496 Documentation ordinal fixes (using winapi_fixup). 2001-06-11 20:14:43 +00:00
Marcus Meissner 9db72e3b58 Alias and Device Type are case insensitive. 2001-06-11 20:12:39 +00:00
Guy L. Albertelli 5e7b201400 - correct rebar window borders and handling of RBS_BORDERS, now
matches native.
- major redesign of band layout, now comes a lot closer to native for
  the test programs.
- support RBS_VARHEIGHT for both on and off.
- better debug info, and performance improvement
2001-06-11 20:12:11 +00:00
Andreas Mohr 4fb9c09184 Limit output for certain text functions. 2001-06-08 20:19:28 +00:00
Alexandre Julliard 7c3dec9275 Added script to update dlls dependencies. 2001-06-08 19:09:44 +00:00
Marcus Meissner b63ab44599 Implemented glu32.dll as libGLU.so forwarder. 2001-06-08 19:02:57 +00:00
Alexandre Julliard 0b16474c2a Removed WIN_NATIVE flag. 2001-06-08 19:00:56 +00:00
Lionel Ulmer 242d2d6423 Upgrade OpenGL thunks with latest informations from OpenGL spec file. 2001-06-08 18:56:51 +00:00
Hidenori Takeshima c814a6ce76 Implemented some part of AVIFIL32. 2001-06-07 22:28:19 +00:00
Marcus Meissner a72491e420 Stub for GetQueuedCompletionStatus. 2001-06-07 22:24:26 +00:00
Gerard Patel b425367fa8 Fixes to French translation of common dialog messages. 2001-06-07 22:23:56 +00:00
Gerard Patel ad363030a1 Use a flag to test if create structure is unicode. 2001-06-06 21:26:50 +00:00
Andreas Mohr bc35c50661 Remove unneeded WINAPI. 2001-06-06 21:06:12 +00:00
Ian Pilcher 40432fef7e Use autoconf checks to check for various FreeType headers. 2001-06-06 21:05:23 +00:00
Marcus Meissner decd475621 Implemented page skipping on PSN_SETACTIVE -1 return. 2001-06-06 21:03:21 +00:00
Ian Pilcher a3b562f74e Updated built-in metrics for core PostScript fonts. 2001-06-06 20:22:05 +00:00
Ian Pilcher fee7fa62cc Removed incorrect string length calculation. 2001-06-06 20:20:37 +00:00
Bobby Bingham db4aae2222 Stub implementation of AnimateWindow(). 2001-06-06 20:20:09 +00:00
Marcus Meissner 485c3ef08a Some ASPI fixes, SC_GET_DISK_INFO stubbed, but returning sucess, ASPI
buffer allocation/free implemented.
2001-06-06 20:19:07 +00:00
Alexandre Julliard dc4fe7735b Create an X window for every window, including children.
Fixed non-client rectangle calculations in managed mode.
Added support for icon window in managed mode.
2001-06-04 21:55:17 +00:00
Malte Starostik 251f30ac3c Implemented some very basic functionality. 2001-05-31 21:38:38 +00:00
Dmitry Timoshkov db79045531 List 16-bit resources separately as RC_SRCS16. 2001-05-31 21:37:29 +00:00
Ian Pilcher afdeba82ae Fixed font metric rounding error. 2001-05-31 21:34:17 +00:00
Francois Gouget b412b3ccbe TOOLBAR_InsertButtonA: If iString==-1 then don't use it as a pointer. 2001-05-31 21:33:55 +00:00
Francois Gouget b6dc0940c2 fclose should return EOF (-1) if an error condition exists. 2001-05-31 21:33:32 +00:00
Francois Gouget 30a3d18a32 Call FreeEnvironmentStrings when msvcrt is unloaded. 2001-05-31 21:33:19 +00:00
Francois Gouget a08b165955 Added msvcrt/eh.h.
Implemented unexpected, terminate and set_unexpected/terminate.
2001-05-31 21:32:53 +00:00
Francois Gouget 9fcefdd89d Fix the VarXxxFromCy conversions.
Remove (commented-out) references to inexistent VarXxxFrom32 functions.
Remove obsolete '32' suffixes.
2001-05-31 21:32:08 +00:00
Jason McMullan 238b1de12b More accurate stub of DDRAW:GetFourCCCodes. 2001-05-31 21:31:04 +00:00
Ian Pilcher 55d2e575af Build AFM data for core PostScript fonts into WINEPS. 2001-05-29 22:06:10 +00:00
Huw D M Davies 738e2461f0 Attempt to write fragments and check whether we can notify the client
after every message.
2001-05-29 20:52:23 +00:00
Marcus Meissner 784fd59e43 First try at implementing PathGetCharType(). 2001-05-29 20:51:53 +00:00
Ian Pilcher 35343626e5 Use macros for FreeType includes. 2001-05-29 20:49:39 +00:00
Gerard Patel abc0686fb5 Implemented DTM_GET/SETRANGE. 2001-05-25 20:38:20 +00:00
Dmitry Timoshkov fc99ddd926 Remove kernel32 dependency on user32 by implementing family of k32
functions as callouts to user32.
2001-05-24 19:32:00 +00:00
Andreas Mohr c2bc22b91c Spelling fixes. 2001-05-24 18:44:25 +00:00
Andreas Mohr e665eba1b7 Get rid of GetCurrentTime16(). 2001-05-24 18:43:55 +00:00
Andreas Mohr 9650c2baea - BuildCommDCB16() uses int instead of BOOL
- OpenComm16() should return IE_BADID for *all* invalid strings
2001-05-24 18:42:38 +00:00
Andreas Mohr 792e09f6e5 - add stubs SHLWAPI_294, UrlApplySchemeW
- correct SHLWAPI_151 parameters
- implemented StrTrimA
2001-05-24 18:41:56 +00:00
Andreas Mohr 43e12ae268 VcpQueueDelete() does not have a LPEXPANDVTBL parameter. 2001-05-24 18:41:21 +00:00
Ian Pilcher 267d630bd0 Added AvgCharWidth member to font metrics. 2001-05-24 18:39:53 +00:00
Ian Pilcher dd31257537 Updated PostScript glyph name data. 2001-05-24 18:39:31 +00:00
Eric Pouech f051db39ec Mimic more closely Windows' behavior (a MSACM driver is always opened
twice: first time for info gathering, subsequent openings for
conversions).
Added format suggestion for PCM.
Cleaned up internal structures.
2001-05-22 19:21:16 +00:00
Eric Pouech beea615126 Made midi mapper more robust.
Added channel to device/channel mapping.
Removed midiIn mapping (it doesn't exist on Windows).
2001-05-22 19:20:53 +00:00
Eric Pouech d80b4337cc Now loading the default setting for low level drivers from registry. 2001-05-22 19:19:50 +00:00
Mike Bond a286cd3074 Fixed spawnlp and added exec variants. 2001-05-22 19:18:51 +00:00
Dmitry Timoshkov 99abdec378 Small clean up. 2001-05-22 19:18:28 +00:00
Eric Pouech 2f6744b37c Correctly generate the environment global variables. 2001-05-22 19:17:26 +00:00
Eric Pouech e459e60b6a Some French translations. 2001-05-21 18:32:47 +00:00
Eric Pouech 8606971607 Fixed open requests in case of error (if the physical device failed to
open, the ACM stream was left opened).
Added mapping search for waveIn devices.
2001-05-21 18:32:17 +00:00
Alexandre Julliard 51ab43bd13 Moved the major part of message queue and window timer handling into
the server.
Implemented MsgWaitForMultipleObjectsEx.
2001-05-18 22:51:56 +00:00
Francois Gouget cd8d181a0b Spelling typos. 2001-05-18 21:01:38 +00:00
Marcus Meissner b30d59dcdf Fixed compile if we do not have the xf86vidmode extension. 2001-05-18 20:59:22 +00:00
Marcus Meissner 657d9f9ca8 The shell special folder path creation did not mkdir the last
component of the path if it did not end with \.
2001-05-18 20:58:57 +00:00
Mike Bond 2f3b2ec5e5 Implementation of spawnl and spawnlp. 2001-05-18 20:58:08 +00:00
Marcus Meissner 6d3e81b9e0 Use older cupsGetPrinters() API so we support CUPS 1.0.x too (as found
in Debian Potato).
Only set the default printer if there is no entry yet or it is not
WINEPS driven.
2001-05-18 20:57:36 +00:00
James Juran 75c525c16f Make sure we set dwOSVersionInfoSize before calling GetVersionInfo(). 2001-05-18 20:56:37 +00:00
Marcus Meissner 4e5903aa8f Adopted to new threaded displays. 2001-05-16 21:01:06 +00:00
Ian Pilcher 563598d45d Read metrics from TrueType fonts. 2001-05-16 20:56:05 +00:00
Ian Pilcher 5328782d88 Disable /etc/printcap parsing if no PPD file specified. 2001-05-16 20:05:40 +00:00
Ian Pilcher c6eeda464e Guesstimate Windows font metrics for Type 1 fonts. 2001-05-16 20:05:24 +00:00
Alexandre Julliard 4323004bf1 Create an X connection for each thread, and process X events in the
thread that created the corresponding X window.
Spawn a separate thread to run the desktop message loop in desktop
mode.
2001-05-16 19:52:29 +00:00
Marcus Meissner 3f1ed52d8b Implemented 64bit file size handling.
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Alexandre Julliard e60ccd11d3 Create a new window for the top popup menu on every new menu tracking,
so that the window belongs to the right thread.
2001-05-11 20:05:42 +00:00
Francois Gouget ee285b7ac8 Remove unnecessary single quoting of debugstr_xxx strings. 2001-05-11 20:03:40 +00:00
Ian Pilcher 9c1ac515bf Eliminate __compar_fn_t. 2001-05-11 19:54:24 +00:00
Alexandre Julliard c559735bf8 Renamed display to gdi_display where it is used for GDI operations, to
allow supporting multiple X connections.
2001-05-11 00:17:47 +00:00
Alexandre Julliard b19c57ca71 Fixed reparenting to desktop (found by Gerard Patel). 2001-05-10 21:06:56 +00:00
Alexandre Julliard e3fe9f24ce Moved ScrollWindowEx implementation to the graphics driver. 2001-05-10 03:23:59 +00:00
Bang Jun-Young 3f7e282762 On NetBSD if_type is defined as a macro in /usr/include/net/if.h.
Undefine it to avoid a conflict.
2001-05-09 19:45:30 +00:00
Bang Jun-Young 284a78f5cc Do not use internal exception codes defined by Wine with NetBSD,
rather use native ones from /usr/include/i386/trap.h. Note that T_MCHK
is not supported by NetBSD.
2001-05-09 19:45:07 +00:00
Duane Clark 8a3f6285c7 Add tests for the flag FORMAT_MESSAGE_IGNORE_INSERTS, and act
accordingly.
2001-05-09 19:43:51 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Alexandre Julliard 3abeae8f4a Moved window move/resize syscommand handling to the graphics driver. 2001-05-09 17:21:04 +00:00
Ian Pilcher 657c4afaec Unicode encodings for PostScript fonts. 2001-05-09 17:11:59 +00:00
Marcus Meissner 0c63012b6d Implemented /etc/printcap based printing support.
Changed 'CUPS:printername' to 'LPR:printername'.
Some fixes in AddPrinterW().
2001-05-09 17:10:41 +00:00
Francois Gouget e17d1a3649 Print the tid in the first column when +tid is specified. 2001-05-08 00:13:38 +00:00
Marcus Meissner f30b035102 PS passthrough was sending 2 bytes too many.
Added GETSETPRINTORIENT stub.
Implemented EPSPRINTING mode changer.
2001-05-08 00:10:52 +00:00
Ian Pilcher 6e73ee029a Make PSDRV_Escape(GETPHYSPAGESIZE) return physical size. 2001-05-07 20:15:40 +00:00
Ian Pilcher 506f790c41 Fixed rounding error in page size calculation. 2001-05-07 20:15:23 +00:00
Duane Clark abecb13435 Swap portrait/landscape icon when button clicked. 2001-05-07 20:14:57 +00:00
Marcus Meissner b7175dfb05 Sanity check for Makedll.rules.in -> Makedll.rules on whether to rerun
configure.
2001-05-07 18:22:43 +00:00
Chris Morgan 130289a212 Fix duplicate directories being concatenated to buffer in
VcpExplain16().  Added a few useful TRACE lines.  Enabled a ifdef'ed
out call to CopyFile() inside of VCP_CopyFiles() so files are copied
to a users directories during an install.
2001-05-07 18:17:19 +00:00
Bang Jun-Young d52e89ac36 Call OSS_MidiInit() only if HAVE_OSS_MIDI is defined. 2001-05-07 18:16:57 +00:00
Bang Jun-Young 31031abaa1 Include missing errno.h. 2001-05-07 18:16:38 +00:00
Marcus Meissner 645451c632 Drop flags during font enumeration for font chooser if we get no
matches.
2001-05-07 18:16:17 +00:00
Marcus Meissner 86ee3dd6c1 Changed some ptr into str. 2001-05-07 18:16:01 +00:00
Francois Gouget 9a8a106f2b Fixed incorrect cast in WSOCK32_send and WSOCK32_recvfrom. 2001-05-07 18:14:35 +00:00
Marcus Meissner 8367bafb1a Report that we have 2^16 colors, so PowerPoint97 prints colored
slides.
2001-05-07 18:13:42 +00:00
Marcus Meissner 3493de8c64 For underlining and striking out text we need to send a 'newpath' or
have the whole page filled with black.
2001-05-07 18:13:28 +00:00
Marcus Meissner b1118096bb Paper dialog translated to German. 2001-05-07 18:13:13 +00:00
Alexandre Julliard c6a835a63e Remove Get/SetBeepActive from USER driver and manage it locally inside
SystemParametersInfo.
2001-05-05 00:49:15 +00:00
Marcus Meissner acb08a3972 Fixed WM_COMMAND notification codes for 16 bit PrintDlg. 2001-05-05 00:45:45 +00:00
Marcus Meissner 6700eb31ba Implemented large parts of PageSetupDlgA. 2001-05-05 00:44:03 +00:00
Marcus Meissner 48a3f53afc Debug output for flags, select first available height and weight when
selecting a font.
2001-05-05 00:42:54 +00:00
Ian Pilcher 91857a6c1a Misc. error checking in PostScript driver. 2001-05-03 18:34:27 +00:00
Susan Farley ce7f12c425 Implement autorepeat scrolling when button is held down.
Improvements to size and appearance of buttons.
2001-05-03 18:33:57 +00:00
Marcus Meissner f24f23c2d3 Fixed PrintDlg so the devnames struct contains the correct driver
printer and port names.
2001-05-02 01:10:43 +00:00
Francois Gouget 32ca55ee9d ntdll._iswctype should be ntdll.iswctype. 2001-05-02 01:09:47 +00:00
Ian Pilcher 2ce7bc84ed Check for errors in PSDRV_Init. 2001-04-30 18:17:13 +00:00
Chris Morgan 87e4dbfda8 Implement COMCTL32_StrToIntW() using NTDLL's _wtoi. 2001-04-30 18:16:28 +00:00
Patrik Stridvall 15a3b74356 Documentation name fixes. 2001-04-27 18:03:51 +00:00
Patrik Stridvall e683d6ec1f Added documentation. 2001-04-27 18:03:09 +00:00
Marcus Meissner ab8b7dba77 Added CUPS printing support. 2001-04-27 18:02:46 +00:00
Francois Gouget 485cefd02d DDRAW_{XF86DGA2,XVidMode}_Init was moved to dlls/x11drv. 2001-04-27 18:00:33 +00:00
Ove Kaaven 6753dea682 Reimplemented DXGrab with improvements; it no longer depends on
XVidMode, and it releases the grab if the app exits full-screen
DirectDraw.  Also made the UseDGA option available for AppDefaults
configuration.
2001-04-27 18:00:06 +00:00
Patrik Stridvall b3086a7593 Fixed some issues found by winapi_check. 2001-04-25 19:54:21 +00:00
Gael de Chalendar 6db325014e Corrected a typo in spec file and added some stubs. 2001-04-25 19:51:56 +00:00
James Hatheway cf459ac76d PlaySoundA should return TRUE when it stops playing sound. 2001-04-25 19:51:32 +00:00
Alexandre Julliard 9ae0fe54b0 Moved most of the implementation of SetWindowPos and SetDrawable into
the user driver, and the corresponding code into the dlls/x11drv
directory. Moved a few functions out of the window driver into the
user driver. Plus a few related cleanups.
2001-04-24 23:28:52 +00:00
Alexandre Julliard 56a45b2049 Small cleanups. 2001-04-24 23:17:53 +00:00
Francois Gouget 45e7a846bf We must not free the pointer returned by localtime (especially not
with MSVCRT_free!).
We no longer need to include stdlib.h.
2001-04-23 18:22:33 +00:00
Francois Gouget b29120d2c4 Add msvcrt/malloc.h (for the MFC).
Add msvcrt/search.h.
Move duplicated definitions to the new headers.
Use malloc.h instead of stdlib.h when sensible.
2001-04-23 18:20:55 +00:00
Eric Pouech faa359492b Added cache for drivers information.
Fixed a few bugs (memory handling, version info...)
Enhanced validity checks.
2001-04-23 18:14:41 +00:00
Ian Pilcher 60268d1da9 Use typecasts to suppress compiler warnings. 2001-04-23 18:12:45 +00:00
Andreas Mohr f32f918123 Spelling fixes. 2001-04-20 18:36:05 +00:00
Ian Pilcher efb6460e79 Store each glyph name only once in PostScript driver. 2001-04-20 18:30:38 +00:00
Andreas Mohr 641405a550 Fixed off by one error in ImageList_DrawIndirect().
Fixed some missing NULL HIMAGELIST check (fixes Microsoft Works
startup).
2001-04-20 18:29:17 +00:00
James Hatheway 8290c3e1e7 Make sure to return our variable with the correct return value. 2001-04-20 18:28:38 +00:00
Guy L. Albertelli 6044b98556 - Notify parent of child size changes when changes are from WM_SIZE
messages.
- If more than one band exists, then first band may have a gripper.
- Fix the band layout algorithm to handle some issues from WinARA.
2001-04-20 18:27:42 +00:00
Guy L. Albertelli bad759075c - Implement CB_{GET|SET}ITEMDATA for CombBoxEx.
- Implement WM_NCCREATE to remove unwanted window styles (as native does).
- Clean up some traces.
2001-04-20 18:27:19 +00:00
Dominik Strasser cbdeb9646b Don't use RTSCTS if Str handshake is enabled.
Use appropriate Unix timeout values in SetCommTimeouts.
2001-04-20 18:15:20 +00:00
Alexandre Julliard 90081092d9 Fixed setupapi dependencies. 2001-04-19 01:01:52 +00:00
Alexandre Julliard d436125345 No need to preallocate DCEs since they are allocated on demand
anyway.
2001-04-18 17:42:36 +00:00
Alexandre Julliard b735928ba1 Removed a few obsolete files. 2001-04-18 17:41:07 +00:00
Ove Kaaven c14bed35f6 Fix DGA so it works properly again. 2001-04-18 17:40:43 +00:00
James Hatheway 2a2b1840d9 Add \n to FIXME call in acmGetVersion to prevent overflowing buffer in
wine_dbg_vprintf.
2001-04-18 17:40:27 +00:00
James Hatheway f3c93b805b Eliminate unitialized garbage being returned from LISTVIEW_GetItemA. 2001-04-18 17:40:04 +00:00
Ove Kaaven 71c6984901 Implemented DirectDraw's Hardware Abstraction Layer (HAL) interface.
Disabled DirectDraw's old XVidMode and DGA2 drivers, it now depends on the
display driver (x11drv) HAL implementations of these features.
2001-04-17 17:48:19 +00:00
Andreas Mohr 9bebbc5d8e - implement some more virtcopy (VCP) stuff
- add some setupx resources
- implement VHSTR functionality
- large parts of VCP callback handling
- merge setupapi and setupx stuff, especially resource handling
  gets rid of setupx debug channel; setupapi is the only one that remains
2001-04-17 17:39:35 +00:00
Ove Kaaven 793bf04e24 Removed the obsolete DIBTexture surface class. 2001-04-17 17:36:44 +00:00
Ove Kaaven fe01f0e7d0 Fill in some more HAL fields. Flip some of them when appropriate.
Allow SetSurfaceDesc to change client memory surface address.
Propagate DIB color table updates to backbuffers too (thanks to
Stephen Clouse).
2001-04-17 17:36:28 +00:00
Ove Kaaven 04b7b7a86d Fill in some DirectDrawPalette HAL fields. 2001-04-17 17:35:57 +00:00
Ove Kaaven 3b7d0928f0 Removed User_DirectDraw_GetCaps. Using Main_DirectDraw_GetCaps instead,
and the User constructor filling in the main capability bits.
2001-04-17 17:35:36 +00:00
Ove Kaaven c33e34cdcf Fill in some of the ddraw HAL fields.
Call the set_exclusive_mode callback when necessary.
Added a Main_DirectDraw_GetCaps method.
Removed references to obsolete DIBTexture surface class.
2001-04-17 17:34:48 +00:00
Ove Kaaven 2043c42cef Implemented gamma control on the DirectDraw primary window.
Ensured that the primary window is created before the constructor returns.
Flag the primary window as transparent so mouse clicks pass through it.
Put the primary window handle into a reserved field for x11drv HAL use.
2001-04-17 17:34:11 +00:00
Francois Gouget 7d2c1fbc38 Fix typo so that wintrust is built. 2001-04-17 17:33:01 +00:00
Joerg Mayer 793e1179ac Use of proper test gets rid of a signed/unsigned warning. 2001-04-17 17:30:44 +00:00
Eric Pouech 4f34b18929 Fix some crash on bad parameter conditions. 2001-04-16 20:27:16 +00:00
Ove Kaaven 54dfe595ca Implemented _wtoi and _wtol. 2001-04-16 20:24:47 +00:00
Ove Kaaven 169e36b9a0 Implemented the XF86DGA2 driver for the ddraw HAL.
Entered some basic HAL device capabilities data.
Added a GetDriverInfo handler.
2001-04-16 19:54:07 +00:00
Rein Klazes 2a4c68bd0b Added new dll wintrust.dll with a stub for WinVerifyTrust(). 2001-04-16 19:36:12 +00:00
Ove Kaaven e37b1d31a8 Implemented the IDirectDrawGammaControl interface. 2001-04-16 19:35:18 +00:00
Ian Pilcher c9ada023a7 Make paper size and bin type handling more like Windows drivers. 2001-04-16 19:34:21 +00:00
Ove Kaaven 01b9436018 Added ddraw HAL and gamma ramp stuff to implementation structures.
Added a parameter and return value to flip_data and flip_update.
2001-04-16 19:06:13 +00:00
Ove Kaaven 365508512c Add version resource to ddraw.dll, versioned to DirectX 7.0. 2001-04-16 19:04:41 +00:00
Francois Gouget dd30c5c282 GetItemSpacing(true): Return the default item spacing if the view is
LVS_ICON, and the current 'item size' otherwise.
2001-04-16 19:04:12 +00:00
Ove Kaaven b18220a8b2 Don't restore the saved keyboard autorepeat config, since the config
save code itself was disabled a while ago...
2001-04-16 19:03:10 +00:00
Ove Kaaven e188fda25f Handle the %f case in wsprintf. 2001-04-16 19:00:42 +00:00
Ove Kaaven 4e73f7e9ac Changed the spec definition of *s*printf from *str to ptr, since that
parameter is a destination buffer that may only contain garbage on entry.
2001-04-16 19:00:24 +00:00
Ove Kaaven 0a49df16ed Add version resource to dplayx.dll, versioned to DirectX 7.0. 2001-04-16 18:59:59 +00:00
Dmitry Timoshkov 45109f9243 Replace "System" font by "Helv" in shell32 "About" dialog. 2001-04-16 18:58:30 +00:00
Dmitry Timoshkov cc3dcc4a22 Implementation of OLE32.IsAccelerator. 2001-04-16 18:58:09 +00:00
Dmitry Timoshkov 973355f617 Return STG_E_FILEALREADYEXISTS in ole32.StgOpenStorage if the file is
not a storage object.
2001-04-16 18:57:18 +00:00
Andreas Mohr f493c52209 Fixed 0 count handling in PSDRV_Text. 2001-04-16 18:55:48 +00:00
Gerald Pfeifer ab02c2bdc9 Fixed MSVCRT_clock return type. 2001-04-16 18:54:31 +00:00
Eric Pouech 12cf61fbe8 A few fixes. 2001-04-13 22:28:35 +00:00
Eric Pouech 3c03f75c02 Fixed opening of some drivers. 2001-04-13 22:28:19 +00:00
Eric Pouech 1b9e33df0c Fixed callback parameters (bogus hWave); added acm conversion for
waveIn.
2001-04-13 22:28:06 +00:00
Eric Pouech b24ed627eb Allow MCI_SET to change waveFormat for recording.
Fixed buffer handling on recording end.
Fixed size of recorded data in mmio file.
2001-04-13 22:27:11 +00:00
Eric Pouech 7a3ec5d705 Fixed some buffers issue in recording.
Zeroed unnecessary second parameter for WIM_DATA notification.
2001-04-13 22:26:51 +00:00
Andreas Mohr 6d09bf77da - *don't* MoveWindow() the status bar if CCS_NORESIZE is specified,
and use SetWindowPos instead for one of the MoveWindow()s
- call STATUSBAR_GetInfoPtr *once* like Windows does, not twice (used to be
  in every sub function, too)
- remember hwndParent from create struct to use in at least WM_CREATE and
  WM_SIZE instead of GetParent() like in Windows
- added DefWindowProc call to WM_SIZE like in Windows
- added InvalidateRect, UpdateWindow to WM_CREATE like in Windows
- much more verbose +statusbar output
- rename part_num to nPart for consistency
- added nclm.cbSize to SystemParametersInfoA call
- added FIXME to STATUSBAR_SetParts
2001-04-13 22:23:35 +00:00
Gerard Patel f6eded1124 Set the custom dialog box to the bottom of the Z-order. 2001-04-13 22:23:05 +00:00
Peter Hunnisett 3d7cd87698 - Provide lobby provider COM object header file and stub implementation
- Break out dpl and dp service provider intialization
- Add missing definition of E_PENDING
- Resolve a few fixmes
- Fix includes for dplay.h
2001-04-12 21:10:54 +00:00
Michael Stefaniuc 85d308631c - added stubs for three console functions
- updated wincon.h
2001-04-12 21:07:25 +00:00
Francois Gouget d81ce0fc6a Fix the signature of __GetMainArgs and __getmainargs (from msvcrt). 2001-04-10 23:25:40 +00:00
Francois Gouget e7f75c5dfb Include the msvcrt headers, remove duplicate definitions.
Fixed the signature of a few functions.
Don't use wcs* functions, use *W (from unicode.h) instead.
2001-04-10 23:25:25 +00:00
Francois Gouget b9ca58fc2f Allow the Makefile.in to define EXTRADEFS and add it to DEFS. 2001-04-10 23:22:22 +00:00
Alexandre Julliard 918da64ae2 RegSetValueExA/W: fixed REG_SZ string length handling for Win95. 2001-04-10 21:30:24 +00:00
Peter Hunnisett de962afa56 Added stub for WSASend. 2001-04-10 21:22:34 +00:00
Alexandre Julliard 21044c6319 Fixed handling of \\Registry prefix. 2001-04-10 21:18:17 +00:00
Gerard Patel 3b63e6a3c6 Stub for OleLoadPictureEx. 2001-04-10 21:17:04 +00:00
Michael Stefaniuc 3a0c6a9490 Fix for small typo. 2001-04-10 21:16:31 +00:00
Francois Gouget 203a8f8290 Adjust the 'MSVCRT_' prefix to match the msvcrt headers
Prefix internal methods with 'msvcrt_' instead of 'MSVCRT_', '__MSVCRT_', etc.
Remove '_cdecl', it's unnecessary
2001-04-10 21:16:07 +00:00
James Hatheway a9f8997f49 Fill in StandardName field in struct returned from GetTimeZoneInformation. 2001-04-09 18:45:49 +00:00
Marcus Meissner 7e4741d1fd Added some stubs for functions used by newer rpcrt4 dlls. 2001-04-09 18:34:49 +00:00
Marcus Meissner 40af1a87a5 Arg 3 of CoGetClassObject is COSERVERINFO*, added some more debug. 2001-04-09 18:33:49 +00:00
Marcus Meissner fd99bcb260 Translations for German language. 2001-04-09 18:33:26 +00:00
Marcus Meissner 826c1af100 Added GetConvertStg stub. 2001-04-09 18:33:03 +00:00
Marcus Meissner a1d0bc3914 Actually print the guids in DllGetClassObject(). 2001-04-09 18:32:38 +00:00
Rein Klazes 8b37dbb75c When calling CreateMutex() handle the case when the mutex is already
created in another process.
2001-04-09 18:29:17 +00:00
Gerard Patel f6d3d0172d After an item text changes, the rectangle width should be
recalculated.
2001-04-09 18:28:47 +00:00
Rein Klazes 4d7e26f9a2 Fixed scrolling of listview with a mouse wheel. 2001-04-04 18:25:46 +00:00
Alexandre Julliard 2ec34e48a3 Added TASK_GetPtr/TASK_GetCurrent functions to get the TDB for a task
handle.
2001-04-04 00:21:05 +00:00
Gerard Patel 9c2d2bad90 Erase the in-memory DC for treeview and fixes the rectangle calculation. 2001-04-04 00:09:23 +00:00
Gerard Patel 66226d80f3 Set background mode to transparent before calling owner-drawn user
handling.
2001-04-04 00:09:05 +00:00
Ian Pilcher 744820d014 Various registry-related PostScript driver enhancements. 2001-04-02 19:14:41 +00:00
Gerard Patel 282bdb3564 Don't try to create file twice in the NULL filename case for
StgCreateDocFile.
2001-03-31 00:51:54 +00:00
Alexandre Julliard 7aa7d9493e Added support for application-specific configuration for a few options
(Desktop, Managed, ScreenDepth and Synchronous).
2001-03-28 19:43:38 +00:00
Alexandre Julliard 04689b26f0 Always load the 32-bit dll containing a given 16-bit builtin.
Check the module name in addition to the file name when loading a
16-bit builtin dll.
2001-03-28 01:47:28 +00:00
Gavriel State 4d73ba6e21 - Always use a double-buffered visual if one is available.
- Ensure that all colormaps created use the double-buffered visual if
  it exists. This prevents problems where DRI GL implementations fail
  to work unless the colormap visual matches the window visual matches the
  glX visual.
- Get around similar visual issue with the default GL context created for
  apps that don't create their own contexts before trying to use GL functions.
2001-03-28 01:45:08 +00:00
Alexandre Julliard 26320d1f75 Cleanup properly on x11drv unloading.
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
James Hatheway d73c906328 - MCI_SAVE should overwrite its destination file.
- widClose() is sometimes failing... MCI (in WAVE_mciRecordCallback)
  shouldn't queue up buffers if it knows we are no longer recording.
2001-03-23 23:39:28 +00:00
Alexandre Julliard 9515336378 Small dll separation fixes. 2001-03-23 19:13:23 +00:00
Alexandre Julliard ab5e975907 Use TEB static buffer for Unicode conversion. 2001-03-23 19:12:01 +00:00
Francois Gouget a7580c53c7 ConvertVersionInfo32To16: the end of the child list may also be marked
by a 0-byte child.
2001-03-23 19:07:35 +00:00
Michael McCormack 1c32a46d5a Use poll() on the client-side during server waits to implement
overlapped I/O.
2001-03-22 20:09:34 +00:00
Jeff Garzik 9fd15a9f2f Added needed string.h includes. 2001-03-22 19:33:57 +00:00
Dmitry Timoshkov 2f7292cbeb Increase debug buffer size up to 1024 bytes. 2001-03-21 23:54:59 +00:00
Jeff Garzik 3ea0c073f8 Warning fixes. 2001-03-21 20:31:26 +00:00
Ove Kaaven e746f665ef Show an error if small enough fragment sizes couldn't be set.
Force a complete close/reopen of the sound device if pause is
requested in DirectSound mode (many drivers require this).
2001-03-21 03:37:33 +00:00
Ove Kaaven 03dab82c3f Remove obsolete and misleading FIXME. 2001-03-21 03:37:10 +00:00
Ove Kaaven df5ff61f7e Implemented Get/SetDeviceGammaRamp. 2001-03-21 03:36:53 +00:00
Ove Kaaven 27398d4966 Implemented Get/SetDeviceGammaRamp. 2001-03-20 01:55:18 +00:00
Eric Kohl ca6c9a6a20 Added stubs for GetWindowsModuleFileName[A/W]. 2001-03-20 01:53:51 +00:00
Ove Kaaven 313051f9d6 Added gamma ramp code to the XVidMode interface. 2001-03-20 01:24:08 +00:00
Dmitry Timoshkov 13535251bf Add version info for built-in oleaut32.dll. 2001-03-19 19:17:27 +00:00
Dmitry Timoshkov f7e7cd4aec Truncate version data if provided buffer is not large enough. 2001-03-19 19:15:36 +00:00
Ove Kaaven ed739334f4 Fixed sound disappearing after on-the-fly sample rate changes and
after certain underrun conditions.
Compilation fixes for when USE_DSOUND3D is defined.
2001-03-19 19:14:39 +00:00
Eric Kohl 76df432757 SHGetSpecialFolderPathA must be able to create a full path if it
doesn't exist.
2001-03-19 19:14:00 +00:00
Eric Kohl 03df00e925 Added stub for _setjmp3().
Implemented _sopen().
2001-03-19 19:13:40 +00:00
Gerard Patel 8b21b6b33a Added version info. 2001-03-16 16:50:24 +00:00
Huw D M Davies 39f54283fc Moved GetTextMetrics to unicode. 2001-03-16 16:43:14 +00:00
Dmitry Timoshkov 07b6e6e62e Fixed prototype of GetFileVersionInfoA/W. 2001-03-16 16:42:20 +00:00
Guy L. Albertelli a7a006a00d - Documented things known to be unimplemented.
- Implemented CBN_SELCHANGE, CBN_KILLFOCUS, and CBN_SELENDOK.
- Corrected CBEN_ENDEDIT notifies to always have edit control text.
- Locked "selected" state of icon to focus state of edit control (if
  it exists) just like native.
2001-03-16 16:41:56 +00:00
Guy L. Albertelli 0d2df474aa - Correct RBN_CHILDSIZE band rectangle to match native.
- Correct flags in DeferWindowPos to SWP_NOZORDER to match native.
- Make handling ComboBox and ComboBoxEx the same when moving child
  windows.
2001-03-16 16:41:32 +00:00
Dmitry Timoshkov 4868e715a7 Return from GetFileVersionInfo(Size) if specified file found, but
VS_VERSION_INFO resource not.
2001-03-14 17:26:16 +00:00
Hann-huei Chiou db47fd0937 Updated. 2001-03-13 23:34:28 +00:00
James Juran 7313b78619 Added stub for SetThreadExecutionState (new function in Win98/2000). 2001-03-13 23:33:26 +00:00
Ian Pilcher 23e207eebd Don't load AFM files from predefined directories; use [afmdirs]
section in Wine config file instead.
2001-03-13 23:30:03 +00:00
Francois Gouget 3d0589ae7d Fixed spelling/typos in comments. 2001-03-10 19:15:49 +00:00
James Juran a83173ce87 Implement SHGetFileInfoW by calling SHGetFileInfoA. 2001-03-10 19:14:30 +00:00
Gerard Patel a9c889055b Handle empty strings and invalid values in lpstrInitialDir for 32 bits
open file dialogs.
2001-03-10 19:13:59 +00:00
Alexandre Julliard c2c004deeb Added version16.rc in RC_SRCS list. 2001-03-08 01:17:03 +00:00
Gerard Patel 0a4b4b3285 LPARAM in find dialog wm_initdialog is the find/replace structure, not
custdata.
2001-03-08 01:13:34 +00:00
Nerijus Baliunas 1c8d0c7fda Updated Latvian date format. 2001-03-08 01:13:09 +00:00
Francois Gouget d6f5ed273d Update nSelectionMark and nFocusedItem when inserting/deleting/sorting
items.
SortItems: If sorting less than 2 items, do nothing.
2001-03-05 22:11:17 +00:00
Susan Farley 496f434c72 - Background of the child wnd should be erased with the same color as
the control.
- Default scroll amount should be the minimum client area.
2001-03-05 20:00:16 +00:00
Alexandre Julliard 566a52ad8c Changed isolated for loops to while loops (based on a patch by Andreas
Mohr).
2001-03-05 19:34:17 +00:00
Andreas Mohr b6474aebd4 The for loop in ITypeLib2_fnFindName was wrong (extra ';'). 2001-03-05 19:32:50 +00:00
Ian Pilcher 9005a21f6f Don't load the WINEPS driver until it's needed. 2001-03-05 19:30:18 +00:00
Alexandre Julliard 389b039fe4 We need to create the system heap at startup even though we don't use
it, since some Win95 native dlls depend on that.
2001-03-04 01:06:07 +00:00
Lionel Ulmer 15a4a77a74 - add tracing to OpenGL thunks
- update to latest gl.spec file
2001-03-04 01:05:20 +00:00
Francois Gouget f45d56912a In LISTVIEW_AddGroupSelection and LISTVIEW_SetGroupSelection, if no
selection mark has been set, just select the current item.
In LISTVIEW_SetGroupSelection we must also set the selection mark in
that case (and only in that case).
Removed a naughty ';' (spotted by Eric Pouech).
2001-03-04 01:04:35 +00:00
Andreas Mohr 8c2f4b18fa Some more message cleanups. 2001-03-03 00:22:50 +00:00
Alexandre Julliard ddf825660e Chris Jacobson
Small bug fix.
2001-03-03 00:19:29 +00:00
Gerard Patel 726c63b945 Initialize the return error code to 0 for common dialog file
functions.
2001-03-03 00:18:14 +00:00
Ian Pilcher 1cfdeeecdb Squash another AFM character metrics parsing bug. 2001-03-01 22:10:46 +00:00
Ian Pilcher db490e5e34 Fix bug in AFM character width parsing. 2001-02-28 21:39:14 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
Alexandre Julliard 9ee9efff1b Use the standard CreateThread routine to create 16-bit tasks instead
of duplicating the code.
2001-02-28 05:29:50 +00:00
Alexandre Julliard e1635e9a63 Removed dependency on comctl32. 2001-02-28 05:26:08 +00:00
Michael Stefaniuc 7fa17d24c0 Implemented WsControl command with id 0x101. 2001-02-28 05:17:44 +00:00
Przemyslaw Bruski 2e9cd986ff Added LOCALE_IDEFAULTMACCODEPAGE definition in most nls files. 2001-02-28 05:17:01 +00:00
Alexandre Julliard 67a749999a New set of macros for server calls; makes requests without variable
part somewhat faster.
2001-02-27 02:09:16 +00:00
Eric Pouech a862f68db5 Added a few missing stubs to KERNEL32 and USER32. 2001-02-26 22:33:29 +00:00
Gerard Patel c7265aaaad Map 32 bits resource for 16 bits print dialog. 2001-02-26 22:32:35 +00:00
David Grant f063d0432f Added (partial) support for FO_COPY and FO_DELETE. 2001-02-26 22:31:38 +00:00
Dmitry Timoshkov 8f73cd14ce Add version information (16 and 32 bit) to core built-in dlls:
krnl386.exe/kernel32.dll, user.exe/user32.dll, gdi.exe/gdi32.dll.
Provide a way for reading version information using standard API:
GetFileVersionInfoSize -> GetFileVersionInfo -> VerQueryValue.
2001-02-23 20:37:13 +00:00
Susan Farley 16ac06ed6e Horiz/Vert determination must be dynamic, as the style may not be set
upon creation; improved positioning and scrolling.
2001-02-23 01:33:01 +00:00
Valery Kartel e2682cafd8 Updated all fields with Ukrainian values. 2001-02-23 01:30:34 +00:00
Alexandre Julliard da2892c0fb Do not allocate any USER data on the system heap. 2001-02-23 01:13:42 +00:00
Eric Pouech 92b23186ae A first stab at implementing the RunDll features. 2001-02-23 01:12:26 +00:00
Andreas Mohr 92285494a9 BuildCommDCB16 had a rather broken baud rate handling. 2001-02-23 01:10:50 +00:00
Alexandre Julliard d90e964cee Added separate server pipe to wait on blocking server calls.
Send the complete request/reply through the request fifo instead of
just a dummy byte.
Convert error status to text in server reply tracing.
2001-02-21 04:21:50 +00:00
Chris Morgan e187b3ff46 Confirm file deletes. Make delete confirmation messages more
consistent. Improve trace messages on delete failure.
2001-02-21 04:01:20 +00:00
Chris Morgan 0cd448c4f4 Add shell support for deleting files using the Delete key. 2001-02-21 04:01:03 +00:00