Commit Graph

10994 Commits

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