Commit Graph

11301 Commits

Author SHA1 Message Date
Peter Berg Larsen 56c34e1b2c Rewritten DoEnvironmentSubst16. 2005-04-21 17:14:39 +00:00
Paul Vriens 08ae0d09bb Remove THREAD_INFO struct.
Rename THREADINFO into SYSTEM_THREAD_INFORMATION.
2005-04-21 17:14:22 +00:00
Benjamin Cutler 250a8aec08 Added partial implementation of powrprof.dll. 2005-04-20 19:15:31 +00:00
Alexandre Julliard fc2bd2324e Handle posted internal messages directly in PeekMessageW to avoid
having to return them to the application.
Call NtYieldExecution for nicer behavior when PM_NOYIELD is not
specified.
2005-04-20 18:53:53 +00:00
Alexandre Julliard d1a36e1929 Avoid a compiler warning. 2005-04-20 18:45:28 +00:00
Francois Gouget 30a07e9046 Fix the DCICreatePrimary() prototype. It's supposed to return an int
so have it return DCI_FAIL_UNSUPPORTED.
Add the needed error codes and the DCISURFACEINFO definition to
dciddi.h.
Add dciman.h and put the function prototypes there.
dciddi.h and dciman.h should be installed with the other Windows
headers.
2005-04-20 18:42:04 +00:00
Alexandre Julliard 3b843d3e7d Remove all traces of the VIRTUAL_SetFaultHandler support. 2005-04-20 16:26:23 +00:00
Dimitrie O. Paun 41c2482984 Use vectored exceptions to get rid of VIRTUAL_SetFaultHandler(). 2005-04-20 16:24:13 +00:00
Francois Gouget 4b9f767845 Specify the proper call convention in the PropSysFreeString()
implementation.
2005-04-20 16:21:16 +00:00
Alexandre Julliard 4a334aed3c Move all the old config conversion code to a new oldconfig.c file, and
get rid of misc/registry.c and the misc directory.
2005-04-20 15:43:36 +00:00
Francois Gouget 3ef8c51c8a Tweak the API documentation to silence winapi_check warnings. 2005-04-20 15:18:42 +00:00
Phil Krylov 5a9312445e Fixed an error in my previous commit which caused an infinite loop in
IE6 installer.
2005-04-20 14:25:03 +00:00
Mike McCormack ae8c0ab55b Test MsiSummaryInfoGetProperty reading an empty property. 2005-04-20 14:24:30 +00:00
Mike McCormack 7932d76a1d Fix loading of the summary information. 2005-04-20 14:24:14 +00:00
Alexandre Julliard 3b5875e35f Replace the wineprefixcreate --update option by a --wait option, and
make the non-wait behavior the default.
2005-04-20 13:12:14 +00:00
Alexandre Julliard 3e2f2a5265 Allow nested hardware message processing by storing a unique id in
every message and using it to manage the current queue position.
Better filtering of hardware messages to avoid returning messages that
have no chance to match the filter.
2005-04-20 13:03:59 +00:00
Richard Cohen 062c18dd24 Dither solid colours on monochrome bitmaps. 2005-04-20 12:52:46 +00:00
Duane Clark 320814fb67 Misc rectangle fixes.
The date should be initialized from local time.
2005-04-20 12:51:37 +00:00
Gerald Pfeifer 185ec147b9 Fix compilation problem caused by ULONG_MAX. 2005-04-20 12:51:26 +00:00
Aric Stewart 072c5e56a2 Implement Publish Components in order for MsiGetQualifiedComponent
apis to work. Also implement MsiGetQualifiedComponent, or at least some
of the functionality as it is supposed to install stuff if it is
absent, which it does not do yet.
2005-04-20 12:50:05 +00:00
Huw Davies bd4af76514 WTSFreeMemory stub. 2005-04-19 12:00:29 +00:00
James Hawkins 8516d1969d Set the backup/restore privilege. 2005-04-19 12:00:04 +00:00
Stefan Leichter e41bd72afc Exclude crashing CreateFileW test on NT4. 2005-04-19 11:59:46 +00:00
Troy Rollo 95fe6abcb7 Fix SEGVs in NtCreateSection and NtMapViewOfSection. 2005-04-19 10:31:28 +00:00
Troy Rollo 1af0651b17 Prevent SEGV in RegInstall when pstTable is NULL. 2005-04-19 10:24:50 +00:00
Troy Rollo 8bf4d76681 Correct test of BOOL return value in ControlService. 2005-04-19 10:24:22 +00:00
James Hawkins fa18fad2b0 Remove two unnecessary traces.
Break up one test into two.
2005-04-19 10:24:06 +00:00
Francois Gouget 4527aae24f Assorted spelling fixes. 2005-04-19 09:49:38 +00:00
Troy Rollo 98d336c363 Fix SEGV for non-fully-qualified destination paths.
Don't fail ShFileOperationW if FOF_ALLOWUNDO is passed.
2005-04-19 09:49:05 +00:00
Francois Gouget 3b36eee083 Add trailing '\n's to ok() calls. 2005-04-19 09:48:44 +00:00
Francois Gouget e8ec9d5fe6 DPSET_REMOTE is 0 so we cannot do (flags & DPSET_REMOTE). Instead
check that the DPSET_LOCAL flag is not set.
2005-04-19 09:48:09 +00:00
Francois Gouget 5941686dbb SBSP_ABSOLUTE is 0 so we cannot do (wFlags & SBSP_ABSOLUTE).
Add COMDLG32_DumpSBSPFlags().
2005-04-19 09:47:42 +00:00
James Hawkins 89f67d7b09 Add RegUnLoadKey test. 2005-04-19 09:47:10 +00:00
Jose Alonso 0e21f376da Change the order of DispatchMessage and message removal. 2005-04-19 09:47:02 +00:00
Eric Pouech b461ddeb2d Copied the atom tests for global atom so that we can test local atoms
too.
2005-04-18 15:47:18 +00:00
Alexandre Julliard 90a1a7811f Removed unused data fields in the LANG_FIND_DATA structure. 2005-04-18 15:42:49 +00:00
Eric Pouech 0a9f98b9bd Removed the no longer user APC_ASYNC kind of APC. 2005-04-18 15:38:44 +00:00
Peter Berg Larsen 102121993a Eliminate strncpy. Correct a \0 assingment to the modstr variable. 2005-04-18 15:37:15 +00:00
Peter Berg Larsen 407409f27f Remove 2 identicals calls to strlenW. 2005-04-18 15:36:59 +00:00
Peter Berg Larsen 6aefbc0934 Strncpy elimination. 2005-04-18 15:36:20 +00:00
Peter Berg Larsen 972a949552 Eliminate strncpy and correct some NameLen bugs. 2005-04-18 15:34:10 +00:00
Peter Berg Larsen 716bf4d6fb Elimination of lstrcpyn, and corrected a potential pointer bug. 2005-04-18 15:33:31 +00:00
Peter Berg Larsen f525f182f2 Eliminate a strncpy and remove unused variable. 2005-04-18 15:33:15 +00:00
Eric Pouech 5a2591d96d - moved named pipe creation to ntdll
- server now handles the named pipe flags as the NTDLL values (not the
  KERNEL32 ones)
- named pipes in server now use the async IO mechanism for
  connect/wait ops
2005-04-18 14:57:04 +00:00
Robert Reif 267f85b0ac Added keyboard data format. 2005-04-18 14:53:27 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Vitaliy Margolen 71be094420 Don't redraw if no information has changed.
Fixed endless redraw loop if app using callback for images and/or
text.
Keep color changes made by app for the current draw cycle.
2005-04-18 10:20:51 +00:00
Eric Pouech a8d8b52d6f Added proper definition for PRINTDLGEX[AW] structures. 2005-04-18 10:01:07 +00:00
Eric Pouech 05413fccc5 Fixed some signed / unsigned pointer casts. 2005-04-18 09:54:03 +00:00
Jakob Eriksson 163f5ab923 Fail gracefully on permission denied. 2005-04-18 09:52:40 +00:00
Benjamin Cutler 2813da13a3 Add semi-stub for NtPowerInformation(SystemPowerCapabilities, ...). 2005-04-18 09:52:32 +00:00
Duane Clark ddf9da794e The datetime should be initialized with local time. 2005-04-18 09:52:18 +00:00
Sami Aario 9b90532c68 Added stubs for RunSetupCommand and DelNode. 2005-04-18 09:51:53 +00:00
Eric Pouech e5da8e6260 Correctness for const pointer casts. 2005-04-18 09:51:03 +00:00
Mike McCormack 58a4fb9ef0 Declare and define a stub for NtSignalAndWaitForSingleObject. 2005-04-16 11:19:27 +00:00
Richard Cohen a1d66596b5 CreateBitmap16 should use only the first byte of planes & bpp. 2005-04-16 11:18:43 +00:00
James Hawkins a9d5de8414 RegDeleteKey fails if the lpSubKey param is NULL. 2005-04-16 10:49:10 +00:00
Krzysztof Foltman 13578c8602 - removed trailing spaces from some files
- tab support
- indent support
2005-04-16 10:48:35 +00:00
Duane Clark 1f7d6ccc2e Add support for direct keyboard input to numeric fields. 2005-04-16 10:48:02 +00:00
Mike Hearn 759e1707e0 - Add text dumping of the requested command.
- Make the stub message appear for more commands.
2005-04-16 10:47:46 +00:00
Benjamin Cutler c31a7e98f1 - Correct args for NtPowerInformation.
- Add stub for NtInitiatePowerAction.
2005-04-16 10:45:51 +00:00
Jacek Caban 6d54716f17 - More implementation of view
- Added IOleInPlaceActiveObject
2005-04-15 16:12:45 +00:00
Jakob Eriksson 9117e1c463 ERROR_PRIVILEGE_NOT_HELD can be returned for NT4. 2005-04-15 16:12:28 +00:00
Jakob Eriksson 7fb79e34a0 Win98 can return ERROR_CALL_NOT_IMPLEMENTED. 2005-04-15 16:12:14 +00:00
Brian Vincent 49dc0b1e64 Add stub for DCICreatePrimary. 2005-04-15 16:11:56 +00:00
Huw Davies 7ac969d560 When we're hiding file extensions then SetNameOf should append the
original extension if SHGDN_FORPARSING isn't set.
The flags passed to SetNameOf refer to the dst string not the src
pidl.
2005-04-15 16:11:45 +00:00
Dmitry Timoshkov 35356002e6 Zero out an invalidated runningObjectTableInstance pointer. 2005-04-15 16:11:29 +00:00
Duane Clark b00d5769da Hour '0' corresponds to 12AM. 2005-04-15 16:10:39 +00:00
Paul Vriens a9cbabc03c Start of unit tests for *Info* functions.
Check needed length regardless of given length.
Return STATUS_INVALID_INFO_CLASS for non-implemented classes.
Return STATUS_ACCESS_VIOLATION if no buffer given.
2005-04-15 14:12:54 +00:00
Mike McCormack 77103f8245 Simple unit tests for GdiIs*DC functions. 2005-04-15 14:11:00 +00:00
Juan Lang e68982fcaf Implement FmtIdToPropStgName & PropStgNameToFmtId, with tests. 2005-04-15 14:09:18 +00:00
Robert Shearman a3b4e20503 Fix TB_GETBUTTONSIZE to return the correct width/height for no
buttons.
2005-04-15 14:09:05 +00:00
Robert Shearman 21f9465067 - Use SetWindowPos to move the buddy window into position instead of
destroying it and recreating it at the new position.
- Clear the background in WM_VSCROLL to avoid problems with
  antialiased text drawing on top of itself multiple times.
2005-04-15 14:08:39 +00:00
Dimitrie O. Paun f35db0144c Keep track of WS_DISABLED explicitely, as it doesn't generate a
WM_STYLECHANGED message.
2005-04-14 13:58:45 +00:00
Dimitrie O. Paun 2e0a14820b Add support for LVN_ODSTATECHANGED.
Minor typo fixes.
2005-04-14 13:58:25 +00:00
Mike McCormack 556c976b8f Implement GdiIs*DC functions. 2005-04-14 13:57:55 +00:00
Robert Shearman 95ebdc63c6 Add a test for a menu problem I found. 2005-04-14 13:57:27 +00:00
Robert Shearman cec9e23cc3 Recalculate the menu on calling ModifyMenu so that the menu items are
shown at the correct width.
2005-04-14 13:56:29 +00:00
Vitaliy Margolen 3b3574a468 Send notifies after invalidating changed areas.
Don't use custom draw returned colors for control.
2005-04-14 13:56:12 +00:00
Alexandre Julliard f7ff216a15 Fixed a buffer overflow. 2005-04-14 12:50:54 +00:00
Rein Klazes 8062bbdeb8 In X11DRV_DIB_SetImageBits avoid BadMatch errors when calling
XGetSubImage.
2005-04-14 12:48:31 +00:00
Alexandre Julliard 036dcf2a2a Include Xmd.h in x11drv.h with the proper defines to make it work, and
remove related hacks in various C files.
2005-04-14 12:48:11 +00:00
Rein Klazes b6d331d680 Fix decoding printf format in case the field width specifier is a '*'. 2005-04-14 11:32:53 +00:00
Daniel Remenak d46cc36347 Remove unused variable in _copy_arg. 2005-04-14 11:32:10 +00:00
Benjamin Cutler 8c37f4362b Better handling of hInternet == NULL for INTERNET_OPTION_PROXY in
INET_QueryOptionHelper. MSDN says to return 'global proxy info' when
hInternet == NULL. Thanks to Juan Lang for helping with this.
2005-04-14 11:31:39 +00:00
Duane Clark a6659d26d2 Monday is day number '1'.
Set day of week when a day is selected in the calender.
Use fixed width fields in datetime.
DTS_TIMEFORMAT is a two bit field, so test accordingly.
Reposition and resize the updown control when the datetime control is
resized.
Respond to updown inputs.
2005-04-14 11:31:17 +00:00
Jacek Caban 44d2da9f5d Added more implementation of IDocumentView. 2005-04-14 11:30:50 +00:00
Rein Klazes b05cceb6f5 In AllocConsole() pass the wShowWindow value and STARTF_USESHOWWINDOW
flag from the calling process to the console process. Make wineconsole
use the CmdShow parameter in the ShowWindow call.
2005-04-14 11:30:09 +00:00
Alexandre Julliard eea415300b Moved handling of the 55AA pattern brush to syscolor.c so that it can
be made a system object (found by Rein Klazes).
2005-04-13 16:13:45 +00:00
Benjamin Cutler c2053e1ded Check for an invalid hInternet handle in INET_QueryOptionHelper for
INTERNET_OPTION_PROXY before attempting to use it.
2005-04-13 16:11:36 +00:00
Alexandre Julliard 4722941695 Moved the BITMAPOBJ structure to gdi_private.h. 2005-04-13 16:11:18 +00:00
Marcus Meissner 1b8f8f44a1 Terminate XCreateIC() argument list with NULL instead of just 0. 2005-04-13 15:23:29 +00:00
Alexandre Julliard 042614751c Use an X context to associate the phys bitmap data to a bitmap handle
instead of directly accessing the bitmap structure.
2005-04-13 15:23:15 +00:00
Huw Davies 5673b00adc RegisterClipboardFormat takes a unicode string now. 2005-04-13 15:18:32 +00:00
Alex Villacís Lasso 61761e2278 - Fix leftover negative sign in height parameter for transparent
bitmap.
- Properly announce whether bitmap is transparent in get_Attributes.
- GIF transparency is now palette-index based, instead of RGB based.
- Keep original bitmap and XOR mask separate, so that get_Handle
  returns original bitmap.
2005-04-13 15:18:02 +00:00
Martin Fuchs d3b5018275 Correct comments of some export ordinals. 2005-04-13 15:17:16 +00:00
Dimitrie O. Paun e3e5cf19a8 Remove the need for the non-standard (Close|Delete)MetaFile16(). 2005-04-13 15:16:40 +00:00
Alexandre Julliard 9591466a60 Moved the driver-independent part of CreateDIBSection into GDI. 2005-04-13 14:45:27 +00:00
Jacek Caban da56a9c16e - Added IOleDocumentView interface.
- Added implementation of DoVerb and CreateView.
2005-04-13 14:41:19 +00:00
James Hawkins 2a8f7962ff Pass an empty string instead of NULL to RegDeleteKey to delete hKey. 2005-04-13 14:40:58 +00:00
Vitaliy Margolen b58004d9ae Draw only visible tabs. 2005-04-13 14:40:12 +00:00
Robert Reif bc3ad87998 Fully implement WAVEDEVICEMAPPING property set. 2005-04-13 14:39:49 +00:00
Huw Davies 0e5b772cdc Add a unicode pidl type.
Improve support for PT_YAGUID.
Improve IShellLink debugging.
2005-04-13 14:39:27 +00:00
Alexandre Julliard 66add27b21 Store DIB section information directly in the phys bitmap structure
and get rid of the X11DRV_DIBSECTION structure.
Get rid of the unused AuxMod DIB state.
2005-04-13 11:23:24 +00:00
Juan Lang 142254d746 Implement PropSys{Alloc|Free}String, and support BSTRs in
PropVariant{Clear|Copy} using them.
2005-04-13 11:13:55 +00:00
Phil Krylov 1e9c200f61 Make RTF reader fall back to simple text if a correct RTF header is
not detected. This should fix some installers.
2005-04-13 11:11:03 +00:00
Steven Edwards ad7f4daf35 Register Shell Drag and Drop Helper. 2005-04-13 11:07:49 +00:00
Andreas Bjerkeholt 745ee3a67e Swedish translation. 2005-04-13 11:04:49 +00:00
Steven Edwards 4a26da2142 Partially implement CreateProcessAsUser. 2005-04-13 11:02:59 +00:00
Michael Jung 9a4f552f2f Implemented the UnixFolder's IShellFolder2::CompareIDs method. 2005-04-13 11:01:10 +00:00
Daniel Remenak 4d7e99df93 Implemented VarIdiv. 2005-04-13 10:59:25 +00:00
Robert Shearman 794dbaa38c - Fix scaling when converting MF -> EMF.
- Tests for conversions (although not for the above bug).
2005-04-13 10:57:59 +00:00
Huw Davies be428abd3e Better icon handling for some special folders.
Identify and add defines for a bunch of shell icons.
2005-04-12 12:00:40 +00:00
Alexandre Julliard 0e49a5b0b9 Store a pointer to the currently selected phys bitmap in the device
structure. Create a phys bitmap for the default stock bitmap too.
2005-04-12 11:59:48 +00:00
Michael Jung d1f1d34c2b Implemented enough of IShellFolder2 to make UnixFolder work within the
open/save-dialogs.
2005-04-12 11:58:05 +00:00
Jacek Caban 0c8e5838bb Stub implementation of IOleObject and IOleDocument. 2005-04-12 11:57:51 +00:00
Alexandre Julliard b16e32a364 Store the bitmap handle in the phys bitmap structure, and avoid a few
more GDI_GetObjPtr calls.
2005-04-12 10:17:55 +00:00
Huw Davies 52cf1992ea If ICommDlgBrowser_OnDefaultCommand returns anything other than S_OK
then we should call the default handler.
2005-04-12 10:16:35 +00:00
Robert Shearman ea84f49393 Use ES_AUTOHSCROLL for edit box. 2005-04-12 10:16:23 +00:00
Daniel Remenak 292b61f550 Return DISP_E_DIVBYZERO instead of crashing when asked to divide a
variant by zero.
2005-04-12 10:15:56 +00:00
Juan Lang 7376f57c30 Use Unicode string result from GetDisplayNameOf if it isn't
representable using ANSI.
2005-04-12 10:15:29 +00:00
Juan Lang c33d2621eb Log missing environment vars for easier debugging. 2005-04-12 10:15:09 +00:00
Robert Reif da9c394f67 Stub out DRVM_MAPPER_RECONFIGURE support. 2005-04-12 10:14:57 +00:00
Alexandre Julliard 541e5b3751 Store the pixmap depth and the DIBSECTION pointer in the phys bitmap
structure. Avoid a few GDI_GetObjPtr calls.
2005-04-11 18:54:30 +00:00
Robert Shearman 51ae41eb0b Return an error instead of crashing later on a divide by zero
exception when an alignment of 0 is specified.
2005-04-11 18:50:58 +00:00
Juan Lang c1fe67bc36 - add write support to IPropertyStorage, with tests
- misc. cleanups the tests turned up
2005-04-11 18:50:45 +00:00
Huw Davies 8dabf51d39 Directory items should have the SFGOA_FILESYSANCESTOR attribute.
Add a test for this and cleanup the shlfolder test a bit.
2005-04-11 18:50:01 +00:00
Vincent Béron 81bda71e9a Don't reference c:\windows directly. 2005-04-11 18:49:40 +00:00
Jacek Caban 93eb433ec2 Stub implementation od IPersist, IPersistMoniker, IPersistFile,
IMonikerProp.
2005-04-11 16:11:52 +00:00
Mike McCormack d6fdac2676 Calculate the size of the next mailslot message correctly. 2005-04-11 16:11:32 +00:00
Jason Edmeades 2f30d307df Ensure A->W version of InternetCrackURL passes correct length values,
and associated tests.
2005-04-11 16:10:50 +00:00
Steven Edwards 98efef18d4 Avoid using ver.h in favor of winver.h. 2005-04-11 16:10:33 +00:00
Juan Lang 50794ce787 Add traces, add unit tests for IPropertyStorage, and fix the problems
they caught.
2005-04-11 14:30:24 +00:00
Juan Lang 6d83105054 - set size required correctly for all supported options
- tidy up a few lines of indenting in INET_QueryOptionHelper
- implement querying INTERNET_OPTION_PROXY
2005-04-11 14:26:18 +00:00
Matthew Mastracci 11959ba310 Correctly lock and unlock surface for a single-surface Blt() and
BltFast() call.
2005-04-11 14:26:00 +00:00
Hans Leidekker 4ead2b4cb7 Implement GetNamedSecurityInfo. 2005-04-11 14:25:41 +00:00
Rein Klazes bf559d544b Fix X11DRV_DIB_SetImageBits_RLE(4|8) when an non-zero x-offset
(argument left) is specified.
2005-04-11 14:25:26 +00:00
Tom Wickline e4a3c2e4ee Sync to the latest opengl specs. 2005-04-11 14:24:27 +00:00
Hannu Valtonen 06d9713f3d Added mousewheel support. 2005-04-11 14:22:21 +00:00
Paul Vriens b4db6533a0 Flags should be or-ed. 2005-04-11 14:21:33 +00:00
Dimitrie O. Paun 9da93dd879 Tab unicodification. 2005-04-11 14:21:15 +00:00
Dimitrie O. Paun 30a66a051c MonthCal unicodification. 2005-04-11 14:21:00 +00:00
Mike McCormack 016206c1e1 Move mailslot set and query info implementation to ntdll. 2005-04-11 14:20:49 +00:00
Huw Davies 861282bf28 Fix the icon resource ids (most were off by one).
Fix IExtractIcon_{GetIconLocation,Extract} to use -ve icon resource
ids and fix bugs relating to confusion between resource ids and the
system imagelist indicies.
Extend the system imagelist initialization hack to load both +ve and
-ve resource ids.
Add a printer icon (that'll be used by an upcoming printer folder
patch).
2005-04-11 13:04:41 +00:00
José Manuel Ferrer Ortiz 4f50a2c0dc Spanish translations updated. 2005-04-11 13:01:46 +00:00
Vincent Béron 67da678ca6 Make static some functions used only in a single file. 2005-04-11 13:00:28 +00:00
Robert Reif ff77f1343e Initialize primary buffer on open. 2005-04-11 13:00:00 +00:00
Juan Lang 6f3228a539 Implement SetupDiClassNameFromGuidExA. 2005-04-11 12:59:45 +00:00
Mike McCormack 80a6696054 Add stub for FaultInIEFeature. 2005-04-11 12:58:58 +00:00
Dimitrie O. Paun e50960b3d8 Audit the code against Comctl32.dll version 6.0.
Handle notification and styles as in the other controls.
Maintain the const for strings throughout parsing.
2005-04-11 12:58:30 +00:00