Steve Lhomme
105babe317
windows: use the native read/write/etc calls
When compiling with the GDK the POSIX variants are defined but not available
for linking. We can just the Windows variants that are always available.
Do the proper redirection in our custom unistd.h used with the Platform SDK.
4 years ago
Steve Lhomme
cedea4d018
configure: don't the check presence of stricmp
_stricmp a Windows thing that is present in all the CRT, even in UCRT.
The stricmp() deprecated variant doesn't seem to exist elsewhere.
In some configuration it's not possible to link with stricmp() even though
_stricmp() is available.
4 years ago
Steve Lhomme
6946b06a17
vlc_fixups: do warn about "deprecated" ANSI calls on Windows GDK
These functions are not available when linking, so we should avoid using them.
Also mingw-w64 understands _CRT_NONSTDC_NO_DEPRECATE but not
_CRT_NONSTDC_NO_WARNINGS.
4 years ago
Pierre Lamot
f8cd81e4f5
meson: fix dcomp.h detection
dcomp.h is not a valid C header
4 years ago
Steve Lhomme
589006857e
http: remove uneeded cast
psz_meta is already a char*
4 years ago
Steve Lhomme
caca6ffbc3
input: don't compile local ControlInsertDemuxFilter without sout support
Just as the function above, it's never called in that case.
4 years ago
Steve Lhomme
f16b63f75f
es_out_timeshift: avoid forward declaration of GetTmpFile
4 years ago
Steve Lhomme
7e43a19a52
es_out_timeshift: avoid static const forward declarations
No functional changes.
4 years ago
Steve Lhomme
5c96e6c593
es_out: avoid static const forward declarations
No functional changes.
4 years ago
Steve Lhomme
eb8ddf30d5
adaptive/mp4: don't force all included headers to be C files
Only functions exported from libmp4.h need to be in C.
4 years ago
Steve Lhomme
c254ee46ea
packetizers: allow inclusion HXXX NAL helpers from C++ code
4 years ago
Claudio Cambra
4f02040ace
macosx: Don't hide controls if video is paused
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
34b7ffe120
macosx: Fix flickering of titlebar on VLCFullVideoViewWindow
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
8dc1e02b0f
macosx: Expose if mouse is hovering controls as a property on VLCMainVideoViewController
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
12f34b7ecd
macosx: Don't hide video controls if mouse is hovering on them
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
1cd9e6f349
macosx: Only track video view rect for mouse moved in library window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Johannes Kauffmann
e1ddf339c1
contrib: qt: remove unneeded macOS patch
This was fixed in Qt 5.15.8.
4 years ago
Johannes Kauffmann
e12ccd4545
contrib: qt: remove unneeded GCC 11 patches
These were fixed with Qt 5.15.3 and 5.15.5.
4 years ago
Johannes Kauffmann
e09bec51c0
cpu: properly indent x86 defines
To match the other architecture subsections.
4 years ago
Benjamin Arnaud
64abdfc00d
qml/PlaylistListView: Add 'getSelectedInputItem' to DragItem
This effectively fixes drag and drop from the playqueue to a playlist.
4 years ago
Benjamin Arnaud
1c54a5eece
qt/firstrunwizard: Fix 'pinned' default value
We need to apply the qt option if we want pinned controls to be applied.
4 years ago
Claudio Cambra
c567aa548e
macosx: Fix VLCMainVideoView interactivity in non native full screen mode
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
a143540b3e
macosx: Fix volume controls in VLCMainVideoView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
59eb817134
macosx: Enforce correct sizing of video view in library window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
65d6803ac0
macosx: Make sure to enable the video titlebar mode for new detached video windows
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
c8f93a2744
macosx: Make VLCAspectRatioRetainingWindow a VLCFullVideoViewWindow
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
d3cff4fb26
macosx: Make sure not to show window title in VLCFullVideoViewWindow
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
153cd3543b
macosx: Correctly init base video window classes even if not inited from XIB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
96018154c4
macosx: Move control bar related functionality only used by VLCLibraryWindow to this class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
88bf6569eb
macosx: Fix crash when detached window is closed and playlist item changes
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
5dc21b06fe
macosx: Make VLCLibraryWindow a VLCFullVideoViewWindow
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
aefc897d85
macosx: Add VLCFullVideoViewWindow class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
c17f8a5b4a
macosx: Remove no longer needed VLCDetachedVideoWindow
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
eb9eb1087b
macosx: Fix detached windows, remove need for VLCDetachedWindow
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
ba01957e94
macosx: Fix setup of borderless fullscreen video window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
1a874e017f
macosx: Remove now unused autohide toolbar
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
5d76933924
macosx: Remove old fspanel
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
6d926e33d5
macosx: Update mute volume button image when mute state changes in control bar
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
3eb2682c6d
macosx: Move shuffle and repeat button functionality from VLCControlsBarCommon to VLCMainWindowControlsBar
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
a155d87839
macosx: Remove unused nowPlaying outlet from VLCControlsBarCommon
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
7e18c3ff97
macosx: Move mute volume button outlet to VLCControlsBarCommon
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
3d00a2312d
macosx: Only set timefield alignment in main window controls bar
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
fff9d373a1
macosx: Hook up all the interactive components to the required outlets in VLCMainVideoView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
d6c539f3da
macosx: Transfer basic volume slider functionality from VLCMainWindowControlsBar to VLCControlsBarCommon
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
0529fa2a0f
macosx: Darken the main video view a bit more when controls active to improve contrast
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
10e0e9e564
macosx: Fix issues with displayLibraryControls in VLCMainVideoViewController
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
abec01b4e7
macosx: Dynamically adjust the positioning of the library control buttons in VLCMainVideoView according to window titlebar
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
76484f1dd3
macosx: Autohide the titlebar buttons when in the video view mode for the library window
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
2a4770b594
macosx: Make library return button in VLCMainVideoView functional
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago
Claudio Cambra
e826dd40a6
macosx: Make playlist toggle button in VLCMainVideoView functional
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
4 years ago