Commit Graph

102032 Commits

Author SHA1 Message Date
Claudio Cambra d4b1fd8e90 macosx: Remove unneeded toolbar handling in library window when triggering video viewing mode
No longer needed now that we use the full video view and we hide the window's real toolbar anyway

Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 710b53a12f macosx: Reorganise toolbar delegate implementation
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 7dbfe6bc1e macosx: Move renderers update for toolbar item handling to toolbar delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 0558902cd2 macosx: Move toolbar initialisation routines to library window toolbar delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 9abf607408 macosx: Remove unimplemented segmentedControlAction in VLCLibraryAudioViewController
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 66ed5eeec6 macosx: Fix action for renderers toolbar item
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra f5c4fe8e1d macosx: Move IBOutlets for toolbar items to toolbar delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 51f765cd50 macosx: Use toolbar outlet directly rather than accessing libraryWindow in toolbar delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra b9cd84c8d3 macosx: Instantiate toolbar delegate directly from XIB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra a657bdfb85 macosx: Use clearFilterString when toggling search bar view in toolbar delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 402ef4c46c macosx: Move toolbar item handling to VLCLibraryWindowToolbarDelegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 9b061f93b3 macosx: Be more generous with nav sidebar width
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Pierre Lamot d03bcba3d5 qml: fix invalid reference in NavigableRow/Col
fix regression from 9e6ef484e8
2024-04-21 04:51:13 +00:00
Tristan Matthews 66b62f5c14 sout: rtp_rawvideo: error out instead of asserting
A bogus fmtp probably shouldn't abort the whole process.
2024-04-20 14:38:36 -04:00
Pierre Lamot d78eb68e14 qml: remove Helpers.get method 2024-04-20 15:05:00 +00:00
Pierre Lamot ee771cd6c6 qml: replace usage of Helpers.get with coalescence operator 2024-04-20 15:05:00 +00:00
Steve Lhomme f833a6edd3 caca: handle CHANGE_SOURCE_PLACE like a CROP change
The module only works in non windowed mode (dummy window). And it doesn't report any size change.
So if the video placement changes that means:
- the source/user cropping has changed
- the source/user aspect ration has changed (unused here)
- the user zoom has changed (unused here)
- the filling mode has changed (unused here)
2024-04-20 14:40:12 +00:00
Steve Lhomme 78414e390d caca: don't restart the dither if the source dimension didn't change
Ideally we would just update the dither locally, but we need the pitch of the
picture. Hopefully it's the same when the picture information don't change...

If the values used to create the dither, no need to force a re-creation.
2024-04-20 14:40:12 +00:00
Fatih Uzunoglu 2a58b2bf92 qt: import all used qml modules in MainInterface.qml
Although Qt interface fails gracefully if
MainInterface.qml does not load properly,
The said file does not import all necessary
QML modules that are used throughout the
interface. Once QML engine encounters
an unknown module, the whole interface
becomes no longer usable as it asserts
all required modules to be present.
2024-04-20 09:31:36 +00:00
Fatih Uzunoglu b6cab182c9 qt: respect `commonGUICreate()` return value in `CompositorDummy::makeMainInterface()` 2024-04-20 09:31:36 +00:00
Fatih Uzunoglu 603074f818 qt: respect `commonGUICreate()` return value in `CompositorWin7::makeMainInterface()` 2024-04-20 09:31:36 +00:00
Fatih Uzunoglu 6c29430ce0 qt: respect `commonGUICreate()` return value in `CompositorX11::makeMainInterface()` 2024-04-20 09:31:36 +00:00
Steve Lhomme c511d743e2 contrib: remove SVN define
It's not used anymore.
2024-04-20 09:26:46 +02:00
Steve Lhomme eaa4b3b467 contrib: mpcdec: remove references to the building from SVN
We don't use that anymore. The repository still exists though.
2024-04-20 09:26:46 +02:00
Steve Lhomme 7851d3b13e contrib: use the simplified macro to check the system tool versions 2024-04-20 09:26:46 +02:00
Steve Lhomme 45693d54aa contrib: add macros to get the (major.minor) version of a system tool 2024-04-20 09:26:46 +02:00
Steve Lhomme fe47c2f2d6 contrib: add the contrib native tools to the PATH
Some native tools we build may be usable by other targets.

When looking if a tool comes from the system we don't use our binary
folder so we rebuild it when its dependencies change or it needs a full rebuild.
2024-04-20 09:26:46 +02:00
Alexandre Janniaux d3f97935d6 test: meson: allow include_directories in tests
The tests were already handling the key, but it wasn't allowed.
2024-04-20 06:44:58 +00:00
Alexandre Janniaux f8643c2c27 meson: fix inverted test for vlc_tests disabling
A test should be disabled when one of their dependencies is disabled.
Currently every test using the full list of modules is disabled because
of that.

Regression from 146a4f4cd3.
2024-04-20 06:44:58 +00:00
Alexandre Janniaux 1f6ad29193 contrib: protobuf: fix path to protoc executable
protoc path was set to $(HOST)-protoc but it was changed to protoc and
cannot be found anymore by meson after that.

Regression from 38c15b26f8.
2024-04-19 11:11:45 +00:00
Steve Lhomme f0e3a36f56 contrib: zvbi: don't keep the full iconv path
It disturbs libtool.
2024-04-19 05:23:54 +00:00
Pierre Lamot 33665ab7b0 win32: package missing pdb for the Qt plugin
since ddfc6d0de8 the libqt_plugin.pdb is no longer
generated in `modules/.libs/` directory, this patch explicitly package Qt pdb when
present
2024-04-18 11:06:28 +00:00
Steve Lhomme d5f62142e8 configure: don't check for host-protoc
It only existed in the VLC repository but we don't build it anymore.
2024-04-18 08:47:38 +00:00
Steve Lhomme fe873a47bd contrib: protobuf: don't check for host-protoc
It only existed in the VLC repository but we don't build it anymore.
2024-04-18 08:47:38 +00:00
Steve Lhomme 38c15b26f8 contrib: protobuf: don't prefix the protoc binary name
It only generates C++ files which are not platform specific.

We already assume that a "protoc" binary with the proper version is a valid protoc version.
2024-04-18 08:47:38 +00:00
Steve Lhomme bd7b87511c contrib: qt: don't link private files after installation 2024-04-17 13:35:55 +00:00
Steve Lhomme ef32c02a72 contrib: qt: build qt modules with CMake
The scripts call just translate old options into their CMake counterpart.
The BUILD and BUILDPREFIX qt toolchain point to different build configurations.

The qt.toolchain.cmake corresponds to the toolchain file used by qt-cmake.
But we can't use it as it's supposed to be a tool for the cross-compiled
target. This toolchain file is the official one to use when cross-compiling Qt6
for Raspberry Pi in Qt Creator: https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi
2024-04-17 13:35:55 +00:00
Alexandre Janniaux b77311d307 chromecast: meson.build: check both x.y and x.y.z for protoc
Protobuf and protoc version naming changed starting after version
21.7.11.x, at version 22.x.y[^2]. Other versioning changes during the
21.* cycle were made right before[^1].

The new versioning is described on the specific page from protocol
buffers website[^3].

For instance, protoc from archlinux currently outputs version 25.3,
leading to the following message if checking a 3-number version number
like the version in the contribs:

    Program protoc found: NO found 25.3 but need: '25.3.0' (/usr/bin/protoc)

After this patch we have the following with version 25.3:

    Program protoc found: YES 25.3 25.3 (/usr/bin/protoc)

and with version 21.1 from contrib:

    Program protoc found: YES 3.21.1 3.21.1

[^1]: https://protobuf.dev/news/2022-05-06/
[^2]: https://protobuf.dev/news/2022-07-06/
[^3]: https://protobuf.dev/support/version-support/
2024-04-17 09:12:07 +00:00
Alexandre Janniaux e53da4bf08 contrib: meson-machinefile provide the binary from makefile
Provide the necessary binary overrides throught the machine files
exposing the contribs, and ensure that the meson-machinefile built
depends on which binaries are built.

The new build tool generation uses a new PKGS.tools variable which
should match with the names used to find the different programs.

Not all programs can be found this way. For instance, it seems that the
Qt module from meson will completely ignore this parameter and load for
the Qt installation anyway.
2024-04-17 09:12:07 +00:00
Alexandre Janniaux d9793296c5 contrib: lua: expose tool path 2024-04-17 09:12:07 +00:00
Alexandre Janniaux a6317d65fa contrib: protobuf: update URL
google/protobuf redirects to protocolbuffers/protobuf now.
2024-04-17 09:12:07 +00:00
Alexandre Janniaux a91ff16c10 contrib: protobuf: expose tool path 2024-04-17 09:12:07 +00:00
Alexandre Janniaux 58adf8380b contrib: meson-machinefile: fix dependencies
Ensure that the meson-machinefile built depends on whether the script
has changed and on the latest state of the contribs. This will also be
used to depends on which binaries are built for the contribs.
2024-04-17 09:12:07 +00:00
Alexandre Janniaux f02e9412a0 contrib: gen-meson-machinefile: provide executables from contrib 2024-04-17 09:12:07 +00:00
Steve Lhomme 30b5a2ac41 qt: disable qsb calls when Qt is disabled 2024-04-17 08:32:07 +00:00
Steve Lhomme 5ec613d8b7 build: add missing check_qml_module.py from distdir
It was missing from 177d049950 and thus the distcheck couldn't call it.
2024-04-17 08:32:07 +00:00
Steve Lhomme f4b91ae13b configure: use bin dirs from pkgconfig on native builds, contrib native bin dirs otherwise 2024-04-17 08:32:07 +00:00
Steve Lhomme dfc998262e configure: use qmake6 to check QML modules
If Qt5 and Qt6 are installed, qmake might build for Qt5.
2024-04-17 08:32:07 +00:00
Steve Lhomme e012186b98 configure: use a different qtconf when contribs are not found 2024-04-17 08:32:07 +00:00
Steve Lhomme 38f562c598 configure: show the logs of check_qml_module.py in the logs
So we know what is failing.
2024-04-17 08:32:07 +00:00