Commit Graph

8364 Commits

Author SHA1 Message Date
Alexandre Julliard cb27ab8b13 Added support for mapping UNC filenames to the dosdevices directory. 2004-05-17 21:09:19 +00:00
Patrik Stridvall 070db4e5de Fixed some issues found by winapi_check. 2004-05-17 21:08:31 +00:00
Patrik Stridvall 36eb79144a StrSpnW doesn't exist in comctl32.dll but StrCSpnW does. 2004-05-17 20:51:27 +00:00
Patrik Stridvall 2f339b2523 Added the IInternetSession interface. 2004-05-17 20:51:02 +00:00
Raphael Junqueira d134aa5945 Fix scanf handling of float numbers (beginning with a dot). 2004-05-17 19:49:44 +00:00
Christian Costa 36819ae09f Handle XYZRHW vertex mode correctly in slow path. 2004-05-17 19:49:01 +00:00
Raphael Junqueira 8d954393e1 - First drafts for IDirectMusicSegment::GetParam and
IDirectMusicTempoTrack::GetParam (need modif on Load).
- Return value fixes for GetClassID of TempoTrack and Segment.
2004-05-17 19:48:49 +00:00
Filip Navara c8aba95f50 - Let the subclassing stack grow the opposite way to make the code
more transparent.
- Remove SubclassWndProc and move its logic to DefSubclassProc.
2004-05-17 19:48:24 +00:00
Juan Lang 56b5164686 - If a crypto provider does not have a Signature in the registry,
check for the presence of the SigInFile value before failing.
- Get rid of a couple redundant assignments.
2004-05-17 19:48:00 +00:00
Alexandre Julliard 8c29b5f0cc Removed the no longer used SMB file I/O support, we can't do reliable
file I/O in user space anyway.
2004-05-14 22:24:48 +00:00
Alexandre Julliard 63a5d81cfa Better fix for removing trailing spaces in RtlGetFullPathName_U.
Need to remove trailing dots too (reported by Ken Belleau).
2004-05-14 22:10:24 +00:00
Alexandre Julliard ad546918b4 Use environment variables instead of config file entries to specify
path, profile, temp, windows and system directories.
Convert existing config file entries to registry values under
HKCU\Environment.
2004-05-14 21:43:18 +00:00
Ivan Leo Murray-Smith 10778aa761 Updated the version info of all DirectX dlls to the version numbers of
DirectX 9.0b for Windows 2000/XP.
2004-05-14 21:37:32 +00:00
Raphael Junqueira 858557f4b7 - Parse DMStyle motifs (ie patterns) and bands (fill lists).
- Implement  IDirectMusicSegment8::InsertTrack and
  IDirectMusicSegment8::RemoveTrack (now EnumTrack GetParam, and
  GetTrack should be easy to do).
2004-05-14 21:36:15 +00:00
Alexandre Julliard 6ab8827236 Set environment variables from the HKCU\Environment key too.
Moved current directory initialisation to process.c.
Make sure to always pass the correct current directory in the process
parameters for child processes.
2004-05-14 05:03:29 +00:00
Raphael Junqueira 106e13ab09 - Add the same new files (dmutils.c/dmutils.h) into dmime,dmband and
dmstyle directory that share the debug and helper functions for dmusic
  dlls (as Rok's idea for dmloader).
- Use new helpers functions to load References on
  IDirectMusicSegTriggerTrack loading (currently they leak).
- IDirectMusicStyle (almost partial) loading.
- Minor fixes.
2004-05-14 04:57:02 +00:00
Alexandre Julliard 3c3d23063c Fixed some of the GetShortPathName tests to use the short version of
the current directory where needed.
2004-05-14 04:55:28 +00:00
Robert Reif 463d474cc7 Print human-readable capabilities flag. 2004-05-14 04:54:54 +00:00
Robert Reif ee0868e013 Sample rate sanity check.
Fix SMPTE time.
2004-05-14 00:44:06 +00:00
Alexandre Julliard 0d33e5e32d Added proper support for switching file APIs between ANSI and OEM
codepages. Optimized some of the A->W conversions by using the
per-thread Unicode string buffer.
2004-05-13 20:21:25 +00:00
Robert Reif eee90c26a9 waveOutGetDevCapsA can fail with MMSYSERR_BADDEVICEID or
MMSYSERR_NODRIVER when no drivers present.
Add better error messages.
2004-05-13 19:41:53 +00:00
Ivan Leo Murray-Smith ad3295156b Update to version 9. 2004-05-13 19:41:34 +00:00
Alexandre Julliard c00b0b029a Remove trailing spaces from the filename in RtlGetFullPathName_U. 2004-05-13 05:21:23 +00:00
Raphael Junqueira beaa084f6c - Fewer FIXMEs.
- Better traces.
- IDirectMusicBand loading fixes:
  - load correctly instruments (and References
  - load IDirectMusicCollection object (using DMLoader)
  - insert the two on the list
- IDirectMusicBandTrack loading fixes (fill OBJECTDESC and parse UNFO
  infos).
2004-05-13 05:19:47 +00:00
Kevin Koltzau 917df92356 Prevent memory leak and superfluous status notifications. 2004-05-13 05:17:25 +00:00
Alexandre Julliard adc86dccaa Fixed copy/paste bug in previous change. 2004-05-13 00:23:25 +00:00
Rok Mandeljc 72c80375fa dmloader: complete rewrite and full implementation. 2004-05-13 00:00:22 +00:00
Raphael Junqueira f174ac3304 IDirectMusicBand loading. 2004-05-12 23:58:05 +00:00
Mike McCormack 0effd76987 Pass crypt provider and type to CPAcquireContext. 2004-05-12 23:29:44 +00:00
Alexandre Julliard 8f7c2bc6a5 Fixed the prototypes of the _adj_fdiv_* functions. 2004-05-12 23:22:36 +00:00
Raphael Junqueira 43def08e80 - Segment loading fix (correct FOURCC_RIFF tracks handling).
- IDirectMusicStyleTrack loading (need DM References).
- IDirectMusicBandTrack loading (need IDirectMusicBand loading).
2004-05-12 23:18:22 +00:00
Tom Wickline 4227ed1e4d Added version info. 2004-05-12 23:17:33 +00:00
Huw Davies 8c75ba82f0 The PostScript clip operator doesn't clear the current path, so after
the CLIP_TO_PATH escape we want to clear it ourselves.
2004-05-12 23:03:22 +00:00
Maxime Bellengé 7c46a5eaa5 Add DT_END_ELLIPSIS as defaut style for text. 2004-05-12 23:03:03 +00:00
Kevin Koltzau 9debc40e66 Properly retrieve and release handles. 2004-05-12 23:02:40 +00:00
Eric Pouech bcc2a5c540 - rewrote the file code so that streams manage low level file desc
(the code was written the other way around)
- reworked the flag handling code (now the stream._flag is closer to
  what MS does)
- simplified temp files handling by using FILE_FLAG_DELETE_ON_CLOSE in
  CreateFile
- fixed a couple of bugs
2004-05-12 00:12:26 +00:00
Wolfgang Schwotzer 4b2a99b4d4 Support lpstrCustomFilter and return nFilterIndex in file dialog. 2004-05-12 00:12:04 +00:00
Raphael Junqueira a4215336ef - Typo fix in dmusicf.h.
- IDirectMusicChordTrack loading.
- Many IsDirty and GetClassID stubs.
2004-05-11 22:18:43 +00:00
Mike McCormack fd941d4d78 Implement ImageEnumerateCertificates and ImageGetCertificateHeader. 2004-05-11 22:17:49 +00:00
Dmitry Timoshkov 89525a1925 Fix Croatian keyboard layout to better match the XFree86 one. 2004-05-11 22:17:36 +00:00
Dmitry Timoshkov f74516843f - Add a test for GetWindowInfo, it should not check cbSize member of
the WINDOWINFO structure.
- Add tests for window state at the time the system calls
  HCBT_CREATEWND (failing under Wine at the moment).
2004-05-11 22:17:19 +00:00
Ulrich Czekalla fc9be6a599 Handle case where iterator range contains 0 elements. 2004-05-11 22:16:54 +00:00
Alexandre Julliard 04869eb658 Initial support for automatically creating the ~/.wine directory on
startup.
2004-05-11 04:29:18 +00:00
Robert Reif 4a787831f0 Add an interface name to wineoss, winealsa, winearts and winejack.
Add support for wave interface message where missing.
2004-05-11 04:28:13 +00:00
Raphael Junqueira ee51a0c014 - Many IDirectMusicSegment fixes (loading).
- AudioPath crash fix (don't use DSound APIs if buffer is null).
- Move generic functions to dmime_main.c for future reuse (from
  segment.c).
- IDirectMusicTempoTrack loading (many tempo case must be handled).
- IDirectMusicSegTriggerTrack loading implementation (now
  DMRF/DirectMusic References loading should be done).
2004-05-11 04:27:23 +00:00
Alexandre Julliard 6ddfba14e2 Fixed buffer size handling in GetUserNameA (reported by Hannu
Valtonen).
2004-05-10 21:26:58 +00:00
Maxime Bellengé d19e264640 Implemented PSH_WIZARD97_OLD and PSH_WIZARD97_NEW property sheet
styles.
2004-05-10 21:26:04 +00:00
Christian Costa a967e7755e Fixed W buffer handling. 2004-05-10 21:24:21 +00:00
Dmitry Timoshkov 683ea2f2b7 Add more ShowWindow/SetWindowPos tests. 2004-05-10 19:59:20 +00:00
Kevin Koltzau 33972309f5 Cleanup conversion from A->W. 2004-05-10 19:59:05 +00:00
Christian Costa 0f7b0a089b Implemented pixel shaders using ARB_fragment_program extension. 2004-05-10 19:57:51 +00:00
Robert Reif 321189aa21 More parameter checking fixes with tests. 2004-05-10 19:56:53 +00:00
Maxime Bellengé 426b02362b Correctly create the byte array of gif images to match what
CreateDIBitmap expects.
2004-05-10 19:56:34 +00:00
Raphael Junqueira c77788b59f - Release DSBuffer on AudioPath destruction.
- Semi stub for AudioPath Activate.
- IDirectMusicPerformance8::CreateAudioPath stub.
- Most of the IDirectMusicSegment8_[Set,Get]* (using header).
- Load of Streamer IDirectMusicSegment8 header.
2004-05-10 19:56:17 +00:00
Rein Klazes db30361cf4 Implementation of lineGetTranslateCaps. 2004-05-10 19:54:25 +00:00
Ilya Korniyko 4943881d28 Encoding fixes in Ukrainian translation. 2004-05-10 19:54:10 +00:00
Alexandre Julliard c4effa39e6 Use the Unix codepage to convert the user name to Unicode. 2004-05-07 04:01:28 +00:00
Krishna Murthy b37eab4ec8 WNetGetConnection(): use QueryDosDevice to return a fake remote name
instead of the drive label.
2004-05-07 03:59:41 +00:00
Kevin Koltzau 57f7a2c181 Implemented IsAsyncMoniker. 2004-05-07 03:49:19 +00:00
Dmitry Timoshkov 80422fb830 Make WM_GETMINMAXINFO default behaviour more like the Windows one. 2004-05-07 00:41:32 +00:00
Matthew Davison 2e2f666032 Update spec file. 2004-05-07 00:40:44 +00:00
Dimitrie O. Paun f950d97381 Remove the last remaining wine options when running programs.
Keep support for --help, and --version when they are the only options
on the command line.
2004-05-06 23:51:43 +00:00
Andrey Panov f4a535d61e In get_buffer_space() function, HeapReAlloc() will not allocate memory
if passed *buffer value is NULL.
2004-05-06 23:41:15 +00:00
Ulrich Czekalla b41466b3b1 Allow applications, under certain conditions, to set data into the
clipboard even if they are not the clipboard owners.
2004-05-06 23:40:30 +00:00
Dmitry Timoshkov 56193ecc36 It's OK to have dwNumEntries == 0 if there is no network connection. 2004-05-06 23:39:59 +00:00
Raphael Junqueira faf1b08ef4 - PMsg processing thread (currently only Notifications handling)
- a chained list bug
- thread-safe lists
- real close on CloseDown
2004-05-06 23:37:54 +00:00
Raphael Junqueira 0359eaa80c Implemented SystemClock (IReferenceClock by dshow). 2004-05-05 23:51:59 +00:00
Wolfgang Schwotzer bce73e4242 Update OFN_READONLY flag when closing file dialog. 2004-05-05 23:49:39 +00:00
Alexandre Julliard 0a19a07ecf Set additional environment variables at startup from
HKLM\System\CurrentControlSet\Control\Session Manager\Environment.
2004-05-05 22:05:18 +00:00
James Courtier-Dutton 0040ba959b Updated to the new alsa api. 2004-05-05 22:03:48 +00:00
Alexandre Julliard 900492a69c A couple of changes to avoid some failures on XP. 2004-05-05 22:01:49 +00:00
Alexandre Julliard 4113217155 Added support for DIRID_USERPROFILE. 2004-05-05 22:01:10 +00:00
Jon Griffiths 0d1b4239fd Trace the system and user locales upon startup.
Print the returned string if VarDateChangeTypeEx fails.
2004-05-05 19:00:21 +00:00
Raphael Junqueira 7be996e9b7 - fix cRef Leak (init to 1, should be 0) of IDMPerformance
- SendPMsg implementation
- begin of Performance Processing queues implementation
2004-05-05 18:59:59 +00:00
Alexandre Julliard ae42aad2ae Initialize ntdll debugging earlier on so that we can trace the server
startup too.
2004-05-05 05:56:37 +00:00
Alexandre Julliard ab92cfe0a0 Replaced LPINPUT_RECORD by PINPUT_RECORD. 2004-05-05 05:54:44 +00:00
Alexandre Julliard 048b3ac67c Fixed RtlSetEnvironmentVariable to deal properly with Unicode strings
that aren't null-terminated.
2004-05-05 01:39:12 +00:00
Francois Gouget 4e5b9efcf0 We should not make deststring static since we count on it being fresh
and clean when entering test_RtlCopyString().
2004-05-05 01:38:24 +00:00
Francois Gouget bc8007fb1a Add trailing '\n's to ok() calls. 2004-05-05 01:35:37 +00:00
Raphael Junqueira 1afbcd71dd - fix DirectSound Creation by dmusic (fix recent Unreal2 regression)
using Robert Reif patch
- use of ForegroundWindow if hWnd is NULL (as specified on msdn docs)
- begin of Performance PMsg implementation (we should use a processing
  thread)
- better Segment loading
- some stubs for IsDirty (always FALSE)
2004-05-05 01:32:55 +00:00
Raphael Junqueira 4dc686df3f Make IDirectMusicScriptImpl_IDirectMusicScript_CallRoutine return S_OK
(with E_NOTIMPL we have some apps crashes).
2004-05-05 01:32:21 +00:00
Kevin Koltzau f0b47e2631 Implemented CoInternetCombineUrl and CoInternetCompareUrl. 2004-05-05 01:32:00 +00:00
Francois Gouget 9f1aea2fb8 Assorted spelling fixes. 2004-05-05 01:09:24 +00:00
Jakob Eriksson 3d38e72d89 Windows 95 has no StrRetToBSTR, add dynamic lookup to avoid blocking
dialog.
2004-05-05 01:07:41 +00:00
Jakob Eriksson 9e19e3f81e Prevent Windows 95 from blocking on linking issue. 2004-05-05 01:07:04 +00:00
Francois Gouget df4409fb95 winejack.drv only supports 16bit sound so we can simplify the sound
format checks.
2004-05-05 01:06:27 +00:00
Francois Gouget 91c2507dd4 If ARTS_WaveInit() failed then transmit the failure upstream in
ARTS_DriverProc().
2004-05-05 01:06:09 +00:00
Francois Gouget bf75c5c163 Taking into account wavemap and midimap there can be up to 8 output
drivers. So increase the size of the MMDrvs array accordingly.
Skip already loaded drivers before complaining (asserting) that they
don't fit in the MMDrvs array.
2004-05-05 01:00:54 +00:00
Alexandre Julliard 319fa1c31e Some more tests for focus behavior when hiding/showing windows. 2004-05-04 04:18:29 +00:00
Francois Gouget cfc3943c5f Make our ascii strings static const.
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Marcus Meissner ff39b877a4 Fixed strict aliasing issues in dlls/ole32. 2004-05-04 03:10:50 +00:00
Alexandre Julliard 9f986f9a99 Don't close the current thread display on process exit, we don't close
the other ones anyway. Should avoid XRender error in metafile test.
2004-05-04 02:57:29 +00:00
Ulrich Czekalla 088db8b428 Delegates messages directly to the edit control window proc instead of
containing an edit control. Fixes problems with subclassing the
richedit control.
2004-05-04 02:54:30 +00:00
Maxime Bellengé 7507ad2ac5 Add NM_RCLICK notification support for toolbars. 2004-05-04 02:54:11 +00:00
Maxime Bellengé 90bcfdca87 - Fix palette creation.
- Fix upside down Gif.
- Add support for transparent Gif.
2004-05-04 02:53:48 +00:00
Alexandre Julliard db50578ddc Avoid killing threads with TerminateThread, this can cause deadlocks. 2004-05-04 00:43:46 +00:00
Alexandre Julliard a11b2bbafb Updated the auto-generated tests. 2004-05-04 00:41:11 +00:00
Alexandre Julliard 9759474371 Make GetVolumeInformation default to reporting NTFS for non-FAT
filesystems.
2004-05-03 20:22:07 +00:00
Alexandre Julliard 2f8fd10647 OF_CREATE should force write access in OpenFile. 2004-05-03 20:20:54 +00:00
Pavel Roskin 095752a1ff Make the file type combobox non-editable. 2004-05-03 20:20:08 +00:00
Jon Griffiths d0f9c31c28 Implement and test ScCopyProps/ScRelocProps. 2004-05-03 20:19:00 +00:00
Aric Stewart a56eadc92d Strip leading whitespace when adding a new value and not just when
replacing a current value.
2004-05-03 20:18:43 +00:00
Robert Reif 00cd2b2e52 Added tests for msacm32.dll. 2004-05-03 20:17:43 +00:00
Robert Reif 445fc35e20 Better function parameter checking. 2004-05-03 20:09:42 +00:00
Wolfgang Schwotzer 2f0a4ac46d Make file dialog support FNERR_BUFFERTOSMALL if buffer too small. 2004-05-03 20:09:09 +00:00
Jakob Eriksson 7874ce53bd Prevent from crashing/hanging in Windows 95 OSR2. 2004-05-03 20:07:24 +00:00
Kevin Koltzau 3d5205ef5f Handle context in CreateURLMoniker. 2004-05-03 20:07:03 +00:00
Maxime Bellengé 199877a6d7 Fix the size of the listview items in the customize dialog. 2004-05-03 20:05:43 +00:00
Matthew Davison 3fd9cb4755 Updated to include functions from windows 98SE. 2004-05-03 20:05:11 +00:00
Alexandre Julliard ac7b9451f7 Authors: Christian Costa <titan.costa@wanadoo.fr>, Jason Edmeades <us@the-edmeades.demon.co.uk>
Fixes for rendering targets.
2004-05-02 04:22:31 +00:00
Ge van Geldorp 73d8c97f12 Always reset AUTO_RESIZE flag on exit from REBAR_ForceResize. 2004-05-02 04:21:48 +00:00
Gerald Pfeifer 7a6d41ca1c Include <stdlib.h> to obtain a prototype of abs(). 2004-05-02 04:21:28 +00:00
Marcus Meissner a1272b3784 Use memcpy instead of weird casts. 2004-05-02 04:21:16 +00:00
Maxime Bellengé ee1c578017 Fix TB_GETSTYLE message to return the style of the toolbar and not the
style of a button.
2004-05-02 04:21:01 +00:00
Marcus Meissner aff2e2e5e6 Implemented CoReleaseMarshalData. 2004-05-02 04:20:37 +00:00
Maxime Bellengé 54d7cb60e1 Fix a string allocation. 2004-05-02 04:20:23 +00:00
Huw Davies 7e1d83ee70 Implemented TVS_NOSCROLL. 2004-05-02 04:20:06 +00:00
Alexandre Julliard 643617f2ae Moved most remaining file functions to dlls/kernel.
Removed files/file.c and include/file.h.
2004-05-01 05:25:07 +00:00
Alexandre Julliard cba2fcaf61 Fixed last error code check in GetVolumeInformationW, opening a
non-existent device returns ERROR_FILE_NOT_FOUND now.
2004-05-01 03:05:36 +00:00
Alexandre Julliard b592cbbc18 Reimplemented GetFileType and SetEndOfFile using ntdll functions. 2004-05-01 02:44:00 +00:00
Chris Morgan 8aeb463d49 Stub cmc_query_configuration() and add xcmc.h header file. 2004-05-01 02:39:33 +00:00
Alexandre Julliard d4874d6406 Added a few more info classes in NtQueryInformationFile.
Use NT file names in CreateNamedPipeW.
Reimplemented GetFileInformationByHandle, GetFileSize and GetFileTime
using ntdll functions.
2004-04-30 21:03:09 +00:00
Alexandre Julliard ff07c20446 Moved support for opening named pipes to ntdll. 2004-04-30 19:04:19 +00:00
Uwe Bonnes 6ebf8b494c Fixed buffer overflow. 2004-04-30 18:34:34 +00:00
Jon Griffiths 89450e7cbd Implement VarDateFromUdateEx. 2004-04-30 18:32:58 +00:00
Marcus Meissner aedfc471a2 Fixed lvalue casts. 2004-04-30 18:32:36 +00:00
Francois Gouget 7a58c6ec53 Add a stub for StgCreateStorageEx(). Returns
STG_E_UNIMPLEMENTEDFUNCTION as per MSDN. Fixes an error saving files
in Word XP.
2004-04-30 18:32:20 +00:00
Alexandre Julliard 07ddc60c04 Use RtlDosPathNameToNtPathName_U to build the registry entries for
MOVEFILE_DELAY_UNTIL_REBOOT.
2004-04-30 04:16:23 +00:00
Eric Pouech c5e0a696d9 - fixed some bugs in StackWalk (claimed for but forgotten in last
patch)
- removed location field in symt_data, and reworked the actual
  location of information based on the 'kind' field
- shorten debug channel name
- added support for bitfield in struct:s
- cleaned up source line information support
- now storing constants values as VARIANT
2004-04-30 04:15:41 +00:00
Dmitry Timoshkov c5524e1e6b Replace wParam values for WM_PARENTNOTIFY message by appropriate
symbolic names.
2004-04-30 04:15:13 +00:00
Robert Reif abdce33943 You have to have at least one device before you can have a default
device.
2004-04-30 04:14:58 +00:00
Maxime Bellengé 77c7c61edd - Fix the return key handling and clean up the code.
- Add support for quickComplete with Ctrl+Return.
2004-04-30 04:14:33 +00:00
Christian Costa 385d89a770 Enable querying of IID_FilterGraph interface from filtergraph manager
(spotted by Robert Reif).
2004-04-30 04:14:19 +00:00
Alexandre Julliard ffcc67abf1 Added auto-detection of DOS drive devices based on finding the
corresponding mount point in /etc/mtab or /etc/fstab.
2004-04-29 20:04:48 +00:00
Alexandre Julliard c749433e26 Create the system heap event before the shared mapping to avoid a race
condition.
2004-04-29 20:02:01 +00:00
Mike McCormack 0f6af2cee0 Stub implementation for SHFindFiles. 2004-04-29 20:01:38 +00:00
Krzysztof Foltman 9a900aa279 Make sure ascent/descent values don't become negative after coordinate
mapping.
2004-04-29 20:01:23 +00:00
Dmitry Timoshkov 9634233407 Add a test for creation of a maximized child window. 2004-04-29 20:00:40 +00:00
Alexandre Julliard 553a75e16e Use symlinks in dosdevices/ for the drive devices too.
Store drive types in the registry instead of in the config file.
Added some more code to convert existing config to the new scheme.
2004-04-29 00:27:57 +00:00
Robert Reif 8db4d73d89 Forgot to limit capture sample rates. 2004-04-29 00:20:35 +00:00
Raphael Junqueira d52c5080cf - Fix compilation again using olders GL headers
(glCompressedTexImage2DARB problem).
- Fix typo on constant.
- Detection of NVidia texture_shader and register_combiners
  extensions.
- Begin to implement BUMPMAPPING using NVidia Texture shader extension
  (not really working for now).
2004-04-29 00:20:18 +00:00
Alexandre Julliard c349d7d297 Removed a number of internal file functions that are no longer used. 2004-04-28 03:53:19 +00:00
Alexandre Julliard 57b0cbff26 Added test for setting focus to an invisible window. 2004-04-28 03:52:27 +00:00
Jakob Eriksson c49b9485df Fixed tests to succeed on all Windows versions. 2004-04-28 03:52:02 +00:00
Robert Reif 253ffd50d2 Another error return value check added after looking at the windows
tests results.
Replaced -1 with WAVE_MAPPER.
2004-04-28 03:50:36 +00:00
Hans Leidekker 9faf66913a Reimplement UuidCreate() with Win32 APIs. 2004-04-28 01:04:49 +00:00
Alexandre Julliard 06c46d9aab Reimplemented Get/SetCurrentDirectoryW using the corresponding ntdll
functions.
2004-04-28 01:04:24 +00:00
Alexandre Julliard 7f8ad0a2bf Fixed unsigned comparison issue in previous change. 2004-04-28 00:31:21 +00:00
Raphael Junqueira 18cdbf1351 - add some prototypes/typedefs to msi.h
- implements some A -> W calls (W calls must be implemented)
2004-04-28 00:29:25 +00:00
Francois Gouget 0345908a27 Assorted spelling fixes. 2004-04-28 00:24:44 +00:00
Ove Kaaven c6ad91ba3c Fixed a couple of bugs. 2004-04-28 00:24:09 +00:00
Alexandre Julliard 59b7d34b7d Replace empty window rect checks by a new X11DRV_is_window_rect_mapped
function so that we can reuse that support for off-screen windows.
2004-04-27 23:32:01 +00:00
Mike McCormack 1917e60d7d Implemented WNetEnumCachedPasswords. 2004-04-27 23:30:25 +00:00
Jon Griffiths d275676215 Fix failures under win2k. 2004-04-27 23:30:10 +00:00
Jon Griffiths 309ed0641e Update VarXor,VarAbs,VarNot for all input types.
Test VarOr; fix a failure with later oleaut32 versions.
Speed up compilation by sharing failure strings.
2004-04-27 23:29:58 +00:00
Jon Griffiths befb3a9980 Implement VarOr.
Fixes for untested VarXor,VarAbs,VarNot input types.
2004-04-27 23:29:37 +00:00
Kevin Koltzau 759aff6a23 Allow UrlCombine to calculate size of required buffer. 2004-04-27 23:29:01 +00:00
Robert Reif 7c80f993d2 Restore the 2 MHz sample rate test and fix the winealsa driver for
reasonable limits.
2004-04-27 23:28:46 +00:00
Alexandre Julliard 74f583ed19 DefineDosDeviceW: implemented the DDD_REMOVE_DEFINITION flag. 2004-04-27 02:43:40 +00:00
Alexandre Julliard 115862146a Removed todo_wine from some tests that succeed now. 2004-04-27 02:27:47 +00:00
Alexandre Julliard ad9b799324 Reimplemented CreateDirectoryW and RemoveDirectoryW using ntdll
functions.
2004-04-27 02:27:09 +00:00
Alexandre Julliard cf67839bc4 Pass the creation disposition to wine_nt_to_unix_file_name so that it
can return the correct error code in all cases.
Changed MoveFileExW to use wine_nt_to_unix_file_name to avoid
computing the NT name twice.
Fixed crash in GetDriveTypeW with a NULL root.
2004-04-27 02:15:52 +00:00
Ilya Korniyko 1c279bfd89 Added Ukrainian translations. 2004-04-26 23:35:17 +00:00
Christian Costa 15ccb11ea5 Implemented fast rendering to a texture using glCopyTexImage2D
Fixed SetViewport.
Fixed SetRenderTarget (based on Jason Edmeades' work).
Improved trace.
2004-04-26 23:34:17 +00:00
Filip Navara c5580b0355 Make RPCRT4 use Windows compatible protocol (DCE v5.0) for
communication.
2004-04-26 23:33:39 +00:00
Francois Gouget da29b6547f Make sure the 'alsa handle' is initialized to NULL before calling
snd_pcm_open(). Otherwise if it fails we get a crash trying to close
an invalid alsa handle.
2004-04-26 23:31:11 +00:00
Duane Clark d6c537b43c Add testing of PeekNamedPipe, multiple writes, and message mode. 2004-04-26 23:30:51 +00:00
Francois Gouget f627aed58b waveOutGetDevCaps(-1...) must return the capabilities of the Wave
mapper.
DRV_QUERYDEVICEINTERFACE is not supported on all Windows versions.
Check the length returned by DRV_QUERYDEVICEINTERFACESIZE and fix
memory leak.
Some Windows sound drivers allow wild frequencies such as the 2MHz
one. So modify this test to use an invalid number of bits per sample
instead (hopefully that will fail really everywhere).
2004-04-26 23:30:26 +00:00
Dmitry Timoshkov 85ef456512 Fix the DDE PFNCALLBACK prototype. 2004-04-26 23:29:44 +00:00
Marcus Meissner 3795a08149 Fixed some strict aliasing issues in dlls/d3d8.
Incorporated bugfix from Christian Costa in vshader_expp.
2004-04-26 20:15:02 +00:00
Raphael Junqueira b4a37991ef - implement SetRenderState D3DRS_FOGENABLE/D3DRS_RANGEFOGENABLE
- implement SetRenderState D3DRS_RANGEFOGENABLE
- fix SetRenderState D3DRS_FOGVERTEXMODE Caps/Detection traces
- fix IDirect3D8::GetAdapterIdentifier to use FillGLCaps and provide
  more exact infos (driver versions, vendor, ...)
- split Fake GL Context creation from GetDeviceCaps for external use
- add a new channel (d3d_caps) for all IDirect3D8 Caps/detection traces
- rename fps channel to d3d_fps
- high use of runtime detected OpenGL Caps instead of defines
- update supported Caps using runtime detection
2004-04-26 20:12:28 +00:00
Maxime Bellengé e2a90d9d52 Implemented the ACO_AUTOSUGGEST, ACO_AUTOAPPEND, ACO_UPDOWNKEYDROPSLIST
styles.
2004-04-26 20:06:24 +00:00
Jukka Heinonen 6d58de6374 If source and destination are the same object, don't lock the object
twice as it will only be unlocked once.
2004-04-26 20:06:08 +00:00
Marcus Meissner 2b5b00b0ff Fixed position of tmp.f assigned like in dlls/d3d8/shader.c.
Fixed strict aliasing problem.
2004-04-26 20:05:52 +00:00
Jukka Heinonen 6844c3b59b Implement DOS7 canonicalize path function as a conversion to short
file name.
2004-04-26 20:05:30 +00:00
Francois Gouget cce19caacb Fix a warning in JACK_drvLoad(). 2004-04-26 20:04:21 +00:00
Francois Gouget 8ceb200817 We only support 8 and 16 bit sound so we should reject the other
formats.
2004-04-26 20:03:59 +00:00
Francois Gouget 85cad2cdbb If lpstrTitle is NULL, set it to either 'Open File' or 'Save as'.
Constify the string constants.
2004-04-26 20:02:39 +00:00
Dmitry Timoshkov 48eae0bbe8 Call appropriate DefWindowProc in DDE client/server window procs
depending on whether a window proc is unicode or ANSI.
2004-04-26 20:01:20 +00:00
Alexandre Julliard a2963dacc3 Reimplemented GetLogicalDrives, GetLogicalDriveStrings and
GetDriveType using the new symlink mechanism.
Made GetDriveType attempt to autodetect the type if not specified in
the registry.
2004-04-23 23:31:58 +00:00
Jon Griffiths 4ec0d3be0a Tests for newly added MAPI functions. 2004-04-23 23:30:00 +00:00
Jon Griffiths c79b70d6a4 Implement MAPI property & utility functions. 2004-04-23 23:28:27 +00:00
Jon Griffiths 11b26f05ad Update/Add MAPI headers. 2004-04-23 23:28:04 +00:00
Alexandre Julliard 7b6651a9e1 Moved creation of the CDROM registry keys into the registry loading
code.
2004-04-23 21:36:22 +00:00
Jon Griffiths 50ce0844ba Documentation fixes. 2004-04-23 21:32:34 +00:00
Dmitry Timoshkov 61daaf8bd3 Fix a bug in ShellExecute which called DdeCreateStringHandleW with a
wrong parameter. Revert previous erroneous fix.
2004-04-23 21:32:17 +00:00
Jon Griffiths 30febfc87c Test ClearCustData() and UINT->I4 conversion. 2004-04-23 21:31:37 +00:00
Jon Griffiths 0c93b1f0a7 Implement ClearCustData. 2004-04-23 21:31:16 +00:00
Jon Griffiths 17ac230bbf Check the correct param for 2 DECIMAL operations. 2004-04-23 21:30:32 +00:00
Jon Griffiths 9b609135e1 Conversion from VT_UINT to VT_I4 ignores overflow. 2004-04-23 21:29:49 +00:00
Raphael Junqueira e4a96cd571 Don't try to create HW Vertex Shaders when code is NULL (ie use
default rendering code using VertexShaderDeclaration for datas) as GL
drivers don't like empty programs.
2004-04-23 21:28:02 +00:00
Raphael Junqueira b42da1c51c Fix some random crashes found on some games in the new code (live
GLX/GL drivers).
2004-04-23 21:27:30 +00:00
Alexandre Julliard 223fcdff77 Moved support for opening DOS device files to ntdll. 2004-04-23 03:22:34 +00:00
Alexandre Julliard 9db147e5e4 Make DIR_nt_to_unix return STATUS_NO_SUCH_FILE instead of
STATUS_OBJECT_NAME_NOT_FOUND to indicate that the last component
didn't exist to allow distinguishing it from legitimate errors.
Export it from ntdll, renamed to wine_nt_to_unix_file_name.
2004-04-23 02:46:18 +00:00
Chris Morgan 58dcfb6205 Skip over most of the unused variant types to speed up the variant
tests.
2004-04-23 02:40:30 +00:00
Huw Davies 180045676b DdeClientTransaction returns zero on error. 2004-04-22 23:46:35 +00:00
Dmitry Timoshkov 476ac454ee Unicode version of DdeCreateStringHandle should ignore codepage parameter. 2004-04-22 23:46:21 +00:00
Raphael Junqueira 58080d4f6a - more FIXME -> TRACE
- begin vendor/card detection (versions/names)
2004-04-22 23:46:05 +00:00
Jakob Eriksson 960104b249 When the Windows directory was something else than C:\WINDOWS
test_GetTempFileNameA() failed.
2004-04-22 23:44:14 +00:00
Krzysztof Foltman 9bca690d6a Added dummy hhctrl.ocx with stubs of HtmlHelpA and HtmlHelpW. 2004-04-22 03:45:00 +00:00
Alexandre Julliard f1e755db4b Preload keyboard.drv when Windows version is Win9x. 2004-04-21 22:30:08 +00:00
Alexandre Julliard 31a7a7847e Changed MoveFileEx to use ntdll functions, and moved it to
dlls/kernel/path.c.
2004-04-21 22:27:34 +00:00
Alexandre Julliard 4bb759e8ad Properly set IO_STATUS_BLOCK.Information in NtCreateFile. 2004-04-21 22:26:44 +00:00
Huw Davies 69f2e04ff8 Deleting column zero should only delete the column and not the item
data.
2004-04-21 22:25:04 +00:00
Juan Lang 759ef45945 Fix NetApiBufferReallocate and tests based on results from winetest. 2004-04-21 22:24:38 +00:00
Christian Costa 1811e198f7 Converted some FIXMEs into TRACEs. 2004-04-21 22:24:22 +00:00
Krzysztof Foltman c401aa84eb - next/prev month don't stick anymore
- min/max ranges initialized to some reasonable values
- fixed some bugs caused by reversed order of arguments of MONTHCAL_CopyTime
- update current month/year after setting current date
- changing months etc doesn't send MCN_SELECT (which could be sent
  only after a particular day was clicked)
- changed (hit && MCHT_CALENDARDATE) to (hit == MCHT_CALENDARDATE)
2004-04-21 22:24:09 +00:00
Krzysztof Foltman 3ae8f73caf - make monthcal a child of datetime (it was a sibling before, causing
completely incorrect message flow)
- update monthcal after date change in datetime
- choose different coordinates when DTS_SHOWNONE is not used
- embedded monthcal is now 200 pixels wide
- selecting a day in embedded monthcal updates the datetime and hides
  the monthcal
- changing months/years by clicking month name/year in title bar works
- embedded month calendar is correctly destroyed (it used to stick on
  the screen long after the datetime's container was closed)
2004-04-21 22:23:36 +00:00
Emmanuel Maillard 9731286324 GetSystemInfo support for Darwin. 2004-04-21 22:22:09 +00:00
Francois Gouget 552dae7bf9 Fixed typos. 2004-04-20 20:16:16 +00:00
Raphael Junqueira 8e2da3e50d Fix the d3dcore_gl part of HW vertex shader support for brokens GL
headers.
2004-04-20 20:15:29 +00:00
Alexandre Julliard e4409325d2 Reimplemented GetFileAttributesExW and GetCompressedFileSizeW using
the corresponding ntdll functionality.
2004-04-20 04:06:49 +00:00
Francois Gouget 66834324b1 Assorted spelling fixes.
Remove wszRegSeparator from devenum_private.h since it's neither
exported by createdevenum.c nor used by anyone else.
2004-04-20 04:03:42 +00:00
Dmitry Timoshkov f04b9d0b07 Add a message test for custom dialog initialization. 2004-04-20 04:02:50 +00:00
Francois Gouget 8fc374d8b4 Make Unicode strings 'static const'. 2004-04-20 02:14:00 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Robert Shearman e2490a0986 Stub and documentation for RtlFormatMessage. 2004-04-20 01:07:23 +00:00
Alexandre Julliard 362ce5eac7 Minor fixes. 2004-04-20 00:37:00 +00:00
Alexandre Julliard 174e2a6464 Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime
using the corresponding ntdll functionality.
2004-04-20 00:36:29 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +00:00
Christian Costa 1337f2084f Fixed relative addressing.
Enable hw vertex shaders by default.
Moved registry d3d config key to Software\Wine\Direct3D.
2004-04-20 00:28:48 +00:00
Alexandre Julliard 73d9e1a62f Fixed/updated the file attributes defines. 2004-04-19 23:11:31 +00:00
Ove Kaaven 276ccc44ed Added detection of 48kHz and 96kHz support. Fixed a thinko, and some
misleading indentation.
2004-04-19 23:06:48 +00:00
Raphael Junqueira c87fd95f1f - fix the SetTextureStageState for D3DTADDRESS_MIRROR using dynamic GL
detection (and not build time GL headers)
- add a new debug channel for hardware vertex shaders
- hardware VS "compiler" fixes:
  -> special case for address registers (MOV must be replaced by ARL)
  -> add line numbers to trace (better to find why NVidia drivers complains)
  -> one parse to determine temporary and address registers needs
    (@todo: check GL limits)
  -> remove duplicate traces from Generic ParseProgram
2004-04-19 23:04:58 +00:00
Filip Navara 7930ada851 Fix some RPC prototypes to get it compiling with W32API. 2004-04-19 23:03:58 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Maxime Bellengé b7852de12f Add the IAutoComplete and IAutoComplete2 implementation (but methods
stubbed for now).
2004-04-19 19:26:57 +00:00
Wolfgang Schwotzer 0471483851 SHBrowseForFolder: support lpBrowseInfo->pszDisplayName being NULL. 2004-04-19 19:25:56 +00:00
Michael Stefaniuc 5150b37a00 NtQueryInformationToken isn't a stub so change the FIXME to a TRACE. 2004-04-19 19:25:29 +00:00
Marcus Meissner 115f2adb66 Fixed DLLMODE handling (--mode is now --subsystem and uses -Wb). 2004-04-19 19:25:05 +00:00
Ove Kaaven 59917f4cfa Code and concepts merged in from wineoss in order to get the
non-dsound wave output performance in winealsa to an acceptable
level. It's still possible to do better than the current code, but
this should do for now.
2004-04-19 19:24:25 +00:00
Hans Leidekker 4365bd2122 Fix compiler warning. 2004-04-19 19:24:03 +00:00
Alexandre Julliard 769a4bb586 Fixed ntdll_wcstoumbs and WideCharToMultiByte to set the 'used' flag
for UTF-8 codepage too. This was causing DIR_nt_to_unix to fail in
some cases (tracked down with help from Alex Pasadyn).
2004-04-19 03:05:07 +00:00
Vincent Béron 0a5e2c5c5e More complete implementation of Dll(Un)RegisterServer in urlmon, based
on the work of John K. Hohm for other dlls.
2004-04-19 03:00:27 +00:00
Christoph Frick c7994927c8 - added code to have the joystick state be set to the assumed center
values of the joystick mapped to the range the application wants
  them
- generate events after setting the apropiate values in This->js
- replaced magic ints with defines from linux/input.h
- removed mapping code that generated wrong values for axes, that have
  the center on the min or max
2004-04-19 02:59:22 +00:00
Robert Reif dbb03ec6dc Fixes support for older versions of direct sound.
Adds support for deleting notification array.
Minor debug and white space cleanups.
2004-04-19 02:58:45 +00:00
Eric Pouech eb80f29350 - implemented support for function debug start/stop and labels (msc.c
and stabs.c)
- started implementing typedef support
- functions now have a real function signature (only in stabs.c, still
  to be done in msc.c)
- small enhancements to TI_GET_TYPE for functions
- added support for functions' block and local variables in registers
  (msc.c)
- fixed some bugs in StackWalk
- constants are now stored as variants (instead of unsigned ints)
- fixed regular expression management (dbghelp's RE are not the same
  as POSIX ones)
2004-04-19 02:58:27 +00:00
Robert Shearman 9509912e41 - Optimise accessing toolbar style by storing it in the TOOLBAR_INFO
structure.
- Replace {Get,Set}WindowLong by {Get,Set}WindowLongPtr where
  appropriate.
2004-04-19 02:57:38 +00:00
Raphael Junqueira 4aea40a869 - fix dxdiag.h (again)
- IDxDiagContainerImpl implementation
- IDxDiagProvider::GetRootContainer (that creates the root container)
2004-04-19 02:57:09 +00:00
Filip Navara 3e103dcabe Prevent crashes in I_RpcSend on Windows XP. 2004-04-19 02:56:12 +00:00
Alexandre Julliard d1051870db Reimplemented GetDiskFreeSpaceW and GetDiskFreeSpaceExW on top of the
corresponding ntdll functions.
2004-04-17 00:30:09 +00:00
Alexandre Julliard a9832be1a7 Make FindFirstFileExW and FindFirstChangeNotificationW use NtOpenFile
directly so that they can take advantage of the FILE_DIRECTORY_FILE
option.
2004-04-17 00:26:54 +00:00
Mike Hearn 481a67e887 Documentation for SystemFunction040 and SystemFunction041 has become
available, so stub them out in case applications use them.
2004-04-17 00:23:50 +00:00
Emmanuel Maillard d43e1b24ad Fixed a compile error on non-i386. 2004-04-17 00:22:34 +00:00
Dmitry Timoshkov 11af61652b - start assigning custom VK codes from VK_OEM_8 since this code
already presents in the layout tables
- search the layout tables only if XLookupString returned non zero
  number of characters for a keysym, otherwise that's a non character
  key
- avoid inserting VK_OEM_x codes into unassigned positions since these
  codes might already be in the layout table, thus creating a conflict
2004-04-17 00:21:51 +00:00
Emmanuel Maillard 8183eb658f Fix a compile error for SNOOP_GetProcAddress on non-i386. 2004-04-17 00:21:18 +00:00
Alexandre Julliard 716878c5b1 Fixed a number of NT status values to be closer to NT behavior. 2004-04-16 23:32:40 +00:00
Ge van Geldorp 9de14a1c11 - Work around problem in NSIS installers which can't handle 1 char at
a time reading of RTF text.
- Increase buffer to 4096 bytes for better compatibility.
2004-04-16 23:29:57 +00:00
Alexandre Julliard dfcfc98ed0 RtlSetCurrentDirectory_U: store a handle to the current directory
along with its name.
2004-04-16 05:00:46 +00:00
Raphael Junqueira 033ae9219f Added dxdiagn.dll with a simple implementation of IDxDiagProvider. 2004-04-16 00:26:14 +00:00