aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-05-30Backport: Fix comments.Neil1-4/+4
Backport of changeset 7005:19ae9a03d7b0.
2018-06-03Fixed compilation failures with MSVC 2015.mitchell2-3/+3
Thanks to Neil.
2018-05-24Backport: Fix warnings. Add const, constexpr, and noexcept. Initialize. ↵Neil7-38/+37
Standard methods. Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases. Backport of changeset 6974:e99161ef7bdd.
2018-05-22Backport: Add INDIC_GRADIENT and INDIC_GRADIENTCENTRE indicator types.Neil1-0/+21
Backport of changeset 6966:872900d3ceb0.
2018-05-25Backport: Draw invalid bytes in DBCS when detected as blobs in a similar way ↵mitchell4-1/+103
to UTF-8. Backport of changeset 6962:514fde42ccbf, but without std::string_view.
2018-05-18Backport: Can use const now that Font::GetID is const.Neil2-2/+2
Backport of changeset 6960:6da8a5e47c98.
2018-05-25Backport: Add <vector> to files that include Platform.h as likely needed in ↵mitchell2-0/+2
future. Backport of changeset 6959:b534742f5fa5.
2018-05-16Backport: Use noexcept method to preserve noexcept.Neil1-1/+1
Backport of changeset 6956:beee37b055d6.
2018-05-16Backport: Move implementations into cxx file.Neil4-6/+10
Replace 0 and NULL with nullptr. Update comments. Backport of changeset 6955:440e02c389df.
2018-05-16Backport: Fix regex crash reported with libstdc++ on macOS that occursNeil Hodgson1-7/+0
when the regex has a locale imbued. Backport of changeset 6953:85ff33e92309.
2018-05-15Backport: Drop inclusion of StringCopy.h where possible.Neil2-2/+0
Backport of changeset 6951:b2a17a08a1f8.
2018-05-14Backport: Replace 0 with nullptr.Neil3-6/+6
Backport of changeset 6945:044688817478.
2018-05-25Backport: Modernize Platform.h (3) - update Surface to delete WidthChar, use ↵mitchell2-3/+5
size_t for Polygon and delete the standard copy and assignment methods. Backport of changeset 6940:89fd29243232.
2018-05-14Backport: Modernize Platform.h (2) - noexcept, const, constexpr.Neil4-36/+59
ColourDesired is an int instead of long for consistency over different platforms. Changes made to Point, PRectangle, and ColourDesired. RoundXYPosition removed. Backport of changeset 6939:7441dcb96e6a.
2018-05-14Backport: Modernize Platform.h (1) - noexcept, const, standard methods.Neil2-7/+6
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform. Backport of changeset 6938:a42c7cc3254b.
2018-05-13Backport: Fix header order.Neil1-1/+1
Backport of changeset 6935:ec1d6c4008fe.
2018-05-13Backport: When line end characters are displayed, indicators are drawn ↵Neil3-13/+15
under/over them. Backport of changeset 6934:c0ca57c954c8.
2018-05-06Backport: Ensuring ptrdiff_t is available by including <cstddef>.Neil3-0/+3
Backport of changeset 6921:f9b81cb21ed1.
2018-05-03Backport: Use Range and Position in more cases to avoid casts.Neil2-17/+20
Backport of changeset 6790:cb56d38e7800.
2018-05-03Backport: Ensure all 4 byte characters will work in MapRepresentation by ↵Neil2-10/+17
using unsigned int. Use variable assignments to avoid casts. Backport of changeset 6789:35c415d8e7d4.
2018-05-03Backport: Simplify PropSetSimple, avoid casts, use nullptr.Neil1-1/+1
Backport of changeset 6788:e9f6386c89d4.
2018-05-03Backport: Avoid casts.Neil2-8/+9
Backport of changeset 6787:b690b9e1e111.
2018-05-03Backport: Eliminate XFromPosition overload for Sci::Position as ↵Neil2-8/+2
SelectionPosition overload can always be used. Backport of changeset 6785:161efa2f1972.
2018-05-01Backport: Add IntegerRectangle to simplify drawing lines without casting.Neil6-112/+156
Backport of changeset 6773:9a027c16f8c3.
2018-05-01Backport: Use round and floor instead of casts.Neil1-2/+2
Backport of changeset 6771:d0170ad7383b.
2018-05-01Backport: Fix minor issues with AutoSurface, AutoLineLayout and SelectionText.Neil2-8/+8
Backport of changeset 6769:b8ae2860861f.
2018-05-01Backport: Bug [#2012]. Use '0' instead of '0l'.Neil2-2/+2
Backport of changeset 6768:afe3117ead02.
2018-04-30Backport: Use const where possible.Neil1-1/+1
Backport of changeset 6766:506946ccc604.
2018-04-30Backport: Feature [feature-requests:#1215]. Use Sci::clamp to shorten code.Neil1-6/+1
Backport of changeset 6760:e94cd333a5a9.
2018-04-30Backport: Feature [feature-requests:#1215]. Simplify RESearch::ChSetWithCase.Neil1-9/+4
Backport of changeset 6759:a4ec3a347298.
2018-04-28Backport: Delete standard functions on classes where there could be attempts ↵Neil14-9/+76
to copy. Backport of changeset 6756:29866b0927e0.
2018-04-28Backport: Rename method to avoid confusion between base and derived classes.Neil2-4/+4
Backport of changeset 6755:fbf0bafc51db.
2018-04-27Backport: Use nullptr for custom draw functions.Neil2-9/+10
Backport of changeset 6752:ad7b3c0b64e3.
2018-04-27Backport: Avoid reinterpret_cast. Use size_t argument to UTF8Classify to ↵Neil2-25/+23
avoid casts. Backport of changeset 6750:f42f27b2daf5.
2018-04-26Backport: Change type to avoid casts.Neil2-3/+3
Backport of changeset 6747:6f6113f848b1.
2018-04-26Backport: Specify concrete class for ldTabstops and use directly instead of ↵Neil2-8/+7
copying value of .get() before use. Backport of changeset 6745:f8cf44b26722.
2018-05-06Backport: Use <chrono> for platform-independent timing and remove ↵mitchell3-23/+71
ElapsedTime. Also use #if for painting measurement as there are 7 sections of code to enable. Backport of changeset 6741:af5d9064c25c.
2018-04-25Backport: Use set of coercion functions for transforming WndProc parameters ↵Neil3-44/+63
into pointers. Backport of changeset 6738:5b39367ee7da.
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 ↵mitchell2-31/+30
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-22Backport: Remove casts between char and unsigned char where possible.Neil5-12/+11
Backport of changeset 6731:8e06234817c0.
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, ↵Neil3-13/+12
ensure more variables are initialized, specify noexcept when safe. Backport of changeset 6727:8f4de063e95c.
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.