Commit Graph

7802 Commits

Author SHA1 Message Date
Ofir Petruska 4a8f7b23ad Define EXTRA_TRACES instead of #if 0. 2004-03-23 23:02:10 +00:00
Alexandre Julliard 5dd2bc69e9 Added missing \n in trace. 2004-03-23 01:20:44 +00:00
Uwe Bonnes d81e8db382 Added some tests for RtlGetFullPathName_U. 2004-03-22 23:00:13 +00:00
Alexandre Julliard 94e3477d7f Moved slash conversion to collapse_path, and remove duplicate
backslashes too.
2004-03-22 22:59:25 +00:00
Martin Fuchs 075d6a1238 Fix for recent shelllink patch, which removed the important part of
returning the result pointer from IShellLink_ConstructFromFile().
2004-03-22 22:58:37 +00:00
Robert Shearman f6e1be6afe Allow passing NULL to ILFindLastID. 2004-03-22 22:58:19 +00:00
Robert Shearman 92940e0c4f BSTR of length 0 is allowed. 2004-03-22 22:57:51 +00:00
Christian Costa bfeca3bff9 Enable creation of a zbuffer in system memory. 2004-03-22 22:57:30 +00:00
Martin Fuchs b9e542fd8e Fix recent Unicode-ification patch. 2004-03-22 22:57:13 +00:00
Marcus Meissner 9d61aee357 Allocate the correct nr of bytes for lpszCookies in HTTP_HttpOpenRequestA.
Allocate the correct nr of bytes for request stringlen without options.
2004-03-22 21:31:44 +00:00
Juan Lang 4161a8b474 Stub CommandLineFromMsiDescriptor to prevent a crash in Accelerys
Materials Studio.
2004-03-22 21:31:26 +00:00
Kevin Koltzau 3ff08570c6 Implement FindMimeFromData. 2004-03-22 21:14:39 +00:00
Hans Leidekker 8901df76d4 Don't include config.h. 2004-03-22 21:13:48 +00:00
Mike McCormack b0b467ab95 Update path from relative path on loading. 2004-03-22 21:12:39 +00:00
Uwe Bonnes bb2724eaba Added tests for time functions. 2004-03-22 21:12:02 +00:00
Mike McCormack 7b597d4c20 Unicode-ify the icon cache and SHGetFileInfo. 2004-03-22 20:43:07 +00:00
Marcus Meissner 8624ef4ab3 Allocate correct number of pointers for szAcceptTypes, since we need
it NULL terminated.
HeapReAlloc will modify the pointer, so store it there.
2004-03-22 20:40:46 +00:00
Jon Griffiths 7a7be05081 Test SHSearchMapInt. 2004-03-22 20:40:03 +00:00
Jon Griffiths ad1190e4ab Tests for VarXor/VarEqv. 2004-03-22 20:39:50 +00:00
Jon Griffiths 743b75ab44 Implement VarXor and simplify VarEqv to use it. 2004-03-22 20:39:27 +00:00
Hans Leidekker 97fb0d815c Porting fixes. 2004-03-22 20:37:40 +00:00
Rein Klazes a56d40f490 Fix a possible null pointer crash in FILEDLG95_LOOKIN_Init. 2004-03-20 19:22:17 +00:00
Mike McCormack ce533b7a70 Start implementing the SQL insert query. 2004-03-20 19:18:46 +00:00
Christian Costa 7e51de6ea7 Improve D3D7 compatibility. 2004-03-20 02:33:17 +00:00
Christian Costa 2616b57533 AddRef texture only if there is one for the requested stage. 2004-03-20 02:33:00 +00:00
Alexandre Julliard 1de20ae4af Rewrote handling of COM and LPT devices to use symlinks in
$WINEPREFIX/dosdevices, with suitable defaults if the symlinks are
missing.
Rewrote QueryDosDevice and DefineDosDevice to use the new scheme.
Added temporary code to create the symlinks based on the contents of
the config file.
2004-03-20 02:28:51 +00:00
Ulrich Czekalla eebc3ef949 Fix typo in FormatMessageW. 2004-03-19 19:15:54 +00:00
Dmitry Timoshkov 5983223b70 Just update from/to pointers and exit on a subsequent MCI_PLAY
command.
2004-03-19 19:15:03 +00:00
Dmitry Timoshkov 946cd3c117 Add a test case which confirms that SetMenu implementation in Wine is
correct.
2004-03-19 19:14:45 +00:00
Mike McCormack 052144fd7b Make sure the rebar size is above a minimum. 2004-03-19 19:14:30 +00:00
Mike McCormack 943a71e453 Fix handle allocation and the CREATE TABLE query. 2004-03-19 19:14:12 +00:00
Alexandre Julliard a86a022256 Added workaround for broken dlls that modify ebx in their entry point
(reported by Christian Costa).
2004-03-19 02:07:16 +00:00
Uwe Bonnes 9c6774f18a Relay msvcrt_memcpy to memmove, CString::Insert seems to rely on that
behaviour. Add a test case.
2004-03-19 01:53:11 +00:00
Rein Klazes d09edf800b In SHELL_ExecuteW, if a new current directory is specified, change to
it before calling CreateProcess so that it will find the correct
executable.
2004-03-19 01:52:30 +00:00
Ulrich Czekalla cf5775fd09 Convert FormatMessageW to use unicode functions. 2004-03-19 01:52:10 +00:00
Alexandre Julliard 9e1bafd0df Get rid of the registry lookups, rely entirely on the kernel devices
instead.
2004-03-19 01:18:48 +00:00
Mike Hearn 99afa3a4a2 The KeymapNotify event does not use the window member, so don't warn
about it being unknown.
2004-03-19 01:17:32 +00:00
Hans Leidekker 3f09feda6e Reimplement time functions with Win32 APIs.
Implement localtime()/gmtime().
2004-03-19 01:16:59 +00:00
Mike McCormack 068b4ec7d4 First go at write support. 2004-03-19 01:16:36 +00:00
Justin Chevrier 7e997ef081 Implemented SPI{GET,SET}MOUSEHOVERWIDTH, SPI{GET,SET}MOUSEHOVERHEIGHT,
SPI{GET,SET}MOUSEHOVERTIME, SPI{GET,SET}MOUSESCROLLLINES,
SPI{GET,SET}MENUSHOWDELAY.
2004-03-19 01:16:12 +00:00
Martin Fuchs a06f76d6f9 Expand environment strings in command, parameter and directory strings
of ShellExecuteExW32().
2004-03-18 04:04:29 +00:00
Mike McCormack b040e4bcd2 When loading table data, split it up into rows. 2004-03-18 04:04:08 +00:00
Robert Shearman 838a1ea09d - Fix SetBitmapSize.
- Fix SetButtonInfo.
2004-03-18 04:01:02 +00:00
Jon Griffiths 00c5250a84 Implement SHMessageBoxCheck functions && add dialog resources.
Add SHWaitForSendMessageThread, SHAnsiToUnicodeCP,SHStripMneumonicW,
SHSearchMapInt.
2004-03-18 02:11:23 +00:00
Raphael Junqueira ca6b072689 Stub implementations of RtlCreateQueryDebugBuffer,
RtlDestroyQueryDebugBuffer and RtlQueryProcessDebugInformation.
2004-03-18 02:08:43 +00:00
Raphael Junqueira 401853557a Remove duplicate code by using Nt* functions for PulseEvent,
ResetEvent and SetEvent.
2004-03-18 01:36:09 +00:00
Richard Cohen 47323d2f1e Added some traces. 2004-03-18 01:34:57 +00:00
Christian Costa abec033938 Release lock before wave calls that generate notification. 2004-03-18 01:34:36 +00:00
Juan Lang ae176d1629 Allow RegConnectRegistryW to the local machine name. 2004-03-18 01:34:23 +00:00
Alexandre Julliard 8f032165c4 Reimplemented FindFirstFile/FindNextFile on top of
NtQueryDirectoryFile.
2004-03-17 20:57:09 +00:00
Mike McCormack f5e1c13070 Move the string table out into a separate file, improve lookups. 2004-03-17 20:49:59 +00:00
Jon Griffiths 071e950344 Implement VarEqv. 2004-03-17 20:49:22 +00:00
Richard Cohen c1e995d59f Fix relative screen resizing. 2004-03-17 20:48:57 +00:00
Jon Griffiths 919aa96d14 Make copies of keys when creating, free them when done.
Use KEY_ALL_ACCESS when writing US reg values.
SHRegWriteUSValueW: Handle all flag combinations.
Make some A calls use the W version.
2004-03-17 20:48:03 +00:00
Jon Griffiths 19271d7ae9 Use function ptrs for call only present in later versions.
Fix tests that fail with old versions.
2004-03-17 20:47:42 +00:00
Mike McCormack 0601f6372f Correct geometry error in the ICCVID codec. 2004-03-17 20:47:13 +00:00
Robert Shearman a49b8a5eed - Documentation update.
- Better hot item handling.
- Fix DrawMasked to always use the right image list and bitmap index.
2004-03-17 20:46:57 +00:00
Alexandre Julliard b8d025eeb9 Rewrote the collapsing of . and .. in RtlGetFullPathName_U for better
compatibility.
2004-03-17 01:58:51 +00:00
Alexandre Julliard cfc5d57122 Retrieve a short name in GetShortPathNameW if the long name contains
spaces.
2004-03-17 01:55:01 +00:00
Alexandre Julliard 22508e576f FindFirstFile can return an empty short name if the long name is a
valid DOS name, fixed callers to handle that properly.
2004-03-17 01:50:27 +00:00
Aric Stewart ffbb75fe25 Beginnings on implementations of SetupCreateDiskSpaceListA/W,
SetupQuerySpaceRequiredOnDriveA, SetupDestroyDiskSpaceList and
SetupAddInstallSectionToDiskSpaceListA for MDAC install.
2004-03-17 01:46:00 +00:00
Robert Reif 14a7c6ddca Remove unused lock. 2004-03-17 01:44:15 +00:00
Raphael Junqueira 919605c8be Added stub for SignalObjectAndWait. 2004-03-17 01:43:47 +00:00
Steven Edwards 86b3056e69 Add stubs for EnumMonitors[A/W]. 2004-03-17 01:42:46 +00:00
Elias Ross 56aca378c1 Added 24-bit color key support in DIB_DirectDrawSurface_BltFast. 2004-03-16 19:41:50 +00:00
Dmitry Timoshkov e51779df68 Explicitly specify output file names for bison. 2004-03-16 19:38:19 +00:00
Alexandre Julliard 24df62e32b O_DIRECTORY is not really needed. 2004-03-16 19:19:12 +00:00
Mike McCormack 14ec526004 Extend the parser to deal with the CREATE TABLE query. The query
doesn't do anything as yet.
2004-03-16 19:18:22 +00:00
Hans Leidekker 821f4775a3 - Prefix many more functions, types, structs, etc. with MSVCRT_.
- Correct prototypes for _memccpy()/_memicmp().
- "define before use" reordering in file.c.
- Use the new math.h/float.h.
2004-03-16 19:17:11 +00:00
Fabian Cenedese 5feedfdc73 Let VarParseNumFromStr and VarNumFromParseNum cope with hex and oct
strings. Needed from VB conversions such as CLng, CInt, CByte...
2004-03-16 19:15:04 +00:00
Filip Navara ccd428e503 Support for RBBS_HIDETITLE style. 2004-03-16 19:14:30 +00:00
Sami Nopanen 7e8732c8ad - Enumerated different drawing modes.
- Implemented HILITE, REMOVE and GHOST drawing modes.
2004-03-16 19:13:47 +00:00
Aric Stewart bb86eb6588 Added stubs needed by some Windows Update installs. 2004-03-16 19:13:18 +00:00
Mike McCormack af54ef9ce1 Start implementation of MsiEvaluateConditionA/W. 2004-03-16 03:23:43 +00:00
Mike Hearn a54e3216c3 - Add debug SnoopFromInclude/SnoopFromExclude options.
- Correct TRACE debug channel usage in SNOOP_SetupDLL.
- Refactor check_relay_from_relay.
2004-03-16 03:10:07 +00:00
Christian Costa 6eac29532b Added support for MCI_DGV_WHERE_MAX flag in MCIAVI_mciWhere.
Fixed WHERE_WINDOW.
2004-03-16 03:09:14 +00:00
Alexandre Julliard f30cfa8858 Implemented NtQueryDirectoryFile (partly based on a patch by Eric
Pouech).
2004-03-16 01:32:02 +00:00
Jukka Heinonen 54a8a25b5e DPMI programs now handle pending events. 2004-03-16 01:15:11 +00:00
Christian Costa e55a4b634b Handle avi files with non standard video stream names. 2004-03-16 01:14:39 +00:00
Christian Costa c2adec0c70 MCI strings are case insensitive.
Fixed a returned error value.
2004-03-16 01:14:27 +00:00
Christian Costa b3b3f4c0c3 Default to FOURCC_DOS if no IOProc found. 2004-03-16 01:14:07 +00:00
Christian Costa 4bbeb429c8 Fixed deadlock when stopping playback. 2004-03-16 01:13:52 +00:00
Christian Costa 85cbe8213b DD_STRUCT_COPY_BYSIZE: Do not clear more that struct size. 2004-03-16 01:13:29 +00:00
Uwe Bonnes 69cf835ce0 UrlCanonicalizeW: Remove \r and \n at the end of lpszUrlCpy, with test
cases.
2004-03-16 01:07:28 +00:00
Uwe Bonnes 25efbc9dbc HTTP_HttpSendRequestA: Remove \r and \n at the end of
lpwhr->lpszPath.
2004-03-16 01:06:30 +00:00
Sami Nopanen 9063cefec5 Initial implementation of cards.dll. 2004-03-15 20:26:42 +00:00
Huw Davies 75a1f6d0e9 When setting the buddy to 0 then we must still resize the updown
control.
2004-03-15 20:20:41 +00:00
Robert Shearman 7d22cc16d9 - Document completeness.
- Finish tooltip support.
2004-03-15 20:20:01 +00:00
Huw Davies 831098be33 Added CS_HREDRAW. 2004-03-15 20:10:32 +00:00
Robert Shearman bc2520b3b7 - Unicode notification detection should be local to each tool.
- Implement TTN_GETDISPINFOW notification.
2004-03-15 20:10:00 +00:00
Jukka Heinonen 37213d2ba1 Emulating STI instruction now raises an exception if there are pending
events.
2004-03-15 20:09:41 +00:00
Mike McCormack 65be0d1f50 Added SetupCreateDiskSpaceList stub. 2004-03-15 20:07:25 +00:00
Mike Hearn 4d2cfee1fa Improve message given on image map failure. 2004-03-15 20:06:50 +00:00
Robert Shearman 9eb33c82f3 - Honour WM_SETREDRAW.
- Fix all calls of InvalidateRect.
2004-03-15 20:06:33 +00:00
Alastair Bridgewater 04e4f3cade Implementation of ICreateTypeInfo2_SetHelpContext,
ICreateTypeInfo2_SetTypeDescAlias, ITypeLib2_GetTypeInfoCount,
ITypeLib2_GetTypeInfoType, and ITypeLib2_IsName.
Fix to ICreateTypeInfo2_SetVarName to fix a case where multiple
instances of the same name are used in the same typelib.
2004-03-15 20:05:19 +00:00
Alastair Bridgewater 6e500f6570 Implemented ITypeLib2_GetTypeInfo() and
ITypeLib2_GetTypeInfoOfGuid().
2004-03-13 19:32:41 +00:00
Alastair Bridgewater 70c5612e9d Improve how the GUID hash system works. Mainly a cleanup so that the
hash lookups can be done from other functions.
2004-03-13 19:30:13 +00:00
Alastair Bridgewater ab548adf86 Rename some of the fields in typelib.h to makes more evocative than
'unk00'.
2004-03-13 19:24:58 +00:00
Mike McCormack 464e59f6a4 Make sure to take account of hidden bands during layout. 2004-03-13 19:24:29 +00:00
Juan Lang 9a3647a303 Prevent negative coords for line, turn off redraw when initializing,
document one difference in native/builtin behavior.
2004-03-13 19:24:04 +00:00
Robert Shearman 39689d715c - Implement TB_LOADIMAGES, TB_MAPACCELERATOR{A,W}, TB_MARKBUTTON and
undocumented message 0x460.
- Better debug output of undocumented message 0x45D.
2004-03-13 19:23:41 +00:00
Robert Reif 87c73c0065 Fixed bug when PCMWAVEFORMAT is passed into acmStreamOpen.
Fixed bug where interpolation is done with data past end of buffer. A
proper fix would be to project the last sample based on the previous
two but that requires significant changes.
Added TRACE and WARN where needed.
2004-03-12 20:24:50 +00:00
Robert Shearman 23983b8f83 - Add support for a toolbar global iListGap.
- Make TOOLBAR_CalcToolbar and TOOLBAR_DrawButton not rely on "magic
  numbers" and calculate sizes and positions more like native.
2004-03-12 20:24:05 +00:00
Mike McCormack 18eda48e59 Don't calculate the redundant and unused REBAR_ROW structures. 2004-03-12 20:23:39 +00:00
Alexandre Julliard a61caabaf2 Fixed implib target broken by previous change. 2004-03-12 19:49:46 +00:00
Dmitry Timoshkov 21fc3c8067 CreateDIBSection takes a const pointer to BITMAPINFO. 2004-03-12 19:46:12 +00:00
Robert Reif af3fa1c48d Enable exact position calculation when hardware supports it. 2004-03-12 19:43:44 +00:00
Ulrich Czekalla 9b83d4d4dc Fix rebar band insertion and non-client calculation in pager control. 2004-03-12 19:29:51 +00:00
Alexandre Julliard fc6fbd01d4 We no longer need to pass --debugmsg -all to winedbg. 2004-03-12 02:05:11 +00:00
Alexandre Julliard fe8ead56a8 Get rid of ntdll_get_process_heap and ntdll_get_process_pmts by using
standard APIs instead.
2004-03-12 01:59:35 +00:00
Alexandre Julliard 014099caf5 Changed the create_file server request to take NtCreateFile flags
instead of CreateFileW ones (based on a patch by Eric Pouech).
2004-03-12 01:56:49 +00:00
Raphael Junqueira 410bdd365f - scripts sub-containers loading
- better segments Load and ParseDescriptor behaviors
2004-03-12 01:53:05 +00:00
Ge van Geldorp 5bec0d7ef8 Change GetFileTitleA/W prototype to match PSDK. 2004-03-12 01:52:11 +00:00
Alexandre Julliard 8a37297fe8 Get rid of the WINEOPTIONS variable and instead use WINEDEBUG to
inherit debug options.
Start deprecating the --debugmsg option.
2004-03-11 23:22:29 +00:00
Ge van Geldorp c11d8b00d6 Explicitly ask for image list with screen depth as ILC_COLOR can/will
limit the depth to 4bpp now.
2004-03-11 22:46:51 +00:00
Alexandre Julliard e9871b0b68 The OpenConsoleW inherit argument is a boolean not a
SECURITY_ATTRIBUTES pointer.
2004-03-11 22:46:27 +00:00
Hans Leidekker bdf4aff65b _wto{l,i,i64} parameters are const. 2004-03-11 22:38:38 +00:00
Robert Shearman cf4c3348bb Fix subclassing to support nested messages. 2004-03-11 22:38:22 +00:00
Dmitry Timoshkov 4edbbbd8ea Windows truncates windows coordinates at 16 bits when moving or
resizing a window.
2004-03-11 03:51:46 +00:00
Robert Shearman 90323a1b8a Rewrite drawing code. 2004-03-11 03:50:10 +00:00
Alexandre Julliard a98a37cde5 Do not put the TEMP and TMP variables into the Unix environment, use
WINETEMP and WINETMP instead, like we already do for PATH.
2004-03-11 00:49:01 +00:00
Alexandre Julliard 805f0699eb Remove the WINEDEBUG variable from the environment of the debugger
process.
2004-03-11 00:47:49 +00:00
Alexandre Julliard 8548fc2947 Portability fixes. 2004-03-11 00:46:09 +00:00
Hans Leidekker 6ee09f5d56 Implement _ftime with Win32 APIs. 2004-03-11 00:43:47 +00:00
Alexandre Julliard cf8a25f0d7 Do not kill the animation thread with TerminateThread, let it finish
properly.
Fixed a couple of races with the animation thread.
2004-03-11 00:41:07 +00:00
Robert Shearman 3c6956d3ea Spelling fixes. 2004-03-11 00:39:53 +00:00
Robert Shearman 9e4771fedc - Document control completeness.
- Remove unneeded include.
- Fix TEXT define.
- Fix tabs.
- Small optimisation in DrawInsert.
2004-03-11 00:38:44 +00:00
Dimitrie O. Paun bb6d87f626 Heap tests cleanup. 2004-03-11 00:38:14 +00:00
Dmitry Timoshkov 90c42fed6b Eliminate some unnecessary direct accesses to DC internals from EMF
driver.
2004-03-11 00:37:46 +00:00
Alexandre Julliard 62b6bef318 Moved a number of 16-bit functions to file16.c. 2004-03-10 02:20:40 +00:00
Alexandre Julliard c2fbb40666 Do not create symlinks for the PE build since they can conflict with
the directory names.
2004-03-10 01:56:00 +00:00
Alexandre Julliard 8045ad5c0e Removed some unnecessary definitions from file.h.
Got rid of drive.h.
2004-03-09 23:51:02 +00:00
Alexandre Julliard 615373c587 ASCII string comparisons should not depend on the locale. 2004-03-09 23:29:20 +00:00
Robert Shearman dd72963949 - Implement the drag list control.
- Fix tabs in LBItemFromPt.
2004-03-09 23:26:44 +00:00
Robert Reif cc02d9548e Added dxerr8 and dxerr9 libraries. 2004-03-09 23:25:57 +00:00
Raphael Junqueira b9989190ec Better dmscript loading (now we load the script version, script
language identifier and the script source).
2004-03-09 19:21:33 +00:00
Dmitry Timoshkov 84d66c0615 Added an EMF test suite. 2004-03-09 19:19:53 +00:00
Robert Shearman d315f6b1d7 Check for NULL pointers returned by HeapAlloc. 2004-03-09 19:19:12 +00:00
Alexandre Julliard 6be39b60f5 Take advantage of the new winegcc -B support. 2004-03-09 04:54:07 +00:00
Huw Davies db226a8049 Add registry entries for any fonts found by fontconfig or that are in
the FontDirs directories.
2004-03-09 03:43:54 +00:00
Christian Costa 76b7787b58 Add amstream dll (MultiMedia Streams), part of Direct Show. 2004-03-09 01:29:56 +00:00
Alexandre Julliard 954c570ae3 Reimplemented GetVolumeInformation and SetVolumeLabel; volume label
and serial number are now stored in the filesystem instead of in the
config file (partly based on a patch by Eric Pouech).
2004-03-09 01:03:03 +00:00
Bobby Bingham f0ee76dc0d Stub EnumDesktopsW for now.
Implement EnumDesktopsA in terms of EnumDesktopsW.
2004-03-09 00:41:39 +00:00
Dmitry Timoshkov fccd869b3e Do not take into account LC_CTYPE and LC_MESSAGES while detecting a
user locale.
2004-03-09 00:41:00 +00:00
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