1. 26 Feb, 2013 4 commits
  2. 21 Feb, 2013 1 commit
  3. 19 Feb, 2013 6 commits
  4. 12 Feb, 2013 7 commits
  5. 11 Feb, 2013 2 commits
  6. 10 Feb, 2013 4 commits
  7. 09 Feb, 2013 2 commits
  8. 08 Feb, 2013 1 commit
  9. 07 Feb, 2013 1 commit
  10. 06 Feb, 2013 1 commit
    • Rafaël Carré's avatar
      Remove variable name clashes in TAB_REMOVE · 6be4754f
      Rafaël Carré authored
      If foo[i] or bar[i_index] are used in TAB_REMOVE / TAB_FIND, they will
      use another variable with local scope declared inside the macro.
      
      for (int i = 0; i < 1; i++) {
          TAB_REMOVE( count, array, foo[i] );
      }
      
      will expand to:
      
      for (int i = 0; i < 1; i++) {
          int i_index;
          .....
          for (int i = 0; i < count; i++)
              if (array[i] == foo[i])
              {
                  index = i;
                  break;
              }
          .....
      }
      
      And inner scope i is used to index foo, instead of the outer scope i
      which we would expect without knowing the content of the macro.
      (cherry picked from commit 728ef39d15cdbfc5b1bc9beba8a97493ef6c08fc)
      Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
      6be4754f
  11. 05 Feb, 2013 7 commits
  12. 04 Feb, 2013 1 commit
  13. 30 Jan, 2013 1 commit
  14. 29 Jan, 2013 2 commits
    • Mirsal Ennaime's avatar
      dbus: Fix code style and add missing decref on error path · dadc8c81
      Mirsal Ennaime authored
       * Add missing call to vlc_object_release() in MarshalMetadata
       * Separate code paths with empty lines
       * Fix bracket position in if blocks
      (cherry picked from commit 3ed48e03b85431f8024389f1b352854f0714ec3c)
      Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
      dadc8c81
    • Alex Merry's avatar
      Fix Metadata marshalling when sending the PropertiesChanged signal · 14402695
      Alex Merry authored
      VLC was getting kicked from the D-Bus when a track was stopped, because
      it was generating invalid data on the wire when sending the
      PropertiesChanged signal for the Metadata property.
      
      The issue was that if there was now no current track, GetInputMeta would
      never be called and the the variant would never be populated with the
      "a{sv}" structure that the call to dbus_message_iter_open_container
      claimed it would be.
      
      We now share the code that GetProperties used, which dealt with this
      correctly, although now both use CurrentInput (which is what the signal
      previously used) instead of CurrentPlayingItem (which is what
      GetProperties previously used).
      Signed-off-by: default avatarMirsal Ennaime <mirsal@videolan.org>
      (cherry picked from commit 5460e18e20719255d4ed1461594fe72530a19f85)
      Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
      14402695