Commit Graph

2448 Commits

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