Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
The token is saved just like the text editor content.
In a single panel layout, the Upload button should only be shown when a detail panel is visible.
The text editor panel shouldn't scroll because the input widget does its own scrolling.
|
|
|
|
Include a padding under the buttons to account for the toolbar.
|
|
|
|
|
|
|
|
|
|
Tab close button visibility, newly added preferences, "Manage Fonts" button, button icon color.
|
|
Very minor memory leaks.
|
|
No need to use Garbage here to collect per-frame strings and arrays.
|
|
The hover widget needs updating if the currently visible tab changes. Normally the hover widget is only updated when the mouse has moved.
|
|
|
|
|
|
|
|
IssueID #354
|
|
|
|
An [x] button appears on tab buttons when hovering on them. Still needs a bit of layout tweaks and the first tab doesn't have a button yet.
|
|
|
|
The windowID was expected to be set, but wasn't for touch events.
IssueID #351
|
|
Be more robust in `init_Url()`.
|
|
|
|
|
|
The invalid runs were sometimes discarded before they had a chance to be drawn.
|
|
|
|
IssueID #358
# Conflicts:
# res/lang/de.bin
# res/lang/en.bin
# res/lang/eo.bin
# res/lang/es.bin
# res/lang/es_MX.bin
# res/lang/fi.bin
# res/lang/fr.bin
# res/lang/gl.bin
# res/lang/ia.bin
# res/lang/ie.bin
# res/lang/isv.bin
# res/lang/pl.bin
# res/lang/ru.bin
# res/lang/sk.bin
# res/lang/sr.bin
# res/lang/tok.bin
# res/lang/zh_Hans.bin
# res/lang/zh_Hant.bin
|
|
When GlyphBuffers were freed, the array holding them wasn't.
|
|
|
|
FG color and font style escapes can be enabled separately. FG color remains enabled by default like before.
|
|
Don't try to show a document while a long download is progressing, especially if we don't have any way to present the document format.
|
|
|
|
|
|
When GlyphBuffers were freed, the array holding them wasn't.
|
|
|
|
|
|
Saving this as the last point of progress. This direction is too complicated: Media needs to be a lot more sophisticated to allow dynamic and interactive media at the level of FontPacks. (A bit like Player handles audio playback.)
This will be reverted. FontPack management will happen using an another method.
|
|
When the last safe break position was not in the current attributed run, the calculated wrap advance came out incorrect. This was possible when the first glyph in an attributed run didn't fit.
|
|
Cleaned up serialization of the bool preferences a little.
|
|
|
|
It can be argued that using ANSI escapes to style text goes against the intended use of Gemtext. Therefore, all ANSI escapes are now disabled by default in Gemtext.
|
|
|
|
|
|
|
|
These changes concern the situation when the attributes of text (i.e., font, color) are changed via escape sequences.
The concept of "base attributes" was added so that the low-level text renderer knows which font/color to set when a "reset" escape sequence is encountered. This depends on what kind of text is being renderer, e.g., preformatted or regular paragraphs.
The base attributes were added as variables in Text because it was getting unwieldy to pass all the information via the draw/measure/WrapText functions.
GmDocument now has a GmTheme struct that collects the font and color information into a single place.
|
|
|
|
Convert Markdown to Gemtext and use ANSI escape sequences to switch fonts (bold, italic, monospace). The conversion is still a bit buggy...
|
|
IssueID #358
|
|
# Conflicts:
# CMakeLists.txt
# res/lang/es.bin
# res/lang/fr.bin
# res/lang/gl.bin
# res/lang/ie.bin
# res/lang/ru.bin
# res/lang/sk.bin
# res/lang/sr.bin
# res/lang/tok.bin
# src/ui/documentwidget.c
|