Commit Graph

102248 Commits

Author SHA1 Message Date
Claudio Cambra ed30c1263e macosx: Do not set nil input item as represented input item for information window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-22 07:08:38 +00:00
Marvin Scholz c9afd0cfa3 adaptive: replace struct Attribute with class
Attribute is a class not a struct, this fixes the following warning in
a number of places:

  warning: struct 'Attribute' was previously declared as a class;
  this is valid, but may result in linker errors under the Microsoft
  C++ ABI [-Wmismatched-tags]
2024-04-22 05:20:11 +00:00
Steve Lhomme 4615108661 contrib: qt: only detect the native tools once
When not cross-compiling, we assume the tools match the Qt6 package.
We don't need to check again the binary as it will have no effect.
2024-04-21 09:50:13 +00:00
Steve Lhomme 6140b72e70 contrib: qt: fix the native tools version detection
We don't care about qt-cmake, it doesn't even match our Qt version.
We want to know the tools match the version we want to build.
2024-04-21 09:50:13 +00:00
Steve Lhomme 6563bc3835 contrib: add the contrib native tools libexec to the PATH
Some native tools we build may be usable by other targets.
2024-04-21 09:50:13 +00:00
Steve Lhomme c0470455a9 tools: don't build ragel
It's only used by harfbuzz which has its own internal version.
2024-04-21 08:17:40 +00:00
Steve Lhomme 071a7581ff contrib: harfbuff: build internal ragel if not found 2024-04-21 08:17:40 +00:00
Ankit Meel b53cc653ea meson: create vlc-cache-gen & plugins.dat 2024-04-21 08:11:05 +00:00
Claudio Cambra a49403442e macosx: Split up asserts for insert item in toolbar delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 4ae6cdb35d macosx: Improve formatting in VLCLibraryWindowToolbarDelegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 950b3d820b macosx: Fix positioning of view mode toolbar item
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 655837098d macosx: Fix trackingSeparatorToolbarItem being deallocated
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra b6bb469424 macosx: Handle specific hiding/showing of given toolbar items directly within toolbar delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 85e8f0db0a macosx: Remove unneeded configuration of toolbar items in library window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra 3dd181efa3 macosx: Refactor tooltip configuration into toolbar delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
Claudio Cambra e49b6c204c macosx: Make insert and hide methods for toolbar items private in toolbar delegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-04-21 06:47:57 +00:00
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