Commit graph

11718 commits

Author SHA1 Message Date
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
Mike McCormack
ee49c8e60d Correct the function name in a comment. 2005-05-11 12:57:02 +00:00
Robert Reif
8bffed50c6 Added dinput tests. 2005-05-11 12:05:17 +00:00
Mike McCormack
e6d4bcd7ae Check that GetObject is successful. 2005-05-11 12:02:16 +00:00
Mike McCormack
fb7dbb627e ZwQueryTimer should forward to NtQueryTimer. 2005-05-11 12:02:06 +00:00
Mike McCormack
9d293981b4 Add Module32FirstW and Module32NextW exports. 2005-05-11 12:01:40 +00:00
Dimi Paun
4f197f0f3d Make it more explicit how we deal with WS_DISABLED. 2005-05-11 12:01:27 +00:00
Stefan Leichter
f483ca611e Added minimal implementation of MsiCreateAndVerifyInstallerDirectory. 2005-05-11 12:01:12 +00:00
6cfcda9959 Add test for correctly interpreting %% printf format string conversion
specifier.
2005-05-11 12:00:34 +00:00
Eric Pouech
6246c2d4c4 Get rid of include/miscemu.h. 2005-05-10 16:01:38 +00:00
Mike McCormack
c1f2cf1fba - make sure to free the string table when closing the database
- don't free szPersist in MsiOpenDatabase if it's not a string
2005-05-10 16:00:19 +00:00
Mike McCormack
809cf354e4 Fix a memory leak in the ole storage implementation. 2005-05-10 15:59:59 +00:00
Eric Pouech
16df50efbe Moved DOS memory handling to winedos. 2005-05-10 15:22:09 +00:00
Eric Pouech
e6267369b2 - changed ATOM support in wineserver to match NTDLL needs
- adapted accordingly kernel32 atom support
2005-05-10 15:15:50 +00:00
Alexandre Julliard
15ac6847e0 Build and load import libraries directly from the dll directory where
possible, and only create symlinks for directories that don't have the
correct name.
2005-05-10 13:21:04 +00:00
Rein Klazes
1c5671df07 Multi column popup menus have 4 pixel space between the columns. With
conformance test.
2005-05-10 13:17:33 +00:00
Robert Reif
2095f66d44 Fix joystick crash when a button guid is specified in the data
format.
Add some parameter checking.
2005-05-10 13:17:03 +00:00
Paul Vriens
7464134919 Added SystemHandleInformation tests.
Removed HeapAlloc in test_basic.
Renamed test_basic to test_query_basic.
2005-05-10 13:16:36 +00:00
Paul Vriens
d5f92eb50c Added (stubbed) SystemHandleInformation.
Sorted the list.
2005-05-10 13:15:58 +00:00
Raphael Junqueira
0d8cf03809 Fix allocated buffer size to avoid buffer overflow. 2005-05-10 13:15:12 +00:00
Juan Lang
2439b5fdda Fixes to IShellFolder::GetAttributesOf implementations, spotted by
silverblade_:
- a count of zero is allowed to GetAttributesOf if apidl is NULL
- SFGAO_VALIDATE must be cleared upon return
2005-05-10 08:28:11 +00:00
f438056b5d Interpret %% correctly in printf format string. 2005-05-10 08:27:38 +00:00
Mike Hearn
25abe7c537 Fix SHELL_GetPathFromIDList[AW] to return the desktop path given an
empty PIDL.
2005-05-10 08:27:23 +00:00
Juan Lang
ac0ba1a241 Partially implement AppSearch for RegLocator-type searches. 2005-05-10 08:27:00 +00:00
Raphael Junqueira
075f8cfe8f Fix X11DRV_ChoosePixelFormat to choose 24 bpp as 32 bpp for depth
buffers (needed as many X11 drivers only support 24bpp).
2005-05-10 08:26:08 +00:00
Juan Lang
5e1b41854c Added Irish Summer Time. 2005-05-10 08:25:30 +00:00
Aric Stewart
fa468e64d5 Fix a few leaking object handles. 2005-05-09 19:33:50 +00:00
Michael Jung
9f50a88ff1 Detect drive letters, which have to have a backslash appended, in a
more robust way.
2005-05-09 19:33:24 +00:00
Michael Jung
ea3793b79d Support folder relative paths in UnixFolders' ParseDisplayName
method.
2005-05-09 19:33:01 +00:00
Daniel Lund
a87d8a3db9 Added D3DDEVCAPS_HWRASTERIZATION to the DevCaps for scene
rasterization. Allows GuildWars to start.
2005-05-09 19:32:49 +00:00
Andreas Mohr
51198f8eb6 Fix for CommConfigDialog*() hwnd argument. 2005-05-09 19:32:33 +00:00
Aric Cyr
d7d1101d31 Fix WGL_ACCELERATION_ARB queries from applications. 2005-05-09 19:31:33 +00:00
Eric Pouech
0198255ba9 Some fixes on async shutdown. 2005-05-09 19:31:19 +00:00
Francois Gouget
5f0031eb3b Define GLX_SAMPLE_BUFFERS_ARB and GLX_SAMPLES_ARB if they were not
defined by the OpenGL headers.
2005-05-09 19:30:53 +00:00
Alexandre Julliard
34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Juan Lang
4d1562495d Correct/improve error checking in IPropertyStorage. 2005-05-09 09:26:43 +00:00
Michael Jung
3a117bccd8 Always pass fully qualified paths to stat system call. 2005-05-09 09:26:02 +00:00
Huw Davies
da13552c55 It makes no sense to have a left pointing arrow as the desktop icon.
Replace it with something more appropiate.
2005-05-09 09:25:28 +00:00
Lionel Ulmer
233b5f5b80 - Windows reports 0x80 on pressed buttons not 0xFF
- trace the events reported to the application
2005-05-09 09:24:34 +00:00
Felix Nawothnig
4899a50056 Implemented WM_ENABLE. 2005-05-09 09:24:05 +00:00
Robert Reif
70fe39e42c Remove dead code and redundant variables from DSOUND_CalcPlayPosition
and callers.
2005-05-09 09:23:54 +00:00
William Poetra Yoga H
a83c19f48c Support building man pages outside of the source directory. 2005-05-07 18:39:05 +00:00
Alexandre Julliard
2c7a248055 Converted all the kernel32 register functions to the
DEFINE_REGS_ENTRYPOINT mechanism.
2005-05-07 18:25:51 +00:00
Rolf Kalbermatter
84e00d4804 Implement ICaptureGraphBuilder and IcaptureGraphBuilder2 based on
Maarten Lankhorst's patch.
2005-05-07 18:18:39 +00:00
Alexandre Julliard
26050b49d5 Prefix the internal name of all register functions with __regs_ for
better consistency and to make automated checking possible.
2005-05-07 18:10:30 +00:00
Rolf Kalbermatter
836b7df693 Implement DLL registering and unregistering functions, class factory
and server locking based on how it is done with DirectX samples.
2005-05-07 18:00:33 +00:00
Rein Klazes
ce8c9426eb Don't set the pen width to 1 in X11DRV_PolyLine. 2005-05-07 17:54:51 +00:00
Alexandre Julliard
90af05f060 Treat 0xffff the same as 0 for the handle generation field to avoid
sign extension problems.
2005-05-07 15:03:00 +00:00
Francois Gouget
ee7f5eb9a3 Add the 'Western European Summer Time' (WEST) timezone (reported by
José Melo).
2005-05-07 14:50:56 +00:00
Robert Lunnon
f4949b8d80 Make references to NAME_MAX refer to PATH_MAX instead. 2005-05-07 14:50:00 +00:00
Alexandre Julliard
d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Robert Lunnon
16a37e1eaf Avoid passing NULL buffer elements and status pointers to
XmbLookupString.
2005-05-07 12:18:24 +00:00
Robert Lunnon
cd40a31073 Added a conditionally compiled definition of INADDR_NONE for platforms
that don't define it.
2005-05-07 12:18:10 +00:00
Lionel Ulmer
ba9ce8c7d6 '0' means 'default refresh rate' and not a real refresh rate of '0'. 2005-05-07 12:17:45 +00:00
Robert Lunnon
dc1ceb95cb Fix segmentation fault caused by incorrect referencing of client audio
format specifications array.
2005-05-07 12:17:28 +00:00
Michael Jung
fc40dcf985 Make the root of the shell extension map to the root of the unix
filesystem.
2005-05-07 12:17:02 +00:00
Robert Lunnon
9e40b70d90 Implement NtQueryVolumeInformation for Solaris. 2005-05-07 12:16:21 +00:00
Aric Stewart
2494e4a52a Add a missing msiobj_release that was resulting in a leaked object
with each MsiCreateRecord call.
2005-05-07 12:13:08 +00:00
Aric Stewart
41fbee0e83 Correct a missing MsiCloseHandle(). 2005-05-07 12:12:56 +00:00
Maarten Lankhorst
4c9f5f6456 Fixed two small memory leaks. 2005-05-07 12:12:29 +00:00
Stefan Leichter
cabe752d1d Make ole32 tests loadable on NT4. 2005-05-07 12:09:58 +00:00
Alexandre Julliard
b3e9c44741 Renamed wineps.dll to wineps.drv for consistency. 2005-05-06 20:04:27 +00:00
Alexandre Julliard
0bb4bddff4 Store the module instance we get in DllMain to avoid extra LoadLibrary
calls.
2005-05-06 20:02:36 +00:00
Alexandre Julliard
c3116c5e61 Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively
to follow the namespace conventions and make it clear that they are
drivers and not dlls.
Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
2005-05-06 19:38:50 +00:00
Robert Reif
6ec5b351bb Move initialization to IDirectSound_Initialize.
Fix error paths to handle a failed IDirectSound_Initialize.
Add tests for IDirectSound_Initialize.
2005-05-06 19:33:32 +00:00
Michael Jung
15934680f7 Return a cloned PIDL by SHBrowseForFolder to avoid heap corruption. 2005-05-06 19:33:06 +00:00
Michael Jung
94e5f01275 Display a drive icon for the unix root directory. 2005-05-06 19:32:54 +00:00
Robert Reif
723a67d1f8 Change FIXME to WARN. 2005-05-06 19:32:36 +00:00
Francois Gouget
821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Alexandre Julliard
2dabac08ee Added support in winebuild for specifying import libraries directly on
the command line without the -l option.
Changed the -d option to only mark the library as delayed, the actual
loading is now done separately.
2005-05-06 15:54:41 +00:00
Francois Gouget
f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Alexandre Julliard
3629cc4ed6 Eric Kohl <eric.kohl_at_t-online.de>
Implement CaptureAndConvertAnsiArg, CaptureStringArg,
OpenAndMapForRead, RetreiveFileSecurity, StampFileSecurity,
TakeOwnershipOfFile, and UnmapAndCloseFile.
2005-05-06 15:38:22 +00:00
Maarten Lankhorst
8efc1f3612 Fixed a dozen of reference (and some memory) leaks.
Implemented filtergraph_pause/stop.
2005-05-06 14:34:44 +00:00
Maarten Lankhorst
aa4df8f63a Fixed {Copy/Delete/Free}MediaType functions to show proper behaviour.
Fixed EnumMediaTypes to copy pbFormat too.
Added FreeMediaType.
2005-05-06 14:34:02 +00:00
Hartmut Birr
af384ad7a8 Clean up if named pipe is not available. 2005-05-06 14:33:11 +00:00
Francois Gouget
63b596d7ea Tweak the documentation to make winapi_check happy. 2005-05-06 14:33:02 +00:00
Francois Gouget
8054f6c5ad Update win32.api to match the current sources.
Declare CoGetClassObjectFromURL() in urlmon.h.
2005-05-06 14:32:48 +00:00
Matthew Mastracci
6e028f414d Replace stub entry for StgOpenStorageEx with call to StgOpenStorage. 2005-05-06 14:32:30 +00:00
Alexandre Julliard
ac0bf21abc Don't retrieve a window DC in GetUpdateRect if there is nothing to
erase, to avoid setting a null update region in an owned DC.
Avoid potential double delete of the update region on return from
send_erase.
2005-05-05 16:52:21 +00:00
759263042e Return ENOENT rather than EBADF from MSVCRT_fopen() when file doesn't
exist.
2005-05-05 16:48:28 +00:00
Robert Shearman
45d47c422f Fix RegDeleteKey{A,W} to open the specified key with the DELETE access
right.
2005-05-05 16:47:33 +00:00
Matthew Mastracci
8188790946 Replace StgCreateStorageEx stub with call to StgCreateDocfile and add
required STGFMT_* enumerations.
2005-05-05 16:44:05 +00:00
Rein Klazes
05a494c2b5 In MaskBlt delete correct bitmap. 2005-05-05 16:43:26 +00:00
Rein Klazes
aecbcac865 Add 16<->32 bit message mappings for WM_COPYDATA messages. 2005-05-05 16:43:17 +00:00
Rein Klazes
1e43a90727 - In MZ_DoLoadImage if an environment segment is specified in the
parameter block, use that and do not inherit from the calling
  process.
- Call FreeEnvironmentStrings when the strings are no longer used.
2005-05-05 10:32:54 +00:00
Michael Jung
45bcdd2be1 Fixed GetDisplayNameOf method to not depend on incorrect behaviour
regarding the SHGDN_INFOLDER flag.
2005-05-05 10:30:51 +00:00
Michael Jung
ddc26aa94e Fixed MyComputer's GetDisplayNameOf method. 2005-05-05 10:30:39 +00:00
Lionel Ulmer
a9d42f44c1 - do not flush the buffer when the application only wants to peek the
number of elements in the queue
- trace the GetDeviceState values before they are reset
2005-05-05 10:30:24 +00:00
Christian Costa
4598cde6f5 Added stub implementation for CoGetClassObjectFromURL. 2005-05-05 09:50:57 +00:00
Troy Rollo
833c946234 Correct bug truncating downloaded files to 4096 bytes. 2005-05-05 09:50:46 +00:00
Christian Costa
7180775af6 Forward CLSID_FilterGraphNoThread to CLSID_FilterGraph. 2005-05-05 09:50:35 +00:00
Emmanuel Maillard
034ebcc19e Fix compile on non-ELF host. 2005-05-05 09:50:13 +00:00
Lionel Ulmer
fa8d7a0fe6 - more pretty print for the types flag
- more Windows-aligned check for object instances
2005-05-05 09:49:54 +00:00
Marcus Meissner
8480f39f11 Initialize iosb. 2005-05-05 09:49:43 +00:00
Ivan Leo Puoti
a760181be0 Set win2k3 service pack number to 1. 2005-05-05 09:49:24 +00:00
Emmanuel Maillard
21f95cf761 - Fix NTDLL_wait_for_multiple_objects call in usr1_handler.
- Fix an error due to "invalid lvalue in assignment" with gcc 4 on
  Darwin 8.0.
2005-05-05 09:49:13 +00:00
Felix Nawothnig
2fcd42aac2 Set iItem to index before notifying callback items. 2005-05-04 10:37:17 +00:00
Marcus Meissner
1fa2da0756 Set PhysicalMemory property from system data. 2005-05-04 10:37:05 +00:00
Troy Rollo
caf6fa9531 Implement URLMonikerImpl_BindToStorage. 2005-05-04 10:36:54 +00:00
Troy Rollo
9d86716ef6 Create URL Cache if it does not already exist. 2005-05-04 10:36:43 +00:00
Vincent Béron
0fa5e855fb Use SUBLANG_NEUTRAL for French resources. 2005-05-04 09:52:47 +00:00
Mike McCormack
2b2c6f2fba Remove static variables in SHBrowseForFolder implementation. 2005-05-04 09:48:15 +00:00