Commit Graph

2519 Commits

Author SHA1 Message Date
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