Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-31 | Place CaseFolderDBCS in unnamed namespace to avoid one definition rule warnings | Neil Hodgson | 1 | -0/+4 | |
(ctuOneDefinitionRuleViolation) from Cppcheck. | |||||
2022-01-13 | Remove tests for pD2DFactory and pIDWriteFactory that can not fail. | Zufu Liu | 1 | -1/+1 | |
Use constexpr. | |||||
2021-11-22 | Move common Win32 functions for releasing IUnknown* and DLL function access into | Neil | 1 | -0/+1 | |
new WinType.h header. | |||||
2021-11-22 | Bug [#2295] Fix potential memory leak with Korean language input. | Zufu Liu | 1 | -3/+3 | |
2021-11-16 | Remove some casts that are not needed and a long-disused assertion. | Neil | 1 | -3/+2 | |
2021-10-19 | Extract ChangeScrollRange from common scroll range setting code. | Neil | 1 | -32/+18 | |
2021-10-18 | Normalize indentation whitespace. | Neil | 1 | -3/+3 | |
2021-10-16 | Bug [#2288] When window wider than scroll width, compute horizEndPreferred | Derek | 1 | -2/+2 | |
correctly so that SetScrollInfo is not called nor dwell end notified unnecessarily. | |||||
2021-09-28 | Widen styleNumber in PositionCacheEntry from 8 to 16 bits to allow styles | Neil | 1 | -0/+1 | |
larger than 255 to be represented. Before this, it may have been possible but extremely rare for a cache entry to wrongly match a styled lexeme and produce incorrect layout. Using uint16_t from cstdint instead of a bit field as tools perform more checking on that. | |||||
2021-08-24 | Remove line end white space. | Neil | 1 | -1/+1 | |
2021-08-14 | Cache the client rectangle to avoid system calls during intensive operations. | Neil | 1 | -0/+7 | |
2021-07-23 | Feature [feature-requests:#1411] Implement WM_SETREDRAW to turn off scroll bar | Neil | 1 | -0/+22 | |
updates. | |||||
2021-07-06 | Feature [feature-requests:#1408] For DBCS on Win32, change WM_GETTEXTLENGTH and | Neil | 1 | -15/+45 | |
WM_GETTEXT to not use CountUTF16 or GetRelativePositionUTF16, instead using the Win32 API MultiByteToWideChar for consistency between reported length and text as UTF-16. | |||||
2021-06-25 | Feature [feature-requests:#1400] Set buffering when technology set. | Zufu Liu | 1 | -0/+1 | |
2021-06-17 | Add SciFnDirectStatus, a direct access function which also returns status so can | Neil | 1 | -2/+18 | |
improve performance for client code that called SCI_GETSTATUS after every API to check for failure. | |||||
2021-06-09 | Reduce casts by defining methods for common conversions. | Neil | 1 | -2/+2 | |
2021-06-05 | Bug [#2259]. Fix gcc link-time-optimization compilation. | Neil | 1 | -0/+1 | |
2021-05-28 | Merge init into ScintillaWin constructor as not called from anywhere else. | Neil | 1 | -29/+14 | |
Ensure variables initialised. Remove dead code. | |||||
2021-05-24 | Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h | Neil | 1 | -236/+247 | |
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-22 | Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedef | Neil | 1 | -5/+5 | |
will be published in externally visible header. | |||||
2021-05-17 | Fix issues reported by Coverity and Visual C++ Analysis. | Neil | 1 | -13/+11 | |
Throw when (impossible) dynamic_cast failures occur as it isn't reasonable to recover. That removes 'noexcept' from some methods. Cast to avoid 'sub-expression overflow' warnings. Add default initializations and noexcept where safe. Move DropRenderTarget out of #if to avoid some preprocessor use. | |||||
2021-05-11 | Implement UpdateBaseElements on Win32 to update colours to match current system | Neil | 1 | -0/+21 | |
settings. Trigger UpdateBaseElements when system settings change. | |||||
2021-04-27 | Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterType | Neil | 1 | -1/+1 | |
and CharacterCategoryMap to avoid clashes with Lexilla when building an executable that includes both. | |||||
2021-04-26 | Extract related groups of fields out of ViewStyle into new structs. | Neil | 1 | -2/+2 | |
Size of ViewStyle makes it more difficult to understand and this helps a bit. | |||||
2021-04-25 | Feature [feature-requests:#1402]. Unify colour type with ColourAlpha. | Neil | 1 | -4/+4 | |
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired. | |||||
2021-04-15 | Bug [#2228]. Ensure sysCaretBitmap does not leak. | Mat Berchtold | 1 | -1/+6 | |
2021-04-05 | Change CaseConversion to an enum class. | Neil | 1 | -3/+3 | |
2021-03-29 | Add SCI_SETELEMENTCOLOUR and related APIs to change colours of visible elements. | Neil | 1 | -0/+1 | |
Implement SC_ELEMENT_LIST* to change colours of autocompletion lists. | |||||
2021-03-22 | Replace multiple mode setting calls on Surface with SetMode as this is | Neil | 1 | -3/+1 | |
extensible. For CallTip, GTK and Qt hardcode BidiR2L to false as they don't support bidirectional, its the same as current, and the BidiR2L state on EditModel isn't easily accessible. | |||||
2021-03-20 | Use Surface::AllocatePixMap instead of changing an existing surface with | Neil | 1 | -3/+3 | |
InitPixMap. Changed DropGraphics from releasing surfaces to deleting them. This simplifies code and the added cost of allocating a new Surface is small. | |||||
2021-03-19 | Switch enum to enum class. | Neil | 1 | -33/+36 | |
2020-06-24 | Converting between UTF-8 and current encoding. | Neil | 1 | -0/+23 | |
Allows platform-independent code to be written just to handle Unicode. | |||||
2021-03-18 | Use unique_ptr for CaseFolderForEncoding to show transfer of ownership. | Neil | 1 | -5/+5 | |
2021-03-18 | std::optional is a basic vocabulary type that may be used widely so include | Neil | 1 | -0/+1 | |
almost everywhere. | |||||
2021-03-18 | Move assert and debug trace functions into their own header Debugging.h. | Neil | 1 | -0/+1 | |
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules. | |||||
2021-03-17 | Change Window::Cursor to an enum class. | Neil | 1 | -6/+6 | |
2021-03-17 | Extract geometry and colour definitions from Platform.h into src/Geometry.h. | Neil | 1 | -0/+1 | |
2020-08-03 | Bug [#2170]. Fixed cursor flicker when click past end of file and there is an | uhf7 | 1 | -1/+4 | |
indicator at file end. | |||||
2020-07-31 | Refactored ContextCursor to avoid multiple Point conversions. | Neil | 1 | -15/+15 | |
Reversed order of selection checks as SelectionEmpty is lighter than PointInSelection. | |||||
2020-07-31 | Bug [#2170]. Fixed cursor flicker over an indicator with hover style. | uhf7 | 1 | -0/+2 | |
2020-06-15 | Use ReleaseUnknown to extend noexcept over finalisation. | Zufu Liu | 1 | -1/+1 | |
2020-06-11 | Fix bug on Win32 where calling WM_GETTEXT for more text than in document could | Neil | 1 | -1/+1 | |
return less text than in document. | |||||
2020-06-11 | Avoid warning for potential nullptr dereference that is not actually possible. | Neil | 1 | -2/+4 | |
2020-06-06 | Add ReleaseUnknown to safely release IUnknown* and avoid warnings when done in | Neil | 1 | -6/+2 | |
noexcept context. | |||||
2020-06-06 | Defer most initialisation until Scintilla window is created. | Neil | 1 | -17/+21 | |
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-05-28 | Bug [#2171]. Check for DPI change in WM_DPICHANGED_AFTERPARENT instead of every | Zufu Liu | 1 | -11/+12 | |
paint. | |||||
2020-05-27 | Bug [#2063]. Make reverse arrow cursor scale with DPI. | Zufu Liu | 1 | -0/+44 | |
2020-05-27 | Bug [#2063]. Add SystemMetricsForDpi and use for ListBox and mouse drag and ↵ | Zufu Liu | 1 | -9/+4 | |
drop. Simplify IME font definition. | |||||
2020-05-25 | Ensure dpi initialized and updated after WM_DPICHANGED. | Zufu Liu | 1 | -0/+3 | |
2020-05-20 | Fix some minor warnings. | Neil | 1 | -7/+7 | |