aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
AgeCommit message (Collapse)AuthorFilesLines
2011-06-15Fix colours appearing wrong on some systems.nyamatongwe1-8/+2
2011-05-02Retreated from turning gdk_cursor_unref into g_object_unref as this caused ↵nyamatongwe1-1/+1
crashes.
2011-05-02Switching to non-deprecated APIs.nyamatongwe1-9/+47
2011-05-02Switching from deprecated gdk_cursor_unref to g_object_unref.nyamatongwe1-2/+2
2011-05-01For GTK+ 3, define SurfaceID to be cairo_t* as this is what is receivednyamatongwe1-5/+27
by draw methods. Disable palette as can't find an equivalent for GTK+ 3.
2011-05-01Use accessor function for allocation and style for GTK+ 3.nyamatongwe1-5/+19
2011-05-01Use accessor function for adjustments and scrollbars for GTK+ 3.nyamatongwe1-1/+10
2011-05-01Use accessor function instead of widget->window for GTK+ 3.nyamatongwe1-5/+13
2011-05-01Disable all use of GdkFont with DISABLE_GDK_FONT since the identifiernyamatongwe1-3/+13
is missing in GTK+ 3.
2011-04-04Fix font rendering in the GTK+ backend when using CairoColomban Wendling1-21/+5
Always get the Pango context though GTK+ API rather than creating it from a Cairo context to always get a context set up for the screen. This fixes font size issues when using Cairo rendering.
2011-02-23Avoid some cppcheck warnings.nyamatongwe1-2/+2
2011-02-01Fix memory leak when using Cairo for drawing. Bug #3157655.nyamatongwe1-0/+1
2010-12-29Clean whitespace.nyamatongwe1-5/+5
2010-11-05Horizontal or vertical lines can be more precisely drawn as a fillednyamatongwe1-17/+31
rectangle as this avoids antialiasing the end points which makes them less intense.
2010-11-05Turn Cairo back on.nyamatongwe1-1/+1
2010-11-05Change fold markers to connect better with Cairo drawing thatnyamatongwe1-5/+5
avoids last pixel with LineTo. Changed RectangleDraw and Ellipse to align better with lines and so match fold markers.
2010-11-05Make Cairo line drawing more compatible with GDK by not drawing lastnyamatongwe1-2/+20
pixel when this is easy.
2010-11-02Can draw with Cairo rather than GDK for compatibility with newer versions of ↵nyamatongwe1-19/+253
GTK+. Will be required for GTK+ 3.0 although not tested with 3.0 or development version 2.9. Can be turned on with USE_CAIRO definition and this is selected automatically for GTK+ 2.22 or later. Cairo is antialiased so some drawing will appear different.
2010-08-19Moved declarations for GdkFont code inside ifndef to avoid warnings.nyamatongwe1-11/+11
2010-08-18GTK+ version-sensitive definitions for widget query functions/macrosUnknown1-1/+7
to avoid deprecation warnings on GTK+ 2.20.
2010-08-18Allow disabling use of deprecated GdkFont by defining DISABLE_GDK_FONT.nyamatongwe1-2/+39
2010-08-17Upgraded deprecated APIs.nyamatongwe1-17/+29
2010-08-05Korean code page 949 supported.Unknown1-3/+3
Chinese code page 936 maps to iconv id CP936 which maps more characters than GB2312.
2010-06-01Fixed memory leaks from bug #3007669.nyamatongwe1-0/+3
2010-05-11Fix compilation on OS X.nyamatongwe1-4/+5
2010-05-04Fixed some warnings from clang --analyze.nyamatongwe1-1/+1
2010-03-25Removed support for GTK+ 1.x.nyamatongwe1-279/+8
2010-03-13Ensured member initialized. Removed EOL whitespace.nyamatongwe1-7/+7
2010-01-28Avoiding warnings from cppcheck. Mostly removing bodies of private copynyamatongwe1-4/+4
constructors and operator=. Also ensuring initialisation for some fields, reducing scope where possible, and passing by const reference.
2010-01-23Should work on older versions of Pango that do not havenyamatongwe1-1/+9
pango_layout_get_line_readonly.
2009-11-02Added setting for font quality to allow application to choose anti-aliased,nyamatongwe1-1/+1
non-anti-aliased or lcd-optimized text.
2009-08-26New Pango code placed in #ifdef so not compiled on GTK+ 1.x.nyamatongwe1-0/+4
2009-08-26Made Japanese and Chinese code pages 932, 936 and 950 work on GTK+.nyamatongwe1-7/+26
2009-08-26Handle measurement of ligatures more uniformly.nyamatongwe1-44/+59
Refactored cluster iteration into a class. Use read-only layout objects as supposed to be a performance benefit.
2009-06-13Patch from Wingware to make width of autocompletion morenyamatongwe1-5/+26
consistent by ensuring width of pixmap taken into account even when no pixmap yet displayed.
2009-05-19Fix for bug #2793806 warnings for typpe punned pointer from g++.nyamatongwe1-12/+19
Still type punning but g++ lets this through.
2009-05-06First stage of Cocoa platform addition.nyamatongwe1-54/+54
Changed identifier id since this is a reserved word in Objective C. SCI_LEXER and SCI_NAMESPACE turned on automatically for OS X native compilation.
2009-05-03Turned on exceptions.nyamatongwe1-5/+9
Translate exceptions into status codes before leaving Scintilla. Pick up status codes in SciTE and throw a ScintillaFailure exception. SciTE on Windows catches ScintillaFailure, shows message and exits.
2009-04-21Replaced call to deprecated gtk_widget_set_uposition with gtk_window_movenyamatongwe1-1/+5
when on GTK+ 2.x.
2008-12-16Namespace work for OS X / XCode compatibility.nyamatongwe1-1/+7
2008-12-12Added namespace support.nyamatongwe1-0/+4
2008-10-09Bug #2056209 avoiding hidden variable warnings with Sun Studio.nyamatongwe1-21/+21
2007-12-01Patch to use GTK+ g_snprintf for platforms that do not have snprintf.nyamatongwe1-9/+5
From scintilla-interest thread "Compatibility patch for GTK part".
2007-07-08More related projects.nyamatongwe1-1/+2
2007-07-07Allows the popup to be displayed below as long as it can fit on the monitornyamatongwe1-0/+27
the cursor is on rather than flipping up above the current point when near bottom of window. Implemented for GTK+ by John Ehresman. Partial Windows implementation #ifdefed out because it uses calls unavailable on Windows 95.
2007-06-15Correctly measure widths of Latin1 characters that take 2 bytes in UTF-8.nyamatongwe1-6/+16
2007-06-14Handle positioning for ligatures like fi and fl better. Pango treats thesenyamatongwe1-3/+13
as one cluster so the width of the cluster is spread amongst the bytes.
2007-05-11Only perform alpha blending on rectangles with positive widths tonyamatongwe1-2/+2
avoid warnings. Tracing on GTK+ goes to standard error so is not buffered.
2007-04-19All Unicode planes supported, not just the Basic Multilingual Plane.nyamatongwe1-3/+3
2007-01-03Remove [MSVC] compile-time warnings for "empty" controlled statement and ↵rdaneelolivaw1-4/+4
gboolean != bool