Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-05-11 | Bug [#1827]. GTK: Avoid possible IdleWork() calls on destructed objects | Colomban Wendling | 1 | -5/+16 | |
The idle callback removal clause in the ScintillaGTK destructor got broken in 4e5c321dda8e69104cb7b639c3107dc11dbc00f6, leading to the callback not being removed thus possibly running after the instance destruction. Indeed, gdk_threads_add_idle() wraps g_idle_add() with a custom user data, thus making the g_source_remove_by_user_data() call in the destructor incorrect, as we give it our own user data, not GDK's wrapper one. Fix the callback removal not to use user data matching to avoid this. | |||||
2016-05-05 | Remove template adaptor as only g_iconv is used now. Use glib's gsize type as it | Neil Hodgson | 1 | -4/+4 | |
matches g_iconv exactly. Make character set name buffer dynamically sized. | |||||
2016-05-03 | Avoid use of const_cast when retrieving window positions. | Neil | 1 | -1/+1 | |
2016-05-01 | Do not call deprecated functions on newer GTK+. | Neil Hodgson | 1 | -0/+6 | |
2016-04-27 | GTK: Properly ask wText what size it wants to please GTK 3.20 | Colomban Wendling | 1 | -2/+11 | |
It's not really of any use as we do know any size would do as wText is ours anyway, but GTK 3.20 doesn't like allocating without querying the preferred size beforehand, so do it. As wText has a size_request() of 100x100, this might change how we allocate in case we used to underallocate it, but AFAIK we don't, and it is the real minimum size expected. | |||||
2016-04-14 | Simplified IME caret positioning. | johnsonj | 1 | -12/+8 | |
2016-04-08 | Scintilla Gtk: use gdk_threads_add_idle_full() instead of g_idle_add_full() ↵ | Robin Haberkorn | 1 | -16/+5 | |
and gdk_threads_add_timeout() instead of g_timeout_add() * The g_idle/g_timeout watchers are not executed with the Gdk lock held. This causes memory corruptions and crashes when accessing the Scintilla object from the non-main-loop-thread. At least this was the case after Gdk 3.6 since Scintilla used gdk_threads_enter()/leave() for earlier versions. The timeout handlers have possibly always been broken. * The new version should work with non-deprecated APIs in all Gdk versions. * Even though this only fixes the idle handlers in Gdk >= 3.6 where gdk_threads_enter() is deprecated (the only way to provoke above situation) - and the timers of course - this patch makes the code more elegant. | |||||
2016-03-29 | Feature [feature-requests:#1142]. Allow Super modifier on GTK+. | Neil | 1 | -5/+3 | |
2016-03-10 | Fix caret position bug on Qt and Gtk for win32 for Korean.rel-3-6-4 | johnsonj | 1 | -0/+2 | |
2016-02-09 | Fix 64-bit build on Windows which was broken in 3.6.3 as long only 32-bits. | Neil | 1 | -1/+1 | |
2016-01-02 | IME attribute processing simplified for GTK+. | johnsonj | 1 | -32/+19 | |
2015-12-15 | Minor cleanups for GObject introspection. | Neil | 1 | -3/+0 | |
Avoid doc-comment in header as they are interpreted by g-ir-scanner, fix a typo, remove empty lines, add to change log. | |||||
2015-12-13 | Fix issues raised by review and some more | Thomas Martitz | 1 | -3/+3 | |
- remove any notion of deprecation of legacy symbol names - make sure typelib search path is set for test program - add separate test target to test/gi/makefile - improve g-ir-scanner call command line - fixed gtk2 support of test test/gi/gi-test.py | |||||
2015-08-10 | Enable g-ir-scanner to run on ScintillaWidget.h | Thomas Martitz | 1 | -4/+21 | |
g-ir-scanner expects a certain naming scheme. Adhering gives the benefit of automatically getting correct gobject-introspection data. | |||||
2015-12-15 | Simplify IME code by using g_unichar_to_utf8. | johnsonj | 1 | -44/+21 | |
2015-12-14 | Block IME when some selected text is protected. | johnsonj | 1 | -1/+1 | |
2015-12-11 | Korean input by word fixed. | johnsonj | 1 | -4/+3 | |
2015-12-08 | Cancel IME composition for read-only documents. | johnsonj | 1 | -0/+5 | |
2015-11-20 | Remove line end whitespace. | Neil | 1 | -2/+2 | |
2015-11-13 | Check for NULL value in ScintillaGTK::ForAll() | Jiří Techet | 1 | -2/+4 | |
2015-11-06 | Unparent scrollbars in dispose on GTK | Jiří Techet | 1 | -3/+23 | |
Dispose should be used to remove references to objects that might point to the destructed object. This is the case of scrollbars whose parent is ScintillaGtk and which internally hold pointers to it. This eliminates warnings on OS X. | |||||
2015-09-27 | Simplify casting by using static_cast instead of reinterpret_cast, glib macros | Neil | 1 | -21/+22 | |
for passing integer values to callbacks, and avoiding casts by making functions follow prototypes exactly. | |||||
2015-09-05 | Remove #if sections which are not required for GTK+ 2.18. | nyamatongwe | 1 | -60/+2 | |
2015-09-05 | With the minimum GTK+ version now 2.18, remove #if conditions required for older | nyamatongwe | 1 | -24/+1 | |
versions of GTK+. | |||||
2015-09-04 | Change FillVirtualSpace to ClearBeforeTentativeStart and delete selected text. | johnsonj | 1 | -1/+1 | |
2015-08-06 | Bug [#1743]. Never report the client rectangle as having a negative width or | Neil | 1 | -0/+4 | |
height as this causes "Invalid rectangle passed" warning messages. | |||||
2015-07-28 | Avoid candidate box randomly popping up away from edit pane with (especially | johnsonj | 1 | -0/+1 | |
Japanese) IME input. | |||||
2015-07-27 | Add Position.h as a place-holder and to allow #include "Position.h" in source. | Neil | 1 | -0/+1 | |
2015-07-05 | GTK: Fix leaking scrollbars | Colomban Wendling | 1 | -0/+3 | |
2015-06-05 | Simplified retrieval of correct display for widget and ensure works on older ↵ | nyamatongwe | 1 | -5/+1 | |
versions of GTK+. | |||||
2015-06-04 | Restored compatibility with GTK+ 2.18 for cursor calls. | nyamatongwe | 1 | -2/+5 | |
2015-06-03 | GTK: Don't use gdk_window_set_user_data() in a deprecated manner | Colomban Wendling | 1 | -0/+4 | |
Since GTK 3.8 gtk_widget_register_window() should be used instead of gdk_window_set_user_data() in a widget's ::realize() method. gtk_widget_unregister_window() is called by the GtkWidget's ::unrealize() handler we chain up to. This has no functional impact. | |||||
2015-06-03 | GTK: Use the proper GTK3 way to set widget window background | Colomban Wendling | 1 | -6/+2 | |
It also drops use of gtk_style_context_get_background_color() that has been deprecated in 3.16. This however has no functional changes. | |||||
2015-06-03 | GTK: Remove unused prototype | Colomban Wendling | 1 | -1/+0 | |
2015-05-29 | As of GTK+ 3.16, gdk_cursor_new is deprecated and has been replaced with | Neil | 1 | -4/+6 | |
gdk_cursor_new_for_display. | |||||
2015-05-22 | GTK: Fill the scrollbars junction | Colomban Wendling | 1 | -0/+18 | |
Fill the scrollbars junction square with the appropriate style on GTK version having a style for it (GTK >= 3.4). Mostly fixes [bugs:#1611]. | |||||
2015-05-13 | Make a single argument constructor explicit. | Neil | 1 | -1/+1 | |
2015-03-30 | Use inline IME for Korean and decide whether input is Korean more accurately. | Neil | 1 | -6/+7 | |
From johnsonj. | |||||
2015-02-11 | Don't disable adaptive speed of scrolling on OS X with GTK Quartz backend | Jiřà Techet | 1 | -3/+4 | |
There does not seem to be any adaptive scroll speed control when using the Quartz backend so we can use the one provided by Scintilla. | |||||
2015-01-22 | Since gtk_widget_set_double_buffered is deprecated by GTK+ 3.14, only use it | Neil Hodgson | 1 | -0/+2 | |
when building for earlier versions. | |||||
2015-01-22 | Specify methods that do not use this as static. | Neil Hodgson | 1 | -2/+2 | |
2015-01-22 | Fix incorrect call. Was supposed to avoid empty drop. | Neil Hodgson | 1 | -1/+1 | |
2015-01-14 | Make Japanese IME work in windowed mode. | Neil Hodgson | 1 | -1/+1 | |
From johnsonj. | |||||
2015-01-02 | Use gtk_clipboard_request_contents() instead of gtk_selection_convert() for ↵ | Jiří Techet | 1 | -2/+12 | |
paste on GTK When compiling Scintilla on OS X with GTK2 backend (and GTK2 with Quartz backend), gtk_selection_convert() doesn't work. GtkClipboard seems to work fine though. | |||||
2014-12-17 | More natural looping over visual attributes. | Neil | 1 | -3/+3 | |
2014-12-09 | Using indicators for inline IME. | Neil | 1 | -127/+251 | |
From johnsonj. | |||||
2014-12-05 | Extract FillVirtualSpace so it is not repeated and can be made less complex in | Neil | 1 | -4/+1 | |
the future. | |||||
2014-10-11 | GTK: Don't create widgets in the ::realize handler | Colomban Wendling | 1 | -13/+16 | |
Creating a widget may lead to a ::hierarchy-changed signal to be emitted, which itself may lead a tooltip window to be unrealized. This is problematic because it can lead to the ::unrealize handler to be called during the ::realize handler, breaking most of the logic there assuming the widget was properly realized. This fixes adding a Scintilla widget inside a GTK2 tooltip. GTK3 didn't seem to be affected. Also properly destroy the preedit popup window with the widget. | |||||
2014-10-09 | Avoid extra space when pasting from external application on Windows. | Neil | 1 | -0/+7 | |
From Mitchell Foral. | |||||
2014-10-06 | Include <stdexcept> due to report of a problem with compiling Document.h. | Neil | 1 | -0/+1 | |