Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-04-27 | Fixed bad backport involving std::round and std::lround for older Mac OSX SDKs. | mitchell | 1 | -2/+2 | |
This reverts parts of changeset 7371:886ffb3884fe. | |||||
2019-03-27 | Backport: Ran astyle to standardize formatting. | Neil | 1 | -22/+22 | |
Backport of changeset 7342:7ce2da0f95ef. | |||||
2019-03-27 | Backport: Use const where reasonable. Some additional type safety. | Neil | 1 | -72/+77 | |
Backport of changeset 7340:9b570ca5091d. | |||||
2019-03-27 | Backport: Replace NULL/0 with nullptr. Mark noexcept where simple. | Neil | 1 | -99/+104 | |
Move some static functions into anonymous namespace. Backport of changeset 7338:1238cda7364d. | |||||
2019-03-27 | Backport: Add <algorithm> for std::min/max. Standardize on _WIN32 to gate ↵ | Neil | 1 | -0/+1 | |
Win32 features. Protect from windows.h definition of min/max. Backport of changeset 7335:a10ed6f873e6. | |||||
2019-03-25 | Backport: Use generic std::abs instead of abs and fabs. | Neil | 1 | -3/+3 | |
Backport of changeset 7330:09e5fe965a79. | |||||
2019-03-31 | Backport: Use generic versions of ceil, floor, round, lround, trunc from ↵ | mitchell | 1 | -2/+2 | |
<cmath>. Backport of changeset 7329:2662ef098d93, but without std::round and std::lround, since older Mac OSX SDKs may not have them. | |||||
2018-05-25 | Backport: Add GradientRectangle method to Surface to draw rectangles with ↵ | mitchell | 1 | -0/+27 | |
vertical or horizontal gradients. Backport of changeset 6965:90c71d69e3b6. | |||||
2018-05-25 | Backport: Modernize Platform.h (3) - update Surface to delete WidthChar, use ↵ | mitchell | 1 | -16/+4 | |
size_t for Polygon and delete the standard copy and assignment methods. Backport of changeset 6940:89fd29243232. | |||||
2018-05-14 | Backport: Modernize Platform.h (2) - noexcept, const, constexpr. | Neil | 1 | -3/+3 | |
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-14 | Backport: Modernize Platform.h (1) - noexcept, const, standard methods. | Neil | 1 | -8/+8 | |
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform. Backport of changeset 6938:a42c7cc3254b. | |||||
2018-05-06 | Backport: Use <chrono> for platform-independent timing and remove ↵ | mitchell | 1 | -22/+0 | |
ElapsedTime. Also use #if for painting measurement as there are 7 sections of code to enable. Backport of changeset 6741:af5d9064c25c. | |||||
2018-05-05 | Backport: Feature [feature-requests:#1211]. Use pre-computed table for ↵ | mitchell | 1 | -1/+1 | |
UTF8BytesOfLead. Friendlier treatment of invalid UTF-8. Add tests for UniConversion handling invalid UTF-8. Simplify UTF8Classify tests. Backport of changeset 6643:ebbb4e5aaf93. | |||||
2017-09-11 | Backport: The Scintilla namespace is always active for internal symbols and ↵ | Neil | 1 | -6/+0 | |
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3. | |||||
2017-06-12 | Backport: Removed unused functions and methods from Platform.h. | Neil | 1 | -100/+0 | |
Replaced Platform::Clamp with Sci::clamp. Drop MouseButtonBounce workaround for very early GTK+/Linux. Backported from changeset 6307:7030530a9a0f. | |||||
2017-06-11 | Backport: Implement SCN_AUTOCSELECTIONCHANGE notification. | Neil | 1 | -9/+31 | |
Backported from changeset 6306:7e28cdba6d61. | |||||
2017-06-10 | Backport: Require GTK+ 2.24 or later. Removes support for earlier versions. | Baldur Karlsson | 1 | -33/+0 | |
Backport of changeset 6301:90741c1cb988. | |||||
2017-06-09 | Backport: Use min and max from std instead of own version from platform. | Neil | 1 | -4/+4 | |
Backport of changeset 6297:4bf96081f6e6. | |||||
2017-04-22 | Include <memory> for std::unique_ptr. | Neil | 1 | -0/+1 | |
2017-04-15 | Avoid calling virtual functions in constructors and destructors. | Neil | 1 | -2/+7 | |
2017-04-07 | Use same parameter names in declarations and definitions. | Neil | 1 | -6/+6 | |
2017-04-01 | Standardize on C++ headers, remove headers that aren't needed and add <cstddef> | Neil | 1 | -5/+5 | |
where it may be needed in the future. | |||||
2017-03-07 | GTK: Fix popup positioning on monitors not positioned at 0,0 | Colomban Wendling | 1 | -20/+14 | |
2017-03-04 | Use C++11 keyword "override" for methods that override a base class. | Neil | 1 | -63/+63 | |
2017-01-04 | Use new simplified API for showing menu on GTK+ 3.22 as old API was deprecated. | Neil | 1 | -3/+11 | |
2017-01-04 | Use newer APIs for screen/monitor/display on GTK+ 3.22 as old APIs deprecated. | Neil | 1 | -7/+35 | |
These are used to ensure popup windows are fully on-screen but after this change, this doesn't always work on GTK+ 3.22 / Wayland. | |||||
2017-01-04 | Fix display of autocompletion lists and calltips on GTK+ 3.22 on Wayland by | Neil | 1 | -1/+5 | |
setting the owning window by calling gtk_window_set_transient_for. | |||||
2016-11-07 | Remove warning suppressions for a version of Clang from 4 years ago. | Neil | 1 | -5/+0 | |
2016-10-23 | Bug [#1874]. GTK: Avoid warnings about unused parameters | Colomban Wendling | 1 | -1/+1 | |
Either remove the parameter name if it is never used, or mark it with G_GNUC_UNUSED when it might be used depending on some preprocessor flags. | |||||
2016-09-06 | GTK: Fix autoc font size on GTK >= 3.21.0 | Colomban Wendling | 1 | -1/+9 | |
GTK 3.21.0 fixed font size handling, leading to properly interpreting pixels and points in CSS declarations. However, as older versions incorrectly handled those, the code has to handle both behaviours. From CSS, GTK < 3.21.0 actually applied the conversion to points, but incorrectly: 10px was used as 10pt, but 10pt was scaled up twice. So, assuming 96 DPI, it leads to: font-size | 3.20.0 | 3.21.0 | ----------|---------|---------| 10px | 13.33px | 10px | 10pt | 17.77px | 13.33px | So, we need to fix the code to accommodate for both (either scaling ourselves, or adapting the unit: I chose the second, simpler, option). See https://git.gnome.org/browse/gtk+/commit/?id=df08fc91bdc1d2e4c866122304fabe4dd298a7de | |||||
2016-05-05 | Remove template adaptor as only g_iconv is used now. Use glib's gsize type as it | Neil Hodgson | 1 | -8/+8 | |
matches g_iconv exactly. Make character set name buffer dynamically sized. | |||||
2016-04-30 | Move function braces for consistency. | Neil Hodgson | 1 | -4/+2 | |
2016-04-27 | GTK: Get border for the exact current style's state on GTK 3 | Colomban Wendling | 1 | -3/+4 | |
GTK 3.20 doesn't seem to like it so much when looking up details of a non-exact current style context state, so use the current one. This is GTK being really picky as in this case we are just missing the `DIR_LTR` flag, which we definitely don't care about, but let's make it happy. | |||||
2016-04-27 | GTK: Fix auto-completion popup sizing code for GTK 3.20 | Colomban Wendling | 1 | -24/+39 | |
GTK 3.20's GtkScrolledWinodw doesn't like having a too small allocation and spews scary assertion failures. Fix that by requesting the real size we'd like instead of hard-coding 1 as small-enough value in our overriding height requisition method. The actual value doesn't really matter so long as it's small enough anyway, as we resize the popup to fit later on. Note: this moves the actual implementation of ListBoxX::GetRowHeight() to the new convenience function treeViewGetRowHeight(), with no changes in implementation. | |||||
2016-04-27 | GTK: Plug a memory leak | Colomban Wendling | 1 | -0/+1 | |
2016-04-27 | GTK: Fix fetching the frame border width on GTK 3.20 | Colomban Wendling | 1 | -1/+24 | |
GTK 3.20 introduced a sub-node named "border" to the frame, requiring to lookup the border on that sub-node rather than on the frame itself. Unfortunately supporting this requires to be built against GTK 3.20, as it requires API this version introduced. This means that a build against an older version won't be able to get the popup sizing right if running on 3.20. To mitigate this, add reasonable fallback defaults when running 3.20 but built on an earlier version, to try and avoid 2px-scrolling on GTK 3.20's default theme. | |||||
2016-04-27 | GTK: Fix popup font on GTK >= 3.20 | Colomban Wendling | 1 | -1/+1 | |
2016-04-12 | Font cache removed along with its thread locking and initialisation. | Neil Hodgson | 1 | -249/+21 | |
Platform-independent caching is available and there is no performance difference after removal. | |||||
2016-03-25 | Since stddef.h is the most basic header, defining size_t, move it first. | Neil | 1 | -1/+1 | |
2015-11-20 | Remove line end whitespace. | Neil | 1 | -1/+1 | |
2015-10-25 | GTK: Fix autoc popup row height on GTK2 when it changes at runtime | Colomban Wendling | 1 | -2/+2 | |
Now the popup is cached the row height has to be re-computed when the font changes on GTK2 too. Closes [bugs:1774]. | |||||
2015-09-27 | Simplify casting by using static_cast instead of reinterpret_cast, glib macros | Neil | 1 | -8/+8 | |
for passing integer values to callbacks, and avoiding casts by making functions follow prototypes exactly. | |||||
2015-09-05 | Remove #if sections which are not required for GTK+ 2.18. | nyamatongwe | 1 | -17/+2 | |
2015-09-05 | With the minimum GTK+ version now 2.18, remove #if conditions required for older | nyamatongwe | 1 | -7/+1 | |
versions of GTK+. | |||||
2015-09-03 | Removing support for old GTK+ versions. Minimum GTK+ is 2.18 with glib 2.22. | Neil | 1 | -6/+1 | |
2015-08-26 | Removed setting list colours on GTK+ 3.16+ as no longer appears needed. | Neil | 1 | -1/+5 | |
2015-08-26 | Use current CSS theming calls instead of deprecated gtk_widget_override_font. | Neil | 1 | -2/+42 | |
2015-08-26 | On GTK+ 3.x, fix height of lines in autocompletion lists to match the font. | Neil | 1 | -1/+5 | |
2015-08-16 | On GTK+, support code page 866 with SC_CHARSET_OEM866. | Serg Stetsuk | 1 | -0/+2 | |
2015-06-05 | Simplified retrieval of correct display for widget and ensure works on older ↵ | nyamatongwe | 1 | -10/+1 | |
versions of GTK+. |