• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[SETUPAPI]

- Implement CM_Get_Class_Registry_PropertyA().

- Move mapping of poperty type to registry value type into a separate function and use it in CM_Get_Class_Registry_PropertyA(), CM_Set_DevNode_Registry_Property_ExA() and CM_Set_DevNode_Registry_Property_ExW().

    • -164
    • +119
    /trunk/reactos/dll/win32/setupapi/cfgmgr.c
[MSPAINT]

- fix error in dynamic menu: most recently used files were showing up in zoom menu, too

CORE-12829 #resolve

[COMCTL32] -Add helper functions for setting and retrieving the button bitmap.
    • -0
    • +34
    /trunk/reactos/dll/win32/comctl32/button.c
[REISERFS]

When compiling the driver with GCC, define __GCC__.

Fix defines accordingly.

CORE-12826

[WIN32SS] Rewrite font selection code. Patch by Katayama Hirofumi MZ. CORE-6621

- Adding support for multiple font formats (including collections)

- Choosing a font based on weights as documented

- Adding support for loading fonts from memory

- Share font faces

- Emulation of Italic and Bold

- Support for Underline and Strike-out

- Localized font names

- Fix GetFontResourceInfoW

- Fix Registry settings

- Fix multiple font properties

    • -632
    • +2035
    /trunk/reactos/win32ss/gdi/ntgdi/freetype.c
    • -23
    • +39
    /trunk/reactos/win32ss/gdi/ntgdi/font.c
    • -13
    • +22
    /trunk/reactos/win32ss/gdi/eng/engobjects.h
    • -0
    • +1
    /trunk/reactos/win32ss/gdi/ntgdi/text.h
[COMCTL32] -Redraw the button when we get a WM_THEMECHANGED.
[UXTHEME] - When we set the desired app name and class name in SetWindowTheme we need to support empty strings meaning no themes for this window. Sort of support empty strings by replacing them with a string containing a single "0". This works since there is no app name or class name with this name. Also add some error messages.
    • -6
    • +23
    /trunk/reactos/dll/win32/uxtheme/system.c
[COMCTL32] -Draw button with classic style if BM_SETIMAGE was used.
[GDI32]: Don't break/crash (if no debugger attached) each time an unimplemented GDI function is called. This is hit a lot by Word 2010 (e.g. when using drawing features), PowerPoint, etc... i.e. all applications that perform "serious" GDI manipulations.

A nice addition would be to know exactly which unimplemented function was called.

[NTGDI]: Few fixes & hacks for NtGdiGetGlyphIndicesW, see CORE-12825:

- (Fix) Check for integer count overflow (per Thomas suggestion),

- (Hack#1) Signal the particular calling case (where pwc == NULL == pgi and cwc == 0), as discovered by the testcase of r73894,

- (Hack#2) Return error when cwc == 0 alone (triggered by e.g. Word 2010).

    • -4
    • +26
    /trunk/reactos/win32ss/gdi/ntgdi/freetype.c
[GDI32_APITEST]: GetGlyphIndices: Have fun & make ReactOS BSoD from user-mode! More seriously, test extra cases of this API, and show that our current implementation certainly is incomplete & prone to bugs.

The particular case "GetGlyphIndicesW(hdc, NULL, 0, NULL, 0)" is used by Word 2010 (and other apps) when opening the font combolist, and seems to be undocumented.

CORE-12825

CORE-6621 CORE-12279

* Addendum to r73870.
    • -11
    • +0
    /trunk/reactos/base/wmi/CMakeLists.txt
    • -12
    • +0
    /trunk/reactos/base/wmi/wmisvc/wmisvc_reg.inf
    • -11
    • +0
    /trunk/reactos/base/wmi/wmisvc/CMakeLists.txt
    • -9
    • +0
    /trunk/reactos/base/wmi/wmic/lang/ru-RU.rc
  1. … 66 more files in changeset.
[USBSTOR]

- Fix error paths around SCSI_REQUEST_BLOCK::DataBuffer. Spotted by curiousone.

CORE-12816 #resolve

    • -1
    • +3
    /trunk/reactos/drivers/usb/usbstor/pdo.c
[USBSTOR]

- Use pool tagging

    • -3
    • +5
    /trunk/reactos/drivers/usb/usbstor/error.c
    • -1
    • +3
    /trunk/reactos/drivers/usb/usbstor/disk.c
    • -6
    • +10
    /trunk/reactos/drivers/usb/usbstor/pdo.c
[WIN32K]

- Clean up after myself. Thanks, Giannis and Thomas.

    • -1
    • +0
    /trunk/reactos/win32ss/user/ntuser/class.c
    • -1
    • +1
    /trunk/reactos/win32ss/gdi/ntgdi/region.c
[WIN32K]: Replace some checks against UserGetDesktopWindow() and UserGetMessageWindow() by checks against FNID_xxx flags.

Fixes some FIXMEs in the code encountered while investigating the origin of "err: NtUserSetWindowPos bad window handle!" messages.

Reviewed by James Tabor.

CORE-12819

    • -6
    • +4
    /trunk/reactos/win32ss/user/ntuser/scrollbar.c
    • -1
    • +26
    /trunk/reactos/win32ss/user/ntuser/desktop.h
    • -12
    • +11
    /trunk/reactos/win32ss/user/ntuser/painting.c
    • -1
    • +1
    /trunk/reactos/win32ss/user/ntuser/scrollex.c
    • -7
    • +6
    /trunk/reactos/win32ss/user/ntuser/window.c
    • -2
    • +2
    /trunk/reactos/win32ss/user/ntuser/nonclient.c
    • -1
    • +1
    /trunk/reactos/win32ss/user/ntuser/desktop.c
    • -43
    • +31
    /trunk/reactos/win32ss/user/ntuser/winpos.c
    • -3
    • +1
    /trunk/reactos/win32ss/user/ntuser/message.c
[Win32SS]

- Implement Exclude Update Region, for testing. See CORE-12649.

    • -2
    • +2
    /trunk/reactos/win32ss/include/ntuser.h
    • -0
    • +75
    /trunk/reactos/win32ss/user/ntuser/painting.c
    • -11
    • +0
    /trunk/reactos/win32ss/user/ntuser/ntstubs.c
[Win32SS]

- Implement Fill Window, for testing.

    • -17
    • +0
    /trunk/reactos/win32ss/user/ntuser/ntstubs.c
    • -1
    • +2
    /trunk/reactos/win32ss/user/ntuser/userfuncs.h
    • -0
    • +88
    /trunk/reactos/win32ss/user/ntuser/painting.c
[NtGDI]

- Add function for NtUser.

    • -0
    • +25
    /trunk/reactos/win32ss/gdi/ntgdi/dcutil.c
[COMCTL32] -Fix several tests for the v6 button when themes are enabled.
[COMCTL32] -Fix a couple more button tests.
[COMCTL32_WINETEST] -Do not take into account the wine todos for the button tests.
[WIN32k] -Remove overzealous assertion that prevents boot.
    • -1
    • +1
    /trunk/reactos/win32ss/user/ntuser/class.c
[NTGDI]

- Check for zero rectangles in REGION_bXformRgn.

CORE-12204

    • -0
    • +4
    /trunk/reactos/win32ss/gdi/ntgdi/region.c
[COMCTL32]: Fix a few button tests.
[NTUSER]

- Prevent a null to be passed to UserDereferenceObject in UserSetCursorIconData. CID 1321971

- Make the status check in co_IntCallSentMessageCallback less useless. CID 1322014

- Prevent a null pointer dereference in a trace in IntCreateClass. CID 514617

    • -1
    • +3
    /trunk/reactos/win32ss/user/ntuser/class.c
    • -0
    • +1
    /trunk/reactos/win32ss/user/ntuser/callback.c
    • -3
    • +3
    /trunk/reactos/win32ss/user/ntuser/callproc.c
[NTGDI]

- Consider the return value from IntFillArc in IntArc. CID 1237076

- Remove an useless check in ENTRY_ReferenceEntryByHandle CID 731587

- Prevent an unlikely memory leak in PATH_WidenPath. CID 716634

- Minor cleanup.

    • -8
    • +0
    /trunk/reactos/win32ss/gdi/ntgdi/drawing.c
    • -0
    • +4
    /trunk/reactos/win32ss/gdi/ntgdi/path.c
    • -1
    • +0
    /trunk/reactos/win32ss/gdi/ntgdi/gdiobj.c
    • -9
    • +12
    /trunk/reactos/win32ss/gdi/ntgdi/arc.c
[GDI32]

- Fix a possible null pointer dereference in GetGlyphOutlineA. CID 513747

- SetDIBits should not accept null bitmap info at all. CID 513425

- Don't set the pdwResult pointer itself to null in TADC_GetAndSetDCDWord. CID 1321970

[NtUser]

- If an appication hangs other than suspended use Hung test to prevent locking the whole system. Quick fix for CORE-10078.

    • -1
    • +1
    /trunk/reactos/win32ss/user/ntuser/painting.c
[NtUser]

- Fix : Allow controls to receive non-client messages. See CORE-12771.

- See also https://bugs.winehq.org/show_bug.cgi?id=42503 .

    • -0
    • +2
    /trunk/reactos/win32ss/user/ntuser/nonclient.c
    • -0
    • +3
    /trunk/reactos/win32ss/user/ntuser/window.h