aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
AgeCommit message (Collapse)AuthorFilesLines
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.
2012-07-17Avoid loss of precision warnings from Borland.nyamatongwe1-4/+4
2012-07-17MultiMon.h can cause multiple definition problems when Scintilla is ↵nyamatongwe1-49/+66
statically linked. Avoid these issues and ensure compatibility with NT 4 by not including MultiMon.h and dynamically linking to the monitor APIs when available. If not available use the single monitor work area to define the available area.
2012-07-16Reenable building for Windows NT 4 on NT 4.nyamatongwe1-1/+5
2012-07-10Avoid warnings from Visual Studio Code Analysis for unchecked values and anyamatongwe1-52/+55
loop with unclear termination.
2012-07-02Implement clipped text drawing on Direct2D. This will improve drawing ofnyamatongwe1-1/+9
text blobs and block carets. From Marko Njezic.
2012-05-26Fix for IME input sometimes causing horizontal jumps. Bug #3529728nyamatongwe1-0/+2
2012-05-19Remove old, experimental code.nyamatongwe1-8/+0
2012-05-19Free text layout after drawing text.nyamatongwe1-0/+1
2012-05-08Add some casts to avoid narrowing warnings from g++ 4.7.nyamatongwe1-9/+11
2012-02-29Bug #3495791. Create auxiliary surfaces on Direct2D without alpha channel, asMarko Njezic1-1/+4
no underlying code expects them to be transparent. This will make text drawing use the same anti-aliasing mode no matter if using buffered mode or not.
2012-03-01Fix unsafe typecast. Bug #3495966.Marko Njezic1-1/+1
2012-03-03Bug #3494744. Implement InternalLeading() method on Direct2D. This will ↵nyamatongwe1-6/+20
improve drawing of text blobs and dimensioning of call tips. From Marko Njezic.
2012-03-01Bug #3494492. Prevent AlphaRectangle() from drawing blurry rectangle under ↵nyamatongwe1-11/+22
Direct2D. From Marko Njezic.
2012-03-01Bug #3494492. Change aveCharWidth in FontMeasurements to actually storenyamatongwe1-2/+2
fractional width. This change complements change set 3994. Make WidthText() and AverageCharWidth() actually return fractional widths under Direct2D. From Marko Njezic.
2012-03-01Remove duplicated code. Bug #3494492. From Marko Njezic.nyamatongwe1-1/+0