Commit Graph

5198 Commits

Author SHA1 Message Date
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
Michael Stefaniuc d76455df74 Implemented _mbstok and _mbsnbset. 2003-02-01 00:45:22 +00:00
Ove Kaaven 0e85f48f9d Implemented marshalling of pointers, simple and complex structures,
conformant and complex arrays, and user-marshalled types.
Improved marshalling of conformant strings and interface pointers a
bit.
2003-02-01 00:44:51 +00:00
Rolf Kalbermatter d11efe88b9 Change SHCreateDirectory and Win32DeleteFile to be Unicode or ANSI depending
on OS version. Add ShCreateDirectoryEx API.
2003-02-01 00:41:30 +00:00
Jason Edmeades 043680c140 Correct some capabilities, and default others to fully supported for
now.
2003-02-01 00:35:36 +00:00
Andrew John Hughes f1028ea28b - DeviceCapabilities16 now calls PSDRV_DeviceCapabilities.
- ExtDeviceMode16 now calls PSDRV_ExtDeviceMode.
- Extended switch statement in DeviceCapabilities to handle new
  options.
- Added comments to functions.
2003-01-31 03:24:33 +00:00
Bill Medland 62a80b76f2 Better handling of bad data in TabbedTextOut/TabbedTextExtent
Checked with:
a) Null tabstop array with non-zero number of entries
b) Negative number of entries (MSDN is wrong; it is not an error)
c) Single tabwidth of negative size
d) Single specified tabwidth of zero size
2003-01-31 03:23:18 +00:00
Ove Kaaven 9dc2584b32 ReuseBuffer should be FALSE for RPC clients.
Some cleanups and elimination of some duplicate code.
2003-01-31 03:22:53 +00:00
Ove Kaaven c3e724d047 Fixed a bug in CompleteBindingA/W. 2003-01-31 03:22:38 +00:00
Ove Kaaven 5d121fbe05 Implemented RpcRaiseException. 2003-01-31 03:22:27 +00:00
Marcus Meissner af39862fe3 Implemented mbsicoll (without locale handling). 2003-01-31 03:20:25 +00:00
Waldeck Schutzer c1a4cead2f Removed invalid char. 2003-01-31 03:20:03 +00:00
Alexandre Julliard 27441a91e0 XCloseIM sometimes crashes in Xlib, don't call it. 2003-01-30 01:08:53 +00:00
Liu Spider bda34eaa52 Added XNFocusWindow attribute when creating a IC. 2003-01-30 01:07:43 +00:00
Andrew John Hughes 1f7dbca935 Provide stub implementations of GetTypeByNameA and SetServiceA. 2003-01-30 00:23:39 +00:00
Dan Kegel 07f773d917 Only warn if message is >= WM_USER && < WM_APP. 2003-01-30 00:18:48 +00:00
Raphael Junqueira 92155f158f - Defer of IDirect3DVertexShader_SetConstant, waiting for
DrawPrimitive call.
- Beginning of VertexShader constants support into stateblock (only
  stored, not captured yet).
- Fix compiation with nivdia GL/gl.h and mesa Gl/glext headers as
  reported by Andrew John Hughes.
- One glActiveTexture/glActiveTextureARB missing.
2003-01-30 00:18:27 +00:00
Jukka Heinonen 8e8518d4ba Fix buffered input function. Add support for UMB subfunctions to
memory allocation strategy function. Move flock to winedos.
2003-01-30 00:17:03 +00:00
Eric Pouech 766ea910b9 - made ICInfo closer to Windows behavior (i.e. no longer opens the
driver)
- fixed most endianess related bugs in fourCC handling
- added debug function for printing fourCC:s
- internal function fixes and speed-up
2003-01-30 00:16:35 +00:00
Raphael Junqueira 4b0297d894 Some needed cleanups for future dx9 and d3d common layer support:
- stateblocks to IDirect3DStateBlockImpl interface and moving into
    a new file (stateblock.c)
  - shaders to IDirect3D*ShaderImpl interfaces
  - splitting vshader and vshader declaration as in dx9 into 2
    interfaces (for future common layer use)
  - vshader declaration code to a new file (vsaderdeclaration.c)
  - device calls to new interfaces (redirect stubs)
Simple texture fix for a little regression after last Jason's patches.
Some caps code using the GL/glext.h defines (GL_VERSION_*).
2003-01-28 01:12:23 +00:00
Gerald Pfeifer cfda84ef53 Properly #define sipx_node for FreeBSD. 2003-01-28 01:07:09 +00:00
Juergen Schmied 34f89b23c6 Fix DoDragDrop in case of child windows. 2003-01-28 01:06:20 +00:00
Alexandre Julliard 49a013cdd3 When using desktop mode attach all thread inputs together, so that
keyboard focus works properly.
2003-01-28 00:34:07 +00:00
Marcus Meissner 7d2173a9e9 Do not free the old string in SysReAllocStringLen, reuse the old
string memory (if 'in' is NULL).
2003-01-28 00:30:29 +00:00
Gerald Pfeifer 9e40570812 Avoid compiler warning in STORAGE_get_free_pps_entry(). 2003-01-28 00:24:23 +00:00
Martin Wilck c422dae189 Do not clear FD_WINE_CONNECTED on shutdown(). FD_WINE_CONNECTED
(currently unused) can thus be used to determine if a stream socket
was ever connected.
2003-01-28 00:24:04 +00:00
Marcus Meissner b3be773afe Added R4 and R8 comparison to VarCmp.
Added I2 to VarFormat.
Added VarSub, VarDiv, VarMul for integer and float types.
2003-01-28 00:23:19 +00:00
Jukka Heinonen f0e1c04b87 Replace FIXMEs with TRACEs in those paging functions that really are
not supposed to do anything.
Add simple emulation of coprocessor state functions.
2003-01-28 00:19:21 +00:00
Jukka Heinonen f92c8ca401 Return scancode when extended keycodes are read using console input
functions. Move file stamp handling to winedos. Implement DOS7 file
stamp extensions.
2003-01-28 00:18:57 +00:00
Shachar Shemesh 7ee13d8f3e - Defined IDs for string constants for font color names and for the
various charsets.
- Load the color names from the resources in the fonts dialog.
2003-01-28 00:18:31 +00:00
Andreas Mohr 056d2a4421 "InternetAutoDial" should be "InternetAutodial". 2003-01-28 00:17:15 +00:00