aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-05-04start abstracting input layer for decodersWarren Dukes4-25/+143
git-svn-id: https://svn.musicpd.org/mpd/trunk@903 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-29clean-up a wee-bit of codeWarren Dukes1-2/+7
git-svn-id: https://svn.musicpd.org/mpd/trunk@895 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-22potential fix for CompBrain's segfault, i could test it if he ever gave meWarren Dukes1-1/+2
a broken flac file git-svn-id: https://svn.musicpd.org/mpd/trunk@877 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17don't expose functions in utf8.h that don't need itWarren Dukes1-6/+0
git-svn-id: https://svn.musicpd.org/mpd/trunk@812 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17ummm, undo last changes, they shouldn't need to be neccessaryWarren Dukes1-3/+0
git-svn-id: https://svn.musicpd.org/mpd/trunk@811 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-17close audio() and audioDriver() on decode process forkWarren Dukes1-0/+3
git-svn-id: https://svn.musicpd.org/mpd/trunk@810 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16when updating, don't cause db reread on adding and then removing empty ↵Warren Dukes1-16/+24
directories git-svn-id: https://svn.musicpd.org/mpd/trunk@805 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16some cleanups of sprintf's => snprintf'sWarren Dukes2-12/+26
git-svn-id: https://svn.musicpd.org/mpd/trunk@794 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16fix bug in prependCwdToPathDup()Warren Dukes1-2/+2
git-svn-id: https://svn.musicpd.org/mpd/trunk@789 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16msells versions patch to list supported formatsWarren Dukes1-0/+20
git-svn-id: https://svn.musicpd.org/mpd/trunk@783 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16*gasp* added a commentWarren Dukes1-0/+5
git-svn-id: https://svn.musicpd.org/mpd/trunk@782 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16only write db in initMp3Directory() when stuff is updatedWarren Dukes1-7/+13
git-svn-id: https://svn.musicpd.org/mpd/trunk@781 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-16remove directory mtime from db!Warren Dukes3-59/+125
also, only reReadDB and write DB on update if something was actually updated git-svn-id: https://svn.musicpd.org/mpd/trunk@780 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15don't stat() the db to get the modtime everytime, instead store it when we ↵Warren Dukes4-14/+23
read the db git-svn-id: https://svn.musicpd.org/mpd/trunk@779 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15round crossfade for statusWarren Dukes1-1/+3
git-svn-id: https://svn.musicpd.org/mpd/trunk@775 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15no point in tallying stats on writeDirectoryDB anymoreWarren Dukes1-2/+2
git-svn-id: https://svn.musicpd.org/mpd/trunk@774 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15log cycling and a few cleanupsWarren Dukes9-23/+74
git-svn-id: https://svn.musicpd.org/mpd/trunk@772 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-15clean up a little bit main() codeWarren Dukes6-61/+70
git-svn-id: https://svn.musicpd.org/mpd/trunk@771 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14don't updatedb on sighup if db is being updatedWarren Dukes1-2/+4
git-svn-id: https://svn.musicpd.org/mpd/trunk@768 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14add vim shiznit to end of all source filesWarren Dukes70-0/+70
git-svn-id: https://svn.musicpd.org/mpd/trunk@750 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14ok, finished incremental update!Warren Dukes3-25/+135
now just need to polish up a few things with update git-svn-id: https://svn.musicpd.org/mpd/trunk@745 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14silly shank, use functions you already have\!Warren Dukes1-3/+2
git-svn-id: https://svn.musicpd.org/mpd/trunk@744 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14pseduo-code for creating new entries in db for incremental updateWarren Dukes1-8/+20
git-svn-id: https://svn.musicpd.org/mpd/trunk@743 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-14incremental update can now recognize if you pass it a deleted pathWarren Dukes1-33/+61
git-svn-id: https://svn.musicpd.org/mpd/trunk@742 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13add copyright notices to new filesWarren Dukes4-0/+74
git-svn-id: https://svn.musicpd.org/mpd/trunk@739 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13make some code look neaterWarren Dukes1-3/+3
git-svn-id: https://svn.musicpd.org/mpd/trunk@738 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13fix some misc chld signal handling for update processWarren Dukes1-3/+3
git-svn-id: https://svn.musicpd.org/mpd/trunk@737 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13add a error msg for playerSeek()Warren Dukes1-0/+1
git-svn-id: https://svn.musicpd.org/mpd/trunk@736 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13have update process ignore signals when writing dbWarren Dukes3-0/+21
git-svn-id: https://svn.musicpd.org/mpd/trunk@735 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13ok, rework myfprintf so it uses write() and never use any file streamWarren Dukes7-31/+36
print functions. this way we can always know wtf is going on! also, remove some places where we were using fprintf and printf instead of myfprintf git-svn-id: https://svn.musicpd.org/mpd/trunk@734 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13block signals when writing db to ensure db isn't corruptedWarren Dukes4-0/+14
git-svn-id: https://svn.musicpd.org/mpd/trunk@730 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13when doing signal functions (like sigaction) make sure it wasn't interrupted ↵Warren Dukes6-14/+31
by a signal (errno==EINTR) git-svn-id: https://svn.musicpd.org/mpd/trunk@729 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13add --only-update-db command line optionWarren Dukes1-1/+14
git-svn-id: https://svn.musicpd.org/mpd/trunk@728 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13rename all ascii/utf8 stuff to latin1/utf8Warren Dukes5-31/+27
git-svn-id: https://svn.musicpd.org/mpd/trunk@718 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13plug a potential memory leakWarren Dukes1-1/+4
git-svn-id: https://svn.musicpd.org/mpd/trunk@713 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13lots of fsCharset, utf8/ascii converting clean-up and robustness stuffWarren Dukes7-40/+152
Also, if fsCharsetToUtf8 can't convert to valid UTF-8, then don't add it to the db, this way clients don't have to worry about weirdness and it will force ppl to convert it. git-svn-id: https://svn.musicpd.org/mpd/trunk@711 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13fix a small booboo and add some debugging stuffWarren Dukes2-3/+5
git-svn-id: https://svn.musicpd.org/mpd/trunk@708 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-13add my own utf8/ascii converters and utf8 validatorWarren Dukes4-2/+132
validate all mpd tags on import, if they are invalid, assume they are ascii and convert to utf8 git-svn-id: https://svn.musicpd.org/mpd/trunk@707 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-12volatile fun-nessWarren Dukes5-33/+33
git-svn-id: https://svn.musicpd.org/mpd/trunk@705 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-12forgetting to increment playlist version after reading the dbWarren Dukes2-0/+2
git-svn-id: https://svn.musicpd.org/mpd/trunk@704 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-12cleanup interface between interface.[ch] and command.[ch]Warren Dukes3-53/+92
primarily move all buffer2array stuff from interface.c to command.c and write a new command function explicitly for dealing with commandLists git-svn-id: https://svn.musicpd.org/mpd/trunk@701 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-12minor little tweak on reporting update statusWarren Dukes1-1/+3
git-svn-id: https://svn.musicpd.org/mpd/trunk@700 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11more volatile stuffWarren Dukes2-6/+6
git-svn-id: https://svn.musicpd.org/mpd/trunk@699 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11add volatile qualifiers to some shared mem buffer stuff, to enusre compilerWarren Dukes3-20/+20
doesn't optimize out order sensitive stuff git-svn-id: https://svn.musicpd.org/mpd/trunk@698 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11clean up signal handling using a polling method, from the genius that is ↵Warren Dukes11-89/+110
mackstann git-svn-id: https://svn.musicpd.org/mpd/trunk@697 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11we no longer need to block signals in tag.c, since update is now doneWarren Dukes1-22/+0
in a seperate process git-svn-id: https://svn.musicpd.org/mpd/trunk@696 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11ok, fix some bug due to a child process dieing before the parent canWarren Dukes3-6/+22
even assign pid, thus we need to block CHLD signal around fork(); git-svn-id: https://svn.musicpd.org/mpd/trunk@694 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11incremental updates and command-list/update kung fuWarren Dukes5-61/+217
this needs some serious cleaning up and testing git-svn-id: https://svn.musicpd.org/mpd/trunk@692 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11more software volume tweeksWarren Dukes1-2/+2
git-svn-id: https://svn.musicpd.org/mpd/trunk@684 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-04-11adjust scaling of software volumeWarren Dukes5-19/+18
git-svn-id: https://svn.musicpd.org/mpd/trunk@681 09075e82-0dd4-0310-85a5-a0d7c8717e4f