[vlc-commits] [Git][videolan/vlc][master] 46 commits: macosx: Add iCarousel component

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Jan 5 13:11:18 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
2f27e8b8 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add iCarousel component

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
a82a7acd by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add a VLCLibraryVideoViewContainerView protocol

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
7a8fd159 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Adapt VLCLibraryVideoCollectionViewContainerView to conform to VLCLibraryVideoViewContainerView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
b1f707f2 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Adapt VLCLibraryVideoCollectionViewsStackViewController to make it clearer it controls more than collection view containers

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
747ad4ad by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Further make VLCLibraryVideoCollectionViewsStackViewController container type agnostic

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
eb0f4052 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Move dataSource prop to VLCLibraryVideoViewContainerView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
c297e237 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Implement iCarousel data source methods in VLCLibraryVideoCollectionViewContainerViewDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
e5306dc2 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Integrate carousel view into VLCLibraryVideoCollectionViewContainerViewDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
830939fe by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add starter VLCLibraryVideoCarouselViewContainerView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
58cf2daf by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add setters for VLCLibraryVideoViewContainerView props in VLCLibraryVideoCarouselViewContainerView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
a0138188 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add method to set up carousel view in VLCLibraryVideoCarouselViewContainerView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
705d5b44 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add method to setup data source in VLCLibraryVideoCarouselViewContainerView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
9d5e2c08 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Setup VLCLibraryVideoCarouselViewContainerView in all possible init situations

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
adefb7bb by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Replace recents container in video library with a carousel view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
ea97c5a3 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Left-align the carousel items in VLCLibraryVideoCarouselViewContainerView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
aee50d45 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Ensure carousel offset is recalculated when the VLCLibraryVideoCarouselViewContainerView is resized

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
5ea4ec4f by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Fix numberOfItems when contentOffset is set to non-zero in iCarousel

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
b36bd9a8 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Make carousel container view delegate for carousel view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
ca4beee6 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Make VLCLibraryVideoCarouselViewContainerView carousel wrap

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
68312b9d by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Set spacing for VLCLibraryVideoCarouselViewContainerView carousel

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
1edda517 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add a header title to the carousel recents view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
68771139 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Set title of carousel container view through video group

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
e9f138f7 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add starter VLCLibraryCarouselViewItemView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
85535da0 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add VLCLibraryCarouselViewItemView XIB

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
eb72b2d3 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add properties and outlets for carouse view item view components

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
88ccc3a4 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Move annotation font to NSFont extension

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
4e63def3 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add setup procedure for VLCLibraryCarouseViewItemView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
c30738b6 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Setup carousel view item view correctly on all inits

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
56056556 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add setting of represented media item in VLCLibraryCarouselViewItemView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
bd3eb9c2 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add fromNibWithOwner class method to VLCLibraryCarouselViewItemView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
5b6cfe91 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Use VLCLibraryCarouselViewItemView in view generation of VLCLibraryVideoCollectionViewContainerViewDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
f63a0963 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Fix leading panning for carousel items in VLCLibraryVideoCarouselViewContainerView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
13d85c26 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Improve design of carousel item view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
5db8544a by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Properly configure highlightBox for VLCLibraryCarouselViewItemView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
f1bc73cf by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add selected propertt to VLCLibraryCarouselViewItemView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
ce6cf2f9 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Set selection state for relevant vlclibrarycarouselviewitemview through carousel view delegate

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
ceea2ef1 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add method to play represented item of carousel view item view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
ac78a583 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Make selecting carousel item play its represented item

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
d65c270f by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Properly handle progress indicator in VLCLibraryVideoCarouselViewItemView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
b35e1985 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Add specific units for carousel view items

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
c319b5fa by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Size VLCLibraryVideoCarouselViewContainerView proportionally to contents

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
96f7e145 by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Implement presentLibraryItem for VLCLibraryVideoCarouselViewContainerView

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
9de153ff by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Rename VLCLibraryVideoCollectionViewContainerViewDataSource to VLCLibraryVideoContainerViewDataSource now that it also serves carousels

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
108b884b by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Adapt VLCLibraryCarouselViewItemView to new VLCLibraryRepresentedItem

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
8fed987c by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Adapt home view controller to carousel data source changes

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
db7e3d4d by Claudio Cambra at 2024-01-05T12:14:27+00:00
macosx: Adapt carousel view item view to detail string changes

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


23 changed files:

- extras/package/macosx/VLC.xcodeproj/project.pbxproj
- modules/gui/macosx/Makefile.am
- + modules/gui/macosx/UI/VLCLibraryCarouselViewItemView.xib
- modules/gui/macosx/extensions/NSFont+VLCAdditions.h
- modules/gui/macosx/extensions/NSFont+VLCAdditions.m
- + modules/gui/macosx/library/VLCLibraryCarouselViewItemView.h
- + modules/gui/macosx/library/VLCLibraryCarouselViewItemView.m
- modules/gui/macosx/library/VLCLibraryCollectionViewFlowLayout.m
- modules/gui/macosx/library/VLCLibraryCollectionViewItem.m
- modules/gui/macosx/library/VLCLibraryUIUnits.h
- modules/gui/macosx/library/VLCLibraryUIUnits.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewController.m
- + modules/gui/macosx/library/video-library/VLCLibraryVideoCarouselViewContainerView.h
- + modules/gui/macosx/library/video-library/VLCLibraryVideoCarouselViewContainerView.m
- modules/gui/macosx/library/video-library/VLCLibraryVideoCollectionViewContainerView.h
- modules/gui/macosx/library/video-library/VLCLibraryVideoCollectionViewContainerView.m
- modules/gui/macosx/library/video-library/VLCLibraryVideoCollectionViewsStackViewController.h
- modules/gui/macosx/library/video-library/VLCLibraryVideoCollectionViewsStackViewController.m
- modules/gui/macosx/library/video-library/VLCLibraryVideoCollectionViewContainerViewDataSource.h → modules/gui/macosx/library/video-library/VLCLibraryVideoContainerViewDataSource.h
- modules/gui/macosx/library/video-library/VLCLibraryVideoCollectionViewContainerViewDataSource.m → modules/gui/macosx/library/video-library/VLCLibraryVideoContainerViewDataSource.m
- + modules/gui/macosx/library/video-library/VLCLibraryVideoViewContainerView.h
- modules/gui/macosx/library/video-library/VLCLibraryVideoViewController.m
- + modules/gui/macosx/views/iCarousel/iCarousel.h


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b06f9530e376879171ac4e7057f591f7b9f8e822...db7e3d4dad7bd4a05e96cd04fe3397102c2ac646

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b06f9530e376879171ac4e7057f591f7b9f8e822...db7e3d4dad7bd4a05e96cd04fe3397102c2ac646
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list