Francois Gouget
1f297893e5
user: Give meaningful names to the structures used to transfer
...
information to the test threads.
2006-02-24 11:22:28 +01:00
Ulrich Czekalla
2ee5a5bf7c
msi: When evaluating conditions, if the condition is empty or none is
...
provided then treat it as being satisfied.
2006-02-24 11:21:59 +01:00
Huw Davies
4eb389bbdf
msxml3: Fix for empty node lists.
2006-02-24 11:21:37 +01:00
Dmitry Timoshkov
69a23a608e
gdi: Use "MS Sans Serif" as default sans serif font, not Arial.
2006-02-24 11:21:20 +01:00
Huw Davies
66a05b2aec
gdi32: Fallback to StretchDIBits if the driver doesn't support BitBlt.
2006-02-24 11:21:07 +01:00
Detlef Riekenberg
56247a2084
cfgmgr32: Forward some functions to setupapi.dll.
2006-02-24 11:20:53 +01:00
James Hawkins
ee324e694a
setupapi: Downgrade an ERR to a WARN.
2006-02-23 12:09:38 +01:00
Kevin Koltzau
53b74b0d56
riched20: Call GetClipboardData callback on cut/copy.
2006-02-23 11:52:03 +01:00
Kevin Koltzau
33af76f991
riched20: Enable retrieving data through the ole interface.
2006-02-23 11:51:33 +01:00
Kevin Koltzau
d52ae24b5e
riched20: Ensure copied text is terminated with a null.
2006-02-23 11:51:24 +01:00
Kevin Koltzau
27e2dcff1d
riched20: EM_GETOLEINTERFACE is not a stub.
2006-02-23 11:51:14 +01:00
Kevin Koltzau
58b2995311
riched20: Store reference to editor in ole interface.
2006-02-23 11:14:41 +01:00
Kevin Koltzau
c0cd38fbab
riched20: Allocate proper amount of memory for formatetc array.
2006-02-23 11:14:30 +01:00
Juan Lang
6da92ded75
crypt32: Move OIDToAlgID and AlgIDToOID to oid.c.
2006-02-23 11:14:13 +01:00
Juan Lang
aa6dc003a4
crypt32: Implement CertFindCertificateInStore, with tests.
2006-02-23 11:13:45 +01:00
Stefan Leichter
3600b04877
Added msftedit.dll.
2006-02-22 22:24:47 +01:00
Kevin Koltzau
a13245847f
riched20: Add IDataObject implementation and use it for cut/copy.
2006-02-22 22:23:49 +01:00
Kevin Koltzau
77da4fc5b5
x11drv: Fix 64bit warning.
2006-02-22 22:17:20 +01:00
Robert Shearman
4ac8567497
msi: Fix heap overflow in ITERATE_CreateShortcuts.
2006-02-22 22:15:54 +01:00
Robert Shearman
ecc5c18f4e
msi: Init size before passing to RegEnumValue.
2006-02-22 22:15:41 +01:00
Robert Shearman
e664435f50
msi: Always set a value for intype in ready_volume.
...
Remove a memory leak.
2006-02-22 22:15:26 +01:00
Robert Shearman
66c9cbbe0f
msi: Fix heap overflow in save_string_table.
...
Fix heap overflow caused by not accounting for the dummy first item,
which contains the codepage.
2006-02-22 22:15:12 +01:00
Robert Shearman
6c529a7273
ole: Make the CoCreateInstance test succeed.
...
Move the uninitialized apartment check after zeroing out the return
value.
2006-02-22 22:14:52 +01:00
Brian Chang
8f6ba475e8
riched20: EM_SETOPTIONS/EM_GETOPTIONS base implementation.
...
ECO_READONLY implemented and tested.
2006-02-22 22:14:38 +01:00
Juan Lang
5d3889412d
crypt32: Tidy up tests.
...
Fix up encoded data to use BYTE arrays rather than strings, and remove
extraneous NULL bytes from the end of some of them
2006-02-22 18:20:03 +01:00
Juan Lang
d740f342b9
crypt32: Add stubs for CryptFindOIDInfo and I_CryptInstallAsn1Module.
...
Move CryptVerifyMessageSignature stub to main.c.
2006-02-22 18:19:49 +01:00
Mike McCormack
a7e36dd27e
kernel32: Add a stub implementation for CmdBatNotification.
2006-02-22 17:02:56 +01:00
Alexandre Julliard
3229e293d3
kernel: Initialize the dll path from the main exe name explicitly
...
since ImagePathName is not always set at that point.
2006-02-22 17:02:25 +01:00
Robert Shearman
f689e3fca4
shell32: Move systray handling to the explorer process.
2006-02-22 16:33:33 +01:00
Alexandre Julliard
0199b4410a
kernel: Get rid of module.h.
2006-02-22 16:30:22 +01:00
Alexandre Julliard
4107751dd3
ntdll: Simplify loadorder code by using an enum instead of an array
...
to represent load order values.
Added a special value for default load order so that we can handle it
differently later on.
2006-02-22 16:30:05 +01:00
Alexandre Julliard
a877fdc4dc
kernel: Don't bother checking load order of the exe in the parent process.
2006-02-22 16:21:12 +01:00
Huw Davies
d8a6c278fa
gdi32: Update due to last minute api change in freetype 2.2.0.
...
FT_Module_Get_Flags existed briefly in freetype 2.2.0.rc1 but has now
been replaced by FT_Get_TrueType_Engine_Type. There's no point in
supporting an rc1 release, so this removes support for
FT_Module_Get_Flags and adds support for FT_Get_TrueType_Engine_Type.
2006-02-22 16:20:25 +01:00
Jeff Latimer
4241adbfcf
usp10: Add ScriptGetCMap functionality to translate wchars to glyphs.
2006-02-22 16:19:42 +01:00
Peter Beutner
82818284c3
msvcrt: Save esp before calling catch block and restore afterwards.
...
It seems like the esp value (which is saved at [ebp-16]) is sometimes
changed inside the catch handler so we end up with a bogus esp
afterwards. To avoid that save it before calling the catch block.
2006-02-22 12:21:00 +01:00
Peter Beutner
be07b6db59
msvcrt: Fix handling of multiple nested exceptions.
...
Save in each nested frame a pointer to the original exception record.
Only one refence in thread_data isn't enough when we have multiple
nested frames.
2006-02-22 12:06:56 +01:00
Peter Beutner
62dc7f52f4
msvcrt: Fix handling of nested exceptions.
...
Move handling of nested exceptions completely in the
catch_function_nested_handler(). If a new exception was thrown inside
a catch block destroy the old exception object, if it is a rethrow
re-propagate the previous object.
2006-02-22 12:04:13 +01:00
Eric Pouech
1be2e1edef
shell32: Fixes for bugs found by valgrind on shell32 tests harness.
...
- read strings from left to right (PathGetDriveNumberW)
- don't access buffers before they are filled (SHGetPathFromIDListW)
- fill buffers & variables on all paths (SHELL_FindExecutable)
- handle error condition (unix_fs)
- don't shoot in the blind for AW APIs (tests/shelllink.c)
2006-02-22 12:04:02 +01:00
Marco Timpano
8d845e3a1a
winedos: Fixed a couple of typos in ppdev.
2006-02-22 12:03:07 +01:00
Francois Gouget
4db07ab496
mapi: Add some missing MAPI prototypes.
...
Add some missing MAPI prototypes to mapi.h (spotted by winapi_check)
and include it where they are implemented.
Make mapi.h and mapix.h compatible. gcc does not like macros and
prototypes to be redefined so this involved protecting against
multiple definitions.
Fix the MAPISendMail() implementation prototype.
2006-02-22 12:02:46 +01:00
Lei Zhang
805dc74809
riched20: Implement FR_MATCHCASE for EM_FINDTEXT.
...
Removed todo flag from affected FR_MATCHCASE tests.
2006-02-22 11:33:10 +01:00
Ulrich Czekalla
9d389ec03f
msi: Implement MsiSourceListAddSource.
2006-02-22 11:32:58 +01:00
Ulrich Czekalla
7aa3be4741
advapi32: Add partial implementation of LookupAccountNameW.
2006-02-22 11:32:41 +01:00
Stefan Leichter
f7b678e887
shell32: Export PathResolve by name.
2006-02-22 11:32:24 +01:00
Alexandre Julliard
477b3bf566
kernel: Moved the get_startup_info call to ntdll.
2006-02-22 09:57:19 +01:00
Alexandre Julliard
e27358ea5c
server: Remove no longer needed fields in the init_process_done request.
2006-02-21 20:08:19 +01:00
Aric Stewart
6976e2016d
twain: Implment DG_IMAGE/DAT_IMAGEMEMXFER/MSG_GET.
...
Implement the DG_IMAGE/DAT_IMAGEMEMXFER/MSG_GET code path. Along with
a number of corrections and improvements to allow the actual aquiring
of images to succeed.
2006-02-21 19:50:29 +01:00
Huw Davies
cce65b70b7
msxml3: Improve parse error handling a bit.
2006-02-21 19:48:44 +01:00
Huw Davies
7ee50b699d
msxml3: Use url monikers to load xml.
2006-02-21 19:48:30 +01:00
Alexandre Julliard
2df3ad64eb
kernel: Use LoadLibrary to load the main exe in all cases.
2006-02-21 19:48:18 +01:00
Alexandre Julliard
ca311b3f4c
ntdll: Support loading a builtin under a different name.
...
Find the proper modref in that case based on the dlopen handle.
2006-02-21 19:43:22 +01:00
Alexandre Julliard
fa5b5102d7
ntdll: Moved LDR_DONT_RESOLVE_REFS handling into fixup_imports.
...
This ensures that we never fixup imports twice on the same dll.
2006-02-21 19:32:26 +01:00
Alexandre Julliard
39a1a94221
shell32: Use more reasonable timeouts in shlexec test.
2006-02-21 19:30:29 +01:00
Alexandre Julliard
68ea200f32
ntdll: Support loading builtin dlls with an explicit path name also
...
when loadorder is set to builtin only.
2006-02-21 11:56:16 +01:00
Uwe Bonnes
19e29d6035
ntdll: Remove spaces at end of name in import_dll.
2006-02-21 11:50:23 +01:00
Jeff Latimer
044a6f81b3
usp10: Add stub for ScriptTextOut.
2006-02-21 11:31:34 +01:00
Jeff Latimer
a05e712cb8
usp10: Add ScriptPlace funtionality.
...
The key function is to calculate the total of the ABC widths of the
characters converted to gylphs by ScriptShape.
2006-02-21 11:31:18 +01:00
Jacek Caban
0c12e2663b
shdocvw: Added correct implementation of IProvideClassInfo::GetGUID.
2006-02-21 11:31:02 +01:00
Roderick Colenbrander
b24e69dc38
d3d8: Move the capability detection code over to WineD3D.
...
Let the few existing parts which need the capabiliteis use the WineD3D
capability structure (gl_info). This info structure contains next to
'flags' inidicating certain features also all GL/GLX functions
pointers. Because D3D8 moves over to the wined3d gl_info structure all
the gl prototypes in d3dcore_gl.h were unneeded and removed.
2006-02-21 11:28:58 +01:00
Lei Zhang
0014e50465
riched20: Fix for EM_FINDTEXT input validation.
...
Fixed the cpMin/cpMax validation code for EM_FINDTEXT.
Removed todo flag from affected EM_FINDTEXT tests.
2006-02-21 11:27:51 +01:00
James Hawkins
2aa6e2ebd9
advpack: Implement AddDelBackupEntry.
2006-02-21 11:27:34 +01:00
James Hawkins
bc7cb836f2
advpack: Add tests for AddDelBackupEntry.
2006-02-21 11:26:41 +01:00
James Hawkins
7d8f9de837
advpack: Make AddDelBackupEntry always return S_OK.
2006-02-21 11:26:32 +01:00
James Hawkins
60de11c084
advpack: Branch off the advpack install functions into install.c.
2006-02-21 11:26:07 +01:00
James Hawkins
b88b480851
advpack: Implement the Open/CloseINFEngine and TranslateINFStringEx
...
trio of functions.
2006-02-21 11:23:28 +01:00
James Hawkins
dd5ae20dc1
advpack: Load the LDIDs of an install section in TranslateInfString.
2006-02-21 11:18:25 +01:00
Dr J A Gow
e3af1227c9
ole32: Fix stream ref counting.
...
Stream methods called after parent object has been closed correctly
return STG_E_REVERTED.
Stream refcounting fixed. Now can safely call IStorage destructor
before IStream destructor and guarantee file will be closed.
2006-02-21 11:18:05 +01:00
Dr J A Gow
c74e5a784d
ole32: Fix up permissions when opening streams.
...
Fix up permissions when opening streams in storage objects when
storage object has been opened in transacted mode.
2006-02-21 11:17:32 +01:00
Mike McCormack
54dfdb9b00
kernel32: Add a simple test for recursive notification.
2006-02-21 11:14:00 +01:00
Mike McCormack
f4b447aee7
kernel32: Add a short test for GetOverlappedResult.
2006-02-21 11:13:30 +01:00
Mike McCormack
e4faabfa64
server: Track created and removed directories in the tree of inodes for inotify.
...
Add them to or remove them from existing recursive watches.
2006-02-21 11:13:23 +01:00
Detlef Riekenberg
43a0f0c85a
ntdll: Avoid compile error caused by a single quote.
2006-02-21 11:12:28 +01:00
Hans Leidekker
c0e6bb2df7
winsock: Implement getnameinfo.
2006-02-20 21:03:00 +01:00
Rein Klazes
3a0b40fffb
menu: Take the MF_DEFAULT flag in to account in MENU_CalcItemSize.
2006-02-20 20:32:02 +01:00
Robert Shearman
3e47c82e02
ntdll: Add a define for SYS_sigaction to __NR_sigaction.
...
Print an error if __NR_sigaction doesn't exist as this means the wrong
syscall header is being used.
2006-02-20 20:31:51 +01:00
Vitaly Lipatov
40a6a74ac8
winsock: Add check for sin6_scope_id.
2006-02-20 20:31:25 +01:00
Jeff Latimer
334e191175
usp10: Add ScriptShape functionality.
2006-02-20 20:30:01 +01:00
Roger Hoang
b03c70a845
riched20: Implemented EM_SETTEXTMODE options TM_RICHTEXT and TM_PLAINTEXT
...
and their tests.
2006-02-20 20:29:44 +01:00
Jacek Caban
416f504cdd
mshtml: Set default original uri in NewChannelFromURI.
2006-02-20 20:28:36 +01:00
Mike McCormack
a2813f7c2e
server: Distinguish between a directory and a file changing in
...
ReadDirectoryChangesW.
Add a test for it.
2006-02-20 12:28:46 +01:00
Eric Pouech
88aa6703af
dbghelp: Virtual modules.
...
Rewrote virtual modules handling so that it's an option to either PE
or ELF modules rather than a specific type.
2006-02-20 12:16:08 +01:00
Alexandre Julliard
8445773c0e
kernel: Don't require execute permission for DOS memory, this will be
...
done in winedos if necessary.
2006-02-20 12:03:05 +01:00
Rein Klazes
1d0ec411d4
user: Add conformance tests for menu item drawing.
2006-02-20 12:00:39 +01:00
Rein Klazes
00ca259872
user: Menu drawing fixes.
...
- check mark is drawn left of a bitmap;
- if a MNS_CHECKORBMP-style menu has a checkmark, do no draw any bitmap;
- space for the popup arrow is also reserved for non popup items;
- implement the MNS_NOCHECK style.
2006-02-20 11:58:54 +01:00
Rein Klazes
885f217022
user: Menu string width calculation fixes.
...
- Use DrawText in stead of GetTextExtendPoint32, to properly measure
strings with ampersands like "&File";
- Fix mess with strings with an embedded tab;
- In case of a menu bar, two extra pixels are added if the item has
both a bitmap and string.
2006-02-20 11:58:03 +01:00
Rein Klazes
2757532fee
user: Menu drawing fixes.
...
Replace some #defined constants by values calculated from windows
metrics.
2006-02-20 11:57:07 +01:00
Rein Klazes
444a547135
user: Menu drawing fixes.
...
- Move sending WM_MEASUREITEM message for HBMMENU_CALLBACK bitmaps to
MENU_GetBitmapItemSize();
- Save the received bitmap size in the menu item structure as it will
need to be sent in the WM_DRAWITEM message;
- Move sending WM_DRAWITEM message for HBMMENU_CALLBACK bitmaps to
MENU_DrawBitmapItem();
- This also means that HBMMENU_CALLBACK bitmaps are now supported in
menu bars.
2006-02-20 11:56:21 +01:00
Rein Klazes
672a1e4e4e
user: Move drawing of pop menu arrows to a subroutine reduces nesting
...
level of some large if statements in the drawing code. Some updates to
the comments.
2006-02-20 11:54:28 +01:00
Detlef Riekenberg
4be3d64d47
winspool/tests: Add some tests for SetDefaultPrinterA/W.
2006-02-20 11:51:10 +01:00
Detlef Riekenberg
e267ccfe6e
winspool: Add documentation and a stub for SetDefaultPrinterA/W.
2006-02-20 11:51:04 +01:00
Martin Fuchs
8167c415ab
shell32: Avoid recursing SHELL32_GetItemAttributes() calls.
2006-02-20 11:50:56 +01:00
Michael Stefaniuc
4758df4687
msvcrt: Misc cleanups in undname.c.
...
- remove unused argument from functions
- print the pointer in the str_array_push TRACE to be able to distinguish
the different arrays.
- comment and white space cleanups
2006-02-20 11:18:51 +01:00
Michael Stefaniuc
067be97852
msvcrt: Add some tests for __unDName().
...
Add some tests for unDName() checking:
- data type modifiers A,B,P,Q,R,S
- literal strings
- back references to names
2006-02-20 11:18:25 +01:00
Michael Stefaniuc
262a5eec78
msvcrt: Use a separate stack for back references to names
...
Use a separate array/stack for the back references to names as
sym->stack is used to push temporary strings to it which breaks back
referencing in some occasions (26 symbols in the mfc42 dll). During
this cleanup get_class() a little bit.
2006-02-20 11:18:04 +01:00
Michael Stefaniuc
e367ebbf19
msvcrt: Move code to parse a literal string out of get_class().
...
unDName: Move the code to parse a literal string from get_class() to a
separate function. Add some error handling to the new function.
2006-02-20 11:17:41 +01:00
Michael Stefaniuc
538d1a1233
msvcrt: Wrap get_class() and get_class_string() for unDName.
2006-02-20 11:16:59 +01:00
Michael Stefaniuc
29fe8d02c7
msvcrt: Fix 20 tests from demangle_test() on old Win versions.
...
In test_demangle use a custom strcmp that treats multiple spaces as
single space. __unDName() from older msvcrt (including W2K it seems)
emit in some places 2 spaces instead of one. Fixes 20 failing tests on
those old Windows versions.
2006-02-20 11:16:27 +01:00
Robert Shearman
023ad38914
ole: Test the behaviour of CoCreateInstance with an uninitialized apartment.
2006-02-20 11:16:08 +01:00
Robert Shearman
a37a5014a2
ole: Change the Apartment Model field to a boolean.
...
Change the apartment model field to a boolean that just specifies
whether the apartment is multi-threaded or not and fix up all the
places where this is used.
Fixes a bug where we would return an error if the previous apartment
model passed into CoInitializeEx matches the new apartment model, but
additional optimisation flags are specified.
2006-02-20 11:15:57 +01:00
Eric Pouech
0f86dd9324
dbghelp: Fix SymFindFileInPath to return files matching the requested
...
criteria (it was mainly doing the opposite).
2006-02-20 11:14:34 +01:00