Commit Graph

15475 Commits

Author SHA1 Message Date
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
Detlef Riekenberg ec24e38ed1 winspool/tests: Add tests for EnumMonitors. 2006-02-17 17:37:04 +01:00
Juan Lang 2002e227cf crypt32: Move certificate store functions to their own file. 2006-02-17 17:36:52 +01:00
Alexandre Julliard 29aea6e1c7 Fixed a couple of function prototypes. 2006-02-17 14:08:38 +01:00
Alexandre Julliard dcdb0d0b34 ntdll: Remove no longer used oldcwd in start_server. 2006-02-17 11:41:57 +01:00
Jacek Caban d2389dc0cf mshtml: Fix post data parsing. 2006-02-17 11:37:11 +01:00
Alexandre Julliard 9dffd134dd libwine: Try the current load path in priority before the
WINELOADER/WINESERVER environment variables in wine_exec_wine_binary.
2006-02-16 20:26:55 +01:00
Juan Lang 11fe62de8f crypt32: More encoding/decoding.
Add support for encoding/decoding basic constraints and enhanced key
usage, with tests.
2006-02-16 19:39:27 +01:00
Juan Lang 15e5dc29c1 crypt32: Simplify CertOpenSystemStore, fix CertDuplicateCertificateContext.
- now that CertOpenStore is correct for system stores, simplify
  CertOpenSystemStore
- correct CertDuplicateCertificateStore, with a test
2006-02-16 19:38:45 +01:00
Huw Davies a545fee719 msxml3: Implement comment node. 2006-02-16 19:37:53 +01:00
Huw Davies 04d5d0a630 msxml3: Fix get_text on text nodes. 2006-02-16 19:33:39 +01:00
Thomas Kho bfb3c756eb riched20: Implement EM_SCROLLCARET and EM_GETSCROLLPOS. 2006-02-16 19:33:19 +01:00
Robert Shearman 6ad326a607 oleaut: Test some error conditions in ITypeInfo::GetIDsOfNames and ITypeInfo::Invoke. 2006-02-16 19:33:08 +01:00
Saulius Krasuckas 76f66cc78f mscms: Distinguish between registered and unregistered profile IDs. 2006-02-16 19:32:58 +01:00
Jacek Caban 76a361af82 shdocvw: Unaccess post data only if we've accessed it before. 2006-02-16 19:32:11 +01:00
Alexandre Julliard aed49d439e libwine: New naming scheme for 16-bit builtin dlls.
Stop using symlinks for 16-bit dlls to make sure they don't get loaded
by mistake when looking for a 32-bit dll.
2006-02-16 13:44:38 +01:00
Vitaliy Margolen 9774745330 comctl32: Remove/swap limits if min > max in MCM_SETRANGE.
We should swap min & max only when both limits are being
set. Otherwise limit that being set should invalidate other limit
(remove it).
2006-02-16 12:19:36 +01:00
Vitaliy Margolen f273bdc0b5 comctl32: Don't change month range in MCM_SETRANGE. Add tests for this. 2006-02-16 12:19:09 +01:00
Juan Lang 89529f8a8e wininet: Use CertNameToStr for INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT
and update comment.
2006-02-16 12:19:00 +01:00
Juan Lang e9c44cc0c4 crypt32: Fix system stores and a memory leak.
- system stores open both HKLM and HKCU for "current user" locations
- fix a memory leak in certificate properties
2006-02-16 12:18:37 +01:00
Alexandre Julliard 45bf26cbdb d3d8: Fixed compile with older GL versions. 2006-02-16 12:10:41 +01:00