| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| | |
Some Gemini sites such as Station or BBS allow multi-line posts.
|
| |\ \ |
|
| | |/ |
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| | |
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.
|
| |/ |
|
| | |
|
| |
|
| |
adding Kennedy and TLGS as search engines
|
| |
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
| |
The use of $DATE was removed in 7a5499d7, but I forgot to remove this
logic from gen-man.sh.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Add bounds checking before increasing iterator pointer, to prevent
incomplete ANSI codes causing iterators going to far.
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Add missing mediaplayer widget logic
Contributes to:
https://github.com/MasterQ32/kristall/pull/266
|
| |
|
|
| |
With QT_VERSION_CHECK and core5compat module
|
| |
|
|
| |
Specify Utf8 encoding for cache information header
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
qmake does not use QMAKE_CPPFLAGS, this is a hack to include it.
|
| | |
|
| | |
|
| | |
|
| |
|
| |
By default, after installing qt, users won't have qmake in their path. An additional command is needed to do this.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
Signed-off-by: Thomas Groman <tgroman@nuegia.net>
|
| |
|
|
| |
Signed-off-by: Thomas Groman <tgroman@nuegia.net>
|
| |
|
|
|
|
| |
environment varible so we rename it to MANPATH2
Signed-off-by: Thomas Groman <tgroman@nuegia.net>
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|