aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2011-05-01Use accessor function instead of widget->window for GTK+ 3.nyamatongwe2-32/+57
2011-05-01Disable all use of GdkFont with DISABLE_GDK_FONT since the identifiernyamatongwe1-3/+13
is missing in GTK+ 3.
2011-05-01Enable building for GTK+ 3.0 with "make GTK3=1".nyamatongwe1-2/+10
2011-04-07Previous change to -1x-1 requisition caused warnings so use 1x1.nyamatongwe1-2/+2
2011-03-31Fix sizing issue in GTK+ widget.Matthew Brush1-2/+2
Rather than use an unusual default size of 600 x SCREEN_HEIGHT, request -1 x -1 for the natural widget size.
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-03-30Removing empty lines.nyamatongwe1-4/+0
2011-03-28Reset cursors when Scintilla widget is realized.Matthew Brush1-0/+12
Solves problem which occurs when Scintilla widget is unrealized and then re-realized and the cursor is left at GDK_XTERM even over the scrollbars. When the Scintilla widget is unrealized it's GdkWindows are destroyed and so the previous cursors are lost. This commit forces default cursors on the text and scrollbar windows when the widget is realized. References: http://www.mail-archive.com/scintilla-interest@lyra.org/msg01364.html http://git.geany.org/geany/tree/plugins/splitwindow.c#n310 http://www.mail-archive.com/geany@uvena.de/msg00821.html
2011-03-28Fix X PRIMARY selection issue when Scintilla widget is unrealized/re-realized.Matthew Brush1-8/+16
When the widget is unrealized (for ex. with gtk_container_remove), the GdkWindows used in the widget are destroyed and when the widget is realized again (for ex. with gtk_container_add), the GdkWindows are re-created. This commit moves the gtk_selection_add_targets() calls into the RealizeThis function, so that when the widget is realized again, the selection targets are re-added on the new GdkWindow. Also add gtk_selection_clear_targets() into UnRealizeThis to remove the registered targets before the GdkWindow is destroyed. References: http://mail.gnome.org/archives/gtk-devel-list/2002-March/msg00078.html http://mail.gnome.org/archives/anjuta-devel-list/2002-March/msg00066.html http://git.geany.org/geany/tree/plugins/splitwindow.c#n310
2011-03-26Make right mouse click outside selection cancel selection. Bug #3235190nyamatongwe1-0/+2
This is compatible with Windows. From Jérôme LAFORGE.
2011-03-26Command line option to check for deprecated calls.nyamatongwe1-1/+3
2011-02-23Avoid some cppcheck warnings.nyamatongwe1-2/+2
2011-02-13Make work on Windows.nyamatongwe1-2/+2
2011-02-01Fix memory leak when using Cairo for drawing. Bug #3157655.nyamatongwe1-0/+1
2011-01-22Check for Win32 and use DEL instead of rm. Ensures 'make clean' works on ↵nyamatongwe1-1/+9
Windows.
2010-12-29Clean whitespace.nyamatongwe1-5/+5
2010-12-11Make multiple selection multi-paste work when multi-type is off. Bug #3126221.nyamatongwe1-1/+1
2010-12-03Remove styling idle in destructor to avoid crashing when idle callednyamatongwe1-0/+1
after ScintillaGTK instance destroyed.
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 ↵nyamatongwe2-22/+259
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-10-21Using non-deprecated functions for manipulating widget flags.Unknown1-0/+33
2010-08-19Moved declarations for GdkFont code inside ifndef to avoid warnings.nyamatongwe1-11/+11
2010-08-18Updated for ILexer.h.Unknown1-25/+19
2010-08-18Changed deprecation flags to turn off GdkFont use which is deprecated.Unknown1-1/+1
2010-08-18GTK+ version-sensitive definitions for widget query functions/macrosUnknown2-7/+23
to avoid deprecation warnings on GTK+ 2.20.
2010-08-18Include deprecation options to make it easy to check for use of deprecated APIs.nyamatongwe1-1/+2
2010-08-18Allow disabling use of deprecated GdkFont by defining DISABLE_GDK_FONT.nyamatongwe1-2/+39
2010-08-18Avoid deprecated API gtk_type_class.nyamatongwe1-1/+1
2010-08-18Avoid deprecated API gtk_selection_clear.nyamatongwe1-1/+4
2010-08-18Removed code that is not used since GTK+ 1.x is no longer supported.nyamatongwe1-41/+0
That code used deprecated APIs.
2010-08-17Upgraded deprecated APIs.nyamatongwe2-46/+51
2010-08-05Removing SC_CP_DBCS as it does not fit into new DBCS processing code.nyamatongwe1-2/+1
Updated documentation to describe the common DBCS support between platforms and removed outdated text.
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-08-05DBCS case folder for GTK+.Unknown1-22/+61
2010-08-05Removal of line end white space.nyamatongwe1-3/+3
2010-08-05Added Korean code pages 949 and 1361.nyamatongwe1-0/+2
2010-07-17Avoid warning from GTK+ headers: "ISO C++ 1998 does not support 'long long'".nyamatongwe1-1/+1
2010-07-13Using Make functions to avoid regenerating makefile when set of lexers changed.nyamatongwe1-16/+1
2010-07-13Platform files changed for new lexer design.nyamatongwe1-5/+7
2010-07-13Build files that reflect the new lexer directories and added files.nyamatongwe2-289/+59
2010-06-11Ensure thread safety with idle callbacks in case application is multithreaded.nyamatongwe1-0/+4
See http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html#id2755107
2010-06-05Using Make functions to avoid regenerating makefile when set ofnyamatongwe1-16/+1
lexers changed.
2010-06-01Fixed memory leaks from bug #3007669.nyamatongwe1-0/+3
2010-05-26Drawing optimizations adding a styling idle task redrawing less of thenyamatongwe1-8/+27
selection margin and scrolling the window for caret movement when possible.
2010-05-11Fix compilation on OS X.nyamatongwe1-4/+5
2010-05-08Switched to using documented parameter for SCI_LOADLEXERLIBRARYnyamatongwe1-1/+1
on GTK+.
2010-05-04Removed duplicate optimization option.nyamatongwe1-1/+1