aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-05-13Fix header order.Neil1-1/+1
2018-05-13When line end characters are displayed, indicators are drawn under/over them.Neil3-13/+15
2018-05-06Ensuring ptrdiff_t is available by including <cstddef>.Neil4-0/+4
2018-05-03Use Range and Position in more cases to avoid casts.Neil2-17/+20
2018-05-03Ensure all 4 byte characters will work in MapRepresentation by using ↵Neil2-10/+17
unsigned int. Use variable assignments to avoid casts.
2018-05-03Simplify PropSetSimple, avoid casts, use nullptr.Neil1-1/+1
2018-05-03Avoid casts.Neil2-8/+9
2018-05-03Specify type of std::clamp to avoid casting arguments.Neil3-19/+19
2018-05-03Eliminate XFromPosition overload for Sci::Position as SelectionPosition overloadNeil2-8/+2
can always be used.
2018-05-01Add IntegerRectangle to simplify drawing lines without casting.Neil6-112/+156
2018-05-01Use round and floor instead of casts.Neil1-2/+2
2018-05-01Fix minor issues with AutoSurface, AutoLineLayout and SelectionText.Neil2-8/+8
2018-05-01Bug [#2012]. Use '0' instead of '0l'.Neil2-2/+2
2018-04-30Use const where possible.Neil1-1/+1
2018-04-30Feature [feature-requests:#1215]. Use std::clamp to shorten code.Neil1-6/+1
2018-04-30Feature [feature-requests:#1215]. Simplify RESearch::ChSetWithCase.Neil1-9/+4
2018-04-28Delete standard functions on classes where there could be attempts to copy.Neil14-9/+76
2018-04-28Rename method to avoid confusion between base and derived classes.Neil2-4/+4
2018-04-27Use nullptr for custom draw functions.Neil2-9/+10
2018-04-27Avoid reinterpret_cast. Use size_t argument to UTF8Classify to avoid casts.Neil2-25/+23
2018-04-26Change type to avoid casts.Neil2-3/+3
2018-04-26Specify concrete class for ldTabstops and use directly instead of copying valueNeil2-8/+7
of .get() before use.
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil3-23/+71
Also use #if for painting measurement as there are 7 sections of code to enable.
2018-04-25Use set of coercion functions for transforming WndProc parameters into pointers.Neil3-44/+63
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 ↵Neil2-32/+31
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-22Remove casts between char and unsigned char where possible.Neil5-12/+11
2018-04-21Code improvements - noexcept and intialization.Neil2-5/+5
2018-04-21Safety improvements for character code - drop reinterpret_cast, ensure moreNeil3-13/+12
variables are initialized, specify noexcept when safe.
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-20Undo part of last change as Xcode Clang doesn't like assigning long to int ↵Neil Hodgson2-8/+8
without cast.
2018-04-20Use standard lround function and remove some casts.Neil1-5/+7
2018-04-20Feature [feature-requests:#1215]. Use standard functions in prference toNeil2-7/+8
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.Neil3-5/+6
2018-04-20Avoid casts for DrawIndentGuide.Neil2-7/+7
2018-04-20Remove casts, drop default argument, use const.Neil2-8/+8
2018-04-19Templatize MakeUpperCase/MakeLowerCase so they work on char/int without casts.Neil1-4/+4
2018-04-19Use ColourDesired constructor explicitly to make more obvious.Neil3-6/+6
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-bitNeil9-505/+508
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