Commit Graph

7808 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
Aric Stewart
e56178d9d5 Work toward properly updating the SelectionMark when the selected
state changed inside a listbox.
2004-02-13 22:40:37 +00:00
Robert Reif
20fff3d111 Enable hardware secondary buffer support on cards that support it (SB
live and audigy).
2004-02-13 21:10:21 +00:00
Robert Reif
61cb01781e Save oss device fd and creation flags in dsound buffer object. 2004-02-13 21:04:28 +00:00
Alexandre Julliard
7fd58cb13f Get rid of a few 16-bit exports in gdi32. 2004-02-13 20:58:27 +00:00
Mike McCormack
7fc37b1670 Use the Mozilla Active X control in place of the IE6 Active X
control.
2004-02-13 20:57:34 +00:00
Robert Reif
e9b7222e34 Split buffer creation function into primary and secondary buffer
creation functions. Secondary buffer creation function is stubbed
out.
2004-02-13 20:56:21 +00:00
Mike McCormack
b6de304722 Implement enough of rsabase.dll to get Steam to login. 2004-02-13 20:47:07 +00:00
Robert Reif
b6adacb81c Moved dsound mmap mapping info into dsound objects. 2004-02-13 20:44:42 +00:00
Robert Reif
391aede4ba Use pipe sync code from wineoss. 2004-02-13 20:44:12 +00:00
Alexandre Julliard
e04fe7da4e Moved hGCClipRgn handling to the graphics driver. 2004-02-13 20:26:27 +00:00
Robert Reif
41b89ddd53 Properly release hardware primary buffer when changing formats. 2004-02-13 20:22:02 +00:00
Robert Reif
9a3056b243 Don't need primary lock. Fixes error in dsound tests in interactive
mode.
2004-02-13 20:21:47 +00:00
Alexandre Julliard
da6214a37d Get rid of a few more references to the DC structure. 2004-02-13 04:00:29 +00:00
Alex Pasadyn
a4626a43f5 Update the desktop window size and send WM_DISPLAYCHANGE on resolution
changes.
2004-02-13 03:58:21 +00:00
Alexandre Julliard
79692a3fe8 We don't really need subdirectories in dlls/dinput. 2004-02-12 23:27:59 +00:00
Alexandre Julliard
85106cdaf3 Moved remaining files from graphics/ to dlls/gdi. 2004-02-12 23:11:30 +00:00
Huw Davies
d9558dbd19 Fix a TRACE. 2004-02-12 20:06:04 +00:00
Huw Davies
2cd9ee9528 GetCharABCWidths returns the widths of unrotated glyphs like
GetCharWidth already does.
2004-02-12 20:05:47 +00:00
Huw Davies
780667fe1e Bracket code inserted by the PASSTHROUGH escapes by
%%{Begin,End}Document. This stops cups' pstops becoming confused if it
comes across an %%EOF in an imported eps file.
The hack in PSDRV_Rectangle to fix eps files in office2k turns out to
be almost what Windows really does - update the code and the comment
to match Windows behaviour more precisely.
2004-02-12 20:05:22 +00:00
Huw Davies
fe13d6a0a9 Make sure that the font ppem is always positive. Thanks to gslink. 2004-02-12 20:04:48 +00:00
Dmitry Timoshkov
9fd0183c27 Do not leave not initialized fields in the structure passed to
ShellExecuteExW32.
2004-02-12 20:04:23 +00:00
Dmitry Timoshkov
ccc57b323d Translate the returned hInstApp from the unicode worker function. 2004-02-12 20:04:09 +00:00
Alexandre Julliard
850ee4ba4e Authors: David Hammerton <david@transgaming.com>, Mike McCormack <mike@codeweavers.com>
Completed PeekNamedPipe implementation.
2004-02-12 20:03:53 +00:00
Alexandre Julliard
beacd10175 Moved some code out of the graphics/ directory into dlls/gdi. 2004-02-12 02:17:51 +00:00
Bill Medland
df0916b494 Added the automatic tabbing in IsDialogMessage.
Added corrections to GetNextTab/GroupItem.
Included tests.
2004-02-12 02:16:33 +00:00
Alexandre Julliard
c1acebc305 Get rid of the flatthunk.h header. 2004-02-12 01:03:55 +00:00
Alexandre Julliard
a2e2e18586 Avoid a few more GetModuleHandle calls. 2004-02-12 00:35:01 +00:00
Alexandre Julliard
e92b7eed7e Store the kernel32 module handle globally to avoid some
GetModuleHandle calls that can cause deadlocks with the loader
section.
Moved some 16-bit definitions out of kernel_private.h.
2004-02-12 00:00:55 +00:00
Dmitry Timoshkov
cc535b7cce There is no point in specifying both MEM_RESERVE and MEM_COMMIT for
VirtualAlloc.
2004-02-11 23:57:36 +00:00
Dmitry Timoshkov
ab2266de9a AFMT_AC3 might be not defined in the system headers. 2004-02-11 23:57:17 +00:00
Dmitry Timoshkov
fcc2fe18a4 Avoid double checking free type flags in NtFreeVirtualMemory. 2004-02-11 23:56:52 +00:00
Alexandre Julliard
2ad864dc87 Don't request PROT_EXEC permissions when mapping an image file to
avoid problems on noexec filesystems with kernel 2.6.
2004-02-11 06:37:49 +00:00
Alexandre Julliard
487b9f5f00 Moved some more definitions out of undocshell.h into the exported
headers.
2004-02-11 06:21:45 +00:00
Huw Davies
951b0a2271 Only redraw button in PressButton and Indeterminate if its state has
changed.
2004-02-11 05:26:30 +00:00
Martin Fuchs
fa828cd057 - move some PIDL function declarations from undocshell.h into public
header, as they are no longer undocumented
- implement context menu support for Winefile
2004-02-11 04:18:12 +00:00
Huw Davies
e722167e0d Honour TB_SETMAXTEXTROWS. 2004-02-11 04:02:29 +00:00
Steven Edwards
000a5c73ee Porting Fixes for Mingw/MSVC. 2004-02-10 20:09:43 +00:00
Ulrich Czekalla
54b6ccd501 Add support for BTNS_WHOLEDROPDOWN.
Populate button rect when sending TBN_DROPDOWN.
2004-02-10 20:08:45 +00:00
Dmitry Timoshkov
d40ec6f8a2 Fix a couple of copy/paste errors. 2004-02-10 20:07:56 +00:00
Alastair Bridgewater
e9b36904df Support for a small handful more return value/argument/variable types. 2004-02-10 02:26:06 +00:00
Alastair Bridgewater
822f63dcda Fixes and support for TypeInfo alignment values. 2004-02-10 02:23:19 +00:00
Jon Griffiths
03ecb16eae Test StrRetToBSTR. 2004-02-10 02:22:53 +00:00
Jon Griffiths
d015d3b98a Add some missing prototypes, fix AssocIsDangerous.
Implement StrRetToBSTR, delay-import oleaut32.
2004-02-10 02:22:17 +00:00
Jon Griffiths
df24e106c5 Tests for StrRetToStrAW. 2004-02-10 02:19:03 +00:00
Jon Griffiths
52cde9b386 StrRetToStrN returns BOOL and shouldn't crash on NULL dest. 2004-02-10 02:18:50 +00:00
Robert Shearman
2eee76703d - CoSetState info should be thread local.
- SetErrorInfo should allocate an apartment when no apartment present.
2004-02-10 01:36:20 +00:00
Leonardo Quijano Vincenzi
9d956b2395 Fixed Latin American keyboard. 2004-02-10 01:35:57 +00:00
Alastair Bridgewater
d4745d5b46 Stubbed-out implementation of the ITypeLib interface.
A fix to ICreateTypeInfo::AddRefTypeInfo() to use Release() instead of
hacking a refcount directly.
A missed API doc comment for the ITypeInfo interface.
2004-02-10 01:35:16 +00:00
Dmitry Timoshkov
e6f01981fc Add partial support for some undocumented toolbar messages. 2004-02-10 01:34:47 +00:00
Francois Gouget
ad5ff7ceeb Assorted spelling and case fixes. 2004-02-09 22:07:42 +00:00
Lionel Ulmer
1d5e6b6725 Better TRACEing in some functions. 2004-02-09 22:01:49 +00:00
Alastair Bridgewater
453d09035c Preliminary support for ICreateTypeInfo::AddImplType().
Support for ICreateTypeInfo::SetImplTypeFlags().
2004-02-09 22:01:25 +00:00
Huw Davies
a1edb9204f TB_ADDBUTTONS can pass a string ptr instead of an index.
TB_GETBUTTONINFO only returns a string if it's not in the internal
string list.
2004-02-09 21:47:01 +00:00
Lionel Ulmer
e0e314780a Implemented proper asynchronous InternetOpenUrl handling. 2004-02-09 21:45:38 +00:00
Alastair Bridgewater
f9ce2138d3 Preliminary support for recording custom data in a type library. 2004-02-09 21:44:55 +00:00
Huw Davies
89ef25e218 Use the BTNS_* toolbar button style defines rather than the outdated
TBSTYLE_*.
2004-02-09 21:01:10 +00:00
Dmitry Timoshkov
f323d5d31b Add a test case for Virtual* APIs, fix a few bugs discovered by it. 2004-02-09 20:58:16 +00:00
Mike McCormack
cb9a22b787 Fix the bounds checking in SHGetPathFromIDListA/W. 2004-02-09 20:56:41 +00:00
Lionel Ulmer
a29b4c7cde Report real handles to the application, not Wine internal ones. 2004-02-09 20:55:58 +00:00
Robert Reif
a9d2fb8ee7 Fixed a problem on BSD.
Fixed a trace.
2004-02-09 20:55:30 +00:00
Juan Lang
6d5ba7d4bb Remove dead comment. 2004-02-09 20:54:28 +00:00
Alfons Hoogervorst
bfc4044511 Fix infinite loop in _flushall. 2004-02-09 20:49:34 +00:00
Alastair Bridgewater
3c06c308f0 Support for recording the SYSKIND of the type library. 2004-02-09 20:48:34 +00:00
Dmitry Timoshkov
13081af50a Allow compilation with MSVC. 2004-02-09 20:48:12 +00:00
Jon Griffiths
cf09f5a9f1 Thai language translation. 2004-02-09 20:46:16 +00:00
Jon Griffiths
f90092c4c6 Use Unicode calls instead of ASCII where applicable.
Documentation updates.
2004-02-09 20:45:59 +00:00
Jon Griffiths
88a290915a Define empty rules for documentation generation. 2004-02-09 20:44:05 +00:00
Alexandre Julliard
5fdc57ef5c Added memchrW and memrchrW to the exported Unicode functions. 2004-02-07 02:24:15 +00:00
Alexandre Julliard
31f3221535 Added missing parameter check in SetLocaleInfoA revealed by the
profile code changes.
2004-02-07 02:21:31 +00:00
Robert Shearman
e7ad75adf4 - Use Win32 instead of Unix file functions.
- Process files fully in Unicode.
- Add Unicode file detection.
2004-02-07 02:18:51 +00:00
Lionel Ulmer
036c4b73eb Beginning of infrastructure to support WGL extensions. 2004-02-07 01:29:33 +00:00
Bill Medland
8d94d1925d Correct GetNumberFormat for negative numbers with e.g. 3 leading
digits.
2004-02-07 01:28:45 +00:00
Huw Davies
6b27cde3a2 Add a missing return. 2004-02-07 01:28:10 +00:00
Troy Rollo
0a4050d33f Added documentation for DocFiles, based on the CorVu implementation of
DocFiles.
2004-02-07 01:27:51 +00:00
Alexandre Julliard
f19c9e7cdd Get pointer to CreateFileW earlier on during startup.
Make sure we don't crash when loading a dll before the modref for the
main exe has been created.
2004-02-07 01:11:54 +00:00
Mike McCormack
7cc70c0a8f Implement proper HINTERNET handles. 2004-02-07 01:03:41 +00:00
Francois Gouget
39081ddcd8 Add trailing '\n's to ok() calls. 2004-02-07 01:03:17 +00:00
Francois Gouget
f083d70024 Add trailing '\n's to ok() calls.
Spelling fixes in the ok() messages.
2004-02-07 01:02:48 +00:00
Kevin Koltzau
f3883fe820 Process color metrics for themes. 2004-02-07 01:02:28 +00:00
Vitaliy Margolen
a6637ddb5d - Fix handling of TCS_RAGGEDRIGHT style.
- Clip UpDown control only if it is present.
- Add ToDos.
2004-02-07 01:02:03 +00:00
Alexandre Julliard
950808af3b Trace register contents on exception. 2004-02-06 05:28:23 +00:00
Robert Reif
9fde8228e1 Fallback to software buffer if failed to create hardware buffer.
Minor code cleanups.
2004-02-06 05:25:56 +00:00
Francois Gouget
afd3c257bd Add trailing '\n's to ok() calls. 2004-02-06 05:24:34 +00:00
Chris Morgan
21d591ec4f Implement tests for VarMod().
Added char *vtstr() to enhance test debugging by returning a text
string that corresponds to the input type.
2004-02-06 05:23:48 +00:00
Chris Morgan
2d1bccd0c4 Implement VarMod().
Add a few trace outputs.
Fix VarNot() with VT_CY.
Fix VarParseNumFromStr() to work correctly with NUMPRS_HEX_OCT flag.
2004-02-06 05:23:29 +00:00
Robert Reif
7ecf3d03c2 Fallback to software buffer if duplicating hardware buffer fails. 2004-02-06 05:21:37 +00:00
Robert Reif
2ea305b02c Actual buffer format may be different from requested format so use
returned one for calculation.
2004-02-06 05:20:28 +00:00
Robert Reif
bcb1387929 Show sound card info in trace. 2004-02-06 05:20:14 +00:00
Dmitry Timoshkov
9b24af8acb Add a test case and a fix for the window styles state at the window
creation time.
2004-02-06 05:18:56 +00:00
Alex Pasadyn
d18c8ca78f Make full-screen popup windows managed. 2004-02-06 05:17:55 +00:00
Chris Morgan
6088c11f96 Stub NetUserEnum(). 2004-02-06 05:17:39 +00:00
Lionel Ulmer
6849466195 Properly handle asynchronous HttpSendRequestA. 2004-02-06 05:17:17 +00:00
Robert Shearman
436145e975 Fix nGrow initialization in DPA_CreateEx. 2004-02-06 05:16:32 +00:00
Alexandre Julliard
163396b955 Revert the thread exit race fix for now, it doesn't work right on
pthreads.
2004-02-05 17:45:31 +00:00
Alexandre Julliard
4fac95df3d Fixed a couple of race conditions in the wine_pthread routines at
thread startup and exit.
2004-02-05 02:01:35 +00:00
Hans Leidekker
ff49652ef6 Improved error reporting.
Add some notification types and a test.
2004-02-05 01:45:58 +00:00
Juan Lang
3f789b1c92 Stub for MLIsMLHInstance. 2004-02-05 01:39:40 +00:00
Christian Costa
485390de6f Added missing notifications to MIDI_NotifyClient.
Made checks less strict in midPrepare, only return an error for buffer
in queue.
Fixed time of input events in Alsa driver.
2004-02-05 01:24:28 +00:00
Kevin Koltzau
64851e1664 Implement IsThemeBackgroundPartiallyTransparent,
DrawThemeParentBackground, and beginnings of other drawing functions.
2004-02-05 01:24:04 +00:00
Mike McCormack
edf9eb6eea Fix incorrect GetLongPathName usage exposed by Eric's filename
patches.
2004-02-05 01:23:42 +00:00
Dmitry Timoshkov
ee2608d5aa Issue WARN instead of FIXME when there are mismatches between hard
coded and real keyboard layouts.
2004-02-03 21:28:39 +00:00
Alastair Bridgewater
ec496b386e Stubbed-out implementation of the ITypeInfo2 interface for the
ICreateTypeInfo2 implementation.
Implementation of ITypeInfo2_fnGetContainingTypeLib().
Preliminary implementation of ICreateTypeInfo2_fnAddRefTypeInfo().
2004-02-03 21:26:00 +00:00
Ken Belleau
d329f1beb2 Added stub for ImmDisableIME. 2004-02-03 00:12:03 +00:00
Alex Pasadyn
96bd8ea7d5 Use the first mode in the XVidMode mode list as the default. 2004-02-03 00:10:23 +00:00
Ulrich Czekalla
c31d413c3c Set the item mask before calling GetItem. 2004-02-03 00:09:57 +00:00
Kirill Smelkov
7b94c7e094 OLEPictureImpl_Load: fix for headerless pictures. 2004-02-03 00:09:41 +00:00
Jon Griffiths
ed39e7c039 Draw disabled toolbar buttons correctly. 2004-02-03 00:08:34 +00:00
Kevin Koltzau
4a4b5d407c Implementation of gdi32.GdiTransparentBlt and msimg32.TransparentBlt. 2004-02-02 23:10:35 +00:00
Ulrich Czekalla
d3b9ff2f8a Make SHChangeNotifyRegister be recursive so that will get all
notifications.
2004-02-02 23:09:09 +00:00
Ulrich Czekalla
a91b2efc74 Fix SHChangeNotify to send correct lParam and wParam values. 2004-02-02 23:08:54 +00:00
Huw Davies
8607f28b6b GulimChe has the IsFixedPitch flag set, yet contains glyphs of
differing widths.  To cope with this we need to call FT_Load_Glyph
with the FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH flag in order to get
back the correct glyph metrics from FreeType.
2004-02-02 23:03:54 +00:00
Alexandre Julliard
36241ceda4 Added memory constraint to avoid miscompilation of the unaligned_mmap
function (with help from Paul Streitman).
2004-01-30 22:59:34 +00:00
Lionel Ulmer
2b8281a827 Fix palette deletion issue seen in DungeonKeeper. 2004-01-30 22:58:03 +00:00
Lionel Ulmer
2ae876fadf Fix the Z transform in the XYRZHW case. 2004-01-30 22:57:43 +00:00
Jon Griffiths
32376a5227 Add stubs for the Activation Context API (XP+). 2004-01-30 22:57:21 +00:00
Mike McCormack
0dc42208b5 Remove global variables from the richedit control. 2004-01-30 22:56:33 +00:00
Aric Stewart
04279d18cd The NVIDIA graphics device comes up as an X extension event, but
throws an error (BadMatch) when querying for the buttons. Catch this
error and and discard that device from being a tablet device.
2004-01-30 22:56:06 +00:00
Juan Lang
c935908e2a - fix broadcast address for name lookups after iphlpapi change
- fix bad registry key opening
2004-01-30 22:55:25 +00:00
Chris Morgan
98ae5ac103 If unable to open an X11 display mention that X needs to be running
and that $DISPLAY must be set correctly.
2004-01-30 22:54:39 +00:00
Martin Fuchs
8091a89011 - remove unneccesary ISF_MyComputer_Constructor() declaration
- improve returned error code of ISF_MyComputer_fnParseDisplayName()
- remove wrong comment from ISF_MyComputer_fnGetDisplayNameOf()
2004-01-30 22:54:12 +00:00
Alexandre Julliard
55d72b792f lpCreateParams should be a SEGPTR in 16-bit code. 2004-01-28 21:41:56 +00:00
Alexandre Julliard
23ff2d51a7 Make sure that there is extra information in the exception record
before accessing it in check_resource_write.
2004-01-28 21:40:01 +00:00
Alastair Bridgewater
5e07be4eb0 Preliminary implementation of ICreateTypeInfo2_fnAddFuncDesc() and
ICreateTypeInfo2_fnSetFuncAndParamNames().
2004-01-28 21:37:14 +00:00
Christian Costa
47c13f537c Add stub for WSAStringToAddressA. 2004-01-28 20:07:24 +00:00
Ge van Geldorp
e393195e8c Don't depend on user32-internal implementation of accelerator tables. 2004-01-28 20:06:35 +00:00
Robert Shearman
bcc80032ab Allow VerQueryValueW to query 16-bit resources. 2004-01-28 20:06:14 +00:00
Eric Pouech
da49807ea3 Fixed synchronization issue. 2004-01-28 20:05:20 +00:00
Alastair Bridgewater
681b6aa083 Improvements to ICreateTypeInfo2_fnAddVarDesc().
A separate function to encode TYPEINFO structures.
2004-01-28 20:04:55 +00:00
Alexandre Julliard
df5800fdd7 Properly translate the message result for WM_GETTEXT-style messages. 2004-01-27 20:28:42 +00:00
Alexandre Julliard
e43e394465 All sound drivers need -ldxguid. 2004-01-27 20:16:38 +00:00
Francois Gouget
ce7c3b50ac Add trailing '\n's to ok() calls. 2004-01-27 20:13:03 +00:00
Alexey Spiridonov
333ecf3b75 Fixed typo in memset call. 2004-01-27 20:12:42 +00:00
Dmitry Timoshkov
69c047a10c Use case insensitive comparison with pseudo console handle names in
OpenConsole.
2004-01-27 20:11:53 +00:00
Dmitry Timoshkov
525ac67945 MSDN is wrong: WM_NCACTIVATE takes the same lParam as WM_ACTIVATE. 2004-01-27 20:11:23 +00:00
Ulrich Czekalla
710bd6fb6a We should forward WM_COMMAND notification to the active page for any
additional non-standard controls in the property sheet frame.
2004-01-27 20:11:05 +00:00
Francois Gouget
231fbff8d0 Add trailing '\n's to ok() calls. 2004-01-27 04:01:10 +00:00
Alastair Bridgewater
01b93c166c A small number of cleanups.
A new function to find a given NAME in a type library.
Support for growing a tlb segment when it overflows.
Duplicate GUID elimination.
GUID hash fixes.
NAME hash fixes.
Duplicate STRING elimination fixes.
Duplicate IMPORT elimination fixes.
Type information save ordering fixes.
Support for writing out the CUSTDATA and CUSTDATAGUID segments.
2004-01-27 03:59:07 +00:00
Aric Stewart
fad2971151 Back out an unintentional change that snuck in with the XIM change. 2004-01-27 03:55:37 +00:00
Alexandre Julliard
20b4585e3c Only link against libdxguid where necessary. 2004-01-27 00:11:16 +00:00
Francois Gouget
6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Alexandre Julliard
c3eac43839 Moved libuuid to the dlls directory, and moved the DirectX GUIDs into
a separate libdxguid library.
2004-01-26 21:29:05 +00:00
Kevin Koltzau
16dc166d4f Ensure MSSTYLES_SetActiveTheme fails properly when theme is invalid. 2004-01-26 21:22:34 +00:00
Francois Gouget
e18aa3f614 Add trailing '\n's to ok() calls. 2004-01-26 20:23:25 +00:00
Alexandre Julliard
4e47ccb490 There is no need for a private heap in comctl32, memory allocations
should go to the standard process heap (reported by Ge van Geldorp).
2004-01-26 20:23:08 +00:00
Yoshiro Takeno
c91d9f0c90 In Windows, the leading byte for multibyte characters are set to upper
byte. If single byte character is used, the upper byte is set to 0.
2004-01-26 20:20:07 +00:00
Jacek Caban
8941c0bc05 Added glutCreateMenuWithExit, glutCreateWindowWithExit and
glutInitWithExit functions.
2004-01-26 20:14:16 +00:00
Vitaliy Margolen
a3b58e9d30 Prevent segfault if no theme is set. 2004-01-26 20:13:50 +00:00
Uwe Bonnes
347b7bbd51 Small fix for the WPR_SIGNED case (count the sign). 2004-01-26 20:13:36 +00:00
Gregory M. Turner
7a513d2795 Wine also supports the ncacn_np protocol sequence. 2004-01-26 20:13:18 +00:00
Martin Fuchs
516b50f34c - don't link directly to NTDLL; use MultiByteToWideChar() instead of
RtlCreateUnicodeStringFromAsciiz()
- directly call InitCommonControlsEx()
2004-01-26 20:13:03 +00:00