Commit Graph

4972 Commits

Author SHA1 Message Date
Alexandre Julliard 14a22702ac Added definitions for a couple of stub functions that we import so
that we don't import stubs directly.
2002-11-27 20:25:12 +00:00
Patrik Stridvall 6cd866b0e6 Fixed some issues found by winapi_check. 2002-11-27 20:21:24 +00:00
Jukka Heinonen 3546290285 Moved handlers for int25 and int26 to winedos. 2002-11-27 20:18:50 +00:00
Dimitrie O. Paun d2e881d543 - Typesafe parameters from TREEVIEW_NotifyFormat.
- Rewrite TREEVIEW_NotifyFormat.
- Fix several invocations of TREEVIEW_SendTreeviewNotify.
2002-11-27 20:15:49 +00:00
Vincent Béron ea966aa6d3 Fix for implicit declaration of abs. 2002-11-27 20:14:45 +00:00
Vincent Béron ca7bce5960 Fix for deprecated use of label at the end of compound statement. 2002-11-27 20:14:32 +00:00
Bill Medland 5a29089727 Correct GetNumberFormatA for zero decimals and for zero grouping. 2002-11-27 20:13:22 +00:00
Steve Lustbader a2e1222486 Stubs for CreateTimerQueue and DeleteTimerQueueEx. 2002-11-25 20:51:31 +00:00
Steve Lustbader f1e1fd05eb Assorted Win2k/WinXP stubs. 2002-11-25 20:50:53 +00:00
Stefan Leichter a5d7fbfb10 Converted implementation of _lseek to _lseeki64, implemented _lseek by
calling _lseeki64.
2002-11-25 20:50:01 +00:00
Mike McCormack 11f4b44451 Implemented registry change notifications. 2002-11-25 02:47:32 +00:00
Andreas Mohr 1e6258fca5 Added the missing cx member to the MyDLGITEMTEMPLATEEX struct. 2002-11-25 02:45:19 +00:00
Stefan Leichter b88a9d5399 Converted implementation of _stat and _fstat to _stati64 and
_fstati64.
Implemented _stat/_fstat by calling _stati64/_fstati64.
2002-11-25 02:44:34 +00:00
Jason Edmeades 0ba86d81fe Add support for VarAnd between integers. 2002-11-25 02:42:33 +00:00
Lionel Ulmer dd738eab07 - Prevent the backbuffer to also have the frontbuffer flag set.
- Log the Locking flags.
- Print symbolic name (if any) of zero values for bit fields (thanks
  Andi).
2002-11-25 02:42:04 +00:00
Alexandre Julliard 2696ae4c4b Moved some GetThreadTimes tests out of the todo block. 2002-11-25 01:34:23 +00:00
György 'Nog' Jeney 6f3015b8ee - Move SetSystemTime, GetTimeZoneInformation and
SetTimeZoneInformation implementation to ntdll.
- Docu updates.
2002-11-25 01:12:39 +00:00
Aric Stewart eb56d81956 LVN_GETDISPINFO seems to always be Ansi. 2002-11-25 01:11:11 +00:00
Jukka Heinonen 98058eb14d Moved handlers for int11, int15 and int5c to winedos. 2002-11-24 22:34:04 +00:00
Lionel Ulmer 710b86e43e - add implementation for FindDevice function
- some miscellaneous clean-ups / additions
2002-11-24 22:33:41 +00:00
Alexandre Julliard 7791570139 Added CS_DBLCLKS so that systray receives double clicks. 2002-11-24 22:16:29 +00:00
Jukka Heinonen 5d3b7e64ec VGA text mode no longer flickers and it is much faster.
VGA text mode is now initialized earlier.
VGA text mode is now emulated even without console.
2002-11-24 22:15:56 +00:00
Bill Medland 6c5e2b6703 Correct UnhookWindowsHook: clear the handle so that the server doesn't
try to use it.
2002-11-24 22:15:01 +00:00
Christian Costa 774c5f77db Reenable OpenGL surface's flip method.
Reenable execute buffers.
Some bug fixes.
2002-11-24 22:14:40 +00:00
Jens Hoffmann 97bd11de89 Pass correct instance in keyboard_hook setup. 2002-11-24 22:14:08 +00:00
Jukka Heinonen ab163db7c0 Move int2f handler to winedos.
Clean winedos headers a bit.
2002-11-23 02:23:54 +00:00
Alexandre Julliard 547cdc2b02 Made gdi compile with -DSTRICT. 2002-11-22 22:16:53 +00:00
Alexandre Julliard 6c428e5c07 Fixed a number of -DSTRICT issues. 2002-11-22 21:58:03 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard a8a422f70d Fixed more -DSTRICT issues. 2002-11-22 20:43:01 +00:00
Alexandre Julliard 45078fb008 Properly split the 16-bit versions of GrayString and TabbedTextOut. 2002-11-22 20:41:17 +00:00
Alexandre Julliard 7ef66af34a Moved some more 16-bit functions to user16.c.
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Alexandre Julliard 8710a79d54 Compile ole32 with -DSTRICT. 2002-11-22 04:43:02 +00:00
Johan Dahlin 991fd85d2f Make shell32 compile with -DSTRICT. 2002-11-21 23:56:42 +00:00
Andrew John Hughes d83d2d26f6 Make commdlg compile with -DSTRICT. 2002-11-21 23:55:10 +00:00
Marcus Meissner 5163752e8e Handle the COORD <-> DWORD conversion the canonical way. 2002-11-21 23:45:31 +00:00
Steve Lustbader 24677dd4d9 Have PostMessage call PostThreadMessage when hwnd is NULL. 2002-11-21 23:44:58 +00:00
Michael Stefaniuc 28a632a830 Some -DSTRICT fixes. 2002-11-21 21:50:04 +00:00
Lionel Ulmer 43c3dc4d33 - Clean up all the D3D COM handling (but the underlaying code is still
as ugly as before).
- Handle properly (ie as on real Windows) negative values in
  rectangles during blitting.
2002-11-21 21:04:16 +00:00
Steve Lustbader 361b9e8763 Stub for SetDCBrushColor. 2002-11-21 03:56:29 +00:00
Alexandre Julliard 1550044e5d Add -lc when linking dlls to avoid warnings on FreeBSD. 2002-11-21 03:47:45 +00:00
Andrew John Hughes ed800c69c8 Build ntdll with -DSTRICT. 2002-11-21 03:45:01 +00:00
Jukka Heinonen 1a665058e8 Removed last users of msdos/interrupts.c. 2002-11-21 00:02:09 +00:00
Alexandre Julliard 14e68ba7fe Added support for system-wide hooks. 2002-11-20 19:54:32 +00:00
Alexandre Julliard 910aebbc8e Removed -noimport on functions that are forwards to ntdll.
Added -noimport on functions that directly call the libc equivalent.
2002-11-20 19:52:14 +00:00
Tisheng Chen 80a6620815 Added Simplified Chinese support. 2002-11-20 19:47:44 +00:00
Eric Pouech 7c59874250 No longer using Win32 API relative to 16 bit subsystem for the 32 bit
part.
2002-11-20 19:47:08 +00:00
Eric Pouech f086286d4f Better support for multiple midi devices on the OSS interface. 2002-11-20 19:46:35 +00:00
Jukka Heinonen 56dff0d4df Remove some Win32s specific code. 2002-11-20 19:40:12 +00:00
Jukka Heinonen 1a6afad1a4 Removed obsolete code. 2002-11-20 19:39:11 +00:00
Alexandre Julliard 083b0beb0b Implemented some ismbc* functions (based on a patch by Greg Turner). 2002-11-19 00:52:38 +00:00
Patrik Stridvall d1447faaec Added stub implementation of cabinet.dll. 2002-11-19 00:47:12 +00:00
Alexandre Julliard a9135e8333 Removed support for 'rsrc' spec file statement. 2002-11-18 23:16:09 +00:00
Vincent Béron 4162abbaf4 Get rid of the vararg and generic stuff. 2002-11-18 23:13:05 +00:00
Vincent Béron 2b226866e3 Added netdb.h protection. 2002-11-18 23:12:15 +00:00
Jukka Heinonen a9fecb90c4 Removed last user of msdos/int1a.c. 2002-11-18 23:11:18 +00:00
Jukka Heinonen 02e177759d Removed obsolete INT_Int31Handler. 2002-11-18 22:53:38 +00:00
Alexandre Julliard bb0fd59674 Setting the horizontal scrollbar can change the values for the
vertical one so make sure we compute them separately.
2002-11-18 19:51:11 +00:00
Marcus Meissner d0aef218a0 Fixed strict aliasing problem in RtlEnlargedUnsignedDivide. 2002-11-18 19:49:18 +00:00
Dimitrie O. Paun 0fe326c499 Use DeleteDC instead of DeleteObject to free HDCs (spotted by Dietrich
Teickner <Dietrich_Teickner@t-online.de>).
Clear the imagelist structure on deletion, as some stupid apps free
imagelists multiple times.
2002-11-18 19:45:22 +00:00
Ryan Cumming 42867265ca - Move StgIsStorageFile16's implementation to StgIsStorageFile; port
it to Win32.
- Move StgIsStorageFile from storage.c to storage32.c.
- StgIsStorageFile only returns S_OK, STG_E_FILENOTFOUND, and S_FALSE.
- StgIsStorageFile doesn't check if a file is large enough to be a
  storage file, it only checks for the presence of the 8-byte magic.
2002-11-18 19:43:58 +00:00
Alexandre Julliard 9f029b7d5e Warning fixes. 2002-11-15 04:17:00 +00:00
Lionel Ulmer 56ab2b3e91 Load OpenGL library dynamically from x11drv. 2002-11-15 04:16:38 +00:00
Ryan Cumming 4cda16e03b Implemented GetFileSizeEx (based on a patch by Steve Lustbader). 2002-11-15 04:12:10 +00:00
Jukka Heinonen d41581dbde DeviceIoControl now calls winedos interrupt handlers.
Fixed RawModeSwitch.
2002-11-15 01:35:52 +00:00
Huw Davies bc71031240 Proper handling of SetTextCharacterExtra. 2002-11-15 01:02:16 +00:00
Martin Wilck 6d886a52b3 - Allow setting NetBIOS ComputerName through registry.
- Keep old behavior as default, using new config option to change.
- Implement SetComputerName(), SetComputerNameEx(),
  GetComputerNameEx().
- ComputerName initialization moved to kernel32.
2002-11-15 01:01:47 +00:00
Mike McCormack 40f81e7cc3 Partial implementation of RtlDosPathNameToNtPathName_U. 2002-11-15 01:00:08 +00:00
Patrik Stridvall e1e063d788 Made tests compile on Windows. 2002-11-15 00:02:51 +00:00
Marcus Meissner 095a5f4d40 Also silence IShellLinkA_fnSetShowCmd. 2002-11-15 00:02:36 +00:00
Huw Davies a4c3ed02ee Implemented Escapes *_PATH and POSTSCRIPT_IGNORE. 2002-11-15 00:02:13 +00:00
Huw Davies 94705862d6 Client side render fonts for XServers without the Render extension
using X11 core requests.
2002-11-14 22:31:34 +00:00
Alexandre Julliard 3f61afbbc8 Added ReleaseDC function to the USER driver interface. 2002-11-14 22:30:20 +00:00
Huw Davies 0446f54694 We need to compare the world transforms (at least the 4 scaling
elements) when we accept a font from the cache.
Get the correct values for the underscore size and position.
Added a missing closedir().
2002-11-13 23:54:50 +00:00
Huw Davies 97aed7a5dd Fix PSDRV_DrawArc to work properly with logical coords. 2002-11-13 23:52:29 +00:00
Huw Davies 5d275962eb Instead of trying to download the Type 42 glpyh metrics incrementally
(which most printers don't seem to understand), we'll download the
whole hmtx table in one go (sigh) unless it's larger than 64K in which
case we'll go back to using a Type 1 font.
2002-11-13 23:51:44 +00:00
Huw Davies e24ed54029 We can't cache the unscaled font's hfont, since the mapping mode may
change.  This resulted in some glyphs being downloaded at the wrong
size.
2002-11-13 23:50:44 +00:00
Alexandre Julliard 1ccd27ae04 Updated dependencies. 2002-11-13 21:25:53 +00:00
Huw Davies fd74cc4919 Zero out the returned LINETRANSLATECAPS structure.
Read country list from the registry.
Add a load of countries to winedefault.reg.
2002-11-13 21:25:34 +00:00
Mike McCormack a021db7190 Send a CDN_FILEOK in FILEDLG95_OnOpenMultipleFiles.
Restructure the handling of Custom dialog notifications.
2002-11-13 21:21:41 +00:00
Ulrich Czekalla fbf98737d2 - Add support for multiple image lists.
- Add TBN_INITCUSTOMIZE notification.
- Correctly populate TBN_QUERYDELETE.
- Support TBN_GETBUTTONINFOW.
2002-11-13 21:21:03 +00:00
Huw Davies 80ffa243d8 Use iso8859-15 on European keyboards. 2002-11-13 19:46:08 +00:00
Aric Stewart cdb9be7ba9 Work with the correct subkey with loading keys. Not a true fix to the
LoadKey/SaveKey situation.
2002-11-13 19:45:27 +00:00
Mike McCormack 2d106a5706 Fix a few GDI memory leaks. 2002-11-13 19:43:53 +00:00
Mike McCormack 947a74f40d Add stubs and declarations for WSAInstallServiceClassA/W. 2002-11-13 19:42:23 +00:00
Huw Davies a3f03e1cd2 Add a counter to keep track of the number of outstanding async
requests.  This gets around a problem where a SetEvent could be called
before a previous event had been dealt with.
2002-11-13 19:40:50 +00:00
Huw Davies 8d74ef1030 Check the return value of ImageList_GetImageInfo before adjusting the
size.
2002-11-13 19:39:09 +00:00
Huw Davies ac2a662a64 Reduce the maximum length of debug strings to 80 characters. 2002-11-13 19:38:17 +00:00
Marcus Meissner 94c7fa702d Do not define MZ_SUPPORTED if we do not have sys/vm86.h for all the
struct definitions.
2002-11-13 19:37:24 +00:00
Marcus Meissner d5ea547d80 Only include curses headers if we are using curses at all. 2002-11-13 19:37:10 +00:00
Alberto Massari 1a4f5cff4e ITypeInfo::Invoke now is able to invoke a function even when it is
provided with a byref argument.
2002-11-13 19:36:57 +00:00
Alexandre Julliard 2b6eafa0f9 Fixed data copying in msvcrt_argvtos (spotted by bill@taniwha.org). 2002-11-13 04:20:54 +00:00
Shachar Shemesh b61fd42e4d - Added support for CF_ENABLETEMPLATEHANDLE.
- Revised the FIXME on unsupported flags to not reported the flags now
  turned supported.
2002-11-13 04:08:57 +00:00
Alberto Massari b09eef23b3 Added stubs for IsHostInProxyBypassList and GetUrlCacheEntryInfoExA. 2002-11-13 04:08:26 +00:00
Jukka Heinonen 416c2aeb00 Move simple interrupt handlers to winedos. 2002-11-12 23:29:48 +00:00
Marcus Meissner 6f21fe0044 Silence IShellLink::SetShowCmd for the case we support. 2002-11-12 23:25:33 +00:00
Alberto Massari 43662153c0 The already implemented function swscanf was missing an entry. 2002-11-12 23:20:31 +00:00
Marcus Meissner f061f76704 Do not link against -lcups directly, but dynamically load it if
present (just like freetype etc.)
2002-11-12 02:22:24 +00:00
Robert Shearman bd4a385c7e First of tests for the Rtl* string manipulation functions. 2002-11-12 02:18:10 +00:00
Robert Shearman 59e81ec15a Implemented RtlUnicodeStringToInteger. 2002-11-12 02:17:34 +00:00
Jason Edmeades fcb753ee26 - Fix bug in multitexturing introduced during dummy texture changes.
- Additional traces.
2002-11-12 02:14:13 +00:00
Alberto Massari 544efc84f1 Implemented body of HGLOBALStreamImpl::Clone. 2002-11-12 02:13:49 +00:00
Alberto Massari d476a5ad31 Added HttpOpenRequestW, HttpQueryInfoW, HttpSendRequestW. 2002-11-12 02:13:04 +00:00
Ryan Cumming c4aa073705 Add test for DeleteFileA with empty paths. 2002-11-12 02:11:52 +00:00
Patrik Stridvall 9398d9c129 Updated the generated tests. 2002-11-12 01:13:10 +00:00
Patrik Stridvall ced69a9cad Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-12 01:05:00 +00:00
Marcus Meissner dbebcffb6f Added partial implementation of ITypeInfo::GetDllEntry(). 2002-11-11 22:24:31 +00:00
Lionel Ulmer b103f7b679 Proper logging of DDSCAPS / DDSCAPS2 structures. 2002-11-11 22:23:10 +00:00
Eric Pouech b6aad50245 Implemented a Wine-only scheme for interprocess WinHelp message
passing.
2002-11-11 22:20:47 +00:00
Rolf Kalbermatter 91befd6902 Fix some NULL dereferencing. 2002-11-11 22:19:42 +00:00
Marko Kreen 971f3f3518 Clip bottom coordinates. 2002-11-11 20:26:33 +00:00
Dimitrie O. Paun e39e8a172b Rewrite make_ctests and runtest in shell. 2002-11-11 20:25:54 +00:00
Jukka Heinonen 69f74dbf0e Move all int31 functions to winedos.
Fix some obvious bugs in int31 functions.
2002-11-11 19:55:52 +00:00
Patrik Stridvall 9cec0a57b0 Fixed some issues found by winapi_check. 2002-11-11 19:55:33 +00:00
Marcus Meissner 09a49d4a17 Implemented OleLoadPictureEx. 2002-11-11 19:54:22 +00:00
Marcus Meissner 8e801e25f6 Silence one FIXME(). Implement ITypeInfo::GetDocumentation for
variable descriptions.
2002-11-11 19:54:04 +00:00
Eric Pouech 689312b15e Now properly unloading multimedia drivers when winmm unloads. 2002-11-11 19:53:01 +00:00
Shachar Shemesh 9ce27aa325 - Changed all numeric resources in ChooseFont to labels for better
readability.
- Changed all handling of stc6 (1093) to atc5 (1092) so that will be
  compatible with Windows resource numbers.
- Added code to load the user's resources rather than our own if
  CF_ENABLETEMPLATE is passed in "flags".
2002-11-08 18:56:46 +00:00
Juraj Hercek 386d51d1b6 Fixed bug in context registers, added HANDLER_DEF and HANDLER_CONTEXT
macros.
2002-11-08 18:54:10 +00:00
Marcus Meissner 727c31d7a0 Only enable VM86 mode if we have the <sys/vm86.h> include file. 2002-11-08 18:53:32 +00:00
Marcus Meissner d0a58e218a New structures: RASIPADDR, RASDEVINFO, RASENTRY.
New stubs: RasSetEntryProperties.
RasEnumDevicesA enhanced.
2002-11-08 18:53:19 +00:00
Alberto Massari ded2b88e06 The object returned by IEnumFORMATETC::Clone should have the same
cursor position of the source object.
2002-11-08 18:52:52 +00:00
Alberto Massari d9159093a5 Avoid crashing when releasing an NdrCStdStubBuffer that had been
previously disconnected.
2002-11-08 18:52:34 +00:00
Ryan Cumming 1bc18f3da7 Remove OLE_GetFormatA, reimplement GetDateFormatA and GetTimeFormatA
as wrappers around their Unicode versions.
2002-11-08 18:51:56 +00:00
Marcus Meissner 1bd4bbb569 Draft implementation of DispCallFunc. 2002-11-08 18:51:28 +00:00
Alexandre Julliard ac36f95082 Disable address space limit check on non-i386 platforms. 2002-11-06 22:33:17 +00:00
Dimitrie O. Paun add721769b Do not draw the text of the item being edited. 2002-11-06 22:32:00 +00:00
Dimitrie O. Paun c6ff9064d0 Fix the 'jumping selection' bug (#1108).
Misc small cleanups.
2002-11-06 22:01:56 +00:00
Patrik Stridvall 74476416b0 Updated the generated tests. 2002-11-06 21:59:15 +00:00
Greg Turner b9ae9eca13 - Remove stupid indentations from trace msgs.
- Update the rpc TODO list a bit.
- Add some constants for winapi_check.
- Nil pointer support for some UUID functions (spotted by Olivier
  Evalet).
2002-11-06 21:58:21 +00:00
György 'Nog' Jeney 39433b9481 - Fix RtlTimeToTimeFields to actually work.
- Remove comments about leap seconds, windows doesn't take that into
  account.
2002-11-06 21:57:23 +00:00
Jukka Heinonen fe2acc1389 Start using winedos handlers for all interrupts. 2002-11-06 21:56:52 +00:00
Alexandre Julliard 910851a20e Added winebuild -e option to specify the entry point and removed the
'init' spec file directive.
Winebuild long options now use a more standard double dash format
(older format still supported for backwards compatibility).
2002-11-06 20:02:59 +00:00
Patrik Stridvall 517a93afe3 Fixed some issues found by winapi_check. 2002-11-06 19:57:49 +00:00
Jason Edmeades ca6bcdcc99 - Stencil mapping now works (it helps to actually allocate a stencil
buffer).
- Texture mapping corrected if no real texture bound.
- Code now detects which opengl extensions are present - to be
  extended later.
- More debug tracepoints.
2002-11-06 19:56:32 +00:00
Jukka Heinonen 23be4ff094 Move most int31 functions to winedos.
Add DPMI32 fixes.
2002-11-06 19:54:39 +00:00
Matthew Bloch c9df52c381 Vtable fixes. 2002-11-06 19:53:45 +00:00
Marcus Meissner 54c023f1b8 Added RasValidateEntryNameA stub. 2002-11-06 19:52:48 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard cd26935c0f Warning fix. 2002-11-04 23:51:58 +00:00
Ryan Cumming 937d0b2411 Handle FORMAT_MESSAGE_FROM_HMODULE and FORMAT_MESSAGE_FROM_SYSTEM both
being set at once.
2002-11-04 23:49:53 +00:00
Francois Gouget 4ce28377f7 Test sound format support with waveOutGetDevCaps and waveOutOpen. 2002-11-04 23:47:49 +00:00
Zoly Nagy 9560ece6c4 Added/upgraded Hungarian resources. 2002-11-04 22:45:22 +00:00
Patrik Stridvall ba9dc78e39 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-04 22:43:24 +00:00
Patrik Stridvall df7ffb8017 Updated the generated tests. 2002-11-04 22:40:40 +00:00
Francois Gouget ffd98e9c59 OSS_RawOpenDevice should return an error if the format is not
supported.
2002-11-04 22:39:19 +00:00
Ryan Cumming 1cd8154045 Add stub for RasEnumConnectionsW. 2002-11-04 22:38:45 +00:00
Marcus Meissner 8712174c0d Handle errors in std marshaller better, do not crash.
Added another error message if some program tries to marshal
IOleObject.
OleCreate() should be able to use Local Servers too (it can't as of
now, just for debugging).
2002-11-04 22:38:26 +00:00
Marcus Meissner 0f53dbf32b Specify existing extra size of WINEPS Devmode structure.
Make ExtDeviceMode16 in WINEPS return the correct size.
2002-11-04 22:37:57 +00:00
Jukka Heinonen 3c9d9182eb Ignore VCPI installation checks. Handle XMS query any extended memory
function. Add stubs for get/set exception handler vector.
2002-11-04 22:35:36 +00:00
Jukka Heinonen 6a216d0eb7 When returning from 32-bit default interrupt handlers, eflags are now
returned correctly.
2002-11-04 22:35:15 +00:00
Lionel Ulmer 52b93b6ae4 Additional exported capabilities to please some picky games. 2002-11-04 22:34:25 +00:00
Lionel Ulmer 5ecd8903e2 - only compare the first WORD in the DDSCAPS2 structure if no DX7
- add some TRACEs
2002-11-04 22:34:11 +00:00
Lionel Ulmer f18aec26c4 Augment the DDSCAPS2 dumping routine with new caps. 2002-11-04 22:33:53 +00:00
Alexandre Julliard 6bd508f82c Added clobber lists to the inline assembly functions. 2002-11-01 01:50:51 +00:00
Matthew Davison eb53c02579 Fixed some handle conversions for -DSTRICT. 2002-11-01 01:50:06 +00:00
Greg Turner 2339b83ef4 Fix some problems found by winapi_check. 2002-11-01 01:47:43 +00:00
Greg Turner d4730de333 Fix stupid clone of broken macro, found by Marcus. 2002-11-01 01:47:04 +00:00
Stefan Leichter 0d2fa77c41 Remove quotes from filename before calling LoadLibrary in DoLaunch. 2002-11-01 01:46:02 +00:00
Alberto Massari d7e284781e - Fixed typo in SHGetFileInfoA.
- Properly convert return values back to Unicode in SHGetFileInfoW.
2002-11-01 01:45:37 +00:00
Greg Turner eaa53a05b0 Remove #ifdef WINNT conditionals; just use the NT definitions. 2002-10-31 23:36:07 +00:00
Greg Turner f71a83a1e9 - Use appropriate per-platform NDR_LOCAL Data Representation.
- Minor housekeeping changes.
2002-10-31 23:35:46 +00:00
Marcus Meissner 93e366e6ba Escape \ in path and arguments.
Use UNIX style work_dir, not windows dir.
2002-10-31 23:35:20 +00:00
Greg Turner 3eafbfcd56 - Fix offset bug in the conformant string unmarshall routine.
- Fix discrepancy between headers and implementation of
  I_RpcBindingSetAsync when compiling under WINNT.
- Eliminate race conditions in the relationship between "listen_count"
  and "std_listen" in rpc_server.h.
- Code-stubs for RpcServerUnregisterIf, RpcServerUnregisterIfEx.
- Attempt to implement RpcMgmtStopServerListening (definitely not
  happy just yet).
- RpcServerUnregisterIfEx wasn't xp-sepcific after all; this leads me to
  suspect there are more such mistakes in the spec-file comments, but I
  haven't looked into it or fixed them yet (coming soon).
- Cleanups, trace-enhancements, etc.
2002-10-31 22:45:12 +00:00
Alexandre Julliard cf2e57d0c7 Split out some more 16-bit code. 2002-10-31 22:06:53 +00:00
Marcus Meissner 306a60d162 _seh_longjmp_unwind is i386 only for now. 2002-10-31 22:04:53 +00:00
Greg Turner dc3e6c571b Rename the *_32_READ macros to *_UINT32_READ for clarity. 2002-10-31 22:04:08 +00:00
Carlos Lozano 5347222b23 lParam was not properly sent in COMBOEX_DrawItem. 2002-10-31 22:02:47 +00:00
Dimitrie O. Paun 40dab82a13 Append columns with large column indices. 2002-10-31 22:01:33 +00:00
Jukka Heinonen c1c346ae0d Prevent crashes when DOS program tries to access console and no
Windows console is available.
2002-10-31 03:41:20 +00:00
Alexandre Julliard e0315e4433 Converted x11drv to -DSTRICT. 2002-10-31 02:38:20 +00:00
Alexandre Julliard 7a1cb65cb9 Moved 16-bit definitions out of mmddk.h into mmsystem16.h. 2002-10-31 02:23:43 +00:00
Alexandre Julliard 9376fb30c5 Fixed a number of -DSTRICT warnings. 2002-10-31 02:12:18 +00:00
Alexandre Julliard 5ad69f19bf Added support for nested exceptions happening inside a catch block. 2002-10-31 02:10:15 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Eric Pouech ac5de27d1c winmm/mmsystem now compiles with -DSTRICT. 2002-10-31 01:02:41 +00:00
Dimitrie O. Paun 4bbd7b3e26 Fix some treeview notification codes between ANSI/Unicode mode. 2002-10-31 00:54:53 +00:00
Eric Pouech 7efe3ff0d8 Return correct values for wave(In|Out)GetPosition even if playing non
PCM files.
2002-10-31 00:54:27 +00:00
Eric Pouech 7656b1457a Split between 16 / 32 bit code. 2002-10-31 00:53:57 +00:00
Alexandre Julliard 1e85f70899 Added winedos16.spec.c. 2002-10-30 23:53:49 +00:00
Uwe Bonnes a768fa3119 First version of msvcrt scanf test. 2002-10-30 23:49:03 +00:00
Michael Stefaniuc ec5612ee1d Some more fixes for compiling the user dll with -DSTRICT. 2002-10-30 23:45:38 +00:00
Jukka Heinonen eb2a39e460 Add winedos16.dll which contains 16-bit protected mode interrupt entry
points.
2002-10-30 23:40:13 +00:00
Carlos Lozano dc60324d9a Fixed SHGFI_SYSICONINDEX flag handling. 2002-10-30 23:39:32 +00:00
Alexandre Julliard 0cf753385b Moved the test routines from wtmain.c into wine/test.h so that they
can be compiled separately with different flags for each dll.
2002-10-30 20:36:21 +00:00
Marcus Meissner f99c03b972 Fixed LITTLE_ENDIAN_32_READ macro to at least compile. 2002-10-30 20:26:51 +00:00
Martin Wilck 9fc8b115c2 - Define SOCKET as UINT_PTR for Win64 (thanks to P. Stridvall).
- Make winsock compile without WINE_NO_STRICT.
2002-10-30 20:26:32 +00:00
Marcus Meissner 0d238f7150 Powerpc instruction pointer is Iar, not Eip. 2002-10-30 20:25:55 +00:00
Eric Pouech 10d312eac1 wavemap now compiles with -DSTRICT. 2002-10-30 20:25:38 +00:00
Alexandre Julliard 0d6eba78ed Only run the 32-bit checklink for dlls that contain 16-bit files. 2002-10-29 23:14:11 +00:00
Jukka Heinonen 6f6abac4f1 Modify winedos interrupt handlers so that they work with PM
interrupts.
Add forwarding functions for handlers in other DLLs.
Make DOSVM_GetBuiltinHandler use static table instead of
GetProcAddress.
2002-10-29 23:09:30 +00:00
Rein Klazes d9310e76c4 Fix for listview wheelmouse message handling. 2002-10-29 23:08:33 +00:00
Greg Turner 70bb478134 - more comments and comment-cleanup
- attempt to implement NdrConformantStringMemorySize
- fix NdrConformantStringUnMarshall
- w00t!
2002-10-29 23:07:33 +00:00
Eric Pouech f97ba160f9 Moved 16 bit joystick function to mmsystem.c. 2002-10-29 22:02:57 +00:00
Eric Pouech 50ade2b33d - internal renaming (no longer using MMSYSTEM prefixes for WINMM only
functions)
- moved time 16/32 conversions functions to 16 bit source files
- final Makefile changes (16 bit part can now really be not compiled
  when -disable-win16 is requested)
2002-10-29 22:02:00 +00:00
Eric Pouech 8b7a45f4f7 - let all time related functions make use of low level drivers 16 bit
functions
- some renaming (prefixing internal time functions with TIME)
2002-10-29 21:59:24 +00:00
Eric Pouech 5942f98f92 All low level driver functions (internals for wave, midi, mixer and
aux) are now cleanly separated.
2002-10-29 21:55:25 +00:00
Eric Pouech 9becf85a2c All MCI functions are now cleanly separated. 2002-10-29 21:53:44 +00:00
Eric Pouech b4df16b3b2 All driver functions are now properly separated. 2002-10-29 21:51:24 +00:00
Eric Pouech 74b20fb8d8 - revisited mmsystem/winmm loading mechanism
- added WINMM_CheckMMSystem function (helps 32 bit code detect
  presence of our own mmsystem DLL)
- some internal renaming (MULTIMEDIA => WINMM)
2002-10-29 21:49:35 +00:00
Eric Pouech 2b0e56c8d8 Now only storing thread id for mci tasks (16 bit htask is now gotten
from WOW functions).
2002-10-29 21:44:23 +00:00
Alexandre Julliard 0b1a367b78 Removed a couple of no longer used queue functions. 2002-10-29 21:32:37 +00:00
Patrik Stridvall c72255c715 Fixed some issues found by winapi_check. 2002-10-29 21:31:26 +00:00
György 'Nog' Jeney 03d3d9de0b Separate out 16-bit ShellExecute function. 2002-10-29 21:30:01 +00:00
Sander van Leeuwen f9768f4792 Fixed font object leak in WM_SETFONT handler. 2002-10-29 21:28:37 +00:00
Jeff Smith 6f31013f7b Corrections to the Spanish keyboard layout. 2002-10-29 21:28:12 +00:00
Hagen Heiduck 97db7b45e4 Added WSASendDisconnect. 2002-10-29 21:27:20 +00:00
Patrik Stridvall 199acb77f1 Added some defines for compatibility with Windows headers. 2002-10-29 21:26:42 +00:00
Eric Pouech 6b2057174b Silence unneeded ERR while converting tasks. 2002-10-29 21:26:23 +00:00
Eric Pouech 5e81d9a7ba - finish mmio separation
- no longer storing function pointers in global IData
2002-10-29 21:26:00 +00:00
Dimitrie O. Paun 02af550a2a Send the right notification code (A/W) depending on the Unicode
setting.
2002-10-29 21:25:35 +00:00
Patrik Stridvall fc832f0fcf Fixed tests to compile with MS C on Windows. 2002-10-29 21:24:35 +00:00
Patrik Stridvall 7d226139e9 Updated the generated tests. 2002-10-29 21:24:09 +00:00
Jaco Greeff 8dc2b10a22 Made the reporting for the (current) unsupported flags in GenInstall16
more user-friendly, i.e. report per missing flag instead of DWORD value.
2002-10-29 21:23:04 +00:00
Alexandre Julliard 0286135de3 Rewrote hook support to store the hook chain in the server.
Split off 16-bit hook functions and re-implemented them on top of the
32-bit ones; system-wide 16-bit hooks are no longer supported at this
point.
2002-10-29 00:41:42 +00:00
Lionel Ulmer bdb44555a3 Raise an exception if any Wine or Winelib code does an assert. 2002-10-28 23:56:58 +00:00
Greg Turner 7ac58a4dc9 - Pull the buffer from the rpc message into the midl stub message
during RpcServerInitializeNew.
- Attempt to implement NdrConformantStringUnmarshall.
- More assertions.
- Comments and cleanups.
2002-10-28 23:53:23 +00:00
Greg Turner cbd5afd843 Add a bunch of stubs, all of which I presume to be WXP additions. 2002-10-28 23:52:42 +00:00
Andreas Mohr 90ce2c896f - Make int09 update the BIOS data segment's keyboard status flags
bytes, implement pause key handling.
- Let int16/02 read the keyboard status flags bytes instead of calling
  GetAsyncKeyState().
- Make the keyboard state buffer used for Get*Key*() reflect
  VK_L/RMENU properly.
- Small fixes.
2002-10-28 23:51:27 +00:00
Alexandre Julliard 26a470e1f0 set_main_item: ignore meaningless bits in stateMask for LVS_OWNERDATA
instead of failing.
2002-10-28 21:21:42 +00:00
György 'Nog' Jeney ae8b795fb2 Separate out 16-bit registry functions. 2002-10-28 21:15:19 +00:00
Greg Turner a215f6b21a - Clean up and add some comments.
- Add NDR Data representation constants.
- Propagate DataRepresentation into and out of packet headers.
- Implement NdrServerInitializeNew
2002-10-28 21:14:16 +00:00
Eric Pouech 1563fab4db Move low level multimedia message mapping out of 32 bit code. 2002-10-28 20:53:10 +00:00
Eric Pouech fdb623335a Move MCI message mapping out of 32 bit code. 2002-10-28 20:51:36 +00:00
Eric Pouech 894eedf5d3 Move driver message mapping out of 32 bit code. 2002-10-28 20:44:26 +00:00
Jason Edmeades 01878bbf22 Handle texture FVF formats when no texture is bound. 2002-10-28 20:41:23 +00:00
Greg Turner 6abd817d8e - Distinguish between actual paranoia and meaningful buffer space.
- No need to #undef BUFFER_PARANOIA here.
2002-10-28 20:40:59 +00:00
Dimitrie O. Paun 2d2e6acbbd We should always have a main item in report mode. 2002-10-28 20:40:21 +00:00
Dimitrie O. Paun 7e12841030 Properly fill lParam in NMLISTVIEW. 2002-10-28 20:38:39 +00:00
Dimitrie O. Paun 173d40a493 Fix crash-inducing typo/thinko. 2002-10-28 20:38:03 +00:00
Dimitrie O. Paun 5574e750c5 Mark immutable objects as const. Fix inconsistent *-style. 2002-10-28 20:37:28 +00:00
Dimitrie O. Paun f5221578f6 Add LVHITTESTINFO debug helper. More tracing. 2002-10-28 20:36:52 +00:00
Dimitrie O. Paun 17b97eb929 Despite what the docs say, we have to invalidate the list on
WM_SETREDRAW(TRUE).
2002-10-28 20:36:16 +00:00
Dimitrie O. Paun ccc8f7dca9 Eliminate flicker when resizing, docs updates. 2002-10-28 20:35:44 +00:00
Dimitrie O. Paun 19a1c42386 Cleanup, and simplification of UpdateSize. 2002-10-28 20:35:09 +00:00
Dimitrie O. Paun 9a9fcab763 Handle focus item properly in SetItemCount. 2002-10-28 20:34:34 +00:00
Dimitrie O. Paun f9e70d8b81 Remove only the necessary selections when setting the item count. 2002-10-28 20:34:00 +00:00
Dimitrie O. Paun 28a2f193a3 Rewrite of the SetItemCount: bugs got squashed,
LVSICF_{NOSCROLL,NOINVALIDATEALL} implemented.
2002-10-28 20:33:18 +00:00
Jukka Heinonen 7710b3c8f3 Add routines for manipulating protected mode interrupt handlers to
winedos dll. Add routine for checking if process is Windows process.
Fix DOSVM_IsDos32 interface. Move real mode interrupt handler
manipulation routines to interrupts.c.
2002-10-28 20:12:40 +00:00
Michael Stefaniuc 95591a6e90 Some fixes for the compilation of the user dll with -DSTRICT. 2002-10-28 20:11:40 +00:00
Jason Edmeades 37d0fe62d6 Add copyrects support. 2002-10-28 20:07:24 +00:00
Greg Turner fc55077e52 - Clean up and enhance some traces.
- Stubs for NdrConvert, NdrConvert2, and NdrServerInitializeNew.
2002-10-28 20:07:01 +00:00
Dimitrie O. Paun 61e8be88fa Add proper support for the SHCONTF_INCLUDEHIDDEN flag. 2002-10-28 20:06:14 +00:00
Matthew Davison 6b70aa81fd Made lzexpand compile with STRICT defined. 2002-10-28 20:05:55 +00:00
Eric Pouech cfcc9e1094 Fixed mciSendString debug reporting when an error occurs (spotted by
Erland Lewin).
2002-10-28 20:05:25 +00:00
Alexandre Julliard 48f860cbd9 Moved a few remaining 16-bit window functions to wnd16.c and moved it
to the C_SRCS16 sources.
2002-10-28 19:04:39 +00:00
Jason Edmeades ec7155b608 - Initialize the texture state information.
- Add dummy textures so texture operations which dont reference the
  texture can work.
- Support 2d and 3d textures properly.
- Reapply the texture state information as textures get set, as opengl
  stores the state along with the bound texture whereas directx uses the
  current state information during the draw stage.
- 3rd attempt to sort out lighting, for programs which dont set normals.
- Temporarily silence some unnecessary fixmes.
2002-10-28 19:00:23 +00:00
Carlos 5803819971 lParam was not properly sent in TTM_ADDTOOLW. 2002-10-28 18:50:36 +00:00
Carlos 392defd3ef lParam was not properly sent in CBEN_GETDISPINFOW. 2002-10-28 18:50:14 +00:00
Jaco Greeff aeef9b4f71 - Implementation of [Internet|Ftp]*W functions to extend (almost)
non-existant wide-character support.
- Moved some functions from "stub in wininet.spec" to "FIXME("STUB")"
  to allow for testing of changes.
2002-10-28 18:48:24 +00:00
Greg Turner c36d63f436 Fix endianness dependency in the (there is only one :) ) marshall
function.
2002-10-28 18:47:41 +00:00
Carlos d529402734 The function SHGetFileInfoA wasn't supporting the flag
SHGFI_USEFILEATTRIBUTES.
2002-10-28 18:47:15 +00:00
Greg Turner 0159c07011 Avoid X11 error during DGA detection. 2002-10-25 21:04:35 +00:00
Michael Stefaniuc 308e04fc61 Compile the kernel dll with -DSTRICT. 2002-10-25 21:02:30 +00:00
Greg Turner 461708c142 - Use memset instead of ZeroMemory, just to be consistent with Ove's
code.
- Add some assertions where assumptions are made (need way more).
- Plug the binding handle into the RPC_MESSAGE during NdrGetBuffer.
- Implement NdrSendReceive.
- Attempt to support client and server bindings in I_RpcSend[Receive].
2002-10-25 21:02:02 +00:00
Alberto Massari 1a7a947314 Don't touch the This pointer after it has been freed. 2002-10-25 21:01:29 +00:00
Alexandre Julliard 0c32905ccc Install the shell hook as a 32-bit hook. 2002-10-25 19:26:46 +00:00
Michael Stefaniuc cbacde5256 Compile the advapi32 dll with -DSTRICT. 2002-10-25 19:17:33 +00:00
Alexandre Julliard 9b5c3f939d Made the ntdll registry functions use HKEY instead of HANDLE. 2002-10-25 19:14:29 +00:00
Andreas Mohr 6e256c72fe - fix some pselling
- enhance some TRACEs
2002-10-25 19:09:02 +00:00
Greg Turner 4a37d84a9d - Make explicit some missing include dependencies.
- Implement NdrGetBuffer, NdrFreeBuffer, NdrConformantStringBufferSize
  and NdrConformantStringMarshall.
- Define the RPC_FC_C_CSTRING constant.
- Perhaps I don't want those MIDL_*_FORMAT_STRING structs, after
  all. Removed.
- Add RPC todo list.
- MIDL_STUB_MESSAGE.uFlags aren't.
- Comment out the NdrClientCall2 mock-up since that stuff is in the
  process of being implemented and might cause problems.
2002-10-25 19:03:43 +00:00
Bill Medland 9134f37e27 Fix OLE_GetFormatW so that GetDateFormatW works.
Rearranged for simplicity.
2002-10-25 19:02:26 +00:00
Michael Stefaniuc 9f12ba5056 Compile the ttydrv dll with -DSTRICT. 2002-10-25 19:00:49 +00:00
Eric Pouech 1e3e87d430 Simplify the global internal data handling. 2002-10-25 19:00:12 +00:00
Eric Pouech fb8bad49d9 Unify the constant used for error codes reporting mapping functions
success/failures.
2002-10-25 03:51:40 +00:00
Jason Edmeades 3f4d4dab65 Define the main directx8 entrypoint. 2002-10-25 03:51:00 +00:00
Michael Stefaniuc 331fb086be Some small cleanups. 2002-10-25 03:50:14 +00:00
Andreas Mohr 1b6f2574cd Tiny int17 printer fix. 2002-10-25 03:49:15 +00:00
Andreas Mohr be163bf73b Added CertOpenStore stub. 2002-10-25 03:48:49 +00:00
Dimitrie O. Paun 5a11b009f1 Do not invalidate list on WM_SETREDRAW.
Update size info even if redrawing is disabled.
Trivial cleanups, and some tracing.
2002-10-25 03:21:25 +00:00
Dimitrie O. Paun 221398344e We can avoid flicker on column resize only if it's left align. 2002-10-25 03:20:43 +00:00
Dimitrie O. Paun fa5b29acd3 Always draw the main item in full row select. 2002-10-25 03:20:03 +00:00
Dimitrie O. Paun f7441d00ed Use iterators to render over the columns, in report mode. 2002-10-25 03:19:24 +00:00
Dimitrie O. Paun 863d6a87f5 Small iterator-over-range[s] cleanup. 2002-10-25 03:18:47 +00:00
Dimitrie O. Paun 83679e6b88 Eliminate most of the flicker when resizing columns.
More debug tracing.
2002-10-25 03:18:07 +00:00
Dimitrie O. Paun ab97b86902 Fix subitem background color in full row select. 2002-10-25 03:17:36 +00:00
Dimitrie O. Paun b14c82a8b8 We should callback for inexistent subitems.
Do not store callback items for subitems, even if we're asked to.
Small cleanup.
2002-10-25 03:17:04 +00:00
Dimitrie O. Paun 16db256923 Fix crash when computing the item width of a report with no columns.
Override custom draw bkgnd color for selection items.
Fill background for all items that have a bkgnd colour.
2002-10-25 03:16:26 +00:00
Dimitrie O. Paun 3520c83275 Keep autoarranging items until one is moved. 2002-10-25 03:15:51 +00:00
Dimitrie O. Paun 01e82f2b27 Abstract autoarranging decision to a helper function. 2002-10-25 03:15:18 +00:00
Dimitrie O. Paun 5b8361463d Do not do screen work if refreshing is disabled.
Reimplement SetRedraw to cope with the changes.
2002-10-25 03:14:44 +00:00
Dimitrie O. Paun c4e45d7f94 Rewrite the UpdateScroll function: simpler, faster.
Add debugging helper for SCROLLINFO.
Fix potential bug in debugging helpers.
2002-10-25 03:14:06 +00:00
Michael Stefaniuc 9faec8a877 Compile the oleaut32 dll with -DSTRICT. 2002-10-25 03:12:50 +00:00
Michael Stefaniuc 79404213a2 Compile the shlwapi dll with -DSTRICT. 2002-10-25 03:12:32 +00:00
Michael Stefaniuc 789b4b4204 Compile the msvcrt dll with -DSTRICT. 2002-10-25 03:12:01 +00:00
Andreas Mohr ac4704842f Added some comments. 2002-10-25 03:11:15 +00:00
Greg Turner e033578a58 Implemented NdrClientInitializeNew. 2002-10-23 23:36:53 +00:00
Greg Turner c029f8c006 Whitespace cleanup. 2002-10-23 23:36:24 +00:00
Greg Turner 641f7fa3de Fixed a tiny trace bug. 2002-10-23 23:36:05 +00:00
Chris Morgan 23f9d682a1 Call CreateProcessA() when executing non-dos applications from a dos
application.
2002-10-23 23:35:34 +00:00
Vincent Béron d1d586e2a9 Bring some French resources in sync with English ones. 2002-10-23 23:34:32 +00:00
Michael Stefaniuc ca3dd3f4fb Compile the msvideo dll with -DSTRICT. 2002-10-23 23:33:21 +00:00
Dimitrie O. Paun 89ab25a737 Avoid division by 0 by initializing the item size in on creation.
Rename update_icon_size to set_icon_size, fix parameters order.
Assorted cleanups.
2002-10-23 23:32:50 +00:00
Dimitrie O. Paun 5ffde298fe Append to the end of the DPA, if insert index is too large. 2002-10-23 23:32:19 +00:00
Carlos 9fa51e4172 Fixed duplicated arrows in header control. 2002-10-23 23:31:35 +00:00
Dimitrie O. Paun b894605987 Fix thinko that slipped in with the prev patch (reenables refresh).
Mark a few things that needs looking at.
Small cleanup.
2002-10-23 22:32:25 +00:00
Dimitrie O. Paun 9cdcd44eaa Do not invalidate the window before the first paint job.
Assorted cleanups.
2002-10-23 22:31:47 +00:00
Dimitrie O. Paun f7051c88ae Use InvalidateItem instead of explicit InvalidateRect, it is cleaner,
and faster when redraw is disabled.
2002-10-23 22:31:13 +00:00
Dimitrie O. Paun c093196c05 Transform the invalidation macros to proper functions. 2002-10-23 22:30:39 +00:00
Dimitrie O. Paun bf46fab650 Delay some size computations until after first paint. 2002-10-23 22:29:47 +00:00
Rein Klazes 7d9b04dbe2 Reorganize the item size calculation (a bit simpler, and faster). 2002-10-23 22:28:44 +00:00
Rein Klazes 1fd077939f Search through all items when LISTVIEW_FindItemW is called with
LVFI_PARAM flag.
2002-10-23 22:28:03 +00:00
Dimitrie O. Paun bf761a331c Delete the items if we actually own them. 2002-10-23 22:25:42 +00:00
Dimitrie O. Paun 8f15b6e6b3 Do not callback to the parent for lParam when in LVS_OWNERDATA.
Docs update.
2002-10-23 22:25:10 +00:00
Jukka Heinonen eca6182749 Move interrupt emulation code from INSTR_EmulateInstruction to winedos
dll. Make CTX_SEG_OFF_TO_LIN work with 32-bit segmented pointers
common in DPMI32. Fix winedos initialization so that DOSMEM_Init(TRUE)
is only called when DOS executable is started.
2002-10-23 22:24:10 +00:00
Michael Stefaniuc 5a1ede3345 Compile the dplayx dll with STRICT defined. 2002-10-23 22:20:46 +00:00
Michael Stefaniuc 353529b2c8 - fix the "int format, HANDLE arg" type of warnings for comctl32
- compile the comctl32 dll with -DSTRICT
2002-10-23 22:19:10 +00:00
Michael Stefaniuc 85e40cf37a Add casts to compile with -DSTRICT. 2002-10-23 20:58:33 +00:00
Dimitrie O. Paun 5acd96bb4e Do not crash if callback text is not filled (behave like native).
Render report mode from top to bottom (easier on the eye).
Docs updates, type fixes, more traces.
2002-10-23 20:57:13 +00:00
Dimitrie O. Paun 6608328f76 Collect all bugs, missing features, etc in the header doc.
Minor cleanups.
2002-10-23 20:56:30 +00:00
Dimitrie O. Paun 9ff0da09ff Do not autoarrange if we insert/delete from the end of the list. 2002-10-23 20:55:05 +00:00
Dimitrie O. Paun c5da549d10 Rework SetItemPosition, bunch of bugs squashed in the process.
Complete icon alignment rewrite: cleaner, incremental, etc.
Completely avoid aligning all icons on every insert
  - icon placement is incrementally computed now: it's fast.
Small cleanups, docs update, etc.
2002-10-23 20:54:23 +00:00
Dimitrie O. Paun c5e2731939 Rename LISTVIEW_ITEM to ITEM_INFO for consistency.
Rename LISTVIEW_SUBITEM to SUBITEM_INFO for same reason.
Fix type in comment spotted by Bobby Bingham.
2002-10-23 20:53:42 +00:00
Alexandre Julliard a7062be9ba Moved network.c to 16-bit sources. 2002-10-23 20:22:53 +00:00
Patrik Stridvall cf07e10017 Don't use wine/unicode.h in the header files, include it directly
where needed instead.
2002-10-23 20:20:59 +00:00
Michael Stefaniuc f3d1893f80 Add needed casts for a "no warnings" compile of comctl32. 2002-10-23 20:19:22 +00:00
Patrik Stridvall fb1a572b64 Fix for platforms not supporting DOS mode. 2002-10-23 20:16:36 +00:00
Alexandre Julliard f871f2d528 Store thread id instead of queue handle in timer structure. 2002-10-23 18:56:34 +00:00
Alexandre Julliard d8bbcb2f23 Implemented GetWindowTask16 on top of GetWindowThreadProcessId.
Removed no longer used hmemTaskQ field in WND structure.
2002-10-23 18:56:02 +00:00
Patrik Stridvall 1298eb4053 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-10-23 18:50:10 +00:00
Michael Günnewig 2c8e149fe8 Added dialog for AVISaveOptions. 2002-10-23 18:47:51 +00:00
Michael Günnewig a060446e1d Implemented AVIBuildFilterW and AVISaveOptions. 2002-10-23 18:47:39 +00:00
Michael Günnewig d48feb246f Fixed bug that prevented ICCompressorChoose from working. 2002-10-23 18:47:20 +00:00
Patrik Stridvall ab974c310c Updated the generated tests. 2002-10-23 18:45:15 +00:00
Stefan Leichter 03adaea165 Do not break quoted strings in Control_DoLaunch. 2002-10-23 18:44:13 +00:00
Christian Neumair 513eb2a24a Collect all bugs, missing features, etc in the header doc. 2002-10-23 18:43:32 +00:00
Michael Stefaniuc ea335dd036 Compile the winspool dll with STRICT defined. 2002-10-22 00:47:33 +00:00
Michael Stefaniuc 46be38e8b8 Compile the tapi32 dll with STRICT defined. 2002-10-22 00:47:08 +00:00
Michael Stefaniuc 348ea6d295 Compile the psapi dll with STRICT defined. 2002-10-22 00:46:46 +00:00
Michael Stefaniuc 70e9a64c06 Compile the msacm dll with STRICT defined. 2002-10-22 00:46:23 +00:00
Michael Stefaniuc 6ff1325128 Compile the mpr dll with STRICT defined. 2002-10-22 00:45:56 +00:00
Michael Stefaniuc 9a7bc34c44 Compile the imagehlp dll with STRICT defined. 2002-10-22 00:45:27 +00:00
Michael Stefaniuc 2b7deaa783 Compile the imm32 dll with STRICT defined. 2002-10-22 00:45:02 +00:00
Dmitry Timoshkov 9abcad524c Restore setting of caption "Error". 2002-10-22 00:42:53 +00:00
Jason Edmeades 07d5c1a32e Beginnings of Stencil support. 2002-10-22 00:42:11 +00:00
Dimitrie O. Paun d664540782 Bring header's height more inline with native's. 2002-10-22 00:41:45 +00:00
Greg Turner 0e2bec0e70 - Use Ove-style macros for NdrConformantStringMarshall definition.
- Move NdrConformantStringMarshall to new ndr_marshall.c.
- Stubs for NdrConformantStringBufferSize,
  NdrConformantStringMemorySize, and NdrConformantStringUnmarshall.
2002-10-22 00:41:17 +00:00
Greg Turner 36fa7d50a7 - ClientCall2 still deserves a FIXME.
- Complete bindings with NULL endpoints.
- Implement RpcServerUseProtseqA, RpcServerUseProtseqW.
2002-10-22 00:40:01 +00:00
Greg Turner c14e9ebc07 Fix return types of NdrConformantStringMarshall, NdrGetBuffer, and
NdrSendReceive.
2002-10-21 23:42:01 +00:00
Greg Turner b71535ebfd Stubs for RpcServerUseProtseqA, RpcServerUseProtseqW. 2002-10-21 23:41:35 +00:00
Michael Günnewig b0719b1273 New AVI streamhandlers for audio and video streams. 2002-10-21 23:41:01 +00:00
Michael Günnewig 115260c452 - Fixed usage of handler instead of type in AVIMakeCompressedStream.
- Implemented AVIBuildFilterA.
- Started to implement AVIBuildFilterW.
2002-10-21 23:40:38 +00:00
Michael Günnewig 4828568478 - Fixed many bugs which prevents writing.
- Fixed segfault while parsing invalid index.
- Keep parsing of index even if streamheader says it's empty
- Fixed bug in AVIFILE_SaveIndex when stream is empty.
- Fixed bug in AVIFILE_WriteBlock, when chunk is not of even size.
2002-10-21 23:40:09 +00:00
Dimitrie O. Paun 254e7484fa DPAs can't have more than 0x8000 elements (fixed with lots of help
from Carlos <clozano@andago.com).
2002-10-21 19:54:06 +00:00
Dimitrie O. Paun c7fbc1b2c9 No need to increment item size, it's already adjusted by DPA_SetPtr
(found, and fixed by Carlos <clozano@andago.com>).
2002-10-21 19:49:44 +00:00
Dimitrie O. Paun 6168b98176 Do not rely on HeapReAlloc to allocate a NULL pointer. 2002-10-21 19:49:12 +00:00
Dimitrie O. Paun 7888385d76 Rewrite DPA_InsertPtr in terms on DPA_SetPtr, so that it's simpler,
cleaner, and more correct.
It now expands the array to accomodate larger than current size
indexes.
2002-10-21 19:48:37 +00:00
Dimitrie O. Paun a87b685350 Do not send uninitialized lParams on notification msgs (found by Rein
Klazes <rklazes@xs4all.nl>).
2002-10-21 19:46:46 +00:00
Dimitrie O. Paun 6deae0b86d Complete rewrite of the rcView implementation.
Lots of bugs fixed in rcView computation.
Assorted cleanups, and simplifications.
2002-10-21 19:46:08 +00:00
Dimitrie O. Paun c9e0133357 Split ranges_destroy in ranges_clear, and ranges_destroy.
Rewrite DeleteAllItems, for cleaner, faster, more correct code.
2002-10-21 19:45:29 +00:00
Dimitrie O. Paun 62f4c61d22 Updated header documentation to the latest, and greatest. 2002-10-21 19:44:51 +00:00
Dimitrie O. Paun 06701fb09e Optimize invalidation on insert.
Share the invalidation code between {Delete,Insert}Item.
2002-10-21 19:44:18 +00:00
Dimitrie O. Paun f18e271bff Rewrite DeleteItemT: cleaner, a lot faster.
Number of bug were fixed.
The minimum possible is redrawn.
2002-10-21 19:43:37 +00:00
Dimitrie O. Paun c859242ac8 Implement most of LVM_ARRANGE.
Make use of it, where it was appropriate.
Use infoPtr->dwStyle directly, in most places.
Assorted cleanups.
2002-10-21 19:43:03 +00:00
Dimitrie O. Paun 56c17651a0 Proper (type wise) return types. 2002-10-21 19:42:30 +00:00
Dimitrie O. Paun 214c721160 Reorganize header notifications.
Support notifications that don't have embedded size info.
Invalidate columns on format change (if needed).
Assorted cleanups.
2002-10-21 19:41:56 +00:00
Dimitrie O. Paun 713d0a061f Crash on internal NULL pointers, don't test all over the place. 2002-10-21 19:41:00 +00:00
Dimitrie O. Paun e37692bd33 When removing focus, no need to go through all elements. 2002-10-21 19:40:26 +00:00
Dimitrie O. Paun feb326118f Fix colors for selected items in full row select mode.
Fix bug caused by use of uninitialized state.
2002-10-21 19:39:45 +00:00
Dimitrie O. Paun 7c26e53ac0 Fix computation of subitem box, when invalidating it. 2002-10-21 19:34:38 +00:00
Dimitrie O. Paun 2223014df3 Assert on inconsistent range list states.
Various code cleanups, few potential bugs fixed.
2002-10-21 19:33:59 +00:00
Dimitrie O. Paun 074e2b4caa Do not grow the item list to arbritary index: if requested index is
larger than current count, just append.
Miscellaneous cleanups.
2002-10-21 19:33:14 +00:00
Dimitrie O. Paun be0641face SetColumnWidth rewrite: simpler, cleaner code. Bugs squashed. 2002-10-21 19:32:38 +00:00
Dimitrie O. Paun bf965278b5 Handle generic column width changes.
Fix bug in SetColumnT which rendered it unusable.
Column code cleanup.
2002-10-21 19:32:07 +00:00
Dimitrie O. Paun 0acaf0e961 Assert on internal invariants, rather than fail gracefully. 2002-10-21 19:31:34 +00:00
Dimitrie O. Paun 88c26b9c01 More docs compliant alignment handling for subitems. 2002-10-21 19:31:01 +00:00
Dimitrie O. Paun f8514f5b3c Fix notification from header, on item changed.
Small indentation fixes.
2002-10-21 18:22:51 +00:00
Duane Clark 6c320a84af Set the return value of the PD_PAGENUMS flag. 2002-10-21 18:22:31 +00:00
Jason Edmeades 99cd0de7d9 Add the basic support for volume textures / volumes (3d textures). 2002-10-21 18:21:59 +00:00
Eric Pouech b3854da29a Keep on moving 16 bit code out of winmm, now only using linear
addresses for buffers.
2002-10-21 18:21:26 +00:00
Duane Clark d126f4768c Correct the behavior for disabled toolbar buttons. 2002-10-21 18:19:02 +00:00
Dimitrie O. Paun 0def1dd4e4 Do not create a range list for an empty range. 2002-10-19 19:26:17 +00:00
Dimitrie O. Paun 0613b7212a Store the entire format bitmap in the column info.
Rewrite GetColumnT to take advantage of that.
Related cleanups, and simplifications.
2002-10-19 19:25:41 +00:00
Dimitrie O. Paun 569de03864 Column zero has the image enabled always, irrespective of format. 2002-10-19 19:25:01 +00:00
Dimitrie O. Paun 231e9ef25b Unify {Insert,Set}ColumnT as much as possible.
Fix a bunch of problems in SetColumnT.
2002-10-19 19:24:24 +00:00
Dimitrie O. Paun 3893cb7fb2 Fix function header documentation. 2002-10-19 19:23:31 +00:00
Dimitrie O. Paun e877b77a9d Better report mode.
Use the new column information to simplify, and speed up the code.
Enable support for images in subitems (in LVS_REPORT mode).
2002-10-19 19:20:35 +00:00
Greg Turner 1ecb22867f Super-crude implementation for NdrClientCall2.
Specs and headers for NdrClientInitializeNew,
NdrConformantStringMarshall, NdrGetBuffer, NdrFreeBuffer, and
NdrSendReceive.
2002-10-19 19:17:19 +00:00
Greg Turner fc4e2fe74f Fix up RpcMgmtWaitServerListen to be less incorrect. 2002-10-19 19:14:45 +00:00
Greg Turner f6673f3a95 Some MIDL constants and structures (should eventually move to rpcndr.h
I think).
Stubs for NdrClientInitializeNew, NdrConformantStringMarshall,
NdrGetBuffer, NdrFreeBuffer, and NdrSendReceive (not in specfile yet).
2002-10-19 19:14:25 +00:00
Alexandre Julliard 6fa2ac693e Removed DECLARE_OLD_HANDLE. Fixed a few remaining warnings. 2002-10-19 17:20:02 +00:00
Lionel Ulmer 0595c0ca07 Add 3D support at the User driver level. 2002-10-19 17:16:00 +00:00
Malte Starostik 78a86e9feb Fixed IWebBrowser::Navigate() parameter type.
Added IWebBrowserApp and related typedefs.
2002-10-19 17:15:39 +00:00
Dimitrie O. Paun 0dbab63fa6 When deleting an item, remove selection, don't add it! 2002-10-19 00:59:34 +00:00
Michael Stefaniuc 61d92562b9 Silence some warnings due to casts between pointer and integers of
different size.
2002-10-19 00:52:55 +00:00
Michael Stefaniuc bd6590a86b Fix warnings when converting between an ATOM and a HSZ. 2002-10-19 00:51:00 +00:00
Dimitrie O. Paun 0ba3dc7589 More traces to help us make sense of the output.
Faster, cleaner ranges_{add,del}.
2002-10-19 00:21:02 +00:00
Dimitrie O. Paun c79eb2de5f Fix ranges insertion bug (specify DPAS_SORTED when searching).
Add a lot of assert-ed consistency checks.
Add bunch of trace messages.
2002-10-19 00:20:21 +00:00
Dimitrie O. Paun a2dd8ecc33 Inspect style bits independently on style change. 2002-10-19 00:19:28 +00:00
Dimitrie O. Paun b50692ee82 Rewrite StyleChanged procedure
o some bugs have been fixed
  o cleaner, simpler code
Fix some corner case, icon size computation bugs.
Assorted docs updates.
2002-10-19 00:18:48 +00:00
Dimitrie O. Paun 323f9c23f0 Keep track of per-column information inside the listview.
Cache header rectangles.
Used the cached info instead of calling to the header each time.
Update the listview as we track column width changes.
Unify column handling between {Insert,Delete}Column, and width
changes.
Simplify RefreshReport, by using the new column info.
2002-10-19 00:18:11 +00:00
Dimitrie O. Paun a72e9f617e Do not query items that are just being inserted. 2002-10-19 00:17:24 +00:00
Dimitrie O. Paun f8f559fa3c Reorganize things a bit so that we no longer need the 'valid' flag on
each item.
Small comments update.
2002-10-19 00:16:37 +00:00
Michael Günnewig 45af492211 - Fixed loading of wave files.
- Corrected AVIFILEINFOW structure updates.
- Implemented saving of wave files.
2002-10-19 00:12:06 +00:00
Michael Günnewig 6b953ffcac Fixed very slow loading of index. 2002-10-19 00:11:32 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard 168284318b Added FIXMEs for metafile and fullhwnd handle conversions that aren't
supported properly yet.
2002-10-18 23:35:24 +00:00
Alexandre Julliard fdd6db2384 Moved EnumObjects16, LineDDA16 and associated glue code to gdi16.c. 2002-10-18 23:33:41 +00:00
Alexandre Julliard 9a8de13d77 Split out some 16-bit GDI code. 2002-10-18 04:06:47 +00:00