Commit Graph

2317 Commits

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