aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
AgeCommit message (Collapse)AuthorFilesLines
2020-03-05Fixed building LPeg lexer on GTK.mitchell1-2/+2
2020-01-06More synchronizing LongTerm3 with default.mitchell1-1/+1
Ideally this covers anything missed during the backport process.
2020-01-05Added Sci::round() and Sci::lround() for better compatibility with the ↵mitchell1-2/+2
default branch. Some olders MacOSX SDKs do not have std::round() or std::lround().
2020-01-05Added Sci::make_unique() and Sci::size() for better compatibility with the ↵mitchell1-1/+1
default branch. std::make_unique() is c++14 and std::size() is c++17.
2020-01-05Synchronizing LongTerm3 with default.mitchell2-3/+3
Ideally this covers anything missed during the backport process.
2020-01-04Backport: Added Raku lexer and style properties and example filesmitchell1-0/+14
Backport of changeset 7900:bcb95162cd06.
2020-01-03Backport: Move collection of modules from Catalogue.cxx to ↵mitchell2-3/+1
CatalogueModules.h so it can be reused. Backport of changeset 7866:fff1071ea1db.
2019-12-13Backport: Move SCI_LOADLEXERLIBRARY from platform layers to ScintillaBase.cxx.Neil3-27/+2
This allows removal of related #include statements. Backport of changeset 7860:4ca969c2fa45.
2019-12-30Backport: Use pattern rules instead of suffix rules as they are clearer.Neil1-4/+6
Add a .PHONY target to avoid possible failure caused by file with same name. Backport of changeset 7856:477749c2f095.
2019-12-30Backport: Remove line end whitespace.Neil1-1/+1
Backport of changeset 7855:cdee9adbbb07.
2019-12-29Backport: Builds without GNU extensions so set to standard C++11.Neil1-1/+1
Backport of changeset 7854:ab518c9df18e.
2019-12-29Backport: Standardize names and order between make files on win32 and gtk.Neil1-3/+4
Backport of changeset 7853:662b62122bcb.
2019-12-29Backport: Support Clang on Windows.Neil1-0/+12
Backport of changeset 7852:876b77cb9acd.
2019-12-27Backport: Use Unix paths except when deleting files, then call normalize to ↵Neil1-3/+5
change / to \. Backport of changeset 7851:c1e4d8c34272.
2019-12-29Backport: Use if function to simplify GTK version setting.Neil1-6/+2
Backport of changeset 7850:914269287f12.
2019-12-29Backport: Simplify makefile and use better variable names.Neil1-30/+26
Accumulate BASE_FLAGS and DEFINES instead of using multiple variables. Backport of changeset 7849:6d94e99d9847.
2019-12-27Backport: Collect objects into variables and define one-per-line.Neil1-7/+52
This simplifies referencing the objects and makes for smaller patches when changing the set of objects. Backport of changeset 7848:07c2626ea7c3.
2019-12-29Backport: Drop G_THREADS_IMPL_NONE as not implemented in glib since 2011.Neil1-9/+3
Backport of changeset 7847:8ee2f1357c30.
2019-12-29Backport: Use ranlib everywhere so no special case on macOS.Neil1-7/+1
Backport of changeset 7846:64f49fc46eee.
2019-12-29Backport: Move suppression of Clang warning missing-braces from makefile to ↵Neil1-1/+1
apply to lexers but not most other files. Backport of changeset 7845:f3264e486266.
2019-12-29Backport: Update comments.Neil1-4/+5
Backport of changeset 7841:023ad180a294.
2019-12-13Backport: Fix incorrect comments.Neil1-1/+1
Backport of changeset 7837:89f1e0f361f0.
2019-11-22Backport: Replace GTimeVal and g_get_current_time with gint64 and ↵Neil2-11/+5
g_get_monotonic_time. GTimeVal was deprecated in GLib 2.61.2 as it is not year-2038-safe. Backport of changeset 7772:f94afe919e93.
2019-11-15Backport: Feature [feature-requests:#1316] Allow target to have virtual space.Neil1-4/+4
Backport of changeset 7768:5d73aa55a6ee.
2019-12-06Backport: Feature [feature-requests:#1324] Add Hollywood lexer.mitchell1-0/+13
Backport of changeset 7761:abba8b1c6f4a.
2019-09-30Backport: Delete standard functions on classes where there could be attempts ↵Neil Hodgson4-1/+47
to copy. Backport of changeset 7696:18f98becfeaa.
2019-07-11Backport: Bug [#2038]. Source of input reported in SCN_CHARADDED.mitchell1-5/+2
This may be SC_CHARACTERSOURCE_DIRECT_INPUT, SC_CHARACTERSOURCE_TENTATIVE_INPUT, or SC_CHARACTERSOURCE_IME_RESULT. Backport of changeset 7613:4cfac35c71bd.
2019-06-29Backport: Bug [#2111]. Retracted change to IME on GTK.Neil1-7/+0
Backed out changeset: 512ec9ab2e7c Backport of changeset 7611:8c487135a6e4.
2019-06-22Backport: Bug [#2111]. Reset IME when mouse is clicked on GTK.Hodong Kim1-0/+7
Backport of changeset 7599:512ec9ab2e7c.
2019-06-22Backport: Remove CHECK_DEPRECATED option as deprecations always checked.Neil Hodgson1-4/+1
Backport of changeset 7597:f2298aa753d1.
2019-06-22Backport: Feature [feature-requests:#1297] Update to use INDICATOR_ instead ↵Neil1-5/+5
of INDIC_ as INDIC_ is also used for indicator styles. Backport of changeset 7594:190079cd334f.
2019-07-11Backport: Feature [feature-requests:#1293]. InsertCharacter replaces AddCharUTF.mitchell1-3/+3
Backport of changeset 7575:e1e9f53b0423.
2019-07-11Backport: Feature [feature-requests:#1295]. Lexer added for DataFlex.mitchell1-0/+12
Backport of changeset 7569:ab69548334b7, but with custom `_strnlen` function since `strnlen` is not part of the C or C++ standard.
2019-05-27Backport: Feature [feature-requests:#1280]. Lexer added for X12.mitchell1-0/+8
Backport of changeset 7486:a99fa007805f, but with LexerX12::Terminator struct definition not having default values, which is a C++14 feature.
2019-04-27Fixed bad backport involving std::round and std::lround for older Mac OSX SDKs.mitchell1-2/+2
This reverts parts of changeset 7371:886ffb3884fe.
2019-04-11Backport: Bug [#2087]. Fix flickering when inserting primary selection on ↵Neil2-14/+32
GTK between SciTE tabs. This does not allow primary selection to work between tabs as the tabs are sharing a single Scintilla and the old primary selection is unclaimed when the file is changed. This fix adds a new ReceivedClipboard method which does not try to convert the selection if received in a different format than asked for. It was the call to gtk_selection_convert that seemed to cause the flickering. ReceivedClipboard is only called from SelectionReceiver::ClipboardReceived so only occurs due to a call to RequestSelection and can not occur because of a selection_received signal. ReceivedSelection is left with its complexity in case it is needed for some other issue although it doesn't appear to be called for drag&drop, for example. Backport of changeset 7422:22864dcaca0b.
2019-04-11Backport: Bug [#2094]. Avoid exceptions by treating text as one-byte per ↵Neil1-0/+6
character in accessibility if UTF32 index not available. Backport of changeset 7421:2c8b52af4ae5.
2019-04-05Backport: Bug [#2095]. gtk: Accessible: emit the text deletion signal before ↵Colomban Wendling2-9/+3
deletion This allows the accessibility layer to request detail, such as which characters have been deleted. ATK will query the deleted range to report the data that was removed, so it must still be available for the query to give a correct answer. So, emit the signal in BEFOREDELETE instead of DELETETEXT. Backport of changeset 7406:0a937b4c0b2b.
2019-04-05Backport: Bug [#2094]. gtk: Accessible: use the built-in character position ↵Colomban Wendling3-25/+19
cache It's quite a lot faster even after trying and optimizing the custom version, and it makes the code simpler. Also improve ByteOffsetFromCharacterOffset() to make use of the cache, making it drastically faster. Backport of changeset 7405:01aab5f24e50.
2019-04-06Backport: Updated dependencies for change set 7401 adding UniqueString.cxx.Neil1-0/+3
Backport of changeset 7404:04d3bf0afce8.
2019-04-17Backport: Move UniqueStringCopy into its own source file UniqueString.cxx to ↵mitchell1-1/+1
hide the implementation. Backport of changeset 7402:751b76b567f9, but with an alternative to C++17's string_view.
2019-04-01Backport: Switch generation of make dependencies to Python scripts DepGen.py.Neil3-760/+1957
Dependencies files deps.mak and nmdeps.mak are formatted with one file per line as that makes it easier to examine differences between versions. Backport of changeset 7397:997e6203e270.
2019-03-29Backport: Include "CharacterCategory.h" in all files that include ↵Neil2-0/+2
"Document.h" as it will be needed for adding a CharacterCategory feature. Backport of changeset 7391:9d98d77e920f.
2019-03-28Backport: Use standard GDK_SELECTION_CLIPBOARD instead of interning "CLIPBOARD".Neil2-6/+3
Backport of changeset 7346:5e3a239e7484.
2019-03-28Backport: Bug [#2087]. Fix flicker when inserting primary selection on GTK.Neil2-28/+44
Backport of changeset 7345:a3dcfd0b7083.
2019-03-27Backport: Updated dependencies.Neil1-45/+68
Backport of changeset 7344:e7dc1e59619e.
2019-03-27Backport: Ran astyle to standardize formatting.Neil4-254/+256
Backport of changeset 7342:7ce2da0f95ef.
2019-03-27Backport: Fix problem with MinGW which defines NOMINMAX itself.Neil2-0/+2
Backport of changeset 7341:dcdb1db960e3.
2019-03-27Backport: Use const where reasonable. Some additional type safety.Neil2-123/+128
Backport of changeset 7340:9b570ca5091d.
2019-03-27Backport: Standardize extracting point from mouse event, more noexcept, ↵Neil2-27/+34
anonymous namespace and type safety. Backport of changeset 7339:26bd40db4f24.