Permalink
Browse files

whitespace cleanup

Remove all trailing whitespace from all text files. Some bot sent
Klacke and me a pull request saying it had done this for us, but I
reviewed the diffs and it was affecting lines that shouldn't have been
affected, so perl and I did it ourselves instead.
  • Loading branch information...
1 parent 1b8546f commit 781124719103b96a11de55cfc790911e587bb2b3 @vinoski vinoski committed Oct 31, 2011
Showing with 847 additions and 847 deletions.
  1. +91 −91 ChangeLog
  2. +16 −16 LICENSE
  3. +2 −2 README.pkg-config
  4. +5 −5 README.win32-cygwin
  5. +5 −5 applications/chat/chat/chat.js
  6. +1 −1 applications/chat/chat/chat.yaws
  7. +1 −1 applications/chat/chat/chat_write.yaws
  8. +1 −1 applications/chat/include.mk
  9. +2 −2 applications/chat/src/Makefile
  10. +4 −4 applications/mail/README
  11. +3 −3 applications/mail/TODO
  12. +1 −1 applications/mail/include.mk
  13. +1 −1 applications/mail/mail/login.yaws
  14. +4 −4 applications/mail/mail/mail.js
  15. +2 −2 applications/mail/mail/reply.yaws
  16. +1 −1 applications/mail/mail/send.yaws
  17. +2 −2 applications/mail/src/Makefile
  18. +1 −1 applications/mail/src/mail_vsn.template
  19. +1 −1 applications/mail/src/yaws-webmail.conf
  20. +9 −9 applications/wiki/README
  21. +1 −1 applications/wiki/include.mk
  22. +3 −3 applications/wiki/scripts/Makefile
  23. +2 −2 applications/wiki/src/Makefile
  24. +1 −1 applications/wiki/src/wiki_vsn.template
  25. +1 −1 applications/wiki/wiki.conf
  26. +1 −1 applications/wiki/wiki/WikiPreferences.files/custom.css
  27. +18 −18 applications/wiki/wiki/WikiPreferences.files/template.html
  28. +19 −19 applications/wiki/wiki/WikiPreferences.files/template_info.html
  29. +1 −1 applications/wiki/wiki/searchPage.yaws
  30. +1 −1 applications/wiki/wiki/storePage.yaws
  31. +3 −3 applications/yapp/README
  32. +2 −2 applications/yapp/examples/README
  33. +4 −4 applications/yapp/examples/yapp_ex_1/priv/docroot/index.yaws
  34. +4 −4 applications/yapp/priv/docroot/add.yaws
  35. +4 −4 applications/yapp/priv/docroot/add_post.yaws
  36. +4 −4 applications/yapp/priv/docroot/index.yaws
  37. +6 −6 applications/yapp/priv/docroot/remove.yaws
  38. +7 −7 applications/yapp/priv/docroot/remove_post.yaws
  39. +5 −5 applications/yapp/priv/docroot/stil.css
  40. +1 −1 applications/yapp/src/Makefile
  41. +15 −15 c_src/epam.c
  42. +7 −7 c_src/hashtable.c
  43. +15 −15 c_src/hashtable.h
  44. +6 −6 c_src/hashtable_private.h
  45. +2 −2 c_src/setuid_drv.c
  46. +2 −2 doc/Makefile
  47. +6 −6 doc/README.rss
  48. +2 −2 doc/overview.edoc
  49. +52 −52 man/yaws.conf.5
  50. +1 −1 man/yaws_soap_lib.5
  51. +14 −14 priv/envelope.xsd
  52. +20 −20 priv/soap.xsd
  53. +41 −41 priv/wsdl.xsd
  54. +1 −1 src/yaws_exhtml.erl
  55. +3 −3 src/yaws_log.erl
  56. +3 −3 src/yaws_soap_lib.erl
  57. +3 −3 src/yaws_soap_srv.erl
  58. +2 −2 src/yaws_vsn.template
  59. +2 −2 ssl/mkcert_altname/README
  60. +2 −2 ssl/mkcert_altname/openssl.cnf
  61. +4 −4 win32/Makefile
  62. +1 −1 win32/build.xml.in
  63. +6 −6 win32/include.mk
  64. +3 −3 www/api.yaws
  65. +10 −10 www/arg.yaws
  66. +2 −2 www/arg2.yaws
  67. +11 −11 www/bindings.yaws
  68. +5 −5 www/code.yaws
  69. +29 −29 www/configuration.yaws
  70. +5 −5 www/contact.yaws
  71. +6 −6 www/cookies.yaws
  72. +2 −2 www/doc.yaws
  73. +46 −46 www/dynamic.yaws
  74. +1 −1 www/embed.yaws
  75. +2 −2 www/examples.yaws
  76. +16 −16 www/form.yaws
  77. +5 −5 www/haxe_intro.yaws
  78. +1 −1 www/haxe_sample.yaws
  79. +1 −1 www/icons/README
  80. +1 −1 www/index.yaws
  81. +24 −24 www/internals.yaws
  82. +5 −5 www/json_sample.html
  83. +6 −6 www/json_sample.yaws
  84. +3 −3 www/man.yaws
  85. +4 −4 www/motivation.yaws
  86. +5 −5 www/pcookie.yaws
  87. +8 −8 www/post.yaws
  88. +24 −24 www/privbind.yaws
  89. +4 −4 www/query.yaws
  90. +10 −10 www/readcookie.yaws
  91. +6 −6 www/readpcookie.yaws
  92. +10 −10 www/redirect.yaws
  93. +3 −3 www/session.yaws
  94. +3 −3 www/session1.yaws
  95. +10 −10 www/setcookie.yaws
  96. +6 −6 www/setpcookie.yaws
  97. +1 −1 www/shoppingcart/Makefile
  98. +1 −1 www/shoppingcart/buy.yaws
  99. +1 −1 www/shoppingcart/index.yaws
  100. +1 −1 www/shoppingcart/logout.yaws
  101. +1 −1 www/shoppingcart/shopcart_form.yaws
  102. +7 −7 www/shoppingcart/source.html
  103. +7 −7 www/shoppingcart/style.css
  104. +6 −6 www/simple.yaws
  105. +12 −12 www/soap_intro.yaws
  106. +8 −8 www/ssi.yaws
  107. +1 −1 www/ssi/dynamic.2
  108. +1 −1 www/ssi/dynamic.3
  109. +2 −2 www/static.html
  110. +5 −5 www/stats_ex.yaws
  111. +5 −5 www/stil.css
  112. +5 −5 www/todo.yaws
  113. +4 −4 www/urandom.yaws
  114. +3 −3 www/websockets.yaws
  115. +28 −28 www/websockets_example.yaws
  116. +14 −14 www/yapp_intro.yaws
  117. +2 −2 www/yaws-1.55_to_1.56.patch
  118. +4 −4 www/yman.yaws
View
182 ChangeLog

Large diffs are not rendered by default.

Oops, something went wrong.
View
32 LICENSE
@@ -2,26 +2,26 @@
Copyright (c) 2006, Claes Wikstrom, klacke@hyber.org
All rights reserved.
-Redistribution and use in source and binary forms, with or without
+Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
+ * Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
+ * 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.
- * Neither the name of "Yaws" nor the names of its contributors may be
- used to endorse or promote products derived from this software without
+ * Neither the name of "Yaws" nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
specific prior written permission.
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT 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.
View
@@ -9,7 +9,7 @@ $ pkg-config yaws --modversion
1.80
$ pkg-config yaws --cflags
--I/usr/local/lib/yaws/include
+-I/usr/local/lib/yaws/include
$ pkg-config yaws --libs
--pa /usr/local/lib/yaws/ebin
+-pa /usr/local/lib/yaws/ebin
View
@@ -1,14 +1,14 @@
<Note> This is now deprecated as we have a proper
native win32 yaws now.
-
+
Yaws on Cygwin/Windows
Written by Bill Robertsson (billrobertson42@yahoo.com)
Thu May 22 13:24:48 CEST 2008
-To install.
+To install.
You must have cygwin installed. This should include perl,
autoconf and make. There may be other packages that are
@@ -28,7 +28,7 @@ Extract the yaws archive, e.g.
Change to the newly created directory, start bash and run
configure. I recommend you select something other than the
default prefix, because you probably don't want YAWS in your
-cygwin directories.
+cygwin directories.
e.g.
@@ -81,13 +81,13 @@ There is also a section like this.
docroot = c:/bill/erl/yaws/var/yaws/www
listen = 0.0.0.0
dir_listings = true
- <ssl>
+ <ssl>
keyfile = c:/bill/erl/yaws/etc/yaws-key.pem
certfile = c:/bill/erl/yaws/etc/yaws-cert.pem
</ssl>
</server>
-SSL ??
+SSL ??
Untested:
erlang in a directory with spaces in the name (e.g. "Program Files"
@@ -1,9 +1,9 @@
-// -*- Fundamental -*-
+// -*- Fundamental -*-
// File: chat.js (/var/www/chat.js)
// Author: Johan Bevemyr
// Created: Thu Nov 18 18:25:53 2004
-// Purpose:
-
+// Purpose:
+
// Uncomment this to get debug printouts in a separate window.
@@ -113,7 +113,7 @@ function create_xmlhttp() {
if (!xmlhttp && typeof XMLHttpRequest!='undefined')
xmlhttp = new XMLHttpRequest();
-
+
return xmlhttp;
}
@@ -200,7 +200,7 @@ function reader_init() {
xml_reader.onload=h;
}
else {
- xml_reader.onreadystatechange=h;
+ xml_reader.onreadystatechange=h;
}
xml_reader.send(null);
@@ -12,7 +12,7 @@ out(A) ->
<script>
function handleEnter(event) {
- if (event == null)
+ if (event == null)
event = window.event;
var keyCode = event.keyCode ? event.keyCode : event.which ?
@@ -6,5 +6,5 @@ out(A) ->
Error ->
Error
end.
-
+
</erl>
@@ -40,7 +40,7 @@ APPSCRIPT = '$$vsn=shift; $$mods=""; while(@ARGV){ $$_=shift; s/^([A-Z].*)$$/\'\
../ebin/%.app: %.app.src ../vsn.mk Makefile
perl -e $(APPSCRIPT) "$(VSN)" $(MODULES) < $< > $@
-../ebin/%.appup: %.appup
+../ebin/%.appup: %.appup
cp $< $@
../ebin/%.$(EMULATOR): %.erl
@@ -12,15 +12,15 @@ MODULES=chat
HDR_FILES=
-EBIN_FILES=$(MODULES:%=../ebin/%.$(EMULATOR))
+EBIN_FILES=$(MODULES:%=../ebin/%.$(EMULATOR))
ERLC_FLAGS+=-W +debug_info $(DEBUG_FLAGS) -I../../../include -pa ../../chat
#
# Targets
#
-all: $(EBIN_FILES)
+all: $(EBIN_FILES)
$(EBIN_FILES) : $(HDR_FILES)
View
@@ -1,7 +1,7 @@
-This is a very basic WebMail application which is completely
-stateless, by design. I didn't want any SQL databases etc
+This is a very basic WebMail application which is completely
+stateless, by design. I didn't want any SQL databases etc
for storing the emails.
The reason for building it was that I needed a local WebMail
@@ -19,7 +19,7 @@ To install
- Modify include.mk for your local paths
-Run 'make' and 'make install'
+Run 'make' and 'make install'
@@ -32,7 +32,7 @@ Run 'make' and 'make install'
Two things need to be edited in /etc/yaws.conf
-1. yaws must find the beam code for mail.beam,
+1. yaws must find the beam code for mail.beam,
By default (include.mk) that gets installed in
/var/yaws/ebin
View
@@ -5,9 +5,9 @@ Things to do
need to select the text part for the quote if the email
is of type multipart/alternative. We select text/html
to display.
- - page large inboxes with 20 emails per page (sorted in
+ - page large inboxes with 20 emails per page (sorted in
reverse order with most recently received emails first)
- - write an attachement cache to limit the delays when
+ - write an attachement cache to limit the delays when
fetching an attachement
- code outgoing emails as quoted-printable (must limit max
line length to 74 according to RFC ???)
@@ -17,5 +17,5 @@ Things to do
- Support imap mail backend system.
- Properly decode encoded attachments.
-
+
@@ -40,7 +40,7 @@ APPSCRIPT = '$$vsn=shift; $$mods=""; while(@ARGV){ $$_=shift; s/^([A-Z].*)$$/\'\
../ebin/%.app: %.app.src ../vsn.mk Makefile
perl -e $(APPSCRIPT) "$(VSN)" $(MODULES) < $< > $@
-../ebin/%.appup: %.appup
+../ebin/%.appup: %.appup
cp $< $@
../ebin/%.$(EMULATOR): %.erl
@@ -17,4 +17,4 @@ out(A) ->
mail:display_login(A, Reason)
end.
-</erl>
+</erl>
@@ -1,5 +1,5 @@
-/* -*- Java -*-
- *
+/* -*- Java -*-
+ *
* File: mail.js
* Author: Johan Bevemyr
* Created: Sun Feb 15 23:40:56 2004
@@ -35,7 +35,7 @@ function changeActive(depth) {
}
}
-function setComposeCmd(val) {
+function setComposeCmd(val) {
if (document.compose.to.value.length == 0) {
alert('The To: field must not be empty.');
document.compose.to.focus();
@@ -87,7 +87,7 @@ function setComposeCmd(val) {
} else if (document.compose.file10.value.length > 0) {
document.compose.attached.value="yes";
}
-
+
document.compose.cmd.value=val;
document.compose.submit();
}
@@ -28,8 +28,8 @@ out(A) ->
Error
end.
-</erl>
-
+</erl>
+
@@ -8,4 +8,4 @@ out(A) ->
Error
end.
-</erl>
+</erl>
@@ -10,15 +10,15 @@ include ../vsn.mk
VSN=$(YAWS_VSN)
MODULES=mail attachment smtp mail_html
-EBIN_FILES=$(MODULES:%=../ebin/%.$(EMULATOR))
+EBIN_FILES=$(MODULES:%=../ebin/%.$(EMULATOR))
ERLC_FLAGS+=-W +debug_info $(DEBUG_FLAGS) -I../../../include -pa ../../mail
#
# Targets
#
-all: $(EBIN_FILES)
+all: $(EBIN_FILES)
mail_vsn.erl: mail_vsn.template
. ../vsn.mk; sed "s/%VSN%/${MAIL_VSN}/" < mail_vsn.template > mail_vsn.erl
@@ -5,5 +5,5 @@
version() -> "%VSN%".
-
+
@@ -15,7 +15,7 @@ popserver = localhost
smtpserver = localhost
-## maildomin must be set,
+## maildomin must be set,
maildomain = mydomain.org
View
@@ -1,23 +1,23 @@
-This Wiki was originally based on Joe Armstrongs wiki implementation.
+This Wiki was originally based on Joe Armstrongs wiki implementation.
It has been ported to yaws and hacked quite a bit in general by Johan
Bevemyr.
To Install
----------
-Edit include.mk (change the WIKIINSTALLDIR and EBININSTALLDIR) then
+Edit include.mk (change the WIKIINSTALLDIR and EBININSTALLDIR) then
make
make install
Edit your /etc/yaws.conf and include /var/yaws/ebin in the
ebin path ($EBININSTALLDIR), for example
-
+
ebin_dir = /var/yaws/ebin
-It is possible to have several Wiki instances on the same server.
-Just install the wiki/* files in the directory where you want a
+It is possible to have several Wiki instances on the same server.
+Just install the wiki/* files in the directory where you want a
Wiki instance. This is easily done by running the updateWiki script
and give a new directory as argument.
@@ -43,10 +43,10 @@ question marks to create the the page.
Look and feel
-------------
-The layout of the Wiki pages is to a large extent controlled by
-two templates in WikiPreferences.files called template.html
+The layout of the Wiki pages is to a large extent controlled by
+two templates in WikiPreferences.files called template.html
and template_info.html. There is an alternative look and feel
-bundled, just copy template2.html to template.html and
+bundled, just copy template2.html to template.html and
template_info2.html to template_info.html.
To maintain
@@ -58,7 +58,7 @@ updateWiki - takes a number of wiki directories and updates
the .yaws files etc
getPassword - takes a path to a wob file as argument. Will print
- the password associated with that node.
+ the password associated with that node.
importFiles - takes a path to a wob file as argument. Will add
any files in the corresponding .files directory
@@ -40,7 +40,7 @@ APPSCRIPT = '$$vsn=shift; $$mods=""; while(@ARGV){ $$_=shift; s/^([A-Z].*)$$/\'\
../ebin/%.app: %.app.src ../vsn.mk Makefile
perl -e $(APPSCRIPT) "$(VSN)" $(MODULES) < $< > $@
-../ebin/%.appup: %.appup
+../ebin/%.appup: %.appup
cp $< $@
../ebin/%.$(EMULATOR): %.erl
@@ -1,9 +1,9 @@
-# -*- Makefile -*-
+# -*- Makefile -*-
# File: Makefile (/usr/local/src/yaws/yaws/applications/wiki/scripts/Makefile)
# Author: Johan Bevemyr
# Created: Sat May 17 13:15:29 2003
-# Purpose:
-
+# Purpose:
+
include ../include.mk
SCRIPTS=importFiles getPassword updateWiki addFile
@@ -21,7 +21,7 @@ MODULES=wiki \
wiki_plugin_menu \
utils
-EBIN_FILES=$(MODULES:%=../ebin/%.$(EMULATOR))
+EBIN_FILES=$(MODULES:%=../ebin/%.$(EMULATOR))
ERLC_FLAGS+=-W +debug_info $(DEBUG_FLAGS) -I../../../include -pa ../../wiki
@@ -31,7 +31,7 @@ ERLC_FLAGS+=-W +debug_info $(DEBUG_FLAGS) -I../../../include -pa ../../wiki
-all: $(EBIN_FILES)
+all: $(EBIN_FILES)
wiki_vsn.erl: wiki_vsn.template
. ../vsn.mk; sed "s/%VSN%/${WIKI_VSN}/" < wiki_vsn.template > wiki_vsn.erl
Oops, something went wrong.

0 comments on commit 7811247

Please sign in to comment.