reactos/win32ss/gdi/ntgdi
Hermès Bélusca-Maïto 3de67cec24
[WIN32K:NTGDI] Improve allocated resources cleanup in failure paths of IntGdiLoadFontsFromMemory().
- Use an auxiliary list where we add the new enumerated faces, for easy
  roll-back in case a failure happens during font loading. Only at the
  very end when font loading has been successfully done, the auxiliary
  list is appended to the corresponding global or per-proceess font list.

- Perform actual cleanup in case of failures.

- Introduce CleanupFontEntryEx() helper to simplify cleanup in
  IntGdiLoadFontsFromMemory() in failure paths; implement
  CleanupFontEntry() around it.

Additions:

- Perform string buffer NULL check in IntGdiAddFontResource().
- Reorder memory unmapping and section object dereferencing in
  IntGdiAddFontResource().
- Move DuplicateUnicodeString() upwards.
- Mark explicitly the Marlett font handling hacks.
2019-07-21 01:01:41 +02:00
..
arc.c
baseobj.hpp
bezier.c
bitblt.c [WIN32SS][NTGDI] Extend PATH_FillPath as PATH_FillPathEx (#798) 2018-08-24 13:37:59 +02:00
bitmaps.c [WIN32SS][NTGDI] Use ProbeForWrite in NtGdiSetBitmapBits (#1325) 2019-01-30 16:54:45 +09:00
bitmaps.h [WIN32SS][NTGDI] Fix UnsafeSetBitmapBits (#1310) 2019-01-27 15:32:52 +09:00
brush.cpp
brush.h
brush.hpp
cliprgn.c [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
cliprgn.h [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
color.h
coord.c [WIN32SS][NTGDI] Fix ExtTextOut about TA_UPDATECP (#1546) 2019-05-01 16:51:00 +09:00
coord.h [WIN32SS][NTGDI] Wrap IntLPtoDP and IntDPtoLP macros by do { .... } while (0) 2019-05-04 09:56:09 +09:00
dc.h
dcattr.c
dclife.c [Win32SS] Plug in Last Batch 2019-05-09 12:35:21 -05:00
dcobjs.c
dcstate.c [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
dcutil.c [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
device.c
dib.h
dibobj.c [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
drawing.c
fillshap.c [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
font.c [WIN32SS][NTGDI] Support raster fonts (*.fnt and *.fon) (#1739) 2019-07-20 16:47:29 +02:00
font.h [WIN32SS][NTGDI] Improve Text Transformation (#1573) 2019-05-26 16:12:35 +09:00
freetype.c [WIN32K:NTGDI] Improve allocated resources cleanup in failure paths of IntGdiLoadFontsFromMemory(). 2019-07-21 01:01:41 +02:00
gdibatch.c [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
gdidbg.c [REACTOS] Fix misc 64 bit issues (#783) 2019-01-05 10:50:11 +01:00
gdidebug.h
gdifloat.h
gdikdbgext.c
gdiobj.c [Win32SS] Support Clipboard Metafile 2019-05-31 21:44:17 -05:00
gdiobj.h [WIN32SS][NTGDI] Fix wrong IN/OUT (#1539) 2019-04-28 17:24:57 +02:00
gdipool.c
icm.c
init.c
intgdi.h
line.c [NtGDI] Fix ExtSelectClipRgn Tests 2019-05-09 12:33:21 -05:00
metafile.c [Win32SS] Support Clipboard Metafile 2019-05-31 21:44:17 -05:00
misc.h [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
paint.h
palette.c [WIN32K] Fix 64 bit issues (#420) 2018-03-18 15:53:52 +01:00
palette.h
path.c [WIN32SS] Don't leak memory on failure in IntGdiWidenPath(). 2018-11-16 22:07:08 +01:00
path.h [WIN32SS][NTGDI] Refactoring PATH_WidenPath (#888) 2018-10-28 05:13:08 +09:00
pen.c
pen.h
polyfill.c
print.c [WIN32SS] 2017-11-18 12:15:45 +01:00
rect.c
rect.h [WIN32K] Implement RECTL_bClipRectBySize() and use it in IntEngBitBlt() to clip the target rect against the bounds of the target surface. Also clip the source rect against the source surface. Fixes remaining part of CORE-14463 2018-06-30 16:40:04 +02:00
region.c [NtGDI] Update Region code 2019-04-17 14:43:24 -05:00
region.h [NtGDI] Update Region code 2019-04-17 14:43:24 -05:00
stockobj.c [WIN32SS][FONT] Fix the system logical stock font data (#709) 2018-08-10 15:37:37 +02:00
text.c [WIN32SS][FONT] Fix GetTextFace function and related (#829) 2018-08-30 14:34:03 +02:00
text.h [WIN32SS][FONT] Fix GetTextFace function and related (#829) 2018-08-30 14:34:03 +02:00
wingl.c
xformobj.c [WIN32SS][NTGDI] Strictly check in XFORMOBJ_iSetXform (#1676) 2019-06-24 21:32:40 +09:00
xformobj.h [WIN32SS][NTGDI][GDI32] Fix DPtoLP and NtGdiTransformPoints etc. (#1540) 2019-04-29 14:45:44 +09:00