Commit Graph

5228 Commits

Author SHA1 Message Date
Eric Pouech 7d6096480a - added Ldr* information to include/winternl.h
- exported a few functions/global vars from module.h while we move
  code from loader/module.c to dlls/ntdll/loader.c
- implemented LdrShutdownProcess, LdrShutdownThread and
  LdrDisableThreadCalloutsForDll (and made use of them)
2003-03-04 04:36:56 +00:00
Stefan Leichter 2f10ca5237 Added tests for GetPrivateProfileInt. 2003-03-04 04:34:57 +00:00
Vitaliy Margolen e6af4ec6bd Fix invisible tabs in TabControls with fixed tab width. 2003-03-04 04:34:03 +00:00
Marcus Meissner dbcbbe0211 Added _daylight stub int, and __p__daylight function. 2003-03-04 02:19:15 +00:00
Rolf Kalbermatter a2b7141a01 Fix endless loop in StrPBrkW. 2003-03-04 02:17:47 +00:00
Lionel Ulmer 4ed280fc81 - update to latest GL spec files
- added KTX Buffer Region extension
2003-03-04 02:17:04 +00:00
Jukka Heinonen 4c6e36faf2 Move real mode interrupt emulation code to file interrupts.c.
Remove last wrapper check from int31 handler.
Move RM/PM hardware interrupt emulation code to separate functions.
2003-03-04 02:16:20 +00:00
Jukka Heinonen 2918ee6b0d Move decoding of long file name functions to winedos.
Move some int21 functions to winedos.
2003-03-04 02:15:56 +00:00
Marcus Meissner 7ba0c5f3aa VarAdd: set 'rc' correctly from BSTR addition. 2003-03-04 02:14:32 +00:00
Marcus Meissner 84213a37ff Handle VT_PTR->VT_VARIANT arguments of Invoke. 2003-03-04 02:14:10 +00:00
Robert Reif 15cc17fbcf Fixed code to handle full duplex properly.
Added support for capture driver (disabled).
Fixed direct sound capture test to handle notifications properly.
2003-03-04 02:12:34 +00:00
Robert Reif f851a860fc Capture thread checks queue for more headers before giving error.
Capture driver work started.
2003-03-04 02:11:21 +00:00
Alexandre Julliard 551797bc57 Properly save/restore %gs register across 16-bit calls. 2003-02-27 21:11:13 +00:00
Alexandre Julliard 7e92c9af7b Replaced most uses of the auto-generated glue code by explicit calls
to WOWCallback16Ex.
2003-02-27 21:09:45 +00:00
Alberto Massari 84c48b957b Fixes to IShellFolder::GetAttributesOf:
- before computing the flags for the requested entry, reset the bits
  we don't support, or we will tell something we didn't want to.
- instead of using an hexadecimal mask for the unsupported flags, use
  a mask made of the supported ones
- replace the obscure hexadecimal values with the proper macros
2003-02-27 21:04:38 +00:00
Alexandre Julliard e5cef3b0fb Moved CreateThread16 to kernel, and made it use WOWCallback16. 2003-02-27 01:57:16 +00:00
Alexandre Julliard b59bdbfa41 Get rid of win16drv directory. 2003-02-27 00:28:50 +00:00
Alexandre Julliard 69e631d168 Removed the 16-bit graphics driver support; this has been broken for a
long time anyway.
2003-02-27 00:11:54 +00:00
Alexandre Julliard ce13153821 Moved LDT selector allocation routines to libwine.
Added support for correct locking of all LDT operations.
Added separate functions to manipulate the %fs selector, which allows
using a global GDT selector on recent Linux kernels.
2003-02-26 20:34:45 +00:00
Sylvain Petreolle 149c0c520b Implemented DSP Version command. 2003-02-26 20:27:23 +00:00
Jukka Heinonen f498d4b8fb Move controller info and state/functionality info initialization to
winedos. Convert many incorrectly static fields into dynamic
fields. Fix vesa mode reporting and realloc memory block consistency
checks.
2003-02-26 05:02:54 +00:00
Mike Hearn ea957415b0 Check both pointers in GetContainingTypeLib. 2003-02-26 04:36:03 +00:00
Mike Hearn 7aa04f2744 Implemented GlobalMemoryStatusEx(). 2003-02-26 04:35:36 +00:00
Tim Segall efa2b0c159 Accept either TVI_ROOT or NULL for the parent to imply sort the entire
tree.
2003-02-25 03:59:12 +00:00
Uwe Bonnes 1cd00dae50 InternetOpenUrlA (http/s case): Use client for HttpOpenRequestA, don't
insert HOST: twice.
HttpAddRequestHeadersA: allow lpszHeader == NULL.
2003-02-25 03:57:59 +00:00
Dan Kegel 513ab31f43 Now compiles on windows. Added a couple more checks. 2003-02-25 03:56:43 +00:00
Gerald Pfeifer fa8cca5e47 Define CD_SECS and CD_FRAMES also on non-Linux systems. Avoid a
non-portable TRACE on non-Linux systems.
2003-02-25 03:56:21 +00:00
Michael Stefaniuc 745a78f490 Remove some unreachable code. 2003-02-24 20:48:45 +00:00
Robert Reif 490d2a7bc2 Fixed a problem getting the GUID to compile under windows and wine. 2003-02-24 20:42:59 +00:00
Gerald Pfeifer 2154db4d4e Fix TRACE format string. 2003-02-24 20:41:51 +00:00
Lionel Ulmer 8985c02020 Implement GetDeviceInfo and GetObjectInfo for the keyboard device. 2003-02-24 20:41:28 +00:00
Eric Pouech a89063e3dc Added handling for PSNRET_INVALID in PSN_APPLY notification. 2003-02-24 20:40:45 +00:00
Michael Stefaniuc f85440466b Add missing LeaveCriticalSection's in error path. 2003-02-24 20:39:22 +00:00
Alexandre Julliard 1e80f30842 Added pipe.ok. 2003-02-19 23:30:39 +00:00
Alexandre Julliard a36fa53607 Updated authors list. 2003-02-19 23:30:10 +00:00
Jukka Heinonen a969416c56 Ignore get shadow buffer function.
Remember to synchronize VGA display on program exit because update
thread may not have time to run.
2003-02-19 23:27:01 +00:00
Alexandre Julliard 76c3065751 Fixed installation order of linkable dlls. 2003-02-19 22:11:37 +00:00
Jukka Heinonen 54f377c6c5 Move resize memory block to winedos and make it resize in place and
work correctly even when trying to allocate too much memory.
2003-02-19 22:11:04 +00:00
Uwe Bonnes f540ea642e Rough implementation of _O_TEXT/_O_BINARY translation by doing single
byte read/writes in _O_TEXT mode and CR/LR handling.
fput/getwc must read multibyte characters in _O_TEXT.
Added test cases for _O_TEXT/_O_BINARY file handling and fgetws.
2003-02-19 22:09:33 +00:00
Waldeck Schutzer 52a414c26d - Some systems/drives are very slow to read the TOC. To address this
issue, we are caching it inside the driver.
- Windows will seek while not playing, Linux will not. We are
  providing better compatibility with Windows by also caching the
  current position.
2003-02-19 22:08:50 +00:00
Waldeck Schutzer a639d834fe Avoid playing data tracks. 2003-02-19 22:08:03 +00:00
Dan Kegel 88eba44645 Added check for illegal pipe names.
Added regression test.
2003-02-19 22:06:36 +00:00
Ove Kaaven def211c4c9 For better concurrency, separate the connections from the bindings. 2003-02-19 03:44:35 +00:00
Warren Baird 586808fdf2 - Avoid possible seg fault when calling TRACE with NULL string pointers.
- Fix bad side-effect of makepath on input parameters.
2003-02-19 03:43:08 +00:00
Jukka Heinonen 1868b026c1 When updating the edited line, remember to update attributes, too. 2003-02-19 03:42:06 +00:00
Duane Clark ccb4b9ccff A fix to get edit control scrolls bars to draw in the correct
position.
2003-02-19 03:40:33 +00:00
Thomas Mertes 9f5f86e3a3 Tests for RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar,
RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString,
RtlLargeIntegerToChar, RtlUnicodeStringToInteger and
RtlUpcaseUnicodeChar.
2003-02-19 03:40:14 +00:00
Thomas Mertes f4757bb631 - Implement RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar,
RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString,
  RtlLargeIntegerToChar, RtlUnicodeStringToInteger and
  RtlUpcaseUnicodeChar.
- Use toupperW instead of toupper in RtlCompareUnicodeString.
2003-02-19 03:39:46 +00:00
Alexandre Julliard ac13d2f47e Print thread ids in traces with only 4 digits now that they are small
integers.
2003-02-18 23:29:47 +00:00
Alexandre Julliard 8bc93e2d6f Print dll name too for stub exceptions. 2003-02-18 23:25:34 +00:00
Duane Clark 5d35bc7428 Correctly encode wParam for WM_SYSCOMMAND,SC_SIZE messages. 2003-02-18 23:24:57 +00:00
Alberto Massari 3ea0cb3e86 Added stub for CryptUnprotectData. 2003-02-18 23:23:52 +00:00
Thomas Mertes 38012942f8 - Fix small bug in RtlFindMostSignificantBit. It returned sometimes
wrong results if more then one bit was set.
- Update the test cases as well.
2003-02-18 23:22:49 +00:00
Eric Pouech 893f5ff432 Allowed waveInMessage to use physical information (as waveOut does). 2003-02-17 01:48:47 +00:00
Ove Kaaven cf2dea09af NDR marshalling fixes. 2003-02-17 01:48:24 +00:00
Ove Kaaven 1a0112a47d Make NdrDllRegisterProxy use the interface stub header instead of the
interface proxy header to avoid stubless proxy ambiguities.
2003-02-17 01:47:54 +00:00
Rok Mandeljc 22b09a10f0 Reimplemented distance attenuation formula.
Removed coning formula since i believe it's inappropriate.
2003-02-17 01:46:46 +00:00
Shachar Shemesh ee63d5ee4a - Implemented two lookup tables for the sample fonts. The first,
"CHARSET_ORDER", is for converting codepage to ordinal charset num,
  and the second, "SAMPLE_LANG_TEXT", is for giving the actual sample
  text.
- Removed all references to changing the font directly in stc5.
- Modified the "InvalidateRect" calls to invalidate the rect where
  stc5 is, rather than stc5 itself.
- Added handling of WM_PAINT that draws the sample text, properly
  truncated.
- Removed handling of WM_CTLCOLOR - no longer neccessary.
2003-02-15 00:02:24 +00:00
Robert Reif 5be7f69d72 Added support for direct sound capture and a real direct sound capture
driver. Capture now works with some skipping. Full duplex does not but
I will be working on that next.
2003-02-15 00:01:17 +00:00
Robert Reif 4c9e56b163 Added additional formats.
Fixed a few bugs in read/write positions when the format is mapped
using acm.
Fixed a bug where the number of waveOut devices is used when iterating
over waveIn devices.
2003-02-15 00:00:12 +00:00
Robert Reif bcc4bb2d06 Started to add support for a real direct sound capture driver.
Changed the capture fragment size but this still needs tuning for best
performance.
2003-02-14 23:59:15 +00:00
Duane Clark 65a9f4daac Support the undocumented behavior of deleting column zero. 2003-02-14 23:31:45 +00:00
Dan Kegel 743af54541 Roll loop back up to avoid code duplication. 2003-02-14 23:30:50 +00:00
Uwe Bonnes 51e4839fb0 Separate "Enumerate Hardware Addresses" as function, as other netapi32
function need it.
Implemented level 0 of NetWkstaTransportEnum.
2003-02-14 23:29:24 +00:00
Michael Stefaniuc 909ffb7930 Implemented _mbsnbcat. 2003-02-14 23:26:58 +00:00
Dimitrie O. Paun 00ccf38987 Correctly remember the first paint event, but delay item metrics
calculation until we actually have some items.
2003-02-14 19:24:11 +00:00
Jukka Heinonen 5812f52976 Outputting backspaces should only move the cursor.
Text buffer copy is now always initialized correctly.
Preserve video memory flag is parsed and text screen is now really
cleared when flag is clear.
2003-02-14 19:23:16 +00:00
Lionel Ulmer 19e6bf96e8 Use the dwStartVertex argument in the Draw*PrimitiveVB methods. 2003-02-12 21:40:25 +00:00
Lionel Ulmer b307e6a77f Change algorithm to detect lighted / unlighted vertices. 2003-02-12 21:36:56 +00:00
Lionel Ulmer 4d09cba51d Handle the COLORVERTEX render state. 2003-02-12 21:35:06 +00:00
Lionel Ulmer db9b5f74dc Trace after the matrix has been copied, not before. 2003-02-12 21:34:46 +00:00
Sergei Turchanov bf8237553c - _SHStrDupAA forgot about terminating '\0'.
- SHStrDupA adds extra terminator which is not needed as the length
  returned by MultiByteToWideChar(,,-1,,) already includes it.
2003-02-12 21:29:20 +00:00
Marcus Meissner 5e71f2d536 Fix warning in __crtLCMapStringA. 2003-02-12 21:28:47 +00:00
Gerald Pfeifer 820157b836 Avoid warnings caused by assert(...). 2003-02-12 21:28:04 +00:00
Duane Clark 45abf7cfa0 Replace HEAP_strdupAtoW call and delete extra
RtlCreateUnicodeStringFromAsciiz.
2003-02-12 21:27:27 +00:00
Lionel Ulmer d14ad4ff8a Implemented EnumObjects for the keyboard device. 2003-02-12 21:27:00 +00:00
Lionel Ulmer dff968b5f3 - fixed GetTransform
- implemented MultiplyTransform
2003-02-12 21:26:28 +00:00
Lionel Ulmer 6238f9a6fb Added fogging for transformed vertices. 2003-02-12 21:26:05 +00:00
Michael Stefaniuc 62ed0ffe00 Added some missing LeaveCriticalSection's. 2003-02-12 01:26:05 +00:00
Michael Stefaniuc 3dcd451bf6 Remove dead code after return or properly comment it out. 2003-02-12 01:23:17 +00:00
Duane Clark 0987ae04f3 Winspool expects NULLs to be preserved in ascii to unicode
conversions.
2003-02-12 01:19:25 +00:00
Warren Baird 41bbe7073f Implementation of GetDeviceCaps in metafile driver. 2003-02-12 01:17:25 +00:00
Lionel Ulmer 7c552a4a3a Report an error if GetDeviceData is called on an Unacquired device. 2003-02-12 01:13:31 +00:00
Christian Costa f21887f431 Fix comment in ZfromZproj.
Fix missing path in lighting code.
Move some OpenGL fog init to the right place.
2003-02-12 01:11:17 +00:00
Christian Costa 3268097dcd Implemented IDirect3DDevice7_Load. 2003-02-12 01:10:03 +00:00
Jukka Heinonen 101f91d9df Reorganize IOCTL handling.
Move ASPI hooking to winedos.
Move some miscellaneous functions to winedos.
Remove unnecessary exports from winedos dll.
2003-02-11 22:22:50 +00:00
Marcus Meissner e1c7202716 Fixed undefined operation compiler warning. 2003-02-11 22:20:24 +00:00
Jukka Heinonen b3143f6f70 Add locking to VGA_SetWindowStart.
Move console updates to update thread instead of immediately writing
to console.
2003-02-11 22:19:27 +00:00
Jukka Heinonen d6b6dda6c1 Add support for VESA mode information.
Reorganize controller and state information routines.
2003-02-11 22:18:11 +00:00
Dimitrie O. Paun 15e0657f6b Compute matrix of first paint when we actually have some items
(problem first spotted & debugged by Duane Clark).
2003-02-11 22:17:31 +00:00
Lionel Ulmer 55d4f93e2b Added stub for undocumented 'wglGetDefaultProcAddress' function. 2003-02-11 22:13:54 +00:00
Warren Baird 6552e83a2d Fix wrong structure used to determine the size of a memcpy in
MFDRV_CreateBrushIndirect.
2003-02-11 22:13:11 +00:00
Martin Fuchs 95ffdc1db4 Fixed time zone calculation. 2003-02-11 22:12:41 +00:00
Alexandre Julliard b7a8eefb2b Authors: Francois Gouget <fgouget@free.fr>, With help from Enio Schutt Jr <enio.s.jr@operamail.com>
Skip the overlapped I/O tests on files on Win9x.
2003-02-11 22:11:56 +00:00
Marcus Meissner 1998beaeef Implemented __crtLCMapStringA. 2003-02-11 22:11:17 +00:00
Dmitry Timoshkov 74d7ef8401 Manage internal ctl3d auto subclass flag. 2003-02-11 22:10:36 +00:00
Ove Kaaven bed2b9c3dc Only install the keyboard hook on device creation. 2003-02-11 22:10:11 +00:00
Christian Costa 93a943eecc Add support for 24 bpp to _Blt_ColorFill.
Fix endianness issue in DIB_DirectDrawSurface_Blt.
2003-02-11 21:58:07 +00:00
Andreas Mohr 37fc599268 Added FIXME on stub exception. 2003-02-11 21:56:59 +00:00
Alexandre Julliard bb2210bc45 Store mbstok() next pointer in the per-thread data. 2003-02-01 00:59:22 +00:00