Commit Graph

11919 Commits

Author SHA1 Message Date
Robert Shearman 61d862540b DispInvoke is correct so there is no need to print a fixme. 2005-06-01 11:03:05 +00:00
Mike McCormack 9ca5717a2f Clean up headers and make some functions static. 2005-06-01 11:02:48 +00:00
Richard Cohen a4926c1798 - Add static, const.
- Don't change the passed in bitmap header.
2005-06-01 11:02:36 +00:00
Mike McCormack e8b21c3eed - avoid unicode.h
- add a missing function prototype
2005-06-01 11:02:19 +00:00
Jason Edmeades ca52392bf1 Added test case for infinite loops on RDW_REDRAWNOW. 2005-05-31 13:39:24 +00:00
Alexandre Julliard db412aaf60 Added a from_child parameter to the get_update_region request to allow
restarting the search from a given child, in order to avoid looping
forever on windows that don't repaint correctly.
2005-05-31 13:37:16 +00:00
Alexandre Julliard ec3cf77d65 Skip the Unicode signature if present. 2005-05-31 13:29:48 +00:00
Ivan Leo Puoti f0c62a89ea Added IDT emulation. 2005-05-31 13:28:42 +00:00
Detlef Riekenberg d9033a49da Mark links to dir with FILE_ATTRIBUTE_REPARSE_POINT, so modern
applications can use this additional information.
2005-05-31 13:25:38 +00:00
Alexandre Julliard 16885f09a5 Fixed RtlIsTextUnicode prototype, and made it properly take into
account the results of the tests to determine the return value.
2005-05-31 13:24:44 +00:00
Mike McCormack 38de6131f1 Remove some unused code. 2005-05-31 13:20:09 +00:00
Alexandre Julliard c025b018a6 Remove import lib on make clean. 2005-05-31 09:38:10 +00:00
Alexandre Julliard 39c8616e87 Fixed install rule (reported by Vincent Béron). 2005-05-31 09:37:40 +00:00
Stefan Leichter e7425a5b7c Test GetFileVersionInfoSizeA with executables. 2005-05-31 09:33:59 +00:00
Christian Costa 1c196c5923 Merged convert.c, struct_convert.c and helper.c into ddraw_utils.c. 2005-05-31 09:32:44 +00:00
Alexandre Julliard 5bc90f2540 Authors: Evan Deaubl <wine@warpedview.com>, Robert Shearman <rob@codeweavers.com>
- Implement RtlGetControlSecurityDescriptor.
- Fix NtAccessCheck so it works with relative SECURITY_DESCRIPTORs.
2005-05-31 09:32:12 +00:00
Juan Lang 3abb8e63bf - implement Crypt{Get|Set}OIDFunctionValue
- fix bug and memory leak in last patch
2005-05-31 09:31:49 +00:00
Robert Reif a2f1fd3aca Add multiple DIRECTSOUND object support (multiple sound cards can play
at the same time).
Fix CoCreateInstance when no sound card is present.
Fix create bug found by Mike Hearn.
2005-05-31 09:31:37 +00:00
Mike McCormack bdfcb09c57 Some warning fixes for the regression tests. 2005-05-31 09:30:45 +00:00
Mike McCormack 64de949cdd More -Wmissing-declarations and -Wwrite-strings warning fixes. 2005-05-31 09:30:28 +00:00
Mike McCormack b15c264de4 Improve number parsing and avoid unicode.h. 2005-05-31 09:30:01 +00:00
Francois Gouget 883413faf6 On some systems (linux 2.6.8) AFS fails to set d_reclen to 0 or does
not support VFAT_IOCTL_READDIR_BOTH but returns 0 (success) anyway. So
set d_reclen to 65535 (an impossible value) before the ioctl() and
check it afterwards to work around this bug.
2005-05-30 11:33:42 +00:00
Mike McCormack b075f03acb Remove more types from the parser. 2005-05-30 11:32:18 +00:00
Mike McCormack cac6387ca3 Add and correct some function declarations. 2005-05-30 11:12:24 +00:00
Robert Reif 2b7438224f Add support for more than 2 audio channels. 2005-05-30 11:12:07 +00:00
Antoine Chavasse 477ddd8e4d - Implemented the implicit creation of mipmaps for surfaces that have
DDSCAPS_COMPLEX, DDSCAPS_MIPMAP and for which the mipmap count is
  not specified.
- Implemented test cases for mipmap textures creation.
2005-05-30 11:11:34 +00:00
Kouji Sasaki 6b5b0b9195 Added the feature to change row height in owner draw controls. 2005-05-30 11:10:01 +00:00
Kouji Sasaki 108390a3b4 Corrected the determination of capturing inside EDIT_WM_MouseMove
function.
2005-05-30 11:09:33 +00:00
Dmitry Timoshkov 247246ede7 Make more of the OLE interface vtables const. 2005-05-30 10:01:08 +00:00
Francois Gouget 62253b752f Assorted spelling fixes. 2005-05-30 09:56:56 +00:00
Marcus Meissner e2511e195e Added VarMonthName() implementation. 2005-05-29 20:17:30 +00:00
Mike McCormack d1a55eb3f8 Get rid of some redundant parser types. 2005-05-29 20:17:16 +00:00
Mike McCormack b58a098a11 -Wmissing-declarations and -Wwrite-strings warning fixes. 2005-05-29 20:08:12 +00:00
Eric Pouech 98b2e381f6 _findclose() exists on MinGW, so prefix it. 2005-05-29 20:04:40 +00:00
Marcus Meissner 33f4108b69 #undef interface before including alsa headers. 2005-05-29 20:03:05 +00:00
Robert Reif 8a67554a3a Fix a multiple sound card interface bug.
Add better error messages.
2005-05-29 20:02:58 +00:00
Paul Vriens 4129e6e17f Add SymLoadModule64. 2005-05-29 20:02:42 +00:00
Felix Nawothnig 92f9c3f1b9 Pass the right hwnd to ReleaseDC(). 2005-05-29 20:02:32 +00:00
Robert Reif 84e1e9948b Fix volume control. 2005-05-29 20:02:05 +00:00
Kristiaan Lenaerts 605249eb61 gcc 4.0 compile fix. 2005-05-29 20:01:48 +00:00
Dmitry Timoshkov 28dec19921 Fix Estonian keyboard layout to better match the X11 one. 2005-05-29 20:01:17 +00:00
Francois Gouget b6a779a12e Remove unneeded cast. 2005-05-29 20:00:58 +00:00
Michael Stefaniuc 485d140b36 Tests for VarAdd. 2005-05-29 20:00:50 +00:00
Michael Stefaniuc 948dd66603 - Reimplement VarAdd, had missing functionality and wrong behaviour.
- Fix a typo in VarMul.
2005-05-29 20:00:31 +00:00
Dimi Paun 145f9972ed Fix indentation. 2005-05-29 20:00:10 +00:00
Juan Lang f8b2561488 Use registered DLLs for encode/decode. 2005-05-29 19:59:33 +00:00
Dmitry Timoshkov 4625628e67 Make some of the OLE interface vtables const. 2005-05-27 20:17:35 +00:00
Ivan Leo Puoti eeb0a90ec9 Added some privileged instructions emulation. 2005-05-27 19:30:22 +00:00
Dimi Paun b69e7a19d5 Move remaining GDI objects to the large heap. 2005-05-27 19:28:23 +00:00
Richard Cohen 980f1d675e Fix some obsolete comments 2005-05-27 19:26:34 +00:00
Alexandre Julliard f271224f44 Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>
Add format record tests.
2005-05-27 19:25:42 +00:00
Aric Stewart 9cd707da3f Introduce really basic scripting of actions. This is primarily to get
the order of execution of the action correct since some custom actions
can be scripted and others are run during the script building phase.
2005-05-27 19:24:22 +00:00
Aric Stewart aa95731d6f Restrict deformating of nested index keys [[1]].
Introduce the beginning of group deformating {}.
2005-05-27 19:23:29 +00:00
Michael Jung dd5b70b4bd Use the Data Protection API to protect the users private keys. 2005-05-27 19:23:19 +00:00
Michael Jung 2d18c3aad3 It's sufficienct for Crypt[Un]ProtectData to acquire the crypto
context with the CRYPT_VERIFY_CONTEXT flag set.
2005-05-27 19:22:57 +00:00
Maarten Lankhorst 5d16ab67f9 Implemented VfwCapture interface. 2005-05-27 19:22:39 +00:00
Michael Jung bd78de791d Use SystemFunction036 to generate random bytes. 2005-05-27 19:22:22 +00:00
Mike McCormack 018bc9a0cd Test and fix the size of stream fields in a record. 2005-05-27 09:26:13 +00:00
Alexandre Julliard d757bfeeaf Authors: Aric Stewart <aric@codeweavers.com>, Mike McCormack <mike@codeweavers.com>
Implement dialog events and hook up the dialog code.
2005-05-27 09:11:18 +00:00
Mike McCormack de832c92cf Add xmldom guids. 2005-05-27 09:10:21 +00:00
Peter Oberndorfer 5e6f34ac13 Use proper return values in amstream stub functions. 2005-05-27 09:10:05 +00:00
Stefan Dösinger ea18de5f58 *Handle cidl==0 in shfldr_desktop, shfldr_fs and shfldr_mycomp.
*Remove the dwAttributes member from the IGenericSFImpl class, it's
not needed and can't be initialised in Initialize and InitializeEx.
2005-05-26 16:09:12 +00:00
Aric Stewart 3594e45ab6 First pass at writing out CurVer keys for ProgIds. Also print a
message for the actions we skip. Lines up with native MSI output logs
for ease of comparison.
2005-05-26 16:08:58 +00:00
Rein Klazes 254e747b72 Add a stub for ODBCCPlApplet. 2005-05-26 16:08:27 +00:00
Rein Klazes f9f061fb41 Add a stub for IsAdminOverrideActive. 2005-05-26 16:08:13 +00:00
Uwe Bonnes 271a8f99be Call fileio_terminate for FILE_AsyncWriteService. 2005-05-26 16:07:53 +00:00
Alexandre Julliard 6bbd63e87f Don't fetch the window class name if it's not needed to compute the
message name.
2005-05-26 12:26:23 +00:00
Aric Stewart 6f43c18fe7 A big rewrite of the whole RegisterClass, RegisterProgId,
RegisterExtension and RegisterMIME actions. We now handle verbs
properly, handle dependancies and such properly and keep track of what
we need to register and what we do not properly.
2005-05-26 12:24:28 +00:00
Michael Jung 426984ddb4 Use IShellFolder::GetDisplayNameOf instead of SHGetPathFromIDList to
be able to browse shell namespace extensions.
2005-05-26 12:23:57 +00:00
Kouji Sasaki d8c100478e Added the callback item processing for LISTVIEW_EndEditLabelT
function.
2005-05-26 12:23:38 +00:00
Alexandre Julliard 0260e2b543 Moved functions from windows/user.c to more appropriate places, and
get rid of that file.
2005-05-25 18:42:37 +00:00
Alexandre Julliard 03f6f6f7cc Moved a couple of 16-bit functions to dlls/user/user16.c. 2005-05-25 18:08:02 +00:00
Rein Klazes 67747801cd Use the screen resolution to convert from twips (1440 twips is one
inch) to pixels.
2005-05-25 18:01:15 +00:00
Alexandre Julliard 0844afc310 Moved the syscolor functions to dlls/user/sysparams.c. 2005-05-25 17:56:35 +00:00
Aric Stewart 825920a090 Implement the [!file] format to produce the short filename. 2005-05-25 17:49:49 +00:00
Dimi Paun 2a109307c3 Turn a GDI object into a system object via an explicit Wine extension
rather then through magical pokes in memory.
2005-05-25 09:55:55 +00:00
Alexandre Julliard 70bc9f39f1 Removed STANDALONE ifdefs. 2005-05-25 09:54:51 +00:00
Mike McCormack fb3f17ab00 Stub implementation for GetSoftwareUpdateInfo. 2005-05-25 09:54:15 +00:00
Kouji Sasaki 2218c6e479 Corrected the priority of operators for LISTVIEW_GetNextItem
function.
2005-05-25 09:53:46 +00:00
Maarten Lankhorst a64c10fd17 Added YUV routines needed for v4l driver, and in the future possibly
other capture drivers too.
2005-05-24 12:51:01 +00:00
Rein Klazes 8481c8df81 Work around a problem where WriteFile is asked to write memory
protected by DIBSection code.
2005-05-24 12:50:24 +00:00
Hans Leidekker 97d1b11ebd Fix uninitialized warnings. 2005-05-24 12:34:29 +00:00
Robert Shearman 4ad93416a8 Implement NtAccessCheck. 2005-05-24 12:32:18 +00:00
Mike McCormack 3889d950bc Add the missing interface method PromptAction to
IInternetZoneManager.
2005-05-24 12:30:35 +00:00
Phil Krylov 6618b0355c Added detection of platforms which don't have external timezone and
daylight variables, and emulation of these variables.
2005-05-24 11:52:46 +00:00
Kouji Sasaki 31f718b8bf Added handling of WM_ENABLE message. 2005-05-24 11:46:53 +00:00
Michael Jung 3c3495ea51 Add a new CLSID for UnixDosFolder, which is identical to UnixFolder,
but does unix <-> dos path conversion for GetDisplayNameOf and
ParseDisplayName.
2005-05-24 11:45:47 +00:00
Dmitry Timoshkov d5e1804c1b SetParent needs to clear 'managed' flag for former top level window. 2005-05-24 11:44:59 +00:00
Jacek Caban e94f091d3b Added OLEIVERB_UIACTIVATE handling. 2005-05-24 11:44:26 +00:00
Uwe Bonnes 29db8816b2 Handle more Escape situations. 2005-05-24 11:43:35 +00:00
Steven Edwards c2b4bbef4f Split Win16 and Win32 toolhelp functions.
Compile out win87em and 16bit toolhelp functions if 16 bit support is
disabled.
2005-05-24 10:12:06 +00:00
Hannu Valtonen cd80c487f5 Use correct background color for the whole richedit control. 2005-05-24 10:10:54 +00:00
Vitaly Lipatov bd8026ca9d Add BUTTON_NOTIFY_PARENT macro (as in edit.c).
Notify parent about WM_KILL/SETFOCUS events.
2005-05-24 10:10:42 +00:00
Kees Cook 255541a16e Create basic test suite for CryptProtectData/CryptUnprotectData. 2005-05-24 09:58:26 +00:00
Richard Cohen fbb3ba488f Fix off-by-one in menu height calculation (& therefore
AdjustWindowRect) + test.
2005-05-24 09:51:20 +00:00
James Hawkins 40c8f1bc02 Audit the List-View control. 2005-05-24 09:50:23 +00:00
Kevin Koltzau 1c97e56fa9 Use uniformsizing theme property. 2005-05-24 09:49:29 +00:00
Mike McCormack 3244265855 Simplify parsing of the FROM keyword. 2005-05-24 09:49:01 +00:00
Michael Jung 8016f6cc62 More robustly query the SHGDN_FORPARSING flag in the shell32's folders
GetDisplayNameOf methods.
2005-05-23 16:31:42 +00:00
Mike McCormack 4f14044f29 Remove forward declarations. 2005-05-23 16:31:13 +00:00
Aric Stewart bec5549da6 Double terminate SZ_MULTI properly.
ClassInfo and ExtensionInfo are also written for ADVERTISED
components.
2005-05-23 16:24:20 +00:00
Aric Stewart fefad8fcf2 Fix a leaking handle.
Make MsiCollectUserInfo more internally consistent.
Thanks to Mike McCormack.
2005-05-23 16:23:54 +00:00
Mike McCormack b18c262d57 Improve parser error checking. 2005-05-23 16:23:11 +00:00
Uwe Bonnes 3655187fd0 Test cases for URL_UNESCAPE and small fix. 2005-05-23 16:23:02 +00:00
Alexandre Julliard 5c819a9895 Support unloading 16-bit builtin modules, and properly manage the
refcount of the 32-bit owner module.
2005-05-23 12:15:26 +00:00
Kevin Koltzau d9293bfc15 Implement Module32FirstW/NextW. 2005-05-23 12:14:09 +00:00
Mike McCormack 0093007b32 Track memory allocations in the SQL parser. 2005-05-23 12:08:17 +00:00
Uwe Bonnes 7f99aa834f Implemented SystemFunction036. 2005-05-23 12:08:00 +00:00
Alexandre Julliard 70d0439905 Moved the generated code segment for 16-bit builtins inside the module
structure.
Get rid of the BUILTIN16_DESCRIPTOR structure and directly register
the MZ header instead.
2005-05-23 12:07:15 +00:00
Mike McCormack f50e9aadea Simplify parsing of select query. 2005-05-23 11:49:49 +00:00
Lionel Ulmer c53db1934b Rewrite DirectPlayEnumerateA and add W version at the same time. 2005-05-23 11:49:36 +00:00
Michael Stefaniuc d0dbae3b18 Tests for VarMul(). 2005-05-23 11:46:36 +00:00
Michael Stefaniuc 0f64aaa807 Reimplement VarMul(). It can multiply now all variants that the native
(WinXP) function supports too.
2005-05-23 11:46:17 +00:00
Eric Pouech f09a26067f - fixed ReadProcessMemoryProc prototype
- made StackWalk work when dbghelp is run against a non running
  process
2005-05-23 11:43:44 +00:00
Antoine Chavasse 9593c4ea16 Added traces in GetPrivateData and SetPrivateData.
Made SetPrivateData actually store the data from the buffer as well as
its size.
2005-05-23 11:42:40 +00:00
Alexandre Julliard 7016b99972 Moved the loaddll trace into the load_builtin_dll function so that it
gets printed even when we don't get the expected so file.
2005-05-23 10:33:34 +00:00
Uwe Bonnes f9cad774dc Implement minimal _stricoll. 2005-05-23 10:27:58 +00:00
Robert Shearman 8d6a673cf7 - Add error messages on failure in file moniker load function.
- Fix incorrect pointer check in both monikers.
- Fix max size calculation of item moniker to match native.
2005-05-23 10:27:42 +00:00
Robert Shearman 27d73d6115 - Add a useful trace message.
- Fix more places where custom header size was calculated exclusive of
  the data size member.
- Optimize custom marshaling by getting size before calling the custom
  marshaler so we can write the header before and not use a second
  stream.
2005-05-23 10:27:23 +00:00
Mike McCormack 0d1c3a14fc Create the ORDER BY view in a single call. 2005-05-23 10:27:00 +00:00
Richard Cohen 97bc8f6dc7 - Remove unused macro.
- Check for VT_I8 before testing it.
- VarMod returns DISP_E_OVERFLOW not E_INVALIDARG.
2005-05-23 10:26:32 +00:00
Alexandre Julliard aebb745488 Comment out stub WEP entry points so that we can call WEP for builtin
dlls too.
2005-05-23 10:12:26 +00:00
Alexandre Julliard 0ddd30b0b6 Removed unnecessary code in the 16-bit DllEntryPoint function of some
dlls, and also fixed its ordinal in a few places.
2005-05-23 10:00:26 +00:00
Robert Shearman b9ecbb6167 - Marshal objects & monikers into the ROT.
- Test for this behaviour.
2005-05-23 09:54:53 +00:00
Hannu Valtonen 0d64267ef0 - Implement EM_LINESCROLL message handling
- Fix a problem with scrolling over the end of the text in
  WM_WHEELMOUSE.
2005-05-23 09:54:32 +00:00
Mike McCormack 7153c8fa65 - remove the unused utf8 field of an expression
- make the parse result a single assignment at top level of parsing
- abort parsing on a memory allocation failure
2005-05-23 09:53:43 +00:00
Jacek Caban 3be034e9b1 Separated IBinding and IMoniker interfaces. 2005-05-23 09:53:21 +00:00
Daniel Schepler 27792f6f16 Implement CDS_TEST flag in ChangeDisplaySettings. 2005-05-23 09:52:23 +00:00
Kevin Koltzau bb4d6f88bf Implement Hash function on composite moniker. 2005-05-23 09:52:13 +00:00
Mike McCormack cc4ed1322a Use LIST_FOR_EACH_ENTRY in virtual memory code. 2005-05-23 09:51:02 +00:00
Michael Stefaniuc 28faa92c7f Fix VariantChangeType: calls to VarDecFromCy and VarDecFromDisp had
source and destination swapped.
2005-05-23 09:50:50 +00:00
Kees Cook 5eb460953f Correct crypt context init in CryptProtectData/CryptUnprotectData. 2005-05-23 09:50:26 +00:00
Raphael Junqueira 54acd10dfe - fixme when unexpected children found
- no more dwarf2_check_sibling errors (ie perfect parsing count) :)
- dwarf2_parse_inlined_subroutine, dwarf2_parse_variable
2005-05-23 09:50:15 +00:00
Stefan Leichter f23029f647 Update version resource of msi.dll to current version shipped from
windows update.
2005-05-23 09:49:50 +00:00
Juan Lang b721153150 - more fully implement CryptRegisterOIDFunction
- implement CryptUnregisterOIDFunction
- add stubs for CryptEncodeObject(Ex)/CryptDecodeObject(Ex)
2005-05-20 19:37:26 +00:00
Gerald Pfeifer 4135b43387 Avoid compiler warning in parse_mount_entries(). 2005-05-20 19:24:07 +00:00
Kees Cook dc54dd1439 Implement CryptUnprotectData counterpart to CryptProtectData. 2005-05-20 19:23:48 +00:00
Alexandre Julliard 1970e467d4 Generate 16-bit resources in the proper format inside the module data,
and get rid of the special case for builtins in NE_DefResourceHandler.
2005-05-20 19:19:01 +00:00
Juan Lang 806be361d0 Turn handled errors from ERRs to WARNs or TRACEs. 2005-05-20 19:16:50 +00:00
Juan Lang f23e8fec10 Implement NtQueryVolumeInformationFile for type
FileFsDeviceInformation on FreeBSD.
2005-05-20 19:16:37 +00:00
James Hawkins 5e6b43e2a0 Select the item under the point (x,y) in MouseHover. 2005-05-20 19:16:23 +00:00
Kees Cook 146be8071f Implement CryptProtectData with best-guess encryption. 2005-05-20 19:15:55 +00:00
Richard Cohen 25ab9f2c0f Check if VT_R8 and VT_INT_PTR are supported before testing them. 2005-05-20 19:00:02 +00:00
David Hemmo e0883970f8 GDI_ReleaseObj was not called with the right parameter. 2005-05-20 18:59:46 +00:00
Aric Stewart d97e2c3058 We have a stub for MsiGetUserInfoA we should use it. 2005-05-20 18:59:20 +00:00
Aric Stewart 8a6d5e5847 Fix a leaking handle in MsiConfigureProductExW.
Implement MsiGetProductCodeW.
Implement MsiGetUserInfoW.
Implement MsiCollectUserInfoA/W.
2005-05-20 18:59:11 +00:00
Aric Stewart ec4df18833 Write the RegOwner and RegCompany keys as blank if they do not exist
when doing the RegisterUser action.
2005-05-20 18:59:01 +00:00
Michael Jung 82ed0ce999 Consider only the GIL_FORSHORTCUT flag in SIC_CompareEntries. 2005-05-20 18:58:35 +00:00
Richard Cohen 0089d517cf Fix gdiobj test on NT4, remove asserts. 2005-05-20 18:58:19 +00:00
Francois Gouget c887d0809c Add 'use strict' and fix make_opengl accordingly.
Add function prototypes.
Write "$a $b" rather than the more complex $a . " " . $b.
Document which OpenGL spec files need to be downloaded.
Update the documentation of the list of supported OpenGL versions.
Tweak the usage so it always reports the right command name.
2005-05-20 18:58:10 +00:00
Kees Cook 0371d86cc1 Implement serialization and helper functions for CryptProtectData. 2005-05-20 18:57:31 +00:00
Raphael Junqueira 79804db4e2 - better traces
- handle inclusion "levels"
- better parsing of subprogram, typedef, pointer, ... entries
- arrays, enums, const_type, reference_type parsing
- checks parsing cursors errors (when sibling value available)
- more utilities functions (dwarf2_parse_attr_as_data)
2005-05-20 09:41:10 +00:00
Ivan Leo Puoti 2964d8bc52 Rename SystemDriverInformation to SystemModuleInformation. 2005-05-20 09:40:59 +00:00
Aric Stewart 98e3808261 Fix quoting on queries.
Respect '+' and '*' in WriteRegistryValues to only create the key if
it does not already exist. Prevents overwriting values with NULL.
2005-05-20 09:40:42 +00:00
Aric Stewart 16b667ab01 Quoting fixes. 2005-05-20 09:40:14 +00:00
Aric Stewart 721c11a52a Correct query quoting based on Mike's patch.
Also more error messages about return codes from custom actions and
ignore an error that we should be ignoring.
2005-05-20 09:40:02 +00:00
Alexandre Julliard a46003c436 Revert previous patch, we still need the winedos import lib for now. 2005-05-19 21:18:53 +00:00
Alexandre Julliard 8aa102baef We no longer need a winedos import library. 2005-05-19 14:25:34 +00:00
Robert Shearman 34d3049360 - Add a generic moniker marshaler that works by saving & loading
monikers to & from the stream.
- Use the generic moniker marshal in the file & item monikers and add
  a class factory for each.
2005-05-19 14:22:14 +00:00
Dimi Paun 5631d063f4 Do not compute the hit test if we don't really need it. 2005-05-19 14:21:55 +00:00
Juan Lang 6560c48ecc Implement _XcptFilter using signal handlers, and add a couple traces. 2005-05-19 14:21:21 +00:00
Alexandre Julliard 84259840eb Refuse to load if 16-bit support is missing. 2005-05-19 14:21:02 +00:00
Alexandre Julliard 3d5c3609c7 Renamed __wine_(un)register_dll_16 to __wine_dll_(un)register_16 for
consistency with the 32-bit version, and also make the register
function use the same prototype as the 32-bit one.
2005-05-19 12:44:31 +00:00
Alexandre Julliard 8eb1630ce1 Use a memory mapping instead of file I/O to load 16-bit modules. 2005-05-19 12:05:28 +00:00
Robert Shearman a890293f33 - Change remaining blocks of code with 2-space indentation to 4-space
indentation.
- Make vtables const.
- Remove an unnecessary memcpy and let the compiler do the work.
2005-05-19 12:04:58 +00:00
Robert Shearman 447ab61288 Write custom header up to and including size, not excluding. 2005-05-19 11:15:50 +00:00
Mike McCormack d31f12964b Only tables can be backquoted, strings must be single quoted. 2005-05-19 11:15:37 +00:00
Juan Lang 88adb53bf0 Don't fail in RegisterFonts if the Fonts table is missing. 2005-05-19 11:15:24 +00:00
Raphael Junqueira 34955b9578 - basic parsing of subprogram, typedef, pointer, class, struct, enum
entries
- indirect strings support
- utilities functions (parse_byte, parse_u2, ...)
2005-05-19 11:14:39 +00:00
Dimi Paun e035e01b11 Rename back local_compact to LOCAL_Compact for consistency.
Get rid of no longer used local.h.
2005-05-19 11:13:36 +00:00
Dimi Paun 8ad6c25539 Remove LOCAL_*() calls from USER, use Local*16() instead. 2005-05-19 11:12:57 +00:00
Juan Lang f935b51423 Implement get_default_drive_device for FreeBSD. 2005-05-19 11:12:27 +00:00
Alexandre Julliard e18ca98857 Removed last dependencies on 16-bit headers from ntdll. 2005-05-18 18:37:30 +00:00
Robert Shearman 10ee7b36e8 Implement IROTData::GetComparisonData for file & item monikers. 2005-05-18 18:28:15 +00:00
Alexandre Julliard b3e0a032ce Moved entry point definitions from module.h to kernel16_private.h. 2005-05-18 18:27:54 +00:00
Maarten Lankhorst db3be15567 Add vfwindex when enumerating devices, and make sure every device has
a unique registry key, so multiple devices with same name are allowed.
2005-05-18 18:25:12 +00:00
Alexandre Julliard 67204137ee Generate the 16-bit module header in the standard on-disk format, so
that winebuild doesn't need to know about kernel internal structures.
2005-05-18 18:21:59 +00:00
Maarten Lankhorst 66b019c1a8 Pass property bag to IPersistPropertyBag, if supported. 2005-05-18 18:20:39 +00:00
Emmanuel Maillard 64c077860e Added Darwin 8.0 specific headers. 2005-05-18 18:20:23 +00:00
Alexandre Julliard f624b48f48 Split the module building functionality of NE_LoadExeHeader into
separate functions.
2005-05-18 17:48:28 +00:00
Aric Stewart d5bfaf7897 A few small fixes. 2005-05-18 17:46:38 +00:00
Aric Stewart c5a1443fd9 We cannot internally load the files in FileCost because that action
may be skipped or not called. So do it in CostInitialize.
Quote the file path in SelfRegModules.
Do not write squished null guids to the feature registration.
2005-05-18 17:46:12 +00:00
Maarten Lankhorst 32e93f3074 Fixed SetFilterGraph failure.
Added debug info.
Added ObjectRefCount info for DllCanUnloadNow.
2005-05-18 17:45:35 +00:00
Alexandre Julliard 90dd7f0603 Removed implementation of LoadDIBIconHandler16 and
LoadDIBCursorHandler16 since they are no longer used, and stop
exporting NE_DefResourceHandler.
2005-05-18 15:37:41 +00:00
Maarten Lankhorst 2c9cb01379 Add pin functions from quartz. 2005-05-18 15:34:04 +00:00
Kees Cook 919d53f22d Define structures for CryptProtectData/CryptUnprotectData calls. 2005-05-18 15:33:50 +00:00
Pierre d'Herbemont 342da59b0c Remove stdlib.h inclusion if winsock.h is included. 2005-05-18 15:33:20 +00:00
Maarten Lankhorst 30d5120a35 DllCanUnloadNow fix.
Fixed ObjRefCount for EnumPins.
2005-05-18 15:31:24 +00:00
James Hawkins b96eb4d3b0 - Store the click point in LISTVIEW_INFO.
- Move mouse tracking to MouseMove.
- Use DragDetect instead of TrackMouse.
- Remove the unused TrackMouse function.
2005-05-18 15:30:48 +00:00
Alexandre Julliard 8ee01679dc Fixed a couple of warnings. 2005-05-18 13:27:24 +00:00
Maarten Lankhorst 05d658d012 Added reconnect function for filtergraph. 2005-05-18 13:25:49 +00:00
Maarten Lankhorst 0caae47658 Fixed freeing of mediatype. 2005-05-18 13:25:20 +00:00
Aric Stewart 98d9cec74c Correctly use short filenames from uncompressed file sources. Also
default feature and component install states to ABSENT instead of
UNKNOWN.
2005-05-18 13:23:52 +00:00
Alexandre Julliard 964b7fb14d Changed SNOOP16_RegisterDLL to take a module handle instead of
pointer. Moved snoop function prototypes to kernel16_private.h.
2005-05-18 09:58:43 +00:00
Alexandre Julliard 4de9cfd1cd Moved import tracing to a separate channel so that +module traces
don't contain too much noise.
2005-05-18 09:51:46 +00:00
Dimi Paun ca30176cd7 Remove the LOCAL_*() functions from GDI. 2005-05-18 09:50:43 +00:00
Dimi Paun 0c4be325b1 Remove the LOCAL_*() function calls from KERNEL. 2005-05-18 09:48:32 +00:00
Felix Nawothnig 43201e072b Resize listview column to autofit on a doubleclick on the
header-divider.
2005-05-18 09:47:30 +00:00
Raphael Junqueira 86cdb432c5 - add some Dwarf2 enums
- abbrev entries parser (with attributes)
- debug info parser skeleton (see big tag swith in dwarf2_parse).
2005-05-18 09:46:12 +00:00
Dimi Paun 366b753a50 Use the more idiomatic form of iterating through the list. 2005-05-18 09:45:53 +00:00
Dimi Paun 88fe1ff962 Make the argument comments out-of-line. 2005-05-18 09:45:12 +00:00
Aric Stewart 8a6a9a6659 Some error messages and strcmp changes suggested by Dmitry. 2005-05-18 09:44:38 +00:00
Pierre d'Herbemont 49b1d335d9 Big Endian specific code fixes in order to conform with
NONAMELESSSTRUCT.
2005-05-18 09:44:13 +00:00
Kouji Sasaki c1f2824429 Added the processing for determination of SFGAO_HASSUBFOLDER flag in
SHELL32_GetItemAttribute function.
2005-05-18 09:43:39 +00:00
Raphael Junqueira 92000a91da Fix open_pdb_file (used for locate/open pdbs):
- pdb_match heuristic now only stop when "first file" exists
- SymFindFileInPath now fill output buffer with a valid value on
  success.
2005-05-18 09:42:17 +00:00
Robert Shearman 54160222a0 Rename MODULENAME_Dll* functions to Dll* for better consistency and
type checking.
2005-05-17 14:41:37 +00:00
Alexandre Julliard 4417574d2c Renamed some fields in NE_MODULE to use the same name as in the
exported IMAGE_OS2_HEADER structure.
2005-05-17 14:36:09 +00:00
Dimi Paun 03776ec91a Use standard TRACE macro. 2005-05-17 14:33:55 +00:00
Raphael Junqueira 83f001b6c7 Beginning of dbghelp dwarf2 support:
- add elf_module entry for dwarf2_parse
- stubbed dwarf2_parse in new dwarf.c file
2005-05-17 14:32:55 +00:00
Dimi Paun 402aaa8edb Use standard Local*16() functions instead of LOCAL_*() ones. 2005-05-17 14:32:02 +00:00
Maarten Lankhorst c9b84bdf6c Added EnumPins from quartz for internal use. 2005-05-17 14:31:35 +00:00
Alexandre Julliard e8a23c9572 Use the exported IMAGE_OS2_HEADER to generate the module header in the
spec file, and moved the NE_MODULE structure definition to
kernel16_private.h.
2005-05-17 10:21:29 +00:00
James Hawkins 1aa7afeed9 Fixed centering of tab text. 2005-05-17 10:19:37 +00:00
Maarten Lankhorst 6abcab7283 Fixed initialisation crash on loading qcap dll. 2005-05-17 10:19:16 +00:00
Juan Lang b45e31608b Obvious fixes to PropVariantClear and PropVariantCopy for vector
types.
2005-05-17 10:18:59 +00:00
Maarten Lankhorst 012b4538b6 Fixed qcap's inherited enummedia bugs. 2005-05-17 10:18:37 +00:00
Juan Lang ff87ad7ab1 Add a comment, and a no-op cleanup. 2005-05-16 21:37:54 +00:00
Aric Stewart 6186b2beaf Correct a problem with parse_data if binary data was not in full bytes.
More properly handle uncompressed file sources, fix the creating and
parsing of Source Directories.
2005-05-16 21:37:35 +00:00
Alexandre Julliard 4776085c9c Moved a bunch of definitions out of module.h into a new
kernel16_private.h header.
2005-05-16 19:44:54 +00:00
Mike McCormack b5c63ed491 Initial mostly stub implementation of ODBC control panel. 2005-05-16 19:42:47 +00:00
Juan Lang e140d02a2b Differentiate between version 0 and version 1 property storages. 2005-05-16 17:52:36 +00:00
Alexandre Julliard e4412a618c Removed the special casing of kernel32 and ntdll for the TEB
definition in winternl.h.
2005-05-16 17:52:10 +00:00
Alexandre Julliard 19bfcd3533 Moved the remaining stack frame definitions to kernel_private.h and
removed stackframe.h.
2005-05-16 14:45:18 +00:00
Alexandre Julliard 827a69f8ca Avoid referencing stackframe.h from outside kernel32. 2005-05-16 14:20:16 +00:00
Marcus Meissner f3d99b2697 Move the Dll init function to compobj.c to avoid having global
variables. Remove need of ole32_main.h.
2005-05-16 14:12:53 +00:00
Robert Shearman efbea2e2bc Implement RegNotifyChangeKeyValue on top of NtNotifyChangeKey. 2005-05-16 14:08:11 +00:00
Dimi Paun bac5f4603d Use the standard Local*16() instead of LOCAL_*() functions. 2005-05-16 14:07:52 +00:00
Robert Reif 2d9e2a3300 Effect objects are not supported yet so don't crash when trying to
enumerate them.
2005-05-16 14:07:36 +00:00
Alexandre Julliard 95086f45a4 Moved data structures for 16-bit relay calls to winbase16.h and
removed builtin16.h.
2005-05-16 09:19:18 +00:00
Kees Cook 0cdc0479b8 Avoid segfault in hash update with corrupted decrypt data. 2005-05-16 09:15:24 +00:00
Michael Stefaniuc 3cf8d37067 Change an assert to a WARN. 2005-05-16 09:14:50 +00:00
Felix Nawothnig d17e2073be Keep width for cosmetic pens, don't use LPtoDP() for widths and
convert the dashes for PS_USERSTYLE pens into device units.
2005-05-16 09:13:28 +00:00
Vincent Béron 4440a7278f Provide minimal API documentation in advapi/eventlog.c to silence some
winapi_check output.
Move around functions in riched20, richedit and rpcrt4 to achieve the
same goal.
2005-05-16 08:51:19 +00:00
Kees Cook ea2fabca84 Avoid segfault when detecting decryption buffer size. 2005-05-16 08:50:45 +00:00
Uwe Bonnes dc920056b1 Correct return value of fsetpos. 2005-05-16 08:50:28 +00:00
Ivan Leo Puoti 6be20a7c96 Minor fix in SetupQueueCopySectionW. 2005-05-16 08:49:51 +00:00
Dimi Paun 5eae73de10 Avoid using some LOCAL_*() functions. 2005-05-16 08:49:39 +00:00
Hans Leidekker 56058ddb15 Silence some unknown stab type messages. 2005-05-16 08:47:55 +00:00
Marcus Meissner fc61f6c553 Make _xmalloc16() static. 2005-05-16 08:47:40 +00:00
Marcus Meissner 81e2677939 Staticify FTMarshalImpl definition. 2005-05-16 08:47:26 +00:00
Marcus Meissner 45bc1c21a1 Make HGLOBALStream_* functions static. 2005-05-16 08:47:14 +00:00
Vincent Béron a01bd27aa1 Correct arg count for 3 functions in ntdll.spec and unicows.spec. 2005-05-16 08:45:46 +00:00
Michael Stefaniuc d5e8a65f96 Add some SystemParametersInfo SPI_* defines. 2005-05-16 08:45:15 +00:00
Robert Reif 6dd763e03b Pass around real version and do correct thing based on it.
Change cooperative level to pass on windows.
2005-05-16 08:44:14 +00:00
Juan Lang 5d90f2bcf9 Store property names in the code page of the property set. 2005-05-16 08:43:35 +00:00
Jeff Latimer 72f73ac452 Implement the IEnumMoniker interface for the ROT and provide tests to
exercise the interface.
2005-05-14 18:50:14 +00:00
Felix Nawothnig 7364f0a79c Convert pen width to DP in StrokePath(). 2005-05-14 18:49:52 +00:00
Mike McCormack 66cee15084 Set thread priorities to time critical. 2005-05-14 18:49:40 +00:00
Paul Vriens 4cc3b97ec1 Check for a NULL pointer in GetWindowTextA/W. 2005-05-14 18:49:19 +00:00
Robert Lunnon bfec8c229d Implement get_default_drive_device for Solaris. 2005-05-14 18:48:18 +00:00
Dimi Paun e510a29159 Make LOCAL_*() just wrappers around Local*16() functions. 2005-05-14 12:18:15 +00:00
Alexandre Julliard d876893fc1 Store the 16-bit stack pointer in the WOW32Reserved TEB field. 2005-05-14 12:16:46 +00:00
Alexandre Julliard 110c8dc54a Fixed a number of atom test failures. 2005-05-14 11:11:21 +00:00
Alexandre Julliard 7e4af0f60b Store the winsock per-thread data in NtCurrentTeb()->WinSockData
instead of using TlsAlloc.
2005-05-14 11:09:21 +00:00
Felix Nawothnig 73eee2137c Draw each figure as a single primitive in StrokePath(). 2005-05-14 11:07:24 +00:00
Juan Lang 7bf1ee877d - move _timezone to time.c, and correct its type
- implement _tzset, and initialize _daylight, _timezone, and _tzname
  from libc values
2005-05-14 11:07:10 +00:00
Juan Lang f12eadf7bf - only log unsupported flags in ShellExecute
- environment variables are expanded, so SEE_MASK_DOENVSUBST is
  supported
2005-05-14 11:06:54 +00:00
Juan Lang 2507264e05 - maintain proper byte order
- maintain PROPSETFLAG_ANSI flag based on codepage
- update comments
2005-05-14 11:06:44 +00:00
Gerold Jens Wucherpfennig 2ed3c40758 Initial FCI work (FCICreate and FCIDestroy). 2005-05-14 11:06:10 +00:00
Rolf Kalbermatter 19312f3094 Add IEnumMediaType object for use by other class objects. This is
taken from quartz with only minor adaptions.
2005-05-14 11:03:44 +00:00
Felix Nawothnig e9e6f13996 Rewrote item layouting - new code fixes bitmap/image position for
non-left-aligned text, prevents jumping when resizing non-left-aligned
text, implements clipping for images and correctly aligns bitmaps when
an image is already there.
2005-05-14 11:03:17 +00:00
Alexandre Julliard d0b6308642 Don't convert the template name to Unicode, it's not used by the
dialog anyway. Clear the window property on WM_DESTROY.
2005-05-13 17:50:26 +00:00
Ge van Geldorp 40cb98269b Overlay icons for .lnk files with a small arrow in the lower left
corner.
2005-05-13 17:48:33 +00:00
Mike McCormack a22c767eb0 Remove function prototypes. 2005-05-13 17:45:50 +00:00
Krzysztof Foltman ed8485983f Added stubs for a couple of missing 2.0 and 3.0 messages. 2005-05-13 17:45:43 +00:00
Juan Lang bc0f448774 Begin stubs of built-in schannel provider. 2005-05-13 17:44:47 +00:00
Juan Lang e5b4a6973a Implement signals. 2005-05-13 17:44:28 +00:00
Hans Leidekker 6b7676a1e8 Don't import from ntdll. 2005-05-13 17:42:49 +00:00
Alexandre Julliard 7bb88af5a2 Process the pending expose events on RDW_UPDATENOW before doing the
redraw_window server call so that the parent windows get properly
validated if necessary.
2005-05-13 14:03:06 +00:00
Mike McCormack 3e2cb75349 Remove some unused include files. 2005-05-13 13:59:15 +00:00
Alexandre Julliard 89faddae8e Added yet another missing OpenGL define. 2005-05-13 13:59:00 +00:00
Mike McCormack e3b43fa458 Make sure a stream can't be created in read only storage. 2005-05-13 13:58:43 +00:00
Dmitry Timoshkov 3f5990eb9a Avoid a crash in free_window_handle() on an invalid window handle. 2005-05-13 13:58:17 +00:00
Alexandre Julliard 71ff4c4f4e Build import libraries also when only doing an install-lib. 2005-05-13 13:57:55 +00:00
Robert Reif 0f60464b95 Fix SetProperty error returned.
Add EnumDevice joystick version check.
Test multiple versions.
2005-05-13 13:57:17 +00:00
Mike Hearn 5037202554 Make unimplemented function message a bit prettier. 2005-05-13 13:56:47 +00:00
Aric Stewart b39d8fc2a6 - ExecuteAction runs the whole Execute table and not just from
InstallValidate onward.  To do this make sure we do not do the
  costing initialization work again if it is already done (by checking
  the CostingComplete Property).
- A lot of work to refine feature states, setting the state affects
  the state of all child features and also respect features that want
  to default to something other than LOCAL.
2005-05-13 13:56:39 +00:00
Paul Vriens f9cdab4dff Added (stubbed) SystemDriverInformation and
SystemInterruptInformation.
2005-05-13 13:55:51 +00:00
Robert Shearman b5eacf9a8d - Fix RpcServerListen so that it doesn't return
RPC_S_ALREADY_LISTENING when the only interfaces it is listening on
  are auto listens.
- Only synchronize with server thread when necessary and move this
  into RpcMgmtWaitServerListen.
2005-05-13 13:55:24 +00:00
Michael Jung a858a5a76c Replace '\\' by '/' in strings passed to ParseDisplayName to be able
to handle DOS-style relative paths.
2005-05-13 13:55:03 +00:00
Mike McCormack 912ffd6a0f Remove unnecessary declarations and make functions static. 2005-05-12 09:57:21 +00:00
Aric Stewart 8a0f989891 Handle WM_NCCALCSIZE in the tab control. 2005-05-12 09:57:10 +00:00
Mike McCormack 1ae212a105 Split SHGetFileInfoW into two functions. 2005-05-12 09:56:48 +00:00
Dmitry Timoshkov ac5b025103 Do not pass an invalid target buffer info to WideCharToMultiByte. 2005-05-12 09:56:35 +00:00
Mike Hearn 30428b5a35 Fix return code abuse. 2005-05-12 09:56:17 +00:00
Michael Lin 9bd101d012 - Implement IPersistFolder2.
- Retrieve the correct attributes in ParseDisplayName().
2005-05-12 09:56:04 +00:00
Raphael Junqueira 1291a1a250 - better robustness of pbuffer code (checks, SetLastError as specs, etc...).
- better heuristic for WGL_render_texture and first try of
  WGL_render_texture "emulation" using Pbuffers (deactivated by
  default)
- more traces
2005-05-12 09:55:44 +00:00
894c1364d4 Flush output buffers from _close() rather than MSVCRT_fclose(). 2005-05-12 09:55:02 +00:00
Gabriel Gambetta fd62fcf0ef Added UYT to TZ_INFO. 2005-05-12 09:54:39 +00:00
Alexandre Julliard 9e73cdde39 Allow passing a string to the window property server requests instead
of an atom to avoid redundant server round-trips.
2005-05-11 19:01:10 +00:00
Robert Shearman 5ef4748c7c Use I_RpcGetBuffer instead of HeapReAlloc for getting the Buffer
memory.
2005-05-11 15:56:59 +00:00
Mike McCormack 2c6c67f4ea Make functions static and remove unnecessary declarations. 2005-05-11 15:56:45 +00:00
Ivan Leo Puoti 327b1632e5 Fix crash in ME_GetRunSizeCommon(). Turn a FIXME into a TRACE. 2005-05-11 15:56:34 +00:00
Eric Pouech b168f478be Some tests for NTDLL atom support (by György 'Nog' Jeney). 2005-05-11 15:56:09 +00:00
Eric Pouech 26c9b074c7 Implemented NTDLL atom support. 2005-05-11 15:55:49 +00:00
Alexandre Julliard 63342353bc Store a bitmap of active hooks on the client side to try to avoid
server calls for hooks that are not set.
2005-05-11 13:03:15 +00:00
Aric Stewart ea6ecf44ff Add a stub implementation of RegisterTraceGuids. 2005-05-11 13:00:18 +00:00
Mike McCormack bd07966c8f Avoid some non-standard str functions. 2005-05-11 12:58:22 +00:00
Mike McCormack 8bcdf42710 Stub implementation for GetGeoInfo. 2005-05-11 12:57:50 +00:00
Mike McCormack 3c5790646f Add a stub implementation of CoIsHandlerConnected. 2005-05-11 12:57:16 +00:00