Commit Graph

10229 Commits

Author SHA1 Message Date
Alexandre Julliard 6382ffae2a Replace a number of calls to WIN_FindWndPtr by WIN_GetPtr. 2005-01-20 20:07:42 +00:00
Robert Reif 97199823bf Added stubs for NeedRebootInit and NeedReboot.
Added implementations for GetVersionFromFile and
GetVersionFromFileEx.
Added test for GetVersionFromFile.
2005-01-20 20:03:13 +00:00
Hans Leidekker fccfcbf7ba Stub implementations for EnumPageFiles{A,W}, GetProcessImageFileName{A,W}.
Implement GetPerformanceInfo, GetProcessMemoryInfo on top of
NtQueryInformationProcess and GetWsChanges, QueryWorkingSet{,Ex} on
top of NtQueryVirtualMemory.
2005-01-20 19:59:48 +00:00
Tanabe Hiroshi f3ec7726c6 Added stubs for SendIMEMessageEx[A,W]. 2005-01-20 19:57:58 +00:00
Mike McCormack 48df747150 Fix a bug caused by freeing memory too soon in the table code. 2005-01-20 19:57:22 +00:00
Dmitry Timoshkov 4e59e4b96f Correct coordinates of a couple of controls. 2005-01-20 19:56:37 +00:00
Paul Vriens 7f07b00697 - Use Interlocked* functions in AddRef and Release.
- Store the result of the Interlocked functions and use only this.
2005-01-20 10:53:56 +00:00
Tony Lambregts e1ff586dd4 Added time zone information for SAMT (Samara Standard Time). 2005-01-20 10:52:57 +00:00
Ulrich Czekalla 45de351fb3 ACL fixes and cleanups. 2005-01-20 10:37:36 +00:00
Aric Stewart 89a43ff76a Added some stub implementations. 2005-01-20 10:37:08 +00:00
Michael Stefaniuc b937407ee5 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2005-01-20 10:36:35 +00:00
Robert Shearman 717eb8fff4 - Consolidate more stub creation details into register_ifstub.
- Replace the current wine_marshal_id structure with STDOBJREF for the
  on-the-wire format.
2005-01-20 10:35:46 +00:00
Ulrich Czekalla a47a0e3be7 Added stub implementation of NetGetJoinInformation. 2005-01-20 10:35:21 +00:00
Oleh R. Nykyforchyn 62b94d89bd Ukrainian codepage 21866 added and respective files corrected. Two
keyboard layouts (for Ukrainian and Russian) added.
2005-01-19 20:59:31 +00:00
Lauri Tulmin 78e76cf977 Reposition caret after window resize. 2005-01-19 20:53:38 +00:00
Raphael Junqueira 4f02b52c6b Begin support of VertexDeclaration on wined3d using d3d8 code base
(handling d3d8 and d3d9 specs).
2005-01-19 19:34:49 +00:00
Lauri Tulmin 7b9fb6fff3 Don't recalculate line indexes if number of lines doesn't change. 2005-01-19 19:08:25 +00:00
Aric Stewart 2cae30b6cf Quite a few fixes:
- Allow for the queing of custom actions to trigger on the
  InstallExecute or InstallExecuteAgain actions.
- allow for the queing of custom actions to trigger on
  InstallFinalize.
- Properly set the CustomActionData property for said queued actions.
- Implement RegisterProduct.
- Beginning implementation of ForceReboot.
- Don't kill install if an item to be duplicated does not exist.
- Write out SourceList and LastUsedSource for resuming installs.
- Use regsvr32 to register self reg dlls.
2005-01-19 19:07:40 +00:00
Mike McCormack dee736764f Stub definition for OpenUrl. 2005-01-19 19:06:35 +00:00
Alexandre Julliard cc3cf401b3 Store the window id as a property instead of accessing the WND
structure directly.
Fetch the update region from the server and remove a lot of obsolete
code.
2005-01-19 17:02:50 +00:00
Rein Klazes 47fe880924 Return a fixed frequency of 1193182 Hz for the Performance Counter. 2005-01-19 17:01:06 +00:00
Mike McCormack c1b4d7d16f Implement TransactNamedPipe for the non-overlapped case. 2005-01-19 17:00:48 +00:00
Mike McCormack a5fb277fc4 Stub implementation for some functions. 2005-01-19 17:00:32 +00:00
Robert Shearman 6a20b2f476 - Initialize ppv pointer in ClientIdentity_QueryInterface to NULL as
apps depend on this.
- Don't release IRpcProxyBuffer on ifproxy destruction - the caller
  will do this for us.
- Make find_proxy_manager add a reference to the proxy manager and
  make proxy_manager_construct return an object with a valid
  ref-count.
- Remove stray not operator to fix a memory leak / crash in
  proxy_manager_destroy.
- More debug messages, especially on errors.
- Fix ref-count leak in the Class Factory proxy.
- Add a test case for IClassFactory_CreateInstance.
2005-01-19 17:00:20 +00:00
Stefan Leichter 7ed3f41c98 Fixed GetFileVersionInfoSizeA tests on WinME. 2005-01-19 16:59:35 +00:00
Michael Jung d91ba25a03 Avoid code duplication by moving handle lookup into get_algid_info. 2005-01-19 16:59:23 +00:00
Joris Huizer 8a6295a057 Get rid of some TRACE(..., This->resource.ref). 2005-01-19 16:59:01 +00:00
Aric Stewart 2c0e46d9df Do a very basic first implementation of MsiConfigureProductExW for
msiexec /@  when run as a reboot.
Also add a number of new stubs for the office xp and 2k3 install and
startup process.
2005-01-19 16:58:03 +00:00
Alexandre Julliard f7fb73710a Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>, Mike McCormack <mike@codeweavers.com>
Added some stub implementations.
2005-01-19 16:57:24 +00:00
Alexandre Julliard b4a64382ee Moved DefWindowProc16 to msg16.c and cleaned up a few related things. 2005-01-18 11:45:17 +00:00
Hans Leidekker e9856f166b Implement and test InternetTime{From,To}SystemTime{A,W}.
Correct spelling in InternetCheckConnectionA.
2005-01-18 11:43:40 +00:00
Jason Edmeades 33025b203c - Handle failures to allocate storage more gracefully.
- Only prototype the interfaces which are subclassed (I overdid it
  last time!).
- Implement Get/Set Texture and GetBackBuffer, plus device's
  GetDisplayMode / GetDeviceCaps.
- Make some of the d3d9 skeleton code issue fixme's to highlight code
  which hasn't been migrated yet.
- Correct the d3d9 headers for D3DSURFACE_DESC which caused stack
  corruption in demos.
2005-01-18 11:42:29 +00:00
Juan Lang 2c95e0205d Make netspi.h private, as some of its declarations conflict with
npapi.h.  Spotted by Paul Vriens.
2005-01-18 11:40:24 +00:00
Aric Stewart cc8f18f96f Copy the implementation from SetupDefaultQueueCallbackA and make it
W.
2005-01-18 11:39:49 +00:00
Hans Leidekker a4b80ec97e Stub implementations for PathUnExpandEnvStringsSHRegEnumUSValue{A,W},
SHRegCreateUSKey{A,W}, SHRegDeleteEmptyUSKey{A,W},
SHRegDeleteUSValue{A,W}, SHRegEnumUSValue{A,W}.
2005-01-18 11:39:05 +00:00
Alexandre Julliard 6758db9a0c Get rid of nonclient.h and of the corresponding exported functions in
user32.spec.
2005-01-17 20:27:11 +00:00
Alex Villacís Lasso ed9a359402 When parsing an hex/oct integer value, copy value verbatim in VARIANT,
rather than a negated value. Add test case for this behavior.
2005-01-17 19:34:58 +00:00
Henning Gerhardt e34aac5038 A small spelling fix and a small update (thank to Andreas Mohr). 2005-01-17 19:32:58 +00:00
Robert Shearman b5a10936bd Initialize clsid member to the marshaler clsid to fix custom
marshaling.
2005-01-17 19:32:25 +00:00
Lauri Tulmin 8ba0ef86dc Make long lines behave nicely. 2005-01-17 19:31:48 +00:00
Alexandre Julliard fc5ce14592 Avoid most references to the internals of the WND structure by passing
around an x11drv_win_data pointer instead.
2005-01-17 19:17:47 +00:00
Alexandre Julliard b819f4cd5c Removed a couple of unnecessary calls to WIN_SuspendWndsLock. 2005-01-17 15:49:02 +00:00
Paul Vriens 361ee299ac Use a registry key for copying, that's known on every system. 2005-01-17 15:45:44 +00:00
Jonathan Ernst 8e927a6a74 Updated French resources. 2005-01-17 15:34:49 +00:00
Hans Leidekker fd5425e1a7 Stub implementations for DrawDibChangePalette, DrawDibGetBuffer,
DrawDibTime, ICSeqCompressFrame{,End,Start}.
Forward GetOpenFileNamePreview to GetOpenFileNamePreviewA.
2005-01-17 15:33:43 +00:00
Paul Vriens 7e8c096a26 Change the order of Src and Dst in CopyKey calls/functions. 2005-01-17 15:33:00 +00:00
Alexandre Julliard d820437b19 Removed unused ForceWindowRaise function. 2005-01-17 13:46:57 +00:00
Jason Edmeades bcecddc084 - Add texture support for all the texture types for d3d9->wined3d.
- Add prototypes for the COM interfaces.
- Fix some incorrect types from the last patch.
2005-01-17 13:44:57 +00:00
Alexandre Julliard d1685b00bf Authors: Klemens Friedl <klemens_friedl@gmx.net>, Henning Gerhardt <henning.gerhardt@web.de>
Spelling fixes.
2005-01-17 13:43:31 +00:00
Henning Gerhardt 038c5cbcbf Update German resources. 2005-01-17 13:43:16 +00:00
Paul Vriens 4064e74fc3 Use Interlocked* functions in AddRef and Release. 2005-01-17 13:42:13 +00:00
Michael Jung a200c4e97a Moved HMAC initialization and finalization code to
init_/finalize_hash.
Removed the redundant pKeyContainer function parameter from
init_hash.
2005-01-17 13:41:46 +00:00
Aric Stewart 6269f00c33 Implementations for SelfRegModules and PublishFeatures.
Set default ACTION property for Install.
Deformat more than JUST properties properly. Allows for Files and
Component paths in deformat.
Properly deformat a LaunchCondition failure dialog box.
Resolve and save registry Keypaths.
Write the Features published keys more correctly. Still some
problems.
2005-01-17 13:40:39 +00:00
Aric Stewart 82a6a3b826 First pass implement ion of MsiQueryProductState[A/W] as well as a few
fixes for MsiGetComponentPath.
2005-01-17 13:39:57 +00:00
Robert Shearman 4c8d59dd91 Implement table marshaling. 2005-01-17 13:39:40 +00:00
Paul Vriens f93a0780c9 Remove the checking/setting of the defaults in TRACKBAR_Create. 2005-01-17 13:38:44 +00:00
Paul Vriens 740d6bc3a0 Remove needless check for horizontal or vertical pager. 2005-01-17 13:38:28 +00:00
Eric Pouech 4634447d6b - got rid of include/async.h
- fixed some overlapped issues in socket handling
- moved kernel32.CancelIo implementation to ntdll
2005-01-14 19:54:38 +00:00
Robert Shearman c767318895 Remove MODULENAME prefix from
Dll{GetClassObject,RegisterServer,CanUnloadNow} functions.
2005-01-14 17:21:00 +00:00
Robert Shearman 5ce396f9bd - Remove obsolete structs, rearrange things to group the structs
together and to group similar functions.
- Document thread-safety of members of structs.
2005-01-14 17:20:27 +00:00
Robert Shearman ca608933dd Make proxy shutdown test succeed by releasing the channel on
disconnect.
2005-01-14 17:20:13 +00:00
Jeremy White 77502e7e62 Fix X11 event timing so that we correctly correlate X11 timing and
Wine timing and dynamically adjust it as we go.
2005-01-14 17:06:40 +00:00
Aric Stewart 0de5671ee9 Actually start on an implemention for MsiGetComponentPathW that should
handle all keypaths that are files.
2005-01-14 17:05:53 +00:00
Robert Shearman 0e18914481 - Add documentation for most Co* functions.
- Move several functions into different files to group them with
  similar functions.
2005-01-14 17:05:36 +00:00
Joris Huizer 2d58a624dd - add file_operation_delete
- add file_operation_checkFlags
- use these in SHFileOperationW replacing inline code
2005-01-14 16:51:14 +00:00
Mike McCormack 939179d681 Fix, add and rearrange winsvc.h declarations. 2005-01-14 16:50:57 +00:00
Marcus Meissner b7f6781590 Initialize rc in create_component_directory(). 2005-01-14 16:50:39 +00:00
Ulrich Czekalla 24f804528e GetFileName31W should call unicode version of FD31_AllocPrivate. 2005-01-14 16:49:55 +00:00
Justin Chevrier f44d0692f1 Created unit test for SPI_{GET,SET}MINIMIZEDMETRICS. 2005-01-14 16:49:33 +00:00
Justin Chevrier acb223ee21 - Implemented SPI_GETMINIMIZEDMETRICS calculated from values returned
by GetSystemMetrics.
- Implemented SPI_SETMINIMIZEDMETRICS. Determined that the values set
  here are valid for the current session only and will not persist
  across reboots.
2005-01-14 16:49:12 +00:00
Robert Shearman 6036a773e2 - The apartment reference should be held while the stub manager
reference is held.
- Fix same apartment-unmarshal detection.
2005-01-14 16:48:34 +00:00
Dimitrie O. Paun 3bc9380619 Use the LVCFMT_{LEFT,RIGHT,CENTER} enumeration flags properly. 2005-01-14 16:21:41 +00:00
Rein Klazes b08f958157 In int21_ioctl - get device data-, set the "is console" bits if the
device handle is a tty or a proper console io handle.
2005-01-14 16:21:07 +00:00
Mike McCormack c3ead97b4e Move all service stubs together, make them consistent. 2005-01-14 16:20:41 +00:00
James Hawkins ba92d2924a - Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-14 16:02:20 +00:00
Aric Stewart 516a9c70ed First implementation of the WriteIniValues action. 2005-01-14 15:59:26 +00:00
Robert Shearman ead057c4b7 - Don't use the pipe caching code because it doesn't work correctly at
the moment.
- Always write disconnect reply packet, even in failure cases.
2005-01-14 15:59:01 +00:00
Klemens Friedl a4d4652dd1 Update German language file. 2005-01-14 15:13:56 +00:00
Mike McCormack 1afd5f68f8 Cleanup service handles. 2005-01-14 15:13:40 +00:00
Jon Griffiths ae720e6d7c Increase the required rectangle size before drawing big +/-. 2005-01-14 15:13:24 +00:00
Walt Ogburn b28c79aa50 Fix BS_PATTERN brushes in mfdrv. Un-comment the corresponding test. 2005-01-14 15:12:59 +00:00
James Hawkins 6847d5956a Return CLASS_E_NOAGGREGATION if pUnkOuter is non-null. 2005-01-14 15:12:43 +00:00
Aric Stewart dbb5d2a871 Custom actions can have null in their target parameters, handle that
without crashing. Also enable deformating of lines greater than 256
characters.
2005-01-14 15:12:27 +00:00
Robert Shearman a84e7d7b75 Destroy stubs on apartment shutdown. 2005-01-14 15:11:55 +00:00
Ge van Geldorp 7cf104aa52 Fix prototypes according to PSDK. 2005-01-14 15:11:40 +00:00
Mike Hearn ba0475e738 Force context switch on chanbuf disconnect to avoid a race in the test
suite.
2005-01-14 15:11:24 +00:00
Paul Vriens c905d691c8 - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-14 15:10:52 +00:00
Christian Costa a010e3b3fa CoInitialize(Ex) should return S_FALSE when COM is already initialized
for the current thread.
2005-01-12 19:58:09 +00:00
Alexandre Julliard d7b4d60cd7 Use the exported functions SaveDC/RestoreDC instead of SetDCState16. 2005-01-12 19:57:08 +00:00
James Hawkins ed12a3defd - Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-12 19:55:24 +00:00
James Hawkins 79ecb0d783 - Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-12 19:52:38 +00:00
James Hawkins 11db0ea655 Use only stored result of Interlocked* in AddRef/Release. 2005-01-12 19:50:22 +00:00
Robert Shearman 452491bd03 - Document CoSetState & CoGetState.
- Rewrite them to only retrieve TLS info once.
- Remove trailing whitespace in COM_CurrentInfo.
2005-01-12 19:48:39 +00:00
Robert Shearman 2891bc53ba Remove wine_marshal_data: it is unneeded and there is no equivalent in
STDOBJREF.
2005-01-12 19:48:20 +00:00
James Hawkins a1e304a25f - use only stored result of Interlocked* in AddRef/Release
- expand TRACEs to display the ref count
2005-01-12 19:29:43 +00:00
Paul Vriens fea45b1493 - Fix logic in Stream_fnRelease, refcount should be decremented before
the test for 0.
- Use Interlocked* functions in Stream_fnRelease .
- Store the result of the Interlocked functions and this in the
  TRACE.
2005-01-12 19:29:22 +00:00
Robert Shearman de95de1865 - Force creation of thread queue to stop PostThreadMessage from
failing.
- Remove incorrect comment.
2005-01-12 19:28:37 +00:00
Justin Chevrier a33c7d89db - Revert previous change of border metric to reference the
registry. Testing on Win98/WinXP showed that regardless of the
  "BorderWidth" value CM_C{X,Y}BORDER always returns 1.
- Point SPI_SETBORDER to "BorderWidth" under "HKCU\Control
  Panel\Desktop\WindowMetrics" instead of "HKCU\Control Panel\Desktop"
  to make it match Windows.
2005-01-12 19:28:16 +00:00
Robert Shearman 89f5c8241f The way apartments are used has changed, so fix up the hacks in the
RPC code that haven't yet been updated.
2005-01-12 19:27:22 +00:00
Robert Shearman 36f482cb7d - Make MTA dynamically allocated so that proxies and other resources
are freed at the proper time.
- Changed/removed some incorrect comments regarding apartments.
2005-01-12 19:27:04 +00:00