| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|