aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2014-09-24GTK: Fix auto-completion popup row height computation on GTK 3.14Colomban Wendling1-0/+9
GTK 3.14 changed how the cell padding is calculated, and I can't seem to understand the new logic yet. So, use the correct API for computing the row size, which unfortunately doesn't work for us on GTK2, but otherwise is a better way to go anyway. Tested with GTK 3.2, 3.8, 3.10, 3.12 and 3.14.
2014-09-16GTK: Don't hardcode auto-completion popup frame border widthColomban Wendling1-3/+6
2014-09-12GTK: Fix auto-completion popup sizing on some themesColomban Wendling1-11/+11
2014-09-12GTK: Allow the auto-completion popup to be as small as neededColomban Wendling1-13/+32
2014-09-11GTK: Fix auto-completion popup width to better fit contentsColomban Wendling1-2/+23
2014-09-11GTK: Fix auto-completion popup height to better fit contentsColomban Wendling1-22/+30
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-03Normalise header inclusion order.Neil1-1/+1
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-11Handle empty pre-edit string.rel-3-5-0Neil1-1/+1
From johnsonj.
2014-08-08Fix leak in ListBox::GetSelection() on GTKColomban Wendling1-2/+4
2014-08-08Allow IME to be displayed inline for Korean.Neil1-28/+133
From johnsonj.
2014-08-05Create a class to manage pre-edit strings and ensure their resources are freed.Neil1-33/+31
2014-08-02Clang warns for register keyword used in system headers so turn off warning.Neil1-1/+1
2014-07-22Make a little safer when there is text that is invalid in the encoding.Neil1-0/+4
2014-07-15Implement separate timers for each type of periodic activity and turn them ↵Neil Hodgson1-16/+41
on and off as required. This saves power as there are fewer wake ups. A tolerance value is provided so that platforms that support coalescing timers, Windows 8+ and OS X 10.9+, can use them. The previous global 100 millisecond timer may still be used by non-core platforms.
2014-06-20Protect against calling Cairo function on versions of Cairo before it existed.nyamatongwe1-0/+2
2014-07-08Updated make dependencies for new files.Neil1-47/+98
2014-07-08Split out EditModel, MarginView, and EditView classes into separate files.Neil2-1/+5
2014-07-08Specifying some methods as const as they are used from display and measurementNeil1-3/+4
code that will be changed to have read-only access.
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-05-31Remove definitions that are provided by make.Neil1-4/+0
2014-05-31Compatibility with makefile conventions: use CXX for C++ compiler and CC forNeil1-7/+7
C compiler. Allow overriding file deletion command on command line so that 'rm' can be used when cross-compiling from Unix to Windows.
2014-05-24Header include statements are now in a standardised order with that orderNeil1-13/+15
defined in scripts/HeaderOrder.txt.
2014-05-19Fix missing redraws on GTK < 3.9.2Colomban Wendling1-5/+15
Also, make the recent redraw fixes depend on the GTK version Scintilla is running against, rather than built against. This allows for the same build to work with both GTK < 3.9.2 or >= 3.9.2.
2014-05-14GTK: Avoid flickering when wrapping linesColomban Wendling1-1/+1
2014-05-14Bug [#1567]. Fix display flashing when scrolling with Gtk+ 3.10.Neil1-4/+23
Includes work from Sébastien Granjoux and Colomban Wendling.
2014-05-02Use exact SciFnDirect function signature for DirectFunction as earlier versionNeil1-3/+3
depended on undefined behaviour.
2014-05-02Enable building with Clang undefined behaviour sanitizer.Neil1-2/+6
2014-05-01Consolidate insertion for paste into Editor class and perform line endNeil1-9/+3
conversion in Editor.
2014-04-18Fix calls deprecated in GTK+ 3.10.Neil1-2/+11
2014-04-16Allow filtering of insertions.Neil1-2/+3
2014-01-21Using ELEMENTS for clarity and safety. Avoid memset for safety.Neil2-4/+5
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 whichNeil2-8/+7
guaranty termination where possible.
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil2-4/+4
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-8/+9
Parameter names added to method declarations.
2013-11-16ScintillaGTK: Call superclass finalize() in ScintillaObjectThomas Martitz1-5/+5
The ScintillaObject class does not chain up to its superclass in the finalize() function. This is a bug and must be done according to the GLib/GObject documentation. One effect of this is that the destroy notifiers supplied in e.g. g_object_set_data_full() are never run. Fixes Bug: #1549 ScintillaObject.finalize() does not chain up
2013-11-14ScintillaGTK: Call superclass finalize() in ScintillaObjectThomas Martitz1-0/+4
The ScintillaObject class does not chain up to its superclass in the finalize() function. This is a bug and must be done according to the GLib/GObject documentation. One effect of this is that the destroy notifiers supplied in e.g. g_object_set_data_full() are never run. Fixes Bug: #1549 ScintillaObject.finalize() does not chain up
2013-11-07Bug [#1546]. Fix horizontal scroll bar range to not be double the needed width.neilh1-5/+5
2013-11-03Clean line-end whitespace.neilh1-2/+2
2013-11-03Avoid warnings for scope and unused value set.Neil1-2/+3
2013-11-03Report control key as SCI_META for mouse down events for GTK+ on OS X.nyamatongwe1-7/+13
Also enables more flexibility with modifier keys.
2013-09-30Added FocusIn and FocusOut notification events (SCN_FOCUSIN/SCN_FOCUSOUT) to beNeil1-0/+1
used in preference to the SCEN_SETFOCUS and SCEN_KILLFOCUS command events.
2013-09-10Use C++ struct initialization {} so can drop -Wno-missing-braces setting for ↵Neil2-3/+3
gcc.
2013-09-10Drop warning setting -Wno-missing-braces since this has had no effect since ↵Neil1-1/+1
gcc 4.2.
2013-09-04Fix namespace compilation errors when SCI_NAMESPACE defined.Neil2-22/+10