Rafał Dzięgiel
b9f3cbef7f
clapper-app: metainfo: Add branding colors
2024-04-22 22:04:21 +02:00
Rafał Dzięgiel
772191a396
clapper-app: metainfo: Restore "developer_name" tag
...
Needed for older appstream compatibility
2024-04-22 21:52:57 +02:00
Rafał Dzięgiel
f4a766ea9d
clapper-gtk: seek-bar: Fix marker popover position on RTL
...
On RTL we need to subtract position from upper scale value to end up at correct coordinates
2024-04-22 21:14:10 +02:00
Rafał Dzięgiel
c928e601bf
clapper: Add pipeline debug graph dump support
2024-04-22 20:16:08 +02:00
Rafał Dzięgiel
8fb62d773f
New Crowdin updates ( #406 )
...
* New translations clapper-app.pot (Polish)
* New translations clapper-gtk.pot (Turkish)
* New translations clapper-app.pot (Turkish)
* New translations clapper-gtk.pot (Turkish)
* New translations clapper-app.pot (Portuguese)
* New translations clapper-app.pot (Turkish)
* New translations clapper-app.pot (Catalan)
* New translations clapper-gtk.pot (Catalan)
* New translations clapper-app.pot (Catalan)
* New translations clapper-gtk.pot (Portuguese)
* New translations clapper-app.pot (Portuguese)
* New translations clapper-app.pot (Portuguese)
* New translations clapper-app.pot (Portuguese)
* New translations clapper-app.pot (Hungarian)
* New translations clapper-gtk.pot (Hungarian)
* New translations clapper-app.pot (Hungarian)
* New translations clapper-app.pot (Hungarian)
* New translations clapper-gtk.pot (Romanian)
* New translations clapper-gtk.pot (French)
* New translations clapper-gtk.pot (Spanish)
* New translations clapper-gtk.pot (Afrikaans)
* New translations clapper-gtk.pot (Arabic)
* New translations clapper-gtk.pot (Catalan)
* New translations clapper-gtk.pot (Czech)
* New translations clapper-gtk.pot (Danish)
* New translations clapper-gtk.pot (German)
* New translations clapper-gtk.pot (Greek)
* New translations clapper-gtk.pot (Basque)
* New translations clapper-gtk.pot (Finnish)
* New translations clapper-gtk.pot (Hebrew)
* New translations clapper-gtk.pot (Hungarian)
* New translations clapper-gtk.pot (Italian)
* New translations clapper-gtk.pot (Japanese)
* New translations clapper-gtk.pot (Korean)
* New translations clapper-gtk.pot (Lithuanian)
* New translations clapper-gtk.pot (Dutch)
* New translations clapper-gtk.pot (Norwegian)
* New translations clapper-gtk.pot (Polish)
* New translations clapper-gtk.pot (Portuguese)
* New translations clapper-gtk.pot (Russian)
* New translations clapper-gtk.pot (Slovak)
* New translations clapper-gtk.pot (Serbian (Cyrillic))
* New translations clapper-gtk.pot (Swedish)
* New translations clapper-gtk.pot (Turkish)
* New translations clapper-gtk.pot (Ukrainian)
* New translations clapper-gtk.pot (Chinese Simplified)
* New translations clapper-gtk.pot (Chinese Traditional)
* New translations clapper-gtk.pot (Vietnamese)
* New translations clapper-gtk.pot (Portuguese, Brazilian)
* New translations clapper-gtk.pot (Persian)
* New translations clapper-gtk.pot (Croatian)
* New translations clapper-gtk.pot (Asturian)
* New translations clapper-gtk.pot (German)
* New translations clapper-gtk.pot (Portuguese)
* New translations clapper-app.pot (German)
* New translations clapper-gtk.pot (Turkish)
* New translations clapper-gtk.pot (Catalan)
* New translations clapper-gtk.pot (Finnish)
* New translations clapper-app.pot (Finnish)
* New translations clapper-gtk.pot (Finnish)
* New translations clapper-app.pot (Finnish)
* New translations clapper-gtk.pot (Hungarian)
* New translations clapper-gtk.pot (Hungarian)
* New translations clapper-app.pot (French)
* New translations clapper-gtk.pot (French)
* New translations clapper-app.pot (French)
* New translations clapper-app.pot (Polish)
* New translations clapper-gtk.pot (Polish)
* New translations clapper-app.pot (French)
* New translations clapper-app.pot (Polish)
* New translations clapper-app.pot (Polish)
* New translations clapper-app.pot (Romanian)
* New translations clapper-app.pot (French)
* New translations clapper-app.pot (Spanish)
* New translations clapper-app.pot (Afrikaans)
* New translations clapper-app.pot (Arabic)
* New translations clapper-app.pot (Catalan)
* New translations clapper-app.pot (Czech)
* New translations clapper-app.pot (Danish)
* New translations clapper-app.pot (German)
* New translations clapper-app.pot (Greek)
* New translations clapper-app.pot (Basque)
* New translations clapper-app.pot (Finnish)
* New translations clapper-app.pot (Hebrew)
* New translations clapper-app.pot (Hungarian)
* New translations clapper-app.pot (Italian)
* New translations clapper-app.pot (Japanese)
* New translations clapper-app.pot (Korean)
* New translations clapper-app.pot (Lithuanian)
* New translations clapper-app.pot (Dutch)
* New translations clapper-app.pot (Norwegian)
* New translations clapper-app.pot (Polish)
* New translations clapper-app.pot (Portuguese)
* New translations clapper-app.pot (Russian)
* New translations clapper-app.pot (Slovak)
* New translations clapper-app.pot (Serbian (Cyrillic))
* New translations clapper-app.pot (Swedish)
* New translations clapper-app.pot (Turkish)
* New translations clapper-app.pot (Ukrainian)
* New translations clapper-app.pot (Chinese Simplified)
* New translations clapper-app.pot (Chinese Traditional)
* New translations clapper-app.pot (Vietnamese)
* New translations clapper-app.pot (Portuguese, Brazilian)
* New translations clapper-app.pot (Persian)
* New translations clapper-app.pot (Croatian)
* New translations clapper-app.pot (Asturian)
2024-04-21 23:24:54 +02:00
Rafał Dzięgiel
f299e1be57
Merge pull request #420 from Rafostar/prerelease-updates
...
Prerelease updates
2024-04-21 22:48:16 +02:00
Rafał Dzięgiel
9f38f527be
clapper-app: Sync POT file
2024-04-21 20:25:15 +02:00
Rafał Dzięgiel
10f626637b
Update install steps in README.md
2024-04-21 19:58:44 +02:00
Rafał Dzięgiel
22c93c00f7
clapper-app: gschema: Fix gettext-domain value
...
In rewritten code "clapper-app" is used for gettext
2024-04-21 19:50:05 +02:00
Rafał Dzięgiel
7a38b605b3
clapper-app: metainfo: Update values
...
Update description and some other values. Also update whatever
was nowadays considered as deprecated in metainfo guidelines.
2024-04-21 16:07:28 +02:00
Rafał Dzięgiel
5c41c3a8c7
clapper-app: metainfo: Fix invalid values
...
Flathub validation no longer allows words for "display_length" - should be 360.
Also all "Purism" keys are nowadays invalid. They cause problems as metainfo is
parsed into hash table, thus there cannot be multiple keys with the same name.
2024-04-21 15:22:17 +02:00
Rafał Dzięgiel
51e1dd8493
Remove .gitattributes file
...
All linguist-vendored stuff was removed, so this git attributes file is unused and no longer needed.
2024-04-20 12:09:41 +02:00
Rafał Dzięgiel
654e6be72a
clapper-app: Be more restrictive about key modifiers
...
Ignore key presses with additional modifiers if we describe them
in shortcuts as sole letters. Combinations might be needed in the future.
2024-04-19 23:10:14 +02:00
Rafał Dzięgiel
681da9e2f3
clapper-gtk: video: Add workaround for better GStreamer 1.24 support
2024-04-19 16:51:44 +02:00
Rafał Dzięgiel
36c166813e
clapper-gtk: video: Support finding widget within bin elements
...
When a video sink is set to some bin, also check sinks within it
in search for a widget that can be used as video main child
2024-04-19 16:39:08 +02:00
Rafał Dzięgiel
2aecd65735
clapper-app: help-overlay: Update progression key accelerator
...
We allow just "p" key (including any combination with it) for changing
progression mode. Fix its description in help overlay to be just "p" then.
Fixes #417
2024-04-17 19:11:02 +02:00
Rafał Dzięgiel
a46846c24d
clapper-app: Use "GDK_MODIFIER_MASK" with key controller state
...
We need to use "GDK_MODIFIER_MASK" to remove all private fields from key
controller state mask, otherwise its not zero on Xorg.
Fixes #416
2024-04-17 18:26:16 +02:00
Rafał Dzięgiel
fab168283d
clapper: player: Make GstElement setters nullable
...
Allow to set NULL in order to use default value. With this, API users
will not have to check if the element they make from registry is not NULL.
2024-04-16 19:07:16 +02:00
Rafał Dzięgiel
1b38a169dd
clapper-gtk: video: Debug message with used video sink
...
So we can know from debug logging what sink someone is using
2024-04-16 19:03:34 +02:00
Rafał Dzięgiel
a00aea50b0
Merge pull request #413 from Rafostar/workflows
...
Update workflows
2024-04-15 22:46:58 +02:00
Rafał Dzięgiel
6fc2c78d59
Remove unused OBS service file
...
This file was referencing build scripts that are no longer in this repo.
An up-to-date OBS config is kept in my opensuse build system account itself.
2024-04-15 22:43:04 +02:00
Rafał Dzięgiel
85038a669f
clapper-app: Restore "q" to quit app shortcut
...
We used to have this and some other players (e.g. Totem) have it too, so no harm in restoring it.
2024-04-15 20:53:32 +02:00
Rafał Dzięgiel
484f2402a3
flatpak-nightly: Update manifest
...
In latest git, binary name is now simply "clapper". Also we now depend on libmicrodns for the server feature to be available.
2024-04-15 20:07:07 +02:00
Rafał Dzięgiel
1a0158e775
flatpak-nightly: Build dav1d from git master
2024-04-14 20:36:25 +02:00
Rafał Dzięgiel
1d92539b76
clapper-gtk: Various documentation cleanups and fixes
2024-04-14 20:17:38 +02:00
Rafał Dzięgiel
bab3d34349
clapper: Various documentation cleanups and fixes
2024-04-14 20:17:12 +02:00
Rafał Dzięgiel
e751428d6c
workflows: Update to use latest versions of actions
2024-04-14 17:23:33 +02:00
Rafał Dzięgiel
a9769f9537
gst-plugin: sink: Stop preferring GL over GLES with GStreamer 1.24+
...
GStreamer 1.24 have implemented DRM modifiers negotiation that its lack of we were
working around with using GL on unpatched GStreamer (non-Flatpak builds).
Since GStreamer 1.24 does this and moreover it has disabled DMABuf codepath for
non-GLES we should start preferring GLES with this version always.
2024-04-14 15:47:20 +02:00
Rafał Dzięgiel
fe6b3fcf29
clapper-app: Fix window buttons on initial state
...
Also handle different buttons placements on initial state, similarly as we do now in headerbar.
With this commit, application menu is replicated in initial state UI, but its actually a good thing,
since this will allow us to have more current video related items in it only in main window.
2024-04-14 15:11:18 +02:00
Rafał Dzięgiel
6447944b21
clapper-app: Handle alternative headerbar buttons placements
...
Handle all possible combinations of window state buttons placement.
These are "right" and "left" combined along with either LTR or RTL.
Fixes #402
2024-04-13 18:32:36 +02:00
Rafał Dzięgiel
42fa31cc4b
Merge pull request #404 from Rafostar/scroll-fixes
...
Scroll fixes
2024-04-13 14:28:23 +02:00
Rafał Dzięgiel
4baade3b32
Merge pull request #408 from sp1ritCS/devenv
...
meson: Ensure clapper uses local translations within the devenv
2024-04-12 21:38:16 +02:00
Florian "sp1rit"
bcd8e470ad
po: Updated German translation
...
I've taken a bit of liberty with some of the translations, but I feel
like they should be fine.
Signed-off-by: Florian "sp1rit" <sp1rit@disroot.org >
2024-04-12 20:57:04 +02:00
Florian "sp1rit"
3841a906fd
meson: Ensure clapper uses local translations within the devenv
...
This patch modifies the initialization routines of clapper to check for
CLAPPER_GTK_OVERRIDE_LOCALEDIR and
CLAPPER_APP_OVERRIDE_LOCALEDIR
and uses that instead of the LOCALEDIR specified in the config.h.
It also fixes the bug where libclapper-gtk loads the translations for
the clapper application and the clapper application loads the
translations for the libclapper-gtk. (It took me shockingly long to
figure out why the translations weren't working 🙃 )
Co-authored-by: Rafał Dzięgiel <rafostar.github@gmail.com >
Signed-off-by: Florian "sp1rit" <sp1rit@disroot.org >
2024-04-12 20:38:46 +02:00
Rafał Dzięgiel
5e7305516e
clapper-gtk: Update POT file
2024-04-12 20:29:30 +02:00
Rafał Dzięgiel
f1ef299c10
clapper-gtk: status: Fix missing translations
2024-04-12 20:28:23 +02:00
Rafał Dzięgiel
1606a165e4
clapper-gtk: extra-menu-button: Use "Show Subtitles" text
...
As pointed in #410 , the word "Enabled" and a checkmark next to it is a bad UX.
Change this text to "Show Subtitles" instead.
2024-04-12 20:25:49 +02:00
Rafał Dzięgiel
87f51c6755
clapper: Also update decoders after preroll
...
Sometimes decoders might not be active yet until media starts playing, to fix that being racy also try to update them after preroll
2024-04-12 20:22:48 +02:00
Rafał Dzięgiel
ca73b3a3ef
clapper-gtk: extra-menu-button: Make text->number conversion more forgiving
...
Try to parse into a number as much of the string as possible, without caring
about a sign suffix. This way input will be more forgiving instead of resetting
itself to lowest allowed number.
Also when a number exceeds allowed range, set it to maximal allowed value
instead of once again resetting to minimum.
2024-04-11 20:49:36 +02:00
Rafał Dzięgiel
6f1277a2e6
server: Fix invalid JSON caused by locale decimal conversion
...
When creating JSON data, we must ensure that our decimal numbers are converted
to a string with a "." as separator, otherwise it would be an invalid JSON.
2024-04-11 20:20:37 +02:00
Rafał Dzięgiel
76f830fa6e
Merge pull request #409 from sp1ritCS/fix_pbspeed
...
clapper-gtk/extra-menu: Fixed speed being forced to the lowest value
2024-04-11 20:07:44 +02:00
Florian "sp1rit"
a63d92601f
clapper-gtk/extra-menu: Fixed speed being forced to the lowest value
...
As the SpinButton input callback attempted to parse the value inserted
as a string by printf using g_ascii_strtod, only if the language also
used . (full stop / u002E) as decimal seperator worked correctly.
Otherwise, parsing would fail and result (after a few iterations) in the
lowest value being set.
The usually correct approach is to use g_ascii_dtostr / g_ascii_formatd
instead of printf to format a decimal number, but given that this number
is actually presented to the user, going with g_strtod seems like a
better choice (I've decided against just using the stdlib strtod as to
allow the SpinButton to also recognize manual user input containing the
full stop instead of their languages native decimal seperator (not
that that'll ever happen, given the user can't focus the SpinButton
entry while media is running).
I've also fixed this for the volume SpinButton too, but it wasn't really
affected in the first place as it appearently always gets rounded up to
a number without decimal places.
Signed-off-by: Florian "sp1rit" <sp1rit@disroot.org >
2024-04-10 12:26:50 +02:00
Rafał Dzięgiel
0c9973ef85
Add .flatpak-builder to .gitignore
2024-04-09 20:02:31 +02:00
Rafał Dzięgiel
65c974d539
Merge pull request #407 from sp1ritCS/devenv
...
Allow clapper to be ran within the meson devenv
2024-04-09 17:21:54 +02:00
Florian "sp1rit"
43e2e88a4c
meson: Use gnome.compile_schemas()
...
This causes meson to automatically build the clapper gsettings schemas
and set GSETTINGS_SCHEMA_DIR to the correct location within the devenv.
This means that can now be ran without needing to install it somewhere
using:
meson devenv -C <builddir>
clapper
exit
More devenv overrides should be investigated (such as automatically
adopting the correct directory for translated locales etc.)
Signed-off-by: Florian "sp1rit" <sp1rit@disroot.org >
2024-04-09 11:39:32 +02:00
Rafał Dzięgiel
c327734ca6
clapper-app: Do not trigger default scroll handler on GtkRange
...
In addition to GtkScrolledWindow, when also hovering over GtkRange
subclassing widgets like GtkScale, do not trigger accidentally
default app window scroll handler.
We want the hovered upon widget and only that widget to handle scroll
events in such case.
2024-04-08 20:37:32 +02:00
Rafał Dzięgiel
48b5a7c12a
Remove TODO.md
...
Most of it was implemented and what is left already has an open issue which is easier to track progress
2024-04-08 19:07:21 +02:00
Rafał Dzięgiel
1dd47ad2a9
Remove old translation files
...
They are no longer used and translated strings from them were moved to new files
2024-04-08 19:04:35 +02:00
Rafał Dzięgiel
fbeafbccd1
crowdin: Remove legacy app translations
...
Now that old translated strings are moved to new .po files, remove what is left unused.
2024-04-08 18:34:12 +02:00
Rafał Dzięgiel
f391e2ea87
New Crowdin updates ( #405 )
...
* New translations clapper-gtk.pot (Romanian)
* New translations clapper-gtk.pot (French)
* New translations clapper-gtk.pot (Spanish)
* New translations clapper-gtk.pot (Afrikaans)
* New translations clapper-gtk.pot (Arabic)
* New translations clapper-gtk.pot (Catalan)
* New translations clapper-gtk.pot (Czech)
* New translations clapper-gtk.pot (Danish)
* New translations clapper-gtk.pot (German)
* New translations clapper-gtk.pot (Greek)
* New translations clapper-gtk.pot (Basque)
* New translations clapper-gtk.pot (Finnish)
* New translations clapper-gtk.pot (Hebrew)
* New translations clapper-gtk.pot (Hungarian)
* New translations clapper-gtk.pot (Italian)
* New translations clapper-gtk.pot (Japanese)
* New translations clapper-gtk.pot (Korean)
* New translations clapper-gtk.pot (Lithuanian)
* New translations clapper-gtk.pot (Dutch)
* New translations clapper-gtk.pot (Norwegian)
* New translations clapper-gtk.pot (Polish)
* New translations clapper-gtk.pot (Portuguese)
* New translations clapper-gtk.pot (Russian)
* New translations clapper-gtk.pot (Slovak)
* New translations clapper-gtk.pot (Serbian (Cyrillic))
* New translations clapper-gtk.pot (Swedish)
* New translations clapper-gtk.pot (Turkish)
* New translations clapper-gtk.pot (Ukrainian)
* New translations clapper-gtk.pot (Chinese Simplified)
* New translations clapper-gtk.pot (Chinese Traditional)
* New translations clapper-gtk.pot (Vietnamese)
* New translations clapper-gtk.pot (Portuguese, Brazilian)
* New translations clapper-gtk.pot (Persian)
* New translations clapper-gtk.pot (Croatian)
* New translations clapper-gtk.pot (Asturian)
* New translations clapper-app.pot (Romanian)
* New translations clapper-app.pot (French)
* New translations clapper-app.pot (Spanish)
* New translations clapper-app.pot (Afrikaans)
* New translations clapper-app.pot (Arabic)
* New translations clapper-app.pot (Catalan)
* New translations clapper-app.pot (Czech)
* New translations clapper-app.pot (Danish)
* New translations clapper-app.pot (German)
* New translations clapper-app.pot (Greek)
* New translations clapper-app.pot (Basque)
* New translations clapper-app.pot (Finnish)
* New translations clapper-app.pot (Hebrew)
* New translations clapper-app.pot (Hungarian)
* New translations clapper-app.pot (Italian)
* New translations clapper-app.pot (Japanese)
* New translations clapper-app.pot (Korean)
* New translations clapper-app.pot (Lithuanian)
* New translations clapper-app.pot (Dutch)
* New translations clapper-app.pot (Norwegian)
* New translations clapper-app.pot (Polish)
* New translations clapper-app.pot (Portuguese)
* New translations clapper-app.pot (Russian)
* New translations clapper-app.pot (Slovak)
* New translations clapper-app.pot (Serbian (Cyrillic))
* New translations clapper-app.pot (Swedish)
* New translations clapper-app.pot (Turkish)
* New translations clapper-app.pot (Ukrainian)
* New translations clapper-app.pot (Chinese Simplified)
* New translations clapper-app.pot (Chinese Traditional)
* New translations clapper-app.pot (Vietnamese)
* New translations clapper-app.pot (Portuguese, Brazilian)
* New translations clapper-app.pot (Persian)
* New translations clapper-app.pot (Croatian)
* New translations clapper-app.pot (Asturian)
2024-04-08 18:22:06 +02:00