Commit graph

11338 commits

Author SHA1 Message Date
Alexandre Julliard
b6f4eccdbd Moved some messaging and input functions to message.c and input.c
respectively.
2005-04-26 08:18:47 +00:00
Ulrich Czekalla
a800dfe52e SetParent should not remove menu from non-child windows. 2005-04-26 08:16:17 +00:00
Huw Davies
1fbea59ff2 The ansi version of CB_ADDSTRING shouldn't overwrite the string if
converting case.
2005-04-26 08:15:53 +00:00
Maarten Lankhorst
32498176e8 Fixed a reference leak. 2005-04-26 08:15:38 +00:00
Alexandre Julliard
40b7a50f8e Moved the ScrollWindow and ScrollDC functions to dlls/user/painting.c,
and removed windows/scroll.c.
2005-04-25 16:13:17 +00:00
Maxime Bellengé
6762313cdf Prevent CreateDCA from crashing if a bad lpInitData parameter is
provided.
2005-04-25 16:02:27 +00:00
Ivan Leo Puoti
26d2b8bf5e Add parameter checking to NtReadFile/NtWriteFile. 2005-04-25 16:02:16 +00:00
Alexandre Julliard
240d4ee9e1 Remove a few more instances of strncpy. 2005-04-25 15:51:45 +00:00
Alexandre Julliard
172e731c0b Moved most files from the windows directory to dlls/user. 2005-04-25 11:33:34 +00:00
Michael Jung
3abb5bd6bb Support for regular files (as opposed to directories). 2005-04-25 10:56:29 +00:00
Christian Costa
e901cc4b53 Improved errors handling a bit in dsound renderer. 2005-04-25 10:49:22 +00:00
Marcus Meissner
accf3ee2e6 Fixed 3 memset()s which used the wrong size (too large). 2005-04-25 10:48:38 +00:00
Mike McCormack
70d30cb54a Tests for SignalObjectAndWait. 2005-04-24 17:37:52 +00:00
Mike McCormack
0cd4317c71 Implemented SignalObjectAndWait. 2005-04-24 17:36:34 +00:00
Mike McCormack
f92fff66a2 Implemented NtSignalAndWaitForSingleObject. 2005-04-24 17:35:52 +00:00
Robert Reif
684f111070 Remove priority boost stuff. 2005-04-24 17:23:51 +00:00
Dylan Taft
14b3729ac3 Set display frequency too in SetDisplayMode. 2005-04-24 17:23:39 +00:00
Juan Lang
b99dfb0c1a Define and use endian conversion macros for big-endian machines. 2005-04-24 17:22:26 +00:00
Juan Lang
576aa4a6d8 Export _tzname, expected by Mozilla. 2005-04-23 19:06:29 +00:00
Stefan Leichter
21be2f734e Excluded tests crashing on NT4 from compiling. 2005-04-23 19:05:03 +00:00
Juan Lang
bf83ba1fa3 - convert strings between property storage's code page and system code
page
- add tests for setting code page
- fix tests and behavior to match WinXP
2005-04-23 19:04:49 +00:00
Robert Reif
419e92812b Set thread priority for timer thread.
Add timer thread priority test.
2005-04-23 19:03:47 +00:00
Michael Jung
025bc2d8a2 Use the shell32 typical binary format for ITEMIDLISTs. 2005-04-22 21:29:17 +00:00
Stefan Leichter
5027c1b5c5 Import DPA_Search by ordinal like other DPA functions. 2005-04-22 21:18:12 +00:00
Robert Shearman
1408169387 Implement PrivilegeCheck. 2005-04-22 21:17:42 +00:00
Robert Shearman
d2ea92d14e - Clean up well-known privileges.
- Implement checking tokens for privileges in the server.
- Implement NtPrivilegeCheck.
2005-04-22 21:17:15 +00:00
Michael Jung
2a788026a3 Fixed incorrect IShellFolder::EnumOjects API usage. 2005-04-22 19:07:00 +00:00
Huw Davies
cc255b0c8b If XShmAttach fails then reset shmid to -1 so that we don't try to use
it later.
2005-04-22 19:06:41 +00:00
Mike McCormack
5960e7c93c MSI advertised shortcuts don't require a product ID. 2005-04-22 19:06:12 +00:00
Stefan Leichter
950d678c5e Make ole32 tests loadable on NT4. 2005-04-22 19:05:51 +00:00
Alex Villacís Lasso
569db3c812 Perform one more commit in ALSA non-emulation if there are still
frames to be transmitted.
2005-04-22 19:05:34 +00:00
Alex Villacís Lasso
4376140a4f - 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-22 19:05:05 +00:00
Francois Gouget
5ffd9888cd Tweak the API documentation to silence winapi_check warnings. 2005-04-22 19:04:41 +00:00
Francois Gouget
00f72a32fd Add a definition for _ATL_REGMAP_ENTRY in atlbase.h.
Fix the prototype of AtlModuleUpdateRegistryFromResourceD() so it uses
the right pointer types.
2005-04-22 19:04:18 +00:00
Alexandre Julliard
333e49d78b Moved the UsePrimary config parameter to the x11drv section, renamed
as UsePrimarySelection.
2005-04-21 17:31:50 +00:00
Aric Stewart
7e181f49a8 Fix for the return codes for the Qualified component calls. They are
not INSTALLSTATEs but rather success values.
2005-04-21 17:24:27 +00:00
Alexandre Julliard
b965457c4a Get rid of the remaining calls to strncpyW, and remove that function
from wine/unicode.h.
2005-04-21 17:18:50 +00:00
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