aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ok, rework myfprintf so it uses write() and never use any file streamWarren Dukes2004-04-138-35/+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
* block signals when writing db to ensure db isn't corruptedWarren Dukes2004-04-134-0/+14
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@730 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* when doing signal functions (like sigaction) make sure it wasn't interrupted ↵Warren Dukes2004-04-136-14/+31
| | | | | by a signal (errno==EINTR) git-svn-id: https://svn.musicpd.org/mpd/trunk@729 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add --only-update-db command line optionWarren Dukes2004-04-132-6/+17
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@728 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo...mhmmmWarren Dukes2004-04-131-1/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@727 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo: don't have children write to logs, that's very naughtyWarren Dukes2004-04-131-0/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@726 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* rename all ascii/utf8 stuff to latin1/utf8Warren Dukes2004-04-135-31/+27
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@718 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* plug a potential memory leakWarren Dukes2004-04-131-1/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@713 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* clean up finished stuff from todoWarren Dukes2004-04-131-10/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@712 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* lots of fsCharset, utf8/ascii converting clean-up and robustness stuffWarren Dukes2004-04-137-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
* todo idea updatesWarren Dukes2004-04-131-3/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@710 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* todo ideas: utf8 fallback stuff when iconv doesn't workWarren Dukes2004-04-131-2/+9
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@709 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix a small booboo and add some debugging stuffWarren Dukes2004-04-132-3/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@708 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add my own utf8/ascii converters and utf8 validatorWarren Dukes2004-04-134-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
* volatile fun-nessWarren Dukes2004-04-125-33/+33
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@705 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* forgetting to increment playlist version after reading the dbWarren Dukes2004-04-122-0/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@704 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* cleanup interface between interface.[ch] and command.[ch]Warren Dukes2004-04-123-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
* minor little tweak on reporting update statusWarren Dukes2004-04-121-1/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@700 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* more volatile stuffWarren Dukes2004-04-112-6/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@699 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add volatile qualifiers to some shared mem buffer stuff, to enusre compilerWarren Dukes2004-04-113-20/+20
| | | | | doesn't optimize out order sensitive stuff git-svn-id: https://svn.musicpd.org/mpd/trunk@698 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* clean up signal handling using a polling method, from the genius that is ↵Warren Dukes2004-04-1111-89/+110
| | | | | mackstann git-svn-id: https://svn.musicpd.org/mpd/trunk@697 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* we no longer need to block signals in tag.c, since update is now doneWarren Dukes2004-04-111-22/+0
| | | | | in a seperate process git-svn-id: https://svn.musicpd.org/mpd/trunk@696 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* mackstann's idea for polling signalsWarren Dukes2004-04-111-3/+14
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@695 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* ok, fix some bug due to a child process dieing before the parent canWarren Dukes2004-04-113-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
* update with new update stuffWarren Dukes2004-04-111-1/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@693 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* incremental updates and command-list/update kung fuWarren Dukes2004-04-116-70/+218
| | | | | this needs some serious cleaning up and testing git-svn-id: https://svn.musicpd.org/mpd/trunk@692 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* more software volume tweeksWarren Dukes2004-04-111-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@684 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* update with new update stuffWarren Dukes2004-04-111-0/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@682 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* adjust scaling of software volumeWarren Dukes2004-04-115-19/+18
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@681 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* do while(wait3) for sighandlerWarren Dukes2004-04-111-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@680 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add --disable-audio configure optionWarren Dukes2004-04-115-8/+31
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@679 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix some snafoosWarren Dukes2004-04-113-4/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@678 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* don't stop playlist on finishPlaylist()[DWarren Dukes2004-04-111-1/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@677 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* update job id stuffWarren Dukes2004-04-112-3/+13
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* updating_db in status and some ideas for the TODO that i've already forgottenWarren Dukes2004-04-114-0/+11
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@669 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* some idearsWarren Dukes2004-04-111-0/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@666 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* make "update" command background/non-blockingWarren Dukes2004-04-117-26/+111
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@665 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add --only-create-db option from msellsWarren Dukes2004-04-116-5/+27
| | | | | have SIGHUP cause rereading db file git-svn-id: https://svn.musicpd.org/mpd/trunk@663 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* bump version number up to 0.11.0Warren Dukes2004-04-101-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@660 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* work in prep of using msells/sbh's non-blocking update methodWarren Dukes2004-04-102-8/+96
| | | | | | | Here, i've made readDirectoryDB detect when stuff is deleted, added and updated. So after a update, and we call redDirectoryDB, we update the db instead of just adding stuff w/o "updating" and "deleting" stuff as neccessary. git-svn-id: https://svn.musicpd.org/mpd/trunk@659 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* some more stuff for the TODOWarren Dukes2004-04-101-0/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@658 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* ideas on how to make readDirectoryInfo and readSongInfo deal with alreadyWarren Dukes2004-04-103-0/+49
| | | | | | existing db stuff, and implement a new List function that will be very useful: insertInListBeforeNode() git-svn-id: https://svn.musicpd.org/mpd/trunk@657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* more ideas for the TODOWarren Dukes2004-04-091-1/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@649 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* don't report an error about not able to open device in audioErrorWarren Dukes2004-04-072-7/+2
| | | | | also, update TODO with ideas about non-blocking update git-svn-id: https://svn.musicpd.org/mpd/trunk@632 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* a journaled db?Warren Dukes2004-04-071-2/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@627 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* updates to non-blocking update planWarren Dukes2004-04-061-3/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@611 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* plan for non-blocking updateWarren Dukes2004-04-061-0/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@608 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* make default max playlist length be 16384. bumped up from 4096Warren Dukes2004-04-042-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@602 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* when converting from bps -> kbps, divide by 1000, not 1024Warren Dukes2004-04-036-6/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@592 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* use EXIT_SUCCESS and EXIT_FAILUREWarren Dukes2004-04-0215-87/+87
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@591 09075e82-0dd4-0310-85a5-a0d7c8717e4f