aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adding ChangeLog entries for 0.12.1J. Alexander Treuman2006-10-101-0/+7
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4894 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Allow an ogg quality of -1 to be specified.J. Alexander Treuman2006-10-101-5/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4893 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* buffer2array: extra unit tests (for PHP magic quote escapes)Eric Wong2006-10-101-9/+21
| | | | | | | | Make the unit tests compile correctly without using xstrdup. Also, use "static inline" instead of "inline static": certain compilers or cflags are likely to complain about the latter. git-svn-id: https://svn.musicpd.org/mpd/trunk@4892 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* mp3_plugin.c: fix compilation with -pedantic and/or gcc 2.95Eric Wong2006-10-061-16/+20
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4876 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* put back np's supperrior buffer2array, and fix my bug fix from change 4872Warren Dukes2006-10-064-122/+69
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4875 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Revert buffer2array() behavior back to tried and true 0.11.x versionEric Wong2006-10-064-70/+122
| | | | | | | | | | | | | | | | | Warren's fix in r4872 made phpMp work again, but also broke the unit tests completely (they work in this version). The version in 0.12.0 is far too buggy (it was from mpd-ke, what do you expect?). This one passes all the unit tests that the mpd-ke one passed, and should also work with phpMp when used with PHP magic quotes. This also means we can search on 100 (or more) tags at once, so no more arbitrary limits other than system memory. To run the unit tests, just do this: gcc -o t -DUNIT_TEST=1 src/buffer2array.c && ./t && echo OK git-svn-id: https://svn.musicpd.org/mpd/trunk@4874 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix escaping in quotes. (Now phpMp works again!)Warren Dukes2006-10-061-12/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4872 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* add a sanity check assertWarren Dukes2006-10-031-0/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4869 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* fix the segfault for when no audio_output is found and none is detected (bug ↵Warren Dukes2006-10-031-10/+18
| | | | | found by normalperson!!!) git-svn-id: https://svn.musicpd.org/mpd/trunk@4868 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* cleanup flushWarningBuffer() and make some for() loops in audio.c look and ↵Warren Dukes2006-10-032-18/+24
| | | | | do something sane. git-svn-id: https://svn.musicpd.org/mpd/trunk@4867 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* handle invalid xing tags better.Warren Dukes2006-10-031-18/+26
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4866 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Bumping version numbers to 0.12.0.J. Alexander Treuman2006-09-222-3/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4819 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Updating release date in ChangeLog.J. Alexander Treuman2006-09-221-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4818 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* outputBuffer: avoid out-of-bounds-error in clearOutputBuffer()Eric Wong2006-09-211-3/+3
| | | | | | | I'm still not entirely certain why we index cb->metaChunkSet[] with currentChunk (and not currentMetaChunk), but shank told me that currentChunk is correct... git-svn-id: https://svn.musicpd.org/mpd/trunk@4814 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* signal_check: [trivial] make __caught_signals array staticEric Wong2006-09-151-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4780 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Updating version numbers to rc4.J. Alexander Treuman2006-09-152-3/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4778 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Filling in link to wiki for audio outputs in mpdconf.exampleJ. Alexander Treuman2006-09-151-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4776 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Removing tree from TODOJ. Alexander Treuman2006-09-151-1/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4775 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* m4: add pkg.m4 so users can run autogen.sh without pkg-configEric Wong2006-09-141-0/+157
| | | | | They still won't be able to get pulse without pkg-config, however. git-svn-id: https://svn.musicpd.org/mpd/trunk@4774 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Make autogen.sh exit immediately if any of the tools it runs fails.J. Alexander Treuman2006-09-131-6/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4773 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* I can't believe qball is correcting my typos.J. Alexander Treuman2006-09-131-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4771 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* configure.ac: replace double quotes AC_MSG_ERROR with bracketsEric Wong2006-09-131-2/+2
| | | | | double quotes are printed out in the corresponding shell code git-svn-id: https://svn.musicpd.org/mpd/trunk@4770 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Typo found by bensonk.J. Alexander Treuman2006-09-121-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4769 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* New example config.J. Alexander Treuman2006-09-121-171/+173
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4768 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* replaygain -> ReplayGain in docsJ. Alexander Treuman2006-09-121-5/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4767 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Note that mpd will scan for an audio output if none is specified.J. Alexander Treuman2006-09-121-2/+3
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4766 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Deleting bs directory from svn.J. Alexander Treuman2006-09-120-0/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4765 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* m4/lib*FLAC.m4: fix typos, -INONE/include no longer mis-added to CFLAGSEric Wong2006-09-122-2/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4763 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* tag.c: remove unnecessary #includesEric Wong2006-09-111-7/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4762 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* configure.ac: fix tremor detection usageEric Wong2006-09-111-80/+26
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4761 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Hopefully fix endian problem mac x86/ppcQball Cow2006-09-091-2/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4750 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* utils.c: fix xreallocEric Wong2006-09-071-5/+6
| | | | | | | | | | | (based on suggested patch by Jan-Benedict Glaw): > While hacking mpd, I noticed that an assert()ion in xrealloc is wrong. > A null size is perfectly legal, so we shouldn't assert on that. Since some C libraries return NULL when size == 0, we'll make sure we get a free()-able pointer since some of those C libraries also barf on free(NULL). git-svn-id: https://svn.musicpd.org/mpd/trunk@4740 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* configure.ac: fix an obvious typo for setting mpcdec libsEric Wong2006-09-061-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4739 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* remove bs; oops, didn't mean to commit thatEric Wong2006-09-0611-506/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4738 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* bs: a work in progress..Eric Wong2006-09-0611-0/+506
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4737 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* gcc.h: make sure __GNUC__ is defined before checking it's valueEric Wong2006-08-301-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4724 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Fixing up the new 0.12 ChangeLog entry some more.J. Alexander Treuman2006-08-281-2/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4722 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Removing id3v1_encoding from 0.12 ChangeLog entry, since it was already ↵J. Alexander Treuman2006-08-281-2/+1
| | | | | listed in the 0.11.5 entry. Also correcting a couple of typos in that old entry. git-svn-id: https://svn.musicpd.org/mpd/trunk@4721 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Rearrange mpd.conf.5 and conf.[ch] to use the more logical ordering of ↵J. Alexander Treuman2006-08-283-102/+102
| | | | | config parameters that the new (yet to be committed) mpdconf.example will use. git-svn-id: https://svn.musicpd.org/mpd/trunk@4715 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Note that default for metadata_to_use doesn't include commentsJ. Alexander Treuman2006-08-281-1/+2
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4714 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Add id3v1_encoding to the mpd.conf man page.J. Alexander Treuman2006-08-281-0/+6
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4713 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Update ChangeLog. Please keep this up to date as you make changes from now on.J. Alexander Treuman2006-08-281-0/+41
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4710 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Removing mp1/mp2 from TODOJ. Alexander Treuman2006-08-281-3/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4707 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Updating INSTALLJ. Alexander Treuman2006-08-281-46/+57
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4706 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Adding directions for updating to 0.12.0 to UPGRADINGJ. Alexander Treuman2006-08-281-0/+16
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4705 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Replace strdup and {c,re,m}alloc with x* variants to check for OOM errorsEric Wong2006-08-2648-183/+257
| | | | | | | | | | | | | | | | | | | I'm checking for zero-size allocations and assert()-ing them, so we can more easily get backtraces and debug problems, but we'll also allow -DNDEBUG people to live on the edge if they wish. We do not rely on errno when checking for OOM errors because some implementations of malloc do not set it, and malloc is commonly overridden by userspace wrappers. I've spent some time looking through the source and didn't find any obvious places where we would explicitly allocate 0 bytes, so we shouldn't trip any of those assertions. We also avoid allocating zero bytes because C libraries don't handle this consistently (some return NULL, some not); and it's dangerous either way. git-svn-id: https://svn.musicpd.org/mpd/trunk@4690 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* audioOutputs_oss: [trivial] make loop interation consistent with othersEric Wong2006-08-261-1/+1
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4689 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* audio.c: [trivial] remove unnecessary includeEric Wong2006-08-261-1/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4688 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* command.c: rerun mpd-indent.sh, no code changesEric Wong2006-08-261-136/+76
| | | | | | leave out initCommands to keep jat happy, and keep labels at the left hand side git-svn-id: https://svn.musicpd.org/mpd/trunk@4687 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* Fix an esoteric gcc warningJ. Alexander Treuman2006-08-251-3/+4
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@4684 09075e82-0dd4-0310-85a5-a0d7c8717e4f