Commit Graph

11659 Commits (e5a2a7a103f555be462f891e7396b03bab6154d7)

Author SHA1 Message Date
Felix Nawothnig e9e6f13996 Rewrote item layouting - new code fixes bitmap/image position for
non-left-aligned text, prevents jumping when resizing non-left-aligned
text, implements clipping for images and correctly aligns bitmaps when
an image is already there.
2005-05-14 11:03:17 +00:00
Alexandre Julliard d0b6308642 Don't convert the template name to Unicode, it's not used by the
dialog anyway. Clear the window property on WM_DESTROY.
2005-05-13 17:50:26 +00:00
Ge van Geldorp 40cb98269b Overlay icons for .lnk files with a small arrow in the lower left
corner.
2005-05-13 17:48:33 +00:00
Mike McCormack a22c767eb0 Remove function prototypes. 2005-05-13 17:45:50 +00:00
Krzysztof Foltman ed8485983f Added stubs for a couple of missing 2.0 and 3.0 messages. 2005-05-13 17:45:43 +00:00
Juan Lang bc0f448774 Begin stubs of built-in schannel provider. 2005-05-13 17:44:47 +00:00
Juan Lang e5b4a6973a Implement signals. 2005-05-13 17:44:28 +00:00
Hans Leidekker 6b7676a1e8 Don't import from ntdll. 2005-05-13 17:42:49 +00:00
Alexandre Julliard 7bb88af5a2 Process the pending expose events on RDW_UPDATENOW before doing the
redraw_window server call so that the parent windows get properly
validated if necessary.
2005-05-13 14:03:06 +00:00
Mike McCormack 3e2cb75349 Remove some unused include files. 2005-05-13 13:59:15 +00:00
Alexandre Julliard 89faddae8e Added yet another missing OpenGL define. 2005-05-13 13:59:00 +00:00
Mike McCormack e3b43fa458 Make sure a stream can't be created in read only storage. 2005-05-13 13:58:43 +00:00
Dmitry Timoshkov 3f5990eb9a Avoid a crash in free_window_handle() on an invalid window handle. 2005-05-13 13:58:17 +00:00
Alexandre Julliard 71ff4c4f4e Build import libraries also when only doing an install-lib. 2005-05-13 13:57:55 +00:00
Robert Reif 0f60464b95 Fix SetProperty error returned.
Add EnumDevice joystick version check.
Test multiple versions.
2005-05-13 13:57:17 +00:00
Mike Hearn 5037202554 Make unimplemented function message a bit prettier. 2005-05-13 13:56:47 +00:00
Aric Stewart b39d8fc2a6 - ExecuteAction runs the whole Execute table and not just from
InstallValidate onward.  To do this make sure we do not do the
  costing initialization work again if it is already done (by checking
  the CostingComplete Property).
- A lot of work to refine feature states, setting the state affects
  the state of all child features and also respect features that want
  to default to something other than LOCAL.
2005-05-13 13:56:39 +00:00
Paul Vriens f9cdab4dff Added (stubbed) SystemDriverInformation and
SystemInterruptInformation.
2005-05-13 13:55:51 +00:00
Robert Shearman b5eacf9a8d - Fix RpcServerListen so that it doesn't return
RPC_S_ALREADY_LISTENING when the only interfaces it is listening on
  are auto listens.
- Only synchronize with server thread when necessary and move this
  into RpcMgmtWaitServerListen.
2005-05-13 13:55:24 +00:00
Michael Jung a858a5a76c Replace '\\' by '/' in strings passed to ParseDisplayName to be able
to handle DOS-style relative paths.
2005-05-13 13:55:03 +00:00
Mike McCormack 912ffd6a0f Remove unnecessary declarations and make functions static. 2005-05-12 09:57:21 +00:00
Aric Stewart 8a0f989891 Handle WM_NCCALCSIZE in the tab control. 2005-05-12 09:57:10 +00:00
Mike McCormack 1ae212a105 Split SHGetFileInfoW into two functions. 2005-05-12 09:56:48 +00:00
Dmitry Timoshkov ac5b025103 Do not pass an invalid target buffer info to WideCharToMultiByte. 2005-05-12 09:56:35 +00:00
Mike Hearn 30428b5a35 Fix return code abuse. 2005-05-12 09:56:17 +00:00
Michael Lin 9bd101d012 - Implement IPersistFolder2.
- Retrieve the correct attributes in ParseDisplayName().
2005-05-12 09:56:04 +00:00
Raphael Junqueira 1291a1a250 - better robustness of pbuffer code (checks, SetLastError as specs, etc...).
- better heuristic for WGL_render_texture and first try of
  WGL_render_texture "emulation" using Pbuffers (deactivated by
  default)
- more traces
2005-05-12 09:55:44 +00:00
894c1364d4 Flush output buffers from _close() rather than MSVCRT_fclose(). 2005-05-12 09:55:02 +00:00
Gabriel Gambetta fd62fcf0ef Added UYT to TZ_INFO. 2005-05-12 09:54:39 +00:00
Alexandre Julliard 9e73cdde39 Allow passing a string to the window property server requests instead
of an atom to avoid redundant server round-trips.
2005-05-11 19:01:10 +00:00
Robert Shearman 5ef4748c7c Use I_RpcGetBuffer instead of HeapReAlloc for getting the Buffer
memory.
2005-05-11 15:56:59 +00:00
Mike McCormack 2c6c67f4ea Make functions static and remove unnecessary declarations. 2005-05-11 15:56:45 +00:00
Ivan Leo Puoti 327b1632e5 Fix crash in ME_GetRunSizeCommon(). Turn a FIXME into a TRACE. 2005-05-11 15:56:34 +00:00
Eric Pouech b168f478be Some tests for NTDLL atom support (by György 'Nog' Jeney). 2005-05-11 15:56:09 +00:00
Eric Pouech 26c9b074c7 Implemented NTDLL atom support. 2005-05-11 15:55:49 +00:00
Alexandre Julliard 63342353bc Store a bitmap of active hooks on the client side to try to avoid
server calls for hooks that are not set.
2005-05-11 13:03:15 +00:00
Aric Stewart ea6ecf44ff Add a stub implementation of RegisterTraceGuids. 2005-05-11 13:00:18 +00:00
Mike McCormack bd07966c8f Avoid some non-standard str functions. 2005-05-11 12:58:22 +00:00
Mike McCormack 8bcdf42710 Stub implementation for GetGeoInfo. 2005-05-11 12:57:50 +00:00
Mike McCormack 3c5790646f Add a stub implementation of CoIsHandlerConnected. 2005-05-11 12:57:16 +00:00
Mike McCormack ee49c8e60d Correct the function name in a comment. 2005-05-11 12:57:02 +00:00
Robert Reif 8bffed50c6 Added dinput tests. 2005-05-11 12:05:17 +00:00
Mike McCormack e6d4bcd7ae Check that GetObject is successful. 2005-05-11 12:02:16 +00:00
Mike McCormack fb7dbb627e ZwQueryTimer should forward to NtQueryTimer. 2005-05-11 12:02:06 +00:00
Mike McCormack 9d293981b4 Add Module32FirstW and Module32NextW exports. 2005-05-11 12:01:40 +00:00
Dimi Paun 4f197f0f3d Make it more explicit how we deal with WS_DISABLED. 2005-05-11 12:01:27 +00:00
Stefan Leichter f483ca611e Added minimal implementation of MsiCreateAndVerifyInstallerDirectory. 2005-05-11 12:01:12 +00:00
6cfcda9959 Add test for correctly interpreting %% printf format string conversion
specifier.
2005-05-11 12:00:34 +00:00
Eric Pouech 6246c2d4c4 Get rid of include/miscemu.h. 2005-05-10 16:01:38 +00:00
Mike McCormack c1f2cf1fba - make sure to free the string table when closing the database
- don't free szPersist in MsiOpenDatabase if it's not a string
2005-05-10 16:00:19 +00:00
Mike McCormack 809cf354e4 Fix a memory leak in the ole storage implementation. 2005-05-10 15:59:59 +00:00
Eric Pouech 16df50efbe Moved DOS memory handling to winedos. 2005-05-10 15:22:09 +00:00
Eric Pouech e6267369b2 - changed ATOM support in wineserver to match NTDLL needs
- adapted accordingly kernel32 atom support
2005-05-10 15:15:50 +00:00
Alexandre Julliard 15ac6847e0 Build and load import libraries directly from the dll directory where
possible, and only create symlinks for directories that don't have the
correct name.
2005-05-10 13:21:04 +00:00
Rein Klazes 1c5671df07 Multi column popup menus have 4 pixel space between the columns. With
conformance test.
2005-05-10 13:17:33 +00:00
Robert Reif 2095f66d44 Fix joystick crash when a button guid is specified in the data
format.
Add some parameter checking.
2005-05-10 13:17:03 +00:00
Paul Vriens 7464134919 Added SystemHandleInformation tests.
Removed HeapAlloc in test_basic.
Renamed test_basic to test_query_basic.
2005-05-10 13:16:36 +00:00
Paul Vriens d5f92eb50c Added (stubbed) SystemHandleInformation.
Sorted the list.
2005-05-10 13:15:58 +00:00
Raphael Junqueira 0d8cf03809 Fix allocated buffer size to avoid buffer overflow. 2005-05-10 13:15:12 +00:00
Juan Lang 2439b5fdda Fixes to IShellFolder::GetAttributesOf implementations, spotted by
silverblade_:
- a count of zero is allowed to GetAttributesOf if apidl is NULL
- SFGAO_VALIDATE must be cleared upon return
2005-05-10 08:28:11 +00:00
f438056b5d Interpret %% correctly in printf format string. 2005-05-10 08:27:38 +00:00
Mike Hearn 25abe7c537 Fix SHELL_GetPathFromIDList[AW] to return the desktop path given an
empty PIDL.
2005-05-10 08:27:23 +00:00
Juan Lang ac0ba1a241 Partially implement AppSearch for RegLocator-type searches. 2005-05-10 08:27:00 +00:00
Raphael Junqueira 075f8cfe8f Fix X11DRV_ChoosePixelFormat to choose 24 bpp as 32 bpp for depth
buffers (needed as many X11 drivers only support 24bpp).
2005-05-10 08:26:08 +00:00
Juan Lang 5e1b41854c Added Irish Summer Time. 2005-05-10 08:25:30 +00:00
Aric Stewart fa468e64d5 Fix a few leaking object handles. 2005-05-09 19:33:50 +00:00
Michael Jung 9f50a88ff1 Detect drive letters, which have to have a backslash appended, in a
more robust way.
2005-05-09 19:33:24 +00:00
Michael Jung ea3793b79d Support folder relative paths in UnixFolders' ParseDisplayName
method.
2005-05-09 19:33:01 +00:00
Daniel Lund a87d8a3db9 Added D3DDEVCAPS_HWRASTERIZATION to the DevCaps for scene
rasterization. Allows GuildWars to start.
2005-05-09 19:32:49 +00:00
Andreas Mohr 51198f8eb6 Fix for CommConfigDialog*() hwnd argument. 2005-05-09 19:32:33 +00:00
Aric Cyr d7d1101d31 Fix WGL_ACCELERATION_ARB queries from applications. 2005-05-09 19:31:33 +00:00
Eric Pouech 0198255ba9 Some fixes on async shutdown. 2005-05-09 19:31:19 +00:00
Francois Gouget 5f0031eb3b Define GLX_SAMPLE_BUFFERS_ARB and GLX_SAMPLES_ARB if they were not
defined by the OpenGL headers.
2005-05-09 19:30:53 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Juan Lang 4d1562495d Correct/improve error checking in IPropertyStorage. 2005-05-09 09:26:43 +00:00
Michael Jung 3a117bccd8 Always pass fully qualified paths to stat system call. 2005-05-09 09:26:02 +00:00
Huw Davies da13552c55 It makes no sense to have a left pointing arrow as the desktop icon.
Replace it with something more appropiate.
2005-05-09 09:25:28 +00:00
Lionel Ulmer 233b5f5b80 - Windows reports 0x80 on pressed buttons not 0xFF
- trace the events reported to the application
2005-05-09 09:24:34 +00:00
Felix Nawothnig 4899a50056 Implemented WM_ENABLE. 2005-05-09 09:24:05 +00:00
Robert Reif 70fe39e42c Remove dead code and redundant variables from DSOUND_CalcPlayPosition
and callers.
2005-05-09 09:23:54 +00:00
William Poetra Yoga H a83c19f48c Support building man pages outside of the source directory. 2005-05-07 18:39:05 +00:00
Alexandre Julliard 2c7a248055 Converted all the kernel32 register functions to the
DEFINE_REGS_ENTRYPOINT mechanism.
2005-05-07 18:25:51 +00:00
Rolf Kalbermatter 84e00d4804 Implement ICaptureGraphBuilder and IcaptureGraphBuilder2 based on
Maarten Lankhorst's patch.
2005-05-07 18:18:39 +00:00
Alexandre Julliard 26050b49d5 Prefix the internal name of all register functions with __regs_ for
better consistency and to make automated checking possible.
2005-05-07 18:10:30 +00:00
Rolf Kalbermatter 836b7df693 Implement DLL registering and unregistering functions, class factory
and server locking based on how it is done with DirectX samples.
2005-05-07 18:00:33 +00:00
Rein Klazes ce8c9426eb Don't set the pen width to 1 in X11DRV_PolyLine. 2005-05-07 17:54:51 +00:00
Alexandre Julliard 90af05f060 Treat 0xffff the same as 0 for the handle generation field to avoid
sign extension problems.
2005-05-07 15:03:00 +00:00
Francois Gouget ee7f5eb9a3 Add the 'Western European Summer Time' (WEST) timezone (reported by
José Melo).
2005-05-07 14:50:56 +00:00
Robert Lunnon f4949b8d80 Make references to NAME_MAX refer to PATH_MAX instead. 2005-05-07 14:50:00 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Robert Lunnon 16a37e1eaf Avoid passing NULL buffer elements and status pointers to
XmbLookupString.
2005-05-07 12:18:24 +00:00
Robert Lunnon cd40a31073 Added a conditionally compiled definition of INADDR_NONE for platforms
that don't define it.
2005-05-07 12:18:10 +00:00
Lionel Ulmer ba9ce8c7d6 '0' means 'default refresh rate' and not a real refresh rate of '0'. 2005-05-07 12:17:45 +00:00
Robert Lunnon dc1ceb95cb Fix segmentation fault caused by incorrect referencing of client audio
format specifications array.
2005-05-07 12:17:28 +00:00
Michael Jung fc40dcf985 Make the root of the shell extension map to the root of the unix
filesystem.
2005-05-07 12:17:02 +00:00
Robert Lunnon 9e40b70d90 Implement NtQueryVolumeInformation for Solaris. 2005-05-07 12:16:21 +00:00
Aric Stewart 2494e4a52a Add a missing msiobj_release that was resulting in a leaked object
with each MsiCreateRecord call.
2005-05-07 12:13:08 +00:00
Aric Stewart 41fbee0e83 Correct a missing MsiCloseHandle(). 2005-05-07 12:12:56 +00:00
Maarten Lankhorst 4c9f5f6456 Fixed two small memory leaks. 2005-05-07 12:12:29 +00:00
Stefan Leichter cabe752d1d Make ole32 tests loadable on NT4. 2005-05-07 12:09:58 +00:00
Alexandre Julliard b3e9c44741 Renamed wineps.dll to wineps.drv for consistency. 2005-05-06 20:04:27 +00:00
Alexandre Julliard 0bb4bddff4 Store the module instance we get in DllMain to avoid extra LoadLibrary
calls.
2005-05-06 20:02:36 +00:00
Alexandre Julliard c3116c5e61 Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively
to follow the namespace conventions and make it clear that they are
drivers and not dlls.
Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
2005-05-06 19:38:50 +00:00
Robert Reif 6ec5b351bb Move initialization to IDirectSound_Initialize.
Fix error paths to handle a failed IDirectSound_Initialize.
Add tests for IDirectSound_Initialize.
2005-05-06 19:33:32 +00:00
Michael Jung 15934680f7 Return a cloned PIDL by SHBrowseForFolder to avoid heap corruption. 2005-05-06 19:33:06 +00:00
Michael Jung 94e5f01275 Display a drive icon for the unix root directory. 2005-05-06 19:32:54 +00:00
Robert Reif 723a67d1f8 Change FIXME to WARN. 2005-05-06 19:32:36 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Alexandre Julliard 2dabac08ee Added support in winebuild for specifying import libraries directly on
the command line without the -l option.
Changed the -d option to only mark the library as delayed, the actual
loading is now done separately.
2005-05-06 15:54:41 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Alexandre Julliard 3629cc4ed6 Eric Kohl <eric.kohl_at_t-online.de>
Implement CaptureAndConvertAnsiArg, CaptureStringArg,
OpenAndMapForRead, RetreiveFileSecurity, StampFileSecurity,
TakeOwnershipOfFile, and UnmapAndCloseFile.
2005-05-06 15:38:22 +00:00
Maarten Lankhorst 8efc1f3612 Fixed a dozen of reference (and some memory) leaks.
Implemented filtergraph_pause/stop.
2005-05-06 14:34:44 +00:00
Maarten Lankhorst aa4df8f63a Fixed {Copy/Delete/Free}MediaType functions to show proper behaviour.
Fixed EnumMediaTypes to copy pbFormat too.
Added FreeMediaType.
2005-05-06 14:34:02 +00:00
Hartmut Birr af384ad7a8 Clean up if named pipe is not available. 2005-05-06 14:33:11 +00:00
Francois Gouget 63b596d7ea Tweak the documentation to make winapi_check happy. 2005-05-06 14:33:02 +00:00
Francois Gouget 8054f6c5ad Update win32.api to match the current sources.
Declare CoGetClassObjectFromURL() in urlmon.h.
2005-05-06 14:32:48 +00:00
Matthew Mastracci 6e028f414d Replace stub entry for StgOpenStorageEx with call to StgOpenStorage. 2005-05-06 14:32:30 +00:00
Alexandre Julliard ac0bf21abc Don't retrieve a window DC in GetUpdateRect if there is nothing to
erase, to avoid setting a null update region in an owned DC.
Avoid potential double delete of the update region on return from
send_erase.
2005-05-05 16:52:21 +00:00
759263042e Return ENOENT rather than EBADF from MSVCRT_fopen() when file doesn't
exist.
2005-05-05 16:48:28 +00:00
Robert Shearman 45d47c422f Fix RegDeleteKey{A,W} to open the specified key with the DELETE access
right.
2005-05-05 16:47:33 +00:00
Matthew Mastracci 8188790946 Replace StgCreateStorageEx stub with call to StgCreateDocfile and add
required STGFMT_* enumerations.
2005-05-05 16:44:05 +00:00
Rein Klazes 05a494c2b5 In MaskBlt delete correct bitmap. 2005-05-05 16:43:26 +00:00
Rein Klazes aecbcac865 Add 16<->32 bit message mappings for WM_COPYDATA messages. 2005-05-05 16:43:17 +00:00
Rein Klazes 1e43a90727 - In MZ_DoLoadImage if an environment segment is specified in the
parameter block, use that and do not inherit from the calling
  process.
- Call FreeEnvironmentStrings when the strings are no longer used.
2005-05-05 10:32:54 +00:00
Michael Jung 45bcdd2be1 Fixed GetDisplayNameOf method to not depend on incorrect behaviour
regarding the SHGDN_INFOLDER flag.
2005-05-05 10:30:51 +00:00
Michael Jung ddc26aa94e Fixed MyComputer's GetDisplayNameOf method. 2005-05-05 10:30:39 +00:00
Lionel Ulmer a9d42f44c1 - do not flush the buffer when the application only wants to peek the
number of elements in the queue
- trace the GetDeviceState values before they are reset
2005-05-05 10:30:24 +00:00
Christian Costa 4598cde6f5 Added stub implementation for CoGetClassObjectFromURL. 2005-05-05 09:50:57 +00:00
Troy Rollo 833c946234 Correct bug truncating downloaded files to 4096 bytes. 2005-05-05 09:50:46 +00:00
Christian Costa 7180775af6 Forward CLSID_FilterGraphNoThread to CLSID_FilterGraph. 2005-05-05 09:50:35 +00:00
Emmanuel Maillard 034ebcc19e Fix compile on non-ELF host. 2005-05-05 09:50:13 +00:00
Lionel Ulmer fa8d7a0fe6 - more pretty print for the types flag
- more Windows-aligned check for object instances
2005-05-05 09:49:54 +00:00
Marcus Meissner 8480f39f11 Initialize iosb. 2005-05-05 09:49:43 +00:00
Ivan Leo Puoti a760181be0 Set win2k3 service pack number to 1. 2005-05-05 09:49:24 +00:00
Emmanuel Maillard 21f95cf761 - Fix NTDLL_wait_for_multiple_objects call in usr1_handler.
- Fix an error due to "invalid lvalue in assignment" with gcc 4 on
  Darwin 8.0.
2005-05-05 09:49:13 +00:00
Felix Nawothnig 2fcd42aac2 Set iItem to index before notifying callback items. 2005-05-04 10:37:17 +00:00
Marcus Meissner 1fa2da0756 Set PhysicalMemory property from system data. 2005-05-04 10:37:05 +00:00
Troy Rollo caf6fa9531 Implement URLMonikerImpl_BindToStorage. 2005-05-04 10:36:54 +00:00
Troy Rollo 9d86716ef6 Create URL Cache if it does not already exist. 2005-05-04 10:36:43 +00:00
Vincent Béron 0fa5e855fb Use SUBLANG_NEUTRAL for French resources. 2005-05-04 09:52:47 +00:00
Mike McCormack 2b2c6f2fba Remove static variables in SHBrowseForFolder implementation. 2005-05-04 09:48:15 +00:00
Hans Leidekker 64dcb35a4e Stub implementation for SetupCopyOEMInfW. 2005-05-04 09:47:28 +00:00
Hans Leidekker 969c4dee50 Bump version number to XP SP2. 2005-05-04 09:47:13 +00:00
Robert Reif ed2a6e4aae Set driver type properly. 2005-05-04 09:46:41 +00:00
James Dean Anderson da87fa817d Report an error if trying to get data from an unacquired mouse. 2005-05-04 09:46:07 +00:00
Ivan Wong bf8f93d915 Added Hong Kong Standard Time (HKT). 2005-05-04 09:45:48 +00:00
Ulrich Czekalla 4b13086685 Let the default winproc handle WM_MOUSEACTIVATE. 2005-05-04 09:45:33 +00:00
Raphael Junqueira 44cfc89849 - implement wglGetCurrentReadDCARB, wglMakeContextCurrentARB on
openGL32 (wgl_ext)
- add code to disable some openGL extensions support using wine
  registry key HKLM\Software\Wine\OpenGL\DisabledExtensions (list
  separated by spaces)
- valid/robust implementation of wglChoosePixelFormatARB and
  wglGetPixelFormatAttribivARB (wgl_ext)
2005-04-28 18:31:15 +00:00
Raphael Junqueira 9e034b7fb8 - valid implementation of X11DRV_ChoosePixelFormat using GLX1.3 API
(ie. using real card caps and not ugly way using visuals array) to
  be compatible with opengl32 pixel formats (wgl*PixelFormat* APIs) as
  they need to be the same
- add more traces to xrandr
2005-04-28 18:29:12 +00:00
Aric Stewart 2b8bf597b5 Correct user component publication.
Implement MsiEnumComponentQualifiers.
2005-04-28 18:28:11 +00:00
Marcus Meissner c4d25aec20 Fixed stack overwrite by using sizeof(WS_sockaddr_ipx). 2005-04-28 18:27:27 +00:00
Mike McCormack 95a58eba7d Split up the window procedure. 2005-04-28 18:26:58 +00:00
Mike McCormack abe70f7648 Implemented GetLastInputInfo. 2005-04-28 12:04:14 +00:00
Raphael Junqueira 086f77a034 - implement memory access APIs to VertexBuffers
- more valid implementation for IWineD3DImpl_Check* APIs (not more
  S_OK for all cases)
2005-04-28 12:02:03 +00:00
Aric Stewart ece85e0cf0 Implement MsiQueryFeatureStateW. 2005-04-28 12:01:06 +00:00
Alexandre Julliard d3a195a66d Moved the USER syslevel to dlls/user/user_main.c.
Moved a bunch of stubs to dlls/user/misc.c.
2005-04-27 11:09:55 +00:00
Eric Pouech 1575c940ef - delayed initialisation of BIOS and SYSTEM information until someone
actually needs it
- now using some manifest constants to make code clearer
2005-04-27 11:08:47 +00:00
Maarten Lankhorst 8a7960c4f9 Added the video input device category. 2005-04-27 11:07:55 +00:00
Alexandre Julliard 6b4c02e57f Moved remaining messaging definitions to user_private.h and removed
message.h.
2005-04-27 10:23:24 +00:00
Mike McCormack 07c74d07f3 Make sure that dialogs are only created and destroyed in a single
thread.
2005-04-27 10:16:57 +00:00
Maarten Lankhorst 888eaae74c Implemented capGetDriverDescription. 2005-04-27 09:46:25 +00:00
Mike McCormack b2ba933fcf Make multimedia threads high priority. 2005-04-27 09:39:55 +00:00
Sami Aario c7bd5fb16d Added initial version of Delnode plus some tests. 2005-04-27 09:37:25 +00:00
Alexandre Julliard 86be9f20da Removed the MESSAGEQUEUE structure, and store the corresponding
information directly in the TEB, in the Win32ClientInfo field.
2005-04-27 08:18:20 +00:00
Mike McCormack 795b17e055 Make WINMM_IData statically allocated. 2005-04-27 08:12:58 +00:00
Raphael Junqueira 4ed37e03c6 Fix crash on drawStridedSlow. 2005-04-27 08:12:23 +00:00
Gerald Pfeifer 039869eed1 Include <limits.h> to get a definition of NAME_MAX. 2005-04-27 08:12:08 +00:00
Aric Stewart afcaf83ed7 Correct a leaking hkey handle. 2005-04-27 08:11:52 +00:00
Aric Stewart 1b54881209 Expand some handling of special properties in MsiGetProductInfo. 2005-04-26 14:30:31 +00:00
Mike McCormack f47c0b2e29 Declare MsiExportDatabase* in the spec file, and fix a typo. 2005-04-26 14:30:15 +00:00
Christian Costa 0b3c79f712 Fixed flags handling in MCIAVI_mciInfo. 2005-04-26 14:29:57 +00:00
Alexandre Julliard b6f4eccdbd Moved some messaging and input functions to message.c and input.c
respectively.
2005-04-26 08:18:47 +00:00
Ulrich Czekalla a800dfe52e SetParent should not remove menu from non-child windows. 2005-04-26 08:16:17 +00:00
Huw Davies 1fbea59ff2 The ansi version of CB_ADDSTRING shouldn't overwrite the string if
converting case.
2005-04-26 08:15:53 +00:00
Maarten Lankhorst 32498176e8 Fixed a reference leak. 2005-04-26 08:15:38 +00:00
Alexandre Julliard 40b7a50f8e Moved the ScrollWindow and ScrollDC functions to dlls/user/painting.c,
and removed windows/scroll.c.
2005-04-25 16:13:17 +00:00
Maxime Bellengé 6762313cdf Prevent CreateDCA from crashing if a bad lpInitData parameter is
provided.
2005-04-25 16:02:27 +00:00
Ivan Leo Puoti 26d2b8bf5e Add parameter checking to NtReadFile/NtWriteFile. 2005-04-25 16:02:16 +00:00
Alexandre Julliard 240d4ee9e1 Remove a few more instances of strncpy. 2005-04-25 15:51:45 +00:00
Alexandre Julliard 172e731c0b Moved most files from the windows directory to dlls/user. 2005-04-25 11:33:34 +00:00
Michael Jung 3abb5bd6bb Support for regular files (as opposed to directories). 2005-04-25 10:56:29 +00:00
Christian Costa e901cc4b53 Improved errors handling a bit in dsound renderer. 2005-04-25 10:49:22 +00:00
Marcus Meissner accf3ee2e6 Fixed 3 memset()s which used the wrong size (too large). 2005-04-25 10:48:38 +00:00
Mike McCormack 70d30cb54a Tests for SignalObjectAndWait. 2005-04-24 17:37:52 +00:00
Mike McCormack 0cd4317c71 Implemented SignalObjectAndWait. 2005-04-24 17:36:34 +00:00
Mike McCormack f92fff66a2 Implemented NtSignalAndWaitForSingleObject. 2005-04-24 17:35:52 +00:00
Robert Reif 684f111070 Remove priority boost stuff. 2005-04-24 17:23:51 +00:00
Dylan Taft 14b3729ac3 Set display frequency too in SetDisplayMode. 2005-04-24 17:23:39 +00:00
Juan Lang b99dfb0c1a Define and use endian conversion macros for big-endian machines. 2005-04-24 17:22:26 +00:00
Juan Lang 576aa4a6d8 Export _tzname, expected by Mozilla. 2005-04-23 19:06:29 +00:00
Stefan Leichter 21be2f734e Excluded tests crashing on NT4 from compiling. 2005-04-23 19:05:03 +00:00
Juan Lang bf83ba1fa3 - convert strings between property storage's code page and system code
page
- add tests for setting code page
- fix tests and behavior to match WinXP
2005-04-23 19:04:49 +00:00
Robert Reif 419e92812b Set thread priority for timer thread.
Add timer thread priority test.
2005-04-23 19:03:47 +00:00
Michael Jung 025bc2d8a2 Use the shell32 typical binary format for ITEMIDLISTs. 2005-04-22 21:29:17 +00:00
Stefan Leichter 5027c1b5c5 Import DPA_Search by ordinal like other DPA functions. 2005-04-22 21:18:12 +00:00
Robert Shearman 1408169387 Implement PrivilegeCheck. 2005-04-22 21:17:42 +00:00
Robert Shearman d2ea92d14e - Clean up well-known privileges.
- Implement checking tokens for privileges in the server.
- Implement NtPrivilegeCheck.
2005-04-22 21:17:15 +00:00
Michael Jung 2a788026a3 Fixed incorrect IShellFolder::EnumOjects API usage. 2005-04-22 19:07:00 +00:00
Huw Davies cc255b0c8b If XShmAttach fails then reset shmid to -1 so that we don't try to use
it later.
2005-04-22 19:06:41 +00:00
Mike McCormack 5960e7c93c MSI advertised shortcuts don't require a product ID. 2005-04-22 19:06:12 +00:00
Stefan Leichter 950d678c5e Make ole32 tests loadable on NT4. 2005-04-22 19:05:51 +00:00
Alex Villacís Lasso 569db3c812 Perform one more commit in ALSA non-emulation if there are still
frames to be transmitted.
2005-04-22 19:05:34 +00:00
Alex Villacís Lasso 4376140a4f - Fix leftover negative sign in height parameter for transparent
bitmap.
- Properly announce whether bitmap is transparent in get_Attributes.
- GIF transparency is now palette-index based, instead of RGB based.
- Keep original bitmap and XOR mask separate, so that get_Handle
  returns original bitmap.
2005-04-22 19:05:05 +00:00
Francois Gouget 5ffd9888cd Tweak the API documentation to silence winapi_check warnings. 2005-04-22 19:04:41 +00:00
Francois Gouget 00f72a32fd Add a definition for _ATL_REGMAP_ENTRY in atlbase.h.
Fix the prototype of AtlModuleUpdateRegistryFromResourceD() so it uses
the right pointer types.
2005-04-22 19:04:18 +00:00
Alexandre Julliard 333e49d78b Moved the UsePrimary config parameter to the x11drv section, renamed
as UsePrimarySelection.
2005-04-21 17:31:50 +00:00
Aric Stewart 7e181f49a8 Fix for the return codes for the Qualified component calls. They are
not INSTALLSTATEs but rather success values.
2005-04-21 17:24:27 +00:00
Alexandre Julliard b965457c4a Get rid of the remaining calls to strncpyW, and remove that function
from wine/unicode.h.
2005-04-21 17:18:50 +00:00
Peter Berg Larsen 56c34e1b2c Rewritten DoEnvironmentSubst16. 2005-04-21 17:14:39 +00:00
Paul Vriens 08ae0d09bb Remove THREAD_INFO struct.
Rename THREADINFO into SYSTEM_THREAD_INFORMATION.
2005-04-21 17:14:22 +00:00
Benjamin Cutler 250a8aec08 Added partial implementation of powrprof.dll. 2005-04-20 19:15:31 +00:00
Alexandre Julliard fc2bd2324e Handle posted internal messages directly in PeekMessageW to avoid
having to return them to the application.
Call NtYieldExecution for nicer behavior when PM_NOYIELD is not
specified.
2005-04-20 18:53:53 +00:00
Alexandre Julliard d1a36e1929 Avoid a compiler warning. 2005-04-20 18:45:28 +00:00
Francois Gouget 30a07e9046 Fix the DCICreatePrimary() prototype. It's supposed to return an int
so have it return DCI_FAIL_UNSUPPORTED.
Add the needed error codes and the DCISURFACEINFO definition to
dciddi.h.
Add dciman.h and put the function prototypes there.
dciddi.h and dciman.h should be installed with the other Windows
headers.
2005-04-20 18:42:04 +00:00
Alexandre Julliard 3b843d3e7d Remove all traces of the VIRTUAL_SetFaultHandler support. 2005-04-20 16:26:23 +00:00
Dimitrie O. Paun 41c2482984 Use vectored exceptions to get rid of VIRTUAL_SetFaultHandler(). 2005-04-20 16:24:13 +00:00
Francois Gouget 4b9f767845 Specify the proper call convention in the PropSysFreeString()
implementation.
2005-04-20 16:21:16 +00:00
Alexandre Julliard 4a334aed3c Move all the old config conversion code to a new oldconfig.c file, and
get rid of misc/registry.c and the misc directory.
2005-04-20 15:43:36 +00:00
Francois Gouget 3ef8c51c8a Tweak the API documentation to silence winapi_check warnings. 2005-04-20 15:18:42 +00:00
Phil Krylov 5a9312445e Fixed an error in my previous commit which caused an infinite loop in
IE6 installer.
2005-04-20 14:25:03 +00:00
Mike McCormack ae8c0ab55b Test MsiSummaryInfoGetProperty reading an empty property. 2005-04-20 14:24:30 +00:00
Mike McCormack 7932d76a1d Fix loading of the summary information. 2005-04-20 14:24:14 +00:00
Alexandre Julliard 3b5875e35f Replace the wineprefixcreate --update option by a --wait option, and
make the non-wait behavior the default.
2005-04-20 13:12:14 +00:00
Alexandre Julliard 3e2f2a5265 Allow nested hardware message processing by storing a unique id in
every message and using it to manage the current queue position.
Better filtering of hardware messages to avoid returning messages that
have no chance to match the filter.
2005-04-20 13:03:59 +00:00
Richard Cohen 062c18dd24 Dither solid colours on monochrome bitmaps. 2005-04-20 12:52:46 +00:00
Duane Clark 320814fb67 Misc rectangle fixes.
The date should be initialized from local time.
2005-04-20 12:51:37 +00:00
Gerald Pfeifer 185ec147b9 Fix compilation problem caused by ULONG_MAX. 2005-04-20 12:51:26 +00:00
Aric Stewart 072c5e56a2 Implement Publish Components in order for MsiGetQualifiedComponent
apis to work. Also implement MsiGetQualifiedComponent, or at least some
of the functionality as it is supposed to install stuff if it is
absent, which it does not do yet.
2005-04-20 12:50:05 +00:00
Huw Davies bd4af76514 WTSFreeMemory stub. 2005-04-19 12:00:29 +00:00
James Hawkins 8516d1969d Set the backup/restore privilege. 2005-04-19 12:00:04 +00:00
Stefan Leichter e41bd72afc Exclude crashing CreateFileW test on NT4. 2005-04-19 11:59:46 +00:00
Troy Rollo 95fe6abcb7 Fix SEGVs in NtCreateSection and NtMapViewOfSection. 2005-04-19 10:31:28 +00:00
Troy Rollo 1af0651b17 Prevent SEGV in RegInstall when pstTable is NULL. 2005-04-19 10:24:50 +00:00
Troy Rollo 8bf4d76681 Correct test of BOOL return value in ControlService. 2005-04-19 10:24:22 +00:00
James Hawkins fa18fad2b0 Remove two unnecessary traces.
Break up one test into two.
2005-04-19 10:24:06 +00:00
Francois Gouget 4527aae24f Assorted spelling fixes. 2005-04-19 09:49:38 +00:00
Troy Rollo 98d336c363 Fix SEGV for non-fully-qualified destination paths.
Don't fail ShFileOperationW if FOF_ALLOWUNDO is passed.
2005-04-19 09:49:05 +00:00
Francois Gouget 3b36eee083 Add trailing '\n's to ok() calls. 2005-04-19 09:48:44 +00:00
Francois Gouget e8ec9d5fe6 DPSET_REMOTE is 0 so we cannot do (flags & DPSET_REMOTE). Instead
check that the DPSET_LOCAL flag is not set.
2005-04-19 09:48:09 +00:00
Francois Gouget 5941686dbb SBSP_ABSOLUTE is 0 so we cannot do (wFlags & SBSP_ABSOLUTE).
Add COMDLG32_DumpSBSPFlags().
2005-04-19 09:47:42 +00:00
James Hawkins 89f67d7b09 Add RegUnLoadKey test. 2005-04-19 09:47:10 +00:00
Jose Alonso 0e21f376da Change the order of DispatchMessage and message removal. 2005-04-19 09:47:02 +00:00
Eric Pouech b461ddeb2d Copied the atom tests for global atom so that we can test local atoms
too.
2005-04-18 15:47:18 +00:00
Alexandre Julliard 90a1a7811f Removed unused data fields in the LANG_FIND_DATA structure. 2005-04-18 15:42:49 +00:00
Eric Pouech 0a9f98b9bd Removed the no longer user APC_ASYNC kind of APC. 2005-04-18 15:38:44 +00:00
Peter Berg Larsen 102121993a Eliminate strncpy. Correct a \0 assingment to the modstr variable. 2005-04-18 15:37:15 +00:00
Peter Berg Larsen 407409f27f Remove 2 identicals calls to strlenW. 2005-04-18 15:36:59 +00:00
Peter Berg Larsen 6aefbc0934 Strncpy elimination. 2005-04-18 15:36:20 +00:00
Peter Berg Larsen 972a949552 Eliminate strncpy and correct some NameLen bugs. 2005-04-18 15:34:10 +00:00
Peter Berg Larsen 716bf4d6fb Elimination of lstrcpyn, and corrected a potential pointer bug. 2005-04-18 15:33:31 +00:00
Peter Berg Larsen f525f182f2 Eliminate a strncpy and remove unused variable. 2005-04-18 15:33:15 +00:00
Eric Pouech 5a2591d96d - moved named pipe creation to ntdll
- server now handles the named pipe flags as the NTDLL values (not the
  KERNEL32 ones)
- named pipes in server now use the async IO mechanism for
  connect/wait ops
2005-04-18 14:57:04 +00:00
Robert Reif 267f85b0ac Added keyboard data format. 2005-04-18 14:53:27 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Vitaliy Margolen 71be094420 Don't redraw if no information has changed.
Fixed endless redraw loop if app using callback for images and/or
text.
Keep color changes made by app for the current draw cycle.
2005-04-18 10:20:51 +00:00
Eric Pouech a8d8b52d6f Added proper definition for PRINTDLGEX[AW] structures. 2005-04-18 10:01:07 +00:00
Eric Pouech 05413fccc5 Fixed some signed / unsigned pointer casts. 2005-04-18 09:54:03 +00:00
Jakob Eriksson 163f5ab923 Fail gracefully on permission denied. 2005-04-18 09:52:40 +00:00
Benjamin Cutler 2813da13a3 Add semi-stub for NtPowerInformation(SystemPowerCapabilities, ...). 2005-04-18 09:52:32 +00:00
Duane Clark ddf9da794e The datetime should be initialized with local time. 2005-04-18 09:52:18 +00:00
Sami Aario 9b90532c68 Added stubs for RunSetupCommand and DelNode. 2005-04-18 09:51:53 +00:00
Eric Pouech e5da8e6260 Correctness for const pointer casts. 2005-04-18 09:51:03 +00:00
Mike McCormack 58a4fb9ef0 Declare and define a stub for NtSignalAndWaitForSingleObject. 2005-04-16 11:19:27 +00:00
Richard Cohen a1d66596b5 CreateBitmap16 should use only the first byte of planes & bpp. 2005-04-16 11:18:43 +00:00
James Hawkins a9d5de8414 RegDeleteKey fails if the lpSubKey param is NULL. 2005-04-16 10:49:10 +00:00
Krzysztof Foltman 13578c8602 - removed trailing spaces from some files
- tab support
- indent support
2005-04-16 10:48:35 +00:00
Duane Clark 1f7d6ccc2e Add support for direct keyboard input to numeric fields. 2005-04-16 10:48:02 +00:00
Mike Hearn 759e1707e0 - Add text dumping of the requested command.
- Make the stub message appear for more commands.
2005-04-16 10:47:46 +00:00
Benjamin Cutler c31a7e98f1 - Correct args for NtPowerInformation.
- Add stub for NtInitiatePowerAction.
2005-04-16 10:45:51 +00:00
Jacek Caban 6d54716f17 - More implementation of view
- Added IOleInPlaceActiveObject
2005-04-15 16:12:45 +00:00
Jakob Eriksson 9117e1c463 ERROR_PRIVILEGE_NOT_HELD can be returned for NT4. 2005-04-15 16:12:28 +00:00
Jakob Eriksson 7fb79e34a0 Win98 can return ERROR_CALL_NOT_IMPLEMENTED. 2005-04-15 16:12:14 +00:00
Brian Vincent 49dc0b1e64 Add stub for DCICreatePrimary. 2005-04-15 16:11:56 +00:00
Huw Davies 7ac969d560 When we're hiding file extensions then SetNameOf should append the
original extension if SHGDN_FORPARSING isn't set.
The flags passed to SetNameOf refer to the dst string not the src
pidl.
2005-04-15 16:11:45 +00:00
Dmitry Timoshkov 35356002e6 Zero out an invalidated runningObjectTableInstance pointer. 2005-04-15 16:11:29 +00:00
Duane Clark b00d5769da Hour '0' corresponds to 12AM. 2005-04-15 16:10:39 +00:00
Paul Vriens a9cbabc03c Start of unit tests for *Info* functions.
Check needed length regardless of given length.
Return STATUS_INVALID_INFO_CLASS for non-implemented classes.
Return STATUS_ACCESS_VIOLATION if no buffer given.
2005-04-15 14:12:54 +00:00
Mike McCormack 77103f8245 Simple unit tests for GdiIs*DC functions. 2005-04-15 14:11:00 +00:00
Juan Lang e68982fcaf Implement FmtIdToPropStgName & PropStgNameToFmtId, with tests. 2005-04-15 14:09:18 +00:00
Robert Shearman a3b4e20503 Fix TB_GETBUTTONSIZE to return the correct width/height for no
buttons.
2005-04-15 14:09:05 +00:00
Robert Shearman 21f9465067 - Use SetWindowPos to move the buddy window into position instead of
destroying it and recreating it at the new position.
- Clear the background in WM_VSCROLL to avoid problems with
  antialiased text drawing on top of itself multiple times.
2005-04-15 14:08:39 +00:00
Dimitrie O. Paun f35db0144c Keep track of WS_DISABLED explicitely, as it doesn't generate a
WM_STYLECHANGED message.
2005-04-14 13:58:45 +00:00
Dimitrie O. Paun 2e0a14820b Add support for LVN_ODSTATECHANGED.
Minor typo fixes.
2005-04-14 13:58:25 +00:00
Mike McCormack 556c976b8f Implement GdiIs*DC functions. 2005-04-14 13:57:55 +00:00
Robert Shearman 95ebdc63c6 Add a test for a menu problem I found. 2005-04-14 13:57:27 +00:00
Robert Shearman cec9e23cc3 Recalculate the menu on calling ModifyMenu so that the menu items are
shown at the correct width.
2005-04-14 13:56:29 +00:00
Vitaliy Margolen 3b3574a468 Send notifies after invalidating changed areas.
Don't use custom draw returned colors for control.
2005-04-14 13:56:12 +00:00
Alexandre Julliard f7ff216a15 Fixed a buffer overflow. 2005-04-14 12:50:54 +00:00
Rein Klazes 8062bbdeb8 In X11DRV_DIB_SetImageBits avoid BadMatch errors when calling
XGetSubImage.
2005-04-14 12:48:31 +00:00
Alexandre Julliard 036dcf2a2a Include Xmd.h in x11drv.h with the proper defines to make it work, and
remove related hacks in various C files.
2005-04-14 12:48:11 +00:00
Rein Klazes b6d331d680 Fix decoding printf format in case the field width specifier is a '*'. 2005-04-14 11:32:53 +00:00
Daniel Remenak d46cc36347 Remove unused variable in _copy_arg. 2005-04-14 11:32:10 +00:00
Benjamin Cutler 8c37f4362b Better handling of hInternet == NULL for INTERNET_OPTION_PROXY in
INET_QueryOptionHelper. MSDN says to return 'global proxy info' when
hInternet == NULL. Thanks to Juan Lang for helping with this.
2005-04-14 11:31:39 +00:00
Duane Clark a6659d26d2 Monday is day number '1'.
Set day of week when a day is selected in the calender.
Use fixed width fields in datetime.
DTS_TIMEFORMAT is a two bit field, so test accordingly.
Reposition and resize the updown control when the datetime control is
resized.
Respond to updown inputs.
2005-04-14 11:31:17 +00:00
Jacek Caban 44d2da9f5d Added more implementation of IDocumentView. 2005-04-14 11:30:50 +00:00
Rein Klazes b05cceb6f5 In AllocConsole() pass the wShowWindow value and STARTF_USESHOWWINDOW
flag from the calling process to the console process. Make wineconsole
use the CmdShow parameter in the ShowWindow call.
2005-04-14 11:30:09 +00:00
Alexandre Julliard eea415300b Moved handling of the 55AA pattern brush to syscolor.c so that it can
be made a system object (found by Rein Klazes).
2005-04-13 16:13:45 +00:00
Benjamin Cutler c2053e1ded Check for an invalid hInternet handle in INET_QueryOptionHelper for
INTERNET_OPTION_PROXY before attempting to use it.
2005-04-13 16:11:36 +00:00
Alexandre Julliard 4722941695 Moved the BITMAPOBJ structure to gdi_private.h. 2005-04-13 16:11:18 +00:00
Marcus Meissner 1b8f8f44a1 Terminate XCreateIC() argument list with NULL instead of just 0. 2005-04-13 15:23:29 +00:00