1. 22 May, 2021 6 commits
    • Marvin Scholz's avatar
      macosx: fix off-by-one in reload logic · 07283e6a
      Marvin Scholz authored
      When checking for the number of sections in reloadDataForNotification
      an index is compared to a count, so the count must always be larger
      than the index, else the index points past the last available item
      leading to an assertion like this:
      
        *** Assertion failure in -[_NSCollectionViewCore
        _endItemAnimationsWithInvalidationContext:tentativelyForReordering:
        animator:], …/UIFoundation/CollectionView/UICollectionView.m:7095
      
        *** Terminating app due to uncaught exception
        'NSInternalInconsistencyException', reason: 'attempt to delete section
        1, but there are only 1 sections before the update'
      07283e6a
    • Marvin Scholz's avatar
      macosx: use ObjC fast enumeration where possible · f1e644f1
      Marvin Scholz authored
      It's more concise, easier to read and less error-prone.
      f1e644f1
    • Marvin Scholz's avatar
      macosx: VLCPlaylistDataSource: fix error handling · 0cd7e54f
      Marvin Scholz authored
      The previous check if data is nil is useless here, as
      unarchiveObjectWithData can not modify data, and there is
      already a check above this code that ensures data is not nil.
      But unarchiveObjectWithData could fail if it can not decode the
      archive, raising an NSInvalidArgumentException, so handle that
      properly.
      0cd7e54f
    • Marvin Scholz's avatar
      29f72ea1
    • Marvin Scholz's avatar
      macosx: VLCOpenInputMetadata: Add initWithPath · 1d098b5d
      Marvin Scholz authored
      Add a new initializer method that takes a file path as NSString
      and converts it to a VLC URI, using that to initialize the MRLString
      value.
      
      Additionally add a factory method for the initializer too.
      1d098b5d
    • Martin Finkel's avatar
      contribs: add vncclient GPL check · 40664df3
      Martin Finkel authored
      40664df3
  2. 21 May, 2021 11 commits
  3. 20 May, 2021 20 commits
  4. 19 May, 2021 3 commits