aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-03-12Reduce size of buffers allocated on stack to avoid warnings from Visual StudioNeil1-1/+1
analyze.
2015-01-13Using size_t instead of unsigned int for conversions to UTF16 for 64-bitNeil1-2/+2
compatibility and to lessen the number of casts.
2015-01-11Support removed for Windows 95, 98, and ME.Neil1-42/+6
2015-01-10On Windows GDI, assume font names are encoded in UTF-8 and use wide characterNeil1-8/+12
calls to allow use of Asian font names.
2014-12-20Check for failure of SystemParametersInfo.Neil1-8/+9
2014-10-07Trace failures to flush when drawing bitmaps in Direct2D.Neil1-1/+4
2014-10-07Feature [feature-requests:#1080]. Allow right click selection in popup menu.Neil1-1/+1
2014-07-23Avoid shadowed names mostly in method prototypes. Turn off shadowNeil1-4/+4
warnings for lexers since they may be maintained by others.
2014-05-31Merge 343-Win32-Fix which fixes hangs and crashes at shutdown on Windows.Neil1-1/+1
2014-05-26Bug [#1602]. Bug [#1603]. Fix hangs and crashes at shutdown.Neil1-24/+26
2014-05-24Header include statements are now in a standardised order with that orderNeil1-1/+1
defined in scripts/HeaderOrder.txt.
2014-05-03Replacing the int-based constructors for Point and PRectangle with FromIntsNeil1-9/+9
static methods as there were too many failures with mixed types and not-quite matching types.
2014-05-03Turn on MSVC 'possible loss of data' warnings and add explicit casts.Neil1-12/+14
2014-05-03Explicit and more consistent use of XYPOSITION versus int.Neil1-74/+101
Fixes possible loss of data warnings when switched on.
2014-04-25Free system libraries at finalization.Neil1-3/+21
2014-04-25Delete factories when shutting down to avoid system messages frommm DXGI.Neil1-0/+9
2014-02-02Fix bug when resizing list with only short strings caused the list to move.Neil1-1/+2
2014-01-24Make RoundedRectangle with Direct2D have similar shape to GDI with 4 pixelNeil1-2/+2
radius corners.
2014-01-21Avoid memset for safety.Neil1-2/+2
2014-01-18With Direct2D draw circles with a 1 pixel larger radius to better matchNeil1-1/+1
other platforms and ensure for folding markers that the '+' or '-' do not touch the circle. Change order of drawing so that circles are drawn after connecting lines so overwrite any tails.
2014-01-12Remove old workarounds for system headers missing elements.Neil1-30/+1
2013-12-22Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions whichNeil1-5/+4
guaranty termination where possible.
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil1-3/+3
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-15/+16
Parameter names added to method declarations.
2013-10-23Feature [feature-requests:#887]. Apply GDI gamma to DirectWrite .Neil1-1/+43
From Marko Njezic.
2013-10-17Avoid failure in MinGW-w64 Direct2D binding.Neil1-1/+6
2013-09-10Use C++ struct initialization {} so can drop -Wno-missing-braces setting for ↵Neil1-4/+3
gcc.
2013-09-04Fix namespace compilation errors when SCI_NAMESPACE defined.Neil1-20/+8
2013-08-02Fix failures when invalid DBCS text was measured by ensuringNeil1-4/+7
all positions are filled with reasonable non-negative values.
2013-07-25Minor changes to avoid warnings from Coverity.Neil1-6/+15
2013-07-21Normalising order of language headers.Neil1-2/+2
2013-07-03Make work with older compilers.Neil1-1/+4
2013-07-03Hide deprecation warning for GetVersionEx.nyamatongwe1-0/+10
2013-07-03Avoid using results from failed calls.nyamatongwe1-9/+12
2013-06-05Make method static as it does not use instance variables.nyamatongwe1-2/+2
2013-05-08Partial fix for compiling Direct2D code with MinGW-w64.nyamatongwe1-10/+11
Also needs changes to GUID code and the pixel format in InitPixMap but the correct code for those issues is less certain.
2013-05-07Replace X.data() with &X[0] to allow building with old releases of Visual C++.nyamatongwe1-1/+1
2013-05-05Since new throws an exception on failure, remove testing of result.nyamatongwe1-5/+3
2013-05-04Replacing raw pointers and allocations for list box with std::vector.nyamatongwe1-94/+25
2013-04-24Cosmetic: remove line-end whitespace.nyamatongwe1-11/+11
2013-04-10Minimized code for SetLineSpacing change.nyamatongwe1-6/+1
2013-04-09With DirectWrite, text was drawn at different vertical positions depending ↵nyamatongwe1-0/+6
on which other characters were draw in the same call. Switching to DWRITE_LINE_SPACING_METHOD_UNIFORM fixed this.
2013-04-05Replacing system calls for determining DBCS character width with own ↵nyamatongwe1-4/+32
implementation to be same as other platforms and allow optimization.
2013-04-05Using character set for DirectWrite text so that Russian and similarnyamatongwe1-12/+34
8-bit files display correctly.
2013-04-01Variables not reused so should not be static.nyamatongwe1-4/+2
2013-01-27Check result from CreateDCRenderTarget.nyamatongwe1-13/+15
2013-01-27Disallow copying VarBuffer objects to ensure memory is managed correctly.nyamatongwe1-0/+3
2012-10-04Only look for D2D1.DLL and DWRITE.DLL in %windows%\system32 to avoidnyamatongwe1-2/+2
malware loading from directory near front of DLL search path. From Mat Berchtold.
2012-07-21Add extra argument to RGBAImage constructor.Neil Hodgson1-1/+1
2012-07-17Refine checking for Direct2D and DirectWrite by using NTDDI_WIN7 to indicatenyamatongwe1-1/+1
a recent SDK and allow disabling Direct2D by defining DISABLE_D2D. Run a test compile of a file that includes these headers and use compilation failure to disable Direct2D.