Permalink
Browse files

Remove trailing whitespace throughout the source tree.

  • Loading branch information...
1 parent 3d901ee commit f8052de3759855ee29ce1f3200835196d41b89a7 @EdSchouten committed Jun 18, 2011
Showing with 220 additions and 220 deletions.
  1. +2 −2 herrie/COPYING
  2. +6 −6 herrie/configure
  3. +3 −3 herrie/man/00-man
  4. +1 −1 herrie/po/da.po
  5. +1 −1 herrie/po/pt_BR.po
  6. +1 −1 herrie/po/tr.po
  7. +3 −3 herrie/src/audio_file.c
  8. +2 −2 herrie/src/audio_file.h
  9. +2 −2 herrie/src/audio_format.h
  10. +2 −2 herrie/src/audio_format_modplug.c
  11. +11 −11 herrie/src/audio_format_mp3.c
  12. +3 −3 herrie/src/audio_format_sndfile.c
  13. +5 −5 herrie/src/audio_format_vorbis.c
  14. +2 −2 herrie/src/audio_output.h
  15. +4 −4 herrie/src/audio_output_alsa.c
  16. +2 −2 herrie/src/audio_output_ao.c
  17. +6 −6 herrie/src/audio_output_coreaudio.c
  18. +3 −3 herrie/src/audio_output_null.c
  19. +4 −4 herrie/src/audio_output_oss.c
  20. +2 −2 herrie/src/audio_output_pulse.c
  21. +9 −9 herrie/src/config.c
  22. +2 −2 herrie/src/config.h
  23. +2 −2 herrie/src/conftest.c
  24. +3 −3 herrie/src/dbus.c
  25. +2 −2 herrie/src/dbus.h
  26. +2 −2 herrie/src/gui.h
  27. +5 −5 herrie/src/gui_browser.c
  28. +3 −3 herrie/src/gui_draw.c
  29. +4 −4 herrie/src/gui_input.c
  30. +2 −2 herrie/src/gui_internal.h
  31. +2 −2 herrie/src/gui_msgbar.c
  32. +5 −5 herrie/src/gui_playq.c
  33. +7 −7 herrie/src/gui_vfslist.c
  34. +2 −2 herrie/src/gui_vfslist.h
  35. +2 −2 herrie/src/main.c
  36. +2 −2 herrie/src/md5.c
  37. +2 −2 herrie/src/md5.h
  38. +4 −4 herrie/src/playq.c
  39. +2 −2 herrie/src/playq.h
  40. +2 −2 herrie/src/playq_modules.h
  41. +2 −2 herrie/src/playq_party.c
  42. +3 −3 herrie/src/playq_xmms.c
  43. +13 −13 herrie/src/scrobbler.c
  44. +2 −2 herrie/src/scrobbler.h
  45. +2 −2 herrie/src/stdinc.h
  46. +2 −2 herrie/src/util.c
  47. +2 −2 herrie/src/util.h
  48. +9 −9 herrie/src/vfs.c
  49. +2 −2 herrie/src/vfs.h
  50. +2 −2 herrie/src/vfs_cache.c
  51. +2 −2 herrie/src/vfs_http.c
  52. +2 −2 herrie/src/vfs_modules.h
  53. +6 −6 herrie/src/vfs_playlist.c
  54. +4 −4 herrie/src/vfs_regular.c
  55. +3 −3 herrie/src/vfs_xspf.c
  56. +3 −3 misc/cdepcalc.c
  57. +32 −32 www/index.html
View
@@ -3,7 +3,7 @@ All sourcecode in this package is subject to the following license:
/*
* Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -12,7 +12,7 @@ All sourcecode in this package is subject to the following license:
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
View
@@ -1,8 +1,8 @@
#!/bin/sh
-#
+#
# Copyright (c) 2006-2009 Ed Schouten <ed@80386.nl>
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
@@ -11,7 +11,7 @@
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -23,7 +23,7 @@
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
-#
+#
APP_NAME=herrie
APP_VERSION=2.2
@@ -147,7 +147,7 @@ do
alsa|ao|coreaudio|null|oss|pulse)
CFG_AO=$1
;;
-
+
no_strip)
unset CFG_STRIP
;;
@@ -161,7 +161,7 @@ do
verbose)
unset DOIT
;;
-
+
ncurses)
CFG_CURSES_HEADER=ncurses
CFG_CURSES_LIB=ncurses
View
@@ -1,7 +1,7 @@
.\"
.\" Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
.\" All rights reserved.
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -10,7 +10,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -30,7 +30,7 @@ herrie \- interactive music playlist player
.B herrie
.RB [ -pvx ]
.RB [ -c
-.IR configfile ]
+.IR configfile ]
.RI [ file
.IR ... ]
.SH DESCRIPTION
View
@@ -249,7 +249,7 @@ msgstr "Kunne ikke sende sange til AudioScrobbler."
msgid "Unknown user: %s\n"
msgstr "Ukendt bruger: %s\n"
-# chroot: The UNIX command to make the root directory (/) become something
+# chroot: The UNIX command to make the root directory (/) become something
# other than its default for the lifetime of the current process.
#: vfs.c:220
#, c-format
View
@@ -1,5 +1,5 @@
# Portuguese translation for Herrie.
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008 Free Software Foundation, Inc.
# This file is distributed under the same license as the herrie package.
# Eros Carvalho <erosmc@gmail.com>, 2007.
msgid ""
View
@@ -1,4 +1,4 @@
-# Translation of herrie to Turkish.
+# Translation of herrie to Turkish.
# Eren Türkay <turkay.eren@gmail.com>, 2007.
msgid ""
msgstr ""
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -97,7 +97,7 @@ audio_file_open(const struct vfsref *vr)
unsigned int i;
out = g_slice_new0(struct audio_file);
-
+
out->fp = vfs_open(vr);
if (out->fp == NULL)
goto bad;
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -97,11 +97,11 @@ mp3_match(FILE *fp, const char *ext)
ret = -1;
goto done;
}
-
+
/* Match 1: first twelve bits high */
if (buf[0] == 0xff && (buf[1] & 0xf0) == 0xf0)
goto done;
-
+
/* Match 2: ID3 header */
if (buf[0] == 'I' && buf[1] == 'D' && buf[2] == '3')
goto done;
@@ -130,14 +130,14 @@ mp3_readtags(struct audio_file *fd)
tmpfd = dup(fileno(fd->fp));
if (tmpfd < 0)
return;
-
+
/* Backing up the original offset */
orig_off = lseek(tmpfd, 0, SEEK_CUR);
id3f = id3_file_fdopen(tmpfd, ID3_FILE_MODE_READONLY);
if (id3f == NULL)
goto bad;
-
+
/* Here we go */
tag = id3_file_tag(id3f);
if (tag == NULL)
@@ -161,7 +161,7 @@ mp3_readtags(struct audio_file *fd)
*dst = (char*)id3_ucs4_utf8duplicate(str);
}
}
-
+
done:
id3_file_close(id3f);
bad:
@@ -248,7 +248,7 @@ mp3_read_frame(struct audio_file *fd)
data->mframe.header = data->mheader;
return (0);
}
-
+
if (!MAD_RECOVERABLE(data->mstream.error) &&
(data->mstream.error != MAD_ERROR_BUFLEN)) {
/* Unrecoverable error - bail out */
@@ -345,15 +345,15 @@ mp3_open(struct audio_file *fd, const char *ext)
mp3_rewind(fd);
if (!fd->stream)
mp3_calc_length(fd);
-
+
return (0);
}
void
mp3_close(struct audio_file *fd)
{
struct mp3_drv_data *data = fd->drv_data;
-
+
mad_frame_finish(&data->mframe);
mad_stream_finish(&data->mstream);
mad_synth_finish(&data->msynth);
@@ -418,7 +418,7 @@ mp3_seek(struct audio_file *fd, int len, int rel)
/* Calculate the new relative position */
len = CLAMP(len, 0, (int)fd->time_len);
newpos = ((double)len / fd->time_len) * data->flen;
-
+
/* Seek to the new position */
mp3_rewind(fd);
fseek(fd->fp, newpos, SEEK_SET);
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -80,7 +80,7 @@ sndfile_read(struct audio_file *fd, int16_t *buf, size_t len)
{
SNDFILE *hnd = fd->drv_data;
sf_count_t ret, frame;
-
+
ret = sf_read_short(hnd, buf, len);
/* Seek zero frames to obtain the current position */
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -51,7 +51,7 @@ vorbis_read_comments(struct audio_file *fd)
if ((cmt = ov_comment(vfp, -1)) == NULL)
return;
-
+
for (i = 0; i < cmt->comments; i++) {
tag = cmt->user_comments[i];
@@ -91,7 +91,7 @@ vorbis_open(struct audio_file *fd, const char *ext)
fd->time_len = ov_time_total(vfp, -1);
vorbis_read_comments(fd);
-
+
return (0);
}
@@ -114,7 +114,7 @@ vorbis_read(struct audio_file *fd, int16_t *buf, size_t len)
size_t ret = 0;
long rlen;
char *out = (char *)buf;
-
+
len *= sizeof(int16_t);
/* Return 16 bits signed native endian */
@@ -1,7 +1,7 @@
/*
* Copyright (c) 2006-2011 Ed Schouten <ed@80386.nl>
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -10,7 +10,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
Oops, something went wrong.

0 comments on commit f8052de

Please sign in to comment.