Commit Graph

6609 Commits

Author SHA1 Message Date
Alexandre Julliard
30b588955a We need to initialize the relay debug lists for +snoop too. 2003-10-09 19:52:23 +00:00
Oleg Prokhorov
947c61e4f7 Avoid HeapReAlloc of a NULL pointer. 2003-10-09 19:49:05 +00:00
Dimitrie O. Paun
b0f4a564a1 Move useful information out of documentation/shell32. 2003-10-09 19:47:08 +00:00
Mike McCormack
c06bcc110f Stub implementations for some functions related to RegisterWait. 2003-10-09 19:46:43 +00:00
Robert Reif
9964e42988 Fixed SMPTE time.
Fixed bad wave in position at startup and reset.
2003-10-09 19:45:39 +00:00
Steven Edwards
ad4a2b9064 Bring imagehlp (mostly) inline with the PSDK and Mingw. 2003-10-09 19:45:07 +00:00
Dave Belanger
5735c58eb1 Improved the bounding box calculation for the EMF driver ExtTextOut
metarecord. It takes the text alignment into account.
2003-10-09 19:44:35 +00:00
Alexandre Julliard
96118aeafb Added a few missing exports. 2003-10-09 05:00:41 +00:00
Alexandre Julliard
20e73d739a Moved the constructor for the initial TEB to ntdll so that it runs as
early as possible on startup.
2003-10-09 04:59:03 +00:00
Dave Belanger
36a6c740c4 Implementation of EMF driver OffsetViewportOrg and OffsetWindowOrg
callbacks using the EMR_SETVIEWPORTORGEX and EMR_SETWINDOWORGEX
metarecords respectively.
2003-10-09 04:42:45 +00:00
Alexandre Julliard
67d9f38059 Added __wine_set_signal_fs function to avoid sharing the
SYSLEVEL_Win16CurrentTeb variable between kernel and ntdll.
On the kernel side, replaced SYSLEVEL_Win16CurrentTeb by
CallTo16_TebSelector stored directly in the asm relay code to avoid a
run-time relocation.
2003-10-08 22:59:22 +00:00
Alexandre Julliard
2de67b8428 Duplicate parts of the relay debugging init code into kernel to avoid
referencing ntdll internal symbols.
2003-10-08 22:41:12 +00:00
Alexandre Julliard
0de2fde550 Moved build_command_line back to kernel and make it handle Unicode
properly.
2003-10-08 22:38:52 +00:00
Robert Reif
93d3492f7f Make capture more reliable by submitting all buffers before start.
Added support for non pcm formats.
Added more property set support.
2003-10-08 22:35:26 +00:00
Pavel Roskin
e5e1844d24 Include ntdll_misc.h to get the GetCurrentProcess/ThreadId macros. 2003-10-08 22:34:37 +00:00
Dave Belanger
633e379eb9 Implementation of SetPixel metarecord. 2003-10-08 22:34:15 +00:00
Dave Belanger
a7bbf47f1b Avoid excessive heap memory reallocation when generating EMF
metarecords in memory.
2003-10-08 22:33:35 +00:00
Pavel Roskin
3ec73af37f Include ntdll_misc.h to get the GetCurrentProcess/ThreadId macros. 2003-10-08 19:11:08 +00:00
Pavel Roskin
91f234f267 Eliminate dependency on SetLastError(). 2003-10-08 19:10:33 +00:00
Francois Gouget
61ef356347 Some spelling fixes. 2003-10-08 19:09:44 +00:00
Alexandre Julliard
593dec5d66 Authors: Warren Baird <warren.baird@cimmetry.com>, Dave Belanger <dave.belanger@cimmetry.com>
Moved code out of assert statements so you can safely compile with
-DNDEBUG.
2003-10-08 19:08:23 +00:00
Mike McCormack
8365577125 Don't share some protected mode interrupts in winedos. 2003-10-08 19:07:45 +00:00
Alexandre Julliard
687ecfa312 Moved a few more functions to the dlls/kernel directory. 2003-10-08 04:24:49 +00:00
Alexandre Julliard
b81d9e7cf4 Link all remaining files that contain kernel APIs into kernel32.dll
instead of ntdll.dll. Removed a number of no longer needed files.
2003-10-08 03:57:02 +00:00
Alexandre Julliard
953849f2fc Added hack to call CreateFileW through a pointer so that we don't need
to link to kernel functions.
Commented out SMB support in NtReadFile for now.
2003-10-08 03:51:31 +00:00
Alexandre Julliard
01def427b7 Pass the cdrom device path in CDROM_InitRegistry so that ntdll doesn't
need to call DRIVE_GetDevice.
Get rid of GetDriveType calls.
2003-10-08 02:59:22 +00:00
Alexandre Julliard
87ae825bf8 Get rid of the argv0 and full_argv0 global variables. 2003-10-08 00:45:01 +00:00
Alexandre Julliard
af192f83b6 Store a "removable" flag instead of the full drive type in the server
file object; this way we don't need to use GetDriveTypeW in the loader
code.
Make sure we always have a valid builtin_load_info pointer.
2003-10-08 00:25:32 +00:00
Alexandre Julliard
146afcc98c Removed references to GetSystemDirectoryW.
Optimized module lookup a bit.
Keep track of the modref pointer across builtin dll loads to avoid
having to look it up by name afterwards.
2003-10-07 22:56:34 +00:00
Daniel Marmier
7e0ddbc60f Fixed warnings with gcc option "-Wwrite-strings". 2003-10-07 22:54:17 +00:00
Steven Edwards
c48c16471c Remove a few unneeded include statements in internal headers.
Started bringing setupapi in line with PSDK.
2003-10-07 22:51:09 +00:00
Rein Klazes
c6c404dcd6 Added a check for <scsi/scsi.h> and include it in dlls/ntdll/cdrom.c. 2003-10-07 22:49:22 +00:00
Uwe Bonnes
3e83ec296e Added some tests around fget(w)s. 2003-10-07 05:30:36 +00:00
Uwe Bonnes
7b8b62e61a fget(w)s(): Don't drop characters when buffer is not large enough. 2003-10-07 05:22:04 +00:00
Uwe Bonnes
16fa009085 _write(): Don't fragment WriteFile() for TEXT mode write. 2003-10-07 04:01:28 +00:00
Alexandre Julliard
5d9422b09f Rewrite of the dll file search algorithm to better deal with the
broken behavior of RtlDosSearchPath_U.
2003-10-07 03:48:42 +00:00
Alexandre Julliard
509e4d175a A couple more fixes in RtlGetFullPathName_U.
Reverted my previous fix in RtlDosSearchPath_U, extension handling is
supposed to be broken.
2003-10-07 03:46:34 +00:00
Alexandre Julliard
8d174d3f47 Store the global shell, progman and taskman windows in the server
(based on a patch by Martin Fuchs).
2003-10-07 03:40:23 +00:00
Uwe Bonnes
6fbcacbb92 _read(): In _O_TEXT mode make Readfile calls in chunks as big as
possible.
2003-10-07 03:33:58 +00:00
Dave Belanger
d1fa4b2d73 Spit out EMR_RESTOREDC metarecords with -1 as argument as long as we
don't get to the saved state we want.
2003-10-07 03:32:28 +00:00
Jukka Heinonen
ca2902f3d1 Use correct pointer when accessing real mode interrupt vectors under
Win16.
2003-10-07 03:32:03 +00:00
Jason Edmeades
e0faa866e0 DXTn stride is to the next block, which is the equivalent to 4 rows
worth of bytes.
2003-10-07 03:31:46 +00:00
Daniel Marmier
ee1eb63b31 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-07 03:30:47 +00:00
Alexandre Julliard
632676b17e Moved the final process init and dependency loading to
dlls/ntdll/loader.c, (ab)using the LdrInitializeThunk entry point.
2003-10-06 21:18:51 +00:00
Vincent Béron
5dc5bf5d8a Change resources from last language file used to LANG_NEUTRAL. 2003-10-06 21:13:01 +00:00
Uwe Bonnes
32f47b0648 MSVCRT___RTDynamicCast: Reject a NULL cppobj. 2003-10-06 21:10:44 +00:00
Jon Griffiths
bdcc0e3619 Implemented GetCPInfoExA/W.
Documentation updates.
2003-10-06 21:07:06 +00:00
Alex Pasadyn
0f5db95401 Fix buffer length error code for NtQueryInformationToken. 2003-10-06 21:04:06 +00:00
Daniel Marmier
0348649853 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-06 21:03:32 +00:00
Dave Belanger
78711dd6f5 Improved generation of font signature from freetype face charmaps. 2003-10-04 04:15:47 +00:00
Alexandre Julliard
841f898663 Converted process creation to Unicode. 2003-10-04 04:09:41 +00:00
Dave Belanger
f0d96a2619 Face families are in the top 4 bits of lfPitchAndFamily, so mask with
0xF0 before testing.
2003-10-04 04:00:08 +00:00
Dimitrie O. Paun
16c62e645c Merge all binary resources for user32 in one file. 2003-10-04 03:58:57 +00:00
Kevin Koltzau
0af4fb9e6d Initial implementation of uxtheme.dll, mostly stubbed out for now. 2003-10-04 03:48:11 +00:00
Alexandre Julliard
5e3549bf3b Implemented RtlCreateProcessParameters and related functions. 2003-10-04 03:11:57 +00:00
Dave Belanger
325f646fdc Implemented the SetArcDirection metarecord in EMF driver. 2003-10-04 03:08:25 +00:00
Eric Pouech
7760413f6b Fixed a couple of bugs in RtlGetFullPathName_U. 2003-10-04 03:06:58 +00:00
Jukka Heinonen
d2936e6ab0 Reboot (int19) under DOS now does ExitProcess.
Made BIOS reboot vector call int19.
2003-10-04 03:06:18 +00:00
Uwe Bonnes
6d59b887cd SNOOP_ShowDebugmsgSnoop(): check for NULL function name. 2003-10-04 03:05:58 +00:00
Michael Günnewig
53cfed70bb - First part of a new IAVIEditStream implementation.
- Fixed/Added some parameter checking.
- Fixed bug in EditStreamSetInfoW.
- Fixed bug in avifil32.spec (str instead of wstr).
- Fixed cosmetic bug in IAVIStreamImpl_fnRelease.
- Fixed typo.
2003-10-04 03:05:25 +00:00
Michael Günnewig
4d375d1b8b Fixed warnings with gcc option "-Wwrite-strings". 2003-10-04 03:04:45 +00:00
Dimitrie O. Paun
54e6b0d938 Extract binary resources to files, to fit the standard. 2003-10-03 05:01:33 +00:00
Alexandre Julliard
fbb5390a32 Avoid closing the cdrom if we failed to open it. 2003-10-03 04:35:55 +00:00
Jason Edmeades
78a7c5f28e Check for advertized vertex blend support before querying device
capabilities, which silences issues about vertex blending.
2003-10-03 04:35:07 +00:00
Jon Griffiths
72d7e5b10d Tests for recent variant changes. 2003-10-03 04:34:34 +00:00
Pavel Roskin
8956e41b82 Add support for SCSI CD-ROMs to CDROM_GetInterfaceInfo().
Fix device number for IDE CD-ROMs.  Return 0 for unsupported drives.
2003-10-03 04:33:25 +00:00
Mike McCormack
afc02109a0 Fixed msi spec file. 2003-10-03 04:28:35 +00:00
Alexandre Julliard
e0c082b339 We only need to check for same process siblings in desktop mode for
top-level windows.
2003-10-03 03:38:05 +00:00
Jon Griffiths
166e96d11f Add VarParseNumFromStr()/VarNumFromParseNum(), use them for
conversions.
VariantInit(): Only touch V_VT field.
VariantClear(): Support IRecordInfo, don't free null bstrs.
Add support for upcoming vtypes, remove dead code, docs.
2003-10-03 03:36:46 +00:00
Jason Edmeades
06fd1e25f7 Minor fixes - Remove light debug statements, handle disabled specular
material properly, release surfaces when debugging and clean up trace
a little.
2003-10-03 03:35:53 +00:00
Alexandre Julliard
4137aecaa5 Changed LdrLoadDll to only search for the dll in the specified path,
using ntdll functions.
Moved LOAD_WITH_ALTERED_SEARCH_PATH functionality to LoadLibraryEx
where it belongs.
2003-10-02 04:58:49 +00:00
Alexandre Julliard
33fee69bf4 In desktop mode, only move the window in Z-order relative to siblings
belonging to the same process.
2003-10-02 04:47:35 +00:00
Alexandre Julliard
28c3c2f0f0 Fixed a couple of bugs in RtlDosSearchPath_U and RtlGetFullPathName_U.
Make RtlDoesFileExists_U do something useful by calling CreateFileW
for now.
2003-10-02 04:43:45 +00:00
Dimitrie O. Paun
9eedca2b05 Move the message sequences documented in documentation/gui into a unit
test.
2003-10-02 04:32:56 +00:00
Dimitrie O. Paun
441033f749 Removed obsolete TODO file. 2003-10-02 04:31:21 +00:00
Rolf Kalbermatter
3aebefedd1 SHDOCVW_118 (ShellDDEInit) is really a dynamic forward to SHELL32_188. 2003-10-02 04:31:06 +00:00
Rolf Kalbermatter
4202112e2d Moved definition of newly documented API SHRestricted() and the
according policy definitions to shlobj.h.
Replace the policy numeric values with the new official defines and
change SHRestricted() to match the new documented prototype.
2003-10-02 04:30:46 +00:00
Gerald Pfeifer
aa0f37940f Cast time_t parameters to fprintf(...,"%l",...) to long. 2003-10-02 04:29:30 +00:00
Salmela
2d7cc858d7 Updated Finnish keyboard layout. 2003-10-02 04:28:57 +00:00
Mike McCormack
73756ce844 Change a MESSAGE about creating a directory to a TRACE. 2003-10-02 04:27:21 +00:00
Pavel Roskin
5b7f03cf9f Ignore window caption from PROPSHEETHEADER in wizards. Update window
caption when changing pages.
2003-10-02 04:26:53 +00:00
Dimitrie O. Paun
80f6481751 Tidy up the notes for the ODBC driver. 2003-10-02 04:25:21 +00:00
Jon Griffiths
4c1fa161a3 Documentation updates. 2003-10-01 03:20:21 +00:00
Michael Stefaniuc
082e0bfe93 Fix missing mem freeing on error path. 2003-10-01 03:14:29 +00:00
Mike McCormack
bdfb12c0df Stubs for Get/SetUserGeoID(). 2003-10-01 03:12:02 +00:00
Jon Griffiths
d3863cfbf8 New tests for shlwapi string and clsid functions. 2003-10-01 03:10:56 +00:00
Jon Griffiths
a7b3fd835d Add @405/406, document URL functions.
Fix MLLoadLibraryW prototype.
2003-10-01 03:10:42 +00:00
Robert Reif
e29357c2d3 Fixed some traces.
Fixed spec file to match Microsoft dll.
2003-10-01 03:05:25 +00:00
Pavel Roskin
b079de35ce Make it possible to close the "About Wine" dialog by pressing Escape. 2003-10-01 03:04:51 +00:00
Alexandre Julliard
c30cefb2d5 Store module names in Unicode in the server. 2003-09-30 01:04:19 +00:00
Daniel Marmier
a613de2a22 Use #ifdef instead of #if for all feature tests.
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +00:00
Alex Pasadyn
bd554e63fc - Add more logging to resolution changes and queries.
- Always enumerate and allow 8, 16, and 32-bit modes.
- Add more default choices to Wine desktop sizes.
- Renamed some variables to make things easier to follow.
2003-09-30 00:31:42 +00:00
Pavel Roskin
86794d25ab Implement stubs for OleRenameServerDoc, OleRevertServerDoc and
OleSavedServerDoc and their 16-bit equivalents.
2003-09-30 00:30:51 +00:00
Christian Costa
0accacecb2 Small lighting fix. 2003-09-30 00:29:11 +00:00
Vincent Béron
d9e2db6f1a Extract localisable resources from shres.rc to proper language file. 2003-09-30 00:25:28 +00:00
Michael Stefaniuc
ab64e3f095 Fixes for memory leaks on error path.
One fix for use of previous released pointer.
2003-09-30 00:24:08 +00:00
Michael Stefaniuc
4ba3b0aa0b Fix memory leaks on error path. 2003-09-30 00:22:33 +00:00
Jukka Heinonen
abbcf41325 Use correct linear pointer when accessing BIOS data area. 2003-09-30 00:22:12 +00:00
Robert Shearman
e05044a98d Set version of kernel32 to Windows 2000 SP4. 2003-09-30 00:21:31 +00:00
Jason Edmeades
8b2c10bcd4 MaxActiveLights means number of concurrent lights, but any number can
be  set up. Change support for lights into a linked list and only set
up an equivalent gl light when the light is enabled.
2003-09-30 00:21:07 +00:00
Jason Edmeades
ba69d05022 Make unlock of the backbuffer correctly restore the contents. 2003-09-30 00:20:08 +00:00
Rolf Kalbermatter
82f46ab1c3 Added IsLFNDriveA/W/AW exports and two more stubs. 2003-09-30 00:19:44 +00:00
Alexandre Julliard
f80b869939 Converted most of the loader code to Unicode. 2003-09-29 20:42:24 +00:00
Francois Gouget
224063f033 Some spelling fixes.
Fix the case of WineHQ.
2003-09-29 20:20:53 +00:00
Vincent Béron
d1654b6128 Change some resources from LANG_NEUTRAL to LANG_ENGLISH. 2003-09-29 20:15:54 +00:00
Vincent Béron
c775bed4eb Extract localisable resources from msacm resource file. 2003-09-29 20:14:10 +00:00
Tom Wickline
803d9a8997 Set version to 9. 2003-09-29 20:12:38 +00:00
Tom Wickline
aaf38e343e Remove obsolete information. 2003-09-29 20:12:05 +00:00
Alexandre Julliard
1cb92bbeec Converted the load order code to use Unicode throughout. 2003-09-27 03:50:40 +00:00
Rolf Kalbermatter
c4bba67a9a Fix a return value in SHFileOperation and add some extra tests to
internal helper functions necessary to deal with shortcomings of
kernel32 functions for the time being.
2003-09-27 03:47:35 +00:00
Dmitry Timoshkov
2999165c83 Implemented RealGetWindowClass. 2003-09-27 03:47:07 +00:00
Alexandre Julliard
2470af6213 _tempnam and _wtempnam should not create the temp file (reported by
Wim Vanderbauwhede).
2003-09-27 02:45:39 +00:00
Alexandre Julliard
90dc6580f5 Make sure all 16-bit system drivers are loaded for 16-bit apps. 2003-09-27 02:34:07 +00:00
Alexandre Julliard
fd47c8a647 Renamed comm.dll, display.dll, keyboard.dll and mouse.dll to use the
.drv extension.
2003-09-27 02:32:53 +00:00
Michael Stefaniuc
1cd884eb5c Due to a misplaced "}" memory wasn't freed on the error path. 2003-09-27 02:25:40 +00:00
Eric Pouech
368a54c846 Fix both a warning and some nasty crashes... 2003-09-27 02:24:51 +00:00
Mike McCormack
f92deed281 Remove references to HEAP_strdupAtoW. 2003-09-27 02:24:31 +00:00
Dimitrie O. Paun
e21e3d0a80 Merge documentation/status/directplay into the code. 2003-09-27 02:23:44 +00:00
Dimitrie O. Paun
976483e2a9 Merge documentation/status/directdraw into the ddraw code. 2003-09-27 02:22:56 +00:00
Dimitrie O. Paun
b99ab2dd18 Merge documentation/status/version into the version code. 2003-09-27 02:22:21 +00:00
Dimitrie O. Paun
508cac8ad6 Merge documentation/status/lzexpand into the lzexpand source. 2003-09-27 02:22:02 +00:00
Robert Reif
3237c5a875 Remove capture tests from dsound.c and place them in a new file
capture.c.
2003-09-27 02:21:12 +00:00
Robert Reif
6b145f0473 Allow wave emulated capture while doing hardware accelerated
playback.
2003-09-27 02:20:19 +00:00
Alexandre Julliard
2d13956285 The "Path" value of the "App Paths" entry should be handled in
ShellExecute by changing PATH in the new process, instead of being
done in SearchPath.
2003-09-26 04:35:01 +00:00
Dimitrie O. Paun
8b255842ec Remove the obsolete pascal16 (replaced by pascal -ret16). 2003-09-26 04:32:19 +00:00
Michael Stefaniuc
340177c3e3 Fixed missing wine_tsx11_unlock() on error path. 2003-09-26 04:29:57 +00:00
Alexandre Julliard
74c5efeb76 Moved WINE_MODREF definition to loader.c.
Removed short module name from WINE_MODREF, Windows doesn't have it.
Rewrote LdrGetDllHandle to only use Unicode.
2003-09-25 23:55:35 +00:00
Robert Shearman
0a6f11c88a - A few cosmetic fixes.
- Various bug fixes.
- Add some OutputPin helpers.
- Add a new type of pin, PullPin.
2003-09-25 23:50:06 +00:00
José Manuel Ferrer Ortiz
28c87b0b7a Added Spanish resources. 2003-09-25 23:47:55 +00:00
Alexandre Julliard
2052538a47 Moved loadorder support to dlls/ntdll.
Removed the --dll option and replaced it by the WINEDLLOVERRIDES
environment variable.
2003-09-25 20:33:41 +00:00
Jon Griffiths
90535ce905 Various test fixes for XP/msvc. 2003-09-25 20:29:40 +00:00
Rolf Kalbermatter
5e46d9f9d7 Add some comments to functions and minor fixes.
Export already existing (but still undocumented) functions
ILCreateFromPathA/W.
2003-09-25 20:26:28 +00:00
Mike McCormack
b8921a24ab Use unions instead of defines in async work requests. 2003-09-25 20:25:22 +00:00
Robert Reif
3be10b0458 Avoid divide by zero if the sound driver returns 0 for speed. 2003-09-25 20:23:52 +00:00
Jason Edmeades
b3ca47c689 Add real support for VS1.1, ie make the relative addressing mode
work.
2003-09-25 20:22:40 +00:00
Jason Edmeades
de3b0dfffb The 'w' component is used more than just for the vertex, so we cannot
do the projection mapping ourselves. Also tidy up a tracepoint, and
preinitialize the shaders output as windows seems to.
2003-09-25 20:22:21 +00:00
Alexandre Julliard
16cd86197a Moved DLLFLAGS to a separate variable instead of including it in
DEFS.
2003-09-24 19:01:44 +00:00
Alexandre Julliard
b48d812433 Rewrote getenv and _wgetenv to avoid returning a pointer to a freed
memory block.
2003-09-24 18:57:28 +00:00
Jon Griffiths
14b215a478 More locale tests. 2003-09-24 18:52:39 +00:00
Jon Griffiths
f333510af2 Add LanguageGroup/GeoID enumeration fns.
Add some reg entries from XP.
SetLocaleInfo(): Set 2 I-values from S-values.
Optimise code size, fix a few bugs, documentation.
2003-09-24 18:51:22 +00:00
Jon Griffiths
0b2d44ed53 Added tests for cpp objects/RTTI. 2003-09-24 18:49:45 +00:00
Alexandre Julliard
240b0a9b48 Moved the Windows version code to dlls/ntdll, and implemented
RtlGetVersion and RtlVerifyVersionInfo.
Moved the 16-bit and DOS version support to dlls/kernel.
2003-09-24 05:26:00 +00:00
Jon Griffiths
fe455456af Documentation updates. 2003-09-24 05:14:39 +00:00
Jon Griffiths
67d1c0884f Document BSTR functions, add SetOANoCache(). 2003-09-24 05:12:52 +00:00
Alexandre Julliard
3bff2b3c9c Authors: Juraj Hercek <juraj@syncad.com>, Eric Frias <efrias@syncad.com>
Implemented pthread conditions.
2003-09-23 22:59:44 +00:00
Jon Griffiths
d051a95b26 A first stab at wcstod(). 2003-09-23 22:50:30 +00:00
Mike McCormack
e0fffb6c7c Fix more unicode/memory allocation errors. 2003-09-23 22:47:18 +00:00
Dimitrie O. Paun
7de279a73a Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}. 2003-09-22 21:32:33 +00:00
Vincent Béron
bf5f07a5b4 Yet another batch of French resources updates. 2003-09-22 21:16:56 +00:00
Mike McCormack
99f5a05555 Fix logic problems with NETCON_connected. 2003-09-22 21:15:34 +00:00