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
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
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
f3cb7306e2
macosx/library: add class skeleton
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
7ab1d4b0cf
macosx: refactor input manager remnants
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
2d86e202c4
macosx/info panel: start modernization
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
d14583a48d
macosx: basic implementation of the playlist data model
7 years ago
Felix Paul Kühne
7e9a5f16a7
macosx: remove VLCStringUtility
Use C functions instead of an ObjC singleton for string operations and move all string related operators to a single header/implementation
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
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
Thomas Guillem
034a3f75a2
core: move playlist to playlist_legacy
To make room for the new playlist.
This playlist_legacy will be removed once all modules are using the new
playlist.
8 years ago
Felix Paul Kühne
eb8821886a
macosx: coding style improvements
self is implicitly retained by the affected blocks. This commits makes this explicit to improve readibility
Spotted by the clang static analyzer
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
72bfe44f98
Include <stdatomic.h> or <atomic> directly where applicable
8 years ago
Marvin Scholz
dd876ac106
macosx: Rename VLCDebugMessageWindowController to VLCLogWindowController
This name is much shorter and a lot easier to understand, as it is less
likely to be confused with the error messages window stuff.
9 years ago
Marvin Scholz
4a22637a34
macOS: Move some classes to their own files
Put VLCSimplePrefsWindow and VLCHotkeyChangeWindow in their own files
as they do not belong inside the VLCSimplePrefsController and makes
it easier to find these classes.
9 years ago
David Fuhrmann
aa373d36fc
macosx: Rename to VLCExtensionsManager
10 years ago
David Fuhrmann
2b086638c5
macosx: add constant for VLCMediaKeySupportSettingChanged notification
10 years ago
David Fuhrmann
a7536bc767
macosx: Directly apply visibility change for status bar icon
10 years ago
Felix Paul Kühne
e0dfd83141
macosx: rename VLCMain source file and split out VLCApplication class
10 years ago
David Fuhrmann
70ccad7d47
macosx: rename to VLCStringUtility
10 years ago
David Fuhrmann
480a48941e
macosx: Rename to VLCOpenWindowController
10 years ago
David Fuhrmann
fa6c44e129
macosx: rename to VLCConvertAndSaveWindowController
10 years ago
David Fuhrmann
bf31e1f5d4
macosx: rename to VLCDebugMessageWindowController
10 years ago
David Fuhrmann
b1c445b643
macosx: rename to VLCMainWindow
10 years ago
David Fuhrmann
8eba6a8243
macosx: rename to VLCTrackSynchronizationWindowController
10 years ago
David Fuhrmann
c6fdee6977
macosx: rename to VLCResumeDialogController
10 years ago
David Fuhrmann
b3e1b006e4
macosx: rename to VLCVideoEffectsWindowController
10 years ago
David Fuhrmann
39a5afd23f
macosx: rename to VLCAudioEffectsWindowController
10 years ago
David Fuhrmann
36f6db3725
macosx: rename to VLCBookmarksWindowController
10 years ago
Goran Dokic
d276418d0d
macosx: add status bar menu
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
10 years ago
David Fuhrmann
fabe8243fe
macosx: Replace VLCIntf by getIntf()
The old VLCIntf macro is deprecated, getIntf() should be used
instead.
10 years ago
David Fuhrmann
8db0ca587f
macosx: Change VLCInfo to NSWindowController subclass
Uses NSWindowController to load the information panel. Get rid of
the singleton. VLCMain will now hold one instance, which is aimed
to display information about the currently playing media.
10 years ago
David Fuhrmann
eaa1ca1c35
macosx: remove singletons of ExtensionsDialogProvider and manager
Also deinitalizes both objects. This should fix the refcount
crash on exit.
11 years ago
David Fuhrmann
104ac66f0c
macosx: Move p_intf_thread getter out of VLCMain
VLCIntf now points to a static getter for the interface thread
pointer.
This fixes several problems: During initialization of
VLCMain, [VLCMain sharedInstance] is not ready yet when all other
objects are initialized inside VLCMains constructor. Due to the
way ARC works, the same applies to dealloc (the main shared instance
is nil already). But in both situations, we need VLCIntf for
callback (un)registration and potential logging.
The mac interface relies on static data in any case and does not
support multiple instantiations.
11 years ago
David Fuhrmann
e5940f08f1
macosx: manage main window with an NSWindowController, simplify VLCMain
The window controller ensures that all top-level objects of the
mainwindow xib are properly released.
This removes the last occurence of VLCMain in xib files, thus
awakeFromNib will not be called for this object anymore. The code
has been moved to initThis removes the last occurence of VLCMain in xib files, thus
awakeFromNib will not be called for this object anymore. The code
has been moved to init.
11 years ago
David Fuhrmann
39c71bd769
macosx: deinit VLCMain, fix retain cycles for InputManager and playlist
By deinitializing VLCMain, all connected objects are supposed to
be deallocated automatically. If [VLCMain sharedInstance] is gone,
the intf is deinitalized (this was previously checked with a
nil value of VLCIntf).
Fixes some retain cycles in input manager and playlist code which
prevented these objects to be deinitalized.
11 years ago
David Fuhrmann
91e3caa676
macosx: convert cas to NSWindowController subclass, remove singleton
11 years ago
David Fuhrmann
7b66b72d73
macosx: Convert VLCVideoEffects to NSWindowController subclass
11 years ago
David Fuhrmann
f6c4ab1458
macosx: Convert VLCAudioEffects to NSWindowController subclass
11 years ago