aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-02-15Backport: Extract image conversion from RGBA to BGRA premultiplied into ↵Neil2-0/+17
common function. Backport of changeset 7987:beeac488af4d.
2020-02-15Backport: Bug [#2138]. Potential fix to Direct2D crash when updating driver.Mat Berchtold1-1/+7
Backport of changeset 7985:0ffb5afdbd7f.
2020-01-10Backport: Bug [#2132]. Only check for LS/PS/NEL when Unicode line ends ↵Zufu Liu1-1/+1
turned on. Backport of changeset 7950:375a05c8edd1.
2020-01-06More synchronizing LongTerm3 with default.mitchell2-5/+3
Ideally this covers anything missed during the backport process.
2020-01-05Added Sci::round() and Sci::lround() for better compatibility with the ↵mitchell3-11/+11
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 ↵mitchell19-83/+82
default branch. std::make_unique() is c++14 and std::size() is c++17.
2020-01-05Synchronizing LongTerm3 with default.mitchell4-3/+12
Ideally this covers anything missed during the backport process.
2020-01-04Backport: Added Raku lexer and style properties and example filesmitchell1-0/+1
Backport of changeset 7900:bcb95162cd06.
2019-12-14Backport: Remove links to lexers with SCI_EMPTYCATALOGUE definition.Neil1-0/+4
This allows building a version of SciTE that is statically linked to Scintilla and does not include any lexers but allows the use of lexers provided by loading a DLL. Backport of changeset 7867:f17a228be4d8.
2020-01-03Backport: Move collection of modules from Catalogue.cxx to ↵mitchell2-19/+13
CatalogueModules.h so it can be reused. Backport of changeset 7866:fff1071ea1db.
2019-12-13Backport: Move automatic numbering of external lexers from Catalogue to ↵Neil2-6/+5
ExternalLexer. This is preparing to move much of Catalogue into a header for reuse. Backport of changeset 7864:616ca0866c49.
2020-01-03Backport: Use safe mechanism to convert to function pointers.mitchell1-10/+23
Mark noexcept where reasonable. Check that functions are available. Backport of changeset 7862:f4cf92e43f48.
2019-12-13Backport: Hide details of ExternalLexer and export ExternalLexerLoad ↵Neil3-58/+72
function only. Backport of changeset 7861:0680563a97c5.
2019-12-13Backport: Move SCI_LOADLEXERLIBRARY from platform layers to ScintillaBase.cxx.Neil1-0/+8
This allows removal of related #include statements. Backport of changeset 7860:4ca969c2fa45.
2019-12-02Backport: Use noexcept and const where reasonable.Neil2-4/+4
Backport of changeset 7781:a9b7308f0522.
2019-12-02Backport: Add SparseVector::DeleteRange for efficiently removing ranges.Neil1-0/+37
Backport of changeset 7780:88e65c696c40.
2019-12-02Backport: Add SparseVector::IndexAfter for efficiently finding elements in a ↵Neil1-0/+7
range. Backport of changeset 7779:67b7e8f152a9.
2019-12-01Backport: Allow setting value at end of a SparseVector.Neil1-16/+23
Change representation of SparseVector in tests so last value can be seen. Backport of changeset 7778:b7842ad8047b.
2019-12-01Backport: Fix a bug with deleting the first element in SparseVector that ↵Neil2-6/+44
left an extra empty partition. Add extra checking to Partitioning and turn on checking for UnitTester. Backport of changeset 7777:12fb0335514e.
2019-11-26Backport: Bug [#2140]. Fix where anchor and caret differ only in amount of ↵Neil1-2/+2
virtual space so one was considered start and was moved for an insertion at that position. This could flip the order of the positions or change the length of the selection. Backport of changeset 7775:a9a0edc8f2f2.
2019-11-25Backport: Fix regression in 7773 where position wasn't moved on to account ↵Neil1-0/+1
for virtual space consumption. Backport of changeset 7774:9419bd4557e4.
2019-11-24Backport: Bug [#2140]. Move rather than grow selection when insertion at start.Neil2-5/+18
Backport of changeset 7773:20f353cd5507.
2019-11-15Backport: Feature [feature-requests:#1316] Allow target to have virtual space.Neil3-40/+58
Backport of changeset 7768:5d73aa55a6ee.
2019-11-15Backport: Feature [feature-requests:#1316] Add access to virtual space at ↵Neil1-0/+6
start and end of multiple selections. Backport of changeset 7767:80102fe650b2.
2019-12-06Backport: Feature [feature-requests:#1324] Add Hollywood lexer.mitchell1-0/+1
Backport of changeset 7761:abba8b1c6f4a.
2019-11-03Backport: Bug [#2130]. Setting rectangular selection made faster by reusing ↵Neil1-1/+4
surface. Backport of changeset 7758:703e30efe7bf.
2019-11-01Backport: Remove noexcept from allocating constructors as may throw on ↵Neil2-2/+2
memory exhaustion. Backport of changeset 7750:12807611677a.
2019-11-01Backport: Avoid calling vector::shrink_to_fit in destructors as it is not ↵Neil2-4/+0
noexcept. The destructors of the members will ensure that everything is correct. Potential unhandled exceptions reported by Coverity. Backport of changeset 7749:329a8e9986a0.
2019-10-16Backport: Feature [feature-requests:#1315] Update to Unicode 12.1.Neil1-3/+5
Backport of changeset 7707:13ce9d1ee13e.
2019-07-05Backport: Bug [#2118]. Add TabMinimumWidth property to API so applications ↵Neil1-0/+7
can display overviews or minimaps with reasonable layout. Backport of changeset 7700:e6efe007d2dc.
2019-07-05Backport: Add SetAppearance method to make changes to appearance settings ↵Neil1-0/+13
and only perform invalidation if the setting is actually changed. Backport of changeset 7699:ed73f7607752.
2019-09-28Backport: Remove virtual call in constructor to stop warnings.Neil1-1/+0
Init was not needed in LineVector as each field is constructed to a good state. This code worked correctly before this change. Backport of changeset 7694:513236f5ecd3.
2019-09-26Backport: Remove extraneous check.Neil1-3/+1
Backport of changeset 7691:91d02e078079.
2019-07-02Backport: Bug [#2115]. Backed out changeset: d70ccc4f172a as not undefined ↵Neil1-3/+2
behaviour. Backport of changeset 7618:45ca8e288e55.
2019-07-02Backport: Bug [#2115]. Backed out changeset: 74b2c724a1df as not undefined ↵Neil1-2/+2
behaviour. Backport of changeset 7617:a8a6cd857728.
2019-07-01Backport: Use noexcept on Document where reasonable with no effect on ↵Neil2-80/+81
external interface. Adds LengthNoExcept method that copies Length but only for internal use. Backport of changeset 7616:5ba25d5f5434.
2019-07-01Backport: Use noexcept in HighlightDelimiter - its a simple struct.Neil1-5/+5
Backport of changeset 7615:216fdb644bfa.
2019-07-01Backport: Bug [#2115]. Fix undefined behaviour of shifting signed 1 by 31.Zufu Liu1-2/+2
Backport of changeset 7614:74b2c724a1df.
2019-07-11Backport: Bug [#2038]. Source of input reported in SCN_CHARADDED.mitchell5-13/+15
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 [#2115]. Fix undefined behaviour of shifting negative values.Zufu Liu1-2/+3
Backport of changeset 7612:d70ccc4f172a.
2019-06-28Backport: Bug [#2116]. Fix deletion of isolated invalid bytes.Zufu Liu1-11/+26
Backport of changeset 7610:1031c155fb62.
2019-06-22Backport: Bug [#1924]. Option to allow block carets to trail selection ranges.Neil2-2/+5
Bit flag value is CARETSTYLE_BLOCK_AFTER=256. Backport of changeset 7609:340a0f51fb3c.
2019-06-21Backport: Bug [#2106]. Place line caret in correct location for line caret ↵Neil3-1/+10
with block OVR. That is for CARETSTYLE_LINE | CARETSTYLE_BLOCK mode. Backport of changeset 7608:b725657be4ae.
2019-06-22Backport: Feature [feature-requests:#1297] Update to use INDICATOR_ instead ↵Neil3-22/+22
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.mitchell4-11/+19
Backport of changeset 7575:e1e9f53b0423.
2019-07-11Backport: Feature [feature-requests:#1295]. Lexer added for DataFlex.mitchell1-0/+1
Backport of changeset 7569:ab69548334b7, but with custom `_strnlen` function since `strnlen` is not part of the C or C++ standard.
2019-06-04Backport: Fix extra white space.Neil1-2/+2
Backport of changeset 7547:d0447aca31c5.
2019-06-04Backport: Bug [#2104]. Use '%.0f' and casts to double to fix printf format ↵Neil1-4/+8
string bugs. This will extend valid maximum position from 31-bits to 53-bits which is ample. Backport of changeset 7546:f3b2a4dba48c.
2019-05-24Backport: Support output lengths >2GB for SCI_GETSTYLEDTEXT.Zufu Liu1-2/+2
Backport of changeset 7506:d20bd1c65a73.
2019-05-24Backport: Optimize SCI_GETSELTEXT by avoiding per-character calls.Zufu Liu1-4/+4
Backport of changeset 7505:1de0cb213456.