aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2016-05-12Change log.Neil1-0/+4
2016-05-11Bug [#1827]. GTK: Avoid possible IdleWork() calls on destructed objectsColomban Wendling2-8/+17
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-12SciTE change log.Neil1-0/+5
2016-05-11Allow comments preceded by a tab.Matt Gilarde2-1/+4
2016-05-08Moved text about FIRSTVISIBLELINE into scrolling section and moved XOFFSET textNeil1-17/+18
next to it, since these are related concepts.
2016-05-05Remove suppression for warning that no longer occurs.Neil1-1/+0
2016-05-05Make Open work again and print out message when SciLexer can't be found.Neil1-5/+9
2016-05-05Remove template adaptor as only g_iconv is used now. Use glib's gsize type as itNeil Hodgson3-32/+23
matches g_iconv exactly. Make character set name buffer dynamically sized.
2016-05-03Current builds allow RTTI and dynamic_cast is used on GTK+ and Cocoa.Neil1-2/+1
2016-05-03Avoid use of const_cast when retrieving window positions.Neil3-6/+7
2016-05-03Fix off-by-one error that allowed resizing autocompletion from bottom when itNeil2-1/+5
was located above the caret.
2016-05-01Change log.Neil1-0/+4
2016-05-01Do not call deprecated functions on newer GTK+.Neil Hodgson1-0/+6
2016-04-30Move function braces for consistency.Neil Hodgson1-4/+2
2016-04-27GTK: Get border for the exact current style's state on GTK 3Colomban Wendling1-3/+4
GTK 3.20 doesn't seem to like it so much when looking up details of a non-exact current style context state, so use the current one. This is GTK being really picky as in this case we are just missing the `DIR_LTR` flag, which we definitely don't care about, but let's make it happy.
2016-04-27GTK: Fix auto-completion popup sizing code for GTK 3.20Colomban Wendling1-24/+39
GTK 3.20's GtkScrolledWinodw doesn't like having a too small allocation and spews scary assertion failures. Fix that by requesting the real size we'd like instead of hard-coding 1 as small-enough value in our overriding height requisition method. The actual value doesn't really matter so long as it's small enough anyway, as we resize the popup to fit later on. Note: this moves the actual implementation of ListBoxX::GetRowHeight() to the new convenience function treeViewGetRowHeight(), with no changes in implementation.
2016-04-27GTK: Plug a memory leakColomban Wendling1-0/+1
2016-04-27GTK: Fix fetching the frame border width on GTK 3.20Colomban Wendling1-1/+24
GTK 3.20 introduced a sub-node named "border" to the frame, requiring to lookup the border on that sub-node rather than on the frame itself. Unfortunately supporting this requires to be built against GTK 3.20, as it requires API this version introduced. This means that a build against an older version won't be able to get the popup sizing right if running on 3.20. To mitigate this, add reasonable fallback defaults when running 3.20 but built on an earlier version, to try and avoid 2px-scrolling on GTK 3.20's default theme.
2016-04-27GTK: Properly ask wText what size it wants to please GTK 3.20Colomban Wendling1-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-27GTK: Fix popup font on GTK >= 3.20Colomban Wendling1-1/+1
2016-04-28Fixes for problems with C++11 <regex>.Neil Hodgson4-2/+29
For Qt on Unix, set to build as C++11. Avoid deprecation warnings in PySide. For GTK+ allow turning off C++11 <regex> with make NO_CXX11_REGEX=1.
2016-04-28C++ 11 <regex> support built by default.Neil4-20/+37
2016-04-26Added tag rel-3-6-5 for changeset afd67be6f0b1Neil1-0/+1
2016-04-24SciTE change log.rel-3-6-5Neil1-0/+3
2016-04-23Added bug ID.Neil1-0/+1
2016-04-23Updates for 3.6.5 release.Neil8-16/+17
2016-04-23Fix a bug with multi-line strings with line continuation where the string styleActiveState2-0/+7
overflowed after an edit.
2016-04-21Correct comments.Neil2-3/+3
2016-04-21Correct comment.Neil1-2/+2
2016-04-16Feature [feature-requests:#1146]. Allow '?' as a valid operator in Rust.Pavel Sountsov2-1/+7
See https://doc.rust-lang.org/book/unsized-types.html#sized.
2016-04-14Simplified IME caret positioning.johnsonj3-27/+20
2016-04-12Font cache removed along with its thread locking and initialisation.Neil Hodgson2-249/+26
Platform-independent caching is available and there is no performance difference after removal.
2016-04-08Update link to SciTECO related project.Neil1-1/+1
2016-04-08Update header ordering to cover all headers used in Scintilla and reorderNeil Hodgson3-4/+18
in Cocoa source consistently.
2016-04-08Added JSON lexer to Cocoa.Neil Hodgson1-0/+4
2016-04-08Change log.Neil Hodgson1-0/+4
2016-04-08Scintilla Gtk: use gdk_threads_add_idle_full() instead of g_idle_add_full() ↵Robin Haberkorn1-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-29Feature [feature-requests:#1142]. Allow Super modifier on GTK+.Neil6-9/+16
2016-03-29Bug [#1822]. Doubled size of compiled regex buffer.Neil2-1/+5
2016-03-26Fix truncation warning in 64-bit build.Neil1-2/+2
2016-03-25Define Position and invalidPosition inside the Sci namespace for internal use.Neil1-4/+11
2016-03-25Since stddef.h is the most basic header, defining size_t, move it first.Neil2-2/+2
2016-03-21Change log.Neil1-0/+5
2016-03-20Feature [feature-requests:#1140]. JSON lexer added.nkmathew6-1/+538
2016-03-16Support Python 3.5 '@' operator.John Ehresman2-1/+19
2016-03-15SciTE change log.Neil1-0/+12
2016-03-13Added tag rel-3-6-4 for changeset d2d4928e3e6aNeil1-0/+1
2016-03-10Fix caret position bug on Qt and Gtk for win32 for Korean.rel-3-6-4johnsonj3-0/+7
2016-03-09Fix typos.Neil1-2/+2
2016-03-09Updates for 3.6.4.Neil8-17/+18