Commit Graph

6325 Commits

Author SHA1 Message Date
Rolf Kalbermatter 514521bfaf Make the different helper functions all return actual error codes.
Avoid code duplication between ANSI and Unicode variant of those
functions.
2003-09-02 18:12:44 +00:00
Rein Klazes 3a35544dd9 _ws_gethostbyname() and WSAAsyncGetHostByName() when called with a
null name, should use the name returned by gethostname().
2003-09-02 18:12:20 +00:00
Michael Günnewig 9c771e7069 - Implemented semi-stubs for GetOpenFileNamePreviewA/W and
GetSaveFileNamePreviewA/W based on GetOpenFileName dialog in
  COMDLG32.DLL - still must add OFN_ENABLEHOOK and it's handler.
- Implemented ICCompressorFree.
- Prepared ICCompressorChoose.
2003-09-02 18:11:51 +00:00
Martin Fuchs 63fecde98b Declare LPCITEMIDLIST as 'const' pointer and adjust shell32
implementation to the corrected type.
2003-09-02 01:01:06 +00:00
Michael Stefaniuc 8a4f2adace int33 21h is identical to int33 00h. 2003-09-02 00:58:42 +00:00
Maxime Bellengé bcd1222650 Implemented TAB_SetMinTabWidth and TAB_HighlightItem. 2003-09-02 00:56:43 +00:00
Robert Reif e9ebbfc0ff Now that reference counting is correct, there is no need to check if
the base object goes away.
2003-09-02 00:56:14 +00:00
Juan Lang 5cab2b3503 Fixed bug parsing /proc/net/arp for arp table. 2003-09-02 00:55:48 +00:00
Juan Lang b9ed79c965 Implemented arp table querying through WsControl, and fixed problem I
introduced getting IP addresses for multiple interfaces.
2003-09-02 00:55:19 +00:00
Michael Günnewig 1b5c4135e2 - Implemented AVIStreamBeginStreaming and AVIStreamEndStreaming.
- Fixed loading of empty AVI files.
- Fixed bug in IGetFrame interface with uncompressed streams.
- Fixed missing ICOM_DEFINE for IAVIStreaming.
2003-09-02 00:54:30 +00:00
Juan Lang c435c29339 Fix FormatMessage when FORMAT_MESSAGE_FROM_HMODULE is specified and
lpSource is NULL.  Make indenting consistent too.
2003-09-02 00:53:46 +00:00
Jason Edmeades d9b8dfd7da Use a dummy GL context if one is not available when GetDeviceCaps is
called.
Remove the compiler warnings introduced in the last DXTn patch.
2003-09-02 00:53:21 +00:00
Jukka Heinonen 7fb4957873 Make DOS process exit using ExitProcess instead of ExitThread.
Make calling DOS exit functions from DPMI either return to StartPM or
print error message if not allowed by DPMI specification.
2003-09-02 00:52:36 +00:00
Robert Reif 28651e8187 Added more tests and restructured tests for easier debugging. 2003-09-01 23:59:03 +00:00
Robert Reif 5ec32cecf2 Added SecondaryBuffer and DirectSoundCaptureNotify COM objects to get
reference counting right.
2003-09-01 23:58:43 +00:00
Robert Reif b7945a8ab3 Added a few stub implementations. 2003-09-01 23:57:06 +00:00
Alexandre Julliard 3c80bb1443 Don't strip the path in LoadModule16 before we have opened the file
(reported by Jukka Heinonen).
2003-09-01 23:56:39 +00:00
Jukka Heinonen 0a1fa89f33 Add support for specific EOI PIC command. 2003-09-01 23:55:53 +00:00
Dimitrie O. Paun dad477ce3f If we don't send custom draw messages for subitems, inherit the color
& text attributes of the main item.
2003-09-01 23:55:33 +00:00
Juan Lang 85abf9cb90 - improve some parameter checking in WSAIoctl
- fix a memory leak I introduced in WSAIoctl
2003-08-30 00:16:19 +00:00
Dave Belanger 549e247844 Implementation of SelectPalette and RealizePalette in the metafile
driver.
2003-08-30 00:15:12 +00:00
Warren Baird 2c754a6ec0 Save the ext alignment information in a 8-bytes metarecord as it
should be.
2003-08-30 00:13:34 +00:00
Alexandre Julliard ca3bfd8318 Export SYSDEPS_SwitchToThreadStack() functionality from libwine as
wine_switch_to_stack().
2003-08-29 22:23:42 +00:00
Rok Mandeljc d4c1ebabdb Minor updates of Slovenian translations. 2003-08-29 22:21:43 +00:00
Juan Lang c24fc00f25 - improve WsControl error checking
- make WsControl output more closely match Win98's
- document WsControl behavior a bit better
2003-08-29 22:14:28 +00:00
Jukka Heinonen ec42ea4dfb Workaround implemented for passing faked mickeys to mouse callback
routine.
2003-08-29 22:13:27 +00:00
Jukka Heinonen f68017b851 Allow application to use VGA window that overlaps framebuffer only
partially.
2003-08-29 22:13:11 +00:00
Robert Reif 528e6e9836 Added some missing functions. 2003-08-29 22:12:44 +00:00
Mike Hearn 61402c64de Fixed the error message in Wave(In|Out)Init, it used to give a
confusing message, now uses strerror.
2003-08-29 22:12:15 +00:00
Rolf Kalbermatter c6670526ad Change protoype of SHChangeNotifyRegister to what MSDN says.
Remove an unsigned mismatch warning.
2003-08-29 22:11:23 +00:00
John K. Hohm a3f6410f9e Set SE_GROUP_ENABLED in Attributes of Administrators SID during
NtQueryInformationToken for TokenGroups.
2003-08-29 22:10:53 +00:00
Mike Hearn b79fc16577 Avoid division by zero when the imagelist is created with a width of
zero (ie no images).
2003-08-29 22:10:25 +00:00
Rolf Kalbermatter 919bd7855f Make sure the passed in object pointer is only addrefed on success. 2003-08-29 22:10:01 +00:00
Alexandre Julliard 2385079814 Warning fix. 2003-08-28 21:52:20 +00:00
Alexandre Julliard 7df1b9e03a Start using the exported TEB structure from winternl.h where
possible.
2003-08-28 19:57:35 +00:00
Mike Hearn 6e9f278602 Implemented a typelib loader cache. 2003-08-28 19:44:08 +00:00
Dave Belanger 06da8c2869 Fixed a compile error. 2003-08-28 19:39:42 +00:00
Alexandre Julliard b91e9cb3e6 Renamed a few more TEB fields. 2003-08-28 03:44:41 +00:00
Alexandre Julliard ee106783d0 Renamed EXCEPTION_FRAME to EXCEPTION_REGISTRATION_RECORD since that
seems to be the official name.
2003-08-28 03:07:56 +00:00
Alexandre Julliard 02f2813968 Renamed a few TEB fields to use the "official" names. 2003-08-27 23:14:29 +00:00
Gregory M. Turner fca4a8f877 Implement (most of) SetupIterateCabinet. 2003-08-27 23:12:36 +00:00
Duane Clark 78cd28793a Button width should be the larger of text width/bitmap width. 2003-08-27 23:11:35 +00:00
Alexandre Julliard 01634c5686 Removed some no longer needed definitions from stackframe.h. 2003-08-27 03:16:56 +00:00
Alexandre Julliard f7d71bf158 Converted remaining 16-bit functions to the new varargs mechanism. 2003-08-27 02:57:32 +00:00
Alexandre Julliard bf97962a51 Avoid including stackframe.h if it's not needed. 2003-08-27 02:52:17 +00:00
Alexandre Julliard 617839d522 Added varargs support for 16-bit entry points.
Added -ret16 entry point flag to allow 16-bit cdecl and varargs
function to return 16-bit values too.
2003-08-27 02:20:44 +00:00
Dimitrie O. Paun 4ff79add63 Remove some unneeded __WINESRC__ tests from the headers.
Miscellaneous cleanups and fixes.
2003-08-27 02:07:02 +00:00
Alexandre Julliard 94463d7bbe Moved profile functions to dlls/kernel. 2003-08-26 02:54:37 +00:00
Alexandre Julliard 6aca040f86 Moved a few more functions to dlls/kernel. 2003-08-26 02:29:48 +00:00
Alexandre Julliard 0ac9690081 Moved 16-bit relay and snoop support to dlls/kernel. 2003-08-26 02:28:59 +00:00
Alexandre Julliard a5b961c2b0 Moved selector fixup for the relay code to the callto16 exception
handler.
Make sure to only use pop instructions to modify segment registers in
the relay code to simplify the selector fixup.
2003-08-25 23:48:30 +00:00
Dimitrie O. Paun 31d4a7c47f Always setup the selection colour, not just in custom draw. 2003-08-25 23:44:51 +00:00
Jukka Heinonen be3b2569c7 Make all users of DOSVM_Enter explicitly set V86 flag.
Fix mouse relay stack usage in protected mode.
Raw mode switch now handles interrupt flag correctly.
2003-08-25 01:01:01 +00:00
Alexandre Julliard 3be5d62b29 Moved 16-bit calls initialization and exception handling to kernel32.
Store the call_to_16 return address on the stack from the C code so
that we don't need two variants of call_to_16_regs.
2003-08-25 00:56:37 +00:00
Alexandre Julliard d631f30945 Fixed copy/paste error in WOWCallback16Ex call (spotted by Dmitry
Timoshkov).
2003-08-25 00:54:24 +00:00
Jukka Heinonen 9adb6f2e3f Replace some magic numbers with symbols.
Add sanity checks so that VGA window cannot be used to access memory
outside framebuffer.
2003-08-25 00:53:35 +00:00
Dimitrie O. Paun 2fb93f1b85 Fix the hit test for full row select in REPORT mode (found, debugged,
and tested by Eric Pouech).
2003-08-25 00:53:11 +00:00
Alexandre Julliard 3a5b7cf105 Extended WOWCallback16Ex to support register functions too. This
allows simplifying the wine_call_to_16 assembly code by moving part of
it to C code, and getting rid of the extra kernel exports.
2003-08-23 23:30:51 +00:00
Maxime Bellengé cb1c112dd6 Fix the creation of treeview with checkboxes. 2003-08-23 23:18:48 +00:00
Steven Edwards 6af30d6994 Split win16/32 support. 2003-08-23 23:18:13 +00:00
Alexandre Julliard 9ca159b61a Moved 16-bit builtin module handling to dlls/kernel/ne_module.c. 2003-08-23 23:07:10 +00:00
Tom Wickline 1c6a20f3cf Set version to 8.1. 2003-08-23 23:05:24 +00:00
José Manuel Ferrer Ortiz 5069edc2de More Spanish translations. 2003-08-23 23:04:49 +00:00
John K. Hohm 3af19f3e78 Implement DllRegisterServer and DllUnregisterServer for dsound.dll,
and add OleSelfRegister version string.
2003-08-23 23:03:28 +00:00
John K. Hohm 2fce04ee04 Implement DllRegisterServer and DllUnregisterServer for shdocvw.dll,
and add OleSelfRegister version string.
2003-08-23 22:57:03 +00:00
John K. Hohm 2c296648ed Implement DllRegisterServer and DllUnregisterServer for quartz.dll,
and add OleSelfRegister version string.
2003-08-23 22:56:43 +00:00
John K. Hohm 718f9e98eb Implement DllRegisterServer and DllUnregisterServer for dplayx.dll,
and add OleSelfRegister version string.
2003-08-23 22:55:43 +00:00
John K. Hohm 41ecd6d489 Implement DllRegisterServer and DllUnregisterServer for avifil32.dll,
and add OleSelfRegister version string.
2003-08-23 22:54:53 +00:00
Mike Hearn 266e19ebc0 In the global interface table:
- Print warnings when things go wrong.
- Alter the way we do refcounting.
- Don't release the stream on retrieval, just rewind it instead.
- Implement thread safety.
2003-08-23 00:45:49 +00:00
Alexandre Julliard af62e83d1c Got rid of 16-bit glue code generation since it is no longer used. 2003-08-23 00:45:20 +00:00
Alexandre Julliard 5fbb446cfc Moved most of the 16-bit task support and NE module loader to
dlls/kernel.
2003-08-23 00:03:40 +00:00
Rok Mandeljc df167d17c6 - implemented loader, loader's stream and loading of objects (now you
can use builtin dmloader and native other dm*.dlls)
- implemented proper creation of objects and retrieval of dmusic
  interfaces from them (object, stream, ...)
- implemented all "standard track types" and appropriate stream (for
  dmband, loading is almost complete)
- cleaned some obsolete stuff
- split debug channels
2003-08-22 23:53:27 +00:00
Filip Navara 1ccaaa1a82 Fixed prototypes of CreateStatusWindowA/W, ImageList_Copy,
ImageList_EndDrag, ImageList_SetImageCount.
2003-08-22 23:51:15 +00:00
Steven Edwards 14e3b19cd0 Fixes for building with w32api headers on Mingw. 2003-08-22 05:05:56 +00:00
José Manuel Ferrer Ortiz 4a0dd81cf1 Some new Spanish translations and improvements to other existing
ones.
2003-08-22 05:03:19 +00:00
Dmitry Timoshkov 261b97afbf Some applications depend on the order of initialization steps of the
custom file open dialog.
2003-08-22 05:01:08 +00:00
Alexandre Julliard aee989a7ed Store the debug info structure on the thread stack.
Moved thread initialization code from sysdeps.c to thread.c to avoid
an indirection.
2003-08-21 21:34:33 +00:00
Ivan Leo Murray-Smith ef9636c51f Small resources fixes. 2003-08-21 21:28:05 +00:00
Ivan Leo Murray-Smith 1691019774 Added Italian resources. 2003-08-21 21:27:30 +00:00
Mike McCormack c2bd211b4c Remove useless comments that clutter the code. 2003-08-21 21:26:23 +00:00
Mike McCormack 8e98b9cda4 Stub for (undocumented) SHCreateLinks. 2003-08-21 21:26:07 +00:00
Dmitry Timoshkov ca7e9ff1fc Cope with potentially moved and resized file view window. 2003-08-21 21:25:16 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Robert Reif 0611f902db Added tests for buffer property sets. 2003-08-20 18:18:39 +00:00
Robert Reif b805f0f1b7 Split property sets into two types: buffer and private. 2003-08-20 18:18:23 +00:00
Jukka Heinonen fbbe6a43aa Make FPU emulation use CS:IP when determining location of calling
software interrupt.
2003-08-20 18:17:39 +00:00
Jukka Heinonen 37925eaf7b Remove unnecessary __wine_call_from_16_regs call frame management code
from raw mode switch handler.
2003-08-20 18:17:23 +00:00
Nerijus Baliunas f89f3df1a2 Updated LT keyboard. 2003-08-20 03:40:47 +00:00
3d6e91cd99 Fix parameter to snd_pcm_sw_params_set_silence_size(). 2003-08-20 03:38:27 +00:00
Dmitry Timoshkov 4aec75f017 Apply only specified tests.
Implement IS_TEXT_UNICODE_REVERSE_SIGNATURE, IS_TEXT_UNICODE_STATISTICS
and IS_TEXT_UNICODE_NULL_BYTES tests.
Revert IS_TEXT_UNICODE_ODD_LENGTH test.
2003-08-20 03:34:45 +00:00
Dimitrie O. Paun 00e5ccfa17 Stub out the _[w]popen/_pclose() functions. 2003-08-20 03:34:20 +00:00
Alexandre Julliard d8e34ebc21 Renamed system.dll to system.drv. 2003-08-19 03:27:45 +00:00
Alexandre Julliard e0deb0c627 Replaced remaining calls to PROFILE_GetWineIniString/Bool by direct
registry accesses.
2003-08-19 03:21:04 +00:00
Jon Griffiths 743b61e63a Use exception as the base for all exception derived classes.
Implement type_info methods correctly.
Add static RTTI for exported objects.
Throw exceptions when run time casts fail.
2003-08-19 03:12:32 +00:00
Mike McCormack 5ac945c021 Implement registry key unloading. 2003-08-19 03:08:17 +00:00
Alexandre Julliard 9b8a0595bc _ftol should return a 64-bit int (spotted by Jon Griffiths). 2003-08-19 01:03:08 +00:00
Jukka Heinonen 32e929c0da When forcing call to DOS relay from protected mode, make sure that
relay sees original stack and code pointers. Make it possible for DOS
relay to modify code and stack pointers.
2003-08-19 00:59:23 +00:00
Christian Costa 9650db497b Allocate space to contain the IMAGE_NT_HEADERS structure (ImageLoad
function).
Add some more traces.
2003-08-19 00:57:29 +00:00
Maxime Bellengé 3db30e376c Fix unreachable TVHT_ONITEMSTATEICON in TREEVIEW_LButtonDown. 2003-08-19 00:57:08 +00:00
Jon Griffiths 08922859c6 Make RtlTimeToSecondsSince1970 consistent with other time calls.
Documentation fixes.
2003-08-19 00:56:34 +00:00
Francois Gouget 47b6d0af59 Spelling and case fixes. 2003-08-18 20:11:29 +00:00
Alexandre Julliard ef94e40cc1 Added missing \n in TRACE calls. 2003-08-18 20:04:27 +00:00
Alexandre Julliard 1bfade140f Free the debug info when making a critical section global. 2003-08-18 20:03:00 +00:00
Lionel Ulmer 4d8d0f03ca Added support for multi-texturing. 2003-08-18 19:55:11 +00:00
Jon Griffiths 228f22e967 Add some new types and functions.
Remove ITU_IMPLEMENTED_TESTS, its not part of the Win32 Api.
2003-08-18 19:54:13 +00:00
Robert Reif d316a045da Fixed Warblade image loading. 2003-08-18 19:53:23 +00:00
Robert Reif fe09afb7cc Fixed bug where last tests were not executed.
Print out sound device info.
2003-08-18 19:52:56 +00:00
Jukka Heinonen 215a0d6f3e Fix CPU flag handling when internal interrupts are branched to. 2003-08-18 19:52:28 +00:00
Raul 11e844db58 Small Estonian keyboard fix. 2003-08-18 19:51:13 +00:00
Gregory M. Turner fc5e7048c5 Don't touch perf in FDIIsCabinet, InstallShield may already have freed
it.
2003-08-18 19:50:14 +00:00
Jon Griffiths ad86c25a8a Remove redundant wine specific #include. 2003-08-18 19:48:38 +00:00
Jon Griffiths 68806c4410 Spelling fixes. 2003-08-18 19:47:42 +00:00
Maxime Bellengé fb39442d7f Fix things broken by the last TREEVIEW_UpdateDispInfo patch. 2003-08-18 19:46:31 +00:00
Eric Pouech a851c88001 Regression fixes for Nt{Read|Write}File:
- actually block in TIMEOUT mode
- in overlapped mode, if any data is already available then process it
  without returning a pending status code
2003-08-18 19:45:53 +00:00
Alexandre Julliard 03d7998970 Moved __errno_location() handling to pthread.c, and added similar
handling for __res_state().
2003-08-15 03:55:06 +00:00
Alexandre Julliard 985ba8ed87 Added missing dependency. 2003-08-15 03:52:35 +00:00
Jason Edmeades beb4ac8fe1 DXT1/3/5 support was broken, but unnoticeable since we also indicated
it wasn't supported.
2003-08-15 03:50:08 +00:00
Mike McCormack 43629c9b5b Use WideByteToMultiChar not strlenW.
Use HeapAlloc, not malloc.
2003-08-15 03:47:30 +00:00
Maxime Bellengé 305fda2ef8 Fix for TREEVIEW_UpdateDispInfo to test with the correct callbackMask. 2003-08-13 19:37:12 +00:00
Mike McCormack 2e4010016e Fix spec for InitiateSystemShutdownExA, as pointed out by Stefan
Leichter.
2003-08-13 19:34:57 +00:00
Mike McCormack 6386edc5d8 Partial implementation of the Microsoft Installer (msi.dll). 2003-08-13 01:27:48 +00:00
Alexandre Julliard 52b9cedb8e Don't try to allocate the debug info before the process heap exists. 2003-08-13 01:09:45 +00:00
Alexandre Julliard 19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Alexandre Julliard c2320dbc4a Avoid crashes when devmode is null. 2003-08-12 23:46:34 +00:00
Dmitry Timoshkov 3a910c7d1f Convert CreateDC to unicode in the driver interface. 2003-08-12 20:42:18 +00:00
Alexandre Julliard 06e34ffc12 Minor tracing fix. 2003-08-12 20:34:06 +00:00
Dmitry Timoshkov 6f84b68776 Print X display and locale of X Input Method in the debug log. 2003-08-12 20:33:43 +00:00
Mike McCormack 0e27c979a6 Stub implementation of FlashWindowEx. 2003-08-12 20:33:26 +00:00
Johan Dahlin f6983b28c8 Updated Swedish translation. 2003-08-12 20:32:11 +00:00
Alexandre Julliard 97d862c93c Fixed the pthread wrappers to work with the new glibc/linuxthreads
interface in glibc 2.3.2.
2003-08-12 18:59:13 +00:00
Dimitrie O. Paun cbefdefb02 Consolidate all kernel power management functions.
Provide prototypes and stubs for missing functions.
2003-08-12 18:56:54 +00:00
Dmitry Timoshkov b5bd66e86f Ignore some keyboard events. In any case we don't know how to handle
them.
2003-08-12 18:54:50 +00:00
Mike McCormack 0f669e41a1 Stub some winspool functions. 2003-08-12 18:54:26 +00:00
Mike McCormack 3a41addd3a Export SHBindToParent (already implemented). 2003-08-12 18:53:41 +00:00
Mike McCormack d0c2c6df72 Stubs for advapi32 functions InitiateSystemShutdownEx, SetEntriesInAcl
and SetNamedSecurityInfo.
2003-08-12 18:53:14 +00:00
Dmitry Timoshkov 4d1d5fd353 Accept SIZE_MAXIMIZED as one of statuses of MDI windows. 2003-08-11 18:42:47 +00:00
Mike McCormack 49b408b192 Stubs for BuildTrusteeWithSid(A/W). 2003-08-11 18:41:28 +00:00
Alexandre Julliard 1bec3726bb Make do_block use poll() rather than select() (based on a patch by
Mike Hearn).
2003-08-08 21:10:28 +00:00
Patrik Stridvall ba78aac406 Fixed some issues found by winapi_check. 2003-08-08 21:07:23 +00:00
Tom Wickline c652f34179 Set version to DirectX 7. 2003-08-08 21:03:05 +00:00
Tom Wickline b6363343f4 Set version to DirectX 7. 2003-08-07 20:12:12 +00:00
Duane Clark 852a37bc64 Move declarations to compile with older compilers. 2003-08-07 20:11:45 +00:00
Supphachoke Suntiwichaya e7fe5bc1d3 Added Thai keyboard layout. 2003-08-07 20:11:02 +00:00
Alexandre Julliard 21c01853b6 Added propset.ok. 2003-08-07 03:07:26 +00:00
Richard Cohen 92e0a05749 SystemParametersInfo returning a value for Wallpaper does not mean
that the registry key exists.
2003-08-07 02:57:15 +00:00
Robert Shearman ad302ff7dd Added File Source (Async) Filter. 2003-08-06 23:00:14 +00:00
Robert Reif b5d2f84f87 Added some COM and property set tests.
Added LIBUUID to makefile.
2003-08-06 22:57:48 +00:00
Robert Reif f5080c86e5 Added class factories for DirectSoundCapture, DirectSoundFullDuplex
and DirectSoundPrivate.
Added error checking to QueryInterface and CreateInterface.
Added some more functionality to property sets.
2003-08-06 22:57:24 +00:00
Alexandre Julliard d7fca891e9 Avoid non-portable long long constants. 2003-08-06 22:09:11 +00:00
Alexandre Julliard f93256a56c Warning fixes. 2003-08-06 22:08:04 +00:00