Commit Graph

7658 Commits

Author SHA1 Message Date
Jason Edmeades af83e4cf91 Calculate the size of BI_BITFIELDS dib sections via the width and
height.
2004-03-07 03:47:55 +00:00
Stefan Leichter 03210d446c Moved implementation of GetDefaultPrinter from ascii to unicode, added
tests for GetDefaultPrinterA.
2004-03-07 03:46:54 +00:00
Raphael Junqueira 5b8d5131a3 Fix one ugly bug (horrible cast) into dmusic code to get Unreal2
crashing later (when trying to launch loaded sound) :)
2004-03-07 03:14:49 +00:00
Robert Shearman 490fbd84fb Don't allocate space for text when nMaxTextRows = 0. 2004-03-07 03:13:26 +00:00
Alexandre Julliard 68cc54330e Do not store the Unix file descriptor in the cache structure.
Protect the global cache with a critical section.
2004-03-05 20:45:33 +00:00
Robert Shearman e2b1222ee0 Stub for RegisterDeviceNotificationW. 2004-03-05 20:44:15 +00:00
Jason Edmeades ed593fdf2f Handle playing of files containing a '+' as part of the filename. 2004-03-05 20:43:40 +00:00
Christian Costa aca2cfc319 Implemented IMediaEventSink and IMediaEventEx interfaces. 2004-03-05 20:42:40 +00:00
Alexandre Julliard db692c8f39 Open a real file handle for drive devices, and get rid of the server
device hacks (based on a patch by Eric Pouech).
2004-03-04 23:00:18 +00:00
Alexandre Julliard 05df86a38f Moved more GDI definitions to gdi_private.h.
Get rid of bitmap.h and palette.h.
2004-03-04 20:41:12 +00:00
Martin Fuchs 7b48ddcbba Enumerate all "shell\<verb>\command" entries in the registry instead
of searching only for "shell\open\command" entries.
2004-03-04 20:34:38 +00:00
Alexandre Julliard 83decd25ad Changed the CreateDC driver entry point to use an HDC instead of a DC
pointer.
2004-03-04 06:26:11 +00:00
Alexandre Julliard 37fda71e41 Get rid of the X11DRV_DC_Funcs hack.
Removed a couple of unused bitmap functions.
2004-03-04 06:13:21 +00:00
Christian Costa b0c9f6a34d Implemented IFilterGraphImpl_EnumFilters and IEnumFilters interface.
Renamed constructor of IEnumRegFilters interface.
Small fix in IFilterMapper_EnumMatchingFilters.
2004-03-04 06:07:30 +00:00
Jesse Allen 1304d45011 Added ImmAssociateContextEx stub. 2004-03-04 06:06:44 +00:00
Alexandre Julliard ebd24807fe Pass the gdiFont object to the SelectFont driver entry point so that
we don't need to look into the DC structure for it.
2004-03-04 04:05:04 +00:00
Alexandre Julliard 9b90e95d65 Avoid direct accesses to the xformWorld2Vport DC field. 2004-03-04 03:55:52 +00:00
Alexandre Julliard 8d18b2a518 Pass the breakExtra value in the ExtTextOut driver call, since there
is no function to retrieve it from the HDC.
2004-03-04 01:42:57 +00:00
Justin Chevrier 0a25dd4668 Move implementation of SysParametersInfo from Ascii to Unicode. 2004-03-04 01:41:11 +00:00
Alexandre Julliard 4d6b27ec3a Avoid some redundant libraries on the winegcc command line. 2004-03-03 22:39:22 +00:00
Alexandre Julliard bcb5d6b82d Smarter allocation algorithm for the string buffer, to allow
displaying more characters for strings without too many escapes.
2004-03-03 21:34:13 +00:00
Alexandre Julliard 45468c06df Changed the GetTextExtentPoint graphics driver entry point to return
device coordinates.
Removed not used breakCount field in the DC structure.
2004-03-03 21:32:15 +00:00
Kevin Koltzau 8ac9773e3b Fix UrlCanonicalize and add regression test. 2004-03-03 20:11:46 +00:00
Hans Leidekker b2791bde3f Link to ws2_32. 2004-03-03 20:11:00 +00:00
Alexandre Julliard cb4ecc878f Implemented Get/SetBoundsRect based on a patch by Ken Belleau. 2004-03-03 05:29:44 +00:00
Kevin Koltzau e6d93da700 Prevent crash with invalid args in a few URL functions. 2004-03-03 05:26:45 +00:00
Martin Fuchs 4a2731a781 Fix buffer length usage for RegQueryValueW() calls at various places. 2004-03-03 05:26:30 +00:00
Robert Shearman cc08578577 - Support custom check background.
- Reduce number of parameters needed for DrawString function.
2004-03-03 05:26:01 +00:00
Christian Costa 203b526a8b Handle null and duplicate name when adding a filter to the
filtergraph.
2004-03-03 02:18:13 +00:00
Rein Klazes 2ce96b45a0 Implemented GetDaylightFlag. 2004-03-03 02:17:58 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Francois Gouget 87f223a879 Assorted spelling and case fixes. 2004-03-02 20:55:57 +00:00
Huw Davies 10e05d02f2 Enable resizing if WS_THICKFRAME is set. 2004-03-02 20:54:41 +00:00
Lionel Ulmer 0e999e3c31 - sync up with latest OpenGL specifications
- some fixes in make_opengl to support the new types
2004-03-02 20:54:17 +00:00
Alexandre Julliard ccc3d66c4a Build the tests with winegcc. 2004-03-02 06:58:21 +00:00
Christian Costa 8160170df2 Added stub for RasGetEntryPropertiesA. 2004-03-02 06:44:03 +00:00
Juan Lang 3ed89c33b0 Added a secur32.dll that loads other SSP DLLs and forwards calls to
them.
2004-03-02 04:57:35 +00:00
Vitaliy Margolen c03dabb2fe Adjust all dimensions to match native.
Invalidate whole tab area when multi-line.
In vertical tab placement go from top to bottom.
Fix annoying visual artifacts.
2004-03-02 04:52:35 +00:00
Dmitry Timoshkov 199247672c - Add a lot of traces to make debugging a bit easier.
- Add support for MCIWNDF_NOAUTOSIZEMOVIE, MCIWNDF_NOAUTOSIZEWINDOW
  and MCIWNDF_NOERRORDLG flags in the MCIWndClass implementation.
- Implement support for MCI_UPDATE in the MCIAVI driver and use it in
  the MCIWndClass WM_PAINT handler.
- Reimplement MCI_STOP command in the MCIAVI driver via an event.
- Add a test preventing the MCIAVI driver to crash after MCI_SEEK
  behind an end of stream.
2004-03-01 23:38:25 +00:00
Juan Lang e9ed2f3108 - The virtual netbios device driver is properly named vnbt.vxd, not
vnb.vxd.
- Make it not depend on UNIX includes.
2004-03-01 23:35:25 +00:00
Hans Leidekker 82f08b8a37 Export LC_ALL before calling sed. 2004-03-01 23:32:35 +00:00
Christian Costa 57b2104f54 Implemented IFilterMapper and IEnumRegFilters interfaces.
Fixed IFilterMapper2_EnumMatchingFilters.
2004-03-01 23:32:04 +00:00
Huw Davies bc811a2489 Add a missing '\\'. 2004-03-01 23:11:53 +00:00
Steve Lustbader a752885c3d Handle the firstVisible item being NULL in
TREEVIEW_UpdateScrollBars().
2004-03-01 23:10:52 +00:00
Alexandre Julliard e8a339c1d2 Portability fixes for LSB compatibility. 2004-03-01 21:32:02 +00:00
Juan Lang 93e268efbd Implement NetpNetbiosStatusToApiStatus. 2004-03-01 21:23:51 +00:00
Rein Klazes 5040309740 In TIME_GetBias make sure there is a cached value for daylight as
well.
2004-03-01 21:23:18 +00:00
Martin Fuchs 4932f56062 Correct return type of SysStringLen() and SysStringByteLen(). 2004-03-01 21:22:59 +00:00
Martin Fuchs 46fceb19f3 Set error code ERROR_DDE_FAIL if the DDE connection failed in
ShellExecute().
2004-03-01 21:22:25 +00:00
Juan Lang 2faaf2265d Make rsabase.dll self-register. 2004-03-01 21:20:33 +00:00
Juan Lang 1795994d53 - correct some prototypes, add some defines
- stub a couple more functions
2004-03-01 21:19:37 +00:00
Alexandre Julliard d3d773d574 Moved generic.ppd to dlls/wineps, and install it in datadir. 2004-02-28 01:50:15 +00:00
Patrik Stridvall 774c88a24d More stubs and better headers for mswsock.dll. 2004-02-28 01:49:37 +00:00
Dmitry Timoshkov 88e1f4e9cb Add SHMenuIndexFromID and SHCoCreateInstanceAC. 2004-02-28 01:46:56 +00:00
Alexandre Julliard 7ba8fba26f Moved msrle32 to the top-level dlls directory. 2004-02-27 21:51:12 +00:00
Patrik Stridvall 8f9b09e947 Fixed some issues found by winapi_check. 2004-02-27 21:32:54 +00:00
Ove Kaaven 4f6a1d3475 Fixed icon leak. 2004-02-27 21:30:16 +00:00
Robert Reif 7ca0381e7a Cleanup prepare/unprepare header parameter checking.
Fix midiInGetDevCapsW.
2004-02-27 21:29:32 +00:00
Patrik Stridvall 885450a38e Added proper headers for the *ActCtx* functions. 2004-02-27 21:28:34 +00:00
Dmitry Timoshkov bd6d7392b7 Fix a typo in a comment. 2004-02-27 21:24:47 +00:00
Alexandre Julliard 0d203bd7ee Sync some of the dll registrations with the contents of
winedefault.reg.
2004-02-27 06:08:32 +00:00
Alexandre Julliard 8887d74bbf SPINST_UNREGSVR must use the UnregisterDlls section, not the
RegisterDlls one.
2004-02-27 06:06:38 +00:00
Alexandre Julliard 5a157628c7 Implemented InstallHinfSection (based on a patch by Chris Morgan). 2004-02-27 04:43:32 +00:00
Robert Shearman 8447121451 - Remove duplicate free.
- Remove debug message that dumps invalid string.
2004-02-27 04:41:06 +00:00
Robert Shearman 57cc6f58ba Update common control function documentation. 2004-02-27 04:40:08 +00:00
Robert Shearman b14950dd5c Update documentation for Rtl functions. 2004-02-27 04:35:43 +00:00
Kevin Koltzau 08d8551910 Implement GetThemeTextMetrics. 2004-02-27 04:34:00 +00:00
Robert Shearman d1d89a64a6 - Fix a bad use of HeapRealloc.
- Fix error return codes.
- Improve traces.
2004-02-27 04:33:41 +00:00
Matt Chapman 766fc7cc9c REBAR_Layout should respect the minimum size of bands even when
RBBS_FIXEDSIZE is not set.
2004-02-27 04:32:54 +00:00
Dmitry Timoshkov 2ae461e400 Use some heuristics to decide what type of MCIWNDM_OPEN message to
use.
2004-02-27 04:32:16 +00:00
Alexandre Julliard cb283489ad Added support for the RegisterDlls section (partly based on a patch by
Chris Morgan).
2004-02-27 00:47:10 +00:00
Huw Davies 67e2d6cb4d Cache the result of TIME_GetBias for up to 1 second. 2004-02-27 00:43:20 +00:00
Matt Chapman cc5d49f8cb REBAR_ShowBand needs to force layout of the rebar after a band is
hidden/unhidden.
2004-02-27 00:43:04 +00:00
Dmitry Timoshkov 6e728e4077 Convert MCIAVI window support to unicode.
Allow multiple simultaneous MCIAVI driver instances.
2004-02-27 00:42:44 +00:00
Dimitrie O. Paun 475cdcba8c Remove the win32 debug channel, misc cleanup of debugging code. 2004-02-26 05:30:54 +00:00
Mike Hearn e16426b082 Use time rather than win32 debug channel for kernel time functions. 2004-02-26 05:29:55 +00:00
Sean Young 65130e8a5d Check uSize parameter in waveOutUnprepareHeader and
waveOutPrepareHeader.
2004-02-26 05:28:01 +00:00
Fabian Cenedese 3d7034e79e VarRound implementation (without type DECIMAL yet) with test function. 2004-02-26 05:27:11 +00:00
Huw Davies 64ed848712 Call TIME_GetBias rather than RtlQueryTimeZoneInfo if we're only
interested in the bias - it's faster.
2004-02-26 05:26:34 +00:00
Alexandre Julliard b65d13605c Fixed callers of GetLocaleInfoW to use the correct buffer size. 2004-02-25 01:35:01 +00:00
Alexandre Julliard f39be9ff48 Return the right error code for non-existent VxD modules. 2004-02-25 01:31:17 +00:00
Rok Mandeljc b26d65bba9 Added name resolving for CLSIDs, IIDs, GUIDs and return codes. 2004-02-25 01:30:03 +00:00
Lionel Ulmer 7cff5d8fa9 Handle proper substraction of unsigned numbers. 2004-02-25 01:25:49 +00:00
Huw Davies f66af59989 Speed up RtlTimeFieldsToTime. 2004-02-25 01:25:00 +00:00
Matt Chapman c286ca06a0 Fix a reentrancy issue in the property sheet implementation by not
caching a pointer that can change.
2004-02-25 01:24:22 +00:00
Fabian Cenedese 7dba7d3138 No sign extension for negative values. 2004-02-25 01:23:49 +00:00
Alexandre Julliard 8cdcbbb342 Tweak the load order algorithm a bit to better reflect the user's
intention, by taking into account non-wildcard module specifications
for all directories.
2004-02-24 01:26:31 +00:00
Alexandre Julliard fc8b376a55 Return right away from import_dll when a dll is not found to avoid
displaying many useless function errors.
2004-02-24 01:25:03 +00:00
Christian Costa 009c04a040 Replaced the timer and its callback by a thread for receiving midi in
events.
Handled DRVM_EXIT in OSS_midMessage.
2004-02-24 01:22:18 +00:00
Dmitry Timoshkov c2de5fbcb9 Set SA_RESTART sigaction flag for other BSDs beside NetBSD. 2004-02-24 01:21:56 +00:00
Lionel Ulmer 51ec927c94 - fix 'empty' glyphs
- implement proper bitmap coordinates
2004-02-24 01:21:43 +00:00
Alexandre Julliard 1a87dc42e2 Removed some of the DOS device hacks (based on a patch by Eric
Pouech).
2004-02-24 01:15:12 +00:00
Uwe Bonnes 0511d33522 Implement I64 modifier, move WARN to TRACE. 2004-02-24 01:09:39 +00:00
Alexandre Julliard 16de1f7aff Changed handling of special DOS devices to use real file handles
instead of the server device object.
2004-02-24 01:07:52 +00:00
Uwe Bonnes 9ffce00940 Pass inherit handle flag properly for CreateNamedPipe. 2004-02-24 01:06:30 +00:00
Ivan Leo Murray-Smith 0053b8b24b Italian update. 2004-02-24 01:05:05 +00:00
Christian Costa 1fba717981 Accept null module instance, Loadstring can handle it. 2004-02-24 01:04:27 +00:00
Christian Costa 26d73867e0 Fixed waveInGetDevCapsW. 2004-02-24 01:02:01 +00:00
Huw Davies 166faa455d Speed up RtlTimeToTimeFields. 2004-02-24 01:01:27 +00:00
Uwe Bonnes f31a3204ca IO_pp_outp: Allow to switch direction of the printer port. 2004-02-24 00:59:19 +00:00
Maxime Bellengé 820aa3762f Fix a regression in ImageList_Create when creating a dibsection. 2004-02-24 00:58:59 +00:00
Lionel Ulmer 8fec392eaa Use the NULL matrix instead of giving a badly filled identity matrix. 2004-02-24 00:58:39 +00:00
Kevin Koltzau 6eb4b2f694 Fill unused gap to fix lookups past CSIDL_CONNECTIONS. 2004-02-24 00:58:20 +00:00
Alexandre Julliard 6c8147b1d1 Allow the implementation of the VxDCall entry points to be moved to
separate VxD dlls.
Moved VMM code to a separate dll, and removed the registry calls to
get rid of the code duplication with advapi32.
2004-02-21 04:13:56 +00:00
Mike Hearn 27c0a06197 Implement SHDOCVW_DllGetVersion. It returns the same information as
the Win98/IE6 implementation does.
2004-02-21 04:01:22 +00:00
Patrik Stridvall ede82e3055 Fixed some issues found by winapi_check. 2004-02-20 20:19:23 +00:00
Alexandre Julliard f310fdf3a0 Removed a couple of unneeded helper functions. 2004-02-20 19:58:39 +00:00
Ulrich Czekalla 5a864b2f70 Use dibsections for the images. 2004-02-20 19:57:09 +00:00
Huw Davies 9af2de85ea If TBSTYLE_EX_HIDECLIPPEDBUTTONS is set then invalidate the area that
changes in a resize.
Don't call SWP unless we're actually adjusting anything.
2004-02-20 19:56:52 +00:00
Ulrich Czekalla 455a22394a Implemented rendering synthesized BITMAP and DIB formats. 2004-02-20 05:43:00 +00:00
Alexandre Julliard 4d984fd9c1 Create real file handles for VxDs instead of using the server device
object hack (partly based on a patch by Eric Pouech).
2004-02-20 05:22:20 +00:00
Robert Shearman 64d68b106a - Implement string functions in comctl32.
- Use CompareString in shlwapi wherever possible instead of ugly
  helpers.
2004-02-20 05:16:37 +00:00
Dmitry Timoshkov c162263d3f First step in using faster approach for A<->W message mapping. 2004-02-20 05:14:48 +00:00
Dimitrie O. Paun e879638d36 LVN_BEGINRDRAG is implemented now. Fix typo. 2004-02-20 05:12:49 +00:00
Kevin Koltzau 92002d924b Implemented system metric functions. 2004-02-20 05:12:21 +00:00
Alexandre Julliard a21cf075a8 Added support for implementing VxDs as separate dlls and loading them
on demand.
Moved all the DeviceIoControl code into the respective VxD dlls.
2004-02-20 01:18:43 +00:00
Rein Klazes 8677fbf362 Add stub implementation for SetICMProfileA(). 2004-02-20 01:08:16 +00:00
Aric Stewart d240ae8d62 Implemented LISTVIEW_ApproximateViewRect for LVS_REPORT. 2004-02-20 01:05:39 +00:00
Finlo Boyde bb6fde284e Fix for deadlock when using private colormap. 2004-02-20 01:04:51 +00:00
Christian Costa 87bef514db Replaced the timer and its callback by a thread for receiving midi in
events.
Fixed time of MIM_LONGDATA notification.
Handled DRVM_EXIT in ALSA_midMessage.
2004-02-19 04:12:18 +00:00
Mike Hearn ca8901640e To reduce debugging noise, make IMalloc32/IMallocSpy implementations
output to the new olemalloc debug channel.
2004-02-19 01:26:45 +00:00
Alexandre Julliard c042e13ef6 Fixed varargs handling in the scanf functions (spotted by Eric
Pouech).
2004-02-19 01:13:12 +00:00
Ulrich Czekalla 0bc05d41a3 Advance index as we set the atom values. 2004-02-19 01:10:16 +00:00
Mike Hearn a41017f81d The presence of FGetComponentPath is used to check if mapi32.dll is
the Outlook version or not. It's common to GetProcAddress for it, so
let's not export it as otherwise apps may call it.
2004-02-19 01:09:52 +00:00
Jon Griffiths 2e2d6ec7c9 Stub the stopwatch API.
Implement DoesStringRoundTripW,@371-3,@392.
Move a couple of string functions into string.c
2004-02-17 22:48:56 +00:00
Alexandre Julliard 1c63357e78 Fixed a trace. 2004-02-17 22:48:25 +00:00
Fabian Cenedese 7142a4e0b2 ListView should behave in OWNERDRAW as in FULLROWSELECT. This allows
to select cells not in the first column in REPORT mode with OWNERDRAW
style set.
2004-02-17 22:47:51 +00:00
Robert Shearman 997ce1926e Forward some wrapper functions since we don't care about compatibility
with Win98 in this case.
2004-02-17 22:47:21 +00:00
Marcus Meissner 0462858eac Support emulation of the privileged mov dr7,eax instruction. 2004-02-17 22:46:06 +00:00
Christian Costa fabcd27800 Added some stubs. 2004-02-17 21:05:44 +00:00
Kevin Koltzau 0fd8e51365 Corrected method of creating registry keys, both to fix an issue where
they were not created and to act more like Windows.
2004-02-17 21:03:33 +00:00
Robert Shearman 187c8b71ce Move string functions to separate file. 2004-02-17 21:02:18 +00:00
Alexandre Julliard 492ac292b9 Added support for building a dll from a .def file for cases where we
don't want to write a full .spec.
Renamed --spec option to --dll for consistency.
2004-02-17 20:36:16 +00:00
Huw Davies 14743a0f3b SetMenu should always call SetWindowPos whether the window is visible
or not. However we shouldn't call SWP from CreateWindowEx.
Added a test for this behaviour.
2004-02-17 20:29:05 +00:00
Robert Shearman 41596e8031 - Fix some traces.
- The TBM_GET*HOTLIST functions take imagelist ID in wParam.
- Implement TBM_GETSTRING{A,W}.
- Implement undocumented 0x462 message.
2004-02-17 20:28:19 +00:00
Fabian Cenedese 393ae7d204 Accept VT_BOOL mixed with another type as valid combination in
VarOr/VarAnd.
2004-02-17 20:25:41 +00:00
Robert Shearman 780deecfd7 - Add IntlStrEqWorkerA/W.
- StrCmp tests.
2004-02-17 20:24:50 +00:00
Robert Shearman 524cad7413 Documentation update. 2004-02-17 20:23:05 +00:00
Dmitry Timoshkov cba227bcec Write section access also assumes read access. 2004-02-17 20:22:43 +00:00
Kevin Koltzau f28552b3d3 Keep track of theme filename within THEME_FILE. 2004-02-17 20:22:27 +00:00
Marcus Meissner 68eb0dd58d Allow specification of "DLLMODE=native" for native dlls. 2004-02-16 22:24:46 +00:00
Alexandre Julliard 095b498b17 Renamed --exe-mode option to --mode now that it can be used for dlls
too.
2004-02-16 22:24:24 +00:00
Mike Hearn d04f253aa9 Grow the treeview control expander button by 1px in each direction to
match the native look.
2004-02-16 22:19:29 +00:00
Sami Aario d3383740d6 No need to link against the uuid library. 2004-02-16 22:18:59 +00:00
Alexandre Julliard 685b936214 The clip rectangle for ExtTextOut is in logical coords. 2004-02-16 20:35:52 +00:00
Dmitry Timoshkov 80064d78e2 Take palette into account while responding on
ICM_DECOMPRESS_GETFORMAT.
2004-02-16 20:34:18 +00:00
Kevin Koltzau 533a999adb Implement DrawThemeBackgroundEx, DrawThemeText, GetThemeTextExtent. 2004-02-16 20:32:59 +00:00
Lionel Ulmer 676e059c61 Store pointers in the internal structures and not handles. 2004-02-16 20:24:15 +00:00
Sami Aario 225f142c8d Added surface tests. 2004-02-16 20:23:58 +00:00
Robert Reif d6993619ef Add secondary buffer array. 2004-02-16 20:23:42 +00:00