aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/HeaderOrder.txt
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.
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-07-31Added change history which can display document changes (modified, saved, ...)Neil1-0/+1
in the margin or in the text.
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-07-12Add support for benchmarks and Russian text in the unit tests.Neil1-0/+2
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-4/+9
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-04-27Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterTypeNeil1-4/+2
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both.
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-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.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil1-0/+1
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-1/+2
2021-02-01Move the patterns to check and exclude to HeaderOrder.txt so one script can beNeil1-36/+17
used for Scintilla, Lexilla, and SciTE. Update HeaderOrder.txt to match files moved out to Lexilla.
2020-06-06Defer most initialisation until Scintilla window is created.Neil1-0/+1
Previously, more initialisation was performed inside DllMain but some actions such as loading libraries are unsafe inside DllMain. Avoid listbox UnregisterClass if no attempt to register which will occur if no Scintilla windows were created. std::call_once is used to ensure initialisation is performed at most once.
2020-03-16List headers in HeaderOrder.txt that are not used.Neil1-5/+0
Remove unused headers from HeaderOrder.txt.
2019-12-22Lexilla testing framework.Neil1-0/+6
2019-12-31Move collection of modules from Catalogue.cxx to CatalogueModules.h so it canNeil1-0/+1
be reused.
2019-12-13Implement DynamicLibrary on Cocoa.Neil1-0/+1
2019-11-02GTK+ was renamed to GTK in February 2019 so update documentation to new name.Zufu Liu1-1/+1
2018-06-02Implement IScreenLineLayout for Cocoa Core Text as ScreenLineLayout.Neil1-0/+1
2018-05-01Add IntegerRectangle to simplify drawing lines without casting.Neil1-0/+1
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil1-0/+2
Also use #if for painting measurement as there are 7 sections of code to enable.
2018-04-04Move DLL entry points DllMain and Scintilla_DirectFunction into ScintillaDLL.cxxNeil1-0/+1
to simplify build process by eliminating the compilation of ScintillaWin.cxx into ScintillaWinS.o|obj.
2018-03-24Feature [feature-requests:#1212]. Move Unicode conversions into UniConversion.Zufu Liu1-1/+0
Move Unicode conversion functions UnicodeFromUTF8 and UTF8FromUTF32Character into UniConversion.
2018-02-27Added <utility> and <tuple> to header order and moved POSIX header <sys/time.h>Neil1-1/+5
after standard C++ language headers.
2018-02-26Added string_view to order.Neil1-0/+1
2018-01-28Use std::end when filling arrays as reduces chance of mistake.Neil1-0/+1
2017-08-28New header ILoader.h defines ILoader interface as it does not belong in ↵Neil1-0/+1
ILexer.h.
2017-06-22Add DefaultLexer.h to header order.Neil1-0/+1
2017-06-12Removed unused functions and methods from Platform.h.Neil1-0/+1
Replaced Platform::Clamp with Sci::clamp but will later change this to std::clamp once on full C++17 compilers. Drop MouseButtonBounce workaround for very early GTK+/Linux.
2017-05-21Use unique_ptr and forward_list to regularize PerLine data structures.Neil1-0/+1
2017-05-21Make SparseVector work with move-only types.Neil1-0/+1
Define UniqueString as a move-only string and use in a SparseVector for ContractionState. Remove SparseVector method specializations that are no longer needed.
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-0/+4
where it may be needed in the future.
2017-02-11Add <iostream> to header order.Neil1-0/+1
2017-02-01Bug [#1901]. Make trackpad scrolling work on Wayland.John Flatness1-0/+1
2016-11-16Extend header checking to include directory and add Sci_Position.h.Neil1-0/+1
2016-10-27Add stdint.h to header ordering in case used in future.Neil1-0/+1