1. 07 Aug, 2006 4 commits
  2. 06 Aug, 2006 3 commits
  3. 05 Aug, 2006 2 commits
  4. 04 Aug, 2006 1 commit
  5. 03 Aug, 2006 7 commits
  6. 02 Aug, 2006 1 commit
  7. 01 Aug, 2006 14 commits
  8. 31 Jul, 2006 3 commits
  9. 30 Jul, 2006 5 commits
    • Eric Wong's avatar
      software volume can now be saved and read from the state file · 44f9e169
      Eric Wong authored
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4495 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      44f9e169
    • Eric Wong's avatar
      Standardize state_file handling routines. · 12aec573
      Eric Wong authored
      This way it's easier to manage and extend.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4494 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      12aec573
    • Eric Wong's avatar
      remove deprecated myfprintf wrapper · 381d7232
      Eric Wong authored
      This shaves another 5-6k because we've removed the paranoid
      fflush() calls after every fprintf.  Now we only fflush()
      when we need to
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4493 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      381d7232
    • Warren Dukes's avatar
      tree updates: · 71fe8719
      Warren Dukes authored
      *) when CHILDREN_PER_NODE is large, use binary search
      *) add a iterator implementation
      *) some code cleanup
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4492 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      71fe8719
    • Eric Wong's avatar
      remove clumsy strncpy use · 263a9d58
      Eric Wong authored
      strncpy isn't really safe because it doesn't guarantee null termination,
      and we have had to work around it in several places.
      strlcpy (from OpenBSD) isn't great, either because it often leaves
      errors going unchecked (by truncating strings).
      
      So we'll add the pathcpy_trunc() function with is basically strlcpy
      with a hardcoded MAXPATHLEN as the limit, and we'll acknowledge
      truncation since we only work on paths and MAXPATHLEN should be
      set correctly by the system headers[1].
      
      file-specific notes:
      
      inputStream_http:
      eyeballing the changes here, it seems to look alright but I
      haven't actually tested it myself.
      
      ls:
      don't even bother printing a file if the filename is too long
      (and when is it ever?) since we won't be able to read it anyways.
      
      metadataChunk:
      it's only metadata, and it's only for showin the user, so truncating
      it here souldn't be a big issue.
      memset to zero in init is unecessary, so lets not waste cycles
      
      [1] - If the system headers are screwed up, then we're majorly
      screwed regardless of what we do :x
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4491 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      263a9d58