Commit Graph

3805 Commits

Author SHA1 Message Date
Alexandre Julliard 7375597fe2 Fixed some handle type mismatches and added a few casts in prevision
of void* handles.
2002-07-31 19:26:03 +00:00
Eric Pouech 05d42e5b2f Moved all client-side console code to kernel. 2002-07-31 19:20:28 +00:00
Alexandre Julliard 99d8b7f755 Moved initial AllocConsole call to kernel init (based on a patch by
Eric Pouech).
2002-07-31 19:19:36 +00:00
Eric Pouech 3d4d7e0153 Added a generic mechanism to set up hooks for dispatching signal
handlers outside ntdll.
2002-07-31 18:46:09 +00:00
Alexandre Julliard a6cff2b3c8 We have to use the Rtl variant of Enter/LeaveCriticalSection inside
ntdll.
2002-07-31 17:56:54 +00:00
Alexandre Julliard 69b2201883 Rewrote atom test in C. 2002-07-31 17:45:00 +00:00
Nicolas Escuder 2a0dd0be05 Speed and buffer improvement, code clean up, and fix some bug
on close / reset waveout.
2002-07-31 17:23:47 +00:00
Alexandre Julliard 267ca68253 Fixed HANDLE<->HFILE conversions, since they will be different types
when handles are void*.
2002-07-31 17:20:00 +00:00
Alexandre Julliard 04b5a86c46 Merged the NAS driver written by Nicolas
Escuder <n.escuder@alineanet.com>.
2002-07-30 02:44:19 +00:00
Marcus Meissner 786d24903b Check for mkstemp, added a port implementation if it is not
present. Use mkstemp() in various places needing tmp files.
2002-07-29 23:55:39 +00:00
Chris Morgan 6ecade7c84 Some dos VGA error handling. Misc TRACE changes. 2002-07-29 23:51:57 +00:00
Juergen Schmied c1f9d386eb - Implemented IMallocSpy hooks in IMalloc.
- Moved memory related functions into ifs.c.
- Implemented stubs for the MallocSpy.
2002-07-29 23:30:20 +00:00
Gerald Pfeifer 22780c814d Fixed format string. 2002-07-29 23:29:23 +00:00
Jukka Heinonen 216e0248bc VGA emulation now supports outw and outl. 2002-07-29 23:29:03 +00:00
Jukka Heinonen b975aaaa2b Add VGA controller framebuffer between VGA window and
DirectDrawSurface.
2002-07-29 23:28:52 +00:00
Steven Edwards 9f573fa9a6 Portability fix. 2002-07-29 23:28:29 +00:00
Steven Edwards 9138fbb6ad Fix building/linking resources on Mingw. 2002-07-29 23:28:09 +00:00
Alexandre Julliard fb2eca812d Import comctl32 functions from shell32 by ordinal.
Removed some unnecessary ordinals in comctl32.spec.
2002-07-29 00:24:58 +00:00
Michael Stefaniuc 5c55df649b Converted HENHMETAFILE and HMETAFILE to a void*. 2002-07-29 00:14:59 +00:00
Alexandre Julliard 13f2a17eb2 Convert HTASK to void* (based on a patch by Michael Stefaniuc). 2002-07-28 23:48:27 +00:00
Alexandre Julliard 90423aa317 Fixed potential memory corruption. 2002-07-28 17:50:06 +00:00
Ryan Cumming 08be8f06cc Implementation of RtlGetNtVersionNumbers. 2002-07-28 17:49:26 +00:00
Rafael Kitover 44d3fd429e Minor fix for ide-scsi cdroms. 2002-07-28 17:48:01 +00:00
Jukka Heinonen 0984b34783 Add decoding logic for VGA indexed registers. 2002-07-28 17:42:30 +00:00
Michael Stefaniuc 37553b7a13 - Converted HHOOK to a void*.
- Changed the internal HOOK_* functions to pass only HHOOK's between
  them.
- Fixed wrong HHOOK <-> HANDLE16 conversions.
2002-07-28 17:42:05 +00:00
Marcus Meissner 99f4890788 Factored out the OLE 16 bit allocator from StringFromCLSID.
Implemented ProgIDFromCLSID16.
2002-07-25 23:55:55 +00:00
Uwe Bonnes 4072c64a1f Fill lpcbAvail for PeekNamedPipe. 2002-07-25 00:22:03 +00:00
Duane Clark ebc6feb50b Bug fixes. 2002-07-25 00:18:23 +00:00
Alexandre Julliard 1f6ce57b24 Removed ordinal 0. 2002-07-24 19:05:50 +00:00
Alexandre Julliard 891d23e57f Added support for ordinal hint in PE_FindExportedFunction. 2002-07-24 19:04:41 +00:00
Andreas Mohr 7df2d9f187 Misc spelling fixes. 2002-07-24 19:02:50 +00:00
Duane Clark 94324019b6 Combined implementations of ShellExecute/Ex. 2002-07-24 18:59:38 +00:00
Jon Griffiths fe1e3e5c73 PathAppendA/W: Don't skip '\\' if path is UNC.
PathGetCharTypeA/W: '/' is invalid, make non-ASCII compatible too.
Implement PathCompactPathExA/W.
Update docs, remove signed/unsigned warnings with -W.
2002-07-24 18:58:57 +00:00
Alexandre Julliard 37a4c9b8fe First pass implementation of CxxFrameHandler (thanks to Juergen
Schmied for help in testing it).
2002-07-24 03:02:51 +00:00
Juergen Schmied 1e5ec8893d - Cleaned up the implementation of shell folders and put them into
separate files.
- Fixed some memory leaks.
- Some more fixes.
2002-07-24 01:56:03 +00:00
Uwe Bonnes 2f61c4a1b3 Take a snapshot of the environment strings when building the
__p__environ array and update the array on calls to _putenv.
2002-07-23 20:59:12 +00:00
Alexandre Julliard 5f7162363c Removed non-exported string functions. 2002-07-23 20:56:16 +00:00
Guy L. Albertelli 6737a5926a - Implement LVM_SCROLL and adjust scrolling for all formats.
- Implement standard Comctl32 color handling.
- Eliminate bogus ERR messages for application messages.
2002-07-23 20:54:52 +00:00
Alexandre Julliard d0c8725360 Fixed broken forwards reported by Patrik Stridvall. 2002-07-23 02:08:12 +00:00
Patrik Stridvall a50698b903 Fixed some issues found by winapi_check. 2002-07-23 01:59:46 +00:00
Alexandre Julliard 8482613aa3 Added missing wine/port.h. 2002-07-22 21:53:32 +00:00
Alexandre Julliard 84555cc771 Generate the __ASM_NAME and __ASM_FUNC macros directly from
configure.
Simplified the WINE_TRY_ASM_LINK test.
Moved DECL_GLOBAL_CONSTRUCTOR to wine/port.h.
2002-07-22 20:51:02 +00:00
Alexandre Julliard 65c6d38581 Replace all uses of PREFIX and @function by the __ASM_NAME and
__ASM_FUNC macros.
2002-07-22 20:47:11 +00:00
Michael Stefaniuc 15fc23693f ImageList_Remove returns TRUE when removing all images of an empty
ImageList.
2002-07-22 20:38:41 +00:00
Michael Karcher 4ae5380cbb Set the correct length of the struct DDSURFACEDESC. 2002-07-22 20:37:01 +00:00
Roderick Colenbrander fec6930127 Simple implementation of InternetAutodial. 2002-07-22 20:34:41 +00:00
Jon Griffiths d84875ceaf Move thread related functions to new file.
Implement SHCreateThread,@224,@424, stub SHReleaseThreadRef.
Fix: SHGetThreadRef() calls AddRef(), @356 param count wrong.
2002-07-22 20:32:53 +00:00
Alexandre Julliard 14b75f9878 Added definition of msvcrt internal error codes. 2002-07-20 20:30:57 +00:00
Juergen Schmied 65578c03c1 - Many stubs
- Some ordinals, SHStrDupA and SHStrDupW implemented.
2002-07-20 20:04:44 +00:00
Dominik Strasser 751c4544b0 Implemented RegQueryMultipleValues. 2002-07-20 20:02:55 +00:00
Ove Kaaven 1af798920c Wait for the asynchronous update thread to complete if the app
requests it. Fixed blit offseting issues in windowed mode.
2002-07-20 20:01:57 +00:00
Andreas Mohr 283a7ff8d1 Honour the VNLP_COPYIFEXISTS flag when doing a copy operation. 2002-07-20 18:54:51 +00:00
Alexandre Julliard 44b4235af2 Fixed per-thread data handling.
Made terminate and unexpected function pointer per-thread.
Added set_se_translator.
2002-07-19 03:24:50 +00:00
Gregg Mattinson 8a191ff5b8 Avoid structures or arrays of size 0. 2002-07-19 03:18:05 +00:00
Jon Griffiths 799aa9ccde Set amounts read/written to 0, share Un/Lock code, unify ctors.
SHOpenRegStreamA/W return a dummy object on failure, not NULL.
Implement @12 using common ctor.
2002-07-19 03:13:58 +00:00
Marcus Meissner 3635056577 Protect InternetCloseHandle() against invalid handles. 2002-07-19 03:12:18 +00:00
Patrik Stridvall a3868218d0 Fixed some issues found by winapi_check. 2002-07-19 00:30:16 +00:00
Dimitrie O. Paun 7229935023 Allow the application to subclass a buddy edit (spotted by Guy
L. Albertelli).
2002-07-19 00:27:52 +00:00
Jon Griffiths 63a9e11e16 Implemented SHBrowseForFolderW. 2002-07-19 00:26:02 +00:00
Jon Griffiths 964e4f9c18 Avoid winreg.h inclusion. 2002-07-19 00:25:26 +00:00
Jon Griffiths 900f57052c Stub implementation for CoInitializeSecurity. 2002-07-19 00:23:27 +00:00
Alexandre Julliard 21ec1d2a4c Fixed setting of min/maximize mwm hints. 2002-07-16 01:45:31 +00:00
Juergen Schmied bdd7d8bc47 Fixed two leaks in file- and itemmoniker. 2002-07-16 01:43:24 +00:00
Tony Lambregts 2c5a41b027 Added support DDBLT_DDFX flag in DirectDrawSurface_Blt. 2002-07-16 01:42:47 +00:00
Guy L. Albertelli 65b845b053 - Remove stub for ordinal 394 and replace with forward to
CreateDialogIndirectParamA where tracing shows it going.
- Add stub for ordinal 430.
2002-07-16 01:42:26 +00:00
Guy L. Albertelli 23739a339a Don't issue error message if message number in application range. 2002-07-16 01:23:59 +00:00
Jon Griffiths 9797a38b1c Implement SHCreateStreamOnFileA/W/Ex, ordinals @166,184,212-214. 2002-07-16 01:21:52 +00:00
Paul Millar a7b2bf4854 Removed drive assumptions in the path handling regression tests. 2002-07-16 01:19:41 +00:00
Juergen Schmied c38342a97b Fixed a memory leak and a wrong memory free call. 2002-07-16 01:18:35 +00:00
Lionel Ulmer 33dfdfcabc Test for X11 errors for DGA2 and XVidMode extensions. 2002-07-16 01:16:44 +00:00
Lionel Ulmer b6051dec93 - DDRAW_SYSTEMMEMORY is handled like OFFSCREENPLAIN for now
- added more logging
2002-07-16 01:16:14 +00:00
Gregg Mattinson 0c5abf77a3 Fixed another non-static structure initializer. 2002-07-16 01:15:15 +00:00
Bill Medland 69f18275d5 Correction to header order maintenance when a dummy first item is
added and then deleted (as suggested by MSDN to handle the fact that
the first column of a listview is left justified).  Also removed
redundant casts.
2002-07-16 01:14:46 +00:00
Gregg Mattinson ecdafc37a2 Fixed void* arithmetic. 2002-07-16 01:12:39 +00:00
Gregg Mattinson 25ee95cd5d Initialized the pidlOut variable in SHELL32_ParseNextElement to
prevent a crash in some cases.
2002-07-16 01:11:52 +00:00
Bill Medland b99101230f DeleteColumn should return success even for uOwnerData. 2002-07-16 01:10:26 +00:00
Alexandre Julliard 6de7c9963e Added FPU emulation interrupts. 2002-07-10 23:22:54 +00:00
Admiral Coeyman 9cb2b210aa Added support for FPU emulation interrupts. 2002-07-10 23:22:29 +00:00
Jon Griffiths 273f86fc74 Stubs/docs for NotifyWinEvent,SetWinEventHook,IsWinEventHookInstalled,
UnhookWinEvent.
2002-07-10 23:20:49 +00:00
Alexandre Julliard bc6c650db0 Quiet the font loading error. 2002-07-10 23:16:40 +00:00
Alexandre Julliard a80a814234 Fixed corruption when copying to the same surface (with the help of
Tony Lambregts and Lionel Ulmer).
2002-07-10 23:10:54 +00:00
Gregg Mattinson 6886467cb9 Fixes to allow big endian machines to load MSFT typelib files. 2002-07-10 23:07:59 +00:00
Carl Sopchak 0e8da89122 Pass "Manual Feed" as short input slot name. 2002-07-10 20:33:24 +00:00
Shachar Shemesh d386fa75bc - Fixed access to the lpTemplateName of ChooseFont in cases where the
flags don't specify to use it.
- Do not try to convert the resource name from ANSI to Wide if it is a
  result of MAKEINTRESOURCE (and therefore not a string).
2002-07-10 20:31:17 +00:00
Alexandre Julliard c345f7b953 Created registry unit test and added tests for RegEnumValue[AW]. 2002-07-10 03:30:14 +00:00
Alexandre Julliard c1dddbea55 RegEnumValue[AW] need to update the data size on buffer overflow
(spotted by Massimo <max@veneto.com>).
2002-07-10 03:27:35 +00:00
Ove Kaaven 1d8f92c88c Removed the flags fields of IDirectDrawPaletteImpl, as we should use
the dwFlags field of DDRAWI_DDRAWPALETTE_GBL structure instead.
2002-07-10 03:05:43 +00:00
Ove Kaaven ea20614e39 Handle WM_SYNCPAINT with DefWindowProc. 2002-07-10 03:04:58 +00:00
Rok Mandeljc 3fb4b81379 Added Slovenian resources. 2002-07-10 03:03:46 +00:00
Rein Klazes 8ec3ce8845 Fix buffer length calculation in InitializeGenericSF(). 2002-07-10 03:00:46 +00:00
Guy L. Albertelli 073d09a17f - Improve traces.
- Changed default column width to 128 to match native and make that
  the mimimum for LVS_SMALLICON and LVS_LIST styles.
- Corrected max value for LVS_LIST style scroll info.
- Issue our own ShowScrollBar like the native with proper test.
- Correct alignment when using LVS_ICON style.
- Correct FIXMEs for unimplemented styles.
- Correct rect size computation for LVS_LIST.
- Reset scroll bars when changing styles.
- Implement WM_WINDOWPOSCHANGED.
2002-07-10 03:00:22 +00:00
Jon Griffiths 2d990806ec Implement/document @17,18,19,20,21,22 (Compact list API). 2002-07-09 02:01:56 +00:00
Lionel Ulmer 5da88a2cb9 Support new registered extensions. 2002-07-09 01:59:34 +00:00
Uwe Bonnes 4ec51d090a _open_osfhandle: set at least the _IOREAD flag. 2002-07-09 01:58:27 +00:00
Uwe Bonnes aba44fbc01 fgets, fgetws: don't treat the possible uninitialized buffers as valid
strings.
2002-07-08 20:44:33 +00:00
Uwe Bonnes 05ccdea0fa MSVCRT_fread: expose feof flag. 2002-07-08 20:44:09 +00:00
Alexandre Julliard d1b43b8da3 Removed workaround for 16-bit loader bug. 2002-07-08 19:44:53 +00:00
Andreas Mohr 22ffa982ec - Always copy (almost) the whole stack space over to the 16bit stack
instead of calculating some potentially bogus parameter count.
- Add some comments.
2002-07-08 19:40:29 +00:00
Uwe Bonnes cfb96bddf1 Added _U@YAPAXI@Z and _V@YAPAXI@Z. 2002-07-08 19:39:18 +00:00
Uwe Bonnes 73c3033029 MSVCRT_fseek: should return 0 on success. 2002-07-08 19:39:01 +00:00