Commit Graph

226 Commits

Author SHA1 Message Date
Claudio Cambra 70fd9c8b3d macosx: Use QuickLook to create thumbnails for collection view items in Browse
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-01-09 20:51:20 +00:00
Claudio Cambra 154647b89c
macosx: Move VLCLibraryGroupDataSource to own file, rename to VLCLibraryAudioGroupDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-01-03 20:10:48 +01:00
Claudio Cambra 4d9ed74997 macosx: Add VLCLibraryVideoViewController class
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2023-01-03 14:59:29 +00:00
Claudio Cambra 29c81f737f macosx: Add new VLCLibraryUIUnits class to keep reused units centrally
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-31 11:51:42 +00:00
Claudio Cambra 106c1b67a3 macosx: Add a VLCLibraryCollectionViewDataSource with method allowing for polymorphic access to underlying data item
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-25 00:03:43 +00:00
Claudio Cambra bb044a1b92 macosx: Create new VLCLibraryCollectionViewDelegate class to unify all VLC library collection view delegate behaviour
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-25 00:03:43 +00:00
Claudio Cambra 150b34bf26 macosx: Move VLCLibraryWindowController to own files
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-10 09:08:15 +00:00
Claudio Cambra 215fb6809b macosx: Display icon for currently playing song in library song table view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-07 16:40:27 +00:00
Claudio Cambra b725288d67 macosx: Replace VLCLibrarySongsTableView class with table view implementation in VLCLibraryWindow XIB
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-07 16:40:27 +00:00
Claudio Cambra 9b57fac028 macosx: Add a VLCLibrarySongsTableView component
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-07 16:40:27 +00:00
Claudio Cambra 6b07391c2f macosx: Move all audio view-related procedures to new VLCLibraryAudioViewController class, simplifying VLCLibraryWindow and VLCAudioDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-07 16:40:27 +00:00
Claudio Cambra 18d293bfa7 macosx: Move all audio library related classes into audio-library folder
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-07 16:40:27 +00:00
Claudio Cambra 5f9a578920 macosx: Use NSStackView as base for scrollable collection views view instead of NSTableView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-01 22:24:06 +00:00
Claudio Cambra 5a8f295fd7 macosx: Unify use of video group enums, rename group descriptor to be view agnostic
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-01 22:24:06 +00:00
Claudio Cambra 2855bd0c96 macosx: Remove now unused collection view components from VLCVideoDataSource, rename it to VLCVideoTableViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-01 22:24:06 +00:00
Claudio Cambra b8762fcee6 macosx: Extract new video library classes into independent files, organize video library files in video-library folder
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-01 22:24:06 +00:00
Claudio Cambra 8815e27272 macosx: Replace normal video collection view with prototype cell-based video view
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2022-12-01 22:24:06 +00:00
David Fuhrmann 00ea7a3f54 macosx: Cleanup list of frameworks and includes
Framework umbrella headers are now included where they are used.
Explicit includes where added where the code relied on implicit
includes.

Reorder list of framework the macosx module needs, and clean it up:
Removed:
- CoreServices (not used)
- CoreMedia (not used, replaced by CoreAudio and CoreVideo)
- SystemConfiguration (was used in 3.0.x for title bar, not used anymore)
2022-11-03 07:49:52 +00:00
David Fuhrmann dc7c57f9e4 macosx: Do not link against AddressBook.framework
This seems to have been introduced in 2008 as a way to implement
crash reporting (see 63c2fc55d1). This
has been long replaced by the Breakpad crash reporting UI.
2022-11-03 07:49:52 +00:00
Claudio Cambra 957bf68b3d macosx: Add a supplementary detail view for media items
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-09-23 03:43:32 +00:00
Claudio Cambra 449b9be433 macosx: Add VLCSubScrollView for nested scroll views
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-09-05 11:24:28 +00:00
Claudio Cambra 697cf07910 macosx: Improve library supplementary detail view backgrounds, indicate which item the detail view is supplementing
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-08-27 07:25:06 +00:00
Claudio Cambra a36e0faa55 macosx: Add a supplementary view for genres and artists collection views
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-08-16 23:28:54 +00:00
Claudio Cambra adb9f7c393 macosx: Add the library context menu to all library tables
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-08-12 22:32:38 +00:00
Claudio Cambra 77249644ec macosx: Add a smaller, song-specific table cell for album views
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-08-05 14:50:13 +00:00
Claudio Cambra 728ab28a07 macosx: Make library navigation buttons functional
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-07-29 06:07:25 +00:00
Claudio Cambra 6155638414 macosx: Make all library audio items use the artwork image cache 2022-07-25 11:08:35 +00:00
Claudio Cambra 53c0bfa28f macosx: Add expandable detail view to the album collection view
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-07-19 21:05:12 +02:00
Claudio Cambra fa106a29ad macosx: Unify collection view item types
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-07-19 15:55:25 +00:00
Claudio Cambra c38bfea984 macosx: Play genre's songs correctly from the collection view
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-07-11 06:44:02 +00:00
Claudio Cambra 95bf8adefa macosx: Play artists' songs correctly from the collection view
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-06-30 18:28:58 +00:00
Claudio Cambra 4448ddb361 macosx: Change backgrounds and layouts to fall more in line with mockups
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-06-27 09:37:15 +00:00
Claudio Cambra 73a248c059 macosx: Play albums works correctly from the collection view
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
2022-06-21 15:20:03 +00:00
Samuel Bassaly 411972391d macosx: Add new icons 2021-09-17 08:47:15 +00:00
David Fuhrmann 21e9016865 macosx: fix make dist after language update 2020-12-02 20:32:46 +01:00
David Fuhrmann 5b6d90bada macOS package: Install InfoPlist.strings for different langs
Also, move the template file, InfoPlist.strings, into Base.lproj
to simplify the install rules.
2020-12-02 19:53:31 +01:00
David Fuhrmann 468e864fb9 macosx: Do not generate InfoPlist.strings anymore 2020-10-19 19:19:22 +02:00
Marvin Scholz cfd0e9e8f4 macosx: remove NSSound+VLCAdditions 2020-08-14 11:26:20 +02:00
Marvin Scholz 454bd4714d macosx: add VLCSystemVolume class
This is a convenience class, based on the NSSound+VLCAdditions
extension, with the goal to replace it.

There is not much benefit to keep it an extension of NSSound as there
is nothing that this class needs from NSSound to function at all, so
not cluttering the NSSound namespace seems like a better approach here.
2020-08-14 11:26:20 +02:00
Marvin Scholz 2a5d25e03a macosx: add category for safe NSGradient drawing
Trying to draw a NSGradient into an empty NSBezierPath throws
and exception, crashing the application.

To prevent that we have workarounds at every place where we called
drawInBezierPath:angle:, instead just use a category which makes
the code cleaner and keeps the logic for the workaround in one place.
2020-06-03 15:45:22 +02:00
Felix Paul Kühne 27a98ee4a9 macosx/menu: replace implicit 10.14 dependency (closes #23694)
The itemArray property is settable in 10.14 and above only, so this commit adds a work-around to retain support with previous releases of macOS.
2020-02-02 16:23:20 +01:00
Felix Paul Kühne 9f4fa06f0e macosx/playlist: add specific artwork cache 2020-01-26 21:15:50 +01:00
Felix Paul Kühne bd91af604b macosx/library: add an image cache to improve responsiveness 2020-01-26 14:58:24 +01:00
Felix Paul Kühne 15452c9707 macosx/library: add basic information panel
This way, you can reveal the data about an individual item stored in the data base. The representation will be moved to a different place, so this is notably for debug purposes for now.
2020-01-25 13:42:46 +01:00
Felix Paul Kühne 72e49c8ea3 macosx: add custom window close button
This is based on legacy code of the 3.0 branch
2019-11-03 18:44:00 +01:00
Felix Paul Kühne 6206d1c944 macosx: remove unused resources 2019-10-30 16:16:55 +01:00
Felix Paul Kühne c3da5bdfc9 macosx: add detached audio playback window
This implements #2886.
2019-10-30 16:16:55 +01:00
Felix Paul Kühne 89e4a7ad73 macosx/main menu: allow custom crop and aspect ratio changes
Closes #19838
2019-08-28 17:06:03 +02:00
Felix Paul Kühne 3417d4eb60 macosx: merge both audio library data sources 2019-08-14 11:42:20 +02:00
Felix Paul Kühne 23b959f101 macosx: rename tiled audio view controller 2019-08-13 11:48:15 +02:00