John Stebbins [Tue, 19 Jun 2018 19:05:26 +0000 (12:05 -0700)]
flatpak: add notifications permission
Bradley Sepos [Mon, 18 Jun 2018 20:36:35 +0000 (16:36 -0400)]
Revert "contrib: Enable PIC when building x264 Flatpak on Linux."
This reverts commit
a589396d51a11a8697e2909e75e097db5bed22a1.
Bradley Sepos [Mon, 18 Jun 2018 16:03:21 +0000 (12:03 -0400)]
contrib: Enable PIC when building x264 Flatpak on Linux.
Bradley Sepos [Mon, 18 Jun 2018 16:01:30 +0000 (12:01 -0400)]
contrib: Set libvpx target to minimum system version we support on macOS.
John Stebbins [Mon, 18 Jun 2018 14:29:33 +0000 (07:29 -0700)]
LinGui: add cmake back to debian control file
I should have only removed yasm. Not sure what I was thinking :-\
Bradley Sepos [Sun, 17 Jun 2018 17:43:07 +0000 (13:43 -0400)]
meta: Update NEWS.markdown for 1.1.1 release, take two.
Missed one.
Bradley Sepos [Sun, 17 Jun 2018 17:40:02 +0000 (13:40 -0400)]
meta: Update NEWS.markdown for 1.1.1 release.
Bradley Sepos [Sun, 17 Jun 2018 07:32:02 +0000 (03:32 -0400)]
scripts: Update to mingw-w64-build 4.1.0.
Removes yasm dependency.
John Stebbins [Mon, 11 Jun 2018 15:51:47 +0000 (08:51 -0700)]
LinGui: remove unused dependencies from debian control files
Bradley Sepos [Mon, 11 Jun 2018 02:04:02 +0000 (22:04 -0400)]
contrib: make: Remove CMake contrib.
Still required, only HandBrake will not build it anymore.
Bradley Sepos [Sun, 10 Jun 2018 20:31:46 +0000 (16:31 -0400)]
contrib: make: Remove --enable-local-autotools and --enable-local-pkgconfig.
Closes #549.
Bradley Sepos [Fri, 1 Jun 2018 20:30:27 +0000 (16:30 -0400)]
contrib: Enable asm for libtheora on Mac x86_64.
This rule is 9 years old and homebrew builds theora with asm.
Bradley Sepos [Fri, 1 Jun 2018 21:08:13 +0000 (17:08 -0400)]
contrib: gtk: libhb: make: scripts: Remove yasm contrib.
Bradley Sepos [Fri, 1 Jun 2018 20:28:42 +0000 (16:28 -0400)]
contrib: Switch yasm dependencies to nasm.
Simon Lämmle [Sat, 16 Jun 2018 12:23:48 +0000 (14:23 +0200)]
libhb: Allow 7.1 channels AAC encoding.
Allow 7.1 channels for AAC, but dissalow 6.1 for FDK (H)AAC, because it is not supported.
John Stebbins [Fri, 15 Jun 2018 22:31:39 +0000 (15:31 -0700)]
muxavformat: silence mp4 frame size warning
Set samples per frame for audio tracks
John Stebbins [Fri, 15 Jun 2018 21:51:59 +0000 (14:51 -0700)]
muxavformat: use alternate API to initialize out context
avformat_alloc_output_context2 does several things for us that we were
doing in separate steps. It also allocates AVFormatContext.url for us
so we do not have a case where we alloc something that ffmpeg frees.
John Stebbins [Fri, 15 Jun 2018 20:16:00 +0000 (13:16 -0700)]
muxavformat: fix crash on windows
We allocate AVFormatContext.url, but libavformat frees it. So we must
use an allocation function that is compatible with the free function
used by libavformat.
sr55 [Fri, 15 Jun 2018 19:00:31 +0000 (20:00 +0100)]
WinGui: Fix a bug in queue recovery where old files were not deleted.
sr55 [Fri, 15 Jun 2018 18:51:24 +0000 (19:51 +0100)]
WinGui: Fix a potential crash in HandBrakeEncoderHelpers.cs
sr55 [Fri, 15 Jun 2018 18:45:17 +0000 (19:45 +0100)]
WinGui: Fix a crash in a converter.
sr55 [Thu, 14 Jun 2018 18:56:44 +0000 (19:56 +0100)]
WinGui: Fix an integer overflow in the UI layer for the start/stop controls. Fixes #1327
Sam H [Wed, 13 Jun 2018 21:16:20 +0000 (22:16 +0100)]
WinGui: Soften the colour of the grid lines in the chapters table
Sam H [Wed, 13 Jun 2018 21:27:27 +0000 (22:27 +0100)]
WinGui: Make MenuItems the same height as the Menu
sr55 [Thu, 14 Jun 2018 16:00:52 +0000 (17:00 +0100)]
WinGui: Add HintPath to newtonsoft json in the worker process project. It shouldn't be needed but some VS installs appear to have issues without it. Fixes #1420
ilovezfs [Fri, 8 Jun 2018 16:44:35 +0000 (16:44 +0000)]
libopus: run autoreconf
configure.ac is modified by the patch from #1380
John Stebbins [Wed, 13 Jun 2018 22:07:25 +0000 (15:07 -0700)]
Fix PGS subtitle decoding...
...And add a timebase to every stream.
ffmpeg's subtitle decoder internally converts the packet pts to
AV_TIME_BASE units based on AVCodecContext.pkt_timebase. If
pkt_timebase is not set, the PGS subtitle decoder only returns
AV_NOPTS_VALUE for timestamps. So setting pkt_timebase in decpgssub.c
fixes PGS subtitle decoding.
Confusingly, the subtitle decoder does not convert the pts *back* to the
input timebase, but instead leaves them in AV_TIME_BASE units upon
returning a decoded subtitle.
To get a head start on fixing any other such issues that might arrise, I
have also set pkt_timebase in all other avcodec decoders.
John Stebbins [Wed, 13 Jun 2018 17:11:30 +0000 (10:11 -0700)]
libhb: fix snprintf compiler warnings
Our handling of temporary directory paths could truncate resulting
filenames. This fixes the warnings and prevents possible truncation.
John Stebbins [Wed, 13 Jun 2018 15:13:44 +0000 (08:13 -0700)]
libhb: eliminate use of deprecated av_register_all...
...and avformat_register_all
John Stebbins [Wed, 13 Jun 2018 15:07:23 +0000 (08:07 -0700)]
libhb: eliminate use of deprecated ffmpeg lockmgr
It's a NOP and does nothing in current code
John Stebbins [Wed, 13 Jun 2018 15:01:55 +0000 (08:01 -0700)]
muxavformat: fix use of deprecated AVFormat.filename
The new way is AVFormat.url. AVFormat.filename had lenght limitations
that url does not since it is allocated by the caller (and freed by
libavformat).
Damiano Galassi [Wed, 13 Jun 2018 11:04:41 +0000 (13:04 +0200)]
MacGui: do not play a sound for notification if alerts are disabled in prefs.
Damiano Galassi [Wed, 13 Jun 2018 11:04:02 +0000 (13:04 +0200)]
MacGui: fix x264 unparsed string and advanced panel.
John Stebbins [Tue, 12 Jun 2018 19:09:59 +0000 (12:09 -0700)]
LinGui: change language lists from GtkListBox to GtkTreeView
The GtkTreeView is more flexible and more capable. Languages can be
searched for in the GtkTreeView by focusing the widget and typing what
you want to find. Double clicking an item in the list will add or
remove it from the "selected" languages list in audio and subtitle track
selection settings.
John Stebbins [Mon, 11 Jun 2018 22:36:52 +0000 (15:36 -0700)]
comb_detect: fix crash when no valid frames are passed
John Stebbins [Mon, 11 Jun 2018 22:15:01 +0000 (15:15 -0700)]
LinGui: add search function to language popups
The language list is long and displays native names while sorted by
English names, so it is difficult to find a language. This adds the
ability to "search" for a language based on it's initial character.
Typing a character will jump to the next entry that starts with that
character in its native name.
John Stebbins [Mon, 11 Jun 2018 17:39:33 +0000 (10:39 -0700)]
flatpak: update appstream snapshot images
sr55 [Mon, 11 Jun 2018 17:52:01 +0000 (18:52 +0100)]
WinGui: Don't compile the AppX project when building the solution. It's not currently in use.
Damiano Galassi [Mon, 11 Jun 2018 09:54:49 +0000 (11:54 +0200)]
MacGui: do not use NSMatrix for radio buttons, fix some layout issues.
John Stebbins [Mon, 11 Jun 2018 01:47:55 +0000 (18:47 -0700)]
encavcodec: fix encoding with vp8 and vp8 encoders
Was broken by the AMF merge
Bradley Sepos [Mon, 11 Jun 2018 01:34:59 +0000 (21:34 -0400)]
contrib: Add macOS 10.13 High Sierra detection patch to libvpx.
Seems like libvpx should have a generic target for future/unknown macOS versions.
Bradley Sepos [Mon, 11 Jun 2018 01:22:43 +0000 (21:22 -0400)]
contrib: Add compatibility patches for libvpx.
The avx-512 patch should avoid breakage with wonky compilers and older systems such as macOS <= 10.11. The pthread detection patch can be applied more generally but really is a safety check targeting win32.
sr55 [Sun, 10 Jun 2018 20:21:45 +0000 (21:21 +0100)]
WinGui: Implement most of the HTTP Worker Process stubs.
Damiano Galassi [Sun, 10 Jun 2018 15:25:35 +0000 (17:25 +0200)]
MacGui: remove unused localization files.
Damiano Galassi [Sun, 10 Jun 2018 15:02:23 +0000 (17:02 +0200)]
MacGui: Change the "Picture Size" label to "Dimensions" to avoid confusion on the Add Preset View. #1309
Damiano Galassi [Sun, 10 Jun 2018 14:55:57 +0000 (16:55 +0200)]
MacGui: update Sparkle to 1.19.0.
sr55 [Sun, 10 Jun 2018 12:46:17 +0000 (13:46 +0100)]
WinGui: Stub the RemoteInstance implementation of IEncodeInstance.
sr55 [Sun, 10 Jun 2018 12:38:13 +0000 (13:38 +0100)]
WinGui: Split out the encode portion of IHandBrakeInstance into IEncodeInstance. API remains compatible.
sr55 [Sun, 10 Jun 2018 12:34:39 +0000 (13:34 +0100)]
WinGui: HandBrake.Worker tidyup.
sr55 [Sun, 10 Jun 2018 12:25:53 +0000 (13:25 +0100)]
WinGui: Stub out a background worker process.
Sam H [Sun, 10 Jun 2018 08:32:53 +0000 (09:32 +0100)]
Remove the unused "rows" header from the chapters DataGrid
Damiano Galassi [Sun, 10 Jun 2018 07:12:18 +0000 (09:12 +0200)]
MacGui: fix another round of deprecation warnings. Remove drawer code.
John Stebbins [Sun, 10 Jun 2018 00:36:19 +0000 (17:36 -0700)]
muxavformat: Fix muxing SSA subtitles
ffmpeg expect SSA packets in matroska format.
Fixes https://github.com/HandBrake/HandBrake/issues/1379
John Stebbins [Sat, 9 Jun 2018 17:11:08 +0000 (10:11 -0700)]
decssasub: Fix decoding SSA subtitles
ffmpeg delivers the SSA subtitles in the matroska packet format we
require, so no parsing is necessary now.
Fixes https://github.com/HandBrake/HandBrake/issues/1406
Scott [Sat, 9 Jun 2018 12:02:32 +0000 (13:02 +0100)]
Another typo
Scott [Sat, 9 Jun 2018 12:02:03 +0000 (13:02 +0100)]
Typos
Damiano Galassi [Sat, 9 Jun 2018 11:51:45 +0000 (13:51 +0200)]
MacGui: improve UI layout when localised.
Scott [Sat, 9 Jun 2018 11:29:09 +0000 (12:29 +0100)]
Create PULL_REQUEST_TEMPLATE.md
Scott [Sat, 9 Jun 2018 11:14:17 +0000 (12:14 +0100)]
Create CODE_OF_CONDUCT.md
Damiano Galassi [Sat, 9 Jun 2018 10:10:36 +0000 (12:10 +0200)]
MacGui: convert HBPictureViewController.xib to autolayout.
Damiano Galassi [Sat, 9 Jun 2018 09:47:22 +0000 (11:47 +0200)]
MacGui: avoid calling boolForKey on NSUserDefaults values.
Damiano Galassi [Sat, 9 Jun 2018 09:46:50 +0000 (11:46 +0200)]
MacGui: use auto layout in the filters xib.
Damiano Galassi [Sat, 9 Jun 2018 09:13:13 +0000 (11:13 +0200)]
MacGui: enable some additional static analyser options, made two header files public.
Damiano Galassi [Sat, 9 Jun 2018 09:12:21 +0000 (11:12 +0200)]
MacGui: add a few more comments.
Damiano Galassi [Sat, 9 Jun 2018 08:26:57 +0000 (10:26 +0200)]
Fix: fix another deprecation warning and add a missing alloc message.
Damiano Galassi [Sat, 9 Jun 2018 08:06:52 +0000 (10:06 +0200)]
MacGui: improve NSLocalizedString comments.
Damiano Galassi [Sat, 9 Jun 2018 07:07:46 +0000 (09:07 +0200)]
MacGui: show the copy protection alert at most once each time HandBrake is run.
sr55 [Fri, 8 Jun 2018 22:14:02 +0000 (23:14 +0100)]
VCE: Add support for fetching levels for H.264 and H.265
sr55 [Fri, 8 Jun 2018 22:04:22 +0000 (23:04 +0100)]
WinGui: Add Support for the VCE Encoders.
sr55 [Fri, 8 Jun 2018 22:03:56 +0000 (23:03 +0100)]
VCE: Stub out VCE available methods for the UI. This will need to check for hardware and potentially driver. TBD
sr55 [Fri, 8 Jun 2018 21:47:31 +0000 (22:47 +0100)]
VCE: Fix a case sensitivity issue in the build script
Bradley Sepos [Fri, 8 Jun 2018 20:33:23 +0000 (16:33 -0400)]
libhb: test: Guard VCE encoders behind USE_VCE.
Fixes #1403.
Bradley Sepos [Fri, 8 Jun 2018 20:23:16 +0000 (16:23 -0400)]
libhb: Restore HB_VCODEC_MASK value.
Change
4456e3390ce40d9cff98efc8afd888e4d52a60d5 is unnecessary.
John Stebbins [Fri, 8 Jun 2018 17:47:03 +0000 (10:47 -0700)]
flatpak: add --filesystem=host to sandbox permissions
GtkFileChooserNative is required in order to use the document portal.
Using this file chooser will require significant rework of source
selection, so enable host filesystem access until I can do this.
The CLI will need host filesystem access anyway since it can't use the
document portal.
Damiano Galassi [Fri, 8 Jun 2018 15:38:17 +0000 (17:38 +0200)]
MacGui: forgot to add back a xib in the previous commit.
Damiano Galassi [Fri, 8 Jun 2018 15:26:40 +0000 (17:26 +0200)]
MacGui: move the xib files to Base.Iproj to make localiation easier.
Bradley Sepos [Sun, 3 Jun 2018 04:00:42 +0000 (00:00 -0400)]
contrib: Add x264 patch fixing asm segfaults with clang.
Fixes -mavx which fixes -march=native as used by Homebrew on macOS. Fixes #1351.
Damiano Galassi [Fri, 8 Jun 2018 14:59:25 +0000 (16:59 +0200)]
MacGui: set the minimum deployment target to 10.10. Remove Growl and use macOS standard notifications. Remove deprecated API usage and code that doesn't compile anymore (QTKit).
John Stebbins [Fri, 8 Jun 2018 14:44:54 +0000 (07:44 -0700)]
flatpak: Add OARS metadata to HandBrakeCLI appdata
Copied from https://github.com/HandBrake/HandBrake/commit/
5738051afb008d880d85e90ce1a0fd536e9a4058
OARS https://hughsie.github.io/oars/ is a content description
system that allows software stores (such as GNOME Software) to
categorise and classify applications. Having the markup available
is a flathub requirement.
Thanks to Nick Richards
Nick Richards [Fri, 8 Jun 2018 14:41:47 +0000 (15:41 +0100)]
Add OARS metadata to appdata (#1397)
OARS https://hughsie.github.io/oars/ is a content description system that allows software stores (such as GNOME Software) to categorise and classify applications. Having the markup available is a flathub requirement.
John Stebbins [Thu, 7 Jun 2018 21:59:54 +0000 (14:59 -0700)]
flatpak: automatically add <release> tag to LinGui appdata
Also add translation support for appdata
John Stebbins [Thu, 7 Jun 2018 21:49:45 +0000 (14:49 -0700)]
flatpak: automatically add <release> tag to cli appdata
John Stebbins [Thu, 7 Jun 2018 15:30:00 +0000 (08:30 -0700)]
flatpak: disable update checks
John Stebbins [Thu, 7 Jun 2018 15:29:04 +0000 (08:29 -0700)]
build: move --flatpak option into configure "Build Options"
Bradley Sepos [Thu, 7 Jun 2018 20:53:13 +0000 (16:53 -0400)]
graphics: Add single toolbar icon for testing on macOS Mojave dark theme.
#1392.
Damiano Galassi [Thu, 7 Jun 2018 12:28:57 +0000 (14:28 +0200)]
MacGui: set the rendering intent of the monochromatic toolbar images to "template".
Damiano Galassi [Thu, 7 Jun 2018 12:28:07 +0000 (14:28 +0200)]
MaGui: fix activity text color in dark mode.
Damiano Galassi [Thu, 7 Jun 2018 11:40:31 +0000 (13:40 +0200)]
Mac: enable a compiler option recommended by Xcode 9.4.
Damiano Galassi [Thu, 7 Jun 2018 11:39:42 +0000 (13:39 +0200)]
Mac: Use the legacy build system in Xcode 10, the new one requiress some changes to make it work.
Bradley Sepos [Thu, 7 Jun 2018 02:08:56 +0000 (22:08 -0400)]
contrib: Only enable FFmpeg AMF configure options when VCE enabled.
John Stebbins [Wed, 6 Jun 2018 23:20:34 +0000 (16:20 -0700)]
scripts: add script for creating flatpak manifests
This script can generate manifests that are suitable for submitting to
flathub for publishing to their repository. It can also be used for
generating manifests suitable for building local flatpak bundles and is
used during 'make pkg.create.flatpak'
Bradley Sepos [Sun, 3 Jun 2018 22:35:12 +0000 (18:35 -0400)]
libhb: Cosmetic in encavcodec.c.
Michael Wootton [Tue, 23 Jan 2018 23:01:03 +0000 (17:01 -0600)]
Add support for VCE hardware encoding.
John Stebbins [Wed, 6 Jun 2018 15:03:33 +0000 (08:03 -0700)]
bd: Don't fail titles with unknown aspect
Assum 16:9 instead
Fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=37836
Damiano Galassi [Wed, 6 Jun 2018 10:36:59 +0000 (12:36 +0200)]
MacGui: make it possible to resize down the "add titles to queue" toolbar button icon. It won't get as small as the others toolbar icon, but it's as good as it can get now. Fixes #1318
Scott [Tue, 5 Jun 2018 21:13:48 +0000 (22:13 +0100)]
Remove old issue template
Scott [Tue, 5 Jun 2018 21:13:04 +0000 (22:13 +0100)]
Adding Feature Request Template.
Scott [Tue, 5 Jun 2018 21:09:10 +0000 (22:09 +0100)]
Adding Bug Report Template
Scott [Tue, 5 Jun 2018 21:07:10 +0000 (22:07 +0100)]
Create CONTRIBUTING.md
Adding an GitHub CONTRIBUTING.md file
sr55 [Tue, 5 Jun 2018 20:56:23 +0000 (21:56 +0100)]
WinGui: cproj tidyup