Commit Graph

9514 Commits

Author SHA1 Message Date
Alexandre Julliard 32457b4f5a Converted more of the (Un)RegisterTypeLib code to Unicode.
Factored out some common routines.
2004-10-22 22:09:09 +00:00
Aric Stewart d906ef03ff Don't reregister ProgIds over and over, also write out the main key
before trying to register the Parent. This avoids loops if a ProgId
has itself as a parent or there is a loop in dependencies.
2004-10-22 22:06:31 +00:00
Stefan Leichter 80c1addb1c Fixed GetModuleBaseNameA tests for WinXP. 2004-10-22 22:04:56 +00:00
Mike McCormack 56fc9bfade Use Unicode functions in RegisterTypeLib. 2004-10-22 20:29:34 +00:00
Alexandre Julliard d3c0cb77d9 VK_0-9 and VK_A-Z are not defined in the Windows headers, removed them
(spotted by Francois Gouget).
2004-10-22 20:29:10 +00:00
Alexandre Julliard 2d2e2e1e55 Avoid copying invalid data on error. 2004-10-22 20:26:23 +00:00
Francois Gouget a1779c1e33 Fix the function pointer declarations so MSVC likes them.
CSIDL_PROFILES is not defined in the Windows SDK.
snprintf and strcasecmp don't exist on Windows. Replace them with
wnsprintfA and lstrcmpiA respectively.
2004-10-22 20:25:46 +00:00
Francois Gouget b2e8b36e50 Flesh out the icm.h header (add COLORMATCHSETUP & co) so it is
necessary to first include winuser.h like on Windows.
2004-10-22 19:56:51 +00:00
Francois Gouget 40692f2aa4 There is no point making '--register' functions stdcall so just
implement them as cdecl.
2004-10-22 19:55:14 +00:00
Stefan Leichter 97f4a203b2 Fixed GetAcceptLanguagesA tests for WinXP. 2004-10-22 19:54:28 +00:00
Rein Klazes 149f70b369 Correct the calculation of the year for the 31'st of December of 2000
and every 400 years after that. Add a test used to find this bug.
2004-10-22 19:54:17 +00:00
Mike McCormack 43149f490c Add a test for creating empty shelllink files. 2004-10-22 19:52:33 +00:00
Dimitrie O. Paun 6898ccbe65 Audit the Date Time Control. Unicodification.
Type safe functions (pass infoPtr and type safe values around).
Some cleanup and indentation fixes.
2004-10-22 19:52:08 +00:00
Robert Reif b50347d452 Don't consider a bad format an error unless the capabilities say it
should be supported.
Don't consider a device already in use an error.
2004-10-22 19:51:54 +00:00
Rolf Kalbermatter eb883577e4 - SHCreateDirectory should create intermediate directories if
necessary.
- Remove extra boolean parameter in SHNotifyMoveFile as it is not
  used.
- Use in SHFileOperation the function SHNotifyCreateDirectory instead
  of SHCreateDirectoryEx as it does not anymore what is needed here.
- Fix several unsigned/signed mismatch warnings.
2004-10-21 22:29:42 +00:00
Uwe Bonnes 194bac7781 Monthcal_SetRange: Set proper value for min date. 2004-10-21 22:28:12 +00:00
Francois Gouget 85ae255f96 Fix some issues reported by winapi_check:
Add mscat.h and wintrust.h; update wincrypt.h.
Fix the CryptCATAdminAcquireContext() and WinVerifyTrust() prototypes
so they use the proper types.
Update the wintrust section of win32.api.
2004-10-21 21:00:29 +00:00
Robert Shearman a4b013c9f2 Always remove WS_BORDER style from ComboBoxEx control. 2004-10-21 20:59:38 +00:00
Ge van Geldorp 9b399da426 - Don't double-quote an already double-quoted argument.
- Properly increment the fmt pointer.
2004-10-21 20:59:25 +00:00
Jason Edmeades 447d5ed048 Implement the beginnings of the stateblock class, and a first method
to use it.
2004-10-21 20:59:12 +00:00
Thorsten Kani c0a142ccee Don't add extra OFFSET_X/Y to the calculation of rcBitmap.top/left,
just use GetSystemMetrics.
2004-10-21 20:58:43 +00:00
Robert Reif d4c9f92c65 Trailing white space cleanup.
Add IClassFactory->CreateInstance aggregation checks.
IID_IDirectSoundCapture and IID_IDirectSoundCapture8 are same so
remove redundant check.
Allocate capture buffer for hw driver if necessary.
2004-10-21 20:57:26 +00:00
Mike McCormack 5bc8077511 Implement ChangeServiceConfig2A using ChangeServiceConfig2W. 2004-10-21 20:57:09 +00:00
Juan Lang 9cbc42bbae - the correct registry location to override is User Shell Folders, not
Shell Folders
- if User Shell Folders doesn't exist in HKCU, HKLM should be tried
- SHGetSpecialFolderPath should call SHGetFolderPath, not vice-versa
- the default values should be localizable
- some of the parameter checking and returned LPITEMIDLISTs were a bit
  off
2004-10-21 19:59:46 +00:00
Francois Gouget ceab348973 Remove HAVE_LIBAUDIOIO_MIDI and LIBAUDIOIO_MidiInit(). 2004-10-21 19:58:08 +00:00
Francois Gouget 9c3246803b Fix the declaration of SymEnumSymbols() in dbghelp.spec.
Use PVOID instead of void* for consistency.
Update the dbghelp section in win32.api.
2004-10-21 19:57:56 +00:00
Rein Klazes 62ec238792 Correct the calculation of the year for the 31'st of December of leap
years.
2004-10-21 19:57:00 +00:00
Rein Klazes dc78e9a595 - mktime should compute the tm_wday, tm_yday and renormalize the
other fields of the supplied tm structure.
- add prototype declarations for the time functions.
2004-10-21 19:56:46 +00:00
Robert Shearman 5e6e9fb120 Correct the date of the completeness audit. 2004-10-21 19:56:32 +00:00
Walt Ogburn f61786d444 VarParseNumFromStr: Keep zeros after decimal point, correctly keep
track of trailing zeros in a decimal number.
VarNumFromParseNum: Don't error on decimal expressions for zero.
2004-10-21 19:55:37 +00:00
Robert North e2bd6f36d0 Fix WTInfoA in wintab.c so it can now take lpOutput == NULL, as per
standard.
2004-10-21 19:53:02 +00:00
Dimitrie O. Paun 5d0366f5a0 Audit the month calendar. 2004-10-21 19:52:28 +00:00
Robert Shearman 18f0bf732d - Draw with ILD_TRANSPARENT instead of ILD_NORMAL to draw bitmaps from
the native shell image list properly (reported by Thorsten Kani).
- Rewrite TOOLBAR_NotifyFormat to avoid side-effects.
2004-10-21 19:52:16 +00:00
Mike McCormack 2e82a0965b Implement ChangeServiceConfigA using ChangeServiceConfigW. 2004-10-21 19:51:53 +00:00
Robert Reif b80d1d5d92 Don't consider a device that is already in use a test failure. 2004-10-21 19:51:10 +00:00
Vincent Béron 6c644d68cf Fix various function prototypes. 2004-10-19 23:55:15 +00:00
Hans Leidekker c3de6ef38f Add ffs() to porting library, needed by MinGW. 2004-10-19 23:53:26 +00:00
Stefan Leichter 165b24b5e1 Added dummy implementation for EnumUILanguagesA/W. 2004-10-19 23:50:36 +00:00
Vincent Béron 1f504141b7 Use a new DLLDEFS variable in configure/Makefiles to actually remove
all the debug messages (minus ERRs) if the user decides so.
2004-10-19 23:06:11 +00:00
Robert Shearman 9cfb943561 Implement SetPathWordBreakProc and MirrorIcon. 2004-10-19 22:59:59 +00:00
Robert Shearman 5d0c01c4e0 Rebar completeness audit. 2004-10-19 22:59:14 +00:00
Alexandre Julliard bbde53fb02 RegQueryValueW must return count in bytes for empty string too. 2004-10-19 21:14:09 +00:00
Robert Reif 3dcbaaa4cc Don't consider failure with DSERR_NODRIVER a test failure. 2004-10-19 21:10:41 +00:00
Dmitry Timoshkov b1267aec5e Make TranslateAcceleratorA handle national characters. 2004-10-19 21:10:17 +00:00
Ge van Geldorp 109f41aadc Pass correct uiParam for SPI_GETNONCLIENTMETRICS. 2004-10-19 21:09:42 +00:00
Uwe Bonnes 06ea3c65f5 Add kernel32 as import for wintrust. 2004-10-19 21:09:12 +00:00
Mike McCormack 53daa59740 Implement CallNamedPipeA using CallNamedPipeW. 2004-10-19 21:08:58 +00:00
Walt Ogburn 84c1f667ae Keep "trailing" zeros on whole number part of a decimal.
Add an example of this to tests.
2004-10-19 21:08:40 +00:00
Walt Ogburn f5c25e8067 Test that SafeArrayDestroyData keeps the pointer if FADF_STATIC is
set, nulls it otherwise.
2004-10-19 21:08:18 +00:00
Walt Ogburn bb313c9dbe SafeArrayDestroyData - keep pointer, don't destroy data if FADF_STATIC
is set.
2004-10-19 21:08:02 +00:00
Alexandre Julliard 5d5f523052 Output the virtual tables for the exception classes using assembly so
that they can have the correct layout, and get rid of the
corresponding hacks in RTTI_GetObjectLocator.
Build more of the code on non-i386 platforms too.
Protect __RTDynamicCast and friends with exception handlers.
Fix handling of the vtable pointer so that we don't need to declare
all object pointers as type_info.
2004-10-19 04:03:07 +00:00
Mike McCormack d5b0e0f01e Convert the shellmenu code to use unicode. 2004-10-19 03:56:40 +00:00
Robert Reif 9c8dd0a294 Don't consider MMSYSERR_NOTSUPPORTED an error for wide functions. 2004-10-18 23:14:54 +00:00
Ge van Geldorp 4e44eb2c9c Don't free subclass stack while it's still in use. 2004-10-18 23:14:38 +00:00
Alexandre Julliard b8d5d962ee Fixed __RTDynamicCast to return the correct pointer for multiple
inheritance hierarchies (thanks to Muse Research for help with this
one).
Added some debug output.
2004-10-18 23:13:55 +00:00
Bill Medland e62e88f488 During startup of the connection to an external ODBC provider
(e.g. unixODBC) replicate that provider's driver and DSN data to the
registry so that Windows programs that actually query the registry
rather than the ODBC will find at least some information.
2004-10-18 22:47:14 +00:00
Vincent Béron 4eeae1adb3 Fix some types problems. 2004-10-18 22:39:21 +00:00
Walt Ogburn ea1b58b560 Test zero exponents with and without signs. 2004-10-18 22:35:18 +00:00
Markus Amsler f56618a281 Push on stack in 16 bit mode with segment wrap around. 2004-10-18 22:34:02 +00:00
Rolf Kalbermatter 20952a5d23 Modify ANSI functions to allocate intermediate Unicode strings on the
heap instead of stack.
2004-10-18 21:45:16 +00:00
Jeremy White fea27b1348 Revise winmm/time.c to fix timer resolution at 1 ms. This then allows
a much more efficient implementation of timer events and timeGetTime,
and callers that used sub 10 ms resolution will now get correct
results.
2004-10-18 21:44:32 +00:00
Vincent Béron 2c1b35dd17 Add some more Alpha asm code and Alpha-specific parts. 2004-10-18 21:27:52 +00:00
Dmitry Timoshkov 5736111c83 Protect USER32 against early graphics driver unloading. 2004-10-18 21:25:26 +00:00
Dimitrie O. Paun 134560e9e5 Implement LBS_COMBOBOX, and make use of it.
Better separation between the Listbox and Combobox.
Have a single set of wndprocs, just like Windows.
2004-10-18 21:22:44 +00:00
Joris Huizer 823c418d8e Added IClassFactory->CreateInstance aggregation checks. 2004-10-18 21:21:19 +00:00
Peter Riocreux f971902a81 Make DrawDibDraw honour the DDF_BACKGROUNDPAL flag. 2004-10-18 21:20:09 +00:00
Markus Amsler 5106ee4a5d Initialize .COM stack. 2004-10-18 21:19:57 +00:00
Stefan Leichter 63289cd67c Added stub for CryptCATAdminAcquireContext. 2004-10-18 21:19:46 +00:00
Rein Klazes c5c93d186e In RtlQueryTimezoneInformation use information from the registry if it
is available.
2004-10-18 21:19:28 +00:00
Alexandre Julliard 715ea985b9 Authors: Doug Paul <doug@elemental.ath.cx>, Glenn Wurster <gwurster@scs.carleton.ca>
Don't unrealize the palette by calling SetPaletteEntries.
Check peFlags for PC_RESERVED.
2004-10-18 21:18:58 +00:00
Alexandre Julliard 065fdde8f6 Authors: Doug Paul <doug@elemental.ath.cx>, Glenn Wurster <gwurster@scs.carleton.ca>
Change reading of PC_(EXPLICIT|NOCOLLAPSE|RESERVED) to handle multiple
values.
2004-10-18 21:18:30 +00:00
Robert Shearman a16223e302 - TBN_DELETINGBUTTON sends the command ID, not the index.
- Fill in tbButton structure for TBN_DELETINGBUTTON notification.
- Document TBN_QUERY* sending indices.
2004-10-18 19:39:22 +00:00
Mike McCormack d71bc33c11 Fix port enumeration. 2004-10-18 19:38:57 +00:00
Hans Leidekker 6e8f4f3c69 Avoid using gettimeofday(). 2004-10-18 19:38:41 +00:00
Rein Klazes 96d6966baa Test whether the ft_encoding's are defined, not the FT_ENCODING's. 2004-10-18 19:38:30 +00:00
Marcus Meissner 77ad4cebbc Stub function for OpenInputDesktop. 2004-10-18 19:38:01 +00:00
Mike McCormack 130f6e51f2 Add stub implementation for CreateProxyFromTypeInfo. 2004-10-18 19:37:42 +00:00
Vincent Béron 57fb99fa25 Protect some more types which can be redeclared in Xmd.h. 2004-10-18 19:37:19 +00:00
Robert Reif 097e281294 Fix some places where no driver present causes problems. 2004-10-18 19:36:42 +00:00
Robert Shearman 684197178a Implement ImageList_SetColorTable. 2004-10-18 19:36:13 +00:00
Robert Shearman b4eee49aa5 The "colors" parameter of SetDIBColorTable should be CONST. 2004-10-18 19:35:50 +00:00
Michael Jung 162171e258 Fixed a typo in CryptExportKey. 2004-10-18 19:35:24 +00:00
Robert Shearman 0fb8f4a15e Improve proxy destruction comment. 2004-10-18 19:34:51 +00:00
Mike McCormack 049dce7cd0 Mask SIGCHLD to prevent partial writes in the new_process server
call.
2004-10-18 19:34:37 +00:00
Rolf Kalbermatter 29d4ec4f85 Added SHFreeNameMappings implementation. 2004-10-18 19:33:45 +00:00
Alexandre Julliard 21548cf02b Fixed spelling of 'hierarchy'. 2004-10-14 03:11:52 +00:00
Hans Leidekker bed3842c9a Added check for fork() to fix the MinGW build. 2004-10-14 03:08:57 +00:00
Gerald Pfeifer 8e85b37088 Completely disable unused function show_image(). 2004-10-14 00:34:47 +00:00
Jason Edmeades db7a50582c - Add support (as far as was previously) for the VertexBuffer and
Resource classes in wined3d and use when called from d3d9.
- Reduce the header includes in all the d3d9 interface to one common
  set in the private header.
2004-10-14 00:32:04 +00:00
Hans Leidekker 804277371a getMessage() is only defined when HAVE_OSS is defined. 2004-10-14 00:28:43 +00:00
Rein Klazes 8cd05a00e3 Provide an 'A' version of appropriate functions. 2004-10-14 00:28:29 +00:00
Hans Leidekker 9ec800fd6d Prefix _fsopen with MSVCRT_ to avoid collision with MinGW header.
Typo fix.
2004-10-14 00:26:39 +00:00
Bill Medland 3f3e29254b Fix SHDeleteKey so that it will handle deleting a key with more than
one subkey.  Also includes test.
2004-10-14 00:25:29 +00:00
Robert Shearman 6c50556e8b Fix function and structure field types so we are compatible with the
native dbghelp.
2004-10-11 21:00:17 +00:00
Robert Shearman 2050591370 Fix NtAllocateVirtualMemory declaration and fix users of the
function.
2004-10-11 20:59:06 +00:00
Walt Ogburn d5cf83317e Allow exponents of zero (like "1.000E0") to parse
correctly. Previously, they caused DISP_E_TYPEMISMATCH.
2004-10-11 20:53:29 +00:00
Alexandre Julliard de91a8dd0f Implemented NtYieldExecution. 2004-10-11 20:11:01 +00:00
Robert Shearman 5f21fd47f8 - Move header parsing to callers of pe_load_debug_directory.
- Add stubs and structures for LF_PROCEDURE types.
2004-10-11 20:08:07 +00:00
Eric Pouech 1876d185e9 - bring the multimedia doc up-to-date
- moved the TODO from the doc into the code
2004-10-11 19:57:10 +00:00
Dmitry Timoshkov c3cecc5d57 - WM_MDISETMENU handler should update new frame menu only if an active
and maximized MDI child is visible.
- Add a test case for MDI child activation sequence.
2004-10-11 19:55:28 +00:00