aboutsummaryrefslogtreecommitdiff
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 'cmake' into forkXavier Del Campo Romero2023-08-054-0/+224
|\ \
| * | Add CMake-based build systemXavier Del Campo Romero2023-08-054-0/+224
| |/
* | 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
* doc/gen-man.sh: use printf instead of echo to make it portableCarlos Henrique Lima Melara2023-06-101-3/+3
| | | | | | printf is recommended instead of echo because it has a more predictable behavior than echo (tip from the POSIX standard ;-). Using it allow us to generate the _same_ manpage using sh, dash or bash.
* Removes ubuntu_18 runnerFelix Queißner2023-06-051-12/+0
|
* doc: remove unused DATE logic from gen-man.shCarlos Henrique Lima Melara2023-06-051-4/+0
| | | | | The use of $DATE was removed in 7a5499d7, but I forgot to remove this logic from gen-man.sh.
* doc: double escape special characters (\f) in gen-man.shCarlos Henrique Lima Melara2023-06-051-2/+2
| | | | | | sh and, consequently, dash interpret some escaped characters as control sequences, so an echo '\f' outputs a form feed. To avoid this problem in manpage generation, we have to escape "\f" sequences.
* 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
|
* BUILDING.md: use a better formatting to Ubuntu and Debian sectionCarlos Henrique Lima Melara2022-12-251-2/+2
|
* BUILDING.md: add qt5-tools to arch required packages list (fix #262)Carlos Henrique Lima Melara2022-12-251-0/+1
|
* BUILDING.md: add info about Debian and using dynamic linkingCarlos Henrique Lima Melara2022-12-251-4/+11
|
* 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.
* Removes build date from manpage to make kristall builds reproducibleCarlos Henrique Lima Melara2022-01-301-1/+1
|
* 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
|
* Add additional brew command for macOS buildingols2021-11-151-1/+2
| | | By default, after installing qt, users won't have qmake in their path. An additional command is needed to do this.
* new location macos 11 homebrew qtquietok(david)2021-09-132-3/+3
|
* Fix x86 for Haiku and maybe othersquietok(david)2021-09-132-0/+14
|
* doc/gen-man.sh: make sed command portablelinear2021-09-052-1/+2
| | | | | | | | | | | | | | | | | | | | | usage of the "-i" feature of sed is not entirely portable across different operating systems. -i has an optional extension to save a backup of the edited file, and different systems parse this option in a different manner. the sed in GNU, busybox, NetBSD, and OpenBSD expects the argument to be immediately after, like `-i.bak`, if it is present. the sed in macOS and FreeBSD expects the argument to follow after a space, like `-i .bak`, but will accept the `-i.bak` form as well. the issue is that when no backup is specified, the first requires just `-i`, where the second requires `-i ''`. the easiest way around this is to just add a backup, which is what i chose to do here. i also added the .bak extension to the .gitignore. additionally, all aforementioned seds except for GNU require the file to be the final argument, and will not accept it between other options.
* doc/gen-man.sh: head and tail +/- syntax is not portablelinear2021-09-051-2/+1
| | | | | | | | the + and - syntax on head and tail are only present, as far as i know, in GNU coreutils, and are not present on any other UNIX or BSD systems. this patch replaces those with a more portable processing chain, which is tested to work on GNU coreutils, NetBSD, macOS, and busybox.
* Fix building on macOS/arm64linear2021-09-052-6/+19
| | | | | | | | 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.
* Fix some spelling errorskoyu2021-06-022-2/+2
|
* cleanup mime entry during uninstallThomas Groman2021-05-081-1/+3
| | | | Signed-off-by: Thomas Groman <tgroman@nuegia.net>
* Default install to user prefixThomas Groman2021-05-081-2/+2
| | | | Signed-off-by: Thomas Groman <tgroman@nuegia.net>
* fix varible conflict in make install MANPATH conflicts with system ↵Thomas Groman2021-05-081-2/+2
| | | | | | environment varible so we rename it to MANPATH2 Signed-off-by: Thomas Groman <tgroman@nuegia.net>
* 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
|
* Updates ROADMAPFelix (xq) Queißner2021-05-081-6/+5
|
* 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.