1. 14 May, 2017 1 commit
    • Rémi Denis-Courmont's avatar
      playlist: allocate the root item statically · 9c77c044
      Rémi Denis-Courmont authored
      This allocates space for the root playlist item directly inside the
      playlist structure. Creation of that item required a special case
      anyway as it was the only item without a parent.
      
      As a consequence, one unhandled error case is removed.
      9c77c044
  2. 09 Apr, 2017 1 commit
  3. 21 Mar, 2017 1 commit
  4. 19 Nov, 2016 2 commits
    • Rémi Denis-Courmont's avatar
      playlist: remove position parameter to playlist_Add* · b459e18d
      Rémi Denis-Courmont authored
      This removes the insertion offset parameter to playlist_Add(),
      playlist_AddExt() and playlist_AddInput().
      
      intf_InsertItem() was the only occurrence where the offset was zero,
      a side effect of how the command line is parsed backward. This is now
      done explicitly with playlist_NodeAddInput().
      
      A non-zero positive offset made no sense, since:
       - the number of children of a node can change asynchronously while the
         playlist lock,
       - the back-end asserted or triggered undefined behaviour if the offset
         was out of range.
      DBus was the only occurrence of this bug (see also #17451 comment:4),
      and has been fixed in an earlier change.
      
      In all remaining call sites, the offset was PLAYLIST_END. This removes
      the parameter which would otherwise constitute a useless constant.
      b459e18d
    • Rémi Denis-Courmont's avatar
      playlist: remove APPEND and INSERT flags · 4a2f6a81
      Rémi Denis-Courmont authored
      They are set but never used. In practice, the (following) position
      parameter determines whether the item is inserted or appended. A
      positive position means insertion; PLAYLIST_END means appendment.
      4a2f6a81
  5. 16 Nov, 2016 1 commit
  6. 14 Nov, 2016 1 commit
  7. 13 Oct, 2016 1 commit
  8. 18 Jun, 2016 1 commit
  9. 18 Apr, 2016 1 commit
  10. 28 Nov, 2015 2 commits
  11. 05 Nov, 2015 1 commit
  12. 27 Aug, 2015 1 commit
    • Rémi Denis-Courmont's avatar
      url: remove vlc_UrlParse() option parameter · d7a88fe0
      Rémi Denis-Courmont authored
      That parameter assumed that the query was part of the path. However it
      is not, which leads to invalid host name, and eventually failure when
      the path is missing. In practice, passing any value other than '?' as
      separator would not work properly.
      
      Remaining vlc_UrlParse() call sites without the option separator do not
      support query at the protocol level anyway, so they are unaffected by the
      change.
      Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
      d7a88fe0
  13. 01 Jul, 2015 1 commit
  14. 05 Jun, 2015 1 commit
  15. 04 Jun, 2015 1 commit
  16. 22 May, 2015 1 commit
  17. 12 May, 2015 2 commits
  18. 30 Mar, 2015 1 commit
  19. 21 Mar, 2015 1 commit
  20. 02 Mar, 2015 2 commits
  21. 18 Feb, 2015 1 commit
  22. 15 Dec, 2014 1 commit
  23. 24 Oct, 2014 1 commit
  24. 23 Oct, 2014 1 commit
  25. 16 Aug, 2014 1 commit
  26. 15 Aug, 2014 1 commit
  27. 31 Mar, 2014 1 commit
  28. 02 Feb, 2014 1 commit
  29. 01 Feb, 2014 1 commit
  30. 07 Jan, 2014 1 commit
  31. 29 Dec, 2013 2 commits
  32. 13 Jul, 2013 2 commits
  33. 05 Jun, 2013 1 commit
  34. 23 Apr, 2013 1 commit