Commit Graph

15495 Commits

Author SHA1 Message Date
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
Jacek Caban 00f249022c shdocvw: Change FIXMEs to TRACE in IDispatch's methods as they return
E_NOTIMPL in Windows as well.
2006-02-20 11:13:51 +01:00
Jacek Caban 7466169034 mshtml: Create nsIChannel for protocols not handled by Gecko. 2006-02-20 11:13:37 +01:00
Saulius Krasuckas ecebfb49ea mscms: Fix four todos for GetStandardColorSpaceProfile[AW]. 2006-02-20 11:13:28 +01:00
Saulius Krasuckas 44e942fbb1 mscms: Branching fixes for some test routines 2006-02-20 11:12:53 +01:00
Mike McCormack 253e296436 setupapi: Add a stub implementation of CMP_WaitNoPendingInstallEvents. 2006-02-20 11:12:39 +01:00
Michael Kaufmann 1f3afd4b47 user: Add the DS_NOIDLEMSG style to message boxes. 2006-02-20 11:12:26 +01:00
Roderick Colenbrander 3da999a1f7 d3d8: Move texturing code over to wined3d (based on Oliver Stieber's work). 2006-02-20 11:11:35 +01:00
Jeff Latimer e4a154cfb9 usp10: Add ScriptItemize functionality. 2006-02-18 16:00:29 +01:00
Juan Lang 2c5f20b701 wintrust: Add some stubs. 2006-02-18 15:50:01 +01:00
Juan Lang 079afa21de crypt32: Implement enhanced key usage.
Implement CertGetEnhancedKeyUsage, CertSetEnhancedKeyUsage,
CertAddEnhancedKeyUsageIdentifier, and
CertRemoveEnhancedKeyUsageIdentifier.
2006-02-18 15:49:54 +01:00
Phil Krylov dafa5bf464 user: Implement scrolling in popup menus. 2006-02-17 18:34:31 +01:00
Alexandre Julliard 133b3069bb dbghelp: Use wine_dll_enum_load_path to search the dll load path. 2006-02-17 17:38:28 +01:00
Peter Beutner 72017cc9ab msvcrt: Correctly set EOF flag in fread().
Setting the EOF flag only if _read() returns zero is not enough as we
could also read something AND hit the end of file.
_read() already sets another internal EOF flag, so just use this too.
Removing todo_wine from the test case.
2006-02-17 17:38:03 +01:00
Peter Beutner b786ea588c msvcrt: Add test for fread/feof.
When calling fread() with a large enough buffer to reach the end of
the file a subsequent feof() should return true; (marked as todo_wine
because it doesn't work atm).
2006-02-17 17:37:40 +01:00
Peter Beutner 916c4b6b8c msvcrt: Remove bogus code.
We can't just pop a exception record from the exception handler list
which we haven't put there.
2006-02-17 17:37:26 +01:00
Peter Beutner 58d3f14514 msvcrt: Fix use of uninitialized variable. 2006-02-17 17:37:14 +01:00