aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib
AgeCommit message (Collapse)AuthorFilesLines
2018-04-27Backport: Fix comments.Neil1-2/+2
Backport of changeset 6748:584479379ccb.
2018-04-22Backport: Remove casts between char and unsigned char where possible.Neil3-8/+8
Backport of changeset 6731:8e06234817c0.
2018-04-21Backport: Safety improvements for character code - drop reinterpret_cast, ↵Neil1-3/+2
ensure more variables are initialized, specify noexcept when safe. Backport of changeset 6727:8f4de063e95c.
2018-04-19Backport: Templatize MakeUpperCase/MakeLowerCase so they work on char/int ↵Neil2-8/+10
without casts. Backport of changeset 6707:29e80e764b46.
2018-05-05Backport: Make some changes recommended by clang-tidy.mitchell2-4/+4
Backport of changeset 6687:4cbf987c7590.
2018-03-05Backport: Bug [#1999]. Fix hang lexing a Lua label where the range ends ↵Neil1-0/+5
before "::". Backport of changeset 6473:daf991b38f03.
2018-02-27Backport: Use 'const'.Neil1-1/+1
Backport of changeset 6463:6d6db2016d7c.
2018-01-28Backport: Use std::end when filling arrays as reduces chance of mistake.Neil1-1/+2
Backport of changeset 6436:a366ce1a811e.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil27-92/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-07-17Backport: Update types for Unix LP64 after changes to ↵Neil Hodgson1-9/+9
Sci_Position/Sci_PositionU. Backport of changeset 6352:df1416e3ff3a.
2017-07-17Backport: Implement style metadata for some languages.Neil1-0/+22
Add some helper methods to SubStyles for finding style metadata of substyles. Backport of changeset 6349:f350a2543488.
2017-06-22Backport: Basic implementation helpers for style metadata.Neil8-21/+57
Backport of changeset 6347:69b7471ad62f.
2017-06-22Backport: Add style metadata methods with null implementations.Neil4-5/+95
Backport based on changesets 6345:faecbd0078e5 and 6346:72bd27f81477.
2017-06-22Backport: Add a DefaultLexer class which lexers can subclass if they want ↵Neil2-0/+159
reasonable default implementations of the ILexerWithSubStyles interface methods. Backport of changeset 6326:d18622e37a3e.
2017-06-22Backport: Make all methods override, even pure ones to keep Clang happy.Neil Hodgson1-2/+2
Backport of changeset 6325:9673a4d4c0e7.
2017-06-22Backport: Mark methods implementing interface as "override".Neil1-9/+9
Backport of changeset 6323:c15f84c11e17.
2017-04-21More consistent deletion of standard methods.Neil1-1/+1
2017-04-20More consistent deletion of standard methods.Neil1-2/+3
2017-04-18Add an assert to avoid a warning from Visual C++ Code Analysis.Neil1-0/+2
2017-04-07Use same parameter names in declarations and definitions.Neil2-6/+6
2017-04-06Added const where possible.Neil6-17/+17
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil9-48/+20
where it may be needed in the future.
2017-03-23The Python lexer recognizes identifiers more accurately when they includeNeil2-0/+152
non-ASCII characters. Calls provided for determining whether characters are in the sets defined for identifiers by the Unicode standard in UAX #31.
2017-03-23Updated case conversion and character categories to Unicode 9.Neil1-110/+515
2017-03-08Fix memory leak.Neil Hodgson1-5/+8
2017-03-06Use several C++11 features as examples so problems with these features are seen.Vicente1-0/+8
Features used are move constructor, unique_ptr, deleted functions, enum class, lambda expression, and range for loop.
2017-02-02Using better checked static_cast instead of reinterpret_cast for void*.Neil Hodgson1-1/+1
2017-01-22Simplify initialising and reinitialising.Neil1-6/+2
2016-11-05StyleContext no longer needs mask argument.Neil1-1/+1
Remove warning suppression pragma no longer needed for Perl's StyleContext.
2016-10-06Move MakeLowerCase into CharacterSet.h as that is where MakeUpperCase is.Neil4-27/+30
Change the argument and return type of MakeUpperCase to match MakeLowerCase. Move StyleContext::MatchIgnoreCase into StyleContext.cxx as the change of header for MakeLowerCase couldn't be reconciled easily. Add casts as needed.
2016-09-07Add InListAbridged to WordList.oirfeodent2-0/+61
2016-04-21Correct comments.Neil1-2/+2
2016-04-21Correct comment.Neil1-2/+2
2015-07-29Change lexlib to use Sci_Position and Sci_PositionU to prepare for large fileNeil7-73/+73
support.
2015-07-25Use Sci_PositionU/Sci_Position for arguments to functional lexers, folders, andNeil4-8/+8
comment recognizers to allow for future implementation of 64-bit positions.
2015-07-20Use Sci_Position when required to implement interfaces.Neil6-18/+18
2015-03-28Avoid Coverity warnings for case that should never fail.Neil1-1/+2
2014-12-12Prevent some static analyzer warnings.Neil1-0/+2
2014-12-07Prevent some static analyzer warnings.Neil1-1/+3
2014-12-05Prevent some static analyzer warnings.Neil1-0/+1
2014-07-24Feature [feature-requests:#1059]. Disable -Wshadow warnings for lexers.Neil1-0/+5
2014-07-23Avoid shadowed names mostly in method prototypes. Turn off shadowNeil1-1/+1
warnings for lexers since they may be maintained by others.
2014-06-22Typo.Neil1-1/+1
2014-05-24Header include statements are now in a standardised order with that orderNeil8-8/+8
defined in scripts/HeaderOrder.txt.
2014-05-24Removing style byte indicators.Neil4-35/+10
2014-04-29Stop disabling warnings where no longer needed.Neil2-6/+1
2014-01-21Added ELEMENTS macro and use it to clarify determining size of arrays.Neil Hodgson3-2/+7
2013-12-22Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions whichNeil3-3/+37
guaranty termination where possible.
2013-12-15Make single argument constructors explicit to avoid unexpected conversions.Neil5-5/+5
2013-12-15Format normalization - whitespace and braces made consistent.Neil6-8/+8
Parameter names added to method declarations.