Commit Graph

2288 Commits

Author SHA1 Message Date
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
Ian Pilcher ccfe6e9c9b Implement EnumPrinterDataEx{A|W}. 2001-02-21 04:00:40 +00:00
Alexandre Julliard 7ad126dcd1 Removed some unnecessary ordinals. 2001-02-21 02:20:45 +00:00
Alexandre Julliard 3fe81b46d3 __getmainargs last argument is a pointer to new_mode. 2001-02-21 02:20:08 +00:00
Gerard Patel cf354d8c1d Stub for OleSavedClientDoc. 2001-02-20 23:43:43 +00:00
Aric Stewart 79a11a1f21 Insert the item before calling a SetFirstVisible which can generate a
WM_PAINT message.
2001-02-20 23:43:21 +00:00
Alexandre Julliard 641c7ae109 Got rid of the WSINFO structure. Fixed a couple of bugs. 2001-02-20 01:57:13 +00:00
Alexandre Julliard 91ab1208c4 Fixed __GetMainArgs. 2001-02-20 01:56:46 +00:00
Guy L. Albertelli 45e6f62457 - Implement CB_SETCURSEL, CBEM_DELETEITEM, CBEM_GETITEM,
CBEM_{GET|SET}UNICODEFORMAT, CB_FINDSTRINGEXACT, WM_COMMAND,
  WM_DELETEITEM.
- Implement extended style CBES_EX_NOEDITIMAGE, and warn others are
  not yet implemented.
- Restructure DrawItem code to do things more rationally.
2001-02-20 01:53:43 +00:00
Alexandre Julliard ea2a9a8974 Removed a few Callout functions by doing a GetProcAddress at the time
we actually need the function.
2001-02-20 00:55:17 +00:00
Dmitry Timoshkov 5ab5e1c5df Fix prototypes of MSVCRT___getmainargs and MSVCRT___wgetmainargs.
Protect MSVCRT__acmdln global variable from corruption.
2001-02-20 00:51:49 +00:00
Eric Kohl 66eedb5ae6 Fixed behaviour of dropdown buttons. When a dropdown button is
clicked, it does not change into pressed state.
2001-02-20 00:48:37 +00:00
Marcus Meissner 0385d9e755 Translated new common dialog resources into German.
Resized file dialog a bit to make toolbar completely visible again.
2001-02-20 00:47:34 +00:00
Marcus Meissner 80487eecf3 Fixed German translation, changed dialog font to Helvetica. 2001-02-20 00:47:09 +00:00
Chris Morgan 508c4d9354 Assert on output buffer overflow. 2001-02-16 19:52:50 +00:00
James Hatheway 7fdceb2217 Update selection after sorting (in LISTVIEW_SortItems) by making sure
selection list matches states of individual items.
2001-02-16 19:39:14 +00:00
François Gouget d9280fed84 TB_SETBUTTONSIZE messages must be taken into account even after
buttons have been added.
2001-02-16 19:38:32 +00:00
Aric Stewart 826465dc22 Setting the HotItem to -1 can be disastrous at times if it equals
oldhit.
2001-02-16 19:06:34 +00:00
Lawson Whitney 3437915594 If VerQueryValueA is called with a PE resource, translate the call to
VerQueryValueW.
2001-02-15 21:26:29 +00:00
Aric Stewart 40a38f7f9a Continued the implementation of Set Hot Item. 2001-02-15 21:25:03 +00:00
James Hatheway a2c2a83f8e Send LVN_DELETEITEM notification first, to avoid crashes if the app
requests LVIF_PARAM with LISTVIEW_GetItem() during its LVN_DELETEITEM
message handler.
2001-02-15 21:24:43 +00:00
Chris Morgan b9807b405e Add includes for <time.h>. 2001-02-15 21:24:07 +00:00
Morten Welinder ae70f5c647 (PSDRV_AFMGetCharMetrics): Use unsigned chars (since isspace is used).
(PSDRV_AFMParse): Don't crash on missing font name.  Use unsigned
chars.  Fix peculiar inconsistent indentation.  Don't leak a FILE.
Catch problematic files with no line feed in them.  Don't mix
characters and integers.  Don't overrun the buffer.
2001-02-15 21:23:50 +00:00
Alexandre Julliard de729f18bb Removed ordinal from functions that don't need a specific value. 2001-02-14 23:12:36 +00:00
Patrik Stridvall d0a41774a3 Documentation ordinal fixes. 2001-02-14 23:11:17 +00:00
Huw D M Davies 2aa85eed18 Change FONTOBJ to use LOGFONTW rather than LOGFONT16.
Updated parameters of DEVICEFONTENUMPROC.
2001-02-14 22:56:38 +00:00
Eric Pouech 26146cdd67 Started the real implementation of mciavi. 2001-02-14 21:49:22 +00:00
Alexandre Julliard c661583200 Always return success instead of overflow if caller didn't specify a
buffer.
2001-02-14 21:45:52 +00:00
François Gouget 4188fbcb9b Misc typos in comments. 2001-02-14 21:43:06 +00:00
François Gouget 4684ab1c12 ListView_GetItemRect already sets rc.left. 2001-02-14 21:42:24 +00:00
François Gouget b99367e20e debugstr_xxx already does the quoting. 2001-02-14 21:42:10 +00:00
François Gouget 5e63211953 Change the callback declarations to a safer format. 2001-02-14 21:41:35 +00:00
Andreas Mohr dacdb9c4c6 Cosmetics. 2001-02-14 00:29:16 +00:00
Andreas Mohr 5b7e1810a1 - correct DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1 confusion
- fix GetAvailableVidMem ddraw iface copy&paste bug (doh !)
2001-02-14 00:28:02 +00:00
Ove Kaaven 6e7ded456b Guts of a simple XVidMode-supporting DirectDraw HAL in x11drv. 2001-02-14 00:27:34 +00:00
Patrik Stridvall 7ac3db7b7f Fixed some issues found by winapi_check. 2001-02-13 20:19:15 +00:00
Peter H. Ganten 988d1c233a - only parse AFM-files, which start with "BeginFontMetrics"
- use fgetc instead of fgets to cope with AFM-Files with
  Macintosh-Style line-breaks ('\r') in the parser.
2001-02-13 20:18:47 +00:00
Jon Griffiths 38bed0608a Implement a bunch of shlwapi functions, add some new stubs. 2001-02-13 20:17:59 +00:00
Chris Morgan 6f8f771e01 Implement keyboard shortcut F2 to rename files and directories in the
shellview (and in common dialogs).
2001-02-13 02:20:35 +00:00
Duane Clark eb2e0de75e - make the Landscape/Portrait buttons do something.
- fix these problems in the Paper Size and Source combo boxes:
  1) Every time the printer setup dialog is opened, the settings
  are set back to garbage settings.
  2) If the paper size or source is changed, and then the printer is
  changed, the new printer does not get the new size and source
  settings even though it appears to from the dialog.
2001-02-12 19:42:08 +00:00
Jon Griffiths 935677ab04 Implement LHashValOfNameSysA for 4 LCIDs, fix prototype. 2001-02-12 19:33:42 +00:00
Francois Gouget ea1ea06fda Remove TOOLBAR_ID and WM_SETTINGCHANGE, they are not used. 2001-02-12 19:18:13 +00:00
Andreas Mohr 8ee6cca354 - TRACE opened registry handles
- add proper quotes to wineinstall
- spelling
2001-02-12 18:10:43 +00:00
Huw D M Davies 63c1c939d6 Add an updown control to the copy count entry.
Disable the collate button if no. of copies is 1.
Add Landscape/Portrait icons.
Get rid of the "Dummy Comment" line.
Fix the English of some of the error messages.
2001-02-12 18:09:34 +00:00
Lionel Ulmer 7dd4c312a4 Allow an application to re-ask for EXCLUSIVE DirectDraw access. 2001-02-12 18:08:53 +00:00
Andreas Mohr 9f05b8229f Check PROPSHEETPAGEA.pfnCallback for NULL pointer if PSP_USECALLBACK
is given.
2001-02-12 18:08:31 +00:00
François Gouget 2ad985527f Handle WM_CHARs and pass them to TREEVIEW_ProcessLetterKeys. See also
LISTVIEW_ProcessLetterKeys in listview.c.
2001-02-12 18:08:08 +00:00
François Gouget 1afa24aeac Fix (rewrite), and add documentation to LISTVIEW_ProcessLetterKeys.
Lowered the key repetition delay (Aric).
2001-02-12 18:07:43 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
Patrik Stridvall bca4a8dce0 Documentation argument fixes. 2001-02-12 03:49:57 +00:00
Francois Gouget 3fb4cf70a7 Fix typos in comments. 2001-02-12 03:48:24 +00:00
Rein Klazes 3932f3a648 Added support for the Malayan language. 2001-02-12 03:47:10 +00:00
Chris Morgan d62dd82efb Fix ListView_GetItemRect() macro.
Fix use of ListView_GetItemRect() macro in listview control.
Add some documentation to LISTVIEW_GetItemRect().
2001-02-12 03:46:00 +00:00
Patrik Stridvall 4fb3aa5fcd Fixed some issues found by winapi_check. 2001-02-12 03:45:09 +00:00
Marcus Meissner c5d2f5efeb Handle differently sized structs by using their dwSize parameters. 2001-02-12 03:43:53 +00:00
James Abbatiello 45edb2fcb3 Fix a few compiler warnings. 2001-02-12 03:42:58 +00:00
James Abbatiello 841ef6ebb9 Don't allow comctl32 controls to access their infoPtr before it has
been  allocated or after it has been freed.
2001-02-12 03:42:23 +00:00
Andreas Mohr 14150c1ad5 Make MMIO_Open work with NULL filename again. 2001-02-12 03:41:13 +00:00
Dmitry Timoshkov 91adf0aa4e Added unicode MDI client window proc. 2001-02-12 03:40:41 +00:00
Huw D M Davies a247086cfc Call LoadImage to load the non-standard sized collate icons. 2001-02-12 03:38:14 +00:00
Huw D M Davies 804edb1cec Map 'Courier New' to 'Courier'. 2001-02-12 03:37:52 +00:00
James Hatheway 2fd8388c7b acmDriverEnumW shouldn't return MMSYSERR_ERROR if
acmDriverEnumCallback returns TRUE.
2001-02-12 01:28:12 +00:00
Huw D M Davies d2b850e8aa Implement Set/GetPrinterData[Ex].
Remove ordinals from winspool.drv.spec .
2001-02-12 01:26:47 +00:00
Andreas Mohr ae4f72f5be Take a stab at implementing OleSetAutoConvert. 2001-02-12 01:26:16 +00:00
Marcus Meissner 33c24891b9 Fixed a NULL ptr problem.
Added loading of .afm files from several common locations
(ghostscript, a2ps, enscript, (teTeX), X11).
2001-02-12 01:25:46 +00:00
Andreas Mohr 1ea771c218 Don't touch WAVEHDRs dwLoops variable. 2001-02-12 01:24:18 +00:00
Huw D M Davies 8d50352b66 Spaces do not have to come after the ':' that ends a keyword.
Map bin name ManualEnv to DMBIN_ENVMANUAL.
2001-02-12 01:23:26 +00:00
Huw D M Davies a3fca2a933 Fix ReleaseStgMedium for MetaFilePict types. 2001-02-12 01:22:01 +00:00
Huw D M Davies a83c7c5320 Fix for rotated text when lpDx is specified.
Better handling of cumulative rounding errors.
2001-02-12 01:21:34 +00:00
Susan Farley e527f23865 Handle the CCS_NORESIZE style.
Change the scroll delta only when the app responds to the PGN_NOTIFY msg.
2001-02-12 01:21:13 +00:00
Ove Kaaven c2fd62d0ba Fix DGA2 mode setting to use the correct color depth. 2001-02-12 01:20:04 +00:00
Andreas Mohr b58ebef63e Added DCICloseProvider stub. 2001-02-12 01:18:42 +00:00
James Abbatiello 0da6d5e614 Implement IShellLink<A|W>_fnGetWorkingDirectory,
IShellLink<A|W>_fnGetArguments, IShellLink<A|W>_fnGetIconLocation.
2001-02-12 01:17:39 +00:00
Andreas Mohr b455c75242 A couple of stubs for Terminal Server Client 16 bit. 2001-02-12 01:13:54 +00:00
Marcus Meissner 4b4b462ec5 Added some more 16->32 mappings for ICM* messages. 2001-01-29 00:32:55 +00:00
Marcus Meissner 9bed6988a4 dvideo.dll forgets to set the DDSD_CAPS flag, just assume it set.
Output more debug info on failure.
2001-01-29 00:31:50 +00:00
Marcus Meissner 31052f9946 Implemented VideoCapDriverDescAndVer. 2001-01-28 23:45:43 +00:00
Eric Pouech 982e0ce07f Added a few missing exports. 2001-01-28 23:44:56 +00:00
Ove Kaaven db1f948afb Don't disable keyboard autorepeat, since autorepeat is now detectable. 2001-01-28 23:43:20 +00:00
Marcus Meissner 15a525973b - Siedler3 appears to have rather limited buffers for device/description
strings and crashes with those long strings. Shortened those strings.
- Also driver needs to be "display" for display devices (some other
  programs rely on that info I seem to remember).
- Fixed DSurface::GetSurfaceDesc to not just blindly copy a
  DDSURFACEDESC2 struct over a smaller DDSURFACEDESC one.
2001-01-28 23:15:17 +00:00
Alexandre Julliard e81843bb61 Authors: Ove Kaaven <ovek@transgaming.com>, Gavriel State <gav@transgaming.com>
Implemented circular buffering for the dinput mouse device.
Mapped the mouse warp on the center of the cooperative window, which
should make windowed games work better in managed mode.
2001-01-28 23:14:25 +00:00
Huw D M Davies d4b933e7d2 Take into account unprintable margins in psdrv. 2001-01-28 23:13:45 +00:00
Alexandre Julliard 71891e1fd6 Authors: Huw D M Davies <hdavies@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
psdrv's DeviceCapabilities should list DMBIN_AUTO as an available
bin.
2001-01-28 23:13:25 +00:00
Dmitry Timoshkov e1f6dc0dbd Add "OnlyOne" paper source, used by the Acrobat Distiller PPD. 2001-01-28 23:12:52 +00:00
Josh DuBois 62e823c6b1 Fixed typo. 2001-01-28 23:12:19 +00:00
Eric Pouech 5d1892358b Fixed some mci string parsing issues.
Added more mappings 32ATo16.
2001-01-28 23:11:27 +00:00
Eric Pouech 2251fbc3c4 Simplified memory allocation for asynchronous MCI message handling. 2001-01-28 23:10:52 +00:00
Eric Pouech 15a3d774b0 Delay importing user32 (only used for configuration). 2001-01-28 23:10:22 +00:00