aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2018-04-26Remove cast that is not needed.Neil1-1/+1
2018-04-26Update dependencies for ElapsedPeriod.Neil Hodgson1-15/+15
2018-04-26Update dependencies for ElapsedPeriod.Neil1-6/+15
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil11-165/+94
Also use #if for painting measurement as there are 7 sections of code to enable.
2018-04-26Update deps for LexCoffeeScript not using Platform.h.Neil1-4/+4
2018-04-25Remove variables and casts that are not needed.Neil3-8/+6
2018-04-25Use set of coercion functions for transforming WndProc parameters into pointers.Neil6-58/+77
2018-04-25Standardized signature of TargetAsUTF8 and EncodedFromUTF8.Neil5-12/+12
2018-04-25Removed mention of class that no longer exists.Neil1-1/+0
2018-04-25Remove casts that are not needed since sptr_t and Sci::Position are the same ↵Neil3-33/+32
type.
2018-04-24Feature [feature-requests:#1215]. Make Action move constructor noexcept and useNeil2-10/+1
default implementation.
2018-04-24Feature [feature-requests:#1215]. Make a parameter const.Neil2-2/+2
2018-04-23Remove include of Platform.h that is not used by the CoffeeScript lexer as thatNeil1-1/+0
makes it more difficult to change Platform.h.
2018-04-22Remove casts between char and unsigned char where possible.Neil9-24/+23
2018-04-22Fix problems with 64-bit positions by using types that expand to 64-bits andNeil Hodgson3-31/+33
removing casts to int.
2018-04-22Reduce casts by moving casting from char* to UInt8* into ↵Neil Hodgson2-11/+20
QuartzTextLayout::SetText and adding helper TextStyleFromFont to cast from Font to QuartzTextStyle.
2018-04-21Code improvements - noexcept and intialization.Neil2-5/+5
2018-04-21Safety improvements for character code - drop reinterpret_cast, ensure moreNeil4-16/+14
variables are initialized, specify noexcept when safe.
2018-04-21Remove CallBackAction which was replaced by IListBoxDelegate.Neil1-5/+0
2018-04-21Use noexcept in basic data structures where reasonable.Neil7-46/+55
Declare the standard member functions in more classes
2018-04-21Tighten definition of regular expression iterators so they are noexcept andNeil11-120/+150
define all the standard member functions. This cascades to all methods called by the iterators, affecting Document, CellBuffer, Partitioning, SplitVector and UTF-8 and DBCS functions. Other trivial functions declared noexcept.
2018-04-20Stop "duplicate explicit instantiation" error on g++ 32-bit where int andNeil1-0/+4
ptrdiff_t are the same type.
2018-04-20More const and cast avoidance.Neil3-16/+17
2018-04-20Mark pointer to constant parameter as const.Neil4-4/+4
2018-04-20Use std::count to simplify code. Avoid NULL.Neil1-8/+2
2018-04-20Make reference argument const as not altered.Neil2-2/+2
2018-04-20Remove test that is always true.Neil1-1/+1
2018-04-20Undo part of last change as Xcode Clang doesn't like assigning long to int ↵Neil Hodgson2-8/+8
without cast.
2018-04-20Fix warnings from MSVC analyze and reduce casts.Neil1-84/+100
2018-04-20Use standard lround function and remove some casts.Neil1-5/+7
2018-04-20Avoid MSVC analyze warnings about statics by making Point constructor constexpr.Neil1-1/+1
2018-04-20Feature [feature-requests:#1215]. Use standard functions in prference toNeil3-25/+12
RoundXYPosition, XYMinimum, and XYMaximum.
2018-04-20Feature [feature-requests:#1215]. const in AutoComplete.Neil2-10/+10
2018-04-20Feature [feature-requests:#1215]. Fix forwarding reference warnings.Neil4-5/+22
2018-04-20Suppress some warnings in lexers.Neil1-0/+3
2018-04-20Avoid casts for DrawIndentGuide.Neil2-7/+7
2018-04-20Remove casts, drop default argument, use const.Neil3-11/+11
2018-04-19Templatize MakeUpperCase/MakeLowerCase so they work on char/int without casts.Neil4-14/+16
2018-04-19Use ColourDesired constructor explicitly to make more obvious.Neil4-9/+9
Constructor not marked explicit as may be used in external platform layers.
2018-04-19Casting changed in many places, due to change to 64-bit variables for 64-bitNeil10-518/+521
builds. Some of the changes ensure no truncation while others remove casts that are no longer needed because the externally visible Sci_Position is now identical to Sci::Position. Some extra methods (CellBuffer::UCharAt and Document::SciLineFromPosition) added to avoid casting in client code. Sci::Line is currently identical to Sci::Position but it could be made smaller so lines have Sci::Line types and are cast. Some arguments widened.
2018-04-19Casts that avoid warnings if Position and Line are different sizes.Neil1-2/+2
2018-04-19Remove potential allocation in destructor which could have thrown.Neil1-1/+0
2018-04-19Remove unnecessary extra allocation.Neil1-2/+0
2018-04-19Remove casts by using harmonized types. Drop NUL termination that is not needed.Neil1-16/+13
2018-04-19SC_PRINT_SCREENCOLOURS doesn't force the background colour of line numbers ↵Nicholai Benalal5-5/+26
white.
2018-04-18Avoid an overflow warning seen when compiling for Qt.Neil Hodgson1-1/+2
2018-04-18Check for perf_counter before using as not available on Python 2 used for PySideNeil1-14/+20
on Linux.
2018-04-18Switch performance tests to more accurate timer.Neil1-14/+14
2018-04-17Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than 2 GigaBytes.Neil19-41/+111
This option is provisional and experimental.
2018-04-17Templatize ContractionState so it can later be switched between 32-bits and ↵Neil1-69/+99
64-bits.