aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2018-04-26Backport: Update dependencies for ElapsedPeriod.Neil1-6/+15
Backport of changeset 6742:dd1d32f7b814.
2018-05-06Removed ElapsedTime from curses platform.mitchell1-4/+0
2018-05-06Backport: Use <chrono> for platform-independent timing and remove ↵mitchell11-172/+93
ElapsedTime. Also use #if for painting measurement as there are 7 sections of code to enable. Backport of changeset 6741:af5d9064c25c.
2018-04-26Backport: Update deps for LexCoffeeScript not using Platform.h.Neil1-4/+4
Backport of changeset 6740:3ef8bf667a7d.
2018-04-25Backport: Remove variables and casts that are not needed.Neil3-8/+6
Backport of changeset 6739:e204054d5d07.
2018-04-25Backport: Use set of coercion functions for transforming WndProc parameters ↵Neil6-58/+77
into pointers. Backport of changeset 6738:5b39367ee7da.
2018-04-25Backport: Standardized signature of TargetAsUTF8 and EncodedFromUTF8.Neil5-12/+12
Backport of changeset 6737:5c4aea8a1e8a.
2018-04-25Backport: Removed mention of class that no longer exists.Neil1-1/+0
Backport of changeset 6736:06391d094c6a.
2018-05-06Backport: Remove casts that are not needed since sptr_t and Sci::Position ↵mitchell3-32/+31
are the same type. Backport of changeset 6735:ed52dd761341.
2018-04-24Backport: Feature [feature-requests:#1215]. Make Action move constructor ↵Neil2-10/+1
noexcept and use default implementation. Backport of changeset 6734:e852ad4d15ff.
2018-04-24Backport: Feature [feature-requests:#1215]. Make a parameter const.Neil2-2/+2
Backport of changeset 6733:f6be8941c4b8.
2018-04-23Backport: Remove include of Platform.h that is not used by the CoffeeScript ↵Neil1-1/+0
lexer as that makes it more difficult to change Platform.h. Backport of changeset 6732:6bdd215bedf9.
2018-04-22Backport: Remove casts between char and unsigned char where possible.Neil9-24/+23
Backport of changeset 6731:8e06234817c0.
2018-04-22Backport: Fix problems with 64-bit positions by using types that expand to ↵Neil Hodgson3-32/+33
64-bits and removing casts to int. Backport of changeset 6730:990e4d71ecb3.
2018-04-22Backport: Reduce casts by moving casting from char* to UInt8* into ↵Neil Hodgson2-12/+20
QuartzTextLayout::SetText and adding helper TextStyleFromFont to cast from Font to QuartzTextStyle. Backport of changeset 6729:2d72313a7d6d.
2018-04-21Backport: Code improvements - noexcept and intialization.Neil2-5/+5
Backport of changeset 6728:08bed3a35b28.
2018-04-21Backport: Safety improvements for character code - drop reinterpret_cast, ↵Neil4-16/+14
ensure more variables are initialized, specify noexcept when safe. Backport of changeset 6727:8f4de063e95c.
2018-04-21Backport: Remove CallBackAction which was replaced by IListBoxDelegate.Neil1-5/+0
Backport of changeset 6726:436141741e4f.
2018-04-21Backport: Use noexcept in basic data structures where reasonable.Neil7-46/+55
Declare the standard member functions in more classes Backport of changeset 6725:2864bc1b748a.
2018-04-21Backport: Tighten definition of regular expression iterators so they are ↵Neil11-120/+150
noexcept and 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. Backport of changeset 6724:f2dfdc0dddd3.
2018-05-06Backport: More const and cast avoidance.mitchell3-13/+14
Backport of changeset 6722:9a20edc44615.
2018-04-20Backport: Mark pointer to constant parameter as const.Neil4-4/+4
Backport of changeset 6721:33bf16396488.
2018-04-20Backport: Use std::count to simplify code. Avoid NULL.Neil1-8/+2
Backport of changeset 6720:a53006dc13cd.
2018-04-20Backport: Make reference argument const as not altered.Neil2-2/+2
Backport of changeset 6719:c366b4a0ae98.
2018-04-20Backport: Remove test that is always true.Neil1-1/+1
Backport of changeset 6718:a2bd7f9f0c47.
2018-04-20Backport: Undo part of last change as Xcode Clang doesn't like assigning ↵Neil Hodgson2-8/+8
long to int without cast. Backport of changeset 6717:2fec6b5183b7.
2018-04-20Backport: Fix warnings from MSVC analyze and reduce casts.Neil1-84/+100
Backport of changeset 6716:d3dfe9e0c75b.
2018-04-20Backport: Use standard lround function and remove some casts.Neil1-5/+7
Backport of changeset 6715:6f2eebd823c8.
2018-04-20Backport: Avoid MSVC analyze warnings about statics by making Point ↵Neil1-1/+1
constructor constexpr. Backport of changeset 6714:bdd810136072.
2018-05-06Backport: Feature [feature-requests:#1215]. Use standard functions in ↵mitchell3-25/+13
prference to RoundXYPosition, XYMinimum, and XYMaximum. Backport of changeset 6713:fadc4c551b6d.
2018-04-20Backport: Feature [feature-requests:#1215]. const in AutoComplete.Neil2-10/+10
Backport of changeset 6712:3a277aadcf2a.
2018-04-20Backport: Feature [feature-requests:#1215]. Fix forwarding reference warnings.Neil4-5/+22
Backport of changeset 6711:8d202ec5a734.
2018-04-20Backport: Suppress some warnings in lexers.Neil1-0/+3
Backport of changeset 6710:4e8610c539d0.
2018-04-20Backport: Avoid casts for DrawIndentGuide.Neil2-7/+7
Backport of changeset 6709:0e77bb893e18.
2018-04-20Backport: Remove casts, drop default argument, use const.Neil3-11/+11
Backport of changeset 6708:6705d3f828c5.
2018-04-19Backport: Templatize MakeUpperCase/MakeLowerCase so they work on char/int ↵Neil4-14/+16
without casts. Backport of changeset 6707:29e80e764b46.
2018-04-19Backport: Use ColourDesired constructor explicitly to make more obvious.Neil4-9/+9
Constructor not marked explicit as may be used in external platform layers. Backport of changeset 6706:73c8bc321f62.
2018-04-19Backport: Casting changed in many places, due to change to 64-bit variables ↵Neil10-516/+519
for 64-bit 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. Backport of changeset 6705:5c0a80740b8c.
2018-04-19Backport: Casts that avoid warnings if Position and Line are different sizes.Neil1-2/+2
Backport of changeset 6704:733be9341cf9.
2018-04-19Backport: Remove potential allocation in destructor which could have thrown.Neil1-1/+0
Backport of changeset 6703:4089e5fd5385.
2018-04-19Backport: Remove unnecessary extra allocation.Neil1-1/+0
Backport of changeset 6702:785f4abd19b6.
2018-04-19Backport: Remove casts by using harmonized types. Drop NUL termination that ↵Neil1-16/+13
is not needed. Backport of changeset 6701:6be1be362cfc.
2018-04-19Backport: SC_PRINT_SCREENCOLOURS doesn't force the background colour of line ↵Nicholai Benalal5-5/+26
numbers white. Backport of changeset 6700:daa126b86c17.
2018-04-18Backport: Avoid an overflow warning seen when compiling for Qt.Neil Hodgson1-1/+2
Backport of changeset 6699:eed960ed3828.
2018-04-18Backport: Check for perf_counter before using as not available on Python 2 ↵Neil1-14/+20
used for PySide on Linux. Backport of changeset 6698:2cfeab5fa48f.
2018-04-18Backport: Switch performance tests to more accurate timer.Neil1-14/+14
Backport of changeset 6697:30b4da4c9e38.
2018-05-05Backport: Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than ↵mitchell21-43/+117
2 GigaBytes. This option is provisional and experimental. Backport of changesets 6696:9729ff36c5b1 and 6723:cffe824ab55e. Also added '#include <cstddef>' to top of src/RESearch.cxx to fix 32-bit build error.
2018-04-17Backport: Templatize ContractionState so it can later be switched between ↵Neil1-70/+100
32-bits and 64-bits. Backport of changeset 6695:86c008249ce5.
2018-04-17Backport: Templatize LineVector so it can later be switched between 32-bits ↵Neil1-8/+9
and 64-bits. Backport of changeset 6694:6df3a85efb80.
2018-03-28Backport: Templatize decorations to allow 32-bit or 64-bit positions.Neil4-60/+87
Backport of changeset 6693:7247d1c9c27f.