Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-04 | Restored compatibility with GTK+ 2.18 for cursor calls. | nyamatongwe | 1 | -0/+4 | |
2015-06-02 | GTK: Fix runtime completion popup warning | Colomban Wendling | 1 | -1/+2 | |
GtkScrolledWindow in GTK 3.16 might have a minimum and natural height of 0 if GTK_OVERLAY_SCROLLING is enabled (which is the default), so we need to fix our overridden minimal height to never be greater than the natural height. Do that by only changing the minimal height if it is greater than what we want. I don't know why we didn't use to set 0 here, but it might be that a height of 0 caused problems on older GTK versions, so keep 1 to be sure. | |||||
2015-05-29 | As of GTK+ 3.16, gdk_cursor_new is deprecated and has been replaced with | Neil | 1 | -7/+14 | |
gdk_cursor_new_for_display. | |||||
2015-05-22 | GTK: Workaround ABI issue with Windows GTK2 bundle and GCC > 3 | Colomban Wendling | 1 | -1/+16 | |
GtkScrolledWindow contains a bitfield, and GCC 3.4 and 4.8 don't agree on the size of the structure (regardless of -mms-bitfields): - GCC 3.4 has sizeof(GtkScrolledWindow)=88 - GCC 4.8 has sizeof(GtkScrolledWindow)=84 As Windows GTK2 bundle is built with GCC 3, it requires types derived from GtkScrolledWindow to be at least 88 bytes, which means we need to add some fake padding to fill in the extra 4 bytes. There is however no other issue with the layout difference as we never access any GtkScrolledWindow fields ourselves. See http://lists.geany.org/pipermail/devel/2015-April/thread.html#9379 | |||||
2015-05-13 | Bug [#1703]. Fix bug when drawing text margins in buffered mode which would use | Neil | 1 | -0/+1 | |
default encoding instead of chosen encoding. | |||||
2014-10-19 | Avoid warning about assiging pointer to integer. | Neil | 1 | -2/+2 | |
2014-09-24 | GTK: Fix auto-completion popup row height computation on GTK 3.14 | Colomban Wendling | 1 | -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-16 | GTK: Don't hardcode auto-completion popup frame border width | Colomban Wendling | 1 | -3/+6 | |
2014-09-12 | GTK: Fix auto-completion popup sizing on some themes | Colomban Wendling | 1 | -11/+11 | |
2014-09-12 | GTK: Allow the auto-completion popup to be as small as needed | Colomban Wendling | 1 | -13/+32 | |
2014-09-11 | GTK: Fix auto-completion popup width to better fit contents | Colomban Wendling | 1 | -2/+23 | |
2014-09-11 | GTK: Fix auto-completion popup height to better fit contents | Colomban Wendling | 1 | -22/+30 | |
2014-09-05 | Avoid shadowed identifiers. | Neil | 1 | -11/+11 | |
2014-09-04 | GTK: fix cached completion popup window sizing | Colomban Wendling | 1 | -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-01 | GTK: cache the completion popup window | Colomban Wendling | 1 | -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-08 | Fix leak in ListBox::GetSelection() on GTK | Colomban Wendling | 1 | -2/+4 | |
2014-07-22 | Make a little safer when there is text that is invalid in the encoding. | Neil | 1 | -0/+4 | |
2014-06-20 | Protect against calling Cairo function on versions of Cairo before it existed. | nyamatongwe | 1 | -0/+2 | |
2014-06-24 | Ensure context is not freed for measurement surfaces as it is NULL. | Neil | 1 | -1/+1 | |
2014-06-23 | GTK: Don't create unnecessary drawing contexts | Colomban Wendling | 1 | -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-16 | Fix crashes on Ubuntu 12.04 caused by overlay scrolll bar causing the drawing | Neil | 1 | -0/+16 | |
surface to be finished. | |||||
2014-01-21 | Using ELEMENTS for clarity and safety. Avoid memset for safety. | Neil | 1 | -2/+2 | |
2014-01-18 | Draw cicles centred as intended so that folding margin markers look correct. | Neil | 1 | -1/+1 | |
2013-12-22 | Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions which | Neil | 1 | -6/+5 | |
guaranty termination where possible. | |||||
2013-12-15 | Make single argument constructors explicit to avoid unexpected conversions. | Neil | 1 | -2/+2 | |
2013-12-15 | Format normalization - whitespace and braces made consistent. | Neil | 1 | -8/+9 | |
Parameter names added to method declarations. | |||||
2013-09-04 | Fix namespace compilation errors when SCI_NAMESPACE defined. | Neil | 1 | -13/+1 | |
2013-07-22 | Bug: [#1470] Fix GTK+ crash for Hebrew text. | Unknown | 1 | -2/+14 | |
2013-07-21 | Normalising order of language headers. | Neil | 1 | -1/+1 | |
2013-07-21 | Replaced M_PI with a local constant kPi since M_PI is not defined by ISO C/C++. | Unknown | 1 | -2/+4 | |
2013-06-05 | Make method const since it has no side-effects. | Unknown | 1 | -1/+1 | |
2013-05-23 | Switch to calls compatible with old compilers/run times so that cross compiling | nyamatongwe | 1 | -3/+3 | |
Linux -> OS X works. From Mitchell Foral. | |||||
2013-05-05 | Since new throws an exception on failure, remove testing of result. | nyamatongwe | 1 | -5/+3 | |
2013-05-04 | Replacing raw pointers and allocations with std::vector and std::string. | Neil Hodgson | 1 | -59/+47 | |
2013-04-26 | Release all cached fonts when finalising. | Unknown | 1 | -0/+8 | |
2013-02-21 | Fixed outdated comment. | nyamatongwe | 1 | -2/+1 | |
2013-01-01 | Properly update the Pango contexts for the target surface | Colomban Wendling | 1 | -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-01 | Switch to non-deprecated thread and mutex APIs when using GLib >= 2.31. | Neil Hodgson | 1 | -0/+12 | |
2012-07-21 | Add extra argument to RGBAImage constructor. | Neil Hodgson | 1 | -1/+1 | |
2012-05-27 | Disable a warning that clang 3.0 gives incorrectly. | Neil Hodgson | 1 | -0/+5 | |
2012-04-29 | Fix autocompletion list being too short on GTK+ 3.x. | nyamatongwe | 1 | -1/+6 | |
2012-04-21 | Use C++ casts instead of C casts to avoid warnings from cppcheck. | nyamatongwe | 1 | -5/+5 | |
2011-12-09 | Allow fractional widths for single character strings. | nyamatongwe | 1 | -4/+4 | |
2011-12-12 | On GTK+ 2.x, change SurfaceID from GdkDrawable* to a cairo_t* so that it is | nyamatongwe | 1 | -5/+1 | |
the same as on GTK+ 3.x. This simplifies compatibility and allows implementing printing on GTK+ 2.x. | |||||
2011-11-04 | Round to nearest pixels horizontally to avoid background artifacts on OS X. | nyamatongwe | 1 | -0/+2 | |
From Mitchell Foral. | |||||
2011-09-27 | Made recent fractional positioning and ARGB code compatible with | nyamatongwe | 1 | -6/+21 | |
old versions of Pango and Cairo. | |||||
2011-09-25 | Palette support removed. | nyamatongwe | 1 | -129/+26 | |
2011-09-24 | Merged fractional text positioning branch. | nyamatongwe | 1 | -80/+76 | |
2011-09-24 | Removed support for GDK drawing in favour of Cairo which has been | nyamatongwe | 1 | -842/+22 | |
available since 2.8. Removed #ifs for versions earlier than 2.8. | |||||
2011-09-09 | Update deprecated calls to GTK+ 3 maintained functions. | nyamatongwe | 1 | -0/+4 | |