Claudio Cambra
150b34bf26
macosx: Move VLCLibraryWindowController to own files
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
3 years ago
Claudio Cambra
b300f7d010
macosx: Fix compile-time warnings
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
4 years ago
Claudio Cambra
cd37130790
macosx: Remember last opened library view
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
4 years ago
Alexandre Janniaux
6b7a57f984
modules: fix typos
Typos found and reworked from codespell.
4 years ago
Marvin Scholz
68a6b68bb3
macosx: VLCMain: use VLCApplication's vlcAppIconImage
5 years ago
Marvin Scholz
f1e644f14f
macosx: use ObjC fast enumeration where possible
It's more concise, easier to read and less error-prone.
5 years ago
Marvin Scholz
29f72ea182
macosx: use inputMetaWithPath where possible
5 years ago
Felix Paul Kühne
91179db394
macosx: log if the process is translated and if the user tries to update, install the native binary
5 years ago
Felix Paul Kühne
5a42051d67
macosx/main: improve lazy loading
7 years ago
Felix Paul Kühne
58c32b7422
macosx/main: clean-up and refactoring by moving things not belonging there
7 years ago
Felix Paul Kühne
010abb4ab9
macosx: remove useless singleton for resume dialog controller
7 years ago
Felix Paul Kühne
ad8a01497b
macosx: refactor preferences reset and restart code
7 years ago
Felix Paul Kühne
e5e2dc67d6
macosx: remove information panel singleton
This way, we can create infinite numbers of the panel to show information both for queued and playing files
7 years ago
Felix Paul Kühne
3b5314faea
macosx/main: lazy load main menu and library window controller
This improves launch speed of the macOS interface module by up to 20%
7 years ago
Felix Paul Kühne
f5824de9ec
macosx/main: move activePlayback property to player controller as it does not belong in the main singleton
7 years ago
Felix Paul Kühne
69f8e5da87
macosx: replace remaining synchronize calls on NSUserDefaults
In these specific spots, we need to force the write-to-disk so use a non-deprecated call.
7 years ago
Felix Paul Kühne
cce17dd094
macosx: don't make the main singleton responsible for saving window states
7 years ago
Felix Paul Kühne
883c17dd20
macosx: move show controller callbacks away from the main singleton
7 years ago
David Fuhrmann
fdbf7317e0
macosx: Unset p_interface_thread outside of the autoreleasepool
In theory, some objects are only released during drain of the
autorelease pool (i.e. at the place of the closing bracket of
the @autorelease block).
Some of those objects might need getInf() in their dealloc code,
so this pointer should stay available at this stage.
Should fix crash id 8f0bb1b4-fa5a-4d92-bcb3-9f6c0130fc86.
7 years ago
Felix Paul Kühne
a5e053f127
macosx/main: trim public interface and remove pseudo-global includes
This reduces the amount of unexpected magic behavior throughout the interface.
7 years ago
Felix Paul Kühne
66c49cf911
macosx: remove unnecessary deinitialize calls ( fixes #21914 )
The macOS interface is deallocated after the player/playlist, so we need to unsubscribe from either as soon as we know that the app will terminate.
7 years ago
Felix Paul Kühne
f3cb7306e2
macosx/library: add class skeleton
7 years ago
Felix Paul Kühne
13e36ea0a1
macosx/library window: don't block access to the playlist when using the detached vout window mode
7 years ago
Felix Paul Kühne
a3f831632a
macosx: rework communication between vout provider, library window and fspanel
This prevents frequent calls across multiple hierarchy levels and internalizes state knowledge.
7 years ago
Felix Paul Kühne
5f566bd811
macosx: split hotkeys handling to a designated class
7 years ago
Felix Paul Kühne
a2fe663204
macosx: remove the main window
7 years ago
Felix Paul Kühne
1c2f90725a
macosx: remove core interaction singleton
7 years ago
Felix Paul Kühne
63e84a0635
macosx: fix intf variable callbacks
7 years ago
Felix Paul Kühne
708d52498c
macosx: remove more legacy playlist code
This patch removes the dysfunctional sidebar and podcast integration
7 years ago
Felix Paul Kühne
7ab1d4b0cf
macosx: refactor input manager remnants
7 years ago
Felix Paul Kühne
6c0c4ffe55
macosx/control bars: remove legacy playlist
7 years ago
Felix Paul Kühne
e0c76187f2
macosx/main: remove legacy playlist
7 years ago
Felix Paul Kühne
900cb6ee6f
macosx: don't import the legacy playlist globally
Import it where needed only to identify those areas
7 years ago
Felix Paul Kühne
6739fc2079
macosx: move integration with third party players to the new playlist
7 years ago
Felix Paul Kühne
2d86e202c4
macosx/info panel: start modernization
7 years ago
Felix Paul Kühne
f195a7269e
macosx: implement seeking and playback position display within the main window
7 years ago
Felix Paul Kühne
75360ce4f2
macosx: fix assert on quit
7 years ago
Felix Paul Kühne
9ec8a6e95b
macosx: allow re-use of the playlist controller for multiple lists
7 years ago
David Fuhrmann
ba6ad45fbd
macosx: New directory structure for the macOS UI
This orders existing files into a new directory structure, to
group related elements together. The Xcode project is adapted
as well and reflects the same structure under macosx.
All includes include the subfolders now and are reordered and
cleaned up. Existing structure and alphabetic ordering shall be
kept.
7 years ago
Felix Paul Kühne
99417d7af5
macosx: remove Cocoa representation of the legacy playlist
7 years ago
Felix Paul Kühne
881cc83582
macosx/open: replace dictionary with magic keys by a proper structure to define input metadata
Note that this switches the remaining entry points to the new playlist
7 years ago
Felix Paul Kühne
d14583a48d
macosx: basic implementation of the playlist data model
7 years ago
Felix Paul Kühne
fcfd6aea72
macosx: add basic library window
This is little more than a stub and will serve as a base for the window displaying the new library
7 years ago
Felix Paul Kühne
b18a63a560
macosx: minor cleanup
7 years ago
Felix Paul Kühne
9609740bfa
macosx/coreinteraction: split apple remote, media key and video filter handling as those don't belong there
7 years ago
Steve Lhomme
5363279805
remove the $Id$ in the source code
7 years ago
Felix Paul Kühne
a50dad91b6
macosx: modernize xib file use for the main menu
8 years ago
David Fuhrmann
04e8c62ccb
macosx: Rename VLCVoutWindowController to VLCVideoOutputProvider
This better matches the naming scheme, as WindowController is typically
used to have one designated window which is controlled.
8 years ago
Rémi Denis-Courmont
4cedca0714
playlist: move FSC trigger and make it void
8 years ago
Rémi Denis-Courmont
4c1816844e
playlist: move intf-show and make it void
8 years ago