aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2025-11-03Support ptrdiff_t if it has the same storage size as int, but does *not* ↵Robin Haberkorn1-0/+1
alias it * This is the case e.g. on NetBSD 10 for ARMv6 where Sci::Position == ptrdiff_t == long int, but obviously for other platforms as well, where it causes "invalid conversion" and "undefined symbol" errors. Scintilla was testing for aliasability by comparing the storage size with sizeof() or PTRDIFF_MAX == INT_MAX at the preprocessor level. This was fundamentally flawed. * In LineVector<T>::InsertLines() we are now using the C++17 construct std::is_convertible_v<From*,To*> instead. * We need RunStyles<ptrdiff_t> as well on the affected platforms. This is impossible to test for in a constant expression that can be used with the preprocessor. Also, it's not possible to conditionally instantiate templates. We tried to instantiate RunStyles for all scalar types that could be behind ptrdiff_t, but it was causing warnings on MSVC. Implicitly instantiating RunStyles would be possible, but is not desired. Therefore as a workaround, you can now define the PTRDIFF_DOESNT_ALIAS_INT macro when invoking the build system, to force instantiating RunStyles<ptrdiff_t>. When writing portable applications, you may have to use a compile-time check for checking aliasability of ptrdiff_t and int in order to define PTRDIFF_DOESNT_ALIAS_INT.
2025-05-13Remove directories no longer included in Scintilla and document Qt.Neil1-2/+2
2025-05-12Add SCI_AUTOC{G,S}ETIMAGESCALE and implement for Qt and GTK.orbitalquark1-0/+1
2025-03-20Move SurfaceGDI, SurfaceD2D, ListBox, and associated code out of PlatWin.cxx toNeil1-0/+3
new files SurfaceGDI.cxx, SurfaceD2D.cxx, and ListBox.cxx + associated headers.
2025-02-17Switch to using ComPtr from WRL for render target code for simplicity andNeil1-0/+1
familiarity.
2025-02-12Implement Direct2D/DirectWrite 1.1. Add SC_TECHNOLOGY_DIRECT_WRITE_1 to use anNeil1-0/+1
explicit swap chain and ID2D1DeviceContext. Stop supporting DirectWrite on Windows Vista.
2025-02-09Update Direct2D headers to Direct2D 1.1.Neil1-2/+2
Doesn't change functionality yet but ensures more recent APIs will be available.
2025-02-01Implement serialization of Selection to and from strings.Neil1-0/+1
Requires std::from_chars to be available.
2024-08-17Add new header to order.Neil1-0/+1
2024-02-01Move UndoHistory into its own module that is accessible from CellBuffer andNeil1-0/+1
tests but hidden from most of Scintilla. Access through std::unique_ptr.
2023-12-20Add IDocumentEditable interface for efficient interaction with document objects.Neil1-7/+11
2023-11-20Move ReadFileAsList and FindSectionInList from Scintilla to Lexilla as LexillaNeil1-38/+0
is the only user of these functions.
2023-11-05Simplify script.Neil1-3/+2
2023-11-04Document 'credits' property.rel-5-3-8Neil1-0/+3
2023-10-03Fix warning from Python 3.12.Neil1-2/+2
2023-05-14Replace CP-437 with ISO-8859-1 as neutral encoding as more common and standard.Neil1-2/+2
2023-03-15Fix some warnings from ruff.Neil5-30/+31
2023-03-13Support 4 digit version numbers so version 10.0.0 will work.Neil2-3/+3
2023-02-15Feature [feature-requests:#1477] More typesafe bindings of *Full APIs inZufu Liu1-3/+3
ScintillaCall.
2022-11-26Bug [#2344]. Avoid blurry display with DirectWrite in GDI scaling mode.Markus Nißl1-0/+1
https://sourceforge.net/p/scintilla/code/merge-requests/28/
2022-10-26Add check for validity of 'seealso' links in documentation. Fix 'seelaso' links.Neil1-2/+9
Fix some minor formatting issues.
2022-10-19Feature [feature-requests:#1455] Implement GetStyledTextFull as a 64-bit safeNeil1-12/+15
version of GetStyledText.
2022-10-09File changed/new messages are printed in diagnostic format to make it easier toNeil1-1/+1
open the file.
2022-08-01Update CheckMentioned.py script to handle ...Full structs.Neil1-0/+6
Fix documentation to use correct ID attribute.
2022-07-31Added change history which can display document changes (modified, saved, ...)Neil1-0/+1
in the margin or in the text.
2022-05-17Duplicate APIs to support 64-bit document positions on Win32:Neil1-0/+3
SCI_GETTEXTRANGEFULL, SCI_FINDTEXTFULL, and SCI_FORMATRANGEFULL.
2022-02-02Feature [feature-requests:#1427] Add multithreaded layout which improvesNeil1-0/+3
performance significantly for very wide lines.
2022-01-31Implement more unique_ptr allocation wrappers and place in new Wrappers.h ↵Neil Hodgson1-0/+1
header.
2022-01-14Remove unnecessary inclusion of POSIX headers.Neil Hodgson1-4/+0
2021-11-22Move common Win32 functions for releasing IUnknown* and DLL function access intoNeil1-0/+1
new WinType.h header.
2021-09-14Avoid some allocations when checking whether font monospaced.Zufu Liu1-0/+1
2021-08-31Bug [#2279] Ensure file closed. Drop deprecated "U" as that is the default.mpheath2-2/+2
2021-08-24Remove line end white space.Neil3-4/+4
2021-07-12Add support for benchmarks and Russian text in the unit tests.Neil1-0/+2
2021-07-03Update all version numbers in Xcode project. Was missed because of change toNeil1-1/+2
ReplaceREInFile.
2021-06-17Move ScintillaCall from SciTE project.Neil1-7/+178
2021-06-11Display warning if can't find line to update.Neil1-0/+2
2021-06-10Call HFacer to ensure Scintilla.h also updated.Neil1-4/+9
2021-06-07Provide more data for unused values in commented-out code to make it easier toNeil1-1/+9
choose a better feature value.
2021-05-25Check that constants are documented.Neil1-0/+4
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil3-4/+133
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal.
2021-05-06Remove dead code and imports as found by Vulture.Neil8-221/+11
https://github.com/jendrikseipp/vulture
2021-04-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil2-7/+6
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both.
2021-04-27Update Unicode code generation scripts. Update Lexilla, use pathlib, simplify.Neil2-6/+11
2021-04-26Remove some tracing from HeaderCheck as it produces much uninteresting output.Neil1-2/+1
2021-04-09Add count argument to ReplaceREInFile so can modify mutiple occurrences.Neil2-3/+4
Fixed downloads page.
2021-03-29Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements.Neil1-0/+1
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists.
2021-03-27Add APIs for setting translucency and stroke width of markers.Neil1-0/+6
2021-03-22Remove IntegerRectangle.h as not widely usefulNeil1-1/+0
Add IntegerRectangle struct for local use in PlatGTK.cxx.
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil1-0/+1
almost everywhere.