aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
AgeCommit message (Collapse)AuthorFilesLines
2014-09-05Avoid shadowed identifiers.Neil1-11/+11
2014-09-04GTK: fix cached completion popup window sizingColomban Wendling1-13/+14
Only cache the popup window itself and not its content, as it seems the window sizing is affected whether the content was just created or not.
2014-09-01GTK: cache the completion popup windowColomban Wendling1-3/+22
This avoids creating and destroying windows quickly under stress, which may lead to XID collisions. See e.g. https://bugzilla.gnome.org/show_bug.cgi?id=581526 and https://bugzilla.gnome.org/show_bug.cgi?id=590690 Closes [bugs:1649].
2014-08-08Fix leak in ListBox::GetSelection() on GTKColomban Wendling1-2/+4
2014-07-22Make a little safer when there is text that is invalid in the encoding.Neil1-0/+4
2014-06-20Protect against calling Cairo function on versions of Cairo before it existed.nyamatongwe1-0/+2
2014-06-24Ensure context is not freed for measurement surfaces as it is NULL.Neil1-1/+1
2014-06-23GTK: Don't create unnecessary drawing contextsColomban Wendling1-14/+9
When surfaces are created without an explicit target surface they are only used for measurement purposes, so don't create a unnecessary drawing context out of the widget's surface. This avoid calling gdk_cairo_create() outside a draw handler, which GTK 3.14 stops allowing [1]. [1] https://mail.gnome.org/archives/gtk-devel-list/2014-June/msg00010.html
2014-06-16Fix crashes on Ubuntu 12.04 caused by overlay scrolll bar causing the drawingNeil1-0/+16
surface to be finished.
2014-01-21Using ELEMENTS for clarity and safety. Avoid memset for safety.Neil1-2/+2
2014-01-18Draw cicles centred as intended so that folding margin markers look correct.Neil1-1/+1
2013-12-22Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions whichNeil1-6/+5
guaranty termination where possible.
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil1-2/+2
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-8/+9
Parameter names added to method declarations.
2013-09-04Fix namespace compilation errors when SCI_NAMESPACE defined.Neil1-13/+1
2013-07-22Bug: [#1470] Fix GTK+ crash for Hebrew text.Unknown1-2/+14
2013-07-21Normalising order of language headers.Neil1-1/+1
2013-07-21Replaced M_PI with a local constant kPi since M_PI is not defined by ISO C/C++.Unknown1-2/+4
2013-06-05Make method const since it has no side-effects.Unknown1-1/+1
2013-05-23Switch to calls compatible with old compilers/run times so that cross compilingnyamatongwe1-3/+3
Linux -> OS X works. From Mitchell Foral.
2013-05-05Since new throws an exception on failure, remove testing of result.nyamatongwe1-5/+3
2013-05-04Replacing raw pointers and allocations with std::vector and std::string.Neil Hodgson1-59/+47
2013-04-26Release all cached fonts when finalising.Unknown1-0/+8
2013-02-21Fixed outdated comment.nyamatongwe1-2/+1
2013-01-01Properly update the Pango contexts for the target surfaceColomban Wendling1-0/+4
This fixes drawing on a surface that has different settings (like scaling) than the display surface, by performing the measurements on a layout properly set up for the target surface. In practice, this fixes e.g. printing on a scaled surface. --- gtk/PlatGTK.cxx | 4 ++++ 1 file changed, 4 insertions(+)
2013-01-01Switch to non-deprecated thread and mutex APIs when using GLib >= 2.31.Neil Hodgson1-0/+12
2012-07-21Add extra argument to RGBAImage constructor.Neil Hodgson1-1/+1
2012-05-27Disable a warning that clang 3.0 gives incorrectly.Neil Hodgson1-0/+5
2012-04-29Fix autocompletion list being too short on GTK+ 3.x.nyamatongwe1-1/+6
2012-04-21Use C++ casts instead of C casts to avoid warnings from cppcheck.nyamatongwe1-5/+5
2011-12-09Allow fractional widths for single character strings.nyamatongwe1-4/+4
2011-12-12On GTK+ 2.x, change SurfaceID from GdkDrawable* to a cairo_t* so that it isnyamatongwe1-5/+1
the same as on GTK+ 3.x. This simplifies compatibility and allows implementing printing on GTK+ 2.x.
2011-11-04Round to nearest pixels horizontally to avoid background artifacts on OS X.nyamatongwe1-0/+2
From Mitchell Foral.
2011-09-27Made recent fractional positioning and ARGB code compatible withnyamatongwe1-6/+21
old versions of Pango and Cairo.
2011-09-25Palette support removed.nyamatongwe1-129/+26
2011-09-24Merged fractional text positioning branch.nyamatongwe1-80/+76
2011-09-24Removed support for GDK drawing in favour of Cairo which has beennyamatongwe1-842/+22
available since 2.8. Removed #ifs for versions earlier than 2.8.
2011-09-09Update deprecated calls to GTK+ 3 maintained functions.nyamatongwe1-0/+4
2011-09-09Update deprecated calls to GTK+ 3 maintained functions.nyamatongwe1-0/+4
2011-09-09Merge with main repository.nyamatongwe1-20/+3
2011-09-06Always use Cairo for drawing.nyamatongwe1-3/+1
2011-09-02Removed archaic unused deallocation calls.nyamatongwe1-18/+3
2011-08-11Implement new APIs defined for technology choice on Windows.nyamatongwe1-40/+37
2011-08-07Implement fractional widths and range of weights for GTK+.nyamatongwe1-66/+66
2011-07-12Fix Shift-JIS lead byte ranges to match Windows.nyamatongwe1-1/+2
2011-06-25Initial implementation of RGBA images.nyamatongwe1-31/+85
2011-05-12Make rounded rectangle work on Cairo versions before 1.2.nyamatongwe1-0/+5
2011-05-12Switching to function that works on all supported versions of GTK+.nyamatongwe1-1/+1
2011-06-19Fix problems when using CAIRO on older GTK+ versions. Bug #3322351.Marko Njezic1-3/+31
2011-06-18Updating AlphaRectangle for Cairo mode with no palette.nyamatongwe1-8/+10