Commit Graph

4078 Commits

Author SHA1 Message Date
Jeff Smith a3763b9bc8 PathIsExe: corrected and added executable types. 2002-09-30 19:01:20 +00:00
Paul Rupe 4ee2e9e989 Prevent crash when listview trace logging is on. 2002-09-30 18:52:33 +00:00
Christian Costa 8534e08a02 Implement SwapTextureHandles method. 2002-09-30 18:52:06 +00:00
Guy Albertelli 7e1e62de1c - Eliminate extra background fills.
- Eliminate bogus error messages.
2002-09-29 18:34:51 +00:00
Alexandre Julliard 7cbb340aa6 Don't build d3d8 if we don't have OpenGL support. 2002-09-29 18:07:25 +00:00
Alexandre Julliard a56a16ee73 Added check for OpenGL. 2002-09-29 18:05:32 +00:00
Jukka Heinonen 6f5dd37b8a Use correct check to see if xserver supports xvidmode. 2002-09-29 18:02:40 +00:00
Dimitrie O. Paun a4f580b74b - Cache GWL_STYLE, to avoid fetching in virtually every function.
- Separate GetOrigin from GetAllMeasures as it is item independent,
  and rename function to reflect the change.
- Small cleanups.
2002-09-29 18:02:21 +00:00
Ove Kaaven 4774477b2b Fix for soundcards that can't do 8-bit audio, only 16-bit (also
checked for soundcards that can't do stereo while I was at it).
2002-09-29 18:01:33 +00:00
Christian Costa 92810b90c1 execute: Activate the viewport passed as parameter when executing
buffer.
2002-09-29 18:01:13 +00:00
Christian Costa c3fa405ab7 Implement IDirect3DViewport2_DeleteLight. 2002-09-29 18:00:43 +00:00
Jukka Heinonen 9747c15a15 Functions sscanf and swscanf now expect strings to be terminated with
null (0) instead of EOF (-1).
2002-09-29 18:00:23 +00:00
Dimitrie O. Paun 81beb955c8 Remove item from the list, if we fail to initialize it at insert
time.
2002-09-27 22:47:00 +00:00
Jason Edmeades 26258ce06a Initial D3D8 implementation. 2002-09-27 22:46:16 +00:00
Chris Morgan a8b3216670 Added stubs for HttpEndRequestA/W, InternetReadFileExA/W,
SetUrlCacheEntryGroup, CreateUrlCacheGroup, DeleteUrlCacheGroup.
2002-09-27 22:05:23 +00:00
Michael Stefaniuc 2d0acacb45 Moved some 16-bit functions from windows/cursoricon.c to
dlls/user/user16.c.
2002-09-27 22:04:54 +00:00
Dimitrie O. Paun e65eb61419 - Fix crashes in debug mode.
- Fix some focus rectangle problems.
- Better debugging output.
- More cleanups.
2002-09-27 22:02:16 +00:00
Christian Costa 48d8ff42e1 Remove wrong and useless transformation of z projected coordinates.
Add normals world transformation.
2002-09-27 22:01:28 +00:00
Christian Costa 427b333391 Fix devices creation broken code. Now, the display and the drawable
are retrieve through GDI escape sequences and stored in the private
data. Add desallocation of the device private data.
2002-09-27 22:01:12 +00:00
György 'Nog' Jeney 2f958dd7ac Split the 16-bit funcitons into a seperate file. 2002-09-27 22:00:41 +00:00
Alexandre Julliard db057e70f5 Fixed X11 error code mismatch and removed debugging output. 2002-09-26 03:23:13 +00:00
Greg Turner e6d8fdb081 - fixed up some semantic misunderstandings using the helpful advice of
Rein Klazes
- added SO_SNDTIMEO support
- added ifdef's for consistency with rest of socket.c
2002-09-26 03:21:54 +00:00
Christian Costa 58e8807a71 Added desallocation of the viewport private data. 2002-09-26 03:20:35 +00:00
Christian Costa 30633659b8 Added allocation/desallocation of the light private data. 2002-09-26 03:20:23 +00:00
Christian Costa 74d0d4c562 Enable creation of our OpenGL Direct3D device from a surface used as
rendering target.
Enable creation of a texture from a surface.
2002-09-26 03:20:07 +00:00
Alexandre Julliard 4b9344eb15 Moved ts_xlib.c into x11drv and removed libwine_tsx11. 2002-09-25 03:29:55 +00:00
Paul Rupe 7f32a8d176 - Initialize memory to prevent crashes when -debugmsg +listview is on.
- Fix various array bounds related errors.
2002-09-25 03:20:01 +00:00
Paul Rupe 2fbe9cf2b7 Resize dynamic pointer array more carefully when adding new entries. 2002-09-25 03:19:24 +00:00
Christian Costa 80be53efee Added support for POINT, WIREFRAME and SOLID fill modes. 2002-09-25 03:18:38 +00:00
Christian Costa 3bfa1fb384 IDirect3DTexture2Impl_Load: when the surface is not allocated and no
location are specified, set it to video memory.
2002-09-25 03:18:17 +00:00
Alexandre Julliard 2c40e29987 Import wine_tsx11_lock/unlock directly from x11drv in opengl32 and
ddraw, so that they don't need to link with libwine_tsx11.
Removed header wine_gl.h.
2002-09-25 00:29:56 +00:00
Alexandre Julliard 7dafa61700 Fixed a number of bugs in the handling of window parent and owner and
added a regression test (based on the work of Bill Medland).
2002-09-25 00:21:56 +00:00
Greg Turner 96e3e928a2 Accept time_t argument in WS_setsockopt/WS_SO_RCVTIMEO; translate to
struct timeval for edification of setsockopt.
2002-09-25 00:15:43 +00:00
Alexandre Julliard e9119c198d Removed some more TSX11 functions and files. 2002-09-24 18:36:51 +00:00
Patrik Stridvall b5bb32c09a Fixed some issues found by winapi_check. 2002-09-24 18:29:39 +00:00
Guy L. Albertelli e2e5097648 - Localize origin, location, and rectangle computation.
- Support state icons in LVS_ICON style.
- Draw only items that are in the clip box.
- Draw non-selected items first then the selected ones because large
  icons may overlap each other.
- Correct invalidation rectangles for items.
- Correct drawing of large icons.
- Eliminate divide by zero cases in scrolling.
- Invalidate selected items prior to setting window losing focus.
2002-09-24 18:27:21 +00:00
Dimitrie O. Paun 326021bd98 Small cleanups, updated documentation. 2002-09-24 18:26:42 +00:00
Alexandre Julliard 8f1f4c2d5f Fixed #endif. 2002-09-24 03:59:08 +00:00
Alexandre Julliard df8e6eeb0f Removed a bunch of no longer used TSX wrappers. 2002-09-24 03:17:31 +00:00
Patrik Stridvall 3d5b467641 Fixed some issues found by winapi_check. 2002-09-24 03:09:50 +00:00
Michael Stefaniuc 1ad2087e38 Convert HKEY to a void*. 2002-09-24 03:09:12 +00:00
Dimitrie O. Paun 70c6cecef9 Remove some more superfluous ZeroMemory calls, small cleanups. 2002-09-23 20:59:42 +00:00
Dimitrie O. Paun 9dd1279a82 - Remove export of DRAG_QueryUpdate from USER.
- Get rid of associated 16 bit code from x11drv.
- Simplifications, cleanups, etc.
2002-09-23 20:56:37 +00:00
Dimitrie O. Paun e3e404296e - Fix outputting of a text pointer in debug mode (by Rein Klazes).
- Remove a large bunch of superfluous ZeroMemory calls.
- Fix a couple of bugs.
2002-09-23 20:55:22 +00:00
Patrik Stridvall 1a4db3e72a Cleaned up the code so it would be easier to parse with the new C
parser.
2002-09-23 20:45:57 +00:00
Andriy Palamarchuk 2693eb9a23 Implemented NetQueryDisplayInformation, NetUserGetInfo, created
conformance tests, other netapi32 bug fixes and improvements.
2002-09-23 20:36:50 +00:00
Dmitry Timoshkov 472d016859 Correct SIZE_T size according to MS SDK.
Change some types to SIZE_T according to MS SDK definitions.
2002-09-21 01:21:00 +00:00
Jon Griffiths 91ec8e14c6 Reorganise/minor tidyup of ordinal functions.
Implement StrCmpLogicalW,StrFormatByteSizeA/W,StrFormatByteSize64A,
SHCreateStreamWrapper.
Fix some output .spec parameters from str to ptr.
Fix definition of StrFormatByteSize functions.
2002-09-20 19:41:08 +00:00
Dimitrie O. Paun 9ffa91ef12 Have USER deal with the caret when scrolling a window. 2002-09-20 19:35:54 +00:00
Alexandre Julliard 69d7cb5681 Avoid calling some kernel functions. 2002-09-18 23:13:35 +00:00
Alexandre Julliard 1a80921903 Added support for the take focus protocol. 2002-09-18 23:09:50 +00:00
Dimitrie O. Paun df28ddf309 - Better implementation for GetTopindex/GetOrigin/SetIconSpacing.
- Drawing optimizations, better scrolling.
- A few more bugs squashed without mercy.
- Many cleanups, simplifications, doc updates.
2002-09-18 18:29:28 +00:00
Alexandre Julliard 341b7dceb4 Implemented the ntdll virtual memory functions, and made the kernel
functions use them.
2002-09-17 18:54:42 +00:00
Alexandre Julliard cc3a74d949 Authors: Josef Meixner <Josef.Meixner@t-online.de>, Huw Davies <huw@codeweavers.com>
- Initializing the return-string shouldn't change the pointer.
- Added "FIXME" for case not handled.
- Directory and the filenames have to be separated by "\0".
- Added check to handle possible signed/unsigned overflow.
2002-09-17 18:33:55 +00:00
Martin Wilck 94638aa276 MSVCRT needs a public errno.h file. 2002-09-17 18:32:53 +00:00
Andriy Palamarchuk 26a776e9f8 Make LsaOpenPolicy return success. 2002-09-17 18:31:06 +00:00
Gyorgy 'Nog' Jeney c2c03b022d - Unicodeify control.
- use void instead of VOID.
- Pass infoPtr around instead of HWND.
- Implement most of the control.
2002-09-17 18:30:07 +00:00
Dimitrie O. Paun 1edcfe1fa9 - Optimize the heck out of Report drawing.
- A bit of organization, for sanity's sake.
- Many simplifications, cleanups, etc.
2002-09-17 18:29:17 +00:00
Francois Gouget bba4bb1bc4 Remove references to PCVOID and LPUINT.
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Sander van Leeuwen 6b25723cf7 Listview_ProcessLetterKeys: fixed never ending loop when end index is
zero.
2002-09-17 01:30:13 +00:00
Jerry Jenkins e944bbb954 Modified volume_effect8 for taking unsigned data as signed data, and
wodPlayer_WriteMaxFrags because of wrong data length which lead to
strange noise and volume control working incorrectly.
2002-09-17 01:29:26 +00:00
Jerry Jenkins 062425aee4 Added waveOutSetVolume when opening sound driver. Otherwise, there is
no sound if we use aRts.
2002-09-17 01:29:01 +00:00
Francois Gouget a258ab0fa7 Tests are regular Winelib applications and thus should not be compiled
with __WINE__.
2002-09-17 00:05:55 +00:00
Francois Gouget 71f8fc27e5 IDI_APPLICATIONW does not exist on Windows. Use IDI_APPLICATION
instead and cast to LPWSTR.
Fixed type cast warnings.
2002-09-17 00:05:34 +00:00
Francois Gouget 5e5f7bbb02 Change the #include order so that these tests compile on Windows. 2002-09-17 00:04:35 +00:00
Francois Gouget de0f015df0 Move all STATUS_* and RPC_NT_* to ntstatus.h as per Windows SDK.
Add some missing constants.
Include ntstatus.h in winnt.h.
2002-09-17 00:03:39 +00:00
Michael Stefaniuc 9d2b862883 Convert HRSRC to a void*. 2002-09-16 22:47:05 +00:00
Francois Gouget 3a8601948d NetpGetComputerName, SHCopyKeyA and SHRegGetPathA don't exist on all
Windows platforms -> use GetModuleHandle + GetProcAddress.
2002-09-16 22:45:22 +00:00
Martin Wilck 27a91c782e Fix MoveFileEx() flags in MSVCRT rename()/_wrename(). 2002-09-16 22:39:50 +00:00
Dimitrie O. Paun 31aefe4036 - Reorganization and cleanup of selection code.
- Complete rewrite of focus handling and drawing code.
- Many bugs fixed (including a serious memory corruption).
- Many performance fixes.
- Lots of cleanups, simplifications, etc.
- Documentation updates.
2002-09-16 22:37:40 +00:00
Alexandre Julliard ac7b9d3797 Implemented NtDuplicateObject. 2002-09-16 19:32:50 +00:00
Duane Clark ffd54a9be0 Wait for app to come up before attempting DDE connection.
PathIsURL should fail on text without a proper "scheme".
2002-09-16 19:27:51 +00:00
Dimitrie O. Paun 43baa0acd8 - Grand rewrite for {Get,Set,Insert}Item & Co.
- Many bugs fixed.
- Callback items are better supported.
- Improvements in rendering speed.
- Change VOID to void.
- Many code cleanups, and simplifications.
- Documentation updates.
2002-09-16 19:25:41 +00:00
Alexandre Julliard f2ef2c2bb2 Handle special registry root keys directly in advapi32, and avoid
using them in kernel and ntdll.
2002-09-13 21:42:28 +00:00
Alexandre Julliard fb40a72f8f Copied the registry functions needed by VMM into device.c and got rid
of memory/registry.c.
2002-09-13 18:52:57 +00:00
Alexandre Julliard dafbc3f73f Removed remaining references to advapi32 registry functions from
kernel functions.
2002-09-13 18:52:01 +00:00
Alexandre Julliard c227edc5c3 RtlFormatCurrentUserKeyPath: return path containing the user name
instead of .Default.
2002-09-13 17:45:07 +00:00
Guy L. Albertelli b9df08216a - Improve LVM_GETITEMRECT values for LVS_ICON style. Now mostly
correct (or at least matches native).
- Handle focused and selected large icon text better.
- Handle internal erase.
- Additional debugging code.
2002-09-13 17:41:32 +00:00
Alexandre Julliard 16a303b376 Replaced 'heap' .spec statement by a command line option.
Updated winebuild manpage.
2002-09-12 22:51:20 +00:00
Alexandre Julliard 3507999f3d Delete registry key at exit. 2002-09-12 22:29:58 +00:00
Alexandre Julliard ab910c5085 Fixed AssocCreate declaration. 2002-09-12 22:29:36 +00:00
Alexandre Julliard 1668870f38 Fixed warnings caused by new winternl.h. 2002-09-12 22:28:01 +00:00
Dimitrie O. Paun e54fdf2142 - Implement custom draw support.
- Fix thumb drawing.
- Some cleanups, reorganizations, etc.
2002-09-12 22:26:26 +00:00
Dimitrie O. Paun 1da4ea287d Fix a bunch of bugs related to scrolling. 2002-09-12 22:26:08 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Alexandre Julliard a9298731fa Fixed requested access rights in RegDeleteKey[AW]. 2002-09-12 20:47:14 +00:00
Alexandre Julliard 5587d39e9c Fixed possible infinite loop in delete_key. 2002-09-12 20:46:06 +00:00
Patrik Stridvall 7e252cb5ef Fixed C++ comments. 2002-09-12 20:45:22 +00:00
Dimitrie O. Paun ee3fdd8038 - Complete rewrite of scrolling code: smaller, faster, cleaner.
We now properly scroll the window, rather than invalidating it on
  every scroll action.
- A bug or two got squashed.
- Many code cleanups, simplifications, etc.
- Some documentation updates.
2002-09-12 18:10:41 +00:00
Jon Griffiths 353ce51be7 Make hex digits static const & share them. 2002-09-12 18:03:11 +00:00
Jon Griffiths f5b34b5b69 Implementation and test for SHCopyKeyA/W. 2002-09-12 18:02:14 +00:00
Martin Wilck 2b54cf91fc Fix the behavior of GetOverlappedResult() and WSAGetOverlappedResult()
with non-manual-reset (auto-reset) events in the OVERLAPPED structures.
2002-09-12 17:56:30 +00:00
Alexandre Julliard dd0bdbe44e Removed the __uint* types from basetsd.h since they don't exist under
Windows. Fixed a few other issues with type definitions.
2002-09-12 17:29:12 +00:00
Dimitrie O. Paun c01202b00e Move the name directive from the .spec file to the Makefile. 2002-09-12 17:24:14 +00:00
Marcus Meissner 228a2b3ae5 New CUPS libraries return "none" as default printer instead of NULL. 2002-09-12 00:52:59 +00:00
Dimitrie O. Paun f476a0fbdc Make all spec files grep-able. 2002-09-12 00:52:39 +00:00
Dimitrie O. Paun 0c6dd5b9e0 Greatly improved drawing code: eliminates all flicker, faster, cleaner
tics drawing, better tooltip positioning, code cleanups and
simplifications.
2002-09-12 00:51:29 +00:00
Dimitrie O. Paun 318817f723 - Rewrite the drawing code. It now is much smaller, easier to follow,
and faster. Moreover, it now supports the dwRop operation, and it is
  in good shape to support the missing features.
- Draw the dragged image semi-transparently (will work when we support
  alpha blending).
2002-09-12 00:51:09 +00:00
Andriy Palamarchuk b812c90c2a Implemented buffer management functions, a couple of workstation
information functions, created conformance tests.
2002-09-11 02:35:17 +00:00
Andriy Palamarchuk 025b52d950 A few more conformance tests for heap memory allocation. 2002-09-11 00:48:47 +00:00