| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| | |
Some Gemini sites such as Station or BBS allow multi-line posts.
|
| |/ |
|
| |
|
|
|
|
|
|
| |
This change allows the user to start scrolling with the keyboard instantly,
without having to focus the browsing area first, after a page has loaded.
This happens for example when opening a new tab, and when entering an
address manually.
|
| | |
|
| |
|
|
| |
With QT_VERSION_CHECK and core5compat module
|
| | |
|
| |
|
|
|
|
| |
instead of erroring out unsupported mime. It does not implement XHTML exactly to the spec. That could hopefully be looked at in the future.
Signed-off-by: Thomas Groman <tgroman@nuegia.net>
|
| |
|
|
| |
chosen localization properly.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When lazy-loaded links were making a new tab, they wasn't calling
tab->navigateTo(url, BrowserTab::PushImmediate). What's important is only
it can push urls to the history and making a new function just for that
seemed like it'd just complicate things.
So I've changed it to call tab->navigateTo() on every loading type.
Unfortunately, that fixed our issue partly.
Sure, links are now put into the history, but lazy-loaded tabs stopped
being lazy-loaded anymore. Moreover, they were also reloading a page on first
tab switch.
So I've made also a check that stops requesting lazy-loaded urls,
which made lazy-loading work as intended again, and moved the unsetting
lazy-loaded boolean on reload instead of right after it to be able to request
the file, which finally...
Closes: #214
|
| |
|
|
|
|
|
|
|
|
| |
We don't need to wrap tr() with QString, because it returns QString anyway.
Although it doesn't change the binary size (mostly because compilers were
smart to remove that already), it helps to make the code a little bit cleaner.
It's a somewhat continuation of c740189bcaa5bc6c073f8b3802303acf5ac36e47,
but I thought back then it happened only there, so now I've removed it from
all places.
|
| |
|
|
|
| |
When you viewed a small image after the bigger one in the same tab, then
the graphics_browser was still trying to scale them to the window size.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Closes: #213
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
borked and only trivial documents work correctly.
|
| |
|
|
| |
exists. Fixes #193.
|
| | |
|
| |
|
|
| |
This allows, e.g going to parent directory in local directory listings, and also allows doing so on error pages
|
| |
|
|
| |
Text which is selected in a kristalltextbrowser now has it's quotes replaced with ASCII quotes. This was done as copying fancy quotes is seen as an annoyance to most people. It is still possible to copy these quotes, if they are the only thing in the selection (whitespace also allowed, and commas, and fullstops)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
0) when visiting for example, https://lists.orbitalfox.eu/archives/gemini/2020/000304.html the page title was getting a newline character in it (for some reason). This has now been fixed.
1) the tab title is now limited to 45 characters, until the string is chopped and an ellipsis (...) is appended. This limit was added to prevent pages with enormous titles from clogging up the tab bar. For this reason, the limit is quite high - users browing Gemini don't usually have that many tabs open (compared to the web), so i think we can get away with this high number.
|
| |
|
|
| |
For sites that do not have a page title (i.e no '#' heading) the document's filename is used. If no filename exists, then the hostname of the page is used.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Since #150, when typographer quotes were enabled, searching for text with quotation marks using the searchbox was made slightly more difficult as the search pattern would not match each of the different quotation mark types. This patch addresses this by using a regex which contains the search query, and creates a pattern that matches the various quote types.
|
| | |
|
| | |
|
| |
|
|
| |
Hard-coded values for now. This works by setting the left/right margins of the page dynamically (e.g on window resize). The margins are calculated to limit the text's width between a value. If the window width is less than this text width, the text fill width is the same width as the page, the margins in this case will be the user's configured margins (not yet implemented).
|
| |
|
|
| |
When searching for something that wasn't in the page, the cursor would be moved to the top or bottom of the page (depending on search direction). This fixes that by only moving the page if the search term is actually in the current buffer.
|
| |
|
|
| |
This was necessary to fix a bug, where the URL bar becomes unusable while search box is visible.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
The question box was showed when the redirect has a different scheme or host,
without checking first if you want to see the it, which could lead to an empty
dialog box instead of skipping it entirely.
|
| | |
|
| |
|
|
|
|
|
| |
That commit broke resolving relative urls (e.g. when you were browsing
README.md, the link that goes to BUILDING resolved to README.md/BUILDING).
This reverts commit 601887655e7f128c1c938a24fc38d002a8aecb64.
|