Commit Graph

7314 Commits

Author SHA1 Message Date
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
Martin Fuchs
703676f533 - define additional shell paths for CSIDL_... constants
- remove some superfluous commas
2004-01-26 20:09:10 +00:00
Alexandre Julliard
d07c1004e3 Moved a few remaining 16-bit definitions out of the standard headers. 2004-01-23 22:51:41 +00:00
Francois Gouget
72323cb6a9 Add trailing '\n's to ok() calls.
Fix a couple of spelling errors.
2004-01-23 22:44:26 +00:00
Ge van Geldorp
100e11309b Fix various function prototypes to conform to PSDK. 2004-01-23 20:57:26 +00:00
Francois Gouget
47e116225a Add trailing '\n's to ok() calls. 2004-01-23 20:50:35 +00:00
Sylvain Petreolle
a53c884986 winehq.com -> winehq.org 2004-01-23 20:49:05 +00:00
Huw Davies
d21266ad74 The tab control should be multiline. 2004-01-23 20:47:11 +00:00
Ge van Geldorp
adeaa30555 Discard mouse button up events if no button is currently pressed. 2004-01-23 20:46:47 +00:00
Martin Fuchs
70d4604ac9 - ISF_Desktop_fnGetUIObjectOf(): allow context menu on the desktop
without any selected item; preserve return error codes.
- ISF_Desktop_fnGetDisplayNameOf(): don't initialize whole character
  array with zero.
2004-01-23 20:46:09 +00:00
Martin Fuchs
0e35be6074 - IShellFolder_fnParseDisplayName(): return E_INVALIDARG instead of
E_OUTOFMEMORY.
- IShellFolder_fnGetUIObjectOf(): preserve return error codes.
- IShellFolder_fnGetDisplayNameOf(): don't initialize whole character
  array with zero.
2004-01-23 20:45:41 +00:00
Martin Fuchs
fc69e4cf1b Improved error handling.
SHELL32_GetItemAttributes(): support for SFGAO_LINK attribute.
2004-01-23 20:43:18 +00:00
Mike McCormack
4cc64c8e5e Merged ffmpeg's MS Video 1 decoder by Mike Melanson. 2004-01-23 05:00:37 +00:00
Kevin Koltzau
c31cae0f7e Load properties from the theme ini.
Implemented most of the GetTheme* functions.
2004-01-23 04:34:02 +00:00
Martin Fuchs
0c7f449343 ISF_MyComputer_fnGetDisplayNameOf(): return CLSID paths of virtual
folders rooted under "My Computer" folder, better error handling.
2004-01-23 04:25:26 +00:00
Martin Fuchs
2745769035 Return 'My Compuer' PIDL when calling Desktop->ParseDisplayName() with
empty path string.
2004-01-23 04:15:32 +00:00
Ge van Geldorp
0472291e4c Generate all binary resources using bin2res. 2004-01-23 02:11:53 +00:00
Blake Leverett
60eb3c9084 Printing a dashed line causes all later solid lines in postscript
output to be dashed.
2004-01-23 02:11:29 +00:00
Francois Gouget
7494b5b980 Add trailing '\n's to ok() calls.
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00
Francois Gouget
f229c911b5 Add trailing '\n's to ok() calls. 2004-01-23 02:10:33 +00:00
Ge van Geldorp
399901e054 Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
2004-01-23 01:51:33 +00:00
Ivan Leo Murray-Smith
6fb62d0353 Resource updates. 2004-01-23 01:44:47 +00:00
Rolf Kalbermatter
7af8b13f11 Implement PathGetShortPathA/W and change its prototype to match the
documentation on MSDN.
2004-01-21 23:51:57 +00:00
Martin Fuchs
9d78f6783f Only return valid file system names from RenderFILENAMEA/W() by using
SHELL_GetPathFromIDListA/W().
2004-01-21 23:50:46 +00:00
Alexandre Julliard
aa43d01627 Authors: Martin Fuchs <martin-fuchs@gmx.net>, Ge van Geldorp <ge@gse.nl>
Reimplementation of SHGetPathFromIDListA/W() using the new helper
functions SHELL_GetPathFromIDListA/W(). The new implementation avoids
using IShellFolder::GetDisplayNameOf(), so that it
- returns the absolute file system path, not relative to the dekstop
- returns FALSE as error code if the path can not converted in a valid
  file system path
- doesn't return virtual CLSID paths
2004-01-21 23:50:26 +00:00
Alastair Bridgewater
ff466b177f Initial implementation of CreateTypeLib2() and the ICreateTypeLib2 and
ICreateTypeInfo2 interfaces.
2004-01-21 22:24:08 +00:00
Huw Davies
84e7547ef1 Move the selection to the previous sibling if it can't go to the next
or the parent.
Fix the selection change logic.
2004-01-21 22:16:02 +00:00
Martin Fuchs
0f3d8bf500 Use full paths instead of only filenames in icon cache to distinguish
between different files with the same name.
2004-01-21 22:15:09 +00:00
Martin Fuchs
74bcd4e43f Implemented SHGetRealIDL(). 2004-01-21 22:12:55 +00:00
Aric Stewart
9672b791ee Use X11 XIM callbacks to enable full IME support.
Correct some timing issues with XIM input.
Start to provide the framework for the MSIME messages.
2004-01-21 02:22:26 +00:00
Jon Griffiths
d83ed49148 Remove tests that are covered by vartype.c.
Call by pointer for more functions not available in early versions.
Add tests for VarFix/VarInt/VarNeg, VarFormat "on/off/yes/no".
Fix tests that assumed relative dates.
Make BSTR copy test separate.
2004-01-20 23:38:38 +00:00
Martin Fuchs
423cb99ac5 - SHGetDataFromIDListA/W(): handle drives when retrieving file
attributes
- fixed error handling to avoid GPFs
2004-01-20 23:38:04 +00:00
Mike Hearn
eca464b679 Implemented RpcIsProtSeqValid. 2004-01-20 23:36:50 +00:00
Alexandre Julliard
294c8af60b Removed some unnecessary inclusions of gdi.h. 2004-01-20 22:48:57 +00:00
Rein Klazes
f20ce3b816 Fix MultiByteToWideChar and WideCharToMultiByte when called with code
page CP_SYMBOL.
Remove the symbol font from the code page table, so it is not reported
as a valid/supported/installed code page.
Remove workarounds for the badly behaved MultiByteToWideChar and co.
in a few places.
2004-01-20 22:39:06 +00:00
Dmitry Timoshkov
c660117622 Fixed some problems found while compiling and linking Wine under
Cygwin.
2004-01-20 22:35:34 +00:00
Dmitry Timoshkov
21272b31aa Make MCIWnd play a bit better as an MDI child. 2004-01-20 22:34:34 +00:00
Alexandre Julliard
50a783f734 Get rid of some direct accesses to the DC structure from outside GDI. 2004-01-20 22:04:00 +00:00
Alexandre Julliard
32b1e67ae5 Moved msacmdrv.h to include directory to avoid inter-dll header
dependencies.
2004-01-20 21:55:28 +00:00
Rein Klazes
5560d47539 Stub for DiBuildClassDrvList(). 2004-01-20 21:51:46 +00:00
Francois Gouget
3ada284495 Avoid duplicate '=C:' entries in the child process environment. 2004-01-20 21:51:27 +00:00
Mike McCormack
d26f658acb Implement ICM_DECOMPRESSEX, fix some bugs. 2004-01-20 21:50:45 +00:00
Francois Gouget
998cc56773 Add trailing '\n's to ok() calls. 2004-01-20 21:49:35 +00:00
Dmitry Timoshkov
dc70553cae Merge the MDI and common window creation code. Change the way MDI
children are managed in MDIClient.
Add support for MDICREATESTRUCT A<->W conversions.
Add support for WM_MDIREFRESHMENU.
2004-01-20 04:29:20 +00:00
Francois Gouget
52bf6c2bb1 Fix a file descriptor leak in create_process(). 2004-01-20 02:11:06 +00:00
Robert Reif
e14a1b262a Added notify and property set to dsound output driver.
Cleaned up existing notify and property set for capture.
2004-01-20 01:47:27 +00:00
Robert Reif
76659e9e9f Fixed thread handle leaks. 2004-01-20 01:45:05 +00:00
Eric Pouech
6c8ee62340 - RtlGetFullPathName_U: rewritten so that the source & destination
buffer can be the same
- GetFullPathName[AW]: now call RtlGetFullPathName_U
- GetShortPathNameW: fixed regression introduced in last patch
2004-01-20 01:40:23 +00:00
Martin Fuchs
eae9444bc8 - fix typos in shelllink.c header comment and a struct comment
- corrected SCF_UNICODE constant and use the value of SCF_UNC instead
- implemented IShellLink_ConstructFromFile() to read shell links from
  files
- call IShellLink_ConstructFromFile() in ISF_..._fnGetUIObjectOf()
  when being queried for IShellLink interface
2004-01-20 01:37:24 +00:00
Martin Fuchs
c378ade958 - fix typo
- return string length from SHELL32_GUIDToStringA()
2004-01-20 01:26:39 +00:00
Michael Stefaniuc
f44b5c46e8 Fixed DOS EXE loader for the case where we realy have only 4 bytes on
the last page of the exe.
2004-01-20 01:25:17 +00:00
Rok Mandeljc
0382ea1d8a - updated resources to DX9
- completely rewritten headers (DX9 compat.; look much nicer now ;=)
- removed IDirectMusicSong and IDirectMusicMelodyFormulationTrack
  (which are removed from DX9; weren't implemented in DX8 anyway)
- combined/simplified IDirectMusicSomething / IDirectMusicObject /
  IPersistStream for objects that support loading
- implemented IDirectMusicObject on all such objects; via generic
  functions
- combined IDirectMusicTrack(8)/IPersistStream on all tracks
- fully implemented IDirectMusicContainer (at least 90% if there are
  no private interfaces)
- implemented IDirectMusicCollection (99% work & MS compliant
  behaviour; except for instruments)
- tried to implement IDirectMusicInstrument (unfortunately uses some
  dirty private interfaces... :(
- added dswave.dll; DirectMusic Wave
- some changes in style
- many, many more ;)
2004-01-20 00:21:40 +00:00
Martin Fuchs
236c8a2452 - move IShellFolder_fnGetDisplayNameOf() contents into a new function
SHELL_FS_ProcessDisplayFilename() to call it also in
  ISF_Desktop_fnGetDisplayNameOf() and do the same file system
  processing for the desktop level
- handle hidden file extensions in SHELL_FS_ProcessDisplayFilename(),
  that are configured by "NeverShowExt" in the registry
2004-01-19 23:54:55 +00:00
Ge van Geldorp
1d0598b0aa Swap arguments of LocalAlloc and only update Malloc32 block on
successful allocation.
2004-01-19 23:42:34 +00:00
Alexandre Julliard
de7fab45bc Fixed an error message. 2004-01-19 21:55:32 +00:00
Kevin Koltzau
5e8a34f163 Full implementation of OpenThemeData, CloseThemeData, and
IsThemePartDefined
Export undocumented functions by ordinal only (to match Microsoft's
uxtheme).
2004-01-19 21:52:09 +00:00
Huw Davies
5e86e9d5bc Fix compilation if Freetype isn't installed. 2004-01-19 21:51:45 +00:00
Huw Davies
8e9e8922f1 Directly use the hook proc for the custom template dialog rather than
calling it through another dlgproc.
Deliver the old style file_ok message with SendMessage, this allows
the dialog to be subclassed (as ATL/WTL does).
Only deliver this message if the app didn't reject the WM_NOTIFY
message.
2004-01-19 21:51:29 +00:00
Hans Leidekker
301bbc4984 Add missing comma. 2004-01-19 21:48:21 +00:00
Francois Gouget
a5aa8dc1d0 DPA_Create is missing from all recent import libraries so use
GetProcAddress to load it.
Add '\n' to 'ok' calls.
2004-01-19 21:47:35 +00:00
Rolf Kalbermatter
ed32535931 Implemented PathFileExistsAndAttributesA/W function. 2004-01-19 21:46:14 +00:00
Mike McCormack
2cee7ac6d9 Don't use CreateFileMapping on a zero length file. 2004-01-19 21:44:02 +00:00
Francois Gouget
4cd80a3637 Add trailing '\n's to ok() calls. 2004-01-19 21:43:43 +00:00
Alexandre Julliard
32f1ac3a66 Use the exported FONTENUMPROCW as parameter in the EnumDeviceFonts
driver function instead of defining a private function type.
2004-01-18 23:35:12 +00:00
Marcelo Duarte
ab14f1a5a2 Update of Portuguese resources. 2004-01-18 23:18:33 +00:00
Martin Fuchs
9d1c9604b1 ShellView_CreateList(), SIC_Initialize(): enable transparent icons on
the desktop.
2004-01-18 23:17:32 +00:00
Martin Fuchs
87326ba7c3 IStream_fnWrite: only return write count if the given pointer
parameter is not NULL.
2004-01-18 23:17:13 +00:00
Alexandre Julliard
b89525fb06 Removed the bitsPerPixel field in the generic DC structure, and leave
it up to the graphics driver to define it if necessary.
2004-01-18 22:20:17 +00:00
Eric Pouech
210e1abb35 Added support for Unix code page in NTDLL. 2004-01-18 22:11:52 +00:00
Francois Gouget
30acf519b6 Add trailing '\n's to ok() calls. 2004-01-18 22:10:55 +00:00
Marcelo Duarte
b12ecc0e8d Fixed typos. 2004-01-18 22:10:39 +00:00
Martin Fuchs
6e775f898a - declare PT_RAS_FOLDER for the "RAS Connections" folder
- handle PT_RAS_FOLDER and PT_NETPROVIDER in debugging functions and
  _ILGetTextPointer() / _ILGetSTextPointer()
2004-01-18 22:08:46 +00:00
Stefan Leichter
ebdc1f46b7 Added stub for SHRegisterValidateTemplate. 2004-01-18 22:07:57 +00:00
Martin Fuchs
b35c27626f CreateStreamOnFile(): use flag FILE_SHARE_READ for opening OLE stream
files to enable file sharing.
2004-01-18 22:06:35 +00:00
Mike McCormack
de810044a3 Try using the Mozilla Active X control in MSHTML. 2004-01-16 23:27:11 +00:00
Alexandre Julliard
e025c59051 Fixed HCR_GetExecuteCommandW() behavior with a class name (based on a
patch by Martin Fuchs).
Removed a couple of no longer used functions.
2004-01-16 23:06:25 +00:00
Martin Fuchs
e6ab6bdcd7 Corrected definition of PathYetAnotherMakeUniqueName(). 2004-01-16 23:04:41 +00:00
Robert Reif
2ca8753e0e Fix improper WAVEFORMATEX size calculation for non PCM formats. 2004-01-16 23:03:08 +00:00
Francois Gouget
17112eaa4d Assorted spelling fixes. 2004-01-16 21:26:08 +00:00
Kevin Koltzau
e04ff33417 Add INI file processing.
Full implementation of GetThemeDocumentationProperty.
Define string maps for parsing INI files into useable form.
Implemented (undocumented) ApplyTheme to select current theme.
2004-01-16 21:25:25 +00:00
Francois Gouget
1614f91767 Return HFILE_ERROR instead of -1 in _lread. 2004-01-16 21:23:32 +00:00
Huw Davies
49906feb23 Trace the high part of the Seek offset. 2004-01-16 21:22:41 +00:00
Alexandre Julliard
94d5531e6f Check for overlapping memory views and delete the offending view if
necessary, to ensure we never have two views covering the same
address.
2004-01-16 04:52:17 +00:00
Mike Hearn
517248d7bc - Ensure we correctly add a backslash like Windows 98/XP do.
- Generate filenames that look like Windows does (no left digit
  padding).
2004-01-16 04:49:13 +00:00
Filip Navara
c4dd56bc25 - Moved actual code from SHGetSpecialFolderPathA to SHGetFolderPathW,
adjusted and unicodified it.
- Rewrote SHGetFolderPathA to call SHGetFolderPathW.
- Rewrote SHGetSpecialFolderPath[AW] to call SHGetFolderPath[AW].
2004-01-16 04:46:36 +00:00
Filip Navara
23f26c8a1d Complete Czech translation of shell32 resources. 2004-01-16 04:46:05 +00:00
Robert Shearman
65e818272b Partially implement RegOpenUserClassesRoot. 2004-01-16 04:40:33 +00:00
Vincent Béron
14263ab0c4 Move the implementation of GetDefaultCommConfig from A to W.
Get rid of a W->A cross call at the same time.
2004-01-16 02:21:01 +00:00
Vincent Béron
b370abab45 Unicodify some comm functions.
Get rid of some W->A cross calls along the way.
2004-01-16 02:14:50 +00:00
Mike Hearn
f3957f52cd Change URL used in http tests to be a #define so it can be changed
easily in future, and make it point to winehq.
2004-01-16 02:03:16 +00:00
Francois Gouget
83795a7530 The MSVC headers won't give a name to the nameless union of INPUT
despite our request (NONAMELESSUNION). So define our own type and use
it instead.
Remove useless NONAMELESSSTRUCT.
Fix signed/unsigned warning.
2004-01-16 02:02:38 +00:00
Francois Gouget
79495fe5a9 We need to set _WIN32_WINNT to 0x501 to get CS_DROPSHADOW and
ICON_SMALL2.
2004-01-16 02:02:19 +00:00
Francois Gouget
449b92595a MSVC does not want 'extern' variables to be initialized inside
functions.
2004-01-16 02:02:03 +00:00
Vincent Béron
7b11e537b0 Get rid of a W->A cross call in ImageList_LoadImageW. 2004-01-16 02:01:46 +00:00
Vincent Béron
82ceaca3ec Fix compilation with ICU after introduction of gdi_private.h. 2004-01-16 02:01:32 +00:00