Commit Graph

11301 Commits

Author SHA1 Message Date
Mike Hearn 9b79651579 Fix PARAMFLAG_FOUT typo in the tmarshaller. 2005-03-25 16:38:37 +00:00
Mike McCormack 30e388af51 Use strdup, implement MsiDatabaseImportA. 2005-03-25 16:38:26 +00:00
Ulrich Czekalla 852fc5f161 Don't map point to parent's client window because the rest of the code
assumes screen coordinates.
2005-03-25 16:38:15 +00:00
Alexandre Julliard 4d32a475a8 Replace the link_window request by a set_parent request since that is
all link_window is used for at this point.
Get rid of the WIN_LinkWindow/UnlinkWindow functions.
2005-03-25 10:38:56 +00:00
Dimitrie O. Paun 0ac16713fd Proper handling for GWL_STYLE.
Minor cleanups.
2005-03-25 10:27:11 +00:00
Dimitrie O. Paun ecc850c460 Fix a memory leak in toolbar. Avoid casts. 2005-03-25 10:27:00 +00:00
James Hawkins 1ef206de77 Replace a trace with a previously removed test. 2005-03-25 10:26:18 +00:00
Dimitrie O. Paun b1d65cb15d Handle wParam in WM_PAINT properly: if non-null, it is the hdc we are
supposed to use to draw into.
2005-03-25 10:26:10 +00:00
Dimitrie O. Paun 8e276da00f Add Robert Shearman's explanation about WM_NCPAINT.
Move testing comments in a more appropriate place.
2005-03-25 10:25:45 +00:00
Jakob Eriksson d69bdcfc21 Don't run FilterGraph tests if FilterGraph functionality is not
available.
2005-03-25 10:25:24 +00:00
Jakob Eriksson ec6f9ad356 Fix thread affinity test for SMP machines. 2005-03-25 10:25:11 +00:00
Jakob Eriksson 53a4473334 No need continuing tests if no NetUserGetInfo. 2005-03-25 10:24:45 +00:00
Alexandre Julliard e802bcb2e2 Try a TrueColor visual if Xrender fails with a DirectColor one. 2005-03-24 21:04:10 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Alexandre Julliard 23d9ac25b2 Avoid calling WIN_ListChildren from the graphics drivers. 2005-03-24 20:41:27 +00:00
Kevin Koltzau f4767f1424 Added full support for xbuttons (side mouse buttons). 2005-03-24 19:15:41 +00:00
Alexandre Julliard 37698099d9 Take into account the more correct behavior of recent Linux kernels. 2005-03-24 19:05:02 +00:00
Mike McCormack 77a19ed8e6 Replace instances of HeapAlloc/MultiByteToWideChar with the internally
defined strdupAtoW.
2005-03-24 19:04:06 +00:00
Aric Stewart f8f64406fc If running in UI mode, then display the UI mode dialogs at the end of
the installs.
2005-03-24 19:03:45 +00:00
Alex Villacís Lasso 2dd3288c43 After Float->string conversion via sprintfW(), VarDecFromR[4|8] is
forced to use US locale for string->Decimal conversion, to agree with
sprintfW().
2005-03-24 19:03:14 +00:00
Jakob Eriksson 6be7d751a0 Fix some Windows 95 issues. 2005-03-24 19:02:38 +00:00
Alexandre Julliard 039603c77d Don't maintain a client-side WND structure for the desktop window.
Made WIN_GetPtr return WND_DESKTOP in that case.
2005-03-24 15:18:50 +00:00
Mike McCormack bf0f6a22d2 Make sure there's only one place we allocate dialog controls. 2005-03-24 15:09:31 +00:00
Mike McCormack c3ab871ff9 Clean up registry functions. 2005-03-24 15:09:18 +00:00
Phil Krylov 6b379fb29f Fixed \u keyword to output signed 16-bit values. Also fixed CP_SYMBOL
conversion and the detection of the default font's codepage.
2005-03-24 15:09:05 +00:00
Hans Leidekker caf62a40ff Pretend there are 0 terminal server sessions and processes. 2005-03-24 15:08:48 +00:00
Rein Klazes 3ef45c7805 Support relay tracing of functions with 18 arguments. 2005-03-24 15:08:37 +00:00
Raphael Junqueira 97d848aa19 - use WINE_DINPUT_KEYBOARD_MAX_KEYS instead hard-coded 256 value
- better use of critical section
- some cleanup to better understand code paths
- logic correction on SetWindowsHookExA/UnhookWindowsHookEx on
  keyboard.
2005-03-24 15:08:27 +00:00
Huw Davies b675c1a92e The depth of the colour bitmap needs to match that of the screen. 2005-03-24 15:07:40 +00:00
Dimitrie O. Paun 4cfce24f0e Complete the unicodification of comctl32undoc. 2005-03-24 15:07:23 +00:00
Alexandre Julliard 04881fae7a Get rid of the window lock suspend mechanism. 2005-03-23 13:18:51 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Hans Leidekker 860c90a322 Pretend there are 0 log records.
Improve traces.
2005-03-23 13:09:27 +00:00
Ron Jensen 888fb43ba2 Avoid bad visual errors in thread_selection_wnd(). 2005-03-23 13:08:35 +00:00
Alexandre Julliard 3b73e1277f Get rid of the remaining WIN_FindWndPtr calls. 2005-03-23 12:00:51 +00:00
James Hawkins 34955ea696 Add RegSaveKey, RegLoadKey tests. 2005-03-23 11:59:06 +00:00
Jason Edmeades 06c7c90a69 Make the treeview correctly search when the top index is selected. 2005-03-23 11:58:58 +00:00
Alex Villacís Lasso 38a03ca6c8 Test for PeekNamedPipe with zero-length buffer. 2005-03-23 11:58:32 +00:00
Robert Reif b19aaf1e46 Don't fail when opening a device in direct sound mode. Rather, try
alternate formats first before failing.
2005-03-23 11:58:05 +00:00
C. Scott Ananian afa94e3a98 Teach VERSION_GetLinkedDLLVersion about Mingw32 applications. 2005-03-23 11:57:39 +00:00
Alexandre Julliard 0bc8377bc2 Create a new server request for accepting hardware messages instead of
abusing reply_message.
Allow passing the determined window for a hardware message back to the
server to have it redispatch the message to the correct thread.
2005-03-23 10:33:17 +00:00
Robert Shearman caec6026e7 - Window styles passed to CreateWindowEx must the same as passed in
CREATESTRUCT for WM_CREATE/WM_NCCREATE.
- Fix cases where WS_EX_WINDOWEDGE style is applied.
- Tests for the above.
2005-03-23 10:26:15 +00:00
Marcus Meissner 6d32d63979 Fixed MsiDatabaseImportA, MsiDatabaseImportW, and
MsiCreateAndVerifyInstallerDirectory stub parameter counts.
2005-03-23 10:24:53 +00:00
Dimitrie O. Paun a46b7fb404 Complete unicodification of the treeview common control. 2005-03-23 10:24:42 +00:00
Dimitrie O. Paun 67607f9e4c Complete unicodification of the tooltips common control. 2005-03-23 10:24:20 +00:00
Dimitrie O. Paun e912c6a931 Complete unicodification of the toolbar common control.
Move a header comment for consistency with the other controls.
Very small alignment fixes.
2005-03-23 10:24:06 +00:00
Dimitrie O. Paun 2c236638a9 Complete unicodification of the rebar common control. 2005-03-23 10:23:41 +00:00
Dimitrie O. Paun 2fbd839e90 Complete unicodification of the propsheet common control. 2005-03-23 10:23:23 +00:00
Dimitrie O. Paun 4904c8b52b Complete unicodification of the header common control. 2005-03-23 10:23:06 +00:00
Dimitrie O. Paun 8d435f04f8 Complete unicodification of the flatsb common control. 2005-03-23 10:22:52 +00:00
Dimitrie O. Paun 2e0431ea44 Complete unicodification. 2005-03-23 10:22:37 +00:00
Jeremy White cd5ee268b8 Revamp the volume logic to be more self contained, fix a few bugs so
that the volume is correctly read, and is correctly converted to
windows style volume numbers.
2005-03-23 10:22:16 +00:00
Alexandre Julliard 564915eadc Simplify hardware message processing by merging the "raw" and "cooked"
processing into a single function.
2005-03-22 21:48:40 +00:00
Hans Leidekker ac147fefc7 Fix some -Wsign-compare and -Wuninitialized warnings. 2005-03-22 21:17:34 +00:00
Mike Hearn 3a9587e09f Log to +seh when an IsBad* function faults. 2005-03-22 21:16:39 +00:00
Jakob Eriksson 4fead33f30 If the device gets interrupted, we just give up. 2005-03-22 21:16:24 +00:00
Jakob Eriksson e4fea46b94 Test fix. 2005-03-22 21:16:04 +00:00
Alexandre Julliard 3ea748b7c8 Fetch again the file time to compare against to avoid rounding errors. 2005-03-22 21:14:51 +00:00
Jakob Eriksson 195d4018aa Abort if we can't create a named pipe at all. 2005-03-22 21:14:00 +00:00
Jakob Eriksson 461c830745 Eliminate HeapAlloc casts. 2005-03-22 18:26:06 +00:00
Alex Villacís Lasso 341f98ad8f PeekNamedPipe now checks both for a NULL buffer and a zero-length
buffer before trying to recv() from the pipe.
2005-03-22 18:23:44 +00:00
Jakob Eriksson b718b0b019 StrRetToStrNAW returns ok on NT4, though it should return FALSE. 2005-03-22 18:19:13 +00:00
Jakob Eriksson 665b9ca377 More trace info from storage32 test. 2005-03-22 18:18:43 +00:00
Jakob Eriksson a4fe0d6003 More trace info. 2005-03-22 18:18:14 +00:00
Rustam Chernotkach 1283bd9354 Added support for ANAT (Anadyr Standard Time) to TZ_INFO. 2005-03-22 18:17:31 +00:00
Jakob Eriksson c515a306e6 If the variable does not exist, just return. 2005-03-22 18:17:07 +00:00
Jakob Eriksson 4364d06821 Windows 98 doesn't like it when we delete the tempfile. 2005-03-22 18:16:53 +00:00
Aric Stewart 8760ed97f2 Test package creation. 2005-03-22 16:45:55 +00:00
Dmitry Timoshkov e842676194 If an MDI child becomes active restore previously maximized MDI
child.
2005-03-22 16:45:31 +00:00
Jakob Eriksson caf7aefc65 Fix patching error in file time test. 2005-03-22 16:44:57 +00:00
Dmitry Timoshkov 10a7c25ac7 Add support for Serbian cyrillic X11 keyboard layout. 2005-03-22 16:42:47 +00:00
Phil Krylov 0fdbec319b Made RTF reader and writer handle codepages mostly similar to the
original riched20.dll.
2005-03-22 16:41:36 +00:00
C. Scott Ananian aa6367400a EDIT_EM_SetSel: Old/new selection range ordering code would break when
old_end < start < end < old_start.
Reset EF_UPDATE flag after we've sent the update.
2005-03-22 16:40:36 +00:00
Hans Leidekker 8cf1389409 Dutch resource translation. 2005-03-22 16:39:25 +00:00
Jakob Eriksson 30af06f788 Fix for NT4 behaviour. 2005-03-22 16:39:02 +00:00
Alexandre Julliard 5054c79880 Try to always keep the server window Z-order in sync with the X11 one
using a heuristic based on mouse and expose events.
2005-03-21 12:37:00 +00:00
Troy Rollo 9c7932d475 Implement CreateUrlCacheEntryW and CommitUrlCacheEntryW. Replace the
existing 'A' versions with calls to the 'W' versions.
2005-03-21 12:33:17 +00:00
Robert Reif f1565973b6 Fix direct sound capabilities to match hardware. 2005-03-21 12:32:48 +00:00
Alexandre Julliard c3b7da47f8 Fixed a missing patch chunk. 2005-03-21 11:50:06 +00:00
Dimitrie O. Paun ad23586ce1 Pull the WM_TIMER handling into its own function.
ANIMATE_DrawFrame shouldn't worry about locking, the lock should be
held by the caller.
2005-03-21 11:27:49 +00:00
Mike McCormack 17c3106896 Eliminate casts of the return value of HeapAlloc. 2005-03-21 11:25:13 +00:00
Mike McCormack 3a0f930ab4 Remove casts and unused code. 2005-03-21 11:24:38 +00:00
Thomas Kho 2a7fce1ce2 Added tests for sendto, recvfrom, and getservbyname. 2005-03-21 11:21:31 +00:00
Robert Reif 3279b6de6e Clean up handle usage. 2005-03-21 11:21:18 +00:00
Alexandre Julliard 44e6d5a48d Don't try to resync Z-order on ConfigureNotify events, this cannot
work right anyway.
2005-03-21 10:57:21 +00:00
Vincent Béron 811725ac20 Correct and complete some api documentation. 2005-03-21 10:55:13 +00:00
Troy Rollo 085f95ec3a Corrections to UrlIsW and UrlIsA.
URL_IS_OPAQUE results depend only on the scheme, not on the URL.
URL_IS_FILEURL also only depends on the scheme ("file:").
2005-03-21 10:54:35 +00:00
Glenn Wurster a21255d102 Remove break statements missed in last patch. 2005-03-21 10:53:42 +00:00
Vincent Béron 1d5df043d4 WineDirect3DCreate has 3 args in the source. 2005-03-21 10:52:32 +00:00
Vincent Béron 0bdac8c0f9 Use "" for Windows includes in dlls, instead of <>. 2005-03-21 10:52:26 +00:00
Jacek Caban fbe35b626f Key words and replacements are case insensitive. 2005-03-21 10:52:04 +00:00
Robert Shearman 6a365e0074 iSelectedImage is allowed to be 0. 2005-03-21 10:51:14 +00:00
Robert Shearman 77fcaa4b93 Fix SHCopyKey to treat string parameter correctly as source path
instead of destination path.
2005-03-21 10:50:55 +00:00
Vincent Béron 1e365f7791 Fixed some calling conventions. 2005-03-21 10:32:45 +00:00
Dimitrie O. Paun dcd3fde210 Complete unicodification. 2005-03-21 10:30:33 +00:00
Dimitrie O. Paun d09baae23d Proper handling for GWL_STYLE.
Store and use hwndSelf in the PAGER_INFO.
Pass the infoPtr around instead of hwnd.
Use proper types in the function signatures.
Fix a few return statements.
2005-03-21 10:30:18 +00:00
Troy Rollo 963b63ecbd ix test for STGM_SHARE_EXCLUSIVE on nameless DocFiles. 2005-03-21 10:30:01 +00:00
Christian Costa 967f11dd8d Removed wrong FIXMEs. 2005-03-21 10:28:49 +00:00
Filip Navara 4a5ade0eb1 Specify correct buffer size in GetPrivateProfileStringW calls. 2005-03-21 10:28:38 +00:00
Ivan Leo Puoti 627d2fa7a2 Improve parameter checking in NtCreateFile.
Add documentation for ea_buffer and ea_length.
2005-03-21 10:28:23 +00:00
Matthew Mastracci 9eead12471 If a FOURCC surface specifies DDSD_PITCH, use that instead of
dwLinearSize.
2005-03-21 10:28:09 +00:00
Dimitrie O. Paun 3e7c8e78dc Delete the critical section when freeing up the infoPtr. 2005-03-21 10:27:58 +00:00
Robert Reif 0c9c020d68 Print out message name to make reading traces easier. 2005-03-21 10:27:47 +00:00
Krzysztof Foltman d6b198b3bd - PageUp key support.
- Support for "normal" scroll bar functionality (line and page
  scrolling).
2005-03-21 10:27:24 +00:00
Alexandre Julliard f1020bc6e0 Added support for the TLS expansion slots, adding an extra 1024
entries.
2005-03-19 17:14:12 +00:00
Robert Reif 2b3aa7c5be Fall back to default prepare/unprepare header functions. 2005-03-19 17:11:02 +00:00
Robert Reif 1e17a784c6 Fix block align error message to show length before fix up. 2005-03-19 17:09:33 +00:00
Mike McCormack fd40ace3d3 Fix usage of STGM_ enumerations, remove forward declaration. 2005-03-19 17:09:14 +00:00
Mike McCormack 2597b1beca Remove forward declarations of interface methods. 2005-03-19 17:09:03 +00:00
Mike McCormack b7cc006c33 Remove an unused function. 2005-03-19 17:08:52 +00:00
Mike McCormack 4c20cc6f0f - test cases for summary information
- fix memory leaks
2005-03-19 17:08:34 +00:00
Krzysztof Foltman 810b261175 - made string operations consistent wrt whitespace handling (which
should greatly improve stability of the wrap code and eliminate
  regressions of the most recent versions)
- completely new scrollbar handling (much more reliable) and related
  redraw fixes
- Page Down handler (no Page Up yet, fixing wrap/redraw/scrollbar bugs
  was of higher priority)
2005-03-19 17:06:17 +00:00
Robert Shearman 16779f1e5e Fix deadlock caused by not leaving the critical section on all code
paths.
2005-03-19 17:05:41 +00:00
Robert Shearman 1571df5722 Fix memory leak in OleDuplicateData on error path (found by Smatch). 2005-03-19 17:05:12 +00:00
Ulrich Czekalla 11f2cb1877 GetCPInfo should return FALSE if called with NULL info buffer. 2005-03-19 17:04:56 +00:00
Jacek Caban e10b58425f Added implementation of File[Un]Register and Resource[Un]RegisterSz. 2005-03-19 17:04:13 +00:00
Jon Griffiths 1174e64928 Avoid a magic number. 2005-03-19 17:03:43 +00:00
C. Scott Ananian f65e415d64 UPDOWN_GetBuddyInt should not fail when the control is empty. 2005-03-18 14:09:12 +00:00
Jacek Caban 7ff344e20f Fixed vartype test. 2005-03-18 14:02:12 +00:00
Mike McCormack 758a69515b Implement summary information loading and saving. 2005-03-18 14:01:39 +00:00
Jon Griffiths 6064680f71 Implement @188,190,195,200,256,478,481.
IUnknown_EnableModeless() also handles IOleInPlaceActiveObject.
2005-03-18 14:01:16 +00:00
Alexandre Julliard 654eee5291 Revert changes to the painting code, the WM_CTLCOLORSTATIC message
should not be sent from the animation thread.
2005-03-18 10:30:13 +00:00
Robert Reif 03c88f5f60 Add support for more than one sound card.
Fix wave out support when no volume control is present.
Use proper structure for wave in device caps.
2005-03-18 10:26:05 +00:00
Robert Reif 83d29a0761 Check wave out volume support. 2005-03-18 10:25:48 +00:00
Jacek Caban b91e2d4a66 Fixed atl.rgs. 2005-03-18 10:25:34 +00:00
Jacek Caban f362a3f408 Keys may have only one of attributes. 2005-03-18 10:25:29 +00:00
Gerald Pfeifer e8a5c293c1 Fix compilation of the case without proper Linux joystick support. 2005-03-18 10:25:15 +00:00
Phil Krylov 297cd99ca3 Fixed support for RTF documents using ANSI charset and added support
for multibyte charsets, so that BIG5 and UTF-8 RTF documents are
working now.
2005-03-18 10:24:51 +00:00
Jon Griffiths dbf222f3aa Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc). 2005-03-17 20:53:37 +00:00
Aric Stewart 984931bd09 For ShellExecuteExA we need to copy out the hProcess value from the W
structure.
2005-03-17 20:50:53 +00:00
Juan Lang be84f8d9e6 Begin implementing IPropertyStorage. 2005-03-17 20:50:35 +00:00
Alexandre Julliard f75609087a Make the server know about the visible area of a window, which is the
window rect minus the caption and borders when they are handled by the
window manager.
2005-03-17 19:10:41 +00:00
Dmitry Timoshkov 75b93ff1aa Match OVERLAPPED structure to the SDK definition. 2005-03-17 19:00:08 +00:00
Robert Reif 99042cfe64 Fall back to default header prepare and unprepare functions. 2005-03-17 18:56:14 +00:00
Mike McCormack 4098dc64ca Remove some dead code and some ifdefs. 2005-03-17 18:55:49 +00:00
Hans Leidekker e82731a3c7 Add more tests and fix InternetTimeToSystemTimeW accordingly. 2005-03-17 18:55:41 +00:00
Mike McCormack c9bd224f0f Fix a regression in the file open dialog. 2005-03-17 18:55:16 +00:00
Ivan Leo Puoti f70e80b311 Add parameter checking and remove last fixme. 2005-03-17 18:55:00 +00:00
Jakob Eriksson 7676e9b868 More trace info. 2005-03-17 18:54:31 +00:00
Robert Reif f7be545ede Use real device name. 2005-03-17 18:54:20 +00:00
Alexandre Julliard 4e47afb36f Compute the top clipping window directly on the server side. 2005-03-17 14:02:06 +00:00
Jakob Eriksson 7670aa128b More trace info. 2005-03-17 13:58:06 +00:00
Mike McCormack 74952777e3 Fix dependencies. 2005-03-17 13:57:44 +00:00
Mike McCormack b12ce9b446 Convert path to unicode, rearrange to remove forward declaration. 2005-03-17 13:57:38 +00:00
Phil Krylov 0284930129 Replaced slow and outdated character set handling in RTF reader by
Unicode/codepages support. Added charset->codepage conversion.
2005-03-17 13:57:27 +00:00
Robert Shearman 1b5ebabdce - Add critsec debugging info.
- Move the modal loop called during RPCs into CoWaitForMultipleHandles.
- Use a mutex for long remoting calls to IRemUnknown methods.
- Remove locking in apartment_disconnectproxies as it is not needed.
- Use PostMessage instead of SendMessage so we can run the message
  loop or not as appropriate.
2005-03-17 10:26:20 +00:00
Jeremy White 40df53aae2 Do not fallback to defaults if a driver, mapper, or midi is specified
in the registry; consolidate MMDRV_Init() into a single function.
2005-03-17 10:25:25 +00:00
Juan Lang ac24801db0 Add a comment about byte order, change types to reduce casting and not
cast away constness.
2005-03-17 10:25:13 +00:00
Jacek Caban 3475dcdb93 Added implementation of DllCanUnloadNow. 2005-03-17 10:24:42 +00:00
Krzysztof Foltman f089de1f4d - RTF reader doesn't use RichEdit messages anymore (which saves on
unnecessary repaints)
- added unicode character support to RTF import (like: \u12345 ?)
- small fixes
- fixed whitespace identification bug
- removed drawing of paragraph marks
- improved stub implementations for IRichEditOle
2005-03-17 10:23:40 +00:00
Phil Krylov 48061e6899 Improved RTF export. 2005-03-16 20:18:11 +00:00
Jakob Eriksson b9fddc05de Test failed before on 98, NT4, 2000 and XP. 2005-03-16 20:17:31 +00:00
Alexandre Julliard 9ff2eea0e1 Don't force injected hardware messages to be queued in the current
thread.
2005-03-16 20:10:35 +00:00
Alexandre Julliard bcb7591e41 Converted the make_ctests script to C (based on a patch by Royce
Mitchell III).
2005-03-16 20:02:17 +00:00
Jacek Caban d12cb30693 Use ATLRegistrar to register atl.dll. 2005-03-16 19:53:41 +00:00
C. Scott Ananian 793fd5646b Started a unit test case for the updown control. 2005-03-16 19:52:40 +00:00
Filip Navara 9f2bbd6566 _dbg_ILGetNext returns NULL if pidl->mkid.cb is zero, fix the loops
accordingly.
2005-03-16 19:51:13 +00:00
Jason Edmeades c7e815c53b Correct memory allocation macro. 2005-03-16 19:50:49 +00:00
Jakob Eriksson 534cf2334f Fix broken test. 2005-03-16 19:49:57 +00:00
Jakob Eriksson d4727291ca SetDisplayMode can return DDERR_UNSUPPORTED. If it does, we shouldn't
try to restore something either.
2005-03-16 19:49:25 +00:00
Ulrich Czekalla e3b59eac24 Don't mark a file as readonly if it has any write bit set. 2005-03-16 19:48:42 +00:00
Dimitrie O. Paun fa241ee719 Audit the control against Comctl32.dll version 6.0.
Proper handling of GWL_STYLE.
Implement WM_CLOSE. Fix WM_SIZE implementation.
Small cleanups.
2005-03-16 19:47:52 +00:00
Jon Griffiths 86ad22bf9b Fix two failures and (hopefully) a crash with early versions. 2005-03-16 19:47:37 +00:00
Juan Lang 2786964da2 Correct registering shell folders (values in Shell Folders key weren't
getting written).
2005-03-16 11:37:46 +00:00
Mike McCormack 95dea4969a - Rename dupstrW to strdupW, and remove duplicate definition.
- Move definition of string manipulation functions to msipriv.h.
2005-03-16 11:31:35 +00:00
Dmitry Timoshkov 12bbaa7baf Actually print dwExStyle in case of a mismatch. 2005-03-16 11:30:51 +00:00
Robert Reif 1a90d1cc3c Provide default implementation of waveInPrepareHeader and
waveInUnprepareHeader if driver doesn't support them.
2005-03-16 11:30:34 +00:00
Robert Reif c90c9c7473 waveInPrepareHeader and waveInUnprepareHeader are not really needed
because the contents don't change.
2005-03-16 11:30:17 +00:00
Krzysztof Foltman c4c11d2515 - Unknown destinations are now correctly skipped (so loading an RTF
file generated by, for example, OpenOffice doesn't produce lots of
  garbage anymore).
- Format stack for RTF groups (so that RTF reader can correctly read
  what RTF writer wrote :) )
2005-03-16 11:27:43 +00:00
Hans Leidekker e8e1c656d3 Stub implementations for WTSCloseServer, WTSDisconnectSession,
WTSEnumerateProcesses{A,W}, WTSEnumerateSessions{A,W},
WTSQuerySessionInformationA.
2005-03-16 11:27:05 +00:00
Alexandre Julliard 6451e221f3 Build a static list of devices instead of relying on ELF
constructors.
2005-03-15 19:36:15 +00:00
Jakob Eriksson 16ff109b0f More trace info. 2005-03-15 19:33:32 +00:00
Jakob Eriksson 21a0c3b4fc CryptAcquireContextA() can return NTE_FAIL on Windows 98. 2005-03-15 19:32:38 +00:00
Filip Navara b4e5e049ba Initialize the "toc" field in the pdb_lookup structure in order to
prevent pdb_free_lookup from trying to delete invalid pointers.
2005-03-15 19:32:14 +00:00
Robert Reif 9329e8f831 Unconditionally free memory. Should make smatch happy. 2005-03-15 19:31:55 +00:00
Phil Krylov bf4dc2e152 Implemented hash table lookup for RTF keywords in RTF reader. 2005-03-15 19:31:44 +00:00
Krzysztof Foltman d4cf45e3f1 - WM_COPY (and WM_CUT) can now put both Unicode and RTF format (thanks
to Phil Krylov's RTF generator code).
- New message implemented - WM_PASTE.
- RTF reader: rtfPlain implemented (kind of).
- RTF writer: rewritten main loop (the old one crashed in some
  circumstances when SFF_SELECTION was used).
2005-03-15 15:40:52 +00:00
Robert Reif 7f6536c504 Change some global variable names.
Cleanup usage of global dsound variable to not use local variable of
same name.
Almost ready to add support for more than one sound card at the same
time.
2005-03-15 15:40:35 +00:00
Dimitrie O. Paun e3335ee7c1 Cleanup and simplify the painting code.
Fix a potential bug along the way.
2005-03-15 15:39:38 +00:00
Robert Reif 8b55b76daf Fix memory leak in error path. 2005-03-15 15:39:03 +00:00
Robert Reif cf4d0d9707 Fix memory leak when there are too many drivers. 2005-03-15 15:38:48 +00:00
Jason Edmeades 17cff085fb Avoid trap in mixerGetLineControlsA when cControls is uninitialized
and MIXER_GETLINECONTROLSSF_ONEBYTYPE requested.
2005-03-15 15:38:34 +00:00
Stefan Leichter 1a7a4fbe58 Make mlang_test.exe loadable on NT 4.0. 2005-03-14 21:41:27 +00:00
Phil Krylov c6ea6caecb Initial implementation of EM_STREAMOUT and RTF writer. 2005-03-14 21:41:16 +00:00
Phil Krylov e3d8bf9d70 Added "generator" RTF destination handling. 2005-03-14 21:40:48 +00:00
Alexandre Julliard 3fe9aa2054 Avoid accessing an uninitialized string in the failure case. 2005-03-14 17:20:58 +00:00
Matthew Mastracci c53d554b72 Implement RegisterOCX.
Stub for DelNodeRunDLL32.
2005-03-14 17:16:03 +00:00
Dmitry Timoshkov 72a4df9459 Do not release capture before sending WM_NCDESTROY message, update the
tests to reflect that.
2005-03-14 17:15:33 +00:00
Peter Berg Larsen 25a6663243 Assorted memleak fixes. Found on Michael Stefaniuc smatch list. 2005-03-14 17:13:44 +00:00
Ralf S. Engelschall 04db693ea7 Fix incorrect random multicast MAC address creation. 2005-03-14 10:53:57 +00:00
Ivan Leo Puoti 10f1067e0b Update ntdll.spec against current Microsoft build. 2005-03-14 10:53:36 +00:00
Jacek Caban 544a1a2c4a Added implementation of ATLRegistrar. 2005-03-14 10:51:27 +00:00
Evan Deaubl 20c93c2c0d TREEVIEW_DoSelectItem should not do any of the TVGN_FIRSTVISIBLE work
if the newSelect parameter is NULL.
2005-03-14 10:51:06 +00:00
Martin Fuchs 824353d01b - switch to correct shell desktop context menu
- launch desk.cpl when activating the desktop context menu entry
  "properties"
- don't send WM_COMMAND if we didn't get a shell view window
2005-03-14 10:49:03 +00:00
Joris Huizer 34a0463bca A few memory checks avoiding memory leaks. 2005-03-14 10:46:50 +00:00
Oliver Stieber ba5eb14768 Encapsulate texture, surface encapsulated.
Added BindTexture, GetTextureDimensions, UnBindTexture.
Proper GetContainer support for surface.
SetContainer added to surface and volume.
SetInPbufferState added to surface (until gl context management is
implemented).
Minor changes:
- BaseTexture no longer 'holds' a reference to IWineD3DDevice to
  prevent circular referencing.
- Better managment of referinging for texture.
- Some TODO's for implementing a context manager.
- Better preload implementation.
- Fix compile warning in device.c Set/GetSamplerState.
- Add QueryInterface support for surface.
- Format X8R8G8B8 added to locking.
2005-03-14 10:12:52 +00:00
Robert Shearman 64280a6de4 - RpcMgmtStopServerListen should not affect auto-listen interfaces.
- Implement stub for RpcRevertToSelfEx.
- Change the more verbose files to use a new debug channel, "rpc."
2005-03-14 10:11:04 +00:00
Jon Griffiths 6cf8602ebb Comment out a test that crashes on early versions. 2005-03-14 10:10:00 +00:00
Jon Griffiths db66ec0e55 Tests and small fix for PathMakePretty().
Fix a crash and test failure with early native dlls.
2005-03-14 10:09:53 +00:00
Dimitrie O. Paun 5294ba5816 Unicodification and typesafe interfaces. 2005-03-14 10:09:24 +00:00
Alexandre Julliard 232760ded0 Authors: Mike Hearn <mh@codeweavers.com>, Robert Shearman <rob@codeweavers.com>
- Implement VT_BYREF | VT_BSTR marshalling.
- Add more integer types for marshaling and unmarshaling.
- Implement VT_BYREF | VT_BSTR unmarshaling.
- Don't allocate memory for TKIND_DISPATCH/TKIND_INTERFACE
  unmarshaling as it will be lost in the success case and interferes
  with the failure case.
2005-03-14 10:09:11 +00:00
Ivan Leo Puoti 9601b97cc3 Make Rtl*Registry* functions case insensitive. 2005-03-14 10:08:21 +00:00
Gerald Pfeifer 04606af829 Make ME_ArrowLeft() return a value in every case. 2005-03-14 10:08:00 +00:00
Juan Lang 148f6421ed Change a fixme to a warn, and use W version of call. 2005-03-14 10:07:11 +00:00
Ulrich Czekalla f4f7689c2e If a zero index is passed to META_SELECTCLIPREGION reset the clip
region.
2005-03-14 10:06:54 +00:00
Juan Lang 8528796c48 Fix a test to pass under XP. 2005-03-14 10:05:58 +00:00
Dmitry Timoshkov a2e24748b1 Fix some msg.c and win.c failures running on NT4 and XP. 2005-03-14 10:05:50 +00:00
Steven Edwards ed212f728d Correct CheckBitmapBits entry. 2005-03-14 10:04:56 +00:00
Steven Edwards 15cc98515c Link mapi32 to ntdll. 2005-03-14 10:04:40 +00:00
Alex Villacís Lasso 3cea3a5f34 Add ECT to timezone list. 2005-03-14 10:04:30 +00:00
Robert Reif 1a843b93b6 Private property sets do not exist in early versions of Direct Sound
so skip tests if not supported.
Add tests for A, W and 1 variations of data.
2005-03-14 10:04:07 +00:00
Robert Reif ea7fa3c7db Add missing functionality.
Add more and better error messages.
Add checks for failed HeapAlloc.
2005-03-14 10:03:54 +00:00
Peter Berg Larsen 4293b614c4 Assorted memleak fixes. Found on Michael Stefaniuc smatch list. 2005-03-14 10:03:39 +00:00
Alexandre Julliard 2444f4af09 Replace calloc() by HeapAlloc(). 2005-03-11 13:25:42 +00:00
Mike McCormack 77fc6a5d82 StgOpenStorage shouldn't open zero length storage files. 2005-03-11 13:17:10 +00:00
Thomas Kho e95de008e3 Added select_server() test that uses select() in serving clients. 2005-03-11 12:53:12 +00:00
Peter Berg Larsen 001a936176 Assorted memleak fixes. Found on Michael Stefaniuc smatch list. 2005-03-11 12:50:27 +00:00
Oliver Stieber 8435f6f058 Change AddRef in queryInterface to IUnknown_AddRef.
Move ppVoulme to d3d9voloumeimpl structure.
Some minor stylistic changes (making everything the same).
2005-03-11 10:25:30 +00:00
Krzysztof Foltman 898068f3ce - EM_STREAMIN can now deal with undo in a reasonable manner (no
multiple undo actions in one EM_STREAMIN).
- Related changes to undo code (umIgnore mode is now handled
  correctly).
- Numerous improvements in the RTF reader: it reads some character
  attributes now (you will have proper small print in license agreements
  now).
- Fixed a memory overwrite bug in conversion from CHARFORMAT2A to
  CHARFORMAT2W.
2005-03-11 10:24:56 +00:00
Robert Shearman 8971f06225 - Rename apartment functions to become more object-oriented.
- Rename register_ifstub to marshal_object to more accurately describe
  what it does.
- Add new function, apartment_getoxid, to prepare for a possible
  future patch where remoting is started on demand.
2005-03-11 10:19:10 +00:00
Robert Shearman ac23f2c810 Add outer unknown support for typelib marshaler. 2005-03-11 10:18:31 +00:00
Juan Lang 6f87386a98 Fix a crash if the Mozilla ActiveX control doesn't implement
DllCanUnloadNow.
2005-03-10 17:25:23 +00:00
Juan Lang 23805995a6 Fix the calling convention of DllCanUnloadNow. 2005-03-10 17:25:02 +00:00
Juan Lang 35c65cf731 Fix a regression in AppSearch. 2005-03-10 17:24:20 +00:00
Juan Lang 3d4ce5c2c1 Implement MsiEnumRelatedProducts. 2005-03-10 17:24:05 +00:00
Alexandre Julliard b9a9de6eb9 Clear the internal paint flag in the server before returning a
WM_PAINT message to avoid an extra server round-trip.
2005-03-10 17:19:33 +00:00
Marcus Meissner af54602c7a Use 512 byte buffer for buffer of LB_GETTEXT and CB_GETLBTEXT.
Added testcase with > 256 byte string in listbox.
2005-03-10 17:17:22 +00:00
Uwe Bonnes a12c6b662d Test for %Systemroot%. 2005-03-10 17:15:39 +00:00
Phil Krylov fa3f66287c Implemented GetScrollBarInfo() function and SBM_GETSCROLLBARINFO
message.
2005-03-10 17:15:32 +00:00
Alexandre Julliard 85c81bf419 Merge the rest of the messaging code into dlls/user/message.c and get
rid of windows/message.c.
2005-03-10 15:47:53 +00:00
Alexandre Julliard 99615021fb Properly cope with get_message being called recursively while
processing a hardware message.
2005-03-10 11:52:25 +00:00
Raphael Junqueira d574e9a2db - XListInputDevices spec say that device list should be freed using
XFreeDeviceList
- better robustness on X11DRV_AttachEventQueueToTablet
2005-03-10 11:48:28 +00:00
C. Scott Ananian 9ef2706a77 Allow scanf to continue parsing format string after a '%n'. 2005-03-10 11:44:19 +00:00
Alexandre Julliard 98eacd5426 Allocate fonts and regions from the large heap too. 2005-03-10 11:20:51 +00:00
Mike McCormack f79863d20f Forward the RichEdit 1.0 control to the RichEdit 2.0 control. 2005-03-10 11:16:35 +00:00
Juan Lang 5ebd4e938e - make sure msihandle2msiinfo is correctly matched with msiobj_release
- don't do redundant NULL checks
2005-03-10 11:15:40 +00:00
Robert Shearman 7707a765b7 - Fully delete custom headers on connection opening.
- Free unneeded memory on clearing of standard headers.
- Fix index sanity test in delete function.
2005-03-10 11:14:24 +00:00
Alexander Yaworsky 401d4cf42a Correct incorrect use of arguments to QueryServiceConfigA. Spotted by
Troy Rollo.
2005-03-10 11:14:04 +00:00
Raphael Junqueira 695f316c3a - implements WGL_ARB_render_texture support (no more stubs)
- pass glXGetProcAddressARB ptr to initialise function
2005-03-10 11:13:33 +00:00
Paul Vriens fc1f63d279 Check always if destination surface is locked. 2005-03-10 11:13:11 +00:00
Alexandre Julliard 8382bf015e Added WM_X11DRV_DELETE_WINDOW message to handle close requests so that
we can send the WM_SYSCOMMAND with SendMessage instead of PostMessage.
Added missing NONAMELESSUNION define.
2005-03-09 18:46:13 +00:00
Krzysztof Foltman f7e0f7cabe - Optimized repaint of the area below the text.
- ME_JoinRuns didn't mark the paragraph for rewrapping, fixed.
- Removed PostQuitMessage(0) from WM_DESTROY handler (duh!).
- Use of EM_GETOLEINTERFACE is reported with FIXME instead of TRACE
  (any app using this message is likely to encounter major problems).
2005-03-09 18:43:18 +00:00
Hans Leidekker 639a87cb6e - Implementation stubs for GenerateCopyFilePaths,
SpoolerCopyFileEvent.
- Call DisableThreadLibraryCalls on process attach.
- Document more functions.
2005-03-09 18:42:52 +00:00
Paul Vriens 327049504b Check for NULL before touching src. 2005-03-09 18:42:35 +00:00
Alexandre Julliard aef19abc82 Moved SendInput and related functions to the USER driver to avoid a
number of dll separation hacks.
2005-03-09 16:45:23 +00:00
Michael Jung 015d2a4dbe Beginning of a shell namespace extension to browse the unix
filesystem.
2005-03-09 16:41:17 +00:00
Phil Krylov 95e527b0f4 Changed buffer size for EM_STREAMIN message to 4096, as it's what M$
uses.
2005-03-09 12:40:01 +00:00
Maxime Bellengé cbd3a53d4b Implemented MIIM_BITMAP state.
Handle MNS_CHECKORBMP style.
2005-03-09 12:39:01 +00:00
Alexandre Julliard b58c170c4d Make the SwapMouseButton function and the SPI_SETMOUSEBUTTONSWAP
parameter work on the same flag.
2005-03-09 11:51:31 +00:00
Krzysztof Foltman 89075fb429 The meaning of the rewrap flag got inverted (MEPF_REWRAP instead of
MEPF_WRAPPED) for consistency.
Major code cleanups in rewrap/repaint code, leading to "smarter"
behaviour wrt repainting selections.
2005-03-09 11:48:59 +00:00
Raphael Junqueira aa5676bd27 Avoid ConvertToGlobalHandle calls. 2005-03-09 11:48:05 +00:00
Mike McCormack 6f2f76c410 Shared reading of storage files requires STGM_TRANSACTED. 2005-03-09 11:44:59 +00:00
Gabriel Buades Rubio 55559aa3f7 When sending multi-line boxes to console throgh WineConsoleOutputA,
only the first line was being translated into wide-chars.
2005-03-09 11:44:33 +00:00
Jacek Caban cf8b29f7e0 More implementation of IRecordInfo. 2005-03-09 11:43:55 +00:00
Alexandre Julliard cdb2bfe884 Process only pending expose events during RDW_UPDATENOW, not all the
other X events.
2005-03-08 19:26:57 +00:00
Alexandre Julliard 5beccd01ac Take into account the event mask passed to MsgWaitForMultipleObjectsEx
to allow processing only a subset of the available X events.
2005-03-08 19:20:14 +00:00
Krzysztof Foltman 043b5d9bab - specialized handler for SF_TEXT (ANSI or Unicode), simple and fast
- clears control's text on EM_STREAMIN with no SFF_SELECTION
2005-03-08 19:03:01 +00:00
Krzysztof Foltman 5c01752254 - Single quotes are now handled properly (previously they were
inserted as [[']]).
- Better handling of callback function's results.
2005-03-08 19:01:25 +00:00
Hans Leidekker 3137566631 - Implement TranslateBitmapBits.
- Don't pass bogus intent values to lcms.
2005-03-08 19:00:14 +00:00
Maxime Bellengé ca6cb6b08b - Fix unmovable windows if the window style is set to WS_POPUP |
WS_VISIBLE and WS_EX_APPWINDOW.
- Fix metacity displaying decorations where it should not.
2005-03-08 18:58:25 +00:00
Alexandre Julliard 7b738b7f8c Make sure to always pass valid QS_* flags to
MsgWaitForMultipleObjects.
2005-03-08 17:00:38 +00:00
Dimitrie O. Paun c02dd0a902 Add support for .exe's with exported functions. 2005-03-08 16:55:26 +00:00
Alexandre Julliard 484ef02aab Added support for iso8859-16 charset. 2005-03-08 16:46:54 +00:00
Aric Stewart 214b897bcd Implement EM_GETOLEINTERFACE. 2005-03-08 16:46:00 +00:00
Ulrich Czekalla e15e5179c2 Allocate space for terminating null. 2005-03-08 16:44:51 +00:00
Krzysztof Foltman 300f684053 Old font management replaced by the cache-based one, which keeps
maximum of 10 HFONTs at once, instead of one per a couple of runs.
2005-03-08 16:26:23 +00:00
Francois Gouget 219e76fd06 Add a comment explaining why CDLGetLongPathName[AW] and
IsJITInProgress have hardcoded ordinals.
2005-03-08 16:23:52 +00:00
Ulrich Czekalla 5f08b9f7b0 Fix a memory leak. 2005-03-08 16:23:36 +00:00
Alexandre Julliard f210c0bbad Added a missing prototype. 2005-03-07 20:08:50 +00:00
Ulrich Czekalla 5067909587 Create a thread-specific selection window to make sure we receive the
selection events in the correct thread.
2005-03-07 19:31:46 +00:00
Rein Klazes 0ed059cd77 Support execution of pif files. 2005-03-07 19:24:43 +00:00
Alexandre Julliard 9bcdd7ca19 Authors: Justin Chevrier <jchevrier@nexicom.net>, Paul Vriens <Paul.Vriens@xs4all.nl>
- Consolidate error message handling.
- Add error checking to all initial SystemParametersInfoA calls in
  each parameter test to make sure that if a given parameter isn't
  supported or has failed in some other way that we return and don't
  continue on with the test.
- SetLastError before calling test_error_msg.
- SPI_{GET,SET}ICONTITLEWRAP is supported on Win98.
2005-03-07 19:23:32 +00:00
Jacek Caban 0f9c43d8a5 - Implemented GetRecordInfoFromTypeInfo and GetRecordInfoFromGuid.
- Beginnig implementation of IRecordInfo.
2005-03-07 19:22:48 +00:00
Alexandre Julliard 97d6e7fd3d Moved TranslateMessage and DispatchMessage to dlls/user/message.c.
Added support for posting internal messages.
Added support for driver-specific internal messages.
2005-03-07 17:19:24 +00:00
Alexandre Julliard 32e4ca0ec1 Set SM_DBCSENABLED according to the current locale instead of
hardcoding it to 0 (found by Mike McCormack).
2005-03-07 17:16:26 +00:00
Mike McCormack 38f932c823 Port the RTF parser to the richedit 2.0 control. 2005-03-07 17:15:33 +00:00
Robert Shearman 527ef47d70 Make each ifproxy have its own channel buffer to fix a bug where a
proxy with multiple interfaces could invoke the wrong stub buffer on
the server.
2005-03-07 17:14:11 +00:00
Dmitry Timoshkov ee5be57935 Avoid unnecessary window locking in X11DRV_DestroyWindow. 2005-03-07 17:13:53 +00:00
Dmitry Timoshkov 16ba0255e7 - Call SetCursorPos for an injected mouse message only if we really
need to move mouse pointer.
- Add a test case for mouse click handling.
2005-03-07 17:13:07 +00:00
Mike McCormack e9d334d0c9 Fix more incorrect uses of STGM_ enumerations. 2005-03-07 12:24:42 +00:00
Eric Pouech f332412092 When initializing a live target, ask to load module file names, not
module names (spotted by Robert Reif).
2005-03-07 12:24:02 +00:00
Matthew Mastracci 9cf27b5f1a Added surface locking. 2005-03-07 12:23:34 +00:00
Alexandre Julliard d9e3634263 Retry sending a WM_PAINT in update_now after we sent an erase
message.
2005-03-07 11:06:30 +00:00
Mike McCormack 2c8367a3de Use lstrcmpiA in preference to strcasecmp. 2005-03-07 11:05:03 +00:00
Alexandre Julliard b92f1431a5 Fixed DLL_PROCESS_DETACH handler to actually unregister the window
classes.
2005-03-07 11:04:35 +00:00
Eric Pouech 642402d581 Added support for minidump (read & write). 2005-03-07 11:03:21 +00:00
Jason Edmeades 9f81a801c2 Add stub for GetClassObject function. 2005-03-07 11:02:31 +00:00
Matthew Mastracci 2565f7311c Add DDCAPS_OVERLAY and DDCAPS_OVERLAYSTRETCH to GetCaps(). 2005-03-07 11:01:10 +00:00
Jason Edmeades 9b527d4953 Make msvcrt printf use the internal routines which understand %S and
%C.
2005-03-07 11:00:46 +00:00
Jason Edmeades de70942e6d Add stub for SetSecurityInfo. 2005-03-07 11:00:24 +00:00
Krzysztof Foltman cdbab8bcfd Added a check for empty scrollbar range. 2005-03-07 10:59:53 +00:00
Vincent Béron d5749b454d Make wineoss's mixer know about DST_HEADPHONES, DST_LINE and
DST_VOICEIN. Use proper constants instead of 0 and 1.
2005-03-07 10:59:28 +00:00
Juan Lang 01239efa4a Implement StgCreatePropSetStg. 2005-03-07 10:59:09 +00:00
Ulrich Czekalla 687679cd90 Print out error message if we fail to remove message from queue. 2005-03-07 10:58:00 +00:00
Alexandre Julliard 46f96fa1ef Fixed DOS line endings. 2005-03-05 11:55:44 +00:00
Krzysztof Foltman d488f3f1de Initial implementation of riched20. 2005-03-05 11:19:14 +00:00
Robert Reif aa35787dc7 Don't consider no sound device a failure. 2005-03-05 11:15:27 +00:00
Robert Reif c3f06fb2e6 Print dsound.dll version from file versioninfo resource. 2005-03-05 10:49:08 +00:00
Mike McCormack a7609ee155 Test and fix grfMode handling in StgOpenDocfile. 2005-03-05 10:48:11 +00:00
Paul Vriens ae5e9edef7 LastError is not set on failure for *MOUSEHOVER* on Win98. 2005-03-05 10:47:30 +00:00
Jakob Eriksson 0667f919ab Account for permissions on Win2k. 2005-03-05 10:47:13 +00:00
Mike McCormack 5def7dd337 Handle %ls in sprintf. 2005-03-05 10:46:46 +00:00
Troy Rollo bf6d5fc66b Make GetFileSecurityW return a standard SECURITY_DESCRIPTOR instead of
an uninitialised (and invalid) one.
2005-03-05 10:46:34 +00:00
Steven Edwards 5727918424 Added a check for poll.h. 2005-03-04 12:38:36 +00:00
Troy Rollo 4021f530d7 Return an empty string for service dependencies when there are no
dependencies, rather than a NULL pointer, which causes some apps to
SEGV.
2005-03-04 12:32:50 +00:00
Ulrich Czekalla 64db533173 Add support for radio buttons. 2005-03-04 12:32:08 +00:00
Justin Chevrier dd170db028 Expand conformance registry entry test to handle registry entries that
differ both in Key and Value from the norm.
Take advantage of expanded registry test to allow
SPI_{GET,SET}SCREENREADER and SPI_{GET,SET}KEYBOARDPREFERENCE to pass
on Win9x.
2005-03-04 12:31:09 +00:00
Alexandre Julliard 53f3d4c65a Authors: Rob Shearman <rob@codeweavers.com>, Mike Hearn <mh@codeweavers.com>
- Add re-entrancy tests to the test suite.
- Run RPCs on a new thread client side so we can pump the message
  loop.
2005-03-04 12:30:47 +00:00
Maxime Bellengé 901bdbf2d1 Implements OleLoadPicturePath. 2005-03-04 12:30:26 +00:00
Alexandre Julliard 85d14279a5 Support sending WM_PAINT across processes when it doesn't contain an
HDC.
2005-03-04 10:50:22 +00:00
Mike McCormack 607b43e6b4 Implement StgSetTimes. 2005-03-04 10:48:17 +00:00
Mike McCormack 871fbd1fdf Don't clear ES_AUTO[HV]SCROLL in the edit control created by
richedit.
2005-03-04 10:47:54 +00:00
Troy Rollo 74e2cfb66c Correct incorrect use of arguments to QueryServiceConfigW. 2005-03-04 10:47:41 +00:00
Mike McCormack 5b4327515e Handle the printf %F format modifier. 2005-03-04 10:47:27 +00:00
Huw Davies 00ced5e3af Fix regression in GetPrivateProfileSection for lines without an '='.
Add test.
2005-03-04 10:46:55 +00:00
Mike Hearn 486fd1f6f4 Suppress some useless warnings in the RPC runtime, and make a few
TRACEs that were reporting problems into WARNs.
2005-03-04 10:46:36 +00:00
Paul Vriens 726df300ad Better way of handling non-existent SystemParametersInfoW.
SetLastError if GetLastError is checked after a call.
2005-03-04 10:46:22 +00:00
Oliver Stieber 7b261656fd Added a stubbed out version of query to d3d9 and wined3d.
Update the d3d9 headers and creates wined3d types where d3d9 and d3d8
are incompatible.
2005-03-03 13:57:15 +00:00
Huw Davies 5be005b0d5 Don't prepend '\\' to the subkey name. 2005-03-03 13:52:06 +00:00
Dimitrie O. Paun 50a0c8f734 Unicodification. Small cleanups. 2005-03-03 13:51:47 +00:00
Uwe Bonnes bfb6d642dd Dump HeapWalk entries. 2005-03-03 13:50:21 +00:00
Francois Gouget 9e53994abe Warn the user if he is running the test in interactive mode but the
sound is turned off.
2005-03-03 13:49:30 +00:00
Francois Gouget fbb3343547 Assorted spelling fixes. 2005-03-02 13:53:50 +00:00
Oliver Stieber 16e8689008 Implemented guids for wined3d. 2005-03-02 13:44:58 +00:00
Francois Gouget 7105248ae6 Apply Jeremy White's SMPTE calculation fix to each audio driver. 2005-03-02 13:39:23 +00:00
Alexandre Julliard d0ee9f9309 Avoid spaces before preprocessor directives, that's not portable. 2005-03-02 12:23:20 +00:00
Jeremy White 36e845ce05 Aggressively round up to the proper alignment when reporting position
on streams where we are converting up.
2005-03-02 12:17:28 +00:00
Dmitry Timoshkov d515640b6a DestroyMenu should not destroy system menu popup owner. 2005-03-02 12:16:44 +00:00
Oliver Stieber 2121f7831e Put all the stubs in wined3d in place, with some functionality copied
across from d3d9.
Make sure all d3d9 device function call their wined3d counterpart (or
perform a function).
2005-03-02 12:16:10 +00:00
Juan Lang 316df99bf9 Convert more API calls to Unicode. 2005-03-02 10:16:41 +00:00
Robert Shearman 50d77e6877 - Fix one more place where the code assumes row indices are
zero-based.
- Document a known bug in the layout code.
2005-03-02 10:12:52 +00:00
Jeremy White cf23045791 More correctly establish cases where the OSS input buffer should not
be enabled.
2005-03-02 10:12:35 +00:00
Christian Costa 7dea79c487 Handle End Of Stream notifications.
Some AVI Splitter fixes.
2005-03-02 10:12:12 +00:00
Stefan Leichter 46ebd66796 Make rsaenh_crosstest.exe loadable on NT 4.0. 2005-03-02 10:11:38 +00:00
Jakob Eriksson a604415468 Accept (shorter) date format in Win NT and Win 95. 2005-03-02 10:11:22 +00:00
Dmitry Timoshkov 8f0984c2a3 Protect SetParent from creating circular window dependencies.
Add a test case.
2005-03-02 10:11:06 +00:00
Dimitrie O. Paun 5dfdd18abc Fix indentation for consistency with the rest of the file. 2005-03-02 10:08:29 +00:00
Rein Klazes 4c5832ba65 When enumerating keys using Get(Private)ProfileString do not include
lines without an '=' character. Added a test that shows the behavior.
2005-03-02 10:08:18 +00:00
Alexandre Julliard 2fd19dfb98 Use a dispatch table to handle X client messages. 2005-03-01 11:52:02 +00:00
Justin Chevrier 74b36359f1 - Created SPI_{GET,SET}KEYBOARDPREF and SPI_{GET,SET}SCREENREADER unit
tests.
- Removed a trace that shouldn't have been there.
- Add return checking to SPI_{GET,SET}WHEELSCROLLLINES and
  SPI_{GET,SET}MENUSHOWDELAY unit tests so they no longer run on
  Windows 95 where they aren't supported.
- Changed minimum hovertime in SPI_{GET,SET}MOUSEHOVERTIME to 10 as
  Windows XP defaults to 10 any value below that.
2005-03-01 11:46:11 +00:00
Michael Jung 6bc9999e08 Fixed parsing of ITEMIDLIST in InitializeTreeView.
Added some documentation.
Fixed a crash occuring when the user double-clicks a leaf item.
2005-03-01 11:45:32 +00:00
Aric Stewart 8e233e9b9f Text reformatting patch to clean up all the static strings. 2005-03-01 11:45:19 +00:00
Filip Navara 65bd0962a8 Implement SB_SETBORDERS. 2005-03-01 11:44:38 +00:00
Juan Lang 47f1c88817 Implement SetupDiGetClassDevsA/W, SetupDiEnumDeviceInterfaces,
SetupDiDestroyDeviceInfoList, and SetupDiGetDeviceInterfaceDetailA for
serial ports.
2005-03-01 11:44:27 +00:00
Robert Shearman 6d582fed50 - Make row number be zero-based.
- Improvements to dumping functions to not dump out fields that may
  not have been filled in.
2005-03-01 10:44:15 +00:00
Ulrich Czekalla 18fe91d8d2 If unexpected condition occurs just report an error. 2005-03-01 10:43:58 +00:00
Huw Davies 4cf9dd3d47 If the dibsection is based on a file-mapping object, then make sure
that the section is in sync when the dibsection is deleted.
2005-03-01 10:43:19 +00:00
Marcelo Duarte 3e4813214b CopyFile needs to retain timestamp. 2005-03-01 10:42:22 +00:00
Dmitry Timoshkov 405367a44a Add another test case for file sharing. 2005-03-01 10:42:04 +00:00
Juan Lang 014ad3ba21 Don't hardcode windows or system directories, correct a typo. 2005-03-01 10:41:52 +00:00
Juan Lang 4c8676cdbf Move vtbl to end of file and get rid of unnecessary prototypes. 2005-03-01 10:41:25 +00:00
Juan Lang 88cf8ce5ac Convert tabs to space, wrap long lines, make indenting consistent. 2005-03-01 10:41:14 +00:00
Eric Pouech 01aa71371b Memory consumption optimization while loading ELF debug info:
- don't map twice an ELF file for symbol lookup (in non deferred mode)
- no longer entirely map an ELF file into memory, but only the
  sections we need.
Added support for loading ELF modules thru SymLoadModule in a non life
process.
Factorisation of code for ELF module handling.
Fixes to ELF symbol loading
- drops symbols from symtab which are neither funcs nor global
  variables
- fixes some incorrect size computation for latest GCC versions.
Several cleanups and fixes.
2005-03-01 10:39:49 +00:00
Alexandre Julliard 94846a39dc Use a table of handlers to dispatch X events and get rid of the
special casing for DGA and tablet events.
Unify the declarations of all the event handlers.
2005-02-26 17:49:38 +00:00
Alexandre Julliard 729bfb861c Fixed regression in QueryDosDeviceA when passed a NULL device name. 2005-02-26 17:46:34 +00:00
Dmitry Timoshkov dd1ba8a7d8 Remove a temporary msi database file. 2005-02-26 17:41:36 +00:00
Juan Lang b7dac96974 Convert a few calls to Unicode. 2005-02-26 17:41:26 +00:00
Christian Costa 18a9738943 Added some more cases to MCI_MapMsgAtoW. 2005-02-26 17:41:11 +00:00
Alexandre Julliard 0778a45da2 Moved clipboard event handling functions and some private data
structures to clipboard.c.
2005-02-25 21:01:15 +00:00
Robert Reif 3b78212f1d Add secondary buffer SetFrequency test. 2005-02-25 19:17:11 +00:00
Robert Reif 2a052044fe Use nBlockAlign rather than calculating it.
Add a buffer length alignment error message.
2005-02-25 19:16:57 +00:00
Uwe Bonnes 0fb9ef68f3 Advance over * argument for precision.
Honor precision argument for strings.
2005-02-25 19:16:46 +00:00
James Hawkins e8d1e2f745 Fix RegOpen/CloseKey. 2005-02-25 16:52:10 +00:00
Lauri Tulmin 541e14f7ef Make sure that last line is at the bottom of the edit control. 2005-02-25 16:51:13 +00:00
Robert Reif f1d4443435 Change SetCooperativeLevel FIXME to WARN. 2005-02-25 16:50:57 +00:00
Mike McCormack 64c3208e10 - implement loading and saving of MSI advertised shortcut info
- make more test cases pass
- read and write the location block
- improve the binary compatibility of lnk files
2005-02-25 16:19:57 +00:00
Stefan Leichter d55575e976 Exclude two tests crashing on WinNT4. 2005-02-25 16:19:19 +00:00
Jon Griffiths 3388eb0885 Remove unneeded calls to TAB_GetInfoPtr(), const fixes, inline small
funcs & remove unused parameters.
2005-02-25 16:19:07 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Troy Rollo 9abbc913d2 Fix stack object overrun when an application calls ChooseFontA. 2005-02-25 14:00:38 +00:00
Aric Stewart 0af2487a51 Implement the action RegisterFonts. 2005-02-25 14:00:09 +00:00
Lauri Tulmin 7cb7c6b1de Implemented !ES_AUTO[HV]SCROLL. 2005-02-25 13:59:49 +00:00
TANABE Hiroshi d4114e4c7e Remove (buf && !buflen) checking.
Fixed outline rendering with GGO_GRAY?_BITMAP option.
Improved fixed-pitch fonts detection.
2005-02-25 13:59:22 +00:00
Paul Vriens 8922da9ed4 Added some TRACE statements. 2005-02-25 13:58:37 +00:00
Alexandre Julliard 0e0f62f2fa Repaint the non-client area to work around broken WM_PAINT handlers
also when doing a synchronous update with RDW_UPDATENOW.
2005-02-24 19:42:08 +00:00
Mike McCormack db69dcb5c1 Add struct StorageBaseImpl at the start of derived structures instead
of trying to keep the first members the same.
2005-02-24 19:39:27 +00:00
Vitaly Lipatov f7c99e3a6a - Fix scrollbar show/update conditions in SCROLL_SetScrollInfo: we DO
NOT show scroll bar if only page parameter changing when scrollbar
  is disabled.
- Removed bChangeParams from SCROLL_SetScrollInfo as unneeded flag.
2005-02-24 19:38:56 +00:00
Mike McCormack 91fc881d1f Remove unused declaration. 2005-02-24 17:04:05 +00:00
Alexandre Julliard 1aad2a50ce Authors: Mike McCormack <mike@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
Release capture before sending WM_NCDESTROY message, do not send
WM_CAPTURECHANGED in that case. Add a test case for that behaviour.
2005-02-24 17:03:51 +00:00
Dmitry Timoshkov d4fd584082 GetWindowRect and GetClientRect do not change RECT contents if the
passed window handle is invalid.
2005-02-24 17:03:01 +00:00
Robert Reif c9e7bad85b Try old buffer description structure on failure with new one. 2005-02-24 17:02:42 +00:00
Dmitry Timoshkov 0497af09a7 Match RaiseException and EXCEPTION_RECORD to SDK definitions. 2005-02-24 13:15:36 +00:00
Raphael Junqueira 29d7b8170b - implement partial PBuffer support
- minimal pixel format support
2005-02-24 12:48:47 +00:00
Mike McCormack 2e283d09ec Remove tabs, reformat, merge comments. 2005-02-24 12:48:00 +00:00
Aric Stewart b6bc6aa6f8 Add the ExecuteAction handler.
Store the keypath, and do refcounting and registration of SharedDLLs.
Fix a bug with handing dword values in the registry.
Fix bugs with writing registry keys where value == NULL.
Make use of msidefs.h.
Lay some groundwork for uninstalls.
2005-02-24 12:47:43 +00:00
Michael Stefaniuc 443f9273b1 - ImageList_LoadImage{A,W} were basicaly a cut'n'paste of each
other. Removed the A variant and did a A->W translation.
- ImageList_LoadImageW: get the bitmap size from the image itself and
  not from the mask (ImageList_LoadImageA did that).
2005-02-24 12:46:57 +00:00
Aric Stewart af812605fb Do some basic work with registry component paths. 2005-02-24 10:05:53 +00:00
Ulrich Czekalla fa85f0132b Prevent accessing freed memory in failure case. 2005-02-24 10:05:27 +00:00
Jason Edmeades 6bec623edb Correct handling of unusual vendor strings in d3d8, and check for a
stateblock before trying to release it in wined3d.
2005-02-24 10:05:06 +00:00
Lauri Tulmin c978697882 Controls with ES_RIGHT or ES_CENTER shouldn't have ES_AUTOHSCROLL. 2005-02-24 10:04:40 +00:00
Alexandre Julliard 983a8b5888 Revert SC_CLOSE change, this is causing deadlocks. 2005-02-23 21:47:32 +00:00
Jeremy White 2db20ef1f0 More correct fix for dsp empty case. 2005-02-23 21:00:02 +00:00
Michael Jung fbd4c0ef88 Made rsabase forward everything to rsaenh. 2005-02-23 20:29:57 +00:00
Rein Klazes 288ebd3244 NtQueryPerformanceCounter should return a frequency of 1193182Hz and
counts like in Windows. Some applications depend on that.
Simplify QueryPerformanceCounter a bit.
2005-02-23 20:29:17 +00:00
Jeremy White 494a34bfda An interactive test should have volume, else a rational user will
decide it is broken.
2005-02-23 20:28:28 +00:00
Mike McCormack d68294f06f Remove tabs and reformat. 2005-02-23 15:41:39 +00:00
Francois Gouget d95630ebf3 Add the -noname flag to match the Platform SDK. 2005-02-23 15:41:14 +00:00
Jeremy White aa2046f643 In calculating the SMPTE time, we would round incorrectly (0:0:4.30
instead of 0:0:5.0 [the last column only goes to 29]).
2005-02-23 15:40:54 +00:00
Mike McCormack f8a4f6b59b - handle IFileSystemBindData in ISF_Desktop_fnParseDisplayName
- more Unicode conversion
2005-02-23 12:45:12 +00:00
Francois Gouget 14de57089e Don't hardcode ordinals if which are not hardcoded on Windows. 2005-02-23 12:44:43 +00:00