Claudio Cambra
|
84a9d8431f
|
macosx: Avoid copy-write-copy pattern in video container view data source
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
8 months ago |
Claudio Cambra
|
e7f8c4a35a
|
macosx: Avoid race condition on set/get of self.collectionArray in VLCLibraryHomeViewVideoContainerViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
9 months ago |
Claudio Cambra
|
e959928c02
|
macosx: Fix number type warnings
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
10 months ago |
Claudio Cambra
|
ded51c0692
|
macosx: Mark unused block parameters as unused
Fixes:
/Users/claudio/Developer/vlc/extras/package/macosx/../../../modules/gui/macosx/library/media-source/VLCMediaSourceCollectionViewItem.m:215:58: warning: unused parameter 'idx' [-Wunused-parameter]
215 | VLCInputItem * const inputItem, const NSUInteger idx, BOOL * const stop
| ^
/Users/claudio/Developer/vlc/extras/package/macosx/../../../modules/gui/macosx/library/media-source/VLCMediaSourceCollectionViewItem.m:215:76: warning: unused parameter 'stop' [-Wunused-parameter]
215 | VLCInputItem * const inputItem, const NSUInteger idx, BOOL * const stop
| ^
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
10 months ago |
Claudio Cambra
|
607e0a8d8f
|
macosx: Access parent group type via groupDescriptor property rather than via jany climbing of view tree
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
2 years ago |
Claudio Cambra
|
7412367850
|
macosx: Add supplementary detail view kind to VLCLibraryCollectionViewDataSource protocol
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
2 years ago |
Claudio Cambra
|
0f9d3db04c
|
macosx: Add representedItemsAtIndexPaths method to VLCLibraryCollectionViewDataSource protocol
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
2 years ago |
Claudio Cambra
|
2443aa2538
|
macosx: Fix crash when accessing carousel count before collection array initialised in home view video container view data source
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
2 years ago |
Claudio Cambra
|
8d46aebdd1
|
macosx: Make VLCLibraryCollectionViewSupplementaryView keep track of collection view layout scroll direction
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
4 years ago |
Claudio Cambra
|
ee70c36031
|
macosx: Simplify disconnection routines
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
2 years ago |
Claudio Cambra
|
7eca0c9877
|
macosx: Add ability to connect and disconnect VLCLibraryHomeViewVideoContainerViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
74e71c0a48
|
macosx: Rename and modify behaviour of carousel itemmsizing properties in VLCLibraryUIUnits to more accurately reflect their intended use
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
69c5761da3
|
macosx: Remove space before closing function bracket
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
50db9d04a0
|
macosx: Move carousel view container to home view too
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
9645085aa1
|
macosx: Move video container into home library folder, rename appropriately
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
108b884b24
|
macosx: Adapt VLCLibraryCarouselViewItemView to new VLCLibraryRepresentedItem
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
9de153ff91
|
macosx: Rename VLCLibraryVideoCollectionViewContainerViewDataSource to VLCLibraryVideoContainerViewDataSource now that it also serves carousels
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
b35e1985ad
|
macosx: Add specific units for carousel view items
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
5b6cfe91a0
|
macosx: Use VLCLibraryCarouselViewItemView in view generation of VLCLibraryVideoCollectionViewContainerViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
e5306dc275
|
macosx: Integrate carousel view into VLCLibraryVideoCollectionViewContainerViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
c297e23798
|
macosx: Implement iCarousel data source methods in VLCLibraryVideoCollectionViewContainerViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
2eec6c4fd0
|
macosx: Properly set parent type for represented item in VLCLibraryVideoCollectionViewContainerView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
4d17ff0da3
|
macosx: Convert use of VLCLibraryVideoGroup in video library components to VLCMediaLibraryParentGroupType
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
c5a469a5c9
|
macosx: Replace use of vlc_ml_parent_type with expanded VLCMediaLibraryParentGroupType
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
6254431854
|
macosx: Switch over to VLCLibraryRepresentedItem in VLCLibraryCollectionViewMediaItemSupplementaryDetailView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
011f63e654
|
macosx: Switch over to VLCLibraryRepresentedItem in VLCLibraryCollectionViewItem
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
93179f7091
|
macosx: Emit notification when video collection view updates displayed collection
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
c850c9b78a
|
macosx: Implement indexPathForLibraryItem in VLCLibraryVideoCollectionViewContainerViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
37e30be484
|
macosx: Protect the libraryAtX methods from bad row or idnex path values
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
0bbcf88691
|
macosx: Use dot notation to acces NSNotificationCenter defaultCenter
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
e044070ff9
|
macosx: Use class property and dot notation for VLCMain sharedInstance
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
7072861c3f
|
macosx: Update container view data source on non-main dispatch queue
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
04bc3fbe41
|
macosx: Reload specific items in VLCLibraryVideoCollectionViewContainerViewDataSource not by VLCLibraryModel index
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
95862c5d7c
|
macosx: Move fetch of items from library model in video container view data source to background thread
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
5f47c13b69
|
macosx: Constify new library model update methods
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
2c1872646f
|
macosx: Move modelIndexFromModelItemNotification to VLCLibraryModel as class method
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
fd8d52ec06
|
macosx: Properly handle media item deletion notification in general videos and recents in VLCLibraryVideoCollectionViewContainerViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
f2a86c0973
|
macosx: Add deleteDataForIndex method to VLCLibraryVideoCollectionViewContainerViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
e7d741c6e2
|
macosx: Update the recents collection view in video view when received notification of change
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
1a64b6b00f
|
macosx: Extract the acquisition of model index from notification user info into own method in VLCLibraryVideoCollectionViewContainerViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
886ec1cb54
|
macosx: Handle granular VLCLibraryModelVideoMediaItemUpdated in VLCLibraryVideoCollectionViewContainerViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
cb269c62d8
|
macosx: Add method to reload data by index in VLCLibraryVideoCollectionViewContainerViewDataSource
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
aa123ee772
|
macosx: Add reloadData method to VLCLibraryVideoCollectionViewContainerViewDataSource with completion handler
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
b0295a1857
|
macosx: Handle media library update/reset events more granularly
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
e7e9b0f9d0
|
macosx: Only update video collection views if received notification type calls for it
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
3 years ago |
Claudio Cambra
|
b069be4532
|
macosx: Move delegate methods in VLCLibraryVideoCollectionViewContainerViewDataSource to general VLCLibraryCollectionViewDelegate
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
4 years ago |
Claudio Cambra
|
623d1226fc
|
macosx: Make audio library collection view data source and video library collection view data source compliant with VLCLibraryCollectionViewDataSource protocol
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
4 years ago |
Claudio Cambra
|
5f9a578920
|
macosx: Use NSStackView as base for scrollable collection views view instead of NSTableView
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
|
4 years ago |
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>
|
4 years ago |
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>
|
4 years ago |