aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'multiline-input' into forkforkXavier Del Campo Romero2023-08-051-0/+1
|\
| * browsertab.cpp: Use multi-line input when requiredXavier Del Campo Romero2023-08-051-0/+1
| | | | | | | | Some Gemini sites such as Station or BBS allow multi-line posts.
* | Merge branch 'settings-scrollarea' into forkXavier Del Campo Romero2023-08-011-286/+302
|\ \
| * | settingsdialog.ui: Move "Generic" widgets to QScrollAreaXavier Del Campo Romero2023-08-011-286/+302
| |/ | | | | | | | | | | This would allow smaller screens (think of mobile devices such as the PinePhone or Librem 5) to be able to fit the settings dialog, and therefore use it.
* / Try QScroller::grabGesturescrollerXavier Del Campo Romero2023-08-011-0/+2
|/
* Update settingsdialog.cppAcidus2023-07-081-0/+1
|
* update with active search enginesAcidus2023-07-081-3/+2
| | | adding Kennedy and TLGS as search engines
* Focus browsing area after page is loadedTomas Åkesson2023-04-061-0/+2
| | | | | | | | 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.
* Allow middle-click to open new tab when text is selectedTomas Åkesson2023-04-061-0/+3
| | | | | | | | If text is selected, middle-click will not be forwarded to the function that opens the link in a new tab. So this change will deselect any selected text before trying to open a new tab. Fixes #253
* Fix crash when encountering incomplete ANSI codesTomas Åkesson2023-04-021-6/+6
| | | | | Add bounds checking before increasing iterator pointer, to prevent incomplete ANSI codes causing iterators going to far.
* Fix crash when closing gopher tab during content loadingTomas Åkesson2023-04-011-0/+1
|
* Fix media player stutteringTomas Åkesson2023-03-262-2/+27
| | | | | | | | Only call setPosition() on the QMediaPlayer object when the user has manually dragged the slider position slider. Otherwise the slider and player will call each other, probably causing a feedback loop which causes stuttering.
* Improve Qt 6 supportAlexey Andreyev2023-03-251-2/+7
| | | | | | | Add missing mediaplayer widget logic Contributes to: https://github.com/MasterQ32/kristall/pull/266
* Introduce Qt 6 supportAlexey Andreyev2023-03-246-3/+69
| | | | With QT_VERSION_CHECK and core5compat module
* AboutHandler: improve cache request generationAlexey Andreyev2023-03-241-1/+1
| | | | Specify Utf8 encoding for cache information header
* fix missing kristall version when not building in git repoCarlos Henrique Lima Melara2022-12-301-1/+7
|
* src/about/help.gemini: fix typo (completly -> completely)Carlos Henrique Lima Melara2022-12-251-1/+1
|
* src/kristall.pro: append CPPFLAGS to CFLAGS and CXXFLAGSCarlos Henrique Lima Melara2022-01-301-1/+4
| | | | qmake does not use QMAKE_CPPFLAGS, this is a hack to include it.
* Implements #245Felix "xq" Queißner2021-11-207-27/+118
|
* Improves caching api related to urls, implements fragment handling, fixes #237Felix "xq" Queißner2021-11-205-37/+60
|
* new location macos 11 homebrew qtquietok(david)2021-09-131-2/+2
|
* Fix x86 for Haiku and maybe othersquietok(david)2021-09-131-0/+3
|
* Fix building on macOS/arm64linear2021-09-051-5/+13
| | | | | | | | Homebrew installs to a different directory on macOS/arm64. this adds checks in the Makefile and in kristall.pro, and sets the correct paths to Homebrew depending on whether the build is targeting arm64 or not.
* Add support for XHTML This patch sends XHTML down the HTML renderer path ↵Thomas Groman2021-05-082-1/+2
| | | | | | 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>
* Further improves localization (#191). Allows switching and setting the ↵Felix (xq) Queißner2021-05-0817-78/+249
| | | | chosen localization properly.
* Inserts setting for current language.Felix (xq) Queißner2021-05-085-25/+314
|
* Fix for #233Mike Skec2021-05-022-1/+7
|
* BrowserTab: accept file dropsKarol Kosek2021-04-212-0/+15
|
* 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.
* 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-101-0/+2
|
* 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
|