aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Adds qttools5-dev-tools to Ubuntu dependenciesFelix Queißner2021-05-081-1/+3
|
* Adds qt5-linguist as a Fedora dependencyFelix Queißner2021-05-081-0/+1
|
* Fix for #233Mike Skec2021-05-022-1/+7
|
* BrowserTab: accept file dropsKarol Kosek2021-04-213-0/+19
|
* Push lazy-loaded links to the historyKarol Kosek2021-04-182-6/+4
| | | | | | | | | | | | | | | | | | | | 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
* main.cpp: support sessions when multiple users have opened KristallKarol Kosek2021-04-171-1/+7
| | | | | | | | | | | | | | Before this change, only the first user who had opened kristall had working ipc. The easiest fix was to prepend an username to the socket and that's exactly what it does on Windows. On Linux and other UNIX systems, we could do that too, but I came up with a bit different approach. I didn't like the fact that Qt puts sockets in /tmp, but luckily we can provide the full path for the socket (Windows uses pipes, so that's why it has its own case). I've changed it to put sockets in the runtime directory, because it's designed for that type of files and it's user-specific, so we don't even have to prepend the username to it.
* Unwarp tr() from QStringsKarol Kosek2021-04-165-25/+25
| | | | | | | | | | 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.
* .gitattributes: fix GitHub language graphKarol Kosek2021-04-161-0/+3
| | | | | | | | | | | | | This excludes third-party libraries from GitHub language detection, so the project will be correctly labeled -- as C++ instead of C. This also adds man-page generation scripts to the graph, since GitHub automatically marks the doc/ folder as documentation, making them not visible in the graph. https://github.com/github/linguist/blob/master/docs/overrides.md [skip ci]
* BrowserTab: reset image scaling for small imagesKarol Kosek2021-04-111-0/+2
| | | | | 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.
* BrowserTab: drop QStringKarol Kosek2021-04-111-4/+2
|
* BrowserTab: simplify unsupported media type errorKarol Kosek2021-04-111-32/+11
|
* BrowserTab: call the view source action from menu directlyKarol Kosek2021-04-111-3/+1
|
* GeminiRenderer: remove empty GeminiDocument class and unused includesKarol Kosek2021-04-112-22/+3
|
* Save settings on exitKarol Kosek2021-04-111-1/+1
| | | | | 0d1fd257093c58bfb606aaac530aed3b0877f7fd changed kristall::saveSettings() to settings.sync() which caused bookmarks not to be saved.
* BrowserTab: render image loading errors in a documentKarol Kosek2021-04-101-13/+24
|
* BrowserTab: add scrollbars to image viewKarol Kosek2021-04-102-2/+4
|
* BrowserTab: scale images only when they are bigger than the windowKarol Kosek2021-04-101-2/+6
| | | | Closes: #213
* BrowserTab: simplify image loadingKarol Kosek2021-04-101-8/+3
|
* Respect *FLAGS environment variables.tastytea2021-04-101-9/+5
| | | | | | | | | | This initializes QMAKE_CFLAGS, QMAKE_CXXFLAGS and QMAKE_LFLAGS with the corresponding environment variables on all OSs. The variables will be expanded when qmake is run[1]. This is a generalization of #171. [1] <https://doc.qt.io/archives/qt-4.8/qmake-advanced-usage.html#variables>
* Show application version in the about dialogKarol Kosek2021-04-091-2/+3
|
* MarkdownRenderer: remove resetFormatting function from blockquotesKarol Kosek2021-04-091-1/+0
| | | | It caused some spacing issues with nested blockquotes.
* MarkdownRenderer: suppress first blockKarol Kosek2021-04-051-1/+1
|
* MarkdownRenderer: apply replacing quotesKarol Kosek2021-04-051-1/+2
|
* Move replace_quotes to renderhelpersKarol Kosek2021-04-053-81/+81
|
* MarkdownRenderer: use blockquotes style from configKarol Kosek2021-04-051-0/+6
|
* MarkdownRenderer: use bullet list style from configKarol Kosek2021-04-051-3/+1
|
* MarkdownRenderer: use unordered list style from configKarol Kosek2021-04-051-4/+5
|
* MarkdownRenderer: follow centering first header optionKarol Kosek2021-04-051-1/+11
|
* MarkdownRenderer: use header formatting from configKarol Kosek2021-04-051-0/+3
| | | | | | | | | Now, resetFormatting() between a header and a list block will add an empty block (because that's what resetFormatting()'s doing), which might look a bit off. I couldn't find a better way to this, since using cursor.movePosition(QTextCursor::NextBlock) won't centre the first header in the next commit. ://
* MarkdownRenderer: add default format parameter to resetFormatting()Karol Kosek2021-04-051-5/+5
|
* MarkdownRenderer: move resetting format to a separate functionKarol Kosek2021-04-051-8/+9
|
* MarkdownRenderer: move page_title to RenderState structKarol Kosek2021-04-051-16/+19
|
* don't depend on bashomni2021-04-033-13/+13
|
* make gem-to-man.awk portableomni2021-04-031-1/+1
|
* update build requirements on Alpine linuxomni2021-04-031-5/+8
|
* systemdialog.ui: set style buttons namesKarol Kosek2021-04-021-66/+44
| | | | The text is hidden unless the user doesn't have that icon installed.
* view source: remove question mark from title bar (#208)Mike Skec2021-03-301-1/+1
|
* BrowserTab: set port on relative redirectsKarol Kosek2021-03-281-0/+1
|
* Restores geometry from previous root window.Felix (xq) Queißner2021-03-171-27/+48
|
* sessions: fix lazyload bugMike Skec2021-03-171-0/+1
|
* rename PageMetadata struct to NamedUrlMike Skec2021-03-172-4/+4
| | | | PageMetadata is a little misleading. NamedUrl sounds stupid but is a bit more accurate
* sessions: add 'lazyloading' for restored tabsMike Skec2021-03-174-7/+31
|
* sessions: save page titles and read them before loading pageMike Skec2021-03-174-7/+38
|
* sessions: restore window tab indicesMike Skec2021-03-173-18/+37
|
* Adds option to have old or new session behaviour. Closes #187Felix (xq) Queißner2021-03-175-62/+102
|
* First draft of session management. Always restores the latest session.Felix (xq) Queißner2021-03-174-25/+130
|
* Strip carriage-returns in gemtextMike Skec2021-03-171-0/+2
|
* update Russian translationOIS2021-03-161-73/+93
|
* update .ts filesOIS2021-03-162-554/+1014
|
* mark more strings for translationOIS2021-03-166-26/+26
|