Commit Graph

1652 Commits

Author SHA1 Message Date
Nomis101 abb0f78e61 Update LINGUAS 2025-10-04 13:08:01 +01:00
Nomis101 4b4e463518 [LinuxGUI] Update locales and add new ones 2025-10-04 13:08:01 +01:00
Damiano Galassi 94c8b3e6d8
libhb: cli: ui: support custom channels order (#7265)
Fixes the mapping of audio channels in PCM tracks
with custom layouts. Fixes #6300.
2025-09-13 12:07:19 +02:00
Damiano Galassi 32c55d5678
LinGui: add missing braces
Fix compilation on LLVM 21.1.0 / 20.1.8.
2025-08-23 07:03:41 +02:00
robxnano a2f5b68079 LinGUI: Update translation template 2025-08-20 07:01:35 +02:00
robxnano d96dfa6245 LinGUI: Update metainfo 2025-08-20 07:01:35 +02:00
robxnano 3f84389d9b LinGUI: Replace some more deprecated functions 2025-08-20 07:01:35 +02:00
robxnano 0a29c02b2c LinGUI: Fix misleading indentation 2025-08-20 07:01:35 +02:00
robxnano 3d0bd11768 LinGUI: Add summary preview pager
Allows the preview image to be cycled through from the summary page.
2025-08-20 07:01:35 +02:00
robxnano 34eb688c15 LinGUI: Use system setting for animations
The animation setting is read from the gtk-enable-animations
property, which is propagated from the desktop environment.
2025-08-20 07:01:35 +02:00
robxnano 9b2eaa9b98 LinGUI: Support relative locale dir
Instead of using a hardcoded location for gettext message catalogs,
determine the location relative to the binary install dir.
Alternatively, the TEXTDOMAINDIR environment variable can be used
to specify the location directly, for example during development.

Fixes https://github.com/HandBrake/HandBrake/issues/7058
2025-08-20 07:01:35 +02:00
robxnano c2c4db5361 LinGUI: Add UI language preference
Allows the user to select the language to display the user interface
in. The language ids correspond to the glibc locales used on Linux.

Fixes https://github.com/HandBrake/HandBrake/issues/6393
2025-08-20 07:01:35 +02:00
robxnano 52d2894cc0 LinGUI: Improve display of file sizes 2025-08-20 07:01:35 +02:00
robxnano 7556517f7b LinGUI: Fix disk space checks
The free space measurements now use 1KB = 1000 bytes everywhere,
for consistency.
2025-08-20 07:01:35 +02:00
robxnano f385e3e058 LinGUI: Use GtkFileLauncher and GtkUriLauncher
These APIs has been available since GTK 4.10 and make use of the
xdg-desktop-portal OpenURI portal. This allows HandBrake to open
files in Flatpak applications properly, and allows the user to
choose the application to open files in.
2025-08-20 07:01:35 +02:00
Volodymyr Buell 816244ea5e
Fix for Vorbis passthrough checkbox not being applying when title changes (#7187) 2025-08-20 07:00:51 +02:00
robxnano 9f61888c97 LinGUI: Disable SendTo in Flatpak without flatpak-spawn
Disable the Send To option if running in Flatpak and the
org.freedesktop.Flatpak bus is unavailable as it won't work.
Users can enable the permission override manually using Flatseal by
adding org.freedesktop.Flatpak under HandBrake > Session Bus > Talks.
2025-08-08 08:11:46 +02:00
robxnano 76fb9a6f45 LinGUI: Fix custom tmp dir and avoid setenv
As multiple threads are running by this point, using setenv()
here is unsafe.
2025-08-05 19:13:18 +02:00
Nomis101 66367f114d
[LinuxGUI] Update dutch and swedish locale (#7106) 2025-08-03 07:03:12 +02:00
Nomis101 3f58a5af55
LinGUI: update locales and remove non-maintained ones (#7086) 2025-07-31 08:02:39 +02:00
robxnano 7525042653 LinGUI: Replace deprecated GTK functions
The gtk_widget_show() and gtk_widget_hide() functions are deprecated in
GTK 4.10 in favor of gtk_widget_set_visible().
2025-07-30 07:39:28 +02:00
robxnano efeab41949 LinGUI: Bump GTK minimum version to 4.6
The previous minimum version, 4.4, is no longer available in any
supported distribution, so 4.6 is the lowest version which can be
tested.
2025-07-30 07:39:28 +02:00
robxnano bdc52b984c LinGUI: Don't allow unsupported bitrates
When the maximum bitrate is reduced due to a codec or mixdown change,
and the previously selected bitrate is out of range, change to the
highest allowed bitrate, and vice versa for the minimum bitrate.
2025-07-30 07:39:28 +02:00
robxnano 1ddad8ed72 LinGUI: Fix maximum bitrate calculation
Use the current audio mixdown to determine the maximum bitrate in the
audio defaults dialog, instead of only using the mono rate.
Fixes https://github.com/HandBrake/HandBrake/issues/6997
2025-07-30 07:39:28 +02:00
Damiano Galassi 45d86b1edd
contrib: update SVT-AV1 to version 3.1.0 (#7075)
Removed cpuinfo, is no longer needed.
2025-07-28 17:46:00 +02:00
robxnano bdc320fad0 LinGUI: Hide unavailable hardware encoder presets
Official hardware encoder presets are hidden, while user-created ones
are shown grayed out, to avoid confusion if the hardware encoders get
disabled somehow.

Fixes https://github.com/HandBrake/HandBrake/issues/6734
2025-07-25 16:51:45 +01:00
robxnano 08e1a6a231 LinGUI: Remove unused DBus code 2025-07-25 16:51:45 +01:00
robxnano 92432609a3 LinGUI: Fix typo in naming of SubtitleTrackNamePassthru 2025-07-25 16:51:45 +01:00
robxnano 7ee1d9953e LinGUI: Fix crash on removing items from queue 2025-07-25 16:51:45 +01:00
robxnano 3ed1abe914 LinGUI: Handle close action correctly 2025-07-25 16:51:45 +01:00
robxnano 82bf116b36
LinGUI: Update metainfo for Flathub (#7060) 2025-07-24 12:39:32 +02:00
Damiano Galassi 53ad17d472
ui: make some labels the same between UIs 2025-07-22 18:26:02 +02:00
Damiano Galassi 7559e09326
libhb: ui: cli: add color range selection (#7001)
Co-authored-by: sr55 <sr55.code@outlook.com>
2025-07-08 15:13:13 +02:00
Damiano Galassi 66fe47c548
libhb: ui: add new presets key for track names (#6840)
Add AudioTrackNamePassthru and SubtitleTrackNamePassthru preset key to
preserve the existing track names, and AudioAutomaticNamingBehavior to
disable or enable the audio track automatic names.

Co-authored-by: sr55 <sr55.code@outlook.com>
2025-06-03 08:48:59 +02:00
Damiano Galassi f06ec695e3
LinGui: allow Opus and Vorbis passthru in WebM
Fix #6842.
2025-04-29 13:02:03 +02:00
Damiano Galassi 2012ab9e67 contrib: add cpuinfo
Required by SVT-AV1.
2025-02-23 08:20:24 +01:00
Nomis101 4fd316d058
[Linux GUI] Update all locales (#6594) 2025-01-30 21:45:51 +00:00
Sam Hutchins-Fry 0fd2156b81
LinGui: add support for running a command after an encode completes (#6029)
* LinGui: add support for running a command after an encode completes

* Detect Flatpak and prepend flatpak-spawn --host
2025-01-23 22:15:27 +00:00
Nomis101 4c879d8f36
Update copyright dates to 2025 (#6568) 2025-01-22 09:11:40 +01:00
Damiano Galassi 465e2d87e0
libhb: ui: cleanup video tunes, rename svt-av1 none to vq (#6556) 2025-01-18 13:10:48 +01:00
Josh 6263fe6bd9
linui: fix title background on file conflict (#6538) 2025-01-16 12:41:17 +01:00
Damiano Galassi 4d33a12f17
ui: fix preset slider tooltip 2025-01-02 17:44:25 +01:00
Damiano Galassi b6902b310f
UI: mention in the tooltip that video presets on the right of the slider are slower 2025-01-02 11:05:23 +01:00
robxnano cd71668a91 gtk: Fix a crash that could occur if encoder was invalid 2024-11-26 16:45:11 +01:00
robxnano b44dbd85c2 gtk: Remove rounded corners from preview window 2024-11-26 16:45:11 +01:00
robxnano 34eaff0717 gtk: Fix preview black borders on Wayland
When GTK is running on GNOME Wayland, windows with standard
title bars use client-side decorations. This means the height of
the title bar is taken into account when requesting a resize.
Instead of attempting to calculate the title bar height, we just
set the width and let the fixed aspect ratio of the video frame
take care of the rest.

Fixes #6090.
2024-11-26 16:45:11 +01:00
Nomis101 824ee79c28
[LinuxGUI] Update all locales (#6432) 2024-11-23 16:27:54 +01:00
robxnano 640f498e94
flatpak: Update metainfo (#6421) 2024-11-22 06:53:14 +01:00
robxnano cef5b3251a gtk: Update translation template 2024-11-17 07:06:33 +01:00
robxnano f0a7748278 gtk: Ensure imported presets are marked as custom 2024-11-17 07:06:33 +01:00